/* WooCommerce screens in the design: prices, notices, forms, checkout steps, account and theme additions.
   WooCommerce's own stylesheets are switched off; everything here uses the design-system tokens.
   No red or green: errors and confirmations use gold and cream. */

[hidden]{display:none !important}
.fs-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.added:empty{display:none}
.added{margin:-2px 0 12px}
.tb-home,.tb-home:hover{display:flex;min-width:0;color:inherit}
.tb-home .brand{min-width:0}
.tb-home .brand-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- prices from WooCommerce markup: ₹ in Jost, numerals in Cormorant ---------- */
.pc-price .woocommerce-Price-currencySymbol,.product-price .woocommerce-Price-currencySymbol,.bag-total .woocommerce-Price-currencySymbol,.summary-total .woocommerce-Price-currencySymbol,.od-line-total .woocommerce-Price-currencySymbol,.school-total .woocommerce-Price-currencySymbol,.order-total .woocommerce-Price-currencySymbol{font-family:var(--sans);font-size:.72em}
.pc-price del,.product-price del{margin-right:4px;font-size:.82em;opacity:.55}
.pc-price ins,.product-price ins{text-decoration:none}
.pc-price .price,.product-price .price{display:inline}
.woocommerce-price-suffix{font-family:var(--sans);font-size:.55rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-mute)}

.dl-row dt{flex:none;white-space:nowrap}
.dl-row dd{min-width:0}

/* ---------- links standing in for the design's buttons ---------- */
a.seg-btn{display:block;text-align:center;line-height:1.75}
a.tabpill{display:block;text-align:center;line-height:1.75}
a.bag-thumb{display:block;width:64px;height:64px;flex:none}
a.bag-name,a.bag-name:hover{display:block;color:var(--ink)}
a.od-line:hover{color:inherit}
.order-wrap{margin-bottom:16px}
.order-wrap .order-card{margin-bottom:0}
.order-actions{display:flex;gap:18px;padding:8px 2px 0}
.od-notes{list-style:none;margin:0 0 24px;padding:0}
.od-notes li{padding:12px 0;border-bottom:1px solid var(--hair-soft);font-size:.84rem;line-height:1.6;color:var(--ink-soft)}
.od-notes li p{margin:0}
.od-note-date{display:block;margin-bottom:2px;font-size:.7rem;color:var(--ink-mute)}
.coupon-row{display:flex;align-items:center;gap:14px;margin:0 0 22px}
.coupon-row .field-control{flex:1}
.fs-update{margin:0 0 22px}
.js .fs-update{display:none}
.summary-cta>*+*{margin-top:12px}
.form-msg-top{margin:0 0 22px}
.wish-cell .pc-add{cursor:pointer}
.product-cloth{margin:0 0 16px;font-size:.85rem;line-height:1.7;color:var(--ink-soft)}
.product-cloth p{margin:0 0 .6em}.product-cloth p:last-child{margin:0}
.qty .qty-n{width:34px;min-width:26px;padding:0;border:0;background:none;font:inherit;font-size:.84rem;color:var(--ink);text-align:center;-moz-appearance:textfield;appearance:textfield}
.qty .qty-n::-webkit-outer-spin-button,.qty .qty-n::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty .qty-n:focus-visible{outline:1.5px solid var(--gold);outline-offset:2px}
.search-form{margin:0}
input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}
.account-pg{padding:16px}
.account-pg .auth{padding:18px 6px 8px}
.btn:disabled,.btn[disabled]{opacity:.45;pointer-events:none}

/* ---------- page content ---------- */
.prose{font-size:.9rem;line-height:1.75;color:var(--ink-soft)}
.prose h2,.legal h2{margin:22px 0 6px;font-family:var(--display);font-weight:400;font-size:1.1rem;line-height:1.25;color:var(--ink)}
.prose h3{margin:18px 0 6px;font-family:var(--display);font-weight:400;font-size:1rem;color:var(--ink)}
.prose a,.legal a{color:var(--gold-deep);text-decoration:underline;text-underline-offset:2px}
.prose ul,.prose ol{padding-left:1.2em;margin:0 0 1em}
.prose ul{list-style:disc}
.legal{gap:0}
.legal>h2:first-child,.legal h2{margin-top:0}
.legal h2+p{margin-top:0}
.legal p{margin:0 0 20px}
.prose-title{font-family:var(--display);font-size:1.25rem;margin:0 0 6px}
.prose-item{padding:0 0 22px;margin:0 0 22px;border-bottom:1px solid var(--hair-soft)}

