:root{--ink: #15110d;--muted: #756b61;--paper: #fffaf3;--panel: #f5ecdf;--gold: #c9963f;--copper: #9b3f12;--wine: #6d2231;--sage: #66745a;--line: #e2d3c1;--shadow: 0 20px 50px rgba(35, 22, 11, .15)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body.drawer-open{overflow:hidden}::selection{background:#c9963f59}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.topbar{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;min-height:82px;padding:12px clamp(18px,4vw,64px);border-bottom:1px solid rgba(226,211,193,.75);background:#fffaf3eb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transition:min-height .22s ease,box-shadow .22s ease,background .22s ease}.topbar.scrolled{min-height:66px;background:#fffaf3f7;box-shadow:0 12px 40px #23160b1f}.brand{display:inline-flex;align-items:center;gap:12px;font-family:Georgia,serif;font-size:clamp(20px,2vw,28px);color:#2b1c11}.brand img{width:58px;height:58px;border-radius:50%;transition:transform .26s ease,filter .26s ease}.brand:hover img{filter:drop-shadow(0 8px 18px rgba(201,150,63,.35));transform:rotate(-4deg) scale(1.04)}.nav{display:flex;justify-content:center;gap:clamp(12px,2vw,28px);color:#4c3b2c;font-size:14px;font-weight:700;text-transform:uppercase}.nav a:hover{color:var(--copper)}.nav a{position:relative;padding-block:6px}.nav a:after{position:absolute;left:0;right:0;bottom:0;height:2px;content:"";background:var(--gold);transform:scaleX(0);transform-origin:right;transition:transform .22s ease}.nav a:hover:after{transform:scaleX(1);transform-origin:left}.cart-button,.drawer-head button{display:inline-flex;align-items:center;gap:10px;min-height:42px;border:1px solid #221912;background:#221912;color:#fff;cursor:pointer;padding:0 16px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.cart-button:hover,.drawer-head button:hover{box-shadow:0 12px 24px #23160b33;transform:translateY(-1px)}.cart-button strong{display:grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:var(--gold);color:#160f0a}.cart-button.bump strong{animation:cartBump .42s ease}.hero{position:relative;min-height:calc(100vh - 82px);display:grid;align-items:end;padding:clamp(80px,12vw,150px) clamp(18px,6vw,90px) 54px;overflow:hidden;isolation:isolate}.hero:after{display:none}.hero-slider{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;display:flex;transition:transform .7s cubic-bezier(.22,1,.36,1)}.hero-slide{position:relative;flex:0 0 100%;display:grid;align-items:end;padding:clamp(80px,12vw,150px) clamp(18px,6vw,90px) 54px}.hero-slide:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;content:"";background:linear-gradient(90deg,#0a080694,#0a080638 48%,#0a08060a)}.hero-slide img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;transform:scale(1.02);transition:transform .9s ease,filter .9s ease;z-index:0}.hero:hover .hero-slide.is-active img{filter:saturate(1.04);transform:scale(1.06)}.hero-content{position:relative;z-index:2;width:min(680px,100%);color:#fff;animation:heroIntro .78s ease both;opacity:1;text-shadow:0 3px 10px rgba(0,0,0,.82),0 12px 34px rgba(0,0,0,.55)}.hero .hero-content h1,.hero .hero-content p,.hero .hero-content .eyebrow{opacity:1}.hero .hero-content h1{color:#fff!important;text-shadow:0 4px 12px rgba(0,0,0,.86),0 18px 42px rgba(0,0,0,.62)}.hero .hero-content p:not(.eyebrow){color:#fff!important;font-weight:600}.hero-dots{position:absolute;left:clamp(18px,6vw,90px);bottom:18px;z-index:3;display:flex;gap:8px}.hero-dots button,.hero-controls button{border:1px solid rgba(255,255,255,.55);background:#140e0980;color:#fff;cursor:pointer}.hero-dots button{width:34px;height:4px;padding:0}.hero-dots button.active{background:var(--gold);border-color:var(--gold)}.hero-controls{position:absolute;right:clamp(18px,4vw,60px);bottom:28px;z-index:3;display:flex;gap:8px}.hero-controls button{width:44px;height:44px;font-size:28px;line-height:1}.eyebrow{margin:0 0 12px;color:var(--gold);font-size:13px;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{margin-bottom:18px;font-family:Georgia,serif;font-size:clamp(56px,9vw,118px);font-weight:500;line-height:.92;color:#fff}h2{font-family:Georgia,serif;font-size:clamp(34px,4vw,58px);font-weight:500;line-height:1}h3{font-size:18px}.hero-content p:not(.eyebrow){max-width:560px;color:#fff;font-size:clamp(17px,2vw,22px);line-height:1.6}.hero-actions,.searchbar,.drawer-head,.total-line,.product-actions,.admin-actions,.order-row{display:flex;align-items:center;gap:12px}.button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:1px solid transparent;cursor:pointer;padding:0 20px;font-weight:800;overflow:hidden;transition:transform .16s ease,background .16s ease,border .16s ease}.button:before{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(100deg,transparent 0 35%,rgba(255,255,255,.28),transparent 65% 100%);transform:translate(-120%);transition:transform .52s ease}.button:hover{transform:translateY(-2px)}.button:hover:before{transform:translate(120%)}.button:active{transform:translateY(0) scale(.99)}input:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px #c9963f29}.primary{background:var(--copper);color:#fff}.secondary{border-color:var(--line);background:#fff;color:var(--ink)}.ghost{border-color:#ffffff8c;color:#fff}.ghost.dark{border-color:#3a2a1b;color:#2a1f16}.full{width:100%}.strip{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--line);background:#17110d;color:#fff}.strip div{padding:22px clamp(18px,4vw,60px);border-right:1px solid rgba(255,255,255,.16);transition:background .22s ease}.strip div:hover{background:#ffffff0f}.strip strong,.strip span{display:block}.strip span{margin-top:4px;color:#d8c8b7}.catalog,.status-panel,.auth-page,.member-area,.admin{padding:clamp(54px,8vw,96px) clamp(18px,5vw,72px)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}.searchbar input,.searchbar select,.filters select,.filters input,.status-form input,.checkout input,.checkout textarea,.admin-form input,.admin-form textarea,.order-row select{width:100%;min-height:46px;border:1px solid var(--line);background:#fff;color:var(--ink);padding:10px 12px;outline:none}.admin-form textarea{min-height:96px;resize:vertical}.searchbar input{width:min(340px,44vw)}.shop-layout{display:grid;grid-template-columns:280px 1fr;gap:28px;align-items:start}.filters{position:sticky;top:104px;display:grid;gap:16px;border:1px solid var(--line);background:#fffdf9;padding:20px;box-shadow:0 12px 35px #23160b0f}.filters label,.admin-form label{display:grid;gap:8px;color:#4b3b30;font-size:13px;font-weight:800}.check{grid-template-columns:auto 1fr;align-items:center}.check input{width:auto;min-height:auto}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{position:relative;display:grid;background:#fff;border:1px solid var(--line);box-shadow:0 14px 36px #23160b14;overflow:hidden;transform:translateY(0);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.product-card:hover{border-color:#c9963fb8;box-shadow:0 24px 54px #23160b29;transform:translateY(-6px)}.product-card img{width:100%;aspect-ratio:1 / 1.08;object-fit:cover;background:#efe2d2;transition:transform .52s ease,filter .52s ease}.product-card:hover img{filter:saturate(1.06) contrast(1.03);transform:scale(1.045)}.badge{position:absolute;top:12px;left:12px;background:var(--copper);color:#fff;padding:6px 10px;font-size:12px;font-weight:900;animation:badgeGlow 2.8s ease-in-out infinite}.product-info{display:grid;gap:10px;padding:18px}.product-link{border:0;background:none;color:inherit;cursor:pointer;padding:0;text-align:left}.product-link:hover h3{color:var(--copper)}.product-info h3{margin:0;font-family:Georgia,serif;font-size:24px;font-weight:500}.meta,.notes,.empty{color:var(--muted);line-height:1.5}.price{display:flex;align-items:center;gap:8px;color:var(--copper);font-size:22px;font-weight:900}.price del{color:var(--muted);font-size:14px;font-weight:600}.status-panel{display:grid;grid-template-columns:1fr minmax(320px,520px);gap:24px;align-items:center;background:#221912;color:#fff}.status-panel p:not(.eyebrow){color:#e1d2bf}.status-form{display:grid;grid-template-columns:1fr auto;gap:10px}.status-result{grid-column:1 / -1;min-height:36px;color:#f2d38a;font-weight:800}.admin{background:#f6efe5}.auth-page{background:#17110d;color:#fff}.auth-grid,.member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.auth-card,.member-card{display:grid;gap:16px;border:1px solid var(--line);background:#fffdf9;color:var(--ink);padding:22px}.auth-card label{display:grid;gap:8px;color:#4b3b30;font-size:13px;font-weight:800}.auth-card input{width:100%;min-height:46px;border:1px solid var(--line);padding:10px 12px}.auth-status{margin-top:18px;color:#f2d38a;font-weight:800}.member-area{background:#fffaf3}.member-role{display:inline-flex;width:fit-content;background:#c9963f29;color:var(--copper);padding:8px 10px;font-weight:900}.admin-locked,.healthcheck-box,.supabase-box,.admin-panel{border:1px solid var(--line);background:#fffdf9;padding:22px}.healthcheck-box{display:grid;gap:18px;margin:18px 0}.healthcheck-box h3{margin-bottom:8px}.healthcheck-box p:not(.eyebrow){color:var(--muted)}.health-actions,.health-order-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.health-order-form{flex:1}.health-order-form input{flex:1;min-width:min(100%,260px);min-height:46px;border:1px solid var(--line);background:#fff;padding:10px 12px}.healthcheck-result{display:grid;gap:10px}.health-row{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;border:1px solid var(--line);background:#fff;padding:12px}.health-dot{width:12px;height:12px;margin-top:5px;border-radius:50%;background:var(--muted)}.health-row.ok .health-dot{background:var(--sage)}.health-row.warn .health-dot{background:var(--gold)}.health-row.error .health-dot{background:var(--wine)}.hidden{display:none}.admin-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.admin-form .wide{grid-column:span 2}.admin-columns{display:grid;grid-template-columns:1.1fr .9fr;gap:24px}.admin-list{display:grid;gap:12px}.admin-item{display:grid;gap:10px;border:1px solid var(--line);background:#fff;padding:14px}.hero-admin-form{margin-bottom:16px}.hero-slide-list{margin-bottom:28px}.hero-slide-item{grid-template-columns:110px 1fr auto;align-items:center}.hero-slide-item img{width:110px;height:76px;object-fit:cover;background:#efe2d2}.admin-actions{flex-wrap:wrap}.mini{min-height:34px;padding:0 12px;font-size:12px}.danger{background:var(--wine);color:#fff}.supabase-box{margin-top:24px}pre{overflow:auto;background:#16110d;color:#f5dfb8;padding:18px}.cart-drawer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;justify-items:end;pointer-events:none;background:#0c080500;transition:background .18s ease}.cart-drawer.open{pointer-events:auto;background:#0c08058c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.drawer-panel{width:min(480px,100vw);height:100%;overflow:auto;background:var(--paper);padding:24px;transform:translate(100%);transition:transform .24s cubic-bezier(.22,1,.36,1);box-shadow:var(--shadow)}.cart-drawer.open .drawer-panel{transform:translate(0)}.drawer-head{justify-content:space-between}.drawer-head h2{font-size:32px}.drawer-head button{width:42px;justify-content:center;padding:0}.cart-items,.checkout{display:grid;gap:12px}.cart-line{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;animation:slideSoft .22s ease both}.cart-line img{width:72px;height:72px;object-fit:cover}.qty{display:inline-flex;align-items:center;border:1px solid var(--line)}.qty button{width:32px;height:32px;border:0;background:#fff;cursor:pointer}.qty span{width:32px;text-align:center}.checkout{margin-top:18px;border-top:1px solid var(--line);padding-top:18px}.checkout textarea{min-height:90px;resize:vertical}.total-line{justify-content:space-between;font-size:20px}.toast{position:fixed;left:50%;bottom:24px;z-index:80;max-width:min(420px,calc(100vw - 32px));padding:14px 18px;background:#17110d;color:#fff;opacity:0;transform:translate(-50%,16px);transition:opacity .18s ease,transform .18s ease;box-shadow:var(--shadow)}.toast.show{opacity:1;transform:translate(-50%)}.product-view{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;place-items:center;padding:clamp(16px,3vw,42px);background:#0c080500;opacity:0;pointer-events:none;transition:opacity .22s ease,background .22s ease}.product-view.open{opacity:1;pointer-events:auto;background:#0c0805ad;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.product-view-panel{position:relative;display:grid;grid-template-columns:minmax(320px,1fr) minmax(300px,.8fr);width:min(1120px,100%);max-height:min(760px,calc(100vh - 36px));overflow:auto;background:var(--paper);box-shadow:var(--shadow);transform:translateY(24px) scale(.98);transition:transform .24s cubic-bezier(.22,1,.36,1)}.product-view.open .product-view-panel{transform:translateY(0) scale(1)}.product-view-close{position:absolute;top:16px;right:16px;z-index:2;width:42px;height:42px;border:0;background:#221912;color:#fff;cursor:pointer;font-size:18px}.product-view-gallery{display:grid;grid-template-rows:minmax(320px,1fr) auto;gap:14px;padding:clamp(18px,3vw,34px);background:#17110d}.product-view-gallery>img{width:100%;height:100%;min-height:420px;max-height:560px;object-fit:cover;background:#efe2d2;box-shadow:0 18px 50px #00000040}.product-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.product-thumbs button{border:2px solid transparent;background:none;cursor:pointer;padding:0;opacity:.72;transition:opacity .18s ease,border-color .18s ease,transform .18s ease}.product-thumbs button.active,.product-thumbs button:hover{border-color:var(--gold);opacity:1;transform:translateY(-2px)}.product-thumbs img{width:100%;aspect-ratio:1.2 / 1;object-fit:cover;display:block}.product-view-info{display:grid;align-content:center;gap:16px;padding:clamp(26px,4vw,56px)}.product-view-info h2{margin:0}.product-view-info p:not(.eyebrow){color:var(--muted);line-height:1.7}.detail-actions{display:flex;gap:12px;flex-wrap:wrap}.reveal{opacity:0;transform:translateY(24px);transition:opacity .68s ease,transform .68s ease;transition-delay:var(--reveal-delay, 0ms)}.reveal.in-view{opacity:1;transform:translateY(0)}@keyframes heroIntro{0%{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}@keyframes cartBump{0%,to{transform:scale(1)}45%{transform:scale(1.22)}}@keyframes badgeGlow{0%,to{box-shadow:0 0 #9b3f1200}50%{box-shadow:0 0 22px #9b3f1242}}@keyframes slideSoft{0%{opacity:0;transform:translate(14px)}to{opacity:1;transform:translate(0)}}footer{display:flex;align-items:center;gap:16px;padding:32px clamp(18px,5vw,72px);background:#0d0a08;color:#fff}footer img{width:64px;height:64px}footer div{display:grid;gap:4px}footer span,footer a{color:#d9c6ad}@media(max-width:980px){.topbar{grid-template-columns:1fr auto}.nav{grid-column:1 / -1;justify-content:flex-start;overflow-x:auto;padding-bottom:4px}.strip,.shop-layout,.status-panel,.auth-grid,.member-grid,.admin-columns,.product-view-panel{grid-template-columns:1fr}.product-view-gallery>img{min-height:300px}.filters{position:static}.product-grid,.admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.topbar{gap:10px 14px}.brand span{display:none}.cart-button{grid-column:2;grid-row:1;justify-self:end;min-height:38px;padding:0 12px}.nav{grid-column:1 / -1;grid-row:2;font-size:12px}h1{font-size:clamp(46px,14vw,62px)}.hero-slide:after{background:linear-gradient(180deg,#0c08051f,#0c080557 44%,#0c0805a3)}.hero-slide{padding:clamp(80px,16vw,130px) 22px 74px}.hero-content{margin-left:0;background:transparent}.hero-dots{left:22px;bottom:16px}.hero-controls{right:18px;bottom:12px}.section-heading,.searchbar,.hero-actions,.status-form{align-items:stretch;flex-direction:column}.searchbar input{width:100%}.product-grid,.admin-form{grid-template-columns:1fr}.admin-form .wide{grid-column:auto}.product-actions{flex-direction:column;align-items:stretch}.product-view{padding:0}.product-view-panel{max-height:100vh;height:100%}.product-view-gallery{grid-template-rows:auto auto}.product-view-gallery>img{min-height:280px;max-height:360px}.detail-actions{flex-direction:column}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}
