*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{overflow-y:auto;overflow-x:hidden}
:root{--w:#ffffff;--off:#f8f5f1;--stone:#eee9e1;--border:#e0d9cf;--text:#18140f;--muted:#8a7f74;--red:#b04040;--green:#2d6e3e;--nav:62px;--ease:cubic-bezier(0.22,1,0.36,1)}
html{scroll-behavior:smooth;touch-action:manipulation;-ms-touch-action:manipulation}
body{font-family:'Outfit',sans-serif;background:var(--w);color:var(--text);overflow-x:hidden;line-height:1.5;touch-action:manipulation;-ms-touch-action:manipulation}
a,button,.nav-icon,.mob-link,.mobile-menu-close,.profile-btn,.logo-avatar,.pcard,.cat-item,.filter-trigger,.bottomsheet-option{-webkit-tap-highlight-color:transparent}
/* (was forcing full-page black on hero; no longer used) */
img{display:block;max-width:100%}
button{font-family:'Outfit',sans-serif;cursor:pointer}
a{text-decoration:none;color:inherit}

/* HEADER */
.header-wrapper{position:sticky;top:.75rem;z-index:300;display:block;min-height:0;overflow:visible}
.header-wrapper header{transition:transform .4s cubic-bezier(0.22,1,0.36,1),opacity .35s ease}
.header-wrapper.scrolled-down header{transform:translateY(calc(-100% - 1rem));opacity:0;pointer-events:none}
header{height:var(--nav);display:flex;align-items:center;justify-content:space-between}
.liquid-bar{margin:0 .9rem;background:rgba(255,255,255,.85);border:1px solid var(--border);border-radius:14px;box-shadow:0 4px 24px rgba(0,0,0,.08);padding:0 1.1rem;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.logo{display:inline-flex;align-items:center;gap:.6rem;flex-shrink:0}
.logo-avatar{position:relative;border:none;background:none;padding:0;width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid var(--border);cursor:pointer;transition:border-color .2s,transform .15s var(--ease)}
.logo-avatar img{width:100%;height:100%;object-fit:cover}
.logo-avatar-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--text);color:#fff;font-family:'EB Garamond',serif;font-size:.9rem;font-weight:400}
.logo-avatar:hover{border-color:var(--text)}
.logo-word{font-family:'EB Garamond',serif;font-size:1.25rem;letter-spacing:.25em;text-transform:uppercase;color:var(--text);font-weight:400;cursor:pointer;transition:opacity .2s}
.logo-word:hover{opacity:.7}
.nav-links{display:flex;align-items:center;gap:0;margin:0 1.75rem}
.nav-link{background:none;border:none;color:var(--muted);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;padding:.4rem .85rem;border-bottom:2px solid transparent;transition:color .2s,border-color .2s;font-weight:400}
.nav-link:hover{color:var(--text)}
.nav-link.active{color:var(--text);border-bottom-color:var(--text)}
.cat-wrap{position:relative;display:inline-flex;align-items:center}
.cat-dropdown{position:absolute;top:calc(100% + 1px);left:50%;transform:translateX(-50%) translateY(-8px);background:var(--w);border:1px solid var(--border);min-width:500px;box-shadow:0 20px 60px rgba(0,0,0,.12);opacity:0;pointer-events:none;transition:opacity .22s var(--ease),transform .22s var(--ease);z-index:50;padding:1.25rem;display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem}
.cat-wrap:hover .cat-dropdown,.cat-dropdown:hover{opacity:1;pointer-events:all;transform:translateX(-50%) translateY(0)}
.cat-item{display:flex;align-items:center;gap:.7rem;padding:.75rem .85rem;transition:background .15s;cursor:pointer;border:1px solid transparent}
.cat-item:hover{background:var(--off);border-color:var(--border)}
.cat-name{font-size:.78rem;font-weight:500;margin-bottom:.04rem}
.cat-sub{font-size:.63rem;color:var(--muted)}
.nav-right{display:flex;align-items:center;gap:.15rem}
.nav-icon{background:none;border:none;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:background .15s;color:var(--text);position:relative}
.nav-icon:hover{background:var(--stone)}
.nav-cart{border-radius:0}
.cart-badge,.badge{position:absolute;top:2px;right:2px;min-width:18px;height:18px;padding:0 4px;border-radius:50%;background:var(--text);color:var(--w);font-size:.55rem;font-weight:600;display:flex;align-items:center;justify-content:center;border:1.5px solid var(--w)}
.profile-btn{background:none;border:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:opacity .2s;cursor:pointer}
.profile-btn:hover{opacity:.72}
.profile-avatar{width:30px;height:30px;border-radius:50%;background:var(--text);color:var(--w);display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:600}
.hamburger{display:none;background:none;border:none;width:38px;height:38px;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.hamburger span{display:block;width:20px;height:1.5px;background:var(--text);transition:all .3s var(--ease)}
.hamburger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0;transform:scaleX(0)}
.hamburger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
.mobile-menu{position:fixed;inset:0;z-index:360;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;pointer-events:none;opacity:0;transition:opacity .3s var(--ease)}
.mobile-menu.open{opacity:1;pointer-events:auto}
.mobile-menu-close{position:absolute;top:1.25rem;right:1.25rem;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:none;border:none;color:var(--text);font-size:1.2rem}
.mobile-menu-nav{display:flex;flex-direction:column;padding:.5rem 0}
.mob-link{background:none;border:none;text-align:center;padding:.8rem 1.5rem;font-size:.9rem;font-weight:400;color:var(--text);display:block;width:100%;transition:color .2s}
.mob-link-out{color:var(--red);margin-top:.2rem;padding-top:.7rem;border-top:1px solid rgba(0,0,0,.06)}

/* Hide header on checkout and auth pages */
.on-checkout .header-wrapper,.on-auth .header-wrapper{display:none}
/* Home page header styling */
.home-with-header .header-wrapper{background:transparent}
.home-with-header::before{content:"";position:fixed;top:0;left:0;right:0;height:1rem;background:transparent;z-index:299;transition:background .25s ease}
.home-with-header.top-bar-scrolled::before{background:transparent}

/* HERO */
.hero{position:relative;min-height:calc(100vh - var(--nav));display:flex;align-items:center;justify-content:center;padding:4rem 3rem;overflow:hidden;color:var(--w);text-align:center;background:linear-gradient(135deg,#0d0d0d,#1a1515)}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(to right,rgba(0,0,0,.78),rgba(0,0,0,.45),rgba(0,0,0,.1)),url('/images/bag.png') center/cover no-repeat;filter:blur(4px);transform:scale(1.04);opacity:0;transition:opacity .7s ease}
.hero.hero-bg-loaded::before{opacity:1}
.hero-left{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:520px;width:100%}
.hero-tag{font-size:.67rem;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.7);margin-bottom:1.75rem}
.hero-h{font-family:'EB Garamond',serif;font-size:clamp(2.6rem,4vw,4rem);font-weight:400;line-height:1.15;margin-bottom:1.25rem}
.hero-h em{font-style:italic}
.hero-p{font-size:.9rem;color:rgba(255,255,255,.76);line-height:1.8;max-width:420px;margin:0 auto 2.25rem;font-weight:300}
.hero-btns{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center}
.btn-dark{background:var(--text);color:var(--w);border:none;padding:.75rem 1.75rem;font-size:.73rem;letter-spacing:.12em;text-transform:uppercase;font-weight:500;transition:opacity .2s,transform .15s;cursor:pointer}
.btn-dark:hover{opacity:.82}
.btn-line{background:none;color:var(--text);border:1px solid var(--border);padding:.75rem 1.75rem;font-size:.73rem;letter-spacing:.12em;text-transform:uppercase;transition:border-color .2s,transform .15s;cursor:pointer}
.btn-line:hover{border-color:var(--text)}
.hero .btn-line{color:var(--w);border-color:rgba(255,255,255,.7)}
.hero .btn-line:hover{border-color:var(--w);background:rgba(255,255,255,.08)}
.hero-stats{display:flex;justify-content:center;gap:2.5rem;margin-top:3rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.2)}
.hero-stat-n{font-family:'EB Garamond',serif;font-size:1.55rem;font-weight:400}
.hero-stat-l{font-size:.65rem;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.7);margin-top:.1rem}

/* SHOP BODY (white below hero on home) */
.shop-body{background:var(--w);padding:0 2rem 5rem}
.section{margin-top:0;padding-top:1.5rem;border-top:1px solid var(--border)}
.section:first-child{border-top:none;margin-top:2.5rem;padding-top:0}
.section-top{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:1.75rem}
.section-eye{font-size:.63rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-bottom:.35rem}
.section-title{font-family:'EB Garamond',serif;font-size:1.25rem;font-style:italic;font-weight:400}
.see-all{background:none;border:none;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--border);transition:color .2s;cursor:pointer}
.see-all:hover{color:var(--text)}

/* Shein-style: minimal bold headers */
.section-top.shein-style{align-items:center;margin-bottom:1.25rem}
.section-top.shein-style .section-title{font-family:'Outfit',sans-serif;font-size:1rem;font-weight:600;font-style:normal;letter-spacing:.02em;margin:0}
.section-top.shein-style .see-all{font-size:.75rem;font-weight:500;text-decoration:none;color:var(--text);letter-spacing:.05em}
.section-top.shein-style .see-all:hover{color:var(--muted)}

.grid-4{display:grid;grid-template-columns:repeat(8,1fr);gap:.35rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem}

