/* ===========================
   No Filter — main.css (clean)
   =========================== */

/* ---------- Theme Tokens ---------- */
:root{
  --bg:#0f0f11;
  --page:#1f1f21;            /* page background */
  --panel:#1f1f21;           /* header + NF tile background */
  --panel-2:#222227;
  --text:#fafafa;
  --muted:#cfcfd6;
  --muter:#a4a4ad;
  --edge:#2e2e34;
  --edge-soft:#2a2a31;
  --btn:#e9e9eb;
  --btn-fg:#0d0d0f;
  --ring:#3a3a44;
  --radius:14px;
  --shadow:0 12px 30px rgba(0,0,0,.32);
  --wrap:1200px;
  --gap:2rem;
}

/* ---------- Base Reset ---------- */
*{ margin:0; padding:0; box-sizing:border-box; }

body{
  background:var(--page);
  color:#eee;
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height:1.6;
}

/* ---------- Promo (one line) ---------- */
.nf-promo{
  position:sticky; top:0; z-index:10000;
  display:grid; place-items:center;
  padding:.45rem 1rem;
  background:#111114; color:#f2f2f3;
  border-bottom:1px solid #2b2b2e;
  font-size:.9rem; letter-spacing:.02em;
}
.nf-promo__text{ opacity:.95; white-space:nowrap; }
@media (max-width:480px){
  .nf-promo{ padding:.4rem .75rem; font-size:.85rem; }
  .nf-promo__text{ white-space:normal; text-align:center; }
}

/* ---------- Header (sticky below promo) ---------- */
header{
  position:sticky; top:33px; z-index:1000;
  background:var(--panel);
  border-bottom:1px solid var(--edge-soft);
}

/* inner container */
.bar{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  max-width:var(--wrap); width:100%;
  padding:1rem 1rem; margin:0 auto;
}

.header-left{ display:flex; align-items:center; gap:1rem; }
header img.logo{ height:36px; display:block; background:transparent; }

