/*
Theme Name: Up In Smoke
Theme URI: https://smoke.prsindia.in
Author: Up In Smoke Wraps
Description: Custom theme for Up In Smoke Wraps, an all-natural cigar wrap brand. Built from the site's design prototype.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: upinsmoke
*/

/* ==========================================================================
   Up In Smoke Wraps — Variant 3 ("Slapwoods-matched") shared design system
   Tokens below are taken from computed styles read directly off slapwoods.com
   (color, radius, letter-spacing, font stack) — not eyeballed from screenshots.
   Content on every page stays 100% client-sourced; only the visual system and
   section layout are modeled on the reference site.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Kaushan+Script&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --bg:        #0C0A08;   /* real computed body background on slapwoods.com */
  --bg-2:      #17130D;
  --panel:     #1F1911;
  --ink:       #F6EEDE;   /* real computed text color on slapwoods.com */
  --muted:     #A79C8C;
  --amber:     #F0A23C;   /* real computed CTA background on slapwoods.com */
  --amber-ink: #070605;   /* real computed CTA text color on slapwoods.com */
  --amber-soft:rgba(240,162,60,.16);
  --line:      rgba(246,238,222,.14);
  --brick:     #C0432E;

  --font-display: 'Anton', 'Helvetica Neue', Arial, sans-serif;
  --font-script:  'Kaushan Script', cursive;   /* real script font on slapwoods.com */
  --font-body:    'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif; /* real body font is Geist; Inter is the closest reliably-loadable stand-in */

  --container: 1240px;
  --radius: 4px;   /* real computed border-radius on slapwoods.com CTA buttons — NOT a pill */
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--muted);
  font-family:var(--font-body); font-size:16px; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); color:var(--ink); margin:0; line-height:1; font-weight:400; text-transform:uppercase; letter-spacing:.01em; }
