/* ===== Tokens ===== */
:root{--brand:#c8102e;--brand-dark:#7a0b1f;--ink:#18212b;--muted:#64748b;--line:#e5e7eb;--page:#f5f6f7;--card:#fff;--soft:#fff1f2;--radius:8px;--max:1440px;--shadow-xs:0 1px 2px rgba(15,23,42,.05);--shadow-md:0 10px 24px rgba(15,23,42,.10)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--page);font-family:"Manrope",sans-serif;font-size:15px;line-height:1.5}
button,input,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
[hidden]{display:none!important}
.w-full{width:100%}
.muted-text{color:var(--muted);font-size:14px}
.site-main,.shop-page{min-height:60vh}
.header-container,.main-content-wrap,.footer-container,.shop-container{width:min(calc(100% - 48px),var(--max));margin:0 auto}
i[data-lucide],svg.lucide{display:inline-block;flex-shrink:0}

/* ===== Buttons ===== */
.btn-primary,.btn-light,.btn-dark,.btn-outline,.btn-glass,.btn-outline-sm,.search-submit-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:6px;font-weight:700;font-size:14px;cursor:pointer;border:1px solid transparent;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s}
.btn-primary,.search-submit-btn{color:#fff;background:var(--brand);border-color:var(--brand)}
.btn-primary:hover,.search-submit-btn:hover{background:var(--brand-dark);border-color:var(--brand-dark);box-shadow:0 6px 16px rgba(122,11,31,.18)}
.btn-light{color:var(--ink);background:#f1f3f5}
.btn-light:hover{background:#fff}
.btn-dark{color:#fff;background:var(--brand-dark)}
.btn-dark:hover{background:#5d0817}
.btn-outline{color:var(--ink);background:#fff;border-color:var(--line)}
.btn-outline:hover{border-color:var(--brand);color:var(--brand)}
.btn-glass{color:#fff;background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.36);backdrop-filter:blur(6px)}
.btn-glass:hover{background:rgba(255,255,255,.20)}
.btn-outline-sm{min-height:34px;padding:0 12px;font-size:12px;color:#fff;border-color:rgba(255,255,255,.35);background:transparent}
.btn-outline-sm:hover{background:rgba(255,255,255,.14)}
.search-submit-btn{align-self:stretch;min-height:44px;border-radius:0 7px 7px 0}
.btn-primary i,.btn-light i,.btn-outline i,.btn-dark i{width:16px;height:16px}

/* ===== Header ===== */
.sanitayaki-header{position:sticky;top:0;z-index:90;border-bottom:1px solid rgba(226,232,240,.7);background:rgba(255,255,255,.82);backdrop-filter:blur(16px)}
.header-top-row{display:flex;align-items:center;gap:28px;min-height:82px}
.brand-logo{display:inline-flex;align-items:center;flex-shrink:0}
.brand-mark{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 18px;border-radius:8px;color:#fff;background:var(--brand);font-family:"Sora",sans-serif;font-size:17px;font-weight:800;letter-spacing:.06em;white-space:nowrap;line-height:1}
.brand-logo img.custom-logo{width:auto;max-width:220px;max-height:46px;object-fit:contain}
.header-search-form{flex:1;max-width:680px;margin:0 auto}
.search-input-wrapper{display:flex;align-items:center;gap:10px;min-height:46px;padding-left:15px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;transition:border-color .2s,box-shadow .2s}
.search-input-wrapper:focus-within{border-color:rgba(200,16,46,.45);box-shadow:0 0 0 3px rgba(200,16,46,.10)}
.search-icon{width:18px;height:18px;color:var(--muted)}
.search-field{min-width:0;flex:1;border:0;outline:0;color:var(--ink);background:transparent}
.search-field::placeholder{color:#94a3b8}
.header-actions{display:flex;align-items:center;gap:4px}
.header-action-btn,.nav-tab{position:relative;display:inline-flex;align-items:center;gap:7px;padding:9px;border:0;border-radius:6px;color:#475569;background:transparent;cursor:pointer;transition:color .2s,background .2s}
.header-action-btn:hover,.nav-tab:hover{color:var(--brand);background:var(--soft)}
.header-action-btn i,.header-action-btn svg{width:19px;height:19px}
.action-label{font-size:12px;font-weight:700}
.badge-count{position:absolute;top:2px;right:1px;display:grid;width:16px;height:16px;place-items:center;border-radius:50%;color:#fff;background:var(--brand);font-size:9px;font-weight:800}
.badge-count.is-empty{display:none}
.category-ribbon{display:flex;align-items:center;gap:7px;min-height:48px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.category-ribbon::-webkit-scrollbar,.products-rail::-webkit-scrollbar{display:none}
.cat-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:6px;color:#475569;font-size:13px;font-weight:700;transition:background .2s,color .2s}
.cat-pill:hover{color:var(--brand);background:var(--soft)}
.cat-pill i,.cat-pill svg{width:16px;height:16px}
.cat-pill-active,.cat-pill-active:hover{color:#fff;background:var(--brand)}

/* ===== Homepage ===== */
.hero-section{position:relative;overflow:hidden;color:#fff;margin:24px auto 0;width:min(calc(100% - 48px),var(--max));border-radius:var(--radius);background-position:center 38%;background-size:cover;background-repeat:no-repeat}
.hero-container{display:flex;align-items:center;min-height:520px;padding:0 56px}
.hero-content{max-width:660px;padding:64px 0}
.hero-eyebrow{display:inline-block;margin-bottom:18px;padding:6px 12px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.10);backdrop-filter:blur(6px);font-size:11px;font-weight:800;letter-spacing:.5px}
.section-eyebrow{display:block;margin-bottom:10px;color:var(--brand);font-size:11px;font-weight:800;letter-spacing:1.4px}
.hero-title,.section-title,.spotlight-title,.special-offers-banner h2,.shop-title-row h1,.pd-title,.page-title{margin:0;font-family:"Sora",sans-serif;font-weight:800;letter-spacing:-1.2px}
.hero-title{max-width:650px;font-size:clamp(40px,5vw,68px);line-height:1.08}
.hero-subtitle{max-width:580px;margin:20px 0 28px;color:rgba(255,255,255,.88);font-size:17px;line-height:1.75}
.hero-buttons{display:flex;flex-wrap:wrap;gap:12px}
.home-section{padding:44px 0 0}
.section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.section-title{font-size:clamp(24px,2.5vw,32px)}
.section-link{color:var(--brand);font-size:14px;font-weight:800}
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.category-card{display:flex;flex-direction:column;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.78);backdrop-filter:blur(16px);box-shadow:var(--shadow-xs);transition:border-color .2s,box-shadow .2s,transform .2s}
.category-card:hover{border-color:rgba(200,16,46,.30);box-shadow:var(--shadow-md)}
.category-card:hover .cat-card-name{color:var(--brand)}
.cat-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:8px;color:var(--brand);background:#fde8ea}
.cat-icon i,.cat-icon svg{width:22px;height:22px}
.cat-card-name{margin-top:18px;font-size:14px;font-weight:800;transition:color .2s}
.cat-card-desc{margin-top:3px;color:var(--muted);font-size:12px}
.cosmetics-spotlight{display:grid;grid-template-columns:1fr 1fr;min-height:440px;margin-top:44px;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow-xs)}
.spotlight-content{display:flex;flex-direction:column;justify-content:center;padding:50px}
.spotlight-title{font-size:clamp(28px,3vw,42px);line-height:1.12}
.spotlight-desc{max-width:520px;margin:16px 0 24px;color:var(--muted);line-height:1.7}
.spotlight-row{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:10px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--page)}
.spotlight-row strong{display:block;font-size:14px}
.spotlight-row p{margin:2px 0 0;color:var(--muted);font-size:12px}
.spotlight-row .btn-outline-sm{color:var(--ink);border-color:var(--line);background:#fff}
.spotlight-row .btn-outline-sm:hover{border-color:var(--brand);color:var(--brand)}
.spotlight-visual{min-height:340px;background-color:#fffaf0;background-position:center;background-size:contain;background-repeat:no-repeat}

/* ===== Product cards & rails ===== */
.products-rail{display:flex;gap:14px;overflow-x:auto;padding:2px 1px 10px;scroll-behavior:smooth;scrollbar-width:none}
.sanitayaki-product-card{position:relative;display:flex;width:260px;min-width:260px;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow-xs);transition:box-shadow .2s}
.sanitayaki-product-card:hover{box-shadow:var(--shadow-md)}
.product-card-thumb{position:relative;aspect-ratio:1/1;overflow:hidden;background:#eef1f4}
.product-card-thumb>a,.product-card-thumb img{display:block;width:100%;height:100%}
.product-card-thumb img{object-fit:cover;transition:transform .3s}
.sanitayaki-product-card:hover .product-card-thumb img{transform:scale(1.03)}
.product-badge{position:absolute;top:10px;left:10px;padding:5px 7px;border-radius:4px;color:#fff;background:var(--brand);font-size:10px;font-weight:800}
.wishlist-btn{cursor:pointer}
.product-card-thumb .wishlist-btn{position:absolute;top:9px;right:9px;display:grid;width:34px;height:34px;place-items:center;padding:0;border:0;border-radius:50%;color:#475569;background:rgba(255,255,255,.92);transition:color .2s}
.product-card-thumb .wishlist-btn:hover,.wishlist-btn.is-favorite{color:var(--brand)}
.product-card-thumb .wishlist-btn i,.product-card-thumb .wishlist-btn svg{width:17px;height:17px}
.wishlist-btn.is-favorite svg{fill:currentColor}
.product-card-body{display:flex;flex:1;flex-direction:column;padding:14px}
.product-card-category{display:block;margin-bottom:6px;color:#8b95a3;font-size:11px;font-weight:800;text-transform:uppercase}
.product-card-title{display:-webkit-box;min-height:43px;overflow:hidden;font-size:14px;font-weight:800;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.product-card-title:hover{color:var(--brand)}
.product-card-price{min-height:28px;margin:10px 0 12px;font-family:"Sora",sans-serif;font-size:15px;font-weight:800}
.product-card-price del{margin-right:6px;color:#94a3b8;font-size:12px;font-weight:500}
.product-card-price ins,.pd-price ins{color:var(--brand);text-decoration:none}
.price-missing{color:var(--muted);font-family:"Manrope",sans-serif;font-size:13px;font-weight:600}
.btn-add-cart{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;margin-top:auto;border:1px solid var(--brand);border-radius:6px;color:#fff;background:var(--brand);font-size:13px;font-weight:800;transition:background .2s}
.btn-add-cart:hover{background:var(--brand-dark)}
.btn-add-cart i,.btn-add-cart svg{width:15px;height:15px}
.btn-add-cart.loading{opacity:.6;pointer-events:none}
.added_to_cart{display:none}
.rail-controls{display:flex;gap:7px}
.rail-prev,.rail-next{display:grid;width:36px;height:36px;place-items:center;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:#fff;cursor:pointer;transition:border-color .2s,color .2s}
.rail-prev:hover,.rail-next:hover{border-color:var(--brand);color:var(--brand)}
.rail-prev i,.rail-next i,.rail-prev svg,.rail-next svg{width:18px;height:18px}

.special-offers-banner{position:relative;display:flex;align-items:center;min-height:340px;margin-top:44px;overflow:hidden;border-radius:var(--radius);color:#fff;background:linear-gradient(90deg,rgba(24,33,43,.94) 0%,rgba(24,33,43,.78) 50%,rgba(24,33,43,.25) 100%),url("../img/collection.jpg") center/cover no-repeat}
.offer-content{max-width:620px;padding:52px}
.special-offers-banner .section-eyebrow{color:#f5b64a}
.special-offers-banner h2{font-size:clamp(28px,3.6vw,44px);line-height:1.12}
.special-offers-banner p{max-width:500px;margin:14px 0 24px;color:rgba(255,255,255,.78)}

/* ===== Footer ===== */
.sanitayaki-footer{margin-top:50px;border-top:1px solid var(--line);background:#fff}
.trust-band{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:34px 0 22px;padding:22px 24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--page)}
.trust-item{display:flex;align-items:flex-start;gap:12px}
.trust-item>i,.trust-item>svg{width:22px;height:22px;color:var(--brand)}
.trust-item h4{margin:0;font-size:14px;font-weight:800}
.trust-item p{margin:2px 0 0;color:var(--muted);font-size:12px}
.marketplace-band{display:flex;align-items:center;gap:26px;flex-wrap:wrap;padding:24px 28px;border-radius:var(--radius);color:#fff;background:#17212b}
.band-label{font-size:12px;font-weight:800;text-transform:uppercase;color:rgba(255,255,255,.6)}
.marketplace-badges{display:flex;flex-wrap:wrap;gap:26px;font-family:"Sora",sans-serif;font-size:17px;font-weight:800}
.footer-bottom{padding:24px 0;color:#94a3b8;font-size:12px;text-align:center}

/* ===== Shop ===== */
.shop-page{padding:30px 0 70px}
.shop-breadcrumbs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:18px;color:#94a3b8;font-size:12px}
.shop-breadcrumbs a:hover{color:var(--brand)}
.crumb-current{color:var(--ink)}
.shop-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:22px}
.shop-title-row h1{font-size:38px}
.shop-title-row p{margin:8px 0 0;color:var(--muted)}
.filter-toggle-btn{display:none;align-items:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:#fff;font-weight:800;cursor:pointer}
.filter-toggle-btn i,.filter-toggle-btn svg{width:16px;height:16px}
.shop-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px}
.shop-sidebar{align-self:start;padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.filter-group{padding:18px 0;border-bottom:1px solid var(--line)}
.filter-group:first-of-type{padding-top:0}
.filter-group h3{margin:0 0 12px;font-family:"Sora",sans-serif;font-size:14px}
.filter-check-row{display:flex;align-items:center;gap:9px;margin:10px 0;color:#475569;font-size:13px;cursor:pointer}
.filter-check-row input{width:15px;height:15px;accent-color:var(--brand)}
.price-label{margin:0 0 10px;color:var(--muted);font-size:12px;font-weight:700}
.filter-group input[type=range]{display:block;width:100%;margin:8px 0;accent-color:var(--brand)}
.filter-actions{display:grid;gap:9px;padding-top:18px}
.filter-actions .btn-primary,.filter-actions .btn-outline{width:100%;min-height:40px;font-size:13px}
.filter-header-mobile{display:none}
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.woocommerce-result-count{margin:0!important;color:var(--muted);font-size:13px}
.woocommerce-ordering{margin:0!important}
.woocommerce-ordering select{min-height:40px;padding:0 30px 0 10px;border:1px solid var(--line);border-radius:6px;color:#334155;background:#fff;font-size:13px}
.sanitayaki-shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sanitayaki-shop-grid .sanitayaki-product-card{width:auto;min-width:0}
.shop-pagination{margin-top:32px}
.woocommerce-pagination ul.page-numbers{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:0;padding:0;border:0}
.woocommerce-pagination ul.page-numbers li{border:0;list-style:none}
.woocommerce-pagination .page-numbers{display:grid;min-width:38px;height:38px;padding:0 10px;place-items:center;border:1px solid var(--line);border-radius:6px;color:#475569;background:#fff;font-size:13px;font-weight:700}
.woocommerce-pagination .page-numbers.current,.woocommerce-pagination a.page-numbers:hover{border-color:var(--brand);color:#fff;background:var(--brand)}
.empty-catalog-state{display:grid;justify-items:center;padding:70px 20px;border:1px dashed #cbd5e1;border-radius:var(--radius);background:#fff;text-align:center}
.empty-catalog-state i,.empty-catalog-state svg{width:40px;height:40px;margin-bottom:14px;color:var(--brand)}
.empty-catalog-state h2{margin:0;font-family:"Sora",sans-serif}
.empty-catalog-state p{margin:8px 0 18px;color:var(--muted)}

/* ===== Product page ===== */
.product-detail{width:min(calc(100% - 48px),var(--max));margin:0 auto;padding:28px 0 60px}
.pd-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:28px}
.pd-gallery{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:start}
.pd-main{grid-column:2;grid-row:1;aspect-ratio:1/1;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.pd-main img{width:100%;height:100%;object-fit:cover}
.pd-thumbs{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:8px}
.pd-thumb{width:64px;height:64px;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:pointer}
.pd-thumb img{width:100%;height:100%;object-fit:cover}
.pd-thumb:hover{border-color:rgba(24,33,43,.3)}
.pd-thumb.active{border-color:var(--brand);box-shadow:0 0 0 3px rgba(200,16,46,.15)}
.pd-info{align-self:start;padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.88);box-shadow:var(--shadow-xs)}
.pd-cat{display:block;color:var(--brand);font-size:12px;font-weight:800;text-transform:uppercase}
.pd-title{margin-top:8px;font-size:clamp(24px,2.6vw,34px);line-height:1.15}
.pd-short{margin-top:14px;color:var(--muted);line-height:1.7}
.pd-short p{margin:0}
.pd-price-box{margin:22px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pd-price{font-family:"Sora",sans-serif;font-size:28px;font-weight:800}
.pd-price del{margin-right:8px;color:#94a3b8;font-size:16px;font-weight:500}
.pd-stock{display:flex;align-items:center;gap:7px;margin:8px 0 0;font-size:12px;font-weight:700}
.pd-stock.in{color:#15803d}.pd-stock.out{color:var(--brand)}
.pd-stock i,.pd-stock svg{width:15px;height:15px}
.pd-form{display:grid;gap:10px}
.pd-buy-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}
.qty-box{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;background:#fff}
.qty-btn{display:grid;width:40px;height:46px;place-items:center;border:0;background:transparent;color:var(--ink);cursor:pointer}
.qty-btn:hover{color:var(--brand)}
.qty-btn i,.qty-btn svg{width:15px;height:15px}
.qty-box .quantity{margin:0}
.qty-box input.qty{width:46px;height:46px;padding:0;border:0;outline:0;text-align:center;font-weight:800;background:transparent;-moz-appearance:textfield}
.qty-box input.qty::-webkit-outer-spin-button,.qty-box input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pd-add{min-height:46px}
.wishlist-btn-wide{min-height:46px}
.wishlist-btn-wide.is-favorite{color:var(--brand);border-color:var(--brand)}
.btn-dark{min-height:46px}
.pd-notes{display:grid;gap:10px;margin-top:22px}
.pd-note{display:flex;gap:12px;padding:13px 14px;border-radius:8px;background:#eef1f4}
.pd-note>i,.pd-note>svg{width:20px;height:20px;color:var(--brand)}
.pd-note strong{display:block;font-size:14px}
.pd-note p{margin:2px 0 0;color:var(--muted);font-size:12px}
.pd-tabs{margin-top:36px;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.88)}
.pd-tabs-list{display:flex;gap:4px;padding:4px;border-radius:8px;background:#eef1f4}
.pd-tab{padding:9px 18px;border:0;border-radius:6px;color:var(--muted);background:transparent;font-size:14px;font-weight:700;cursor:pointer}
.pd-tab.active{color:var(--ink);background:#fff;box-shadow:var(--shadow-xs)}
.pd-panel{padding:22px 6px 8px;color:var(--muted);font-size:14px;line-height:1.8}
.pd-specs{display:grid;grid-template-columns:200px 1fr;gap:10px 20px;max-width:640px;margin:0}
.pd-specs dt{color:var(--muted)}
.pd-specs dd{margin:0;color:var(--ink);font-weight:700}
.pd-related{padding-top:44px}

/* ===== Cart / wishlist / account drawers ===== */
.drawer-overlay{position:fixed;z-index:100;inset:0;visibility:hidden;opacity:0;background:rgba(15,23,42,.65);transition:opacity .3s ease-in-out,visibility .3s}
.drawer-overlay.is-open{visibility:visible;opacity:1}
.slide-drawer{position:fixed;z-index:101;top:0;right:0;display:flex;width:min(100%,410px);height:100vh;height:100dvh;flex-direction:column;transform:translateX(105%);visibility:hidden;background:#fff;box-shadow:-16px 0 38px rgba(15,23,42,.16);transition:transform .3s ease-in-out,visibility .3s}
.slide-drawer.is-open{transform:translateX(0);visibility:visible}
.drawer-header{display:flex;align-items:center;justify-content:space-between;min-height:66px;padding:0 20px;border-bottom:1px solid var(--line)}
.drawer-header h3{margin:0;font-family:"Sora",sans-serif;font-size:16px}
.close-drawer-btn{display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:50%;color:#475569;background:#f1f5f9;font-size:24px;line-height:1;cursor:pointer}
.drawer-body{flex:1;overflow-y:auto;padding:20px}
.woocommerce-mini-cart{margin:0;padding:0;list-style:none}
.woocommerce-mini-cart-item{position:relative;display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;margin:0 0 14px;padding:0 24px 14px 0;border-bottom:1px solid var(--line);font-size:13px;font-weight:800}
.woocommerce-mini-cart-item img{width:58px;height:58px;margin:0;float:none;border-radius:5px;object-fit:cover}
.woocommerce-mini-cart-item a.remove{position:absolute;top:0;right:0;color:var(--muted);font-size:20px;line-height:1}
.woocommerce-mini-cart-item .quantity{display:block;color:var(--muted);font-weight:500}
.woocommerce-mini-cart__total{display:flex;justify-content:space-between;padding-top:6px;font-weight:800}
.woocommerce-mini-cart__buttons{display:grid;gap:8px;margin:14px 0 0}
.woocommerce-mini-cart__buttons a{display:flex;justify-content:center;padding:12px;border:1px solid var(--line);border-radius:6px;font-size:14px;font-weight:700}
.woocommerce-mini-cart__buttons a.checkout{color:#fff;background:var(--brand);border-color:var(--brand)}
.woocommerce-mini-cart__empty-message{color:var(--muted);font-size:14px}
.wishlist-item{display:grid;grid-template-columns:62px 1fr auto;gap:11px;align-items:center;margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid var(--line)}
.wishlist-item img{width:62px;height:62px;border-radius:5px;object-fit:cover}
.wishlist-item a{font-size:13px;font-weight:800}
.wishlist-remove{border:0;color:var(--brand);background:transparent;font-size:22px;cursor:pointer}
.wishlist-empty{padding:40px 10px;color:var(--muted);text-align:center}

/* ===== Toasts ===== */
.sy-toasts{position:fixed;right:16px;bottom:84px;z-index:120;display:grid;gap:8px}
.sy-toast{display:grid;gap:2px;min-width:220px;max-width:320px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.14);font-size:13px;animation:syIn .25s ease-out}
.sy-toast strong{font-weight:800}
.sy-toast span{color:var(--muted);font-size:12px}
.sy-toast.out{opacity:0;transform:translateY(6px);transition:all .35s}
@keyframes syIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ===== Plain pages (cart, checkout, account, 404) ===== */
.site-page{width:min(calc(100% - 48px),var(--max));margin:0 auto;padding:36px 0 60px}
.page-title{margin-bottom:22px;font-size:clamp(26px,3vw,36px)}
.page-content{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.woocommerce .button,.woocommerce button.button,.woocommerce a.button{border-radius:6px;background:var(--brand);color:#fff;font-weight:700}
.woocommerce .button:hover{background:var(--brand-dark);color:#fff}
.not-found{text-align:center;padding:80px 0}
.nf-code{margin:0;color:var(--brand);font-family:"Sora",sans-serif;font-size:72px;font-weight:800;line-height:1}

/* ===== Mobile nav (hidden on desktop) ===== */
.mobile-bottom-nav{display:none}

/* ===== Responsive ===== */
@media (max-width:1180px){.sanitayaki-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(3,1fr)}}

@media (max-width:1023px){
	body{padding-bottom:74px}
	.header-top-row{flex-wrap:wrap;gap:12px;padding:11px 0;min-height:0}
	.header-search-form{order:3;width:100%;max-width:none;flex:none}
	.header-actions{margin-left:auto}
	.action-label{display:none}
	.category-ribbon{min-height:42px}
	.mobile-bottom-nav{position:fixed;z-index:89;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,1fr);min-height:64px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);background:rgba(255,255,255,.94);backdrop-filter:blur(14px)}
	.nav-tab{flex-direction:column;justify-content:center;gap:3px;border-radius:0;font-size:10px;font-weight:700}
	.nav-tab i,.nav-tab svg{width:19px;height:19px}
	.cosmetics-spotlight{grid-template-columns:1fr}
	.spotlight-visual{min-height:300px}
	.hero-container{padding:0 32px}
	.shop-layout{grid-template-columns:1fr}
	.shop-sidebar{position:fixed;z-index:102;top:0;left:0;width:min(100%,340px);height:100vh;height:100dvh;overflow-y:auto;transform:translateX(-105%);visibility:hidden;border-radius:0;transition:transform .3s ease-in-out,visibility .3s}
	.shop-sidebar.is-open{transform:translateX(0);visibility:visible}
	.filter-header-mobile{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid var(--line);font-family:"Sora",sans-serif}
	.filter-header-mobile button{border:0;color:var(--brand);background:none;font-size:28px;cursor:pointer}
	.filter-toggle-btn{display:inline-flex}
	.pd-grid{grid-template-columns:1fr}
	.sy-toasts{right:12px}
}

@media (max-width:767px){
	.header-container,.main-content-wrap,.footer-container,.shop-container,.product-detail,.site-page{width:min(calc(100% - 32px),var(--max))}
	.hero-section{width:min(calc(100% - 32px),var(--max));margin-top:16px;min-height:470px}
	.hero-container{min-height:470px;padding:0 22px}
	.hero-content{padding:48px 0}
	.hero-title{font-size:38px}
	.hero-subtitle{font-size:15px}
			.home-section{padding-top:34px}
	.category-grid{grid-template-columns:repeat(2,1fr)}
	.spotlight-content{padding:30px 22px}
	.sanitayaki-product-card{width:215px;min-width:215px}
	.offer-content{padding:38px 22px}
	.trust-band{grid-template-columns:1fr;gap:16px}
	.marketplace-band{align-items:flex-start;flex-direction:column;gap:14px;padding:22px}
	.marketplace-badges{gap:16px;font-size:14px}
	.shop-page{padding-top:22px}
	.shop-title-row h1{font-size:30px}
	.shop-toolbar{align-items:flex-start;flex-direction:column}
	.woocommerce-ordering select{width:100%}
	.sanitayaki-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
	.sanitayaki-shop-grid .sanitayaki-product-card{width:auto}
	.sanitayaki-shop-grid .product-card-body{padding:10px}
	.sanitayaki-shop-grid .product-card-title{min-height:40px;font-size:12px}
	.sanitayaki-shop-grid .product-card-price{font-size:13px}
	.sanitayaki-shop-grid .btn-add-cart{min-height:36px;padding:0 4px;font-size:11px}
	.pd-gallery{grid-template-columns:1fr}
	.pd-thumbs{grid-column:1;grid-row:2;flex-direction:row;overflow-x:auto}
	.pd-info{padding:20px}
	.pd-specs{grid-template-columns:1fr 1fr}
}

@media (min-width:768px) and (max-width:1023px){.sanitayaki-product-card{width:260px}}


/* ===================================================================
   v1.2 — tablet / phone refinements
   =================================================================== */
html{scroll-padding-top:150px}
body{-webkit-text-size-adjust:100%}

/* Product photos: never crop packshots, always on a clean white tile */
.product-card-thumb{background:#fff}
.product-card-thumb img{object-fit:contain;padding:10px}
.pd-main{background:#fff}
.pd-main img{object-fit:contain;padding:12px}
.pd-thumb img{object-fit:contain;padding:3px;background:#fff}
.wishlist-item img{object-fit:contain;background:#fff;border:1px solid var(--line)}

/* Categories ribbon: always visible, with a soft edge that hints "swipe" */
.category-ribbon{display:flex!important;-webkit-overflow-scrolling:touch}

/* Toasts sit above the phone bottom bar, lower on desktop */
@media (min-width:1024px){.sy-toasts{bottom:24px}}

/* ---------- Tablet (iPad): 768 – 1023 ---------- */
@media (min-width:768px) and (max-width:1023px){
	.header-container,.main-content-wrap,.footer-container,.shop-container,.product-detail,.site-page{width:min(calc(100% - 40px),var(--max))}
	.hero-section{width:min(calc(100% - 40px),var(--max));min-height:460px}
	.hero-container{min-height:460px;padding:0 40px}
	.hero-title{font-size:46px}
	.category-grid{grid-template-columns:repeat(3,1fr)}
	.sanitayaki-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
	/* product page: photo left, details right — no giant full-width photo */
	.pd-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
	.pd-gallery{grid-template-columns:1fr}
	.pd-main{grid-column:1;grid-row:1}
	.pd-thumbs{grid-column:1;grid-row:2;flex-direction:row;overflow-x:auto}
	.pd-info{padding:22px}
	.pd-title{font-size:26px}
	.trust-band{grid-template-columns:repeat(3,1fr)}
}

/* ---------- Touch devices (tablet + phone) ---------- */
@media (max-width:1023px){
	.header-action-btn{min-width:44px;min-height:44px;justify-content:center}
	.badge-count{top:4px;right:4px}
	.category-ribbon{gap:8px;min-height:54px;padding:6px 2px 8px;-webkit-mask-image:linear-gradient(to right,#000 0,#000 94%,transparent 100%);mask-image:linear-gradient(to right,#000 0,#000 94%,transparent 100%)}
	.cat-pill{min-height:40px;padding:0 15px;font-size:14px;border:1px solid var(--line);background:#fff}
	.cat-pill-active,.cat-pill-active:hover{border-color:var(--brand)}
	.search-field,.woocommerce-ordering select,.qty-box input.qty{font-size:16px}
	.filter-check-row{min-height:44px;margin:0}
	.shop-sidebar{padding:20px 20px 32px}
	.rail-prev,.rail-next{width:40px;height:40px}
	.product-card-thumb .wishlist-btn{width:38px;height:38px}
	.btn-add-cart{min-height:44px}
}

/* ---------- Phone: up to 767 ---------- */
@media (max-width:767px){
	.header-top-row{gap:10px;padding:10px 0 8px}
	.brand-mark{height:38px;padding:0 13px;font-size:14px}
	.brand-logo img.custom-logo{max-width:150px;max-height:38px}
	.header-search-form{margin:0}
	.search-input-wrapper{min-height:44px}
	.hero-section{min-height:440px}
	.hero-container{min-height:440px}
	.hero-title{font-size:36px}
	.hero-subtitle{margin:14px 0 22px;font-size:15px;line-height:1.65}
	.hero-buttons{gap:10px}
	.hero-buttons .btn-light,.hero-buttons .btn-glass{flex:1 1 auto;min-height:46px}
	.section-title{font-size:23px}
	.section-header{margin-bottom:14px}
	.category-grid{grid-template-columns:repeat(2,1fr);gap:10px}
	.category-card{padding:14px}
	.cat-icon{width:40px;height:40px}
	.cat-card-name{margin-top:12px;font-size:13px}
	.cosmetics-spotlight{min-height:0;margin-top:34px}
	.spotlight-visual{min-height:230px}
	.spotlight-row{flex-wrap:wrap}
	.special-offers-banner{min-height:300px;margin-top:34px}
	.sanitayaki-product-card{width:186px;min-width:186px}
	.product-card-body{padding:11px}
	.product-card-title{min-height:40px;font-size:13px}
	.sanitayaki-shop-grid{gap:10px}
	.sanitayaki-shop-grid .sanitayaki-product-card{width:auto;min-width:0}
	.trust-band{padding:18px;margin-top:26px}
	.page-content{padding:14px}
	.shop-title-row{align-items:center;padding-bottom:16px}
	.shop-title-row h1{font-size:28px}
	.shop-title-row p{display:none}

	/* product page: compact photo so price + buy button are visible fast */
	.product-detail{padding:16px 0 40px}
	.pd-grid{gap:16px}
	.pd-main{aspect-ratio:auto;height:min(78vw,340px)}
	.pd-thumb{width:58px;height:58px}
	.pd-info{padding:18px}
	.pd-title{font-size:23px}
	.pd-price{font-size:25px}
	.pd-price-box{margin:16px 0;padding:14px 0}
	.pd-buy-row{grid-template-columns:auto minmax(0,1fr)}
	.pd-tabs{padding:12px;margin-top:24px}
	.pd-tab{flex:1;padding:10px 6px;font-size:13px}
	.pd-panel{padding:16px 4px 4px}
	.pd-specs{grid-template-columns:110px 1fr;gap:8px 12px}
	.pd-related{padding-top:32px}
	.slide-drawer{width:100%;max-width:none}
	.sy-toasts{left:12px;right:12px;bottom:82px}
	.sy-toast{max-width:none}
}

/* very small phones */
@media (max-width:359px){
	.brand-mark{padding:0 10px;font-size:13px;letter-spacing:.04em}
	.hero-title{font-size:32px}
	.sanitayaki-shop-grid .btn-add-cart{font-size:10px}
}

@media (max-width:767px){
	.pd-main{grid-column:1;grid-row:1}
	.pd-thumbs{grid-column:1;grid-row:2}
}

/* ===================================================================
   v1.2.1 — fixes found while testing every screen size
   =================================================================== */
.pd-gallery{align-content:start;align-self:start}

@media (max-width:1023px){
	/* active category pill must stay red (the touch style above made it white) */
	.cat-pill.cat-pill-active,.cat-pill.cat-pill-active:hover{background:var(--brand);color:#fff;border-color:var(--brand)}
	.category-ribbon{min-height:50px;padding:4px 2px 6px}
	.cat-pill{min-height:38px}
}

/* iPad: keep the headline off the photo */
@media (min-width:768px) and (max-width:1023px){
	.hero-content{max-width:500px}
}

@media (max-width:767px){
	.header-top-row{padding:8px 0 6px}
	.spotlight-row{flex-wrap:nowrap}
	.spotlight-row>div{min-width:0}
	.price-missing{font-size:12px;line-height:1.35}
}


/* ===================================================================
   v1.3 — cart drawer, header icons, product page, sizes
   =================================================================== */

/* Header icons: label UNDER the icon (as in the design), badge on the icon corner */
.header-action-btn{flex-direction:column;justify-content:center;gap:2px;min-width:58px;padding:6px 10px}
.header-action-btn .action-label{font-size:11px;font-weight:700;line-height:1.2}
.header-action-btn .badge-count{top:0;right:9px}

/* Cart drawer: image + full-width name (was squeezed into a 58px column) */
.woocommerce-mini-cart-item{display:block;position:relative;margin:0 0 14px;padding:0 28px 14px 0;border-bottom:1px solid var(--line);font-size:13px;font-weight:700;line-height:1.4}
.woocommerce-mini-cart-item>a:not(.remove){display:grid;grid-template-columns:60px minmax(0,1fr);gap:12px;align-items:center;color:var(--ink);overflow-wrap:anywhere}
.woocommerce-mini-cart-item>a:not(.remove) img{width:60px;height:60px;margin:0;float:none;border:1px solid var(--line);border-radius:6px;background:#fff;object-fit:contain}
.woocommerce-mini-cart-item .quantity{display:block;margin:6px 0 0 72px;color:var(--muted);font-weight:600}
.woocommerce-mini-cart-item a.remove{position:absolute;top:0;right:0;display:grid;width:24px;height:24px;place-items:center;border-radius:50%;color:var(--muted);background:#f1f5f9;font-size:16px;line-height:1}
.woocommerce-mini-cart-item a.remove:hover{color:#fff;background:var(--brand)}
.woocommerce-mini-cart__total{margin:6px 0 0;padding-top:12px;border-top:1px solid var(--line)}
.woocommerce-mini-cart__buttons a{min-height:46px;align-items:center}

/* Product page: back button + photo that follows while you read */
.pd-back{display:inline-flex;align-items:center;gap:8px;min-height:40px;margin-bottom:12px;padding:0 14px 0 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:14px;font-weight:700;cursor:pointer;transition:border-color .2s,color .2s}
.pd-back:hover{border-color:var(--brand);color:var(--brand)}
.pd-back i,.pd-back svg{width:17px;height:17px}
@media (min-width:1024px){
	.pd-gallery{position:sticky;top:150px}
}

/* Slightly denser desktop sizes */
.header-top-row{min-height:74px}
.hero-section{min-height:480px}
.hero-container{min-height:480px}
.hero-title{font-size:clamp(36px,4.4vw,62px)}
.section-title{font-size:clamp(22px,2.2vw,30px)}
.home-section{padding-top:40px}
.cosmetics-spotlight{min-height:400px}
.special-offers-banner{min-height:320px}

@media (max-width:1023px){
	.header-action-btn{min-width:44px;padding:0}
	.header-action-btn .badge-count{top:3px;right:3px}
	.hero-section,.hero-container{min-height:460px}
}
@media (max-width:767px){
	.hero-section,.hero-container{min-height:440px}
	.pd-back{margin-bottom:10px}
}

/* ===================================================================
   v1.3.1 — short landscape phones (e.g. 667×375): the stacked mobile
   header + bottom tab bar were eating almost the entire screen height.
   =================================================================== */
@media (max-width:1023px) and (max-height:480px) and (orientation:landscape){
	.mobile-bottom-nav{display:none}
	body{padding-bottom:0}
	.header-top-row{min-height:0;padding:6px 0}
	.category-ribbon{min-height:36px;padding:2px}
	.cat-pill{min-height:32px;padding:0 12px;font-size:13px}
	.search-input-wrapper{min-height:38px}
	.pd-back{margin-bottom:8px}
	.shop-breadcrumbs{margin-bottom:10px}
}

/* ===================================================================
   v1.4 — marketplace/social band, checkout page
   =================================================================== */
.marketplace-badges a{color:#fff;transition:opacity .2s}
.marketplace-badges a:hover{opacity:.75;text-decoration:underline}
.marketplace-badges .is-disabled{color:rgba(255,255,255,.35);cursor:default}
.social-badges{display:flex;align-items:center;gap:14px;margin-left:auto}
.social-badges a{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;color:#fff;background:rgba(255,255,255,.12);transition:background .2s}
.social-badges a:hover{background:rgba(255,255,255,.24)}
.social-badges a i,.social-badges a svg{width:18px;height:18px}
@media (max-width:767px){.marketplace-band{gap:16px}.social-badges{margin-left:0}}

/* ---------- Checkout: two columns, order review visible without scrolling past the form ---------- */
.woocommerce-checkout .col2-set{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:32px;align-items:start}
.woocommerce-checkout #customer_details{width:auto}
.woocommerce-checkout .col-1,.woocommerce-checkout .col-2{width:auto;float:none}
.woocommerce-checkout #order_review_heading{margin-top:0}
.woocommerce-checkout #order_review,.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1/3}
.woocommerce-checkout #customer_details{grid-column:1;grid-row:1/3}
@media (min-width:1024px){
	.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{position:sticky;top:150px}
}
.woocommerce-checkout table.shop_table{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;border-collapse:collapse;width:100%}
.woocommerce-checkout table.shop_table th,.woocommerce-checkout table.shop_table td{padding:12px 14px;border-bottom:1px solid var(--line);font-size:14px}
.woocommerce-checkout #order_review{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.woocommerce-checkout .form-row{margin:0 0 14px}
.woocommerce-checkout .form-row input.input-text,.woocommerce-checkout .form-row select,.woocommerce-checkout .form-row textarea{min-height:46px;padding:0 12px;border:1px solid var(--line);border-radius:6px;width:100%}
.woocommerce-checkout .form-row textarea{min-height:90px;padding:12px}
.woocommerce-checkout #payment{border-radius:var(--radius);background:var(--page);border:1px solid var(--line);margin-top:16px}
.woocommerce-checkout #payment ul.payment_methods{padding:14px 16px;margin:0;list-style:none}
.woocommerce-checkout #payment .payment_box{padding:12px 0 0;font-size:13px;color:var(--muted)}
.woocommerce-checkout #place_order{width:100%;min-height:52px;font-size:16px}
.woocommerce-checkout .woocommerce-additional-fields{padding-top:6px}
.woocommerce-checkout .woocommerce-form-coupon-toggle{margin-bottom:16px}
@media (max-width:1023px){
	.woocommerce-checkout .col2-set{grid-template-columns:1fr}
	.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{grid-column:1;grid-row:auto}
	.woocommerce-checkout #order_review_heading{order:-1;margin:0 0 10px}
	.woocommerce-checkout #order_review{order:-1;margin-bottom:20px}
}