/* nav + links */
nav{ display:flex; flex-wrap:wrap; gap:1rem; transition:.3s ease; }
nav a{ color:#ccc; text-decoration:none; font-weight:600; }
nav a:hover{ color:#fff; }

.cart-icon{
  display:inline-flex; align-items:center; justify-content:center;
  height:36px; width:36px; text-decoration:none; color:inherit;
  transition:opacity .2s, transform .12s ease;
}
.cart-icon .cart-svg{
  display:block; width:26px; height:26px; pointer-events:none; /* clicks go to the link */
}
.cart-icon:hover{ opacity:.85; transform:translateY(-1px); }

/* hamburger */
.hamburger{
  display:none; position:relative; width:30px; height:24px;
  background:none; border:none; cursor:pointer; z-index:1002;
}
.hamburger span,
.hamburger::before,
.hamburger::after{
  content:""; position:absolute; left:0; width:100%; height:3px; background:#eee; transition:.3s ease;
}
.hamburger span{ top:10px; }
.hamburger::before{ top:0; }
.hamburger::after{ bottom:0; }
.hamburger.active span{ opacity:0; }
.hamburger.active::before{ transform:rotate(45deg); top:10px; }
.hamburger.active::after{ transform:rotate(-45deg); bottom:10px; }

/* mobile header + slide-down menu */
@media (max-width:960px){
  .bar{ padding:.8rem 8px; }              /* flush edges: hamburger+logo left, cart right */
  #cart-icon{ margin-left:auto; }         /* pushes cart to far right */

  nav{ display:none; }
  nav.show, nav.active{
    display:flex; flex-direction:column; align-items:flex-start; gap:1rem;
    position:absolute; left:0; right:0; top:100%;
    background:var(--panel);
    border-bottom:1px solid var(--edge-soft);
    padding:1rem 1.25rem; z-index:1001;
  }

  .hamburger{ display:block; }
  .header-left{ gap:.75rem; }
}

/* ---------- Product Grid (Drips) ---------- */
#product-list{ display:flex; justify-content:center; }
.product-list{
  min-height:100px;
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:2rem; padding:3rem 2rem; max-width:1400px; width:100%; margin:0 auto;
}
.product-list a{ text-decoration:none; color:inherit; }

.product-card{
  width:320px; height:480px; margin:.5rem;
  display:flex; flex-direction:column; align-items:center;
}

/* flip card */
.flip-card{ perspective:1000px; width:100%; max-width:320px; height:480px; position:relative; overflow:hidden; border-radius:10px; }
.flip-card-inner{
  width:100%; height:100%; position:relative;
  transform-style:preserve-3d; transition:transform .6s ease; border-radius:10px; will-change:transform;
}
.flip-card:hover .flip-card-inner{ transform:rotateY(180deg); }

.flip-card-front,
.flip-card-back{
  position:absolute; inset:0; backface-visibility:hidden; border-radius:10px;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
}
.flip-card-front{ cursor:pointer; background:#222; z-index:2; }
.flip-card-front img{ width:100%; height:100%; object-fit:cover; border-radius:10px 10px 0 0; }

.flip-card-back{ transform:rotateY(180deg); background:var(--panel-2); padding:1rem; z-index:1; }

.flip-card-back-content{
  flex:1; display:flex; flex-direction:column; justify-content:space-around; gap:.6rem;
  font-size:.95rem; line-height:1.5; overflow:hidden;
}
.flip-card-back-content p, .meta{ margin:0; word-break:break-word; color:#ccc; line-height:1.4; }
.meta strong{ color:#fff; font-weight:600; display:inline-block; min-width:85px; }

.flip-card-link{ display:block; width:100%; max-width:320px; text-decoration:none; color:inherit; }

/* titles + price */
.product-title{ font-size:1.1rem; font-weight:600; text-align:center; margin-top:.75rem; color:#fff; }
.product-price{ font-size:1rem; font-weight:500; color:#ccc; margin-top:.25rem; text-align:center; }

.add-to-cart-container{ text-align:center; margin-top:1rem; }

/* drips titles in list */
#product-list .product-title a{ color:#fff; text-decoration:none; }
#product-list .product-title a:hover{ color:#ccc; }

/* responsive grid */
@media (max-width:768px){
  .product-list{ flex-direction:column; align-items:center; gap:1rem; padding:1rem; }
  .product-card{ width:90%; max-width:300px; margin:0 auto; overflow:visible; }
  .flip-card{ width:100%; min-height:300px; height:auto; aspect-ratio:auto; overflow:hidden; }
  .flip-card-front, .flip-card-back{ min-height:300px; }
  .flip-card-front img{ width:100%; height:auto; min-height:300px; max-height:350px; object-fit:cover; }

  .quick-add__btn[disabled]{ opacity:.5; cursor:not-allowed; }
}

/* ---------- About Section ---------- */
.about-section{ display:flex; justify-content:center; padding:3rem 2rem; }
.about-content{ display:flex; flex-wrap:wrap; max-width:1200px; width:100%; align-items:center; gap:1rem; }
.about-image{ flex:1 1 380px; text-align:center; }
.about-image img{ max-width:100%; border-radius:5px; filter:grayscale(1) blur(.5px); animation:fadeIn 1s ease-out; }
.tagline{ margin-top:1rem; font-style:italic; font-size:1.2rem; color:#ccc; animation:fadeIn 1.2s ease-in; }
.about-text{ flex:1 1 500px; display:flex; flex-direction:column; gap:.3rem; color:#eee; }
.about-text h1{ font-size:2.5rem; margin-bottom:.3rem; text-align:left; }
.about-highlight{ font-weight:600; color:#fff; }
.callout{ background-color:var(--panel-2); border-left:4px solid #eee; padding:.75rem 1rem; font-style:italic; color:#ccc; border-radius:4px; margin-top:.3rem; }

@keyframes fadeIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }

@media (max-width:768px){
  .about-content{ flex-direction:column; align-items:center; text-align:center; }
  .about-text h1{ text-align:center; }
}

/* ---------- Footer ---------- */
.site-footer{
  background:#18181a; padding:2rem 1rem; color:#aaa; font-size:.95rem;
  display:flex; flex-direction:column; align-items:center; text-align:center; width:100%;
}
.footer-icons{ display:flex; gap:1rem; justify-content:center; padding:1rem 0; }
.footer-icons a{ display:inline-block; width:32px; height:32px; transition:filter .3s ease; }
.footer-icons img{ width:100%; height:100%; object-fit:contain; filter:brightness(.85); transition:filter .3s ease; }
.footer-icons img:hover{ filter:brightness(1); }

/* ---------- Product Page (generic) ---------- */
.product-container{
  display:flex; flex-wrap:wrap; gap:3rem; max-width:1200px; margin:3rem auto; padding:0 2rem;
}
.product-left, .product-right{ flex:1 1 48%; display:flex; flex-direction:column; gap:1.5rem; }
.product-img, .producer-img{ width:100%; border-radius:8px; object-fit:cover; }

.product-info{ display:flex; flex-direction:column; gap:1rem; position:sticky; top:2rem; }
.product-info h1{ font-size:2.25rem; margin-bottom:1rem; font-weight:600; }
.price{ font-size:1.2rem; margin-bottom:1.5rem; font-weight:500; }

.variants{ display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1rem; }
.variant-button{
  padding:.5rem 1rem; border:1px solid #f5f5f5; background:none; color:#f5f5f5; cursor:pointer;
  font-size:.9rem; border-radius:4px; transition:.2s ease;
}
.variant-button:hover, .variant-button.selected{ background:#f5f5f5; color:#1c1c1e; }
.variant-button:focus{ outline:2px solid #fff; outline-offset:2px; }

.grind, .quantity{ margin-bottom:1rem; }
.grind label, .purchase-box label{ font-weight:500; margin-right:.5rem; display:none; }
.grind select, .quantity input{ padding:.5rem 1rem; border-radius:4px; background:#2c2c2e; color:#fff; border:1px solid #ccc; }
.quantity input{ width:60px; border:none; }

/* add to cart button */
.add-to-cart{ margin-top:1rem; }
.add-to-cart-btn{
  background:linear-gradient(135deg, #444, #222); color:#eee; border:none;
  padding:.6rem 1.2rem; margin-top:.5rem; cursor:pointer; font-weight:500; border-radius:20px;
  font-size:.9rem; transition:.3s ease; box-shadow:0 2px 5px rgba(0,0,0,.4);
}
.add-to-cart-btn:hover{ background:linear-gradient(135deg, #555, #333); transform:translateY(-1px); box-shadow:0 4px 6px rgba(0,0,0,.3); }

/* sticky mobile bar (only if used) */
.add-to-cart.sticky{
  position:fixed; left:0; right:0; bottom:0; display:none;
  background:var(--page); padding:1rem 2rem; box-shadow:0 -2px 10px rgba(0,0,0,.3); z-index:999;
}
@media (max-width:768px){
  .product-container{ flex-direction:column; }
  .add-to-cart.sticky{ display:block; }
}

/* ---------- Toast ---------- */
.toast{
  z-index:1001; position:fixed; bottom:90px; left:50%; transform:translateX(-50%);
  background:var(--panel-2); color:#fff; padding:.75rem 1.25rem; border-radius:4px;
  font-size:.95rem; opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.toast.show{ opacity:1; pointer-events:auto; }

/* ---------- Product Details text ---------- */
.product-details, .product-description{ margin-top:2rem; font-size:.95rem; color:#ccc; line-height:1.6; }
.product-description{ color:#ddd; }
.product-sections{ max-width:600px; }
.section{ margin-bottom:2rem; }
.section h3{ font-size:1.3rem; margin-bottom:.5rem; color:#fff; }
.section p{ font-size:.95rem; color:#ccc; line-height:1.6; }

.purchase-box{ display:flex; flex-direction:column; gap:.5rem; max-width:200px; }
#variant-buttons, #grind, #quantity{ width:100%; }

/* ---------- Cart (Shopify Buy UI) ---------- */
.shopify-buy__cart-toggle .shopify-buy__icon-cart__count{
  background:#fff !important; color:#1c1c1e !important;
}
html body .shopify-buy__cart-toggle{
  background-color:#3a3a3c !important; color:#fff !important; border-radius:10px !important;
}
html body .shopify-buy__cart-toggle:hover,
html body .shopify-buy__cart-toggle:focus,
html body .shopify-buy__cart-toggle:active{
  background-color:#4a4a4d !important;
}

/* ---------- Quick add (Drips) ---------- */
.quick-add.compact{ display:flex; justify-content:center; margin-top:.9rem; }
.quick-add__btn{
  background:#3a3a3c; color:#fff; border:0; border-radius:6px; padding:.6rem .9rem; font-weight:600; cursor:pointer;
}
.quick-add__btn:hover, .quick-add__btn:focus{ background:#4a4a4d; }
.quick-add__btn[disabled]{ background:#555; color:#ccc; cursor:not-allowed; opacity:.8; }
.quick-add__hint{ font-size:.8rem; color:#aaa; }

/* ---------- Grind chooser modal (global) ---------- */
#grind-modal{ position:fixed; inset:0; display:none; z-index:9999; }
#grind-modal.show{ display:block; }
#grind-modal .gm-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.45); }
#grind-modal .gm-sheet{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(92vw,360px); background:#1f1f21; color:#fff; border-radius:10px;
  padding:1.25rem; box-shadow:0 20px 60px rgba(0,0,0,.6);
}
#grind-modal h3{ margin:0 0 .25rem; font-size:1.1rem; }
#grind-modal .gm-sub{ margin:0 0 .75rem; color:#bbb; font-size:.9rem; }
#grind-modal .gm-choices{ display:grid; gap:.5rem; margin-bottom:.75rem; }
#grind-modal .gm-choice{
  background:#3a3a3c; color:#fff; border:0; border-radius:6px;
  padding:.6rem .8rem; text-align:left; cursor:pointer; font-weight:600;
}
#grind-modal .gm-choice:hover{ background:#4a4a4d; }
#grind-modal .gm-cancel{
  background:transparent; color:#bbb; border:1px solid #444; border-radius:6px; padding:.5rem .8rem; width:100%; cursor:pointer;
}
#grind-modal .gm-cancel:hover{ background:#2a2a2c; color:#fff; }

/* ---------- Cart page layout ---------- */
.cart{ max-width:900px; margin:2rem auto; padding:0 1rem; }
.cart-line{
  display:grid; grid-template-columns:72px 1fr auto; gap:1rem; align-items:center;
  padding:.75rem 0; border-bottom:1px solid #2c2c2e;
}
.cart-thumb{ width:72px; height:72px; object-fit:cover; border-radius:8px; background:#222; }
.cart-title{ font-weight:600; }
.cart-opts{ color:#aaa; font-size:.9rem; margin-top:.25rem; display:flex; gap:.5rem; flex-wrap:wrap; }
.cart-qty{ display:flex; align-items:center; gap:.5rem; margin-top:.5rem; }
.cart-qty button{ background:#333; color:#fff; border:0; padding:.3rem .6rem; border-radius:6px; cursor:pointer; }
.cart-price{ font-weight:600; }
.cart-summary{
  display:flex; justify-content:space-between; align-items:center;
  margin-top:1rem; padding-top:1rem; border-top:1px solid #2c2c2e;
}
#go-checkout{ background:#fff; color:#000; border:0; padding:.6rem 1rem; border-radius:8px; cursor:pointer; }
#go-checkout:disabled{ opacity:.5; cursor:not-allowed; }

/* ---------- Optional floating add button (only if element exists) ---------- */
#add-to-cart{ position:relative; z-index:3; pointer-events:auto; }
.btn-float{ display:none; }
@media (max-width:960px){
  .btn-float{
    display:block; position:fixed; left:16px; right:16px; bottom:16px;
    border-radius:999px; padding:1rem 1.25rem; font-size:1.05rem; z-index:1002;
    box-shadow:0 10px 22px rgba(0,0,0,.35);
    background:var(--btn); color:var(--btn-fg); font-weight:900;
  }
  main.product-wrap{ padding-bottom:5.5rem; }
}

/* --- NF mini-carousel (gear/other only) --- */
.nf-carousel{ position:relative; overflow:hidden; aspect-ratio:1/1; background:#0f0f11; }
.nf-carousel-track{ display:flex; height:100%; transition:transform .28s ease; }
.nf-slide{ min-width:100%; display:grid; place-items:center; }
.nf-slide img{ width:100%; height:100%; object-fit:contain; }

.nf-dotbar{ position:absolute; left:0; right:0; bottom:8px; display:flex; gap:6px; justify-content:center; pointer-events:none; }
.nf-dot{ width:7px; height:7px; border-radius:50%; background:#6a6a70; opacity:.8; }
.nf-dot[aria-current="true"]{ background:#f2f2f3; }

.nf-nav{ position:absolute; top:50%; transform:translateY(-50%); width:34px; height:34px;
  border-radius:50%; border:1px solid #2a2a31; background:#161618; color:#f2f2f3; display:grid; place-items:center;
  cursor:pointer; opacity:.9;
}
.nf-prev{ left:8px; } .nf-next{ right:8px; }
.nf-nav:disabled{ opacity:.35; cursor:default; }
.nf-carousel a { display:block; width:100%; height:100%; }

/* --- Full-bleed Brew Gear banner (no vignette, no gap) --- */
html, body { overflow-x: hidden; }      /* kill any horizontal scroll */

.gear-hero{
  position: relative;
  margin: 0;                            /* remove gap under header */
  padding: 0 !important;                /* ignore global section padding */
}

/* Keep full-bleed & remove any gap under header (already present) */
html, body { overflow-x: hidden; }
.gear-hero{ margin:0; padding:0 !important; }
.gear-hero__frame{
  position:relative;
  width:100vw; max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  border:0; border-radius:0 !important; overflow:hidden; background:#0c0c0e;
}
@supports (width:100dvw){
  .gear-hero__frame{ width:100dvw; max-width:100dvw; margin-left:calc(50% - 50dvw); margin-right:calc(50% - 50dvw); }
}
.gear-hero__img{
  display:block; width:100%;
  height:clamp(240px, 40vw, 520px);           /* same visual height */
  object-fit:cover; border-radius:0 !important;
  filter:brightness(.94) contrast(1.05) saturate(.97);
  transform:translateZ(0);
}

/* ===== Overlay: match homepage hero typography & centering ===== */
.gear-hero__overlay{
  position:absolute; inset:0; z-index:2;
  display:flex; align-items:flex-end; justify-content:center;
  pointer-events:none;
  padding:clamp(16px, 4vw, 36px);
  /* subtle top+bottom scrim for readability like the home hero */
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.15) 40%, rgba(0,0,0,.35));
}
.gear-hero__text{
  text-align:center; color:#fff; max-width:min(92%, 980px);
  text-shadow:0 2px 8px rgba(0,0,0,.45);
}

/* BIG line (matches home: .bigger) */
.gear-hero__line--big{
  margin:0;
  font-weight:800;
  letter-spacing:.01em;
  font-size:clamp(3rem, 7vw, 6rem);
  line-height:1.05;
}

/* Italic tagline (matches home: .tagline) */
.gear-hero__line--tag{
  margin:.6rem 0 0;
  font-style:italic;
  font-weight:300;
  font-size:clamp(1rem, 2.2vw, 1.3rem);
  letter-spacing:.01em;
  color:rgba(255,255,255,.95);
}


