/*=========================================================
COMMERCE + INNER PAGES
Cart, checkout, order received, account, and plain pages
(policies). Overrides WooCommerce's default styles.

Loaded on every page except the home page.
Uses the variables from main.css.
=========================================================*/


/*=========================================================
PAGE HERO + STEPS  (cart > checkout > thank you)
=========================================================*/

.page-hero{
    padding:60px 0 52px;
    text-align:center;
    background:var(--primary);
}
.page-hero h1{
    font-size:40px;
    color:var(--white);
}

.flow-steps{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px 8px;
    margin-top:28px;
    list-style:none;
}
.flow-steps li{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:15px;
    font-weight:600;
    color:rgba(255,255,255,.6);
}
.flow-steps li:not(:last-child)::after{
    content:"";
    width:32px;
    height:2px;
    margin-left:6px;
    border-radius:2px;
    background:rgba(255,255,255,.3);
}
.flow-steps li span{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.4);
    font-size:14px;
    font-weight:700;
}
.flow-steps li.is-active{ color:var(--white); }
.flow-steps li.is-active span{
    background:var(--accent);
    border-color:var(--accent);
    color:var(--primary);
}
.flow-steps li.is-done{ color:var(--white); }
.flow-steps li.is-done span{
    border-color:var(--white);
    color:var(--white);
}

.page-body{
    padding:56px 0 90px;
    background:var(--light);
}
.page-body .container{
    max-width:1200px;
}

/*=========================================================
PLAIN PAGES (returns, privacy, terms)
=========================================================*/

.entry{
    max-width:820px;
    margin:0 auto;
    padding:40px 44px;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--radius-lg);
}
.woocommerce-cart .entry,
.woocommerce-checkout .entry,
.woocommerce-account .entry{
    max-width:none;
    padding:0;
    background:none;
    border:none;
    border-radius:0;
}
body:not(.woocommerce-page) .entry h2{
    margin:30px 0 10px;
    font-size:24px;
    color:var(--primary);
}
body:not(.woocommerce-page) .entry h2:first-child{ margin-top:0; }
body:not(.woocommerce-page) .entry h3{
    margin:22px 0 8px;
    font-size:19px;
    color:var(--primary);
}
body:not(.woocommerce-page) .entry p{
    margin-bottom:14px;
    line-height:1.75;
}
body:not(.woocommerce-page) .entry ul,
body:not(.woocommerce-page) .entry ol{
    margin:0 0 16px 22px;
    list-style:disc;
}
body:not(.woocommerce-page) .entry ol{ list-style:decimal; }
body:not(.woocommerce-page) .entry li{
    margin-bottom:6px;
    color:var(--text);
    line-height:1.7;
}
body:not(.woocommerce-page) .entry a{
    color:var(--primary);
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:3px;
}
body:not(.woocommerce-page) .entry a:hover{ color:var(--secondary); }


/*=========================================================
WOOCOMMERCE: BUTTONS
Secondary buttons are slate, main actions are gold.
=========================================================*/

body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce #respond input#submit{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 26px;
    background:var(--primary);
    color:var(--white);
    border:none;
    border-radius:14px;
    font-family:'Inter',sans-serif;
    font-size:15px;
    font-weight:700;
    line-height:1.2;
    cursor:pointer;
    transition:background .3s ease, transform .3s ease;
}
body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce input.button:hover{
    background:var(--primary-dark);
    color:var(--white);
}

body .woocommerce a.button.alt,
body .woocommerce button.button.alt,
body .woocommerce input.button.alt,
body .woocommerce a.checkout-button,
body .woocommerce #payment #place_order{
    background:var(--accent);
    color:var(--primary);
    box-shadow:0 12px 28px rgba(241,196,15,.30);
}
body .woocommerce a.button.alt:hover,
body .woocommerce button.button.alt:hover,
body .woocommerce input.button.alt:hover,
body .woocommerce a.checkout-button:hover,
body .woocommerce #payment #place_order:hover{
    background:var(--accent-dark);
    color:var(--primary);
    transform:translateY(-2px);
}

body .woocommerce button.button:disabled,
body .woocommerce button.button[disabled]{
    opacity:.55;
    cursor:not-allowed;
}


/*=========================================================
WOOCOMMERCE: NOTICES
=========================================================*/

.woocommerce-notices-wrapper{
    margin-bottom:8px;
}