h1{ font-size:2.6rem; } h2{ font-size:2rem; } h3{ font-size:1.4rem; } h4{ font-size:1.1rem; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
section{ position:relative; }
.amber{ color:var(--amber); }

/* ---- eyebrow ---- */
.eyebrow{
  font-family:var(--font-body); font-weight:700; font-size:12px;
  letter-spacing:.2em; text-transform:uppercase; color:var(--amber);
}

/* ---- buttons — 4px radius, wide tracking, matches real computed values ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-body); font-weight:700; font-size:14px;
  letter-spacing:1.4px; text-transform:uppercase;
  padding:16px 36px; border-radius:var(--radius); border:1px solid transparent;
  cursor:pointer; transition:filter .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn:active{ filter:brightness(.95); }
.btn-amber{ background:var(--amber); color:var(--amber-ink); }
.btn-amber:hover{ filter:brightness(1.08); }
.btn-outline{ background:transparent; color:var(--ink); border-color:rgba(246,238,222,.35); }
.btn-outline:hover{ border-color:var(--amber); color:var(--amber); }
.btn-ghost{ color:var(--amber); font-weight:700; letter-spacing:2.4px; font-size:12px; padding:0; border:0; background:none; }
.btn-ghost:hover{ color:var(--ink); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.4; cursor:not-allowed; }

/* ---- utility bar ---- */
.utility-bar{ background:#000; color:var(--ink); font-family:var(--font-body); font-weight:700; font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; padding:10px 0; text-align:center; border-bottom:1px solid var(--line); }
.badge-21{ display:inline-flex; align-items:center; justify-content:center; border:1.5px solid var(--amber); color:var(--amber); border-radius:var(--radius); padding:2px 10px; margin-left:10px; font-size:11px; }

/* ---- header ---- */
.site-header{ position:sticky; top:0; z-index:100; background:rgba(12,10,8,.88); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding:16px 24px; gap:24px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:38px; width:auto; border-radius:6px; }
.brand-word{ font-family:var(--font-display); font-size:19px; letter-spacing:.02em; color:var(--ink); text-transform:uppercase; }
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{ font-family:var(--font-body); font-weight:600; font-size:13px; letter-spacing:.7px; text-transform:uppercase; color:var(--ink); opacity:.8; }
.nav-links a:hover, .nav-links a.active{ opacity:1; color:var(--amber); }
.nav-actions{ display:flex; align-items:center; gap:14px; }
.bag-pill{ display:inline-flex; align-items:center; gap:8px; background:var(--panel); border:1px solid var(--line); color:var(--ink); font-family:var(--font-body); font-weight:700; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; padding:9px 16px; border-radius:var(--radius); cursor:pointer; }
.bag-pill .dot{ background:var(--brick); color:#fff; font-family:var(--font-body); font-weight:800; font-size:10.5px; min-width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.hamburger{ display:none; background:none; border:0; cursor:pointer; padding:6px; }
.hamburger span{ display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; }
.mobile-menu{ display:none; flex-direction:column; background:var(--bg-2); border-bottom:1px solid var(--line); padding:8px 24px 18px; }
.mobile-menu a{ font-family:var(--font-body); font-weight:700; font-size:14px; text-transform:uppercase; letter-spacing:.06em; padding:12px 0; border-bottom:1px solid var(--line); color:var(--muted); }
.mobile-menu.is-open{ display:flex; }
@media (max-width:920px){ .nav-links{ display:none; } .hamburger{ display:inline-block; } }

/* ---- hero ---- */
.hero{ min-height:92vh; display:flex; align-items:flex-end; position:relative; overflow:hidden; background:var(--bg); }
.hero-bg{ position:absolute; inset:0; background-size:cover; background-position:center; }
.hero-scrim{ position:absolute; inset:0; background:
    radial-gradient(ellipse 75% 55% at 18% 100%, var(--amber-soft) 0%, transparent 60%),
    linear-gradient(180deg, rgba(12,10,8,.5) 0%, rgba(12,10,8,.3) 40%, rgba(12,10,8,.97) 100%); }
.hero-inner{ position:relative; z-index:2; padding:72px 24px 64px; width:100%; }
.hero-loc{ font-family:var(--font-body); font-weight:800; font-size:12.5px; letter-spacing:.28em; text-transform:uppercase; color:var(--amber); margin-bottom:18px; }
.hero-script{ font-family:var(--font-script); font-size:clamp(2.6rem,6.4vw,5rem); color:var(--ink); line-height:1.05; margin-bottom:8px; }
.hero-script span{ display:block; margin-left:6%; }
.hero-sub{ font-family:var(--font-body); font-weight:700; font-size:13.5px; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); margin:20px 0 30px; }
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.hero-scroll{ position:absolute; right:28px; bottom:28px; writing-mode:vertical-rl; font-size:11px; letter-spacing:.2em; color:var(--muted); text-transform:uppercase; display:flex; align-items:center; gap:10px; }
.hero-scroll::after{ content:''; width:1px; height:40px; background:var(--line); }

/* ---- big drop headline band ---- */
.drop-head{ padding:76px 0 40px; }
.drop-head h2{ font-size:clamp(2.6rem,7vw,5.2rem); }
.drop-head .row{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; }

/* ---- carousel ---- */
.carousel-head{ text-align:center; padding-top:10px; }
.carousel-head p{ color:var(--muted); font-size:13px; letter-spacing:.14em; text-transform:uppercase; font-weight:700; margin-top:10px; }
.carousel{ padding:20px 0 90px; }
.carousel-stage{ position:relative; height:420px; display:flex; align-items:center; justify-content:center; }
.carousel-track{ position:relative; width:100%; height:100%; }
.carousel-item{ position:absolute; top:50%; left:50%; width:230px; transform:translate(-50%,-50%) scale(.55); opacity:0; filter:blur(3px); transition:transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s ease, filter .5s ease; z-index:1; pointer-events:none; }
.carousel-item img{ border-radius:var(--radius); box-shadow:0 30px 60px rgba(0,0,0,.55); background:var(--panel); }
.carousel-item.is-active{ transform:translate(-50%,-50%) scale(1); opacity:1; filter:blur(0); z-index:5; pointer-events:auto; }
.carousel-item.is-prev1{ transform:translate(calc(-50% - 200px),-50%) scale(.75); opacity:.55; filter:blur(1px); z-index:4; }
.carousel-item.is-next1{ transform:translate(calc(-50% + 200px),-50%) scale(.75); opacity:.55; filter:blur(1px); z-index:4; }
.carousel-item.is-prev2{ transform:translate(calc(-50% - 360px),-50%) scale(.55); opacity:.25; z-index:3; }
.carousel-item.is-next2{ transform:translate(calc(-50% + 360px),-50%) scale(.55); opacity:.25; z-index:3; }
.carousel-arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:10; width:44px; height:44px; border-radius:50%; border:1px solid var(--line); background:var(--panel); color:var(--ink); font-size:18px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.carousel-arrow:hover{ border-color:var(--amber); color:var(--amber); }
.carousel-arrow.prev{ left:2%; } .carousel-arrow.next{ right:2%; }
.carousel-caption{ text-align:center; margin-top:24px; }
.carousel-caption h3{ font-size:clamp(1.8rem,4vw,2.6rem); }
.carousel-caption p{ color:var(--muted); margin:10px 0 24px; }
.carousel-dots{ display:flex; justify-content:center; gap:8px; margin-top:22px; }
.carousel-dots button{ width:8px; height:8px; border-radius:50%; border:0; background:var(--line); cursor:pointer; padding:0; }
.carousel-dots button.is-active{ background:var(--amber); width:22px; border-radius:5px; }

/* ---- full-bleed single-product spotlight (mirrors the reference's per-flavor band) ---- */
.spotlight{ min-height:78vh; display:flex; align-items:center; position:relative; overflow:hidden; }
.spotlight-bg{ position:absolute; inset:0; background-size:cover; background-position:center; }
.spotlight-scrim{ position:absolute; inset:0; background:linear-gradient(90deg, rgba(12,10,8,.92) 0%, rgba(12,10,8,.55) 45%, rgba(12,10,8,.15) 100%); }
.spotlight-inner{ position:relative; z-index:2; max-width:560px; padding:60px 24px; }
.spotlight-inner h2{ font-size:clamp(2.4rem,6vw,4.4rem); color:var(--amber); margin-top:10px; }
.spotlight-inner p{ color:var(--ink); font-size:16.5px; margin:16px 0 26px; opacity:.85; }

/* ---- teaser grid ("more dropping soon") ---- */
.teaser-head{ text-align:center; padding:70px 0 30px; }
.teaser-head p{ color:var(--muted); font-size:12.5px; letter-spacing:.18em; text-transform:uppercase; font-weight:700; }
.teaser-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:4px; padding-bottom:90px; }
.teaser-item{ position:relative; aspect-ratio:3/4; overflow:hidden; }
.teaser-item img{ width:100%; height:100%; object-fit:cover; }
.teaser-item .label{ position:absolute; left:16px; bottom:16px; font-family:var(--font-display); color:var(--ink); font-size:1.1rem; }
@media (max-width:820px){ .teaser-grid{ grid-template-columns:repeat(2,1fr);} }

/* ---- centered statement band ---- */
.statement-band{ text-align:center; padding:110px 0; }
.statement-band .eyebrow{ display:block; margin-bottom:14px; }
.statement-band h2{ font-size:clamp(2rem,5.4vw,3.6rem); }
.statement-band p{ max-width:640px; margin:22px auto 30px; color:var(--muted); font-size:16px; }

/* ---- culture / story band ---- */
.culture-band{ padding:96px 0; }
.culture-row{ display:grid; grid-template-columns:1fr 1.4fr; gap:40px; align-items:center; }
.culture-copy h2{ font-size:clamp(2.2rem,5vw,3.4rem); margin:12px 0 16px; }
.culture-copy p{ color:var(--muted); font-size:16px; margin-bottom:26px; max-width:400px; }
.culture-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.culture-tile{ position:relative; aspect-ratio:3/4; border-radius:var(--radius); overflow:hidden; }
.culture-tile img{ width:100%; height:100%; object-fit:cover; }
.culture-tile .label{ position:absolute; left:10px; bottom:10px; font-family:var(--font-display); color:var(--ink); font-size:.85rem; text-shadow:0 2px 8px rgba(0,0,0,.7); }
@media (max-width:920px){ .culture-row{ grid-template-columns:1fr; } .culture-grid{ grid-template-columns:repeat(4,1fr); } }

/* ---- section utility ---- */
.section{ padding:96px 0; }
.section-panel{ background:var(--bg-2); }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:820px){ .grid-2{ grid-template-columns:1fr; } }
.dark-card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:28px; }
.dark-card .tag{ font-family:var(--font-body); font-size:11.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--amber); }
.dark-card h3{ font-size:22px; margin-top:10px; text-transform:none; }
.dark-card p{ color:var(--muted); margin-top:10px; font-size:15px; }