/* ---------- pagination ---------- */
.pagination .nav-links,.woocommerce-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:22px 0 0;padding:0;list-style:none}
.page-numbers{display:inline-block;min-width:40px;padding:9px 13px;border:1px solid var(--hair-soft);border-radius:var(--radius-pill);font-size:.68rem;letter-spacing:.06em;text-align:center;color:var(--ink-soft)}
.page-numbers.current{border-color:var(--gold);background:var(--gold);color:var(--ivory)}

/* ---------- notices ---------- */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice{list-style:none;margin:0 0 18px;padding:14px 16px;border:1px solid var(--gold);border-radius:var(--radius-sm);background:var(--cream);font-size:.84rem;line-height:1.6;color:var(--gold-deep)}
.woocommerce-error{border-color:var(--gold-deep)}
.woocommerce-error li{margin:0 0 4px}
.woocommerce-error li:last-child{margin:0}
.woocommerce-message a,.woocommerce-info a,.woocommerce-error a{color:var(--gold-deep);text-decoration:underline;text-underline-offset:2px}
.woocommerce-message .wc-forward,.woocommerce-message .button,.woocommerce-info .button{float:right;margin-left:12px;padding:0;border:0;background:none;font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep);text-decoration:underline;text-underline-offset:3px}
.woocommerce-store-notice{position:fixed;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));z-index:19;max-width:480px;margin:0 auto;padding:12px 16px;background:var(--ink);font-size:.78rem;color:var(--ivory)}
.woocommerce-store-notice a{color:var(--gold-soft)}
.blockUI.blockOverlay{background:rgba(255,252,247,.6) !important}

/* ---------- WooCommerce forms in the Field style ---------- */
.woocommerce form .form-row{display:flex;flex-direction:column;margin:0 0 14px;padding:0}
.woocommerce form .form-row label,.woocommerce-form-row label{margin-bottom:10px;font-size:var(--text-label);line-height:1.75;letter-spacing:var(--track-label);text-transform:uppercase;color:var(--ink-mute)}
.woocommerce form .form-row .required{border:0;color:var(--gold-deep);text-decoration:none}
.woocommerce form .form-row .optional{letter-spacing:.06em;text-transform:none}
.woocommerce form .form-row label.checkbox,.woocommerce form .form-row label.woocommerce-form__label-for-checkbox,.woocommerce form label.woocommerce-form__label-for-checkbox{display:flex;align-items:center;gap:10px;margin:0;font-size:.84rem;letter-spacing:.012em;text-transform:none;color:var(--ink-soft);cursor:pointer}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce .woocommerce-input-wrapper input:not([type=checkbox]):not([type=radio]){width:100%;margin:0;padding:14px 16px;font-family:var(--sans);font-size:.94rem;font-weight:300;line-height:normal;color:var(--ink);background-color:var(--cream);border:1px solid var(--hair-soft);border-radius:var(--radius-sm);outline:none;-webkit-appearance:none;appearance:none;transition:border-color .35s var(--ease),background-color .35s var(--ease)}
.woocommerce input.input-text:focus,.woocommerce textarea:focus,.woocommerce select:focus{border-color:var(--gold);background-color:var(--ivory)}
.woocommerce textarea{min-height:110px;resize:vertical;line-height:1.5}
.woocommerce select{padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B08C4F' stroke-width='1.2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:11px}
.woocommerce input[type=checkbox],.woocommerce input[type=radio]{width:16px;height:16px;margin:0;flex:none;accent-color:#B08C4F}
.woocommerce .woocommerce-invalid input.input-text,.woocommerce .woocommerce-invalid select{border-color:var(--gold-deep);border-width:1.5px}
.woocommerce form .woocommerce-input-wrapper{display:block}
.woocommerce .password-input{position:relative;display:block}
.woocommerce .show-password-input{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:40px;height:40px;padding:0;border:0;cursor:pointer;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2397753C' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-6 10-6 10 6 10 6-3.6 6-10 6S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E") center/20px no-repeat}
.woocommerce .show-password-input.display-password{opacity:.5}
.woocommerce .password-input input{padding-right:48px}
@media (pointer:coarse){.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{font-size:16px}}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px}
.woocommerce-billing-fields__field-wrapper>*,.woocommerce-shipping-fields__field-wrapper>*,.woocommerce-address-fields__field-wrapper>*{grid-column:1/-1}
.woocommerce form .form-row-first{grid-column:1}
.woocommerce form .form-row-last{grid-column:2}
.select2-container--default .select2-selection--single{height:auto;padding:12px 16px;background:var(--cream);border:1px solid var(--hair-soft);border-radius:var(--radius-sm)}
.select2-container--default .select2-selection--single .select2-selection__rendered{padding:0;line-height:1.5;font-size:.94rem;font-weight:300;color:var(--ink)}
.select2-container--default .select2-selection--single .select2-selection__arrow{top:0;right:10px;height:100%}
.select2-dropdown{border-color:var(--hair);border-radius:var(--radius-sm);background:var(--ivory);font-family:var(--sans);font-size:.9rem}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--gold);color:var(--ivory)}
.select2-search--dropdown .select2-search__field{padding:8px;border:1px solid var(--hair-soft)}