body .woocommerce-message,
body .woocommerce-info,
body .woocommerce-error{
    margin:0 0 20px;
    padding:16px 20px 16px 52px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-left:5px solid var(--primary);
    border-radius:var(--radius-sm);
    list-style:none;
    font-size:15px;
    line-height:1.6;
    color:var(--dark);
}
body .woocommerce-message::before,
body .woocommerce-info::before,
body .woocommerce-error::before{
    top:16px;
    left:20px;
    color:var(--primary);
}
body .woocommerce-message{ border-left-color:var(--accent); }
body .woocommerce-message::before{ color:var(--accent-dark); }
body .woocommerce-error{
    border-left-color:#C0392B;
    background:#FDF4F2;
}
body .woocommerce-error::before{ color:#C0392B; }
body .woocommerce-message a.button,
body .woocommerce-info a.button{
    float:right;
    margin:-4px 0 0 16px;
    padding:10px 18px;
}
body .woocommerce-error li{ margin-bottom:4px; }
body .woocommerce-error li:last-child{ margin-bottom:0; }


/*=========================================================
WOOCOMMERCE: TABLES
=========================================================*/

body .woocommerce table.shop_table{
    width:100%;
    margin:0;
    border:1px solid #D5DEE7;
    border-radius:var(--radius);
    border-collapse:separate;
    border-spacing:0;
    background:var(--white);
    overflow:hidden;
}
body .woocommerce table.shop_table th,
body .woocommerce table.shop_table td{
    padding:16px 20px;
    border:none;
    border-bottom:1px solid #E6EDF5;
    text-align:left;
    vertical-align:middle;
    font-size:15px;
    color:var(--text);
}
body .woocommerce table.shop_table thead th{
    background:#F3F6F9;
    font-size:13px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--secondary);
}
body .woocommerce table.shop_table tr:last-child th,
body .woocommerce table.shop_table tr:last-child td{
    border-bottom:none;
}
body .woocommerce table.shop_table tbody th{
    font-weight:700;
    color:var(--primary);
}
body .woocommerce table.shop_table .amount{
    font-weight:700;
    color:var(--primary);
}


/*=========================================================
CART PAGE
=========================================================*/

.woocommerce-cart .page-body .woocommerce{
    display:grid;
    grid-template-columns:minmax(0,1fr) 380px;
    gap:0 32px;
    align-items:start;
}
.woocommerce-cart .woocommerce-notices-wrapper{
    grid-column:1 / -1;
}
.woocommerce-cart .woocommerce-cart-form{
    grid-column:1;
}
.woocommerce-cart .cart-collaterals{
    grid-column:2;
    position:sticky;
    top:calc(var(--header-h) + 24px);
}
.woocommerce-cart .cart-empty,
.woocommerce-cart .return-to-shop{
    grid-column:1 / -1;
    text-align:center;
}
.woocommerce-cart .cart-empty{
    margin-bottom:20px;
    padding:48px 20px 8px;
    font-size:18px;
    font-weight:600;
    color:var(--primary);
    background:none;
    border:none;
}
.woocommerce-cart .cart-empty::before{ display:none; }

/* cart items */
body .woocommerce table.shop_table.cart .product-remove{ width:56px; padding-right:0; }
body .woocommerce a.remove{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto;
    border-radius:50%;
    background:#EEF3F8;
    color:var(--primary) !important;
    font-size:18px;
    line-height:1;
    font-weight:400;
    transition:background .3s ease;
}
body .woocommerce a.remove:hover{
    background:#C0392B;
    color:var(--white) !important;
}
body .woocommerce table.shop_table.cart .product-thumbnail{ width:96px; }
body .woocommerce table.shop_table.cart .product-thumbnail img{
    width:76px;
    height:auto;
    border-radius:12px;
    border:1px solid #E6EDF5;
}
body .woocommerce table.shop_table.cart .product-name a{
    font-size:16px;
    font-weight:700;
    color:var(--primary);
}
body .woocommerce table.shop_table.cart .product-name a:hover{ color:var(--secondary); }

/* quantity */
body .woocommerce .quantity .qty{
    width:72px;
    padding:10px 8px;
    text-align:center;
    border:1px solid #CBD5E0;
    border-radius:10px;
    font-size:16px;
    font-weight:600;
    color:var(--primary);
}

/* coupon + update row */
body .woocommerce table.shop_table.cart td.actions{
    padding:20px;
    background:#F8FAFC;
}
body .woocommerce table.shop_table.cart td.actions .coupon{
    float:left;
    display:flex;
    gap:10px;
}
body .woocommerce table.shop_table.cart td.actions .coupon label{ display:none; }
body .woocommerce table.shop_table.cart td.actions .coupon .input-text{
    width:200px;
    margin:0;
    padding:12px 16px;
    border:1px solid #CBD5E0;
    border-radius:12px;
    font-size:15px;
}
body .woocommerce table.shop_table.cart td.actions > button[name="update_cart"]{
    float:right;
    background:var(--white);
    color:var(--primary);
    border:1px solid #CBD5E0;
}
body .woocommerce table.shop_table.cart td.actions > button[name="update_cart"]:hover{
    background:var(--primary);
    color:var(--white);
}