/* HOME PAGE CARDS — horizontal scroll, vertical cards, multiple visible */
.grid-home{display:flex!important;gap:1rem!important;margin:0;padding:0 2rem .5rem 0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}
.grid-home::-webkit-scrollbar{display:none}
.grid-home .pcard-home{scroll-snap-align:start;flex:0 0 auto}
.pcard-home{background:var(--w);border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:border-color .25s var(--ease);width:185px;min-width:185px}
.pcard-home:hover{border-color:var(--text)}
.pcard-home .pcard-img{aspect-ratio:3/4;margin:0;border-radius:0;flex-shrink:0}
.pcard-home .pcard-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%}
.pcard-home .pcard-badge,.pcard-home .pcard-badge-placeholder{top:.5rem;left:.5rem;font-size:.5rem;padding:.16rem .4rem;min-width:2.5em;min-height:1.15em}
.pcard-home .pcard-badge.badge-oos{font-size:.5rem;padding:.16rem .4rem;min-width:2.5em;min-height:1.15em}
.pcard-home .pcard-heart{top:.5rem;right:.5rem;width:34px;height:34px;min-width:34px;min-height:34px}
.pcard-home .pcard-heart svg{width:14px;height:14px}
.pcard-home .pcard-info{padding:.55rem .7rem .75rem;gap:.14rem}
.pcard-home .pcard-brand{font-size:.6rem;letter-spacing:.14em}
.pcard-home .pcard-name{font-size:.85rem;line-height:1.25;min-height:1.6em;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pcard-home .pcard-reviews-area{min-height:1.3em}
.pcard-home .pcard-reviews-area.pcard-reviews-empty{min-height:0;display:none}
.pcard-no-reviews.pcard-home .pcard-foot{margin-top:0}
.pcard-no-reviews.pcard-home .pcard-info{gap:.02rem}
.pcard-home .pcard-foot{margin-top:.14rem;align-items:center;flex-wrap:nowrap}
.pcard-home .pcard-price{font-size:.88rem}
.pcard-home .pcard-price-orig{font-size:.68rem}
.pcard-home .pcard-price-sale{font-size:.88rem;font-weight:600}
.pcard-home .pcard-add{width:34px;height:34px;min-width:34px;min-height:34px;font-size:.9rem;flex-shrink:0}
.pcard-home .pcard-add svg{width:14px;height:14px}
.pcard-home .pcard-price-wrap{min-height:1.5em}
.pcard-home .pcard-prices{min-height:1.1em}
.pcard-home .pcard-promo-on-img .pcard-promo-strip{font-size:.55rem;padding:.16rem .4rem}
@media(min-width:769px){
  .pcard-home{width:210px;min-width:210px}
  .grid-home{gap:1.25rem}
}

/* Shop listing: 2-column grid on laptop/desktop (same density as mobile), not horizontal scroll */
/* Shop listing: same card grid as mobile, more columns on wider screens */
.browse-page .shop-products-grid.grid-home{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;overflow:visible;scroll-snap-type:none;padding:0;margin:0;width:100%;align-items:stretch}
.browse-page .shop-products-grid.grid-home .pcard-home{width:auto;min-width:0;flex:none}
@media(min-width:640px){
  .browse-page .shop-products-grid.grid-home{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
}
@media(min-width:900px){
  .browse-page .shop-products-grid.grid-home{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
}
@media(min-width:1200px){
  .browse-page .shop-products-grid.grid-home{grid-template-columns:repeat(5,minmax(0,1fr));gap:.85rem}
}
@media(min-width:1440px){
  .browse-page .shop-products-grid.grid-home{grid-template-columns:repeat(6,minmax(0,1fr));gap:.9rem}
}

/* PRODUCT CARD */
.pcard{background:transparent;position:relative;cursor:pointer;overflow:visible;border-radius:12px;border:none;box-shadow:none;transition:background .25s var(--ease);display:flex;flex-direction:column;height:100%}
.pcard > a{flex-shrink:0}
.pcard-img{position:relative;overflow:hidden;background:var(--stone);aspect-ratio:4/3;margin:.25rem;border-radius:6px}
.pcard-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;transition:transform .65s var(--ease),opacity .4s ease;opacity:0}
.pcard-img img.img-loaded{opacity:1}
.pcard:hover .pcard-img img,.pcard:active .pcard-img img{transform:scale(1.06)}
.pcard-badge{position:absolute;top:.4rem;left:.4rem;font-size:.5rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;padding:.12rem .35rem;min-width:2.5em;min-height:1.2em;display:inline-flex;align-items:center;justify-content:center;text-align:center}
.pcard-badge-placeholder{position:absolute;top:.4rem;left:.4rem;min-width:2.5em;min-height:1.2em;visibility:hidden;pointer-events:none}
.badge-new{background:#000;color:#fff}
.badge-best{background:var(--off);color:var(--text);border:1px solid var(--border)}
.badge-oos{background:#000;color:#fff}
.badge-promo{background:#b45309;color:#fff}
.pcard-promo-on-img{position:absolute;bottom:0;left:0;right:0;display:flex;flex-wrap:wrap;gap:.15rem;padding:.35rem .4rem;z-index:2}
.pcard-promo-on-img .pcard-promo-strip{margin-top:0;background:#fef3c7;color:#b45309;border:1px solid #fde68a;font-size:.58rem;padding:.18rem .45rem}
.pcard-price-orig{text-decoration:line-through;color:var(--muted);font-weight:400;font-size:.65rem;vertical-align:middle}
.pcard-price-orig:not(:empty){margin-right:.35rem}
.pcard-price-sale{color:#b45309;font-weight:600;font-size:.8rem}
.pcard-promo-strip{display:flex;align-items:center;gap:.3rem;font-size:.58rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#b45309;background:#fef3c7;border:1px solid #fde68a;padding:.18rem .45rem;margin-top:.1rem;width:fit-content}
.pcard-heart{position:absolute;top:.5rem;right:.5rem;background:var(--w);border:none;width:24px;height:24px;display:flex;align-items:center;justify-content:center;transition:opacity .2s,transform .2s;opacity:0;cursor:pointer}
.pcard:hover .pcard-heart,.pcard-heart.on{opacity:1}
.pcard-heart.on{color:var(--red)}
.pcard-heart:hover{transform:scale(1.2)}
.pcard-info{padding:.25rem .4rem .4rem;display:flex;flex-direction:column;gap:.1rem;flex:1;min-height:0;overflow:visible}
.pcard-brand{font-size:.55rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.pcard-name{font-family:'EB Garamond',serif;font-size:.75rem;font-weight:400;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:1.5em}
.pcard-reviews-area{min-height:1.4em}
.pcard-reviews-area.pcard-reviews-empty{min-height:0;display:none}
.pcard-no-reviews .pcard-foot{margin-top:0}
.pcard-no-reviews .pcard-info{gap:.02rem}
.pcard-link{text-decoration:none;color:inherit}
.pcard-reviews{display:flex;align-items:center;gap:.25rem;margin-top:.1rem}
.pcard-stars{font-size:.7rem;letter-spacing:.02em;line-height:1}
.pcard-star-filled{color:#d97706}
.pcard-star-empty{color:var(--border)}
.pcard-review-count{font-size:.62rem;color:var(--muted)}
.pcard-foot{display:flex;justify-content:space-between;align-items:center;margin-top:.08rem;flex-wrap:nowrap;gap:.35rem;flex-shrink:0}
.pcard-price-wrap{min-width:0;flex:1 1 auto;overflow:visible;min-height:1.8em;display:flex;flex-direction:column;justify-content:flex-start}
.pcard-prices{white-space:nowrap;line-height:1.2;min-height:1.2em;overflow:visible}
.pcard-promo-area{min-height:1.8em;height:1.8em;margin-top:.08rem;overflow:visible;flex-shrink:0}
.pcard-promo-area.pcard-promo-empty{min-height:0;height:0;margin-top:0}
.pcard-sizes{font-size:.6rem;color:var(--muted);display:block;margin-top:.05rem}
.pcard-price{font-size:.8rem;font-weight:500}
.pcard-add{background:none;border:1px solid var(--border);width:26px;height:26px;min-width:26px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:var(--text);font-size:.8rem;transition:background .15s,color .15s,transform .12s,box-shadow .15s,border-color .15s;flex-shrink:0}
.pcard-add:hover{background:var(--text);color:var(--w);border-color:var(--text)}
.pcard-add:disabled{opacity:.35;cursor:not-allowed;transform:none}
.pcard-add:disabled:hover{background:none;color:var(--text);border-color:var(--border)}

/* BROWSE PAGE */
.browse-page{padding:2rem 2rem 5rem}
.browse-top{display:flex;flex-direction:column;gap:1.25rem;margin-bottom:1.75rem}
.browse-heading{font-family:'Outfit',sans-serif;font-size:1rem;font-weight:600;font-style:normal;letter-spacing:.02em;margin:0}
.browse-count{font-size:.72rem;color:var(--muted);margin-top:.2rem}
.shop-header-block{flex:1;min-width:0}
.shop-title-wrap{display:flex;flex-direction:column;gap:.25rem}
.shop-main-title{font-family:'Outfit',sans-serif;font-size:1rem;font-weight:600;font-style:normal;letter-spacing:.02em;margin:0}
.shop-fragrance-count{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0}
.favorites-empty{display:flex;align-items:center;justify-content:center;min-height:280px;padding:4rem 1rem;width:100%;box-sizing:border-box}
.favorites-page:has(.favorites-empty){display:flex;flex-direction:column}
.favorites-page:has(.favorites-empty) .favorites-empty{flex:1;min-height:50vh}
.review-star-label{cursor:pointer;font-size:1.5rem;color:var(--border);transition:color .15s;user-select:none;-webkit-tap-highlight-color:transparent}
.review-star-label:focus,.review-star-label:active{outline:none}
.search-wrap{display:flex;align-items:center;border:1px solid var(--border);width:100%;transition:border-color .2s,box-shadow .2s}
.search-wrap:focus-within{border-color:var(--text);box-shadow:0 0 0 3px rgba(24,20,15,.06)}
.search-ico{width:38px;height:38px;min-width:38px;display:flex;align-items:center;justify-content:center;color:var(--muted);flex-shrink:0}
.search-in{flex:1;min-width:0;border:none;outline:none;font-size:.83rem;font-family:'Outfit',sans-serif;background:none;padding:.5rem;color:var(--text)}
.search-in::placeholder{color:var(--muted)}
.search-clear{width:38px;height:38px;min-width:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:.9rem;transition:color .2s;text-decoration:none}
.search-clear:hover{color:var(--text)}
.filter-bar{display:flex;gap:.5rem;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;padding:.6rem 0}
.filter-label{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:.25rem;font-weight:500}
.filter-select{border:1px solid var(--border);background:none;padding:.48rem 2rem .48rem .75rem;font-size:.75rem;font-family:'Outfit',sans-serif;color:var(--text);outline:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238a7f74' stroke-width='1.2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .7rem center;cursor:pointer;transition:border-color .2s}
.filter-select:focus{border-color:var(--text)}
.filter-chip{border:1px solid var(--border);background:none;padding:.42rem .85rem;font-size:.72rem;font-family:'Outfit',sans-serif;color:var(--muted);cursor:pointer;transition:all .2s;white-space:nowrap}
.filter-chip:hover{border-color:var(--text);color:var(--text)}
.filter-chip.active{background:var(--text);color:var(--w);border-color:var(--text)}
.filter-trigger{border:1px solid var(--border);background:var(--w);padding:.5rem 1rem;font-size:.78rem;font-family:'Outfit',sans-serif;color:var(--text);outline:none;appearance:none;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;gap:.35rem;border-radius:8px;white-space:nowrap}
.filter-trigger:hover{border-color:var(--text);background:var(--off)}
.filter-trigger.is-active{border-color:var(--text);background:var(--off);font-weight:500}
.filter-trigger::after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--muted);margin-left:.15rem}
/* SHOP SEARCH ROW + FILTER DRAWER BTN */
.shop-search-row{width:100%}
.shop-search-row .search-wrap{width:100%;max-width:none}
.search-filter-btn{flex-shrink:0;width:38px;height:38px;min-width:38px;display:flex;align-items:center;justify-content:center;background:none;border:none;color:var(--muted);cursor:pointer;transition:color .2s;position:relative}
.search-filter-btn:hover{color:var(--text)}
.search-filter-btn.active{color:var(--text)}
.search-filter-dot{position:absolute;top:8px;right:8px;width:6px;height:6px;background:var(--green);border-radius:50%}
/* FILTER DRAWER — matches cart drawer / site design */
.filter-drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:350;opacity:0;pointer-events:none;transition:opacity .3s}
.filter-drawer-backdrop.open{opacity:1;pointer-events:all}
.filter-drawer{position:fixed;top:0;right:0;bottom:0;width:min(380px,85vw);background:var(--w);z-index:360;box-shadow:-4px 0 24px rgba(0,0,0,.08);transform:translateX(100%);transition:transform .4s var(--ease);display:flex;flex-direction:column;border-left:1px solid var(--border)}
.filter-drawer.open{transform:none}
.filter-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:1.1rem 1.4rem;border-bottom:1px solid var(--border);flex-shrink:0}
.filter-drawer-title{font-family:'EB Garamond',serif;font-size:1.15rem;font-style:italic;font-weight:400;color:var(--text);margin:0}
.filter-drawer-close{background:none;border:none;width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:.9rem;color:var(--muted);cursor:pointer;transition:color .2s}
.filter-drawer-close:hover{color:var(--text)}
.filter-drawer-body{flex:1;overflow-y:auto;padding:.9rem 1.4rem}
.filter-drawer-section{border-bottom:1px solid var(--border)}
.filter-drawer-section:last-child{border-bottom:none}
.filter-drawer-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.85rem 0;font-size:.83rem;font-family:'Outfit',sans-serif;color:var(--text);background:none;border:none;cursor:pointer;text-align:left;transition:background .15s;gap:.5rem}
.filter-drawer-row:hover{background:var(--off)}
.filter-drawer-row-label{font-weight:500;flex-shrink:0}
.filter-drawer-row-value{font-size:.78rem;color:var(--muted);flex:1;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.filter-drawer-section.has-selection .filter-drawer-row-value{color:var(--text);font-weight:500}
.filter-drawer-row-arrow{font-size:.6rem;color:var(--muted);flex-shrink:0;transition:transform .2s}
.filter-drawer-section.expanded .filter-drawer-row-arrow{transform:rotate(180deg)}
.filter-drawer-sub{display:none;padding:0 0 .75rem 0}
.filter-drawer-section.expanded .filter-drawer-sub{display:block}
.filter-drawer-sub-option{display:flex;align-items:center;gap:.6rem;width:100%;padding:.5rem 0;font-size:.8rem;font-family:'Outfit',sans-serif;color:var(--text);background:none;border:none;cursor:pointer;text-align:left;transition:background .15s}
.filter-drawer-sub-option:hover{background:var(--off)}
.filter-drawer-checkbox{width:18px;height:18px;flex-shrink:0;border:1px solid var(--border);border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:.65rem;color:var(--w);background:var(--w);transition:border-color .2s,background .2s}
.filter-drawer-sub-option.selected .filter-drawer-checkbox{background:var(--text);border-color:var(--text);color:var(--w)}
.filter-drawer-option-label{flex:1}
.filter-drawer-line-selector{display:flex;flex-wrap:wrap;gap:.4rem}
.filter-drawer-line-option{border:1px solid var(--border);background:var(--w);padding:.45rem .75rem;font-size:.75rem;font-family:'Outfit',sans-serif;color:var(--text);cursor:pointer;transition:border-color .2s,background .2s;border-radius:6px}
.filter-drawer-line-option:hover{border-color:var(--text);background:var(--off)}
.filter-drawer-line-option.selected{border-color:var(--text);background:var(--text);color:var(--w)}
.filter-drawer-footer{padding:1rem 1.4rem;border-top:1px solid var(--border);flex-shrink:0}
.filter-drawer-clear{font-size:.7rem;color:var(--muted);text-decoration:underline;text-underline-offset:2px;transition:color .2s}
.filter-drawer-clear:hover{color:var(--text)}
/* BOTTOM SHEET */
.bottomsheet-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:350;opacity:0;pointer-events:none;transition:opacity .3s}
.bottomsheet-backdrop.open{opacity:1;pointer-events:all}
.bottomsheet{position:fixed;left:0;right:0;bottom:0;background:var(--w);z-index:360;border-radius:20px 20px 0 0;box-shadow:0 -12px 40px rgba(0,0,0,.18);transform:translateY(100%);transition:transform .35s var(--ease);max-height:75vh;display:flex;flex-direction:column}
.bottomsheet.open{transform:translateY(0)}
.bottomsheet-handle{width:40px;height:5px;background:var(--border);border-radius:3px;margin:12px auto 4px;flex-shrink:0}
.bottomsheet-title{font-size:.8rem;font-weight:600;color:var(--text);padding:1rem 1.5rem .75rem;border-bottom:1px solid var(--border)}
.bottomsheet-options{overflow-y:auto;padding:.5rem 1rem 1.5rem;flex:1;max-height:50vh}
.bottomsheet-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.9rem 1rem;font-size:.9rem;font-family:'Outfit',sans-serif;color:var(--text);background:none;border:none;border-radius:10px;cursor:pointer;text-align:left;transition:background .15s;margin-bottom:2px}
.bottomsheet-option:hover{background:var(--off)}
.bottomsheet-option.selected{font-weight:600;color:var(--text);background:var(--off)}
.bottomsheet-option.selected::after{content:"✓";color:var(--green, #2d7a4f);font-size:.9rem;font-weight:700}
.filter-clear{transition:color .2s}
.filter-clear:hover{color:var(--text)}
.browse-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:.35rem;align-items:stretch}
.no-results{grid-column:1/-1;text-align:center;padding:5rem 1rem;color:var(--muted);font-size:.85rem;line-height:1.8}

/* CATEGORIES */
.cats-page{padding:2.5rem 2rem 5rem}
.cats-page-title{font-family:'EB Garamond',serif;font-size:1.9rem;font-style:italic;margin-bottom:.35rem}
.cats-page-sub{font-size:.78rem;color:var(--muted);margin-bottom:2.5rem}
.cats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}
.ccat{background:var(--w);position:relative;overflow:hidden;aspect-ratio:16/10;cursor:pointer}
.ccat-img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .7s var(--ease)}
.ccat:hover .ccat-img{transform:scale(1.08)}
.ccat-overlay{position:absolute;inset:0;z-index:2;background:linear-gradient(to top,rgba(0,0,0,.68) 0%,rgba(0,0,0,.08) 55%,transparent 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:.85rem 1rem;transition:background .3s}
.ccat:hover .ccat-overlay{background:linear-gradient(to top,rgba(0,0,0,.8) 0%,rgba(0,0,0,.2) 55%,transparent 100%)}
/* Category tile copy — mirrors home hero (.hero-tag, .hero-h, .hero-stats) */
.ccat-overlay--hero .ccat-hero-copy{display:flex;flex-direction:column;gap:.5rem;width:100%;align-items:flex-start;text-align:left}
.ccat-hero-title{font-family:'EB Garamond',serif;font-size:clamp(1.2rem,2.4vw,1.75rem);font-weight:400;line-height:1.15;color:#fff;margin:0}
.ccat-hero-stats{text-align:inherit}
.ccat-hero-stat-n{font-family:'EB Garamond',serif;font-size:clamp(1.35rem,3.2vw,1.75rem);font-style:italic;font-weight:400;color:#fff;line-height:1}
.ccat-hero-stat-l{font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.55);margin-top:.35rem}
/* With photo: stat block above title, anchored to bottom (matches hero-stats + headline) */
.ccat-overlay--hero:not(.ccat-overlay--center) .ccat-hero-copy{gap:.45rem}
.ccat-overlay--hero:not(.ccat-overlay--center) .ccat-hero-title{margin-top:.1rem}
/* Category tile without photo: hero bag image + scrim + centered hero-style type */
.ccat--no-image .ccat-hero-bg{position:absolute;inset:0;z-index:0;background-position:center;background-size:cover;background-repeat:no-repeat;transform:scale(1.06);transition:transform .7s var(--ease)}
.ccat--no-image .ccat-hero-scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(to right,rgba(0,0,0,.55),rgba(0,0,0,.35),rgba(0,0,0,.5)),rgba(8,6,5,.22);backdrop-filter:blur(7px) saturate(1.03);-webkit-backdrop-filter:blur(7px) saturate(1.03);transition:background .3s}
.ccat--no-image .ccat-overlay{justify-content:center;align-items:center;text-align:center;padding:1.25rem 1rem;background:transparent}
.ccat--no-image:hover .ccat-hero-bg{transform:scale(1.12)}
.ccat--no-image:hover .ccat-hero-scrim{background:linear-gradient(to right,rgba(0,0,0,.62),rgba(0,0,0,.4),rgba(0,0,0,.58)),rgba(6,5,4,.28)}
.ccat--no-image:hover .ccat-overlay{background:transparent}
.ccat-overlay--center.ccat-overlay--hero .ccat-hero-copy{align-items:center;text-align:center;gap:.75rem;max-width:min(100%,20rem)}
.ccat-overlay--center.ccat-overlay--hero .ccat-hero-title{font-size:clamp(1.35rem,3.5vw,2rem)}
.ccat-overlay--center.ccat-overlay--hero .ccat-hero-stats{margin-top:.35rem;padding-top:.85rem;border-top:1px solid rgba(255,255,255,.22);width:100%;max-width:11rem}

/* CART DRAWER */
.backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:310;opacity:0;pointer-events:none;transition:opacity .3s}
.backdrop.open{opacity:1;pointer-events:all}
.drawer{position:fixed;right:0;top:0;bottom:0;width:430px;background:var(--w);z-index:320;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .4s var(--ease);border-left:1px solid var(--border)}
.drawer.open{transform:none}
.dhead{display:flex;justify-content:space-between;align-items:center;padding:1.1rem 1.4rem;border-bottom:1px solid var(--border)}
.dhead-t{font-family:'EB Garamond',serif;font-size:1.15rem;font-style:italic}
.dhead-cnt{font-size:.7rem;color:var(--muted);margin-top:.1rem}
.dhead-right{display:flex;align-items:center;gap:.5rem}
.clear-all-btn{background:none;border:none;font-size:.68rem;color:var(--muted);text-decoration:underline;text-underline-offset:2px;cursor:pointer;transition:color .2s}
.clear-all-btn:hover{color:var(--red)}
.xbtn{background:none;border:none;font-size:.9rem;color:var(--muted);width:28px;height:28px;display:flex;align-items:center;justify-content:center;transition:color .2s;cursor:pointer}
.xbtn:hover{color:var(--text)}
.dbody{flex:1;overflow-y:auto;padding:.9rem 1.4rem}
.dempty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;color:var(--muted);text-align:center;padding:3rem 0}
.dempty p{font-size:.75rem}
.dfoot{padding:1rem 1.4rem;border-top:1px solid var(--border);flex-shrink:0;background:var(--w)}
.total-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.9rem}
.total-lbl{font-size:.75rem;color:var(--muted)}
.total-val{font-family:'EB Garamond',serif;font-size:1.35rem}
.ck-btn{width:100%;background:var(--text);color:var(--w);border:none;padding:.85rem;font-size:.73rem;letter-spacing:.13em;text-transform:uppercase;font-weight:500;transition:opacity .2s,transform .15s;cursor:pointer}
.ck-btn:hover{opacity:.82}
.ck-btn:active{transform:scale(.98)}
.ck-btn-outline{background:none;color:var(--text);border:1px solid var(--border);margin-bottom:.75rem}
.ck-btn-outline:hover{background:rgba(0,0,0,.04)}
.ck-btn:disabled,.ck-btn-disabled{opacity:.45;cursor:not-allowed;pointer-events:none}

/* CART ITEMS */
.ci{display:flex;gap:.85rem;padding:.85rem 0;border-bottom:1px solid var(--border)}
.ci-img-wrap{width:80px;height:100px;flex-shrink:0;overflow:hidden;border-radius:6px;background:var(--stone)}
.ci-img-wrap img.ci-img{width:100%;height:100%;object-fit:cover;object-position:center 40%;transition:transform .65s var(--ease),opacity .4s ease;opacity:0}
.ci-img-wrap img.ci-img.img-loaded{opacity:1}
.ci:hover .ci-img-wrap img.ci-img,.ci:active .ci-img-wrap img.ci-img{transform:scale(1.06)}
.ci-img-wrap .ci-img:not(img){width:100%;height:100%;background:var(--stone)}
.ci-info{flex:1;min-width:0}
.ci-brand{font-size:.58rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.ci-name{font-family:'EB Garamond',serif;font-size:.95rem;margin:.1rem 0 .15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ci-sub{font-size:.7rem;color:var(--muted)}
.ci-foot{display:flex;align-items:center;justify-content:space-between;margin-top:.5rem;gap:.5rem}
.ci-price{font-size:.85rem;font-weight:500;flex-shrink:0}
.ci-qty{display:flex;align-items:center;border:1px solid var(--border);flex-shrink:0;min-width:82px;overflow:visible}
.cq{background:none;border:none;width:26px;height:26px;min-width:26px;display:flex;align-items:center;justify-content:center;font-size:.88rem;color:var(--text);transition:background .15s,color .15s;cursor:pointer;line-height:1;position:relative;overflow:visible}
.cq.loading{color:transparent}
.cq.loading::after{content:"";position:absolute;top:50%;left:50%;margin-left:-8px;margin-top:-8px;width:16px;height:16px;border-radius:50%;border:2px solid var(--border);border-top-color:var(--text);animation:spinner .7s ease-in-out infinite}

/* CART PAGE GRID */
.cart-page{max-width:1100px;margin:0 auto;padding:2rem 2rem 5rem}
.cart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4rem 2rem;min-height:280px;width:100%;box-sizing:border-box}
.cart-empty-title{font-family:'EB Garamond',serif;font-size:1.1rem;font-style:italic;margin:0 0 .4rem;color:var(--text);text-align:center;width:100%}
.cart-empty-desc{font-size:.75rem;color:var(--muted);margin:0 0 1.25rem;text-align:center;width:100%}
.cart-grid{display:grid;grid-template-columns:1fr 360px;gap:2rem;align-items:flex-start}
.cq:hover{background:var(--stone)}
.cq.rm:hover{background:var(--red);color:#fff}
.ci-qn{width:28px;text-align:center;font-size:.8rem;font-weight:500}

/* CART PROMOTION CHIPS - horizontal scrollable */
.cart-promotion-rows{display:flex;flex-wrap:nowrap;gap:.5rem;overflow-x:auto;overflow-y:hidden;margin-bottom:.5rem;padding-bottom:.2rem;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.cart-promotion-rows::-webkit-scrollbar{height:4px}
.cart-promotion-rows::-webkit-scrollbar-track{background:var(--stone);border-radius:2px}
.cart-promotion-rows::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}
.cart-promotion-chip{display:flex;align-items:center;gap:.4rem;flex-shrink:0;min-width:fit-content;padding:.3rem .55rem;background:rgba(45,122,79,.07);border:1px solid rgba(45,122,79,.15);border-radius:6px;color:var(--green,#2d7a4f);font-size:.7rem}
.cart-promotion-chip-label{white-space:nowrap;font-weight:500}
.cart-promotion-chip-amount{font-weight:600;font-size:.72rem}

/* CHECKOUT */
.checkout-page{min-height:calc(100vh - var(--nav));display:grid;grid-template-columns:1fr 420px;gap:0}
.co-left{padding:1.5rem 2rem;border-right:1px solid var(--border)}
.co-right{padding:1.5rem 2rem;background:var(--off);position:sticky;top:var(--nav);max-height:calc(100vh - var(--nav));overflow-y:auto}
.co-back{background:none;border:none;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem;display:flex;align-items:center;gap:.4rem;cursor:pointer;transition:color .2s}
.co-back:hover{color:var(--text)}
.co-page-title{font-family:'Outfit',sans-serif;font-size:1rem;font-weight:600;font-style:normal;letter-spacing:.02em;margin:0 0 1rem 0}
.co-subtitle{font-size:.75rem;color:var(--muted);margin-bottom:2.5rem}
.co-2{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.co-field{margin-bottom:.5rem}
.co-field label{font-size:.6rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);display:block;margin-bottom:.28rem}
.co-field input,.co-field select,.co-field textarea{width:100%;border:1px solid var(--border);padding:.62rem .9rem;font-size:.83rem;font-family:'Outfit',sans-serif;background:var(--w);outline:none;transition:border-color .2s,box-shadow .2s}
.co-field input:focus,.co-field select:focus,.co-field textarea:focus{border-color:var(--text);box-shadow:0 0 0 3px rgba(24,20,15,.06)}
.co-field .error-msg{font-size:.68rem;color:var(--red);margin-top:.25rem}
.co-divider{height:1px;background:var(--border);margin:1rem 0}
.place-btn{width:100%;background:var(--text);color:var(--w);border:none;padding:.9rem;font-size:.73rem;letter-spacing:.13em;text-transform:uppercase;font-weight:500;margin-top:1rem;transition:opacity .2s,transform .15s;cursor:pointer}
.place-btn:hover{opacity:.82}
.co-payment-method{background:var(--off);border:1px solid var(--border);border-radius:10px;padding:1rem 1.25rem;margin-bottom:1.25rem}
.co-payment-label{font-size:.9rem;font-weight:500;color:var(--text);display:block}
.co-payment-desc{font-size:.78rem;color:var(--muted);margin-top:.25rem}
.co-delivery-estimate{font-size:.72rem;color:var(--muted);background:var(--stone);border-radius:5px;padding:.5rem .65rem;margin-bottom:1rem;display:flex;align-items:flex-start;gap:.4rem;line-height:1.45}
.co-delivery-estimate__icon{flex-shrink:0;margin-top:.1rem;opacity:.85}
.co-order-policy{margin-bottom:1rem}
.co-order-policy--success{font-size:.78rem;color:var(--muted);line-height:1.55;margin:0 auto 1.75rem;max-width:26rem;text-align:center;padding:0 .5rem}
.cart-delivery-estimate{font-size:.68rem;color:var(--muted);line-height:1.45;margin:.5rem 0 0}
.co-sum-title{font-family:'EB Garamond',serif;font-size:1.1rem;font-style:italic;margin-bottom:1.5rem}
.co-item{display:flex;gap:1rem;padding:.85rem 0;border-bottom:1px solid var(--border);align-items:center}
.co-item:last-child{border-bottom:none}
.co-item-img{width:72px;height:90px;object-fit:cover;object-position:center 40%;background:var(--stone);flex-shrink:0;border-radius:4px;transition:none!important;transform:none!important;animation:none!important;opacity:1!important}
.co-item-info{flex:1}
.co-item-brand{font-size:.58rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.co-item-name{font-family:'EB Garamond',serif;font-size:.9rem;margin:.08rem 0}
.co-item-sub{font-size:.7rem;color:var(--muted)}
.co-item-price{font-size:.85rem;font-weight:500;margin-left:auto;flex-shrink:0}
.promo-row{display:flex;gap:.5rem;margin:1rem 0 1.25rem}
.promo-in{flex:1;border:1px solid var(--border);padding:.5rem .8rem;font-size:.78rem;outline:none;font-family:'Outfit',sans-serif;background:var(--w);transition:border-color .2s}
.promo-in:focus{border-color:var(--text)}
.promo-btn{border:1px solid var(--text);background:none;padding:.5rem .9rem;font-size:.72rem;font-weight:500;letter-spacing:.08em;transition:all .2s;cursor:pointer;font-family:'Outfit',sans-serif}
.promo-btn:hover{background:var(--text);color:var(--w)}
.promo-btn:disabled{opacity:.55;cursor:not-allowed;pointer-events:none}
.co-totals{border-top:1px solid var(--border);padding-top:1rem}
.co-row{display:flex;justify-content:space-between;font-size:.8rem;color:var(--muted);margin-bottom:.4rem}
.co-row.discount{color:var(--green)}
.co-total-final{display:flex;justify-content:space-between;font-size:.95rem;font-weight:600;color:var(--text);margin-top:.65rem;padding-top:.65rem;border-top:1px solid var(--border)}

/* AUTH PAGES */
body.on-auth{overflow:hidden}
body.on-auth .header-wrapper{display:none!important}

/* CHECKOUT PAGE - HIDE HEADER, NO PAGE SCROLL */
body.on-checkout{overflow:hidden;height:100vh}
body.on-checkout .header-wrapper{display:none!important}
body.on-checkout .checkout-page{min-height:100vh;height:100vh;max-height:100vh;overflow:hidden;display:grid}
body.on-checkout .co-left{overflow-y:auto;overflow-x:hidden;min-height:0}
body.on-checkout .co-right{top:0;max-height:100vh;min-height:0}
.auth-page{height:100vh;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;--auth-control-min-h:2.45rem}
.auth-left{background:var(--text);color:var(--w);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center;position:relative;overflow:hidden}
.auth-left::before{content:"";position:absolute;inset:0;background:url('/images/bag.png') center/cover no-repeat;opacity:.2;filter:blur(5px);transform:scale(1.04)}
.auth-left-content{position:relative;z-index:1}
.auth-brand{font-family:'EB Garamond',serif;font-size:2rem;letter-spacing:.25em;text-transform:uppercase;margin-bottom:.75rem}
.auth-tagline{font-size:.85rem;color:rgba(255,255,255,.6);line-height:1.7;max-width:280px;font-weight:300}
.auth-right{display:flex;align-items:center;justify-content:center;padding:3rem 2rem;background:var(--off);overflow-y:auto}
.auth-box{width:100%;max-width:420px;padding:0}
.auth-kicker{display:none}
.auth-kicker-dot{display:none}
.auth-left-subtitle{
  font-family:'EB Garamond',serif;
  font-size:1.55rem;
  font-style:italic;
  font-weight:400;
  color:rgba(255,255,255,.85);
  margin:0 0 .75rem;
  line-height:1.2;
}
.auth-input-readonly{background:var(--stone)!important;color:var(--muted)!important;cursor:default!important}
.auth-forgot-link{
  display:inline-block;
  color:var(--text);
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-color:rgba(24,20,15,.22);
  padding:.35rem 0;
  font-size:.72rem;
  line-height:1.4;
  letter-spacing:.02em;
  flex-shrink:0;
  white-space:nowrap;
}
.auth-forgot-link:hover{opacity:.78}
.auth-remember-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  column-gap:1.75rem;
  row-gap:.65rem;
  margin-top:.35rem;
  margin-bottom:1.25rem;
}
.auth-remember-label{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  font-size:.72rem;
  line-height:1.4;
  color:var(--muted);
  cursor:pointer;
  flex:0 1 auto;
  min-width:0;
}
.auth-remember-label input[type="checkbox"]{
  width:.95rem;
  height:.95rem;
  margin:0;
  accent-color:var(--text);
  cursor:pointer;
  flex-shrink:0;
}
.auth-field--terms{margin-bottom:1.15rem}
/* Beat `.auth-field label { display:block }` so checkbox + text stay one row */
.auth-field label.auth-terms-label{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:.55rem;
  margin-bottom:0;
  font-size:.72rem;
  line-height:1.45;
  color:var(--muted);
  cursor:pointer;
  font-weight:400;
  text-transform:none;
  letter-spacing:normal;
}
.auth-field.auth-field--terms input[type="checkbox"]{
  width:1rem;
  min-width:1rem;
  max-width:1rem;
  height:1rem;
  min-height:1rem;
  margin:.2rem 0 0;
  padding:0;
  flex-shrink:0;
  align-self:flex-start;
  border:1px solid var(--border);
  border-radius:4px;
  background:var(--w);
  accent-color:var(--text);
  cursor:pointer;
  box-shadow:none;
  font-size:inherit;
}
.auth-field.auth-field--terms input[type="checkbox"]:focus{
  outline:none;
  border-color:var(--text);
  box-shadow:0 0 0 2px rgba(24,20,15,.1);
}
.auth-field label.auth-terms-label > span{
  flex:1;
  min-width:0;
}
.auth-field label.auth-terms-label a{color:var(--text);text-decoration:underline;text-underline-offset:2px}
.auth-field label.auth-terms-label a:hover{opacity:.85}
.auth-optional{color:var(--muted);font-size:.58rem}
.auth-field{margin-bottom:1rem}
.auth-field label{font-size:.6rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);display:block;margin-bottom:.3rem}
.auth-field input{width:100%;border:1px solid var(--border);min-height:var(--auth-control-min-h);padding:.62rem 1rem;font-size:.85rem;line-height:1.25;font-family:'Outfit',sans-serif;background:var(--w);outline:none;transition:border-color .2s,box-shadow .2s}
.auth-field input::placeholder{color:var(--muted);opacity:1;font-size:.68rem}
.auth-field input::-webkit-input-placeholder{color:var(--muted);opacity:1;font-size:.68rem}
.auth-field input::-moz-placeholder{color:var(--muted);opacity:1;font-size:.68rem}
.auth-field input:focus{border-color:var(--text);box-shadow:0 0 0 3px rgba(24,20,15,.06)}
.auth-field .error-msg{font-size:.68rem;color:var(--red);margin-top:.28rem}
/* Password field: toggle stacked above input (fix click/hit area); visual matches default auth inputs */
.auth-pw-input-wrap{position:relative;width:100%;overflow:visible}
.auth-pw-input-wrap input{width:100%;padding-right:2.75rem;position:relative;z-index:0}
.auth-pw-toggle{
  position:absolute;
  right:.35rem;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  width:2.35rem;
  height:2.35rem;
  margin:0;
  padding:0;
  border:none;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  border-radius:6px;
  transition:color .2s,background .15s;
  -webkit-tap-highlight-color:transparent;
}
.auth-pw-toggle:hover{color:var(--text);background:rgba(24,20,15,.06)}
.auth-pw-toggle:focus{outline:none}
.auth-pw-toggle:focus-visible{outline:2px solid var(--text);outline-offset:2px}
.auth-pw-toggle svg{width:1.2rem;height:1.2rem;flex-shrink:0;display:block}
.auth-submit{width:100%;background:var(--text);color:var(--w);border:none;min-height:var(--auth-control-min-h);padding:.62rem 1rem;font-size:.73rem;line-height:1.25;letter-spacing:.13em;text-transform:uppercase;font-weight:500;margin-top:0;transition:opacity .2s;cursor:pointer;box-sizing:border-box}
.auth-submit:hover{opacity:.82}
.auth-foot{margin-top:1.25rem;font-size:.78rem;color:var(--muted);text-align:center}
.auth-foot a{color:var(--text);text-decoration:underline;text-underline-offset:2px}
.auth-divider{display:flex;align-items:center;gap:.75rem;margin:1.25rem 0;font-size:.68rem;color:var(--muted)}
.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:var(--border)}

/* Register — stepped wizard */
.auth-register-progress{margin-bottom:1.1rem}
.auth-register-progress-label{margin:0 0 .5rem;text-align:center}
.auth-register-progress-text{font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.auth-register-dots{display:flex;justify-content:center;align-items:center;gap:.45rem}
.auth-register-dot{width:6px;height:6px;border-radius:50%;background:var(--border);transition:background .2s ease,transform .2s ease}
.auth-register-dot.is-active{background:var(--text);transform:scale(1.15)}
.auth-register-step[hidden]{display:none!important}
.auth-step-actions{display:flex;flex-direction:column;gap:.65rem;margin-top:.15rem}
.auth-step-actions--split{flex-direction:row;align-items:stretch}
.auth-step-actions--split .auth-step-back{flex:0 0 auto;min-width:5.5rem}
.auth-step-actions--split .auth-submit{flex:1;min-width:0}
.auth-step-back{
  font-family:'Outfit',sans-serif;
  min-height:var(--auth-control-min-h);
  padding:.62rem 1rem;
  font-size:.68rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  font-weight:500;
  background:transparent;
  border:1px solid var(--border);
  color:var(--muted);
  cursor:pointer;
  box-sizing:border-box;
  transition:color .2s,border-color .2s,background .15s;
  -webkit-tap-highlight-color:transparent;
}
.auth-step-back:hover{color:var(--text);border-color:var(--text);background:rgba(24,20,15,.04)}

/* AUTH — mobile: one scroll column (sticky brand + form); desktop stays split in base .auth-page rules */
@media (max-width:768px){
  /* --auth-vvh: viewport height; scroll on body so pull-to-refresh works (nested .auth-page scroll does not). */
  html:has(body.on-auth){
    height:var(--auth-vvh,100dvh);
    max-height:var(--auth-vvh,100dvh);
    overflow-x:hidden;
    overflow-y:visible;
    background:var(--off);
  }
  body.on-auth{
    display:flex;
    flex-direction:column;
    box-sizing:border-box;
    height:100%;
    max-height:100%;
    min-height:0;
    margin:0;
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    touch-action:manipulation;
    background:var(--off);
    scroll-padding-top:var(--auth-scroll-pad-top,7.5rem);
    scroll-padding-bottom:max(1rem,env(safe-area-inset-bottom,0px));
  }
  /* Single column; body scrolls — .auth-page does not create a nested scrollport */
  .auth-page{
    display:flex;
    flex-direction:column;
    flex:0 0 auto;
    width:100%;
    min-height:0;
    height:auto;
    max-height:none;
    overflow:visible;
    overflow-x:hidden;
    box-sizing:border-box;
    touch-action:manipulation;
    background:var(--off);
    scroll-padding-top:0;
    scroll-padding-bottom:0;
  }
  .auth-left{
    --auth-compress:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    position:sticky;
    top:0;
    z-index:5;
    min-height:0;
    max-height:none;
    overflow:hidden;
    -webkit-overflow-scrolling:touch;
    padding-top:calc((1 - var(--auth-compress)) * 1.7rem + 0.8rem + env(safe-area-inset-top,0px));
    padding-bottom:calc((1 - var(--auth-compress)) * 1.55rem + 0.72rem);
    padding-left:max(1.1rem,env(safe-area-inset-left,0px));
    padding-right:max(1.1rem,env(safe-area-inset-right,0px));
    border-bottom:1px solid rgba(255,255,255,.1);
    box-shadow:0 0 transparent;
    /* Shadow/border ease here; compress itself is lerped in JS (slower expand after keyboard) */
    transition:box-shadow .45s ease,border-color .38s ease;
  }
  .auth-left[data-auth-dense="1"]{
    box-shadow:0 6px 18px rgba(0,0,0,.22);
    border-bottom-color:rgba(255,255,255,.06);
  }
  .auth-left-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:100%;
    max-width:24rem;
    gap:0;
    min-height:0;
  }
  .auth-brand{
    font-size:1.95rem;
    letter-spacing:.22em;
    margin:0 auto;
    margin-bottom:calc((1 - var(--auth-compress)) * 0.72rem);
    padding-left:.11em;
    text-align:center;
    width:max-content;
    max-width:100%;
    box-sizing:content-box;
    transform-origin:center center;
    transform:scale(calc(1 - var(--auth-compress) * 0.22));
  }
  .auth-left-subtitle{
    font-size:1.18rem;
    margin-top:0;
    margin-bottom:calc((1 - var(--auth-compress)) * 0.5rem);
    max-height:calc((1 - var(--auth-compress)) * 5rem + 0.001px);
    opacity:calc(1 - var(--auth-compress));
    overflow:hidden;
  }
  .auth-tagline{
    font-size:.72rem;
    line-height:1.65;
    max-width:24rem;
    margin:0;
    max-height:calc((1 - var(--auth-compress)) * 15rem + 0.001px);
    opacity:calc(1 - var(--auth-compress));
    overflow:hidden;
  }
  .auth-left[data-auth-dense="1"] .auth-left-subtitle,
  .auth-left[data-auth-dense="1"] .auth-tagline{
    pointer-events:none;
  }
  .auth-right{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    flex:0 0 auto;
    min-width:0;
    min-height:0;
    width:100%;
    max-width:100%;
    overflow:visible;
    position:relative;
    z-index:1;
    padding:1.15rem max(1rem,env(safe-area-inset-left,0px)) calc(1.35rem + env(safe-area-inset-bottom,0px)) max(1rem,env(safe-area-inset-right,0px));
  }
  .auth-page .auth-field{
    scroll-margin-top:.5rem;
    scroll-margin-bottom:.5rem;
  }
  .auth-page--login .auth-right{
    margin-top:0;
    padding-top:1.15rem;
    justify-content:flex-start;
    align-items:center;
  }
  .auth-page--login .auth-left{
    padding-bottom:calc((1 - var(--auth-compress)) * 1.5rem + 0.68rem);
  }
  .auth-page--login .auth-box{
    flex:0 1 auto;
    width:100%;
    max-width:420px;
    min-height:0;
  }
  .auth-box{
    max-width:100%;
    width:100%;
    flex:0 1 auto;
    min-width:0;
    min-height:0;
    box-sizing:border-box;
  }
}

/* LEGAL (privacy policy, etc.) */
.legal-page{padding:2.25rem 2rem 5rem;max-width:720px;margin:0 auto}
.legal-page h1{font-family:'EB Garamond',serif;font-size:1.85rem;font-style:italic;font-weight:400;color:var(--text);margin:0 0 .35rem;line-height:1.2}
.legal-page .legal-updated{font-size:.72rem;letter-spacing:.06em;color:var(--muted);margin-bottom:2rem;text-transform:uppercase}
.legal-page .legal-prose{font-size:.88rem;line-height:1.65;color:var(--text)}
.legal-page .legal-prose h2{font-family:'Outfit',sans-serif;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text);font-weight:600;margin:2rem 0 .65rem}
.legal-page .legal-prose p{margin:0 0 1rem}
.legal-page .legal-prose ul{margin:0 0 1rem 1.15rem;padding:0}
.legal-page .legal-prose li{margin-bottom:.35rem}
.legal-page .legal-prose a{color:var(--text);text-decoration:underline;text-underline-offset:2px}
.legal-page .legal-prose a:hover{opacity:.85}
.legal-back{display:inline-block;margin-top:2.5rem;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);text-decoration:none}
.legal-back:hover{color:var(--text)}
.legal-page--compact{max-width:640px}
.legal-page--compact .legal-updated{margin-bottom:1.25rem}
.legal-page--compact .legal-prose{font-size:.84rem;line-height:1.58}
.legal-page--compact .legal-prose h2{margin:1.35rem 0 .45rem}
.legal-page--compact .legal-prose li{margin-bottom:.28rem}
.legal-page--compact .legal-back{margin-top:1.75rem}

/* FAQ */
.faq-page .faq-list{margin-top:.5rem}
.faq-item{border:1px solid var(--border);border-radius:8px;margin-bottom:.65rem;background:var(--w);overflow:hidden}
.faq-item[open]{box-shadow:0 2px 12px rgba(0,0,0,.04)}
.faq-summary{
  font-family:'Outfit',sans-serif;
  font-size:.82rem;
  font-weight:600;
  color:var(--text);
  padding:.85rem 1rem .85rem 2.35rem;
  cursor:pointer;
  list-style:none;
  position:relative;
  line-height:1.35;
}
.faq-summary::-webkit-details-marker{display:none}
.faq-summary::before{
  content:'+';
  position:absolute;
  left:1rem;
  top:50%;
  transform:translateY(-50%);
  font-size:1rem;
  font-weight:400;
  color:var(--muted);
  width:1rem;
  text-align:center;
}
.faq-item[open] .faq-summary::before{content:'–'}
.faq-summary:hover{color:var(--text)}
.faq-body{padding:0 1rem 1rem 2.35rem}
.faq-body p:last-child{margin-bottom:0}
.faq-more{font-size:.88rem;color:var(--muted)}

/* ACCOUNT / PROFILE */
.pg{padding:2.25rem 2rem 5rem}
.pg-eye{font-size:.63rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-bottom:.35rem}
.pg-title{font-family:'EB Garamond',serif;font-size:1.9rem;font-style:italic;margin-bottom:2rem}
.profile-hero-banner{background:var(--text);color:var(--w);padding:2.5rem 1.5rem 4rem;display:flex;flex-direction:column;gap:1.5rem;min-height:220px}
.profile-hero-back{background:none;border:none;font-size:.9rem;color:rgba(255,255,255,.9);cursor:pointer;align-self:flex-start;padding:0}
.profile-hero-content{display:flex;align-items:center;gap:1.5rem;flex:1}
.profile-big-avatar{width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.15);color:var(--w);display:flex;align-items:center;justify-content:center;font-size:1.3rem;font-weight:600;flex-shrink:0;border:2px solid rgba(255,255,255,.25)}
.profile-hero-name{font-family:'EB Garamond',serif;font-size:1.6rem;font-weight:400}
.profile-hero-email{font-size:.75rem;color:rgba(255,255,255,.5);margin-top:.2rem}
.profile-tabs{display:flex;border-bottom:1px solid var(--border);background:var(--w);padding:0 2.5rem;overflow-x:auto}
.ptab{background:none;border:none;border-bottom:2px solid transparent;padding:1rem 1.2rem;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);transition:all .2s;cursor:pointer;white-space:nowrap}
.ptab:hover{color:var(--text)}
.ptab.active{color:var(--text);border-bottom-color:var(--text)}
.profile-signout-form{margin-left:auto}
.ptab-signout{color:var(--red)!important}
.ptab-signout:hover{color:var(--red);opacity:.85}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2rem}
.dash-stat{background:var(--off);border:1px solid var(--border);padding:1.25rem;border-radius:8px;min-width:0}
.dash-stat-label{font-size:.6rem;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);margin-bottom:.3rem}
.dash-stat-value{font-family:'EB Garamond',serif;font-size:2rem;margin:0}
.profile-tab-content{display:none;padding:2.5rem}
.profile-tab-content.active{display:block}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;max-width:600px}
.sfield label{font-size:.6rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);display:block;margin-bottom:.3rem}
.sfield input,.sfield select{width:100%;border:1px solid var(--border);padding:.62rem .9rem;font-size:.83rem;font-family:'Outfit',sans-serif;background:none;outline:none;transition:border-color .2s}
.sfield input:focus,.sfield select:focus{border-color:var(--text)}
.sfield-full{grid-column:1/-1}
.save-btn{background:var(--text);color:var(--w);border:none;padding:.7rem 2rem;font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;font-weight:500;margin-top:1.25rem;transition:opacity .2s;cursor:pointer}
.save-btn:hover{opacity:.82}
.danger-zone{margin-top:2.5rem;padding-top:2rem;border-top:1px solid var(--border);max-width:600px}
.danger-title{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--red);margin-bottom:.75rem}
.danger-btn{background:none;border:1px solid var(--red);color:var(--red);padding:.55rem 1.25rem;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;transition:all .2s;font-family:'Outfit',sans-serif}
.danger-btn:hover{background:var(--red);color:var(--w)}
.ocard{background:var(--w);border:1px solid var(--border);padding:1.25rem 1.5rem;margin-bottom:.75rem}
.ocard-header{margin-bottom:1rem}
.ocard-id{font-size:1rem;font-weight:600;color:var(--text)}
.ocard-meta{font-size:.82rem;color:var(--muted);margin-top:.25rem}
.ocard-status{text-transform:capitalize;padding:.15rem .55rem;border-radius:999px;font-size:.7rem;font-weight:500}
.status-delivered{background:#d1fae5;color:#065f46}
.status-processing{background:#fef3c7;color:#92400e}
.status-cancelled{background:#fee2e2;color:#991b1b}
.status-pending{background:#f3f4f6;color:#374151}
.o-item{display:flex;justify-content:space-between;padding:.4rem 0;font-size:.88rem;border-bottom:1px solid var(--border)}
.o-item:last-child{border-bottom:none}
.ocard-footer{display:flex;justify-content:space-between;align-items:center;padding-top:.85rem;margin-top:.5rem;border-top:1px solid var(--border)}
.ocard-total{font-size:1rem;font-weight:600}
.loy-card{background:var(--text);color:var(--w);padding:2rem;margin-bottom:1.75rem}
.loy-tier{font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:.35rem}
.loy-pts{font-family:'EB Garamond',serif;font-size:3rem;font-weight:400;line-height:1}
.loy-pts-l{font-size:.65rem;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.45);margin-top:.15rem;margin-bottom:1.5rem}
.tier-labels{display:flex;justify-content:space-between;font-size:.65rem;color:rgba(255,255,255,.38);margin-bottom:.38rem}
.tier-bar{height:2px;background:rgba(255,255,255,.12)}
.tier-fill{height:100%;background:rgba(255,255,255,.6)}
.tier-hint{font-size:.65rem;color:rgba(255,255,255,.3);margin-top:.35rem}
.hist{border:1px solid var(--border);margin-bottom:1.5rem}
.hist-row{display:flex;justify-content:space-between;align-items:center;padding:.45rem .85rem;border-bottom:1px solid var(--border);font-size:.75rem}
.hist-row:last-child{border:none}
.hist-title{font-weight:500;color:var(--text);font-size:.75rem}
.hist-date{font-size:.62rem;color:var(--muted);margin-top:.06rem}
.earn{color:var(--green);font-weight:500}
.spend{color:var(--red);font-weight:500}

/* LOYALTY REWARDS PAGE */
.loy-tier-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:.35rem}
.loy-tier-row .loy-tier{margin-bottom:0}
.loy-card-help{width:24px;height:24px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.15);color:var(--w);font-size:.8rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s,background .2s;font-family:'Outfit',sans-serif;flex-shrink:0}
.loy-card-help:hover{background:rgba(255,255,255,.3)}
.bottomsheet-content .rewards-help-step{display:flex;align-items:flex-start;gap:.85rem;padding:.85rem 0;border-bottom:1px solid var(--border)}
.bottomsheet-content .rewards-help-step:last-child{border-bottom:none}
.rewards-help-num{width:28px;height:28px;border-radius:50%;background:var(--text);color:var(--w);font-size:.8rem;font-weight:600;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.rewards-help-title{font-size:.9rem;font-weight:600;margin:0 0 .2rem;color:var(--text)}
.rewards-help-desc{font-size:.82rem;color:var(--muted);margin:0;line-height:1.45}
.reward-card{border:1px solid var(--border);padding:.65rem 1rem;margin-bottom:.5rem;display:flex;justify-content:space-between;align-items:center}
.reward-card.claimed{opacity:.6}
.reward-code{font-family:'EB Garamond',serif;font-size:1rem;letter-spacing:.08em;font-weight:400}
.reward-code-sub{font-size:.65rem;color:var(--muted);margin-top:.12rem}
.reward-badge{font-size:.68rem;padding:.25rem .65rem;border-radius:999px;font-weight:500;background:#d1fae5;color:#065f46;white-space:nowrap}
.reward-badge.expired{background:#fee2e2;color:#991b1b}
.target-card{border:1px solid var(--border);padding:1.25rem 1.5rem;margin-bottom:.75rem}
.target-pts{font-family:'EB Garamond',serif;font-size:1.5rem;font-weight:400;color:var(--text)}
.target-name{font-size:.85rem;font-weight:500;margin-bottom:.15rem}
.target-desc{font-size:.78rem;color:var(--muted)}
.target-progress{margin-top:1rem}
.target-progress-bar{height:3px;background:var(--stone);border-radius:999px;overflow:hidden}
.target-progress-fill{height:100%;background:var(--text);border-radius:999px}
.target-progress-label{font-size:.68rem;color:var(--muted);margin-top:.3rem}

/* PRODUCT DETAIL PAGE */
.pd-full-page{padding:1.5rem 2rem 4rem}
.pd-full-back{background:none;border:none;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem;display:flex;align-items:center;gap:.4rem;cursor:pointer;transition:color .2s}
.pd-full-back:hover{color:var(--text)}
.pd-full-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
.pd-full-img-wrap{position:sticky;top:calc(var(--nav) + 1.5rem);background:var(--stone);border-radius:4px}
.pd-full-img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center 40%;border-radius:4px;opacity:0;transition:opacity .45s ease;max-height:420px}
.pd-full-img.img-loaded{opacity:1}
.pd-info{display:flex;flex-direction:column;gap:.4rem}
.pd-brand{font-size:.62rem;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);margin:0}
.pd-name{font-family:'EB Garamond',serif;font-size:2.25rem;font-weight:400;line-height:1.2;margin:0}
.pd-promos{display:flex;flex-wrap:wrap;gap:.25rem;margin:0}
.pd-price-block{display:flex;flex-direction:column;gap:.15rem;margin:0}
.pd-price-current{font-family:'EB Garamond',serif;font-size:1.65rem;font-weight:500;letter-spacing:.03em;line-height:1.2}
.pd-price-current.pd-price-sale{color:#b45309}
.pd-price-original{font-size:.75rem;color:var(--muted);text-decoration:line-through;font-weight:400}
.pd-desc{font-size:.85rem;color:var(--muted);line-height:1.7;font-weight:300;margin:0}
.pd-meta{display:flex;gap:.4rem;flex-wrap:wrap;margin:0}
.pd-meta span{font-size:.68rem;border:1px solid var(--border);padding:.15rem .5rem;color:var(--muted)}
.pd-stock{font-size:.72rem;margin:0}
.pd-lbl{font-size:.58rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 .2rem;display:block}
.pd-notes{display:flex;flex-wrap:wrap;gap:.3rem;margin:0}
.pd-note-tag{font-size:.72rem;border:1px solid var(--border);padding:.2rem .6rem;color:var(--text)}
.pd-sizes{display:flex;gap:.35rem;flex-wrap:wrap;margin:0}
.sz-btn{border:1px solid var(--border);background:none;padding:.35rem .75rem;font-size:.75rem;font-family:'Outfit',sans-serif;color:var(--muted);transition:all .2s;cursor:pointer}
.sz-btn:hover,.sz-btn.on{border-color:var(--text);color:var(--text)}
.pd-variants{display:flex;flex-wrap:wrap;gap:.4rem;margin:0}
.pd-stock-info{font-size:.72rem;color:var(--muted);margin:0}
.pd-qty{display:inline-flex;align-items:center;border:1px solid var(--border);margin:0;width:min-content}
.qb{background:none;border:none;width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:.85rem;transition:background .15s;cursor:pointer}
.qb:hover{background:var(--stone)}
.qv{width:1.75rem;text-align:center;font-size:.78rem;font-weight:500}
.pd-add-btn{width:100%;background:var(--text);color:var(--w);border:none;padding:.75rem;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;font-weight:500;transition:opacity .2s,transform .15s;cursor:pointer;margin:0}
.pd-add-btn:hover:not(:disabled){opacity:.82}
.pd-add-row .pd-add-btn{width:100%}
.pd-add-row{position:relative}
.pd-add-row .pd-add-btn{position:relative;z-index:2}
.pd-bag-link{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:none;border-radius:8px;color:var(--text);text-decoration:none;transition:background .2s;flex-shrink:0;position:relative;z-index:1}
.pd-bag-link:hover{background:var(--stone)}
@media(max-width:768px){
.pd-add-row{flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:.75rem}
.pd-add-row .pd-add-btn{min-height:48px;flex:1}
.pd-add-row .pd-bag-link{width:48px;flex-shrink:0}
}
.pd-bag-badge{position:absolute;top:2px;right:2px;min-width:18px;height:18px;padding:0 4px;border-radius:50%;background:var(--text);color:var(--w);font-size:.55rem;font-weight:600;display:flex;align-items:center;justify-content:center;border:1.5px solid var(--w)}
.pd-variant-btn{border:1px solid var(--border);background:var(--w);color:var(--text);padding:.35rem .85rem;font-size:.72rem;cursor:pointer;transition:border-color .15s,background .15s;border-radius:4px}
.pd-variant-btn:hover:not(:disabled):not(.oos){border-color:var(--text)}
.pd-variant-btn.selected{background:var(--text);color:var(--w);border-color:var(--text)}
.pd-variant-btn.oos{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.pd-wishlist-btn{width:100%;background:none;border:1px solid var(--border);padding:.65rem;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text);transition:all .2s;cursor:pointer;margin-top:.25rem}
.pd-wishlist-btn:hover{border-color:var(--text);background:var(--off)}
.pd-share-row{display:flex;align-items:center;gap:.4rem;margin-top:.5rem}
.pd-share-btn{display:inline-flex;align-items:center;gap:.35rem;background:none;border:1px solid var(--border);padding:.4rem .75rem;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text);transition:all .2s;cursor:pointer;font-family:inherit}
.pd-share-btn:hover{border-color:var(--text);background:var(--off)}
.review-textarea{font-size:.9rem;font-family:'Outfit',sans-serif}

/* CTA + FOOTER */
.cta-section{text-align:center;padding:4rem 2rem;background:var(--off);border-top:1px solid var(--border);margin-top:4rem}
.cta-section h2{font-family:'EB Garamond',serif;font-size:1.75rem;font-weight:400;font-style:italic;color:var(--text);margin-bottom:.75rem}
.cta-section p{font-size:.95rem;color:var(--muted);max-width:420px;margin:0 auto 1.5rem;line-height:1.6}

/* EMAIL FOR OFFERS */
.email-offers-section{text-align:center;padding:3rem 2rem;background:var(--text);color:var(--w)}
.email-offers-title{font-family:'EB Garamond',serif;font-size:1.35rem;font-weight:400;font-style:italic;margin-bottom:.5rem}
.email-offers-desc{font-size:.85rem;color:rgba(255,255,255,.75);margin-bottom:1.25rem}
.email-offers-form{max-width:400px;margin:0 auto}
.email-offers-row{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap}
.email-offers-input{flex:1;min-width:200px;padding:.6rem .9rem;font-family:'Outfit',sans-serif;font-size:.72rem;font-weight:500;letter-spacing:.1em;border:none;background:var(--w);color:var(--text);outline:none}
.email-offers-btn{background:rgba(255,255,255,.9);color:var(--text);border:none;padding:.6rem 1.25rem;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:500;cursor:pointer;white-space:nowrap}
.email-offers-btn:hover{background:var(--w)}
.email-offers-verified{font-size:.9rem;color:rgba(255,255,255,.9)}
.email-offers-guest{font-size:.9rem;color:rgba(255,255,255,.8)}
.email-offers-guest a{color:var(--w);text-decoration:underline}
.email-offers-hint{font-size:.78rem;color:rgba(255,255,255,.7);margin-top:1rem;margin-bottom:0;max-width:420px;margin-left:auto;margin-right:auto;line-height:1.5}
.email-offers-profile-link{color:rgba(255,255,255,.95);text-decoration:underline;text-underline-offset:2px}
.email-offers-profile-link:hover{color:var(--w)}
.email-offers-error{font-size:.8rem;color:#fca5a5;margin-bottom:.5rem}
.home-email-verify{margin-top:2.5rem;border-radius:14px}
.home-email-verify .email-offers-input{border-radius:8px;border:1px solid rgba(255,255,255,.12);font-size:.72rem!important}
.home-email-verify .email-offers-btn{border-radius:8px}
@media(max-width:520px){
  .home-email-verify .email-offers-row{flex-direction:column;align-items:stretch}
  .home-email-verify .email-offers-btn{width:100%}
}
.cta-btn{background:var(--text);color:var(--w);border:none;padding:.75rem 1.75rem;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;font-weight:500;cursor:pointer;transition:opacity .2s}
.cta-btn:hover{opacity:.9}
.home-footer{border-top:1px solid var(--border);padding:3rem 2rem 2.5rem;background:var(--off)}
.home-footer-inner{max-width:1000px;margin:0 auto;text-align:center}
.home-footer-logo{font-family:'EB Garamond',serif;font-size:1.25rem;letter-spacing:.25em;text-transform:uppercase;color:var(--text)}
.home-footer-tagline{font-size:.78rem;color:var(--muted);margin-top:.35rem;margin-bottom:1.5rem}
.home-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:1.25rem 1.75rem;margin-bottom:1.5rem}
.home-footer-link{background:none;border:none;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);cursor:pointer;transition:color .2s;text-decoration:none;display:inline-block}
.home-footer-link:hover{color:var(--text)}
.home-footer-contact{display:flex;flex-direction:column;align-items:center;gap:1rem;margin-bottom:1.5rem}
.home-footer-email{font-size:.72rem;letter-spacing:.08em;color:var(--muted);transition:color .2s}
.home-footer-email:hover{color:var(--text)}
.home-footer-social{display:flex;justify-content:center;align-items:center;gap:.5rem}
.home-footer-social-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--border);border-radius:50%;color:var(--muted);transition:color .2s,border-color .2s,background .2s}
.home-footer-social-btn:hover{color:var(--text);border-color:var(--text);background:var(--w)}
.home-footer-copy{font-size:.68rem;color:var(--muted)}

