/* ===========================================================================
   Scott's Online Shop — theme tokens. Reskin the whole site by editing :root.
   Bright palette, four colours doing four jobs: white ground, black structure/
   text, orange for the brand (wordmark, badges), blue for interaction
   (buttons, links, hover states). Swap any one without touching the others.
   =========================================================================== */
:root{
  --paper:#ffffff;        /* page background — bright white, not off-white */
  --paper-2:#f2f5f9;      /* faint cool-white panel (nav, footer) — barely-there blue tint */
  --ink:#0d0d0d;          /* near-black (headings, borders, default buttons) */
  --brand:#f0531c;        /* brand orange — wordmark, logo, badges */
  --accent:#3187d2;       /* blue — buttons hover, links, interactive states */
  --text:#111111;         /* body text, near-black */
  --muted:#5b6470;
  --line:#e2e6ec;         /* hairlines — cool light grey, not the old warm tan */
  --radius:8px;
  --maxw:1200px;
  /* One sans family throughout, the way Etsy does it. Etsy's own face is Graphik
     (Commercial Type, paid licence); Inter is the closest free stand-in and is
     what we use everywhere. To go back to an editorial serif for headings,
     change --font-head and --font-display only — nothing else needs touching. */
  --font-display:'Inter',system-ui,sans-serif;  /* wordmark + hero */
  --font-head:'Inter',system-ui,sans-serif;
  --font-body:'Inter',system-ui,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);background:var(--paper);color:var(--text);font-size:16px;line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit}

/* ---- Header (nav row + category row stick together) ---- */
.site-header{position:sticky;top:0;z-index:100}

/* ---- Nav ---- */
nav{background:var(--paper-2);display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 32px;border-bottom:1px solid var(--line)}
.nav-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);flex:0 0 auto}
.nav-logo-full{height:50px;width:auto;object-fit:contain} /* 24% bigger than the original 40px */
.footer-logo-full{height:40px;width:auto;object-fit:contain;margin-bottom:8px} /* 24% bigger than the original 32px */
/* ---- Nav search (pill input + round accent button) ---- */
.nav-search{position:relative;flex:1 1 auto;min-width:0;max-width:620px;display:flex;align-items:center}
.nav-search input{
  width:100%;height:46px;padding:0 54px 0 20px;
  font-family:var(--font-body);font-size:15px;color:var(--text);
  background:#fff;border:1px solid var(--ink);border-radius:999px;
  -webkit-appearance:none;appearance:none;
}
.nav-search input::placeholder{color:var(--muted)}
.nav-search input:focus{outline:2px solid var(--ink);outline-offset:1px}
.nav-search input::-webkit-search-cancel-button{margin-right:4px}
.nav-search button{
  position:absolute;right:5px;top:50%;transform:translateY(-50%);
  width:36px;height:36px;border:0;border-radius:50%;background:var(--accent);
  display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .18s;
}
.nav-search button:hover{background:var(--ink)}
.nav-search button svg{width:19px;height:19px;fill:#fff}

/* ---- Category bar (second header row) ---- */
.cat-bar{background:var(--paper);border-bottom:1px solid var(--line)}
.cat-bar-inner{
  max-width:var(--maxw);margin:0 auto;padding:0 32px;
  display:flex;justify-content:center;align-items:center;gap:34px;
  overflow-x:auto;overflow-y:hidden;
  scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;
}
.cat-bar-inner::-webkit-scrollbar{display:none}
.cat-bar-inner a{
  flex:0 0 auto;position:relative;
  padding:13px 0;font-size:15px;font-weight:500;letter-spacing:.01em;
  text-decoration:none;color:var(--ink);white-space:nowrap;
}
/* Underline grows from the middle on hover, and marks the current category */
.cat-bar-inner a::after{
  content:'';position:absolute;left:50%;right:50%;bottom:8px;height:2px;
  background:var(--brand);transition:left .18s,right .18s;
}
.cat-bar-inner a:hover::after,
.cat-bar-inner a[aria-current="page"]::after{left:0;right:0}
.cat-bar-inner a[aria-current="page"]{font-weight:600}

/* Search results summary on the shop page */
.search-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;margin:0 0 20px}
.search-summary p{font-family:var(--font-head);font-weight:700;font-size:18px;letter-spacing:-.01em;color:var(--ink)}
.search-summary a{font-size:14px;color:var(--muted)}
.search-summary a:hover{color:var(--accent)}