/* totals card */
.woocommerce-cart .cart-collaterals .cart_totals{
    float:none;
    width:100%;
    padding:28px 26px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-sm);
}
.woocommerce-cart .cart_totals h2{
    margin-bottom:14px;
    font-size:22px;
    color:var(--primary);
}
.woocommerce-cart .cart_totals table.shop_table{
    border:none;
    border-radius:0;
}
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td{
    padding:14px 0;
}
.woocommerce-cart .cart_totals table.shop_table td{ text-align:right; }
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td{
    font-size:18px;
    color:var(--primary);
}
.woocommerce-cart .cart_totals .order-total .amount{ font-size:22px; }

.wc-proceed-to-checkout{
    padding:18px 0 0;
}
body .woocommerce .wc-proceed-to-checkout a.checkout-button{
    display:flex;
    width:100%;
    margin:0;
    padding:18px 20px;
    font-size:17px;
    border-radius:999px;
}

/* trust line added by functions.php */
.commerce-note{
    margin-top:14px;
    font-size:14px;
    line-height:1.6;
    text-align:center;
    color:var(--text);
}
.commerce-note i{
    margin-right:6px;
    color:var(--primary);
}

.woocommerce-cart .return-to-shop{ margin-bottom:40px; }


/*=========================================================
CHECKOUT PAGE
=========================================================*/

.woocommerce-checkout form.checkout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 400px;
    column-gap:32px;
    align-items:start;
}
.woocommerce-checkout form.checkout .woocommerce-NoticeGroup{
    grid-column:1 / -1;
    grid-row:1;
}
.woocommerce-checkout .co-left{
    grid-column:1;
    grid-row:2;
    min-width:0;
}
.woocommerce-checkout .co-right{
    grid-column:2;
    grid-row:2;
    position:sticky;
    top:calc(var(--header-h) + 24px);
    padding:26px 24px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-sm);
}
.woocommerce-checkout #order_review_heading{
    margin-bottom:14px;
    font-size:22px;
    color:var(--primary);
}
.woocommerce-checkout #order_review{
    position:static;
    padding:0;
    background:none;
    border:none;
    box-shadow:none;
}

/* details cards */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2{
    float:none;
    width:100%;
    margin-bottom:24px;
    padding:28px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-radius:var(--radius-lg);
}
.woocommerce-checkout #customer_details .col-2:empty{ display:none; }
.woocommerce-checkout #customer_details h3{
    margin-bottom:20px;
    font-size:22px;
    color:var(--primary);
}

/* coupon and login toggles above the form */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle{
    grid-column:1 / -1;
}
.woocommerce-checkout .woocommerce-info a{
    color:var(--primary);
    font-weight:700;
    text-decoration:underline;
}
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.woocommerce-form-login{
    margin:0 0 24px;
    padding:22px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-radius:var(--radius);
}

/* form fields */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper{
    display:flex;
    flex-wrap:wrap;
    gap:0 16px;
}
body .woocommerce form .form-row{
    width:100%;
    margin:0 0 18px;
    padding:0;
}
body .woocommerce form .form-row.form-row-first,
body .woocommerce form .form-row.form-row-last{
    float:none;
    width:calc(50% - 8px);
}
body .woocommerce form .form-row label{
    display:block;
    margin-bottom:6px;
    font-size:14px;
    font-weight:600;
    line-height:1.4;
    color:var(--primary);
}
body .woocommerce form .form-row .required{
    color:#C0392B;
    text-decoration:none;
}
body .woocommerce form .form-row .optional{
    font-weight:400;
    color:var(--secondary);
}
body .woocommerce form .form-row .input-text,
body .woocommerce form .form-row select,
body .woocommerce form .form-row textarea{
    width:100%;
    padding:14px 16px;
    background:var(--white);
    border:1px solid #CBD5E0;
    border-radius:12px;
    font-family:'Inter',sans-serif;
    font-size:16px;
    line-height:1.4;
    color:var(--dark);
    transition:border-color .2s ease, box-shadow .2s ease;
}
body .woocommerce form .form-row textarea{ min-height:110px; }
body .woocommerce form .form-row .input-text:focus,
body .woocommerce form .form-row select:focus,
body .woocommerce form .form-row textarea:focus{
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(241,196,15,.40);
}
body .woocommerce form .form-row.woocommerce-invalid .input-text,
body .woocommerce form .form-row.woocommerce-invalid select{
    border-color:#C0392B;
}
body .woocommerce form .form-row .input-text::placeholder{ color:#98A6B5; }

/* state / country dropdowns (Select2) */
.select2-container .select2-selection--single{
    height:52px;
    border:1px solid #CBD5E0;
    border-radius:12px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    padding-left:16px;
    line-height:50px;
    font-size:16px;
    color:var(--dark);
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    height:50px;
    right:8px;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single{
    border-color:var(--primary);
}
.select2-dropdown{
    border:1px solid #CBD5E0;
    border-radius:12px;
    overflow:hidden;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected]{
    background:var(--primary);
}

/* order summary table */
.woocommerce-checkout #order_review table.shop_table{
    border:none;
    border-radius:0;
}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td{
    padding:13px 0;
}
.woocommerce-checkout #order_review table.shop_table thead th{
    background:none;
    padding-top:0;
}
.woocommerce-checkout #order_review table.shop_table td:last-child,
.woocommerce-checkout #order_review table.shop_table thead th:last-child{
    text-align:right;
}
.woocommerce-checkout #order_review .product-name{
    font-weight:600;
    color:var(--primary);
}
.woocommerce-checkout #order_review .product-quantity{
    font-weight:700;
    color:var(--secondary);
}
.woocommerce-checkout #order_review .order-total th,
.woocommerce-checkout #order_review .order-total td{
    font-size:18px;
    color:var(--primary);
}
.woocommerce-checkout #order_review .order-total .amount{ font-size:22px; }

