/* Teja Mehendi - WooCommerce styles (shop, product, cart, checkout, notices).
   Ported from the static site's css/shop.css onto WooCommerce's classic markup.
   Palette: reuses the theme variables when main.css defines them, with fallbacks. */

:root{
  --w-cream:var(--cream,#fcf5ea);
  --w-paper:var(--paper,#fff9f0);
  --w-blush:var(--blush,#f7e0d3);
  --w-peach:var(--peach,#f3c9b0);
  --w-sage:var(--sage,#dfe5c8);
  --w-henna:var(--henna,#a8412a);
  --w-deep:var(--henna-deep,#8a2f22);
  --w-brown:var(--brown,#5e3326);
  --w-muted:var(--muted,#7a5a4c);
  --w-gold:var(--marigold,#e8a33d);
  --w-line:var(--line,rgba(168,65,42,.28));
  --w-r:var(--r,22px);
  --w-err:#a11d1d;
}

/* ---------- Shared bits ---------- */
.tm-shop :focus-visible,.woocommerce :focus-visible{outline:3px solid var(--w-deep);outline-offset:3px;border-radius:6px}
.inline-link{color:var(--w-deep);text-decoration:underline;text-underline-offset:3px;font-weight:500}
.inline-link:hover{color:var(--w-henna)}
.tag{display:inline-block;font-size:.7rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;padding:4px 11px;border-radius:50px;background:var(--w-paper);color:var(--w-deep);border:1px solid var(--w-line);line-height:1.3}
.tag--powder{background:#f6e7b9;color:#6b4a0c}
.tag--oil{background:#f8d6cf;color:#8a2f22}
.tag--combo,.tag--combos{background:#dfe9cf;color:#3f5a22}
.tag--pack,.tag--packs{background:#e6dcf0;color:#54396f}
.sample{display:inline-block;padding:2px 10px;border-radius:50px;background:#fdecd9;border:1px dashed var(--w-henna);color:var(--w-deep);font-size:.72rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.tm-sample-notice{max-width:820px;margin:0 auto 30px;padding:12px 18px;background:#fdecd9;border:1px dashed var(--w-henna);border-radius:14px;font-size:.92rem;text-align:center;color:var(--w-brown)}
.woocommerce-cart .tm-sample-notice,.woocommerce-checkout .tm-sample-notice{margin-bottom:24px}
.price{color:var(--w-deep);font-weight:500}
.price del{opacity:.6;font-weight:400}
.price ins{text-decoration:none}
.price__from{font-size:.8rem;font-weight:400;color:var(--w-muted);text-transform:uppercase;letter-spacing:.05em}
.bulk-note{text-align:center;margin-top:36px;color:var(--w-brown)}

/* ---------- Buttons ---------- */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 28px;border-radius:50px;
  background:var(--w-henna);color:#fff9f0;font:inherit;font-weight:500;font-size:.95rem;letter-spacing:.03em;line-height:1.2;
  border:1.5px solid var(--w-henna);cursor:pointer;text-decoration:none;transition:background .3s,transform .3s,box-shadow .3s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--w-deep);border-color:var(--w-deep);color:#fff9f0;transform:translateY(-2px);box-shadow:0 10px 24px rgba(168,65,42,.25)}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button.disabled,.woocommerce input.button:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.woocommerce a.added_to_cart{display:inline-block;margin-top:8px;font-size:.85rem}

/* ---------- Shop hero + bar ---------- */
.tm-shop-hero{padding:56px 0 44px;text-align:center;background:radial-gradient(800px 360px at 80% 0,var(--w-blush),transparent 70%),radial-gradient(600px 300px at 0 100%,var(--w-sage),transparent 70%),var(--w-cream);border-bottom:1px solid var(--w-line)}
.tm-shop-hero__eyebrow{margin:0;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--w-henna);font-weight:500}
.tm-shop-hero h1{font-size:clamp(2.2rem,4.6vw,3.4rem);margin:8px 0 10px}
.tm-shop-hero p:last-child{max-width:520px;margin:0 auto;color:var(--w-brown)}
.tm-shop__inner{padding-top:40px;padding-bottom:90px}
.tm-shop--single{background:linear-gradient(180deg,var(--w-blush),var(--w-peach) 160%)}
.tm-shop--single .tm-shop__inner{padding-top:36px}
.tm-shop-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 20px}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.filter{display:inline-flex;align-items:center;min-height:44px;border:1.5px solid var(--w-line);background:var(--w-paper);color:var(--w-deep);font-weight:500;padding:8px 18px;border-radius:50px;transition:.2s;text-decoration:none}
.filter:hover{border-color:var(--w-henna)}
.filter[aria-current="page"]{background:var(--w-henna);color:#fff9f0;border-color:var(--w-henna)}
.shop-count{font-size:.85rem;color:var(--w-muted);margin:0}
.woocommerce-products-header{margin:0}
.woocommerce-products-header .term-description{max-width:640px;margin:0 auto 20px;text-align:center}

/* ---------- Breadcrumbs ---------- */
.crumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:.85rem;color:var(--w-muted);margin-bottom:24px}
.crumbs a{color:var(--w-deep)}
.crumbs a:hover{text-decoration:underline}

/* ---------- Product loop (ul.products) ---------- */
ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:22px;margin:0;padding:0;list-style:none}
ul.products::before,ul.products::after{display:none}
ul.products li.product{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;margin:0;padding:24px;width:auto;float:none;background:var(--w-paper);border:1px solid rgba(168,65,42,.15);border-radius:var(--w-r);transition:.25s}
ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 22px 34px -20px rgba(138,47,34,.45)}
.prod__media{position:relative;width:100%}
.prod__media a{display:block;border:0;padding:0}
.prod__media img,ul.products li.product img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;margin:0 0 14px;border-radius:14px;background:linear-gradient(160deg,#fdf1e3,#f6dfcb)}
.prod__media .tag{position:absolute;top:10px;left:10px;z-index:2;box-shadow:0 2px 8px rgba(90,40,20,.12)}
ul.products li.product .woocommerce-loop-product__title{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:1.3rem;line-height:1.2;margin:2px 0 6px;padding:0}
ul.products li.product .woocommerce-loop-product__title a{color:var(--w-deep);text-decoration:none}
ul.products li.product .woocommerce-loop-product__title a:hover{color:var(--w-henna)}
.prod__desc{margin:0 0 6px;font-size:.92rem;color:var(--w-brown)}
.prod__sell{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--w-henna);margin:0 0 8px;font-weight:500}
.prod__incl{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:0 0 14px;padding:0;list-style:none}
.prod__incl li{font-size:.76rem;background:rgba(232,163,61,.16);border-radius:50px;padding:3px 10px;color:var(--w-brown)}
.prod__incl--left{justify-content:flex-start}
ul.products li.product .price{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:70px;margin:2px 0 14px;font-size:1.1rem}
ul.products li.product .button{margin-top:auto;min-width:150px;padding:10px 22px;font-size:.85rem}

/* ---------- Single product ---------- */
.pdp__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:start;background:var(--w-paper);border-radius:var(--w-r);padding:28px;border:1px solid rgba(168,65,42,.15)}
.woocommerce div.product div.images,.woocommerce-product-gallery{position:relative;margin:0;width:100%}
.woocommerce-product-gallery img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;border-radius:16px;background:linear-gradient(160deg,#fdf1e3,#f6dfcb)}
.woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery__trigger{position:absolute;top:12px;right:12px;z-index:5;width:44px;height:44px;border-radius:50%;background:var(--w-paper);border:1.5px solid var(--w-line);font-size:0;text-indent:-9999px;overflow:hidden}
.woocommerce-product-gallery__trigger::before{content:"+";position:absolute;inset:0;text-indent:0;font-size:1.5rem;line-height:41px;text-align:center;color:var(--w-deep)}
.flex-control-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0;padding:0;list-style:none}
.flex-control-thumbs li{width:64px}
.flex-control-thumbs img{border-radius:10px;opacity:.6;cursor:pointer}
.flex-control-thumbs img.flex-active,.flex-control-thumbs img:hover{opacity:1}
.summary.entry-summary .product_title{font-size:clamp(1.8rem,3vw,2.5rem);margin:8px 0 4px}
.summary .woocommerce-product-details__short-description{color:var(--w-muted);margin:0 0 8px}
.summary .woocommerce-product-details__short-description p{margin:0}
.summary > .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin:14px 0 18px;padding-top:14px;border-top:1px solid var(--w-line);font-size:2rem;font-weight:600}
.summary > .price .sample{font-size:.72rem}
.pdp__h{font-size:1.2rem;margin:22px 0 8px}
.pdp__perks{display:grid;gap:8px;margin:18px 0 12px;padding:0;list-style:none}
.pdp__perks li{position:relative;padding-left:22px;font-size:.95rem;color:var(--w-brown)}
.pdp__perks li::before{content:"";position:absolute;left:0;top:.55em;width:10px;height:10px;background:var(--w-gold);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.woocommerce-tabs{margin-top:40px;padding:24px 28px;background:var(--w-paper);border:1px solid rgba(168,65,42,.15);border-radius:var(--w-r)}
.woocommerce-tabs ul.tabs{display:none}
.woocommerce-tabs .panel{margin:0}
.related.products,.upsells.products{margin-top:48px}
.related.products > h2,.upsells.products > h2{font-size:1.5rem;margin-bottom:16px}

/* form.cart: quantity + add to cart */
form.cart{margin:22px 0}
form.cart:not(.variations_form),.woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.woocommerce-variation-add-to-cart{margin-top:14px}
.quantity{display:inline-flex}
.quantity input.qty,.woocommerce input.qty{width:84px;min-height:46px;padding:8px 10px;border:1.5px solid var(--w-henna);border-radius:50px;background:var(--w-paper);color:var(--w-brown);font:inherit;font-weight:500;text-align:center}
form.cart .single_add_to_cart_button{flex:1 1 150px;max-width:260px}
.woocommerce-variation-price{margin:10px 0 0;font-size:1.3rem;font-weight:600;color:var(--w-deep)}
.woocommerce-variation-description p,.woocommerce-variation-availability p{margin:6px 0;font-size:.9rem}
.stock.out-of-stock{color:var(--w-err);font-weight:500}

/* variations table + enhanced size chips (see assets/js/variations.js) */
table.variations{width:100%;border:0;border-collapse:collapse;margin:0}
table.variations th,table.variations td{display:block;padding:0;border:0;text-align:left}
table.variations th.label{margin:0 0 8px}
table.variations label{font-weight:500;color:var(--w-deep)}
table.variations select{min-height:48px;padding:10px 14px;border:1.5px solid #8a5a4a;border-radius:12px;background:#fff;color:var(--w-brown);font:inherit;max-width:100%}
a.reset_variations{display:inline-block;margin-top:8px;font-size:.85rem;color:var(--w-deep);text-decoration:underline;text-underline-offset:3px}
.tm-sizes-on select{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tm-sizes-on th.label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}
.sizes{border:0;padding:0;margin:0;min-width:0}
.sizes legend{font-size:.95rem;color:var(--w-brown);margin:0 0 10px;padding:0}
.sizes legend b{color:var(--w-deep)}
.sizes__row{display:flex;flex-wrap:wrap;gap:8px}
.size{position:relative;cursor:pointer;border:1.5px solid var(--w-line);border-radius:12px;padding:10px 16px;min-width:92px;background:var(--w-paper);transition:.2s;display:block;text-align:center}
.size input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.size__l,.size__p{display:block;text-align:center}
.size__l{font-weight:600;color:var(--w-deep);font-size:1.05rem;line-height:1.2}
.size__p{font-size:.85rem;color:var(--w-muted);margin-top:1px}
.size:hover{border-color:var(--w-henna)}
.size.is-checked{background:var(--w-henna);border-color:var(--w-henna)}
.size.is-checked .size__l,.size.is-checked .size__p{color:#fff9f0}
.size.is-disabled{opacity:.5;cursor:not-allowed;text-decoration:line-through}
.size.is-disabled input{cursor:not-allowed}
.size.is-focus{outline:3px solid var(--w-deep);outline-offset:2px}

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper{margin:0}
.woocommerce-message,.woocommerce-info,.woocommerce-error{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;list-style:none;margin:0 0 22px;padding:14px 18px;border-radius:14px;border:1.5px solid var(--w-henna);background:#fdecd9;color:var(--w-brown);font-size:.95rem}
.woocommerce-message .button,.woocommerce-info .button{order:2;margin-left:auto;min-height:40px;padding:8px 20px}
.woocommerce-error{display:block;border-color:var(--w-err);background:#fff6f4}
.woocommerce-error li{margin:4px 0;color:var(--w-err);font-weight:500}
.woocommerce-store-notice,p.demo_store{position:fixed;left:0;right:0;bottom:0;z-index:99;margin:0;padding:12px 18px;text-align:center;background:#fdecd9;border-top:1px dashed var(--w-henna);color:var(--w-brown)}
.woocommerce-store-notice__dismiss-link{display:inline-block;margin-left:8px;padding:4px 6px;color:var(--w-deep);font-weight:600;text-decoration:underline}
/* Keep page content reachable while the fixed store notice is showing (:has() = modern browsers; harmless elsewhere). */
body:has(.woocommerce-store-notice:not([style*="display: none"]):not([style*="display:none"])),body:has(p.demo_store:not([style*="display: none"]):not([style*="display:none"])){padding-bottom:64px}
@media(max-width:600px){
  .woocommerce-store-notice,p.demo_store{padding:6px 12px;font-size:.78rem;line-height:1.3}
  .woocommerce-store-notice__dismiss-link{margin-left:6px;padding:6px 8px}
  body:has(.woocommerce-store-notice:not([style*="display: none"]):not([style*="display:none"])),body:has(p.demo_store:not([style*="display: none"]):not([style*="display:none"])){padding-bottom:84px}
}
/* Inline field errors (checkout.js / WC inline validation): red, readable on the blush field background. */
.woocommerce form .form-row .checkout-inline-error-message,.woocommerce form .form-row span.woocommerce-error,.woocommerce form .form-row .woocommerce-error.inline{display:block;margin:6px 0 0;padding:0;border:0;border-radius:0;background:none;color:var(--w-err);font-size:.875rem;font-weight:500;line-height:1.4}
/* Shipping fields stay unflagged while "ship to a different address" is off (they are hidden and not validated). */
.woocommerce-shipping-fields:has(#ship-to-different-address-checkbox:not(:checked)) .woocommerce-invalid input.input-text,.woocommerce-shipping-fields:has(#ship-to-different-address-checkbox:not(:checked)) .woocommerce-invalid select{border-color:#8a5a4a;background:#fff}
.woocommerce-shipping-fields:has(#ship-to-different-address-checkbox:not(:checked)) .checkout-inline-error-message{display:none}

/* ---------- Forms (checkout, cart coupon, account) ---------- */
.woocommerce form .form-row{margin:0 0 18px;padding:0}
.woocommerce form .form-row label{display:block;font-size:.9rem;font-weight:500;color:var(--w-deep);margin-bottom:6px}
.woocommerce form .form-row .optional{font-weight:400;color:var(--w-muted)}
abbr.required{color:var(--w-err);text-decoration:none;border:0}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce-cart .coupon input.input-text{width:100%;min-height:48px;padding:11px 14px;border:1.5px solid #8a5a4a;border-radius:12px;background:#fff;color:var(--w-brown);font:inherit;font-size:1rem}
.woocommerce form .form-row textarea{min-height:90px;resize:vertical}
.woocommerce form .form-row input:focus-visible,.woocommerce form .form-row select:focus-visible,.woocommerce form .form-row textarea:focus-visible{outline:3px solid var(--w-deep);outline-offset:2px}
.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:var(--w-err);background:#fff6f4}
.woocommerce form .form-row input[type=checkbox],.woocommerce form .form-row input[type=radio]{width:18px;height:18px;accent-color:var(--w-henna);vertical-align:middle;margin-right:8px}
.woocommerce form .form-row label.checkbox{display:flex;align-items:flex-start;gap:8px;font-weight:400;color:var(--w-brown)}
.woocommerce form .form-row .woocommerce-input-wrapper{display:block}
/* select2 (country/state) */
.select2-container .select2-selection--single{height:48px;border:1.5px solid #8a5a4a;border-radius:12px}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:45px;padding-left:14px;color:var(--w-brown)}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}
.select2-dropdown{border:1.5px solid #8a5a4a;border-radius:12px;overflow:hidden}
.select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--w-henna)}

/* ---------- Tables (cart, order review, order received) ---------- */
table.shop_table{width:100%;border-collapse:collapse;margin:0 0 24px;background:var(--w-paper);border:1px solid var(--w-line);border-radius:var(--w-r);overflow:hidden}
table.shop_table th,table.shop_table td{padding:14px 16px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--w-line)}
table.shop_table thead th{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--w-muted);font-weight:500;background:var(--w-cream)}
table.shop_table tr:last-child > *{border-bottom:0}
table.shop_table td.product-thumbnail{width:84px}
table.shop_table td.product-thumbnail img{width:72px;height:72px;object-fit:contain;border-radius:12px;background:linear-gradient(160deg,#fdf1e3,#f6dfcb)}
table.shop_table td.product-name a{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:1.2rem;color:var(--w-deep);text-decoration:none}
table.shop_table td.product-name dl.variation{margin:4px 0 0;font-size:.85rem;color:var(--w-muted)}
table.shop_table td.product-name dl.variation dt,table.shop_table td.product-name dl.variation dd{display:inline;margin:0}
table.shop_table td.product-name dl.variation p{display:inline;margin:0}
table.shop_table td.product-subtotal,table.shop_table td.product-total{font-weight:500;color:var(--w-deep)}
table.shop_table td.product-remove{width:48px;text-align:center}
a.remove{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--w-line);color:var(--w-deep);font-size:1.5rem;line-height:1;text-decoration:none}
a.remove:hover{background:var(--w-blush);color:var(--w-deep)}
table.shop_table td.actions{background:var(--w-cream)}
table.shop_table td.actions .coupon{display:flex;flex-wrap:wrap;gap:10px;float:left}
table.shop_table td.actions .coupon input.input-text{width:200px}
table.shop_table td.actions > .button{float:right}
table.shop_table td.actions::after{content:"";display:table;clear:both}

/* ---------- Cart totals ---------- */
.cart-collaterals{display:flex;justify-content:flex-end}
.cart_totals{width:min(440px,100%);background:var(--w-cream);border:1px solid var(--w-line);border-radius:var(--w-r);padding:26px}
.cart_totals h2{font-size:1.6rem;margin-bottom:14px}
.cart_totals table.shop_table{background:transparent;border:0;border-radius:0;margin-bottom:14px}
.cart_totals table.shop_table th,.cart_totals table.shop_table td{padding:10px 0}
.cart_totals tr.order-total th,.cart_totals tr.order-total td{font-size:1.15rem;font-weight:600;color:var(--w-deep)}
.wc-proceed-to-checkout a.checkout-button{display:flex;width:100%;font-size:1rem}
.cart-empty{text-align:center;padding:30px 0}
.return-to-shop{text-align:center}

/* ---------- Checkout (classic shortcode) ---------- */
form.woocommerce-checkout{display:grid;grid-template-columns:1.4fr 1fr;gap:0 34px;align-items:start;grid-template-rows:auto auto auto 1fr}
/* Row 1 is reserved for the error summary checkout.js prepends inside the form (zero height when empty). */
form.woocommerce-checkout > .woocommerce-NoticesWrapper,form.woocommerce-checkout > .woocommerce-NoticeGroup,form.woocommerce-checkout > .woocommerce-error,form.woocommerce-checkout > .woocommerce-message{grid-column:1/-1;grid-row:1}
form.woocommerce-checkout > .woocommerce-NoticesWrapper > .woocommerce-error,form.woocommerce-checkout > .woocommerce-NoticeGroup > .woocommerce-error{margin-bottom:22px}
form.woocommerce-checkout #customer_details{grid-column:1;grid-row:2/span 3}
form.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:2;font-size:1.6rem;margin:0 0 14px}
form.woocommerce-checkout #order_review{grid-column:2;grid-row:3;background:var(--w-cream);border:1px solid var(--w-line);border-radius:var(--w-r);padding:26px}
form.woocommerce-checkout .col2-set .col-1,form.woocommerce-checkout .col2-set .col-2{float:none;width:100%}
.woocommerce-billing-fields h3,.woocommerce-shipping-fields h3,.woocommerce-additional-fields h3{font-size:1.5rem;margin:0 0 14px}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-additional-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.woocommerce form .form-row-wide,.woocommerce form .form-row.notes{grid-column:1/-1}
#order_review table.shop_table{background:transparent;border:0;border-radius:0}
#order_review table.shop_table th,#order_review table.shop_table td{padding:10px 0}
#order_review tr.order-total th,#order_review tr.order-total td{font-size:1.15rem;font-weight:600;color:var(--w-deep)}
#payment{background:transparent}
#payment ul.payment_methods{list-style:none;margin:0 0 16px;padding:0}
#payment ul.payment_methods li{margin:0 0 10px;padding:12px 14px;background:var(--w-paper);border:1.5px solid var(--w-line);border-radius:12px}
#payment ul.payment_methods li label{display:inline;font-weight:500;color:var(--w-deep);cursor:pointer}
#payment ul.payment_methods li img{max-height:24px;width:auto;margin-left:8px;vertical-align:middle}
#payment div.payment_box{margin:10px 0 0;font-size:.9rem;color:var(--w-brown)}
#payment div.payment_box p{margin:0}
#payment .place-order{padding:0}
#payment #place_order{display:flex;width:100%;float:none;font-size:1rem}
.woocommerce-privacy-policy-text{font-size:.82rem;color:var(--w-muted);margin-bottom:12px}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info{margin-bottom:16px}
form.checkout_coupon,form.woocommerce-form-login{padding:22px;background:var(--w-paper);border:1px solid var(--w-line);border-radius:var(--w-r);margin-bottom:22px}
.woocommerce-order-overview{display:flex;flex-wrap:wrap;gap:12px 28px;list-style:none;padding:18px 22px;margin:0 0 26px;background:#fdecd9;border:1px dashed var(--w-henna);border-radius:14px}
.woocommerce-order-overview li{font-size:.85rem;color:var(--w-muted)}
.woocommerce-order-overview li strong{display:block;font-size:1rem;color:var(--w-deep)}
.woocommerce-checkout .woocommerce,.woocommerce-cart .woocommerce{max-width:1100px;margin-inline:auto}

/* ---------- Responsive ---------- */
@media(max-width:980px){
  form.woocommerce-checkout{grid-template-columns:1fr}
  form.woocommerce-checkout #customer_details,form.woocommerce-checkout #order_review_heading,form.woocommerce-checkout #order_review{grid-column:1;grid-row:auto}
  form.woocommerce-checkout > .woocommerce-NoticesWrapper,form.woocommerce-checkout > .woocommerce-NoticeGroup,form.woocommerce-checkout > .woocommerce-error,form.woocommerce-checkout > .woocommerce-message{grid-row:auto}
  form.woocommerce-checkout #order_review_heading{margin-top:24px}
}
@media(max-width:860px){
  .pdp__grid{grid-template-columns:1fr;gap:24px;padding:18px}
  .woocommerce-tabs{padding:18px}
}
@media(max-width:768px){
  table.shop_table_responsive thead{display:none}
  table.shop_table_responsive tr{display:block;border-bottom:1px solid var(--w-line)}
  table.shop_table_responsive tr:last-child{border-bottom:0}
  table.shop_table_responsive td,table.shop_table_responsive th{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:right;border-bottom:0;padding:10px 16px}
  table.shop_table_responsive td::before{content:attr(data-title);font-weight:500;color:var(--w-muted);text-align:left}
  table.shop_table_responsive td.product-remove::before,table.shop_table_responsive td.product-thumbnail::before,table.shop_table_responsive td.actions::before{display:none}
  table.shop_table_responsive td.product-remove,table.shop_table_responsive td.product-thumbnail{width:auto}
  table.shop_table_responsive td.actions{display:block;text-align:left}
  table.shop_table td.actions .coupon{float:none;margin-bottom:12px}
  table.shop_table td.actions .coupon input.input-text{width:100%;flex:1 1 160px}
  table.shop_table td.actions > .button{float:none;width:100%}
  .cart-collaterals{justify-content:stretch}
}
/* pagination */
.woocommerce-pagination{margin-top:32px;text-align:center}
.woocommerce-pagination ul.page-numbers{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;margin:0;padding:0;border:0}
.woocommerce-pagination .page-numbers li{margin:0;padding:0;border:0}
.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 14px;border:1.5px solid var(--w-line);border-radius:50px;background:var(--w-paper);color:var(--w-deep);font-weight:500;text-decoration:none}
.woocommerce-pagination a.page-numbers:hover{border-color:var(--w-henna)}
.woocommerce-pagination span.page-numbers.current{background:var(--w-henna);border-color:var(--w-henna);color:#fff9f0}
@media(max-width:600px){
  .woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-additional-fields__field-wrapper{grid-template-columns:1fr}
  ul.products{grid-template-columns:1fr 1fr;gap:14px}
  ul.products li.product{padding:14px}
  .tm-shop-hero{padding:40px 0 30px}
}
@media(max-width:420px){ul.products{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){ul.products li.product,.size,.woocommerce .button{transition:none}ul.products li.product:hover{transform:none}}

/* ---------- Cart: shipping row + calculator (v1.0.4) ---------- */
.woocommerce-cart .cart_totals table.shop_table,.woocommerce-cart .cart_totals table.shop_table tbody{display:block;width:100%}
.woocommerce-cart .cart_totals table.shop_table tr{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;border-bottom:1px solid var(--w-line)}
.woocommerce-cart .cart_totals table.shop_table tr:last-child{border-bottom:0}
.woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td{display:block;border:0;padding:10px 0}
.woocommerce-cart .cart_totals table.shop_table td{text-align:right}
.woocommerce-cart .cart_totals table.shop_table td::before{display:none}
.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals{display:block;padding:12px 0}
.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals th,.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals td{padding:0;text-align:left}
.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals th{margin-bottom:6px}
.woocommerce-cart .woocommerce-shipping-methods{list-style:none;margin:0 0 6px;padding:0}
.woocommerce-cart .woocommerce-shipping-methods li{margin:0 0 6px;display:flex;align-items:center;gap:8px}
.woocommerce-cart .woocommerce-shipping-methods input[type=radio]{accent-color:var(--w-henna);width:18px;height:18px;margin:0}
.woocommerce-cart .woocommerce-shipping-destination,.woocommerce-cart .woocommerce-shipping-totals td > p{margin:0 0 6px;font-size:.92rem;color:var(--w-muted)}
.woocommerce-cart .shipping-calculator-button{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--w-deep);font-weight:500;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.woocommerce-cart .shipping-calculator-button::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.woocommerce-cart .shipping-calculator-button[aria-expanded="true"]::after{transform:translateY(2px) rotate(-135deg)}
.woocommerce-cart .shipping-calculator-button:hover{color:var(--w-henna);text-decoration-thickness:2px}
.woocommerce-cart .shipping-calculator-button:focus-visible{outline:3px solid var(--w-deep);outline-offset:3px;border-radius:6px}
.woocommerce-cart .shipping-calculator-form{margin-top:8px;padding:16px;background:var(--w-paper);border:1px solid var(--w-line);border-radius:14px}
.woocommerce-cart .shipping-calculator-form .form-row{margin:0 0 14px}
.woocommerce-cart .shipping-calculator-form select,.woocommerce-cart .shipping-calculator-form input.input-text{width:100%;max-width:100%;box-sizing:border-box}
.woocommerce-cart .shipping-calculator-form .select2-container{width:100%!important} /* select2 writes an inline pixel width */
.woocommerce-cart .shipping-calculator-form p:last-of-type{margin:0}
.woocommerce-cart .shipping-calculator-form .button{width:100%}
@media(prefers-reduced-motion:reduce){.woocommerce-cart .shipping-calculator-button::after{transition:none}}

/* Cart: free-delivery notice. .woocommerce-info is a flex row with a gap, which split the sentence around the price into separate flex items; make it normal inline flow. */
.woocommerce-cart .tm-free-delivery{display:block;line-height:1.5}
.woocommerce-cart .tm-free-delivery .woocommerce-Price-amount,.woocommerce-cart .tm-free-delivery .woocommerce-Price-currencySymbol{display:inline;margin:0;padding:0}

/* ---------- Home product cards: Add to cart + View link ---------- */
.prod .prod__actions{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:10px;width:100%}
.prod .prod__actions .btn{min-width:150px;justify-content:center;text-align:center;padding:10px 22px;font-size:.85rem}
.prod .prod__actions .add_to_cart_button.loading{opacity:.6;pointer-events:none}
.prod .prod__actions .added_to_cart{color:var(--w-deep);font-size:.88rem;font-weight:500;text-decoration:underline;text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center}
.prod .prod__actions .added_to_cart:focus-visible,.prod .prod__actions .btn:focus-visible{outline:3px solid var(--w-deep);outline-offset:3px;border-radius:6px}

/* ---------- Checkout: logo loader while the order is being placed ---------- */
.woocommerce #place_order.is-placing,.woocommerce #place_order.is-placing:disabled{opacity:1;cursor:progress;pointer-events:none;transform:none}
form.woocommerce-checkout.processing{cursor:progress}
form.woocommerce-checkout .blockUI.blockOverlay{opacity:0!important}
.tm-loader{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(252,245,234,.94);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s linear .25s}
.tm-loader.is-on{opacity:1;visibility:visible;transition:opacity .25s}
.tm-loader__box{text-align:center;max-width:320px}
.tm-loader__logo{position:relative;width:132px;height:132px;margin:0 auto 22px;border-radius:50%;background:#fff4e0 url("../img/logo-loader.webp") center/cover no-repeat;box-shadow:0 10px 30px rgba(168,65,42,.18);animation:tm-breathe 2.2s ease-in-out infinite}
.tm-loader__logo::before{content:"";position:absolute;inset:-9px;border-radius:50%;border:3px solid rgba(168,65,42,.15);border-top-color:var(--w-henna,#a8412a);border-right-color:var(--w-henna,#a8412a);animation:tm-spin 1.1s linear infinite}
.tm-loader__text{margin:0 0 6px;font-family:var(--serif,Georgia,serif);font-weight:600;font-size:1.5rem;color:var(--w-deep,#8a2f22)}
.tm-loader__sub{margin:0;font-size:.92rem;color:var(--w-muted,#6b5a4e)}
@keyframes tm-spin{to{transform:rotate(360deg)}}
@keyframes tm-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@media (prefers-reduced-motion:reduce){.tm-loader__logo{animation:none}.tm-loader__logo::before{animation-duration:3s}}