/* WooCommerce buttons in the Button style */
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:17px 34px;font-family:var(--sans);font-size:var(--text-btn);font-weight:400;line-height:1.75;letter-spacing:var(--track-btn);text-transform:uppercase;text-align:center;border:1px solid var(--gold);border-radius:var(--radius-sm);background:transparent;color:var(--ink);cursor:pointer;transition:background .45s var(--ease),color .45s var(--ease)}
/* primary actions: gold, full width (element-qualified to outrank the button.button rule above) */
.woocommerce button.button.alt,.woocommerce #place_order,.woocommerce button.woocommerce-Button[name=save_address],.woocommerce .woocommerce-ResetPassword button.button,.woocommerce #payment #place_order{width:100%;background:var(--gold);color:var(--ivory)}
.woocommerce .button:disabled,.woocommerce .button.disabled{opacity:.45;pointer-events:none}
@media (hover:hover){.woocommerce .button:hover{background:var(--gold);color:var(--ivory)}.woocommerce .button.alt:hover,#place_order:hover{background:var(--gold-deep);border-color:var(--gold-deep)}}

/* ---------- sign in with an emailed code ---------- */
.auth .otp-row form{margin:0}
.auth .otp-row form:only-child{margin:0 auto}
.checkout-signin{margin:0 0 18px}
.woocommerce-privacy-policy-text p{font-size:.74rem;line-height:1.6;color:var(--ink-mute)}
.woocommerce-ResetPassword>p:first-child{font-size:.85rem;line-height:1.7;color:var(--ink-soft)}

/* ---------- account: profile, address book, saved payments ---------- */
.woocommerce-address-fields h2,.woocommerce-MyAccount-content>form>h2,.woocommerce-MyAccount-content>h2{margin:0 0 14px;padding:0;font-family:var(--display);font-weight:300;font-size:1.25rem;color:var(--ink)}
.woocommerce-MyAccount-content>p:first-child{font-size:.84rem;line-height:1.6;color:var(--ink-mute)}
.woocommerce-Addresses{display:flex;flex-direction:column;gap:12px}
.woocommerce-Address{padding:18px;border:1px solid var(--hair-soft);border-radius:var(--radius-card);background:var(--ivory)}
.woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.woocommerce-Address-title h2,.woocommerce-Address-title h3{margin:0;font-family:var(--display);font-weight:300;font-size:1.1rem;color:var(--ink)}
.woocommerce-Address-title a{font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep)}
.woocommerce-Address address{font-style:normal;font-size:.84rem;line-height:1.6;color:var(--ink-soft)}
.shop_table,.woocommerce-MyAccount-paymentMethods{width:100%;border-collapse:collapse;font-size:.84rem}
.shop_table th,.shop_table td{padding:12px 0;border-bottom:1px solid var(--hair-soft);text-align:left;vertical-align:top}
.shop_table th{font-weight:400;color:var(--ink-mute)}
.woocommerce-MyAccount-paymentMethods thead{display:none}
.woocommerce-MyAccount-paymentMethods td{display:block;padding:4px 0;border:0}
.woocommerce-MyAccount-paymentMethods tr{display:block;padding:12px 0;border-bottom:1px solid var(--hair-soft)}
.woocommerce-MyAccount-paymentMethods .button{padding:8px 0;border:0;font-size:.6rem;letter-spacing:.16em;color:var(--gold-deep)}
.woocommerce-MyAccount-content>.button,.woocommerce-MyAccount-content>p>.button{width:100%;margin-top:18px}