/* payment methods */
body .woocommerce #payment{
    margin-top:16px;
    background:#F8FAFC;
    border:1px solid #E6EDF5;
    border-radius:var(--radius);
}
body .woocommerce #payment ul.payment_methods{
    margin:0;
    padding:16px;
    border:none;
    list-style:none;
}
body .woocommerce #payment ul.payment_methods li{
    margin:0 0 10px;
    padding:14px 16px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-radius:12px;
    line-height:1.5;
}
body .woocommerce #payment ul.payment_methods li:last-child{ margin-bottom:0; }
body .woocommerce #payment ul.payment_methods li label{
    display:inline;
    margin-left:6px;
    font-size:16px;
    font-weight:700;
    color:var(--primary);
    cursor:pointer;
}
body .woocommerce #payment ul.payment_methods li input[type="radio"]{
    accent-color:var(--primary);
}
body .woocommerce #payment div.payment_box{
    margin:12px 0 0;
    padding:12px 14px;
    background:#EEF3F8;
    border-radius:10px;
    font-size:14px;
    line-height:1.6;
    color:var(--text);
}
body .woocommerce #payment div.payment_box::before{ display:none; }
body .woocommerce #payment div.form-row{ padding:0 16px 16px; }
body .woocommerce #payment #place_order{
    float:none;
    width:100%;
    padding:18px 20px;
    font-size:17px;
    border-radius:999px;
}

.woocommerce-terms-and-conditions-wrapper{
    margin-bottom:16px;
    font-size:13px;
    line-height:1.6;
    color:var(--text);
}
.woocommerce-terms-and-conditions-wrapper a,
.woocommerce-privacy-policy-text a{
    color:var(--primary);
    font-weight:700;
    text-decoration:underline;
}
.woocommerce-privacy-policy-text p{
    font-size:13px;
    line-height:1.6;
}


/*=========================================================
ORDER RECEIVED (THANK YOU)
=========================================================*/

.woocommerce-order{
    max-width:900px;
    margin:0 auto;
}
.woocommerce-thankyou-order-received{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:24px;
    padding:20px 24px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-left:5px solid var(--accent);
    border-radius:var(--radius);
    font-size:18px;
    font-weight:700;
    color:var(--primary);
}
.woocommerce-thankyou-order-received::before{
    content:"✓";
    flex-shrink:0;
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--accent);
    color:var(--primary);
    font-size:16px;
}

body .woocommerce ul.order_details{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:12px;
    margin:0 0 28px;
    padding:0;
    list-style:none;
}
body .woocommerce ul.order_details li{
    float:none;
    margin:0;
    padding:16px 18px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-radius:var(--radius-sm);
    font-size:12px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
    line-height:1.4;
    color:var(--secondary);
}
body .woocommerce ul.order_details li strong{
    display:block;
    margin-top:4px;
    font-size:16px;
    letter-spacing:0;
    text-transform:none;
    color:var(--primary);
}

.woocommerce-order-details,
.woocommerce-customer-details{
    margin-bottom:28px;
}
.woocommerce-order-details h2,
.woocommerce-customer-details h2,
.woocommerce-column__title{
    margin-bottom:14px;
    font-size:22px;
    color:var(--primary);
}
.woocommerce-customer-details address{
    padding:20px 24px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-radius:var(--radius);
    font-style:normal;
    line-height:1.7;
    color:var(--text);
}


/*=========================================================
MY ACCOUNT / LOGIN (basic)
=========================================================*/