/* ---- product / buy box ---- */
.stock-pill{ display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; color:#7fce8f; font-family:var(--font-body); text-transform:uppercase; letter-spacing:.05em; }
.stock-pill::before{ content:''; width:7px; height:7px; border-radius:50%; background:#7fce8f; }
.qty-stepper{ display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.qty-stepper button{ background:none; border:0; width:40px; height:40px; font-size:18px; cursor:pointer; color:var(--ink); font-family:var(--font-body); }
.qty-stepper button:hover{ background:var(--panel); color:var(--amber); }
.qty-stepper span{ min-width:36px; text-align:center; font-family:var(--font-body); font-weight:800; color:var(--ink); }

/* ---- product grid / cards ---- */
.product-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:28px; }
.product-card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; position:relative; transition:transform .2s ease, border-color .2s ease; }
.product-card:hover{ transform:translateY(-4px); border-color:var(--amber); }
.product-card figure{ margin:0; aspect-ratio:1/1; overflow:hidden; background:var(--bg-2); }
.product-card figure img{ width:100%; height:100%; object-fit:cover; }
.product-card .body{ padding:20px 22px 24px; }
.product-card .kicker{ font-family:var(--font-body); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--amber); font-weight:700; }
.product-card h3{ font-size:19px; margin-top:8px; text-transform:none; color:var(--ink); }
.product-card .price-row{ display:flex; align-items:center; justify-content:space-between; margin-top:14px; }
.product-card .price{ font-family:var(--font-display); font-size:20px; color:var(--ink); }
.badge-sticker{ position:absolute; top:16px; right:16px; background:var(--brick); color:#fff; font-family:var(--font-body); font-weight:800; font-size:11px; letter-spacing:.05em; text-transform:uppercase; padding:7px 12px; border-radius:var(--radius); }

/* ---- page hero (interior pages) ---- */
.page-hero{ padding:64px 0 56px; border-bottom:1px solid var(--line); }
.page-hero h1{ font-size:clamp(2.4rem,5vw,4rem); margin-top:14px; }
.page-hero p{ max-width:560px; margin-top:16px; color:var(--muted); font-size:16.5px; }
.breadcrumb{ font-family:var(--font-body); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.breadcrumb a:hover{ color:var(--amber); }

/* ---- newsletter (kept minimal — used only where a page genuinely needs an email capture) ---- */
.newsletter{ background:var(--panel); padding:80px 0; text-align:center; border-top:1px solid var(--line); }
.newsletter h2{ font-size:clamp(2rem,4vw,3rem); }
.newsletter p{ color:var(--muted); margin:14px 0 28px; }
.newsletter-form{ display:flex; gap:12px; max-width:480px; margin:0 auto; flex-wrap:wrap; justify-content:center; }
.newsletter-form input{ flex:1; min-width:220px; padding:15px 20px; border-radius:var(--radius); border:1px solid var(--line); font-family:var(--font-body); font-size:15px; background:var(--bg); color:var(--ink); }
.newsletter-form input::placeholder{ color:var(--muted); }
.newsletter-form input:focus{ outline:2px solid var(--amber); outline-offset:2px; }

/* ---- toast ---- */
.toast{ position:fixed; bottom:26px; left:50%; transform:translate(-50%,120%); background:var(--panel); border:1px solid var(--amber); color:var(--ink); padding:14px 26px; border-radius:999px; font-family:var(--font-body); font-weight:700; font-size:14px; display:flex; align-items:center; gap:10px; z-index:300; transition:transform .32s cubic-bezier(.2,.9,.3,1); box-shadow:0 14px 34px rgba(0,0,0,.5); }
.toast.is-visible{ transform:translate(-50%,0); }
.toast .dot2{ width:8px; height:8px; border-radius:50%; background:var(--amber); }

/* ---- reveal ---- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---- footer — giant faded wordmark behind the bottom bar, matches the reference's footer motif ---- */
.site-footer{ background:#000; color:var(--muted); padding:72px 0 0; border-top:1px solid var(--line); position:relative; overflow:hidden; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid var(--line); position:relative; z-index:2; }
.footer-brand .brand-word{ color:var(--ink); font-family:var(--font-script); font-size:28px; text-transform:none; }
.footer-brand p{ margin-top:16px; font-size:14px; line-height:1.7; max-width:280px; }
.footer-col h5{ font-family:var(--font-body); color:var(--amber); font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; margin-bottom:18px; font-weight:700; }
.footer-col a, .footer-col span{ display:block; font-size:14.5px; margin-bottom:12px; color:var(--muted); }
.footer-col a:hover{ color:var(--amber); }
.footer-social{ display:flex; gap:12px; margin-top:6px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:13px; color:var(--ink); }
.footer-social a:hover{ border-color:var(--amber); color:var(--amber); }
.footer-legal{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; padding:26px 0; font-size:12.5px; position:relative; z-index:2; }
.footer-warning{ font-size:11.5px; line-height:1.6; max-width:900px; margin:26px 0 0; padding:16px 18px; border:1px solid var(--line); border-radius:var(--radius); color:var(--muted); position:relative; z-index:2; }
.footer-bigword{ position:absolute; left:0; right:0; bottom:-6vw; text-align:center; font-family:var(--font-display); font-size:14vw; color:rgba(246,238,222,.05); white-space:nowrap; z-index:1; pointer-events:none; user-select:none; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

.text-center{ text-align:center; }