/* ---------- checkout ---------- */
.woocommerce-form-coupon-toggle .woocommerce-info{background:none;border-style:dashed}
form.checkout_coupon{margin:0 0 18px;padding:16px;border:1px dashed var(--hair);border-radius:var(--radius-sm)}
form.checkout_coupon p{margin:0 0 10px;font-size:.84rem}
#customer_details h3,#order_review_heading,.woocommerce-additional-fields h3{margin:0 0 12px;font-family:var(--sans);font-weight:300;font-size:.6rem;line-height:1.75;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-mute)}
#ship-to-different-address{margin:12px 0}
#ship-to-different-address label{display:flex;align-items:center;gap:10px;font-family:var(--sans);font-size:.84rem;letter-spacing:.012em;text-transform:none;color:var(--ink-soft)}
.woocommerce-checkout .col2-set>*+*{margin-top:10px}
.woocommerce-checkout-review-order-table{width:100%;margin:0 0 22px;border-collapse:collapse;font-size:.82rem}
.woocommerce-checkout-review-order-table thead{display:none}
.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:13px 0;border-bottom:1px solid var(--hair-soft);text-align:left;font-weight:300;vertical-align:top}
.woocommerce-checkout-review-order-table tbody tr:first-child td{border-top:1px solid var(--hair-soft)}
.woocommerce-checkout-review-order-table .product-name{color:var(--ink-mute)}
.woocommerce-checkout-review-order-table td:last-child{text-align:right;color:var(--ink)}
.woocommerce-checkout-review-order-table tfoot th{color:var(--ink-mute)}
.woocommerce-checkout-review-order-table tfoot::before{content:"";display:block;height:14px}
.woocommerce-checkout-review-order-table tfoot tr:first-child>*{border-top:1px solid var(--hair-soft)}
.woocommerce-checkout-review-order-table .variation{display:block;margin:2px 0 0;font-size:.74rem}
.woocommerce-checkout-review-order-table .variation dt,.woocommerce-checkout-review-order-table .variation dd{display:inline;margin:0}
.woocommerce-checkout-review-order-table .variation dd p{display:inline;margin:0}
#shipping_method{list-style:none;margin:0;padding:0;text-align:right}
#shipping_method li{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 4px}
#shipping_method label{font-size:.82rem;color:var(--ink)}
.wc_payment_methods{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none}
.wc_payment_method{padding:15px 16px;border:1px solid var(--hair-soft);border-radius:var(--radius-sm);transition:border-color .3s var(--ease)}
.wc_payment_method:has(>input:checked){border-color:var(--gold)}
.wc_payment_method>input{width:17px !important;height:17px !important;margin:0 14px 0 0 !important;vertical-align:middle;accent-color:#B08C4F}
.wc_payment_method>label{display:inline;font-size:.95rem;color:var(--ink);cursor:pointer}
.wc_payment_method>label img{display:inline-block;max-height:22px;margin-left:8px;vertical-align:middle}
.payment_box{margin:10px 0 0 31px;font-size:.78rem;line-height:1.6;color:var(--ink-mute)}
.payment_box p{margin:0 0 8px}.payment_box p:last-child{margin:0}
.payment_box fieldset{margin:10px 0 0;padding:0;border:0}
.woocommerce-checkout-payment .place-order{margin:18px 0 0}
.woocommerce-terms-and-conditions-wrapper{margin:0 0 16px;font-size:.76rem;line-height:1.6;color:var(--ink-mute)}
.woocommerce-terms-and-conditions-wrapper p{margin:0 0 8px}
.woocommerce-terms-and-conditions{max-height:200px;overflow:auto;padding:12px;border:1px solid var(--hair-soft)}
#payment .woocommerce-info{margin:0}
/* three steps: Address → Payment → Review. Without JavaScript everything shows on one page. */
.fs-checkout[data-step="1"] #order_review_heading,.fs-checkout[data-step="1"] #order_review{display:none}
.fs-checkout[data-step="2"] #customer_details,.fs-checkout[data-step="2"] #order_review_heading,.fs-checkout[data-step="2"] .woocommerce-checkout-review-order-table,.fs-checkout[data-step="2"] .place-order{display:none}
.fs-checkout[data-step="3"] #customer_details,.fs-checkout[data-step="3"] .wc_payment_methods{display:none}
.fs-checkout:not([data-step="1"]) .woocommerce-form-coupon-toggle,.fs-checkout:not([data-step="1"]) .checkout_coupon,.fs-checkout:not([data-step="1"]) .checkout-signin{display:none}
.fs-checkout[data-step] #order_review_heading{display:none}
.fs-step-nav{display:flex;gap:12px;margin-top:24px}
.fs-step-nav .btn{flex:1}
.fs-step-nav .btn-gold{flex:2}
.fs-checkout[data-step="1"] .fs-step-nav .btn-back{display:none}
.fs-review{margin:0 0 22px}
.fs-review .label:first-child{margin-top:0}

/* order-pay page */
#order_review>.shop_table{margin:0 0 22px}

/* ---------- thank you: gateway instructions (bank transfer details, etc.) ---------- */
.woocommerce-order .confirm>section,.woocommerce-order .confirm>.woocommerce-bacs-bank-details{margin:0 0 24px;text-align:left}
.wc-bacs-bank-details-heading,.wc-bacs-bank-details-account-name{margin:0 0 8px;font-family:var(--display);font-weight:400;font-size:1.05rem;color:var(--ink)}
.wc-bacs-bank-details{margin:0 0 12px;padding:0;list-style:none;font-size:.82rem}
.wc-bacs-bank-details li{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--hair-soft);color:var(--ink-mute)}
.wc-bacs-bank-details li strong{font-weight:400;color:var(--ink)}
.woocommerce-thankyou-order-received{font-size:.85rem;line-height:1.7;color:var(--ink-soft)}