.woocommerce-account .woocommerce{
    display:grid;
    grid-template-columns:240px minmax(0,1fr);
    gap:32px;
    align-items:start;
}
.woocommerce-account:not(.logged-in) .woocommerce{
    display:block;
    max-width:460px;
    margin:0 auto;
}
.woocommerce-account .woocommerce-notices-wrapper{ grid-column:1 / -1; }
.woocommerce-MyAccount-navigation ul{
    list-style:none;
    padding:10px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-radius:var(--radius);
}
.woocommerce-MyAccount-navigation li a{
    display:block;
    padding:12px 14px;
    border-radius:10px;
    font-weight:600;
    color:var(--primary);
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover{
    background:#EEF3F8;
}
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account form.woocommerce-form-login,
.woocommerce-account form.woocommerce-form-register{
    padding:28px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-radius:var(--radius-lg);
}


/*=========================================================
TABLET
=========================================================*/

@media (max-width:991px){

    .page-hero{ padding:48px 0 40px; }
    .page-hero h1{ font-size:34px; }
    .page-body{ padding:40px 0 70px; }

    .woocommerce-cart .page-body .woocommerce{
        grid-template-columns:minmax(0,1fr);
    }
    .woocommerce-cart .cart-collaterals{
        grid-column:1;
        position:static;
        margin-top:24px;
    }

    .woocommerce-checkout form.checkout{
        grid-template-columns:minmax(0,1fr);
    }
    .woocommerce-checkout .co-left,
    .woocommerce-checkout .co-right{
        grid-column:1;
        grid-row:auto;
    }
    .woocommerce-checkout .co-right{
        position:static;
        margin-top:24px;
    }

    .woocommerce-account .woocommerce{
        grid-template-columns:minmax(0,1fr);
    }

}

/*=========================================================
MOBILE
=========================================================*/

@media (max-width:767px){

    .page-hero h1{ font-size:30px; }
    .flow-steps li{ font-size:14px; }
    .flow-steps li:not(:last-child)::after{ width:18px; }

    .entry{ padding:26px 22px; }

    /* cart rows become cards (WooCommerce turns the table into blocks) */
    body .woocommerce table.shop_table.cart{
        display:block;
        border:none;
        background:none;
        border-radius:0;
    }
    body .woocommerce table.shop_table.cart thead{
        display:none;
    }
    body .woocommerce table.shop_table.cart tbody{
        display:block;
    }
    body .woocommerce table.shop_table.cart tr.cart_item{
        position:relative;
        display:block;
        margin-bottom:14px;
        padding:4px 0;
        background:var(--white);
        border:1px solid #D5DEE7;
        border-radius:var(--radius);
    }
    body .woocommerce table.shop_table.cart tr.cart_item td{
        display:block;
        padding:12px 18px;
        border-bottom:1px solid #EEF2F6;
        text-align:right;
    }
    body .woocommerce table.shop_table.cart tr.cart_item td:last-child{
        border-bottom:none;
    }
    body .woocommerce table.shop_table.cart tr.cart_item td::before{
        float:left;
        font-size:13px;
        font-weight:700;
        letter-spacing:.06em;
        text-transform:uppercase;
        color:var(--secondary);
    }
    /* remove button sits in the top corner, photo stays on the left */
    body .woocommerce table.shop_table.cart tr.cart_item td.product-remove{
        position:absolute;
        top:8px;
        right:6px;
        width:auto;
        padding:0;
        border:none;
        z-index:2;
    }
    body .woocommerce table.shop_table.cart tr.cart_item td.product-thumbnail{
        width:auto;
        padding-bottom:4px;
        text-align:left;
    }
    body .woocommerce table.shop_table.cart tr.cart_item td.product-thumbnail::before,
    body .woocommerce table.shop_table.cart tr.cart_item td.product-remove::before{
        display:none;
    }
    body .woocommerce table.shop_table.cart tr:not(.cart_item){
        display:block;
    }
    body .woocommerce table.shop_table.cart td.actions{
        display:block;
        background:none;
        padding:6px 0 0;
        border:none;
    }
    body .woocommerce table.shop_table.cart td.actions .coupon{
        float:none;
        flex-direction:column;
        margin-bottom:12px;
    }
    body .woocommerce table.shop_table.cart td.actions .coupon .input-text{
        width:100%;
    }
    body .woocommerce table.shop_table.cart td.actions > button[name="update_cart"]{
        float:none;
        width:100%;
    }
    body .woocommerce table.shop_table.cart td.actions .coupon .button{
        width:100%;
    }

    /* totals stay as a tidy two-column table */
    body .woocommerce-cart .cart_totals table.shop_table_responsive,
    body .woocommerce-checkout #order_review table.shop_table_responsive{
        display:table;
    }
    body .woocommerce-cart .cart_totals table.shop_table_responsive tbody,
    body .woocommerce-checkout #order_review table.shop_table_responsive tbody,
    body .woocommerce-checkout #order_review table.shop_table_responsive tfoot{
        display:table-row-group;
    }
    body .woocommerce-cart .cart_totals table.shop_table_responsive tr,
    body .woocommerce-checkout #order_review table.shop_table_responsive tr{
        display:table-row;
        margin:0;
        padding:0;
        border:none;
        background:none;
    }
    body .woocommerce-cart .cart_totals table.shop_table_responsive th,
    body .woocommerce-cart .cart_totals table.shop_table_responsive td,
    body .woocommerce-checkout #order_review table.shop_table_responsive th,
    body .woocommerce-checkout #order_review table.shop_table_responsive td{
        display:table-cell;
        padding:13px 0;
        border-bottom:1px solid #E6EDF5;
    }
    body .woocommerce-cart .cart_totals table.shop_table_responsive td::before,
    body .woocommerce-checkout #order_review table.shop_table_responsive td::before{
        display:none;
    }
    body .woocommerce-cart .cart_totals table.shop_table_responsive tr:last-child th,
    body .woocommerce-cart .cart_totals table.shop_table_responsive tr:last-child td{
        border-bottom:none;
    }

    .woocommerce-cart .cart_totals,
    .woocommerce-checkout #customer_details .col-1,
    .woocommerce-checkout #customer_details .col-2,
    .woocommerce-checkout .co-card,
    .woocommerce-checkout .co-right{
        padding:22px 18px;
    }

    body .woocommerce form .form-row.form-row-first,
    body .woocommerce form .form-row.form-row-last{
        width:100%;
    }

    body .woocommerce-message a.button,
    body .woocommerce-info a.button{
        float:none;
        display:flex;
        margin:12px 0 0;
    }

    .woocommerce-thankyou-order-received{
        font-size:16px;
        padding:16px 18px;
    }

}