/* SNACKBAR — full width, floating, black */
.snackbar{position:fixed;bottom:calc(1rem + env(safe-area-inset-bottom));left:16px;right:16px;width:calc(100% - 32px);z-index:910;opacity:0;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease;pointer-events:none}
.snackbar.show{opacity:1;transform:translateY(0);pointer-events:auto}
.snackbar-inner{display:flex;align-items:center;gap:.5rem;background:#000;color:#fff;padding:.5rem 1rem;padding-bottom:calc(.5rem + env(safe-area-inset-bottom));border-radius:0;box-shadow:0 -4px 20px rgba(0,0,0,.3);width:100%}
.snackbar-inner .snackbar-content{flex:1;min-width:0;position:relative;padding-right:1.25rem}
.snackbar-msg{font-size:.75rem;line-height:1.4;margin:0;color:#fff}
.snackbar-list{margin:0;padding-left:.9rem;font-size:.72rem;line-height:1.4;color:rgba(255,255,255,.95)}
.snackbar-list li{margin-bottom:.1rem}
.snackbar-list li:last-child{margin-bottom:0}
.snackbar-close{position:absolute;top:50%;right:0;transform:translateY(-50%);background:none;border:none;color:rgba(255,255,255,.7);font-size:.9rem;cursor:pointer;padding:0;line-height:1;width:20px;height:20px;display:flex;align-items:center;justify-content:center;transition:color .15s}
.snackbar-close:hover{color:#fff}

/* SCROLL REVEAL — section fades in when in view */
.shop-body .section,.browse-page .section{opacity:0;transform:translateY(40px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.shop-body .section.in-view,.browse-page .section.in-view{opacity:1;transform:translateY(0)}

/* BUTTON LOADING SPINNER */
.btn-loading{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;opacity:.9}
.btn-loading::before{content:"";width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:var(--w);animation:spinner .7s ease-in-out infinite}
@keyframes spinner{to{transform:rotate(360deg)}}

/* PHONE PREFIX INPUT — prefix with divider and background, container matches other fields */
.phone-prefix-wrap{display:flex;align-items:stretch;width:100%;border:1px solid var(--border);background:var(--w);overflow:hidden;box-sizing:border-box}
.auth-field .phone-prefix-wrap{min-height:var(--auth-control-min-h)}
.phone-prefix-wrap:focus-within{border-color:var(--text);box-shadow:0 0 0 3px rgba(24,20,15,.06)}
.phone-prefix-wrap .phone-prefix{display:flex;align-items:center;padding:0 .6rem;background:var(--stone);color:var(--muted);font-size:.72rem;font-weight:500;border-right:1px solid var(--border)}
.phone-prefix-wrap input{flex:1;border:none;background:transparent;min-width:0;outline:none;font-size:.78rem}
.auth-field .phone-prefix-wrap input{padding:.62rem .85rem;min-height:0}
.co-field .phone-prefix-wrap input,.sfield .phone-prefix-wrap input{padding:.62rem .85rem}
.auth-field .phone-prefix-wrap input:focus,.co-field .phone-prefix-wrap input:focus,.sfield .phone-prefix-wrap input:focus{box-shadow:none}

/* ALERT / FLASH */
.alert{padding:.75rem 1rem;font-size:.82rem;margin-bottom:1rem}
.alert-success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}
.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}

/* RESPONSIVE */
@media(max-width:1024px){
  .checkout-page{grid-template-columns:1fr}.co-right{position:static;max-height:none;border-top:1px solid var(--border)}.co-left{border-right:none}
  .grid-4{grid-template-columns:repeat(5,1fr);align-items:stretch}
  .browse-grid{grid-template-columns:repeat(5,1fr);align-items:stretch}.cats-grid{grid-template-columns:repeat(2,1fr)}.pd-full-grid{grid-template-columns:1fr;gap:2rem}.pd-full-img-wrap{position:static}.cart-grid{grid-template-columns:1fr 320px}
}
@media(max-width:768px){
  /* Prevent iOS zoom on input focus (requires font-size >= 16px) */
  input,select,textarea{font-size:16px!important}
  /* Keep register terms checkbox small; exclude from 16px text-input rule */
  body.on-auth .auth-field.auth-field--terms input[type="checkbox"]{
    font-size:1rem!important;
    width:1.125rem!important;
    min-width:1.125rem!important;
    max-width:1.125rem!important;
    height:1.125rem!important;
    min-height:1.125rem!important;
  }
  body.on-auth .auth-field input::placeholder,
  body.on-auth .auth-field input::-webkit-input-placeholder,
  body.on-auth .auth-field input::-moz-placeholder{font-size:.68rem!important;color:var(--muted)!important;opacity:1!important}
  .cart-page,.browse-page,.pd-full-page,.pg.favorites-page,.legal-page{padding-left:16px!important;padding-right:16px!important}
  .nav-links{display:none}.hamburger{display:flex}.grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}.shop-body{padding:0 1.25rem 4rem}.browse-grid{grid-template-columns:repeat(2,1fr)}.browse-top{flex-direction:column;align-items:flex-start}.search-wrap{max-width:100%;width:100%}.profile-tabs{padding:0 1.25rem}.profile-tab-content{padding:1.75rem 1.25rem}.settings-grid{grid-template-columns:1fr}.drawer{width:100%}.co-left{padding:2rem 1.25rem}.co-right{display:none}.co-2{grid-template-columns:1fr}.cart-grid{display:block}.cart-items{max-height:calc(100vh - 280px);overflow-y:auto;padding-bottom:220px}.cart-summary{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;height:auto!important;flex:none!important;border-radius:0;border:none;padding:.75rem 1rem;padding-bottom:calc(.75rem + env(safe-area-inset-bottom));background:var(--w);box-shadow:0 -6px 24px rgba(0,0,0,.08);z-index:100}
  .cart-summary h2,.cart-summary .cart-continue-link{display:none!important}
  body.on-cart .snackbar{bottom:calc(5.5rem + env(safe-area-inset-bottom))}
  .grid-home,.browse-grid,.grid-4,.grid-3{align-items:stretch}
  .grid-home{display:grid!important;grid-template-columns:repeat(2,1fr);overflow:visible;scroll-snap-type:none;gap:.5rem;padding:0}
  .grid-home .pcard-home{width:auto;min-width:0;flex:none}
  .favorites-page .grid-home{display:grid!important;grid-template-columns:repeat(2,1fr);gap:.5rem}
  .pcard{min-height:0}
  .pcard-img{flex-shrink:0}
  .pcard-price-wrap{min-height:1.8em}
  .pcard-prices{min-height:1.2em}
  .pcard-promo-area{height:1.8em}
  .pcard-home .pcard-name{min-height:1.6em}
  .pcard-home .pcard-reviews-area{min-height:1.5em}
  .pcard .pcard-heart{opacity:1}
  .dashboard-stats{grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1.5rem}
  .dash-stat{padding:.85rem}
  .dash-stat-label{font-size:.55rem;letter-spacing:.12em;word-break:break-word}
  .dash-stat-value{font-size:1.35rem}
}
@media(max-width:480px){
  .grid-4,.grid-3,.browse-grid{grid-template-columns:repeat(2,1fr);align-items:stretch}.cats-grid{grid-template-columns:1fr}.hero-h{font-size:2.2rem}.hero-stats{gap:1rem}
}
