.elementor-17 .elementor-element.elementor-element-d839924{--display:flex;--justify-content:center;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:30px;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-17 .elementor-element.elementor-element-d839924{--padding-top:40px;--padding-bottom:50px;--padding-left:25px;--padding-right:25px;}}@media(min-width:768px){.elementor-17 .elementor-element.elementor-element-d839924{--content-width:100%;}}/* Start custom CSS for shortcode, class: .elementor-element-133297f *//* ——— Fix the grid reliably inside Elementor + shortcode ——— */
body.woocommerce-account .elementor .elementor-shortcode > .woocommerce,
body.woocommerce-account .elementor .elementor-widget-shortcode .elementor-widget-container > .woocommerce,
body.woocommerce-account .entry-content > .woocommerce,
body.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: 300px 1fr !important;  /* match the design */
  gap: 24px !important;
  width: 100%;
}

/* ——— Stop the sidebar shrinking to toothpick width ——— */
.myacct-navwrap {
  min-width: 300px;          /* hold the column */
  width: 300px;              /* keep it consistent */
  box-sizing: border-box;
}

/* ——— Kill brutal word-breaking from the theme ——— */
.woocommerce-account .woocommerce-MyAccount-navigation a {
  white-space: nowrap;       /* keep each item on one line */
  word-break: normal;        /* undo break-all from some themes */
  overflow: hidden;
  text-overflow: ellipsis;   /* tidy if the label is long */
  line-height: 1.35;         /* readable, matches your UI */
  letter-spacing: 0;         /* in case anything got “helpful” */
}

/* If your theme adds icon columns or flex, normalise it */
.woocommerce-account .woocommerce-MyAccount-navigation li,
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
}

/* ——— Tidy the divider and spacing (as per your screenshot) ——— */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  border-top: 1px solid #e9ecf4;
  padding-top: 8px;
  margin-top: 8px !important;
}

/* Responsive keeps the same behaviour */
@media (max-width: 1024px) {
  body.woocommerce-account .elementor .elementor-shortcode > .woocommerce,
  body.woocommerce-account .elementor .elementor-widget-shortcode .elementor-widget-container > .woocommerce,
  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .woocommerce {
    grid-template-columns: 1fr !important;
  }
  .myacct-navwrap {
    width: auto;
    min-width: 0;
    position: static;
  }
}





















/* 1) Force the two-column grid even inside Elementor Shortcode */
.shoptimizer-archive .elementor .elementor-shortcode > .woocommerce,
.shoptimizer-archive .elementor .elementor-widget-shortcode .elementor-widget-container > .woocommerce,
.shoptimizer-archive .entry-content > .woocommerce,
.shoptimizer-archive .woocommerce {
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif !important;
  display: grid !important;
  grid-template-columns: 300px 1fr !important;
  gap: 24px !important;
  width: 100%;
}

/* 2) Sidebar rail: stop collapsing */
.shoptimizer-archive .myacct-navwrap {
  width: 300px !important;
  min-width: 300px !important;
  box-sizing: border-box;
  background: #f6f7fb;
  border: 1px solid #e9ecf4;
  border-radius: 12px;
  padding: 16px;
  position: sticky;
  top: 24px;
  align-self: start;
}