/* ===== THANK-YOU PAGE: replace the old .thanks* rules in css/commerce.css with this ===== */
.thanks{max-width:620px;margin:0 auto;padding:40px 16px 72px;text-align:center;color:#16233B}
.thanks-icon{width:72px;height:72px;margin:0 auto 20px;border-radius:50%;background:#F1C40F;color:#2C3E50;
  display:flex;align-items:center;justify-content:center;font-size:30px}
.thanks-icon--fail{background:#FDECEA;color:#B3261E}
.thanks-title{font-size:clamp(26px,5vw,34px);line-height:1.2;margin:0 0 10px;color:#2C3E50}
.thanks-sub{font-size:17px;line-height:1.55;color:#4A5B6E;margin:0 auto 28px;max-width:460px}

.thanks-card{background:#fff;border:1px solid #D5DEE7;border-radius:var(--radius-lg,16px);padding:24px 24px 8px;
  text-align:left;box-shadow:0 2px 10px rgba(44,62,80,.05)}
.thanks-card-title{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#6B7B8D;margin:0 0 8px;font-weight:700}
.thanks-rows{margin:0}
.thanks-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;border-bottom:1px solid #E6EDF5}
.thanks-row:last-child{border-bottom:0}
.thanks-row dt{color:#5B6B7D;font-size:15px;margin:0}
.thanks-row dd{margin:0;font-weight:600;font-size:16px;text-align:right}
.thanks-row--total{background:#EEF3F8;margin:8px -24px 0;padding:16px 24px;border-radius:0 0 var(--radius-lg,16px) var(--radius-lg,16px)}
.thanks-row--total dt{color:#2C3E50;font-weight:700}
.thanks-row--total dd{font-size:20px;font-weight:700;color:#2C3E50}

.thanks-note{margin:22px 0 0;font-size:15px;color:#4A5B6E;line-height:1.5}
.thanks-note i{margin-right:6px;color:#34495E}
.thanks-note strong{word-break:break-all;color:#16233B}

.thanks-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:26px 0 0}
.thanks-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;
  border-radius:10px;background:#F1C40F;color:#2C3E50;font-weight:700;font-size:16px;text-decoration:none;
  border:2px solid #F1C40F;transition:background .15s}
.thanks-btn:hover{background:#D4AC0D;border-color:#D4AC0D;color:#2C3E50}
.thanks-btn--ghost{background:#fff;border-color:#34495E;color:#34495E}
.thanks-btn--ghost:hover{background:#EEF3F8;border-color:#34495E;color:#34495E}

.thanks-help{margin:28px 0 0;font-size:15px;color:#5B6B7D}
.thanks-help a{color:#34495E;font-weight:600}

@media (max-width:480px){
  .thanks-btn{width:100%}
  .thanks-card{padding:20px 18px 6px}
  .thanks-row--total{margin:8px -18px 0;padding:14px 18px}
}


/*=========================================================
CHECKOUT AND THANK-YOU: logo-only header, short footer
=========================================================*/

.site-header--minimal .header-container{
    justify-content:center;
}
.site-header--minimal .logo{
    pointer-events:auto;
}

.site-footer--minimal{
    padding:28px 0;
}
.site-footer--minimal .container{
    text-align:center;
}
.footer-mini{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px 26px;
    margin-bottom:14px;
    list-style:none;
}
.footer-mini a{
    font-size:14px;
    font-weight:600;
    color:rgba(255,255,255,.82);
    transition:color .3s ease;
}
.footer-mini a:hover{ color:var(--accent); }
.site-footer--minimal p{
    font-size:13px;
    color:rgba(255,255,255,.6);
}


/*=========================================================
CHECKOUT PAGE: light header and numbered steps
=========================================================*/

.co-head{
    padding:34px 0 8px;
    text-align:center;
    background:var(--light);
}
.co-head h1{
    margin-bottom:18px;
    font-size:34px;
    color:var(--primary);
}

.co-steps{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    list-style:none;
}
.co-steps li{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:600;
    color:var(--secondary);
}
.co-steps li:not(:last-child)::after{
    content:"";
    width:36px;
    height:1px;
    margin-left:4px;
    background:#CBD5E0;
}
.co-step-num{
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    border-radius:50%;
    border:1px solid #CBD5E0;
    font-size:13px;
    font-weight:700;
    color:var(--secondary);
}

/* completed: grey tick */
.co-steps li.is-done .co-step-num{
    background:#E6EDF5;
    border-color:#E6EDF5;
    color:#8795A5;
}
.co-steps li.is-done{ color:#8795A5; }

/* current: primary brand colour */
.co-steps li.is-active{ color:var(--primary); }
.co-steps li.is-active .co-step-num{
    background:var(--primary);
    border-color:var(--primary);
    color:var(--white);
}
.co-steps li.is-active .co-step-label{ font-weight:700; }

.page-body--co{
    padding-top:26px;
}

/*=========================================================
CHECKOUT PAGE: the three blocks
=========================================================*/

.woocommerce-checkout .co-card{
    padding:28px;
    background:var(--white);
    border:1px solid #D5DEE7;
    border-radius:var(--radius-lg);
}
.co-card-title{
    margin-bottom:16px;
    font-size:18px;
    color:var(--primary);
}

/* block titles inside the details card */
.woocommerce-checkout .woocommerce-billing-fields > h3{
    display:none;
}
.woocommerce-billing-fields__field-wrapper::before,


#billing_address_1_field::before{
    content:"Delivery address";
    margin:10px 0 14px;
    padding-top:22px;
    border-top:1px solid #E6EDF5;
}

/* pincode, city and state share one row */
body .woocommerce form #billing_postcode_field,
body .woocommerce form #billing_city_field,
body .woocommerce form #billing_state_field{
    width:calc((100% - 32px) / 3);
    float:none;
}

/* helper text under a field */
body .woocommerce form .form-row .description{
    display:block;
    margin-top:6px;
    font-size:13px;
    color:var(--secondary);
}

/* block 3: payment method (cash on delivery) */
.woocommerce-checkout .co-pay{
    margin-top:24px;
}
.co-pay-opt{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:16px 18px;
    background:#F5F8FB;
    border:2px solid var(--primary);
    border-radius:14px;
}
.co-pay-check{
    flex-shrink:0;
    width:24px;
    height:24px;
    margin-top:2px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--primary);
    color:var(--white);
    font-size:12px;
}
.co-pay-opt strong{
    display:block;
    font-size:17px;
    color:var(--primary);
}
.co-pay-opt small{
    display:block;
    margin-top:2px;
    font-size:14px;
    line-height:1.5;
    color:var(--text);
}

/*=========================================================
CHECKOUT PAGE: right column (order summary + button)
=========================================================*/

/* payment methods are shown as block 3 on the left; the real choice stays
   in the form, hidden. Messages (such as "no payment method available") still show. */
.co-right #payment ul.payment_methods > li:not(.woocommerce-notice){
    display:none;
}
.co-right #payment ul.payment_methods{
    margin:0;
    padding:0;
}
body .woocommerce .co-right #payment{
    margin-top:18px;
    background:none;
    border:none;
    border-radius:0;
}
body .woocommerce .co-right #payment div.form-row{
    padding:0;
}

.co-consent{
    margin-top:14px;
    font-size:13px;
    line-height:1.6;
    text-align:center;
    color:var(--text);
}

@media (max-width:767px){

    .co-head{ padding:24px 0 4px; }
    .co-head h1{ font-size:28px; margin-bottom:14px; }

    /* each step: number above its label */
    .co-steps{ align-items:flex-start; gap:6px; }
    .co-steps li{
        flex-direction:column;
        gap:6px;
        width:96px;
        text-align:center;
        font-size:12px;
    }
    .co-steps li:not(:last-child)::after{ display:none; }

    body .woocommerce form #billing_postcode_field,
    body .woocommerce form #billing_city_field,
    body .woocommerce form #billing_state_field{
        width:100%;
    }

}

/* ===== Forminator: institutional enquiry ===== */
body .forminator-ui.forminator-custom-form{max-width:640px;margin:0 auto}

body .forminator-ui.forminator-custom-form .forminator-label{
  color:#16233B;font:600 15px/1.4 Inter,"Open Sans",sans-serif}

body .forminator-ui.forminator-custom-form .forminator-input,
body .forminator-ui.forminator-custom-form .forminator-textarea{
  min-height:48px;padding:12px 14px;font-size:16px;color:#16233B;
  background:#fff;border:1px solid #D5DEE7;border-radius:10px;box-shadow:none}
body .forminator-ui.forminator-custom-form .forminator-textarea{min-height:120px}

body .forminator-ui.forminator-custom-form .forminator-input:focus,
body .forminator-ui.forminator-custom-form .forminator-textarea:focus{
  border-color:#34495E;box-shadow:0 0 0 3px rgba(52,73,94,.15);outline:0}

body .forminator-ui.forminator-custom-form .forminator-button-submit{
  min-height:48px;padding:0 28px;border-radius:10px;border:0;
  background:#F1C40F;color:#2C3E50;font-weight:700;font-size:16px}
body .forminator-ui.forminator-custom-form .forminator-button-submit:hover{background:#D4AC0D}

body .forminator-ui.forminator-custom-form .forminator-error-message{color:#B3261E}

body .forminator-ui .forminator-response-message.forminator-success{
  background:#EEF3F8;border-left:4px solid #34495E;color:#16233B}
  
  /* ===== CHECKOUT: 3 blocks. Append at the BOTTOM of css/commerce.css ===== */

/* old pseudo-element headings are replaced by real headings (also delete the two old content rules) */
.woocommerce-billing-fields__field-wrapper::before,
#billing_address_1_field::before{content:none !important;display:none !important}

/* block headings with a numbered circle */
.co-block-title{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 100%;
  width:100%;
  margin:0 0 16px;
  font-size:20px;
  color:var(--primary,#34495E);
}
.co-block-title--next{
  margin-top:14px;
  padding-top:26px;
  border-top:1px solid #E6EDF5;
}
.co-num{
  flex:0 0 auto;
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--primary,#34495E);
  color:#fff;
  font-size:15px;
  font-weight:700;
}
.co-pay .co-block-title{ margin-bottom:14px; }

/* field widths: two across for email/phone and first/last name, full width for address and country */
body .woocommerce form #billing_email_field,
body .woocommerce form #billing_phone_field,
body .woocommerce form #billing_first_name_field,
body .woocommerce form #billing_last_name_field{
  width:calc((100% - 32px)/2);
  float:none;
  margin-right:0;
}
body .woocommerce form #billing_address_1_field,
body .woocommerce form #billing_country_field{
  width:100%;
  float:none;
}

/* country is fixed to India: show it as a read-only box */
#billing_country_field strong{
  display:block;
  padding:13px 14px;
  background:#F8FAFC;
  border:1px solid #D5DEE7;
  border-radius:10px;
  font-weight:600;
  color:#16233B;
}

/* helper text under the email field */
#billing_email_field .description{
  display:block;
  margin-top:6px;
  font-size:13px;
  color:#6B7B8D;
}

@media (max-width:767px){
  body .woocommerce form #billing_email_field,
  body .woocommerce form #billing_phone_field,
  body .woocommerce form #billing_first_name_field,
  body .woocommerce form #billing_last_name_field{ width:100%; }
  .co-block-title{ font-size:18px; }
}

/* ===== CHECKOUT FIX: add at the BOTTOM of css/commerce.css ===== */

/* "For order updates": plain grey helper text instead of WooCommerce's blue speech bubble */
#billing_email_field .description,
.woocommerce form .form-row .description{
  display:block;
  margin:6px 0 0;
  padding:0;
  background:none !important;
  border-radius:0;
  color:#6B7B8D !important;
  font-size:13px;
  line-height:1.4;
}
#billing_email_field .description::before,
#billing_email_field .description::after,
.woocommerce form .form-row .description::before,
.woocommerce form .form-row .description::after{
  content:none !important;
  display:none !important;
}

/* the two blocks are now real containers: keep the field rows tidy inside each */
.co-block .woocommerce-billing-fields__field-wrapper{ margin-top:0; }
.co-block--delivery{ margin-top:6px; }


  