.nav-links{display:flex;gap:26px;align-items:center;flex:0 0 auto}
.nav-links a{font-size:15px;text-decoration:none;letter-spacing:.02em}
.nav-links a:hover{color:var(--accent)}
.cart-link{position:relative;font-weight:600;display:inline-flex;align-items:center;gap:6px}
.basket-icon{width:16px;height:16px;fill:currentColor;flex:0 0 auto}
.cart-count{background:var(--accent);color:#fff;border-radius:999px;font-size:11px;padding:1px 7px;margin-left:4px}
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:38px;padding:0 10px;background:transparent;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.nav-toggle span{display:block;height:2px;width:100%;background:var(--ink);border-radius:2px;transition:transform .25s,opacity .2s}

/* ---- Buttons ---- */
.btn{display:inline-block;font-family:var(--font-body);font-size:15px;font-weight:600;letter-spacing:.02em;padding:13px 26px;border-radius:var(--radius);border:1px solid var(--ink);background:var(--ink);color:var(--paper);cursor:pointer;text-decoration:none;transition:.2s}
.btn:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.btn-outline{background:transparent;color:var(--ink)}
.btn-outline:hover{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
@media(max-width:600px){.btn-row{flex-direction:column;align-items:flex-start;gap:16px}}

/* ---- Layout ---- */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px}
.section{max-width:var(--maxw);margin:0 auto;padding:64px 32px}
.page-body p{max-width:760px}
.page-body p+p{margin-top:16px}
h1,h2,h3{font-family:var(--font-head);font-weight:700;line-height:1.1;letter-spacing:-.022em}
h1{font-size:clamp(30px,4.4vw,50px);line-height:1.08}
h2{font-size:clamp(26px,3.6vw,38px)}
.eyebrow{letter-spacing:.14em;text-transform:uppercase;font-size:13px;color:var(--muted)}

/* Two-column "about" block — stacks on mobile */
.makers-grid{max-width:820px;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
@media(max-width:700px){.makers-grid{grid-template-columns:1fr}}

/* ---- Hero ---- */
/* Full-width headline, then a row underneath: narrow description on the left,
   image on the right — matching the user-supplied mockup. .hero-banner is
   built for HeroImage.png (2172x796, cut-out product shots on a transparent
   ground) — shown unboxed with object-fit:contain so nothing is cropped, not
   a bordered photo box. If a future hero image is a plain rectangular photo
   instead, box and crop it like other images on the site rather than reusing
   .hero-banner as-is. */
.hero{max-width:var(--maxw);margin:0 auto;padding:72px 32px 32px;position:relative}
.hero-row{display:grid;grid-template-columns:2fr 8fr;gap:32px;align-items:center;margin-top:0}
.hero-row>p:first-child{min-width:0;position:relative;top:-20px} /* min-width:0 lets the text column
  shrink past its content's natural min-width; the -20px nudge is desktop-only — mobile has just
  4px of clearance above this paragraph, see the media-query override below */
.hero p{font-size:17px;color:var(--muted);margin:0}
.hero-image-col{display:flex;flex-direction:column;align-items:flex-start}
/* Anchored to the hero section itself (position:absolute, top-right), NOT to
   the flex column below — that stacking kept shifting under it every time a
   sibling's own offset changed. This is now independent and predictable. */
.hero-pop-logo{position:absolute;top:60px;right:32px;height:110px;width:auto;object-fit:contain}
.hero-strap-present{
  margin-bottom:16px;position:relative;left:320px;top:-78px;
  /* desktop: confirmed clean via screenshot despite bounding-box overlap math
     (the two straps' shapes don't actually collide visually at this offset).
     Mobile: this DOES visibly cover part of the paragraph — see the
     media-query override below, which caps mobile's own lift lower. */
}
.hero-banner{
  display:block;width:100%;max-width:877px;height:auto;object-fit:contain;
  position:relative;top:-80px; /* visual nudge only — position:relative doesn't
    reserve extra space the way a negative margin did, which was inflating the
    row's height and pushing the paragraph down into empty space beside it */
}
/* Placeholder tile used anywhere a real photo is not in yet */
.img-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  font-family:var(--font-head);font-size:20px;text-align:center;padding:16px;line-height:1.25}

/* ---- Headline straps (replace the plain-text H1) ---- */
/* Two hand-drawn strap graphics (400x63 / 400x59 source — keep display width
   close to native size, upscaling further will look soft). alt text carries
   the same words the images show, for SEO/screen readers. */
.hero-straps{display:flex;flex-direction:column;gap:10px;margin-bottom:4px}
.hero-strap{display:block;width:100%;max-width:520px;height:auto}

/* ---- Live-site scroll-in animations (same as dullkev.com/Avada) ----
   Elements opt in with data-anim="rubber" (straps) or data-anim="slide" (big
   section images) — see js/animate.js for the IntersectionObserver wiring. */
@keyframes dk-rubberBand{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(1.05,.95,1)}75%{transform:scale3d(.95,1.05,1)}to{transform:scale3d(1,1,1)}}
@keyframes dk-slideInLeft{from{transform:translate3d(-60px,0,0);opacity:0}to{transform:translate3d(0,0,0);opacity:1}}
[data-anim="slide"].anim-ready{opacity:0}
[data-anim="slide"].in-view{animation:dk-slideInLeft .7s ease-out both}
[data-anim="rubber"].in-view{animation:dk-rubberBand 1.5s both}
@media(prefers-reduced-motion:reduce){[data-anim].anim-ready{opacity:1;animation:none}}