/* ---------- v4: account, addresses, payments, checkout ---------- */
.fs-hidden-row{display:none !important}
.fs-checkout .woocommerce-billing-fields>h3,.fs-checkout .form-row .required{display:none}
.woocommerce form .form-row textarea#billing_address_1{min-height:120px}
.addr-cards{display:flex;flex-direction:column;gap:12px}
.addr-label{font-family:var(--display);color:var(--ink)}
.addr-actions form,.fs-cod-form{margin:0}
.addr-actions .text-btn{padding:6px 0;font-size:.6rem;letter-spacing:.16em}
.addr-label-chips{margin-bottom:16px}
.addr-form[hidden],[data-fs-addr-open-wrap][hidden]{display:none}
.chip.chip-time.is-off{color:var(--ink-mute);cursor:default;text-decoration:line-through;opacity:.55}
.fs-pay[hidden]{display:none}
.fs-pay.is-retry{margin-top:8px;padding-top:24px;border-top:1px solid var(--hair-soft)}
.pay-with-label{margin:24px 0 10px}
.woocommerce-info:has(>.button){display:flex;flex-direction:column-reverse;align-items:flex-start;gap:12px}
.woocommerce-info>.button{float:none;margin:0}
.woocommerce form .form-row.fs-place-row{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}
.fs-place-row>*{flex-basis:100%}
.fs-place-row>.btn-back{flex:0 0 calc((100% - 12px) / 3);min-width:0;margin:0}
.fs-place-row>#place_order{flex:1 1 0;min-width:0;margin:0}
.woocommerce-checkout-review-order-table .order-total strong{font-weight:inherit}
.fs-step-nav:not(:has(>:not([hidden]))){display:none}
.fs-place-row>noscript{display:none}