/* 3) Reset Shoptimizer’s icon-only account menu nonsense */
.shoptimizer-archive .myacct-navwrap .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 8px 0 0 0 !important;
  padding: 8px 0 0 0 !important;
  border-top: 1px solid #e9ecf4;
  display: block !important;
}
.shoptimizer-archive .myacct-navwrap .woocommerce-MyAccount-navigation li {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}
.shoptimizer-archive .myacct-navwrap .woocommerce-MyAccount-navigation a {
  /* Force horizontal text + full width item */
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  white-space: nowrap !important;
  word-break: normal !important;
  writing-mode: horizontal-tb !important;
  text-indent: 0 !important;
  transform: none !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  padding: 10px 8px !important;
  border-radius: 8px !important;
  color: #1f2330 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}
/* If theme injects icons, make sure they don't squish labels */
.shoptimizer-archive .myacct-navwrap .woocommerce-MyAccount-navigation a i,
.shoptimizer-archive .myacct-navwrap .woocommerce-MyAccount-navigation a svg {
  flex: 0 0 auto !important;
}
.shoptimizer-archive .woocommerce-MyAccount-navigation li.is-active a,
.shoptimizer-archive .woocommerce-MyAccount-navigation a:hover {
  background: #e9f1ff !important;
  color: #0b57d0 !important;
}

/* 4) User card look (left rail top) */
.shoptimizer-archive .myacct-usercard{
  display:grid;grid-template-columns:56px 1fr;
  grid-template-areas:"avatar ident" "points points";
  gap:8px 12px;background:#2835930a;border:1px solid #e9ecf4;border-radius:12px;
  padding:14px;margin-bottom:12px;
}
.shoptimizer-archive .myacct-avatar{grid-area:avatar;width:56px;height:56px;border-radius:50%;background:#283593;color:#fff;display:grid;place-items:center;font-weight:700;font-size:20px;}
.shoptimizer-archive .myacct-ident{grid-area:ident;align-self:center;}
.shoptimizer-archive .myacct-name{font-weight:700;line-height:1.2;}
.shoptimizer-archive .myacct-email{font-size:12px;color:#61677c;}
.shoptimizer-archive .myacct-pointsblock{grid-area:points;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;}
.shoptimizer-archive .myacct-points{font-weight:800;font-size:20px;}
.shoptimizer-archive .myacct-points span{font-weight:500;font-size:12px;color:#61677c;margin-left:4px;}
.shoptimizer-archive .myacct-btn{background:#1a73e8;color:#fff;padding:8px 12px;border-radius:8px;font-size:12px;font-weight:600;text-decoration:none;}

/* 5) Content column tidy + hero + “For you” */
.shoptimizer-archive .woocommerce-MyAccount-content{background:transparent;padding:0;border:none;}
.shoptimizer-archive .myacct-hero{background:#fff;border-radius:12px;padding:24px;border:1px solid #eef1f6;margin-bottom:24px;}
.shoptimizer-archive .myacct-title{margin:0 0 8px 0;font-size:28px;line-height:1.2;}
.shoptimizer-archive .myacct-sub{margin:0;color:#61677c;max-width:60ch;}
.shoptimizer-archive .myacct-for-you{margin-top:0;}
.shoptimizer-archive .myacct-for-you h3{margin:0 0 12px 0;font-size:18px;}
.shoptimizer-archive .myacct-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.shoptimizer-archive .myacct-tile{display:grid;gap:8px;text-decoration:none;color:inherit;}
.shoptimizer-archive .myacct-tile-img{border-radius:12px;background:linear-gradient(135deg,#e8eefc,#f5f7ff);height:220px;border:1px solid #eef1f6;}
.shoptimizer-archive .myacct-tile-text{font-weight:600;}

/* 6) Hide Woo’s default dashboard waffle paragraphs (only matters on Dashboard) */
.shoptimizer-archive .woocommerce-MyAccount-content > p:nth-of-type(1),
.shoptimizer-archive .woocommerce-MyAccount-content > p:nth-of-type(2){
  display: none !important;
}

/* 7) Responsive */
@media (max-width:1024px){
  .shoptimizer-archive .elementor .elementor-shortcode > .woocommerce,
  .shoptimizer-archive .elementor .elementor-widget-shortcode .elementor-widget-container > .woocommerce,
  .shoptimizer-archive .entry-content > .woocommerce,
  .shoptimizer-archive .woocommerce {
    grid-template-columns: 1fr !important;
  }
  .shoptimizer-archive .myacct-navwrap{position:static;width:auto;min-width:0;}
}














 
/* ORDER TRACKING - Base icon styling */
.woocommerce-MyAccount-navigation-link--order-tracking a::before {
    -webkit-mask-image: url('/wp-content/uploads/2025/06/order_tracking.svg');
    mask-image: url('/wp-content/uploads/2025/06/order_tracking.svg');
    background-color: green;
    width: 30px;
    height: 30px;
    display: inline-block;
    float: right;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.3s ease;
}

/* Hover, focus, and active effect: turns icon white */
.woocommerce-MyAccount-navigation-link--order-tracking a:hover::before,
.woocommerce-MyAccount-navigation-link--order-tracking a:focus::before,
.woocommerce-MyAccount-navigation-link--order-tracking.is-active a::before {
    background-color: #000;
}





/* Dashboard Endpoints - Turns Orders Icon White on Hover, Focus, and Active */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
    transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-navigation-link--dashboard a:hover::before,
.woocommerce-MyAccount-navigation-link--dashboard a:focus::before {
    background-color: #000;
}

.woocommerce-MyAccount-navigation-link--dashboard.is-active a::before {
    background-color: #000;
}






/* Orders Endpoints - Turns Orders Icon White on Hover, Focus, and Active */
.woocommerce-MyAccount-navigation-link--orders a::before {
    transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-navigation-link--orders a:hover::before,
.woocommerce-MyAccount-navigation-link--orders a:focus::before,
.woocommerce-MyAccount-navigation-link--orders.is-active a::before {
    background-color: #000;
}




/*  Downloads Endpoint - Icon White on Hover, Focus, and Active */
.woocommerce-MyAccount-navigation-link--downloads a::before {
    transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-navigation-link--downloads a:hover::before,
.woocommerce-MyAccount-navigation-link--downloads a:focus::before,
.woocommerce-MyAccount-navigation-link--downloads.is-active a::before {
    background-color: #000;
}

    
    
    
    
/* Address Endpoint - Icon White on Hover, Focus, and Active */
.woocommerce-MyAccount-navigation-link--edit-address a::before {
    transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-navigation-link--edit-address a:hover::before,
.woocommerce-MyAccount-navigation-link--edit-address a:focus::before,
.woocommerce-MyAccount-navigation-link--edit-address.is-active a::before {
    background-color: #000;
}





/* Payment methods Endpoint - Icon White on Hover, Focus, and Active */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods a:hover::before,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods a:focus::before,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods.is-active a::before {
    background-color: #000;
}




/* Account Endpoint -  Icon White on Hover, Focus, and Active */
.woocommerce-MyAccount-navigation-link--edit-account a::before {
    transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-navigation-link--edit-account a:hover::before,
.woocommerce-MyAccount-navigation-link--edit-account a:focus::before,
.woocommerce-MyAccount-navigation-link--edit-account.is-active a::before {
    background-color: #000;
}


    
    
/* Logout Endpoint - Icon White on Hover, Focus, and Active */
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover::before,
.woocommerce-MyAccount-navigation-link--customer-logout a:focus::before,
.woocommerce-MyAccount-navigation-link--customer-logout.is-active a::before {
    background-color: #000;
}Use custom CSS to style your content or add the ".elementor-17 .elementor-element.elementor-element-133297f" prefix to target specific elements.
Need Help


    
    
    
    /*My account tabs hover transition*/
    .elementor-17 .elementor-element.elementor-element-0953c76 .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li:not(.is-active) a {
transition: background-color 0.4s, color 0.4s;
}
    



.woocommerce-MyAccount-navigation ul li a:before {
    top:0px!important;
}/* End custom CSS */
/* Start custom CSS */.woocommerce-error, .woocommerce-info, .woocommerce-message, .woocommerce-noreviews, p.no-comments {
    clear: both;
    margin-top: 2rem;
    margin-left: 0;
    padding: 1em 1.618em;
    border-left: 0.4180469716em solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    font-size: clamp(0.8125rem, 0.749rem + 0.2033vw, 0.875rem);
    color: #fff;
    outline: 0;
}




/* Logged out screen - login/register form */
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .form-row .input-text, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .form-row select {
    background: #e3e3e3;
    border: none;
    border-radius: 4px;
    color: #69727d);
    font-size: 0.9rem;
    font-family: Figtree;
    font-weight: 500;
    padding: 16px);
}


/* Logged out screen - login/register form  HEADINGS */
.elementor-17 .elementor-element.elementor-element-0953c76 .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) h2, .elementor-17 .elementor-element.elementor-element-0953c76 .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) h3
 {
    font-family: "Figtree", Sans-serif;
    font-size: 1.7rem!important;
    font-weight: 700!important;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}




/* Logged out screen - Login/register buttons*/
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .login .button, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .register .button, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-ResetPassword .button {
    background: #051633;
    border: none;
    border-radius: 4px;
    color: #fff;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: figtree;
    transition: background 0.3s ease;
}
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .login .button:hover,
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .register .button:hover,
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-ResetPassword .button:hover {
    background: #0F4C9B;
}




/* Fix oversized show password button */
.woocommerce-page form .show-password-input {
    width: 32px;
    height: 32px;
    top: 50%;
    transform: translateY(-50%);
    right: 0.7em;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    color: #333;
    cursor: pointer;
}

/* Prevent Elementor's button styles from affecting it */
.woocommerce-page form .show-password-input.elementor-button {
    all: unset;
    position: absolute;
    width: 32px;
    height: 32px;
    top: 50%;
    transform: translateY(-50%);
    right: 0.7em;
    cursor: pointer;
}


/*Forgot password*/
#customer_login p a {
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 0.12em;
    text-decoration-thickness: 0.75px;
    color: #0F4C9B;
}




/*Logged out - login/register buttons */
.woocommerce-form-register__submit,
.woocommerce-form-login__submit {
    min-width: 100px;
    height: 45px;
    margin-top: 10px;
}

/* Rememeber password checkbox*/
.form-row input.woocommerce-form__input-checkbox {
    margin: 3px 2px 0 0;
}




/* Width of tabs*/
.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation
 {
    width: 20%;
}

/* Width of main section*/
.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content
 {
    width: 80%;
}









/* Edit addresses */
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-Address .edit, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-Addresses .edit {
    margin-top: 80px;
    color: #0F4C9B;
    transition: color 0.3s;
}

.elementor-widget-woocommerce-my-account 
.e-my-account-tab:not(.e-my-account-tab__dashboard--custom) 
.woocommerce-Address .edit:hover, 
.elementor-widget-woocommerce-my-account 
.e-my-account-tab:not(.e-my-account-tab__dashboard--custom) 
.woocommerce-Addresses .edit:hover {
    color: #1157b1;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .u-columns {
    margin-top: 0px;
}

.elementor-17 .elementor-element.elementor-element-0953c76 .e-my-account-tab__edit-address .woocommerce-Address address {
    padding-top: calc(0px + 20px);
}



/*Account details - password change*/
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-EditAccountForm fieldset legend, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields fieldset legend {
    color: var(--general-text-color, #000);
    font-weight: 700;
    padding: 40px 0 10px 0;
    font-size: 1rem;
}

fieldset legend {
    margin-left: 0px;
}






/*Account Details - Save Changes Button*/
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-EditAccountForm .button, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields .button {
    background: #051633;
    border: none;
    border-radius: var(--forms-buttons-border-radius, 3px);
    color: var(--forms-buttons-normal-text-color, #fff);
    margin-top: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 17px;
    padding-left: 17px;
    border-radius: 4px;
    font-family: 'Figtree';
    transition: background-color 0.3s ease;
}

/* Hover State */
.elementor-widget-woocommerce-my-account 
.e-my-account-tab:not(.e-my-account-tab__dashboard--custom) 
.woocommerce-EditAccountForm .button:hover,
.elementor-widget-woocommerce-my-account 
.e-my-account-tab:not(.e-my-account-tab__dashboard--custom) 
.woocommerce-address-fields .button:hover {
    background: #0F4C9B;
    color: #fff; /* optional: in case you want to override theme on hover */
}








/* Downloads - no downloads message*/
.woocommerce-info, .woocommerce-noreviews, p.no-comments {
    background-color: #051633;
}










@media (min-width: 993px) {
    .woocommerce-MyAccount-navigation {
        margin-right: 0;
    }
}



/*Buttons in order view*/
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .shop_table .button {
    background: #051633;
    border-radius: 4px;
    border-style: none;
    color: #ffffff;
    padding: 12px;
    vertical-align: middle;
    font-family: 'Figtree';
    font-size: 0.8rem;
    transition: background-color 0.5s;
}


/*Buttons in order view*/
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .shop_table .button:hover {
    background-color: #0F4C9B;
}



/*Opacity on Request Return button */
a.woocommerce-button.button.order-actions-button.wcsr-return-btn {
    opacity: 1;
}
    
    
    
    
    /*Icon opacity fix*/
    .woocommerce-MyAccount-navigation ul li a:before {
    opacity: 1;}
    
    
    
   
    
    
    
    
    
    
    
/*VIEW ORDER*/
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content p:last-of-type {
    margin-bottom: 20px;
}


.woocommerce-order-details {
    margin-bottom: 1rem;
    padding-top: 0.2rem;
    padding-bottom: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border: 1px solid #e2e2e2;
}


.elementor-17 .elementor-element.elementor-element-0953c76 .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) h2, .elementor-17 .elementor-element.elementor-element-0953c76 .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) h3 {
    font-family: "Figtree", Sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top:1rem;
    margin-bottom: 0.8rem;
}




.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .order-again .button {
    display: none;
}




.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) 
.woocommerce .order_details tfoot td a.woocommerce-button + a.woocommerce-button {
    margin-left: 10px; /* Adds spacing between buttons */
}






a.button.wcsr-return-btn {
    text-decoration: none;
    text-decoration-thickness: 0.75px;
    text-underline-offset: 0.12em;
    padding: 17px;
}


.addresses header.title a, .woocommerce-account .woocommerce-MyAccount-content p a {
    text-decoration: none;
}













section.woocommerce-order-details {
    background-color: #f7f7f7!important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .order_details, .elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-table--order-downloads {
    background-color: none!important;
    border-radius: none!important;
    border-style: none!important;
    border-width: none!important;
    padding: var(--sections-padding, 16px 30px 3px 30px);
}


.woocommerce-table.order_details {
    box-shadow: none!important;
}





/* ===== Table Container ===== */
.woocommerce-table.order_details {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

/* ===== Header Row ===== */
.woocommerce-table.order_details thead th {
    background-color: none;
    color: #1e3a8a;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 20px;
    border-bottom: 2px solid #dce2f0;
}

/* ===== Body Rows ===== */
.woocommerce-table.order_details tbody tr:nth-child(even) {
    background: #fafbfc;
}

.woocommerce-table.order_details tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #eaeaea;
    font-size: 15px;
}

/* Product Links */
.woocommerce-table.order_details td.product-name a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 500;
}



.woocommerce-table.order_details td.product-name a:hover {
    text-decoration: underline;
}

/* Quantity Styling */
.woocommerce-table.order_details .product-quantity {
    background: #e0e7ff;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 13px;
    border-radius: 20px;
    padding: 2px 10px;
    margin-left: 8px;
    display: inline-block;
}

/* Amounts */
.woocommerce-table.order_details .amount {
    font-weight: 600;
    color: #0f172a;
}

/* ===== Footer Rows ===== */
.woocommerce-table.order_details tfoot th,
.woocommerce-table.order_details tfoot td {
    padding: 14px 20px;
    font-size: 15px;
}

.woocommerce-table.order_details tfoot th {
    background: #f9fafb;
    color: #334155;
    font-weight: 600;
    border-top: 1px solid #e2e8f0;
}

.woocommerce-table.order_details tfoot td {
    background: #f9fafb;
    color: #111827;
    font-weight: 500;
}

/* Total row emphasis */
.woocommerce-table.order_details tfoot tr:nth-last-child(2) td {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}





/*Gets rid of 'View Basket' button after add to basket is clicked*/
a.added_to_cart.wc-forward {
  display: none !important;
}








.custom-orders-heading {
    background-color: #051633;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.5em;
    font-family: figtree;
    letter-spacing: 0.3px
}








@media (max-width: 768px) {
  /* Hide the sidebar menu */
  .woocommerce-MyAccount-navigation {
    display: none !important;
  }

  /* Make the main content full width */
  .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  
  
  
  
  
  
  
  
  /*indiviudal order details*/
  table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    background-color: transparent!important;
}
@media (max-width: 768px) {
    table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
        background-color: #f9f9f9!important;
    }
}
.woocommerce-order-details {
    background-color: #fcfcfc!important;
}










/* Desktop/tablet: keep the default Woo table exactly as-is */
@media (min-width: 783px){
  .order-mobile{ display:none !important; }
}

/* Mobile: use our custom list instead of the table */
@media (max-width: 782px){
  /* Hide the whole Woo details table on mobile */
  .woocommerce table.woocommerce-table--order-details{
    display:none !important;
  }

  .order-mobile{ display:block; }

  /* Item layout: image left, details right */
  .order-mobile-item{
    display:grid;
    grid-template-columns: 110px minmax(0,1fr);
    column-gap: 18px; row-gap: 8px;
    align-items:start;
    padding: 12px 0;
    border-top: 1px solid rgba(0,0,0,.12);
  }

  .omi-thumb img{
    width:100%; height:auto; border-radius:8px; display:block;
  }

  .omi-title a{ font-weight:600; display:block; text-decoration:none; }

  .omi-badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
  .badge{
    display:inline-flex; align-items:center;
    padding:4px 10px; border-radius:999px;
    background:#f3f5f7; border:1px solid rgba(0,0,0,.08);
    font-size:.85rem; line-height:1.15; font-weight:500;
  }

  .omi-total{ margin-top:6px; font-weight:600; }

  /* Actions + totals block */
  .order-mobile-actions{ display:flex; justify-content:flex-end; margin-top:6px; }
  .order-mobile-totals{ margin-top:12px; border-top: 1px solid rgba(0,0,0,.12); }
  .order-mobile-totals .row{
    display:flex; justify-content:space-between; align-items:center;
    padding:10px 0;
  }
  .order-mobile-totals .row.total{ font-weight:700; font-size:1.05rem; }
}/* End custom CSS */