/* ---- Brand promise band ---- */
.promise-band{background:var(--accent);color:var(--paper);text-align:center;padding:26px 24px;margin-top:-95px}
.promise-band p{font-family:var(--font-head);font-weight:600;letter-spacing:-.01em;font-size:clamp(15px,2.1vw,20px);line-height:1.4;max-width:900px;margin:0 auto}

/* ---- Category filter chips ---- */
.chip-bar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}
.chip{font-family:var(--font-body);font-size:14px;font-weight:600;letter-spacing:.02em;
  padding:8px 18px;border-radius:999px;border:1px solid var(--ink);background:transparent;
  color:var(--ink);cursor:pointer;transition:.18s}
.chip:hover{border-color:var(--accent);color:var(--accent)}
.chip.active{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* ---- Product grid ---- */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.product{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column}
.product-img{position:relative;aspect-ratio:1/1;background:#fff;overflow:hidden}
.product-img img{width:100%;height:100%;object-fit:contain;padding:18px;box-sizing:border-box}
.product-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:6px;flex:1}
.product-name{font-family:var(--font-head);font-size:18px;font-weight:600;line-height:1.3;letter-spacing:-.01em}
.product-tag{color:var(--muted);font-size:14px}
.product-price{font-family:var(--font-head);font-weight:700;font-size:21px;line-height:1;color:var(--ink);margin-top:auto;padding-top:14px}
a.product-name{text-decoration:none;color:inherit;cursor:pointer}
a.product-name:hover{color:var(--accent)}
.pimg-link{display:block;height:100%;text-decoration:none}
.variant-select{margin-top:8px;padding:8px;border:1px solid var(--ink);border-radius:6px;background:#fff;font-family:var(--font-body);font-size:14px}
.variant-fixed{margin-top:8px;font-size:14px;color:var(--muted)}

/* ---- Product detail page ---- */
.pdp{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;max-width:var(--maxw);margin:0 auto;padding:48px 32px}
.pdp-media{background:#fff;border-radius:var(--radius);border:1px solid var(--line);aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;padding:24px;position:relative}
.pdp-media img{width:100%;height:100%;object-fit:contain}
.pdp-tag{color:var(--muted);font-size:16px;margin:4px 0 12px}
.pdp-price{font-family:var(--font-head);font-weight:700;font-size:30px;letter-spacing:-.02em;color:var(--ink);margin:10px 0 6px}
.pdp-desc{font-size:17px;line-height:1.7;margin:14px 0 4px}
.pdp-buy{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}
.pdp-buy select{padding:11px 12px;border:1px solid var(--ink);border-radius:6px;background:#fff;font-family:var(--font-body);font-size:15px}
.pdp-section{margin-top:22px}
.pdp-section h3{font-family:var(--font-head);font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);margin-bottom:10px}

/* ---- Spec lines (material / size / finish / printing / edition) ---- */
.spec-lines{list-style:none;display:flex;flex-direction:column;gap:8px;margin:0}
.spec-lines li{font-size:15px;line-height:1.5;color:var(--text)}
.spec-lines b{color:var(--ink);font-weight:600}

.ship-box{border:1px solid var(--line);background:var(--paper-2);border-radius:var(--radius);padding:16px 18px;margin-top:22px;font-size:14px;line-height:1.6;color:var(--text)}
.ship-box strong{display:block;font-family:var(--font-head);font-size:15px;margin-bottom:4px;color:var(--ink)}
@media(max-width:820px){.pdp{grid-template-columns:1fr;gap:28px}}

/* ---- Limited edition badge + band ---- */
.le-badge{position:absolute;top:10px;left:10px;z-index:2;background:var(--ink);color:var(--paper);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:5px 10px;border-radius:999px}
.le-band{background:var(--ink);color:var(--paper);padding:56px 0;margin-top:24px}
.le-band h2{color:var(--paper)}
.le-band .product-name{color:var(--text)}

/* ---- Cart ---- */
.cart-row{display:grid;grid-template-columns:80px 1fr auto auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.cart-thumb{width:80px;height:80px;object-fit:contain;background:#fff;border-radius:6px;border:1px solid var(--line)}
.qty{display:flex;align-items:center;gap:8px}
.qty button{width:28px;height:28px;border:1px solid var(--ink);background:transparent;border-radius:6px;cursor:pointer;font-size:16px}
.cart-summary{margin-top:24px;text-align:right}
.cart-summary .sum-line{display:flex;justify-content:space-between;gap:24px;padding:5px 0;font-size:15px}
.cart-summary .sum-total{border-top:1px solid var(--line);margin-top:6px;padding-top:12px;font-family:var(--font-head);font-size:22px;font-weight:600}
.ship-nudge{color:var(--accent);font-weight:600;margin:0 0 12px;text-align:left}

/* ---- Contact page ---- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;max-width:980px}
@media(max-width:820px){.contact-grid{grid-template-columns:1fr;gap:36px}}
.visit-item{display:grid;grid-template-columns:130px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.visit-item:last-of-type{border-bottom:0}
.visit-item .lbl{font-family:var(--font-head);font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:2px}
.visit-item .val{font-size:15px;line-height:1.6}
.visit-item .val a{color:var(--ink);font-weight:600}
@media(max-width:520px){.visit-item{grid-template-columns:1fr;gap:4px}}

/* Contact form */
.cf{display:flex;flex-direction:column;gap:16px;max-width:460px}
.cf label{display:block;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.cf input,.cf textarea{width:100%;font-family:var(--font-body);font-size:15px;color:var(--text);
  padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.cf input:focus,.cf textarea:focus{outline:2px solid var(--ink);outline-offset:-1px;border-color:var(--ink)}
.cf textarea{min-height:150px;resize:vertical}
.cf button{align-self:flex-start}

/* ---- Age gate (off for this shop — kept so it can be switched on in config) ---- */
.agegate{position:fixed;inset:0;z-index:9999;background:var(--ink);color:var(--paper);display:flex;align-items:center;justify-content:center;text-align:center;padding:24px}
.agegate.hidden{display:none}
.agegate-inner{max-width:440px}
.agegate img{width:120px;margin:0 auto 20px}
.agegate h2{color:var(--paper);margin-bottom:12px}
.agegate p{color:rgba(250,248,245,.8);margin-bottom:24px}
.agegate .btn{margin:6px}
.agegate .btn-outline{color:var(--paper);border-color:var(--paper)}

/* ---- Footer ---- */
footer{border-top:1px solid var(--line);margin-top:40px;padding:48px 32px;background:var(--paper-2)}
.footer-inner{max-width:var(--maxw);margin:0 auto;display:flex;justify-content:space-between;flex-wrap:wrap;gap:24px}
.footer-links{display:flex;flex-direction:column;gap:6px}
.footer-links a{font-size:14px;text-decoration:none;color:var(--muted)}
.footer-links a:hover{color:var(--ink)}
.footer-legal{font-size:12px;color:var(--muted);max-width:360px}
.social-icons{display:flex;gap:14px;margin-top:16px}
.social-icons a{color:var(--muted);display:inline-flex;line-height:0;transition:color .2s}
.social-icons a:hover{color:var(--ink)}
.social-icons svg{width:22px;height:22px;fill:currentColor}
.footer-copy{font-size:12px;color:var(--muted);margin-top:14px}

/* ---- Responsive ---- */
@media(max-width:900px){
  .hero-row{grid-template-columns:1fr}
  .hero-banner{top:-45px} /* stacked below the paragraph here; nudged up 20px then a further 25px on mobile per request */
  .promise-band{margin-top:-50px} /* nudged up 15px, then a further 35px per request */
  .hero-row>p:first-child{top:0} /* the -20px desktop nudge would overlap the strap above it here — only 4px of clearance on mobile */
  .hero-strap-present{left:0;top:-28px} /* no rightward room on mobile (natural position already touches the column edge); capped the lift at 28px (not the desktop 45px) — mobile only has ~32px of clearance before this covers the paragraph text */
  .hero-pop-logo{display:none} /* hidden on mobile per request — nav already shows the logo up top */
  .grid{grid-template-columns:repeat(2,1fr)}
  /* Hamburger nav for iPad + phones. The search drops to its own full-width row
     under the brand, so it stays visible instead of hiding behind the menu. */
  .nav-toggle{display:flex}
  nav{flex-wrap:wrap;gap:12px}
  .nav-brand{order:1}
  .nav-toggle{order:2}
  .nav-search{order:3;flex-basis:100%;max-width:none}
  .nav-links{order:4}
  .nav-search input{height:42px}
  /* Categories scroll sideways rather than wrapping or squashing */
  .cat-bar-inner{justify-content:flex-start;gap:24px;padding:0 16px}
  .cat-bar-inner a{font-size:14px;padding:11px 0}
  .nav-links{
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--paper-2);border-bottom:1px solid var(--line);
    padding:6px 0;display:none;box-shadow:0 12px 22px rgba(0,0,0,.10);
  }
  nav.open .nav-links{display:flex}
  .nav-links a{padding:13px 24px;font-size:16px}
  .cart-link .cart-count{margin-left:6px}
  nav.open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  nav.open .nav-toggle span:nth-child(2){opacity:0}
  nav.open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}
@media(max-width:600px){
  nav{padding:12px 16px}
  .section,.hero{padding:40px 16px}
  .grid{grid-template-columns:1fr}
  .cart-row{grid-template-columns:64px 1fr auto}
}
