/* ─────────────────────────────────────────────────────────────────
   RUHROOP - shared site styles. One place to tweak colors, fonts,
   nav, buttons, and card layout across every page.
   ───────────────────────────────────────────────────────────────── */

:root{
  --bg:#F2E5C6;
  --surface:#f6efe4;
  --ink:#1c1410;
  --muted:#7d6a5a;
  --maroon:#4e0000;
  --maroon-deep:#2b0a10;
  --line:#e2d6c3;
  --cream:#e7d6c2;
  --gold:#798da5;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:'Inter',system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
button{font-family:inherit;border:none;background:none;cursor:pointer;}

/* ---- Nav ---- */
.nav{
  position:sticky;
  top:0;
  z-index:30;
  background:var(--maroon-deep);
  border-bottom:1px solid var(--maroon-deep);
  display:grid;
  grid-template-columns:auto 1fr auto;
  grid-template-areas:"logo links ig";
  align-items:center;
  column-gap:28px;
  padding:14px 34px;
}
.nav > a{grid-area:logo;justify-self:start;}
.nav-links{grid-area:links;display:flex;flex-wrap:wrap;gap:26px;justify-self:end;}
.nav-links a{
  font-size:11.5px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--cream);
  opacity:0.7;
  padding-bottom:3px;
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, opacity .2s ease;
  white-space:nowrap;
}
.nav-links a.active,
.nav-links a:hover{opacity:1;border-color:var(--cream);}
.logo{
  display:block;
  height:36px;
  width:auto;
  border-radius:2px;
}
.nav-icons{
  grid-area:ig;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:18px;
}
.nav-icons a{
  position:relative;
  display:flex;
  align-items:center;
  color:var(--cream);
  opacity:0.8;
  transition:opacity .2s ease;
}
.nav-icons a:hover{opacity:1;}
.nav-icons svg{width:18px;height:18px;}
.cart-badge{
  position:absolute;
  top:-7px;right:-9px;
  min-width:16px;
  height:16px;
  padding:0 4px;
  background:#c8962e;
  color:#fff;
  box-shadow:0 0 0 1.5px rgba(43,10,16,0.9);
  font-size:10px;
  font-weight:600;
  line-height:16px;
  text-align:center;
  border-radius:50%;
  display:none;
}

/* ---- Quantity stepper (shared: product page + cart) ---- */
.qty-stepper{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--line);
}
.qty-stepper button{
  width:36px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  color:var(--ink);
  cursor:pointer;
  background:none;
  border:none;
}
.qty-stepper button:hover{background:var(--surface);}
.qty-stepper input{
  width:42px;
  height:38px;
  border:none;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
  text-align:center;
  font-family:inherit;
  font-size:14px;
  color:var(--ink);
  -moz-appearance:textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}

/* ---- Hero carousel (homepage) ---- */
.hero{
  position:relative;
  height:78vh;
  min-height:460px;
  max-height:760px;
  width:100%;
  background:var(--maroon-deep);
}
.hero-track{
  display:flex;
  height:100%;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.hero-track::-webkit-scrollbar{display:none;}
.hero-slide{
  flex:0 0 100%;
  height:100%;
  scroll-snap-align:start;
  position:relative;
  background:var(--maroon-deep);
}
.hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center 32%;}
.hero-slide .ph-fill{
  position:absolute;inset:0;
  display:flex;align-items:flex-end;justify-content:flex-end;
}
.hero-slide:nth-child(1) .ph-fill{background:linear-gradient(155deg,#4a1219,#2b0a10);}
.hero-slide:nth-child(2) .ph-fill{background:linear-gradient(155deg,#5c1a22,#330d13);}
.hero-slide:nth-child(3) .ph-fill{background:linear-gradient(155deg,#421119,#25080d);}
.hero-ph-tag{
  margin:0 24px 24px 0;
  font-size:11px;
  color:rgba(244,235,222,0.8);
  border:1px dashed rgba(244,235,222,0.5);
  padding:8px 14px;
  border-radius:2px;
}
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px;height:38px;
  border-radius:50%;
  background:rgba(244,235,222,0.92);
  color:var(--maroon-deep);
  display:flex;align-items:center;justify-content:center;
  z-index:5;
  transition:background .2s ease;
}
.hero-arrow:hover{background:#fff;}
.hero-arrow.prev{left:18px;}
.hero-arrow.next{right:18px;}
.hero-arrow svg{width:16px;height:16px;}

.hero-dots{
  position:absolute;
  left:0;right:0;bottom:18px;
  z-index:5;
  display:flex;
  justify-content:center;
  gap:7px;
}
.hero-dot{
  width:6px;height:6px;
  border-radius:50%;
  background:rgba(244,235,222,0.4);
  transition:background .2s ease, transform .2s ease;
}
.hero-dot.active{background:var(--bg);transform:scale(1.25);}

/* ---- Section headers ---- */
.section-head{
  text-align:center;
  padding:64px 6vw 34px;
}
.section-head .eyebrow{
  font-family:'Playfair Display',serif;
  font-style:italic;
  font-size:14px;
  color:var(--maroon);
  margin-bottom:10px;
}
.section-head h1,
.section-head h2{
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:clamp(22px,3vw,30px);
  letter-spacing:0.08em;
  text-transform:uppercase;
}

/* ---- Product grids ---- */
.grid-2col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px 20px;
  padding:0 6vw 40px;
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:36px 22px;
  padding:0 6vw 90px;
}
.grid-3col{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px 20px;
  padding:0 6vw 40px;
}
.card-media{
  position:relative;
  aspect-ratio:3/4;
  width:100%;
  background:var(--surface);
  overflow:hidden;
  margin-bottom:14px;
}
.card-media img{width:100%;height:100%;object-fit:cover;}
.card-media .ph-tag{
  position:absolute;
  bottom:10px;right:10px;
  font-size:9.5px;
  color:rgba(34,21,18,0.4);
  border:1px dashed rgba(34,21,18,0.25);
  padding:4px 8px;
  border-radius:2px;
}
.card-name{
  font-family:'Montserrat',sans-serif;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:0.05em;
  text-transform:uppercase;
  margin-bottom:4px;
}
.card-price{
  font-size:12.5px;
  letter-spacing:0.02em;
  color:var(--muted);
}

/* ---- Buttons ---- */
.cta-wrap{text-align:center;padding:12px 0 70px;}
.btn-outline{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--maroon);
  color:var(--maroon);
  padding:12px 26px;
  border-radius:2px;
  font-size:11.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  transition:background .2s ease, color .2s ease;
  cursor:pointer;
  background:none;
  font-family:inherit;
}
.btn-outline:hover{background:var(--maroon);color:#fff;}
.btn-solid{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--maroon);
  color:#fff;
  padding:13px 26px;
  border-radius:2px;
  font-size:11.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  transition:background .2s ease;
  cursor:pointer;
  border:none;
  font-family:inherit;
}
.btn-solid:hover{background:var(--maroon-deep);}

/* ---- Page header (non-home pages) ---- */
.page-head{
  padding:56px 6vw 12px;
  max-width:640px;
}
.page-head .eyebrow{
  font-family:'Playfair Display',serif;
  font-style:italic;
  font-size:14px;
  color:var(--maroon);
  margin-bottom:10px;
}
.page-head h1{
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:clamp(20px,2.6vw,26px);
  letter-spacing:0.08em;
  text-transform:uppercase;
}

/* ---- Footer ---- */
footer{
  background:var(--maroon-deep);
  color:rgba(244,235,222,0.85);
  padding:32px 3vw;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  flex-wrap:wrap;
  gap:12px;
}
footer a{color:rgba(244,235,222,0.85);}
.footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px;}
.footer-right a{text-transform:none;letter-spacing:0.04em;}
footer a:hover{color:var(--bg);}

/* ---- Toast ---- */
.toast{
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translate(-50%,20px);
  background:var(--maroon-deep);
  color:var(--bg);
  padding:13px 22px;
  font-size:12.5px;
  border-radius:3px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
  z-index:50;
  white-space:nowrap;
}
.toast.show{opacity:1;transform:translate(-50%,0);}

@media (max-width:640px){
  .nav{
    grid-template-columns:auto 1fr;
    grid-template-areas:
      "logo ig"
      "links links";
    row-gap:12px;
    column-gap:12px;
    padding:14px 5vw;
  }
  .logo{height:32px;justify-self:start;}
  .nav-links{gap:16px;justify-self:start;}
  .hero{height:70vh;}
  .section-head{padding:48px 5vw 24px;}
  .page-head{padding:40px 5vw 8px;}
  .grid-2col{gap:22px 12px;padding:0 5vw 32px;}
  .grid{grid-template-columns:repeat(2,1fr);gap:26px 14px;padding:0 5vw 70px;}
  .grid-3col{grid-template-columns:repeat(2,1fr);gap:22px 12px;padding:0 5vw 32px;}
}

/* ─────────────────────────────────────────────────────────────────
   HOMEPAGE LAYOUT - rounded hero with the nav floating inside it,
   and the Latest Drop side-scrolling rail.
   ───────────────────────────────────────────────────────────────── */
.home .hero{
  width:100%;
  margin:0;
  border-radius:0;
  overflow:hidden;
  height:100vh;
  max-height:820px;
}
.home .hero::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:140px;
  background:linear-gradient(to bottom,rgba(20,6,8,0.55),rgba(20,6,8,0));
  z-index:4;
  pointer-events:none;
}
.nav-overlay{
  position:fixed;
  top:0;left:0;right:0;
  background:transparent;
  border-bottom:1px solid transparent;
  transition:background .3s ease, padding .3s ease;
  grid-template-columns:auto 1fr auto;
  grid-template-areas:"logo links ig";
  column-gap:28px;
  padding:14px 34px;
}
.nav-overlay > a{grid-area:logo;}
.nav-overlay .logo{height:36px;}

.nav-overlay.scrolled{background:var(--maroon-deep);}
.nav-overlay .nav-links{justify-self:end;gap:26px;}
.nav-overlay .nav-links a,
.nav-overlay .nav-icons a{opacity:0.9;color:#f6efe4;}

.hero-cta{
  position:absolute;
  left:50%;
  bottom:52px;
  transform:translateX(-50%);
  z-index:5;
  background:rgba(242,229,198,0.92);
  color:var(--maroon-deep);
  padding:13px 28px;
  border-radius:999px;
  font-size:11.5px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  white-space:nowrap;
  transition:background .2s ease;
}
.hero-cta:hover{background:#fff;}

.home .section-head{padding-top:30px;}
.home .grid-3col{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  padding:0 4vw;
  gap:0 14px;
  margin:0 auto 44px;
  max-width:1240px;
}
.home .grid-3col .card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:8px 0 12px;
}
.home .grid-3col .card-media{
  width:100%;
  height:auto;
  aspect-ratio:3/4;
  border-radius:2px;
  margin-bottom:14px;
}
.card-note{
  font-size:11.5px;
  color:var(--muted);
  margin-bottom:6px;
}

/* ---- Latest Drop rail ---- */
.drop{
  display:grid;
  grid-template-columns:minmax(220px,24%) 1fr;
  grid-template-areas:"text rail" "btn rail";
  grid-template-rows:auto 1fr;
  column-gap:28px;
  padding:48px 0 12px 6vw;
}
.drop-text{grid-area:text;display:flex;flex-direction:column;align-items:flex-start;padding-top:8px;}
.drop-btn{grid-area:btn;align-self:end;justify-self:start;margin-bottom:56px;}
.drop-btn .chili{margin-left:2px;color:#b3261e;}
.drop-text .eyebrow{
  font-family:'Playfair Display',serif;
  font-style:italic;
  font-size:15px;
  color:var(--maroon);
  margin-bottom:6px;
}
.drop-text h2{
  font-family:'Playfair Display',serif;
  font-weight:500;
  font-size:clamp(30px,3.2vw,44px);
  line-height:1;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--maroon);
  margin-bottom:22px;
}
.drop-text p{max-width:320px;}
.drop-text p span{
  display:block;
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-weight:500;
  font-size:23px;
  line-height:1.2;
  color:var(--ink);
  text-wrap:balance;
}
.drop-text p em{
  display:block;
  margin-top:12px;
  font-family:'Playfair Display',serif;
  font-style:italic;
  font-size:14px;
  line-height:1.6;
  color:var(--maroon);
}
.drop-rail{grid-area:rail;min-width:0;}
.drop-track{
  display:flex;
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding-right:6vw;
}
.drop-track::-webkit-scrollbar{display:none;}
.drop-card{
  flex:0 0 clamp(200px,22vw,300px);
  scroll-snap-align:start;
}
.drop-media{
  position:relative;
  aspect-ratio:3/4;
  border-radius:4px;
  overflow:hidden;
  background:var(--surface);
}
.drop-media img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}
.drop-card:hover .drop-media img{transform:scale(1.04);}
.drop-media.is-sold-out img{opacity:0.55;}
.drop-label{
  position:absolute;
  left:0;right:0;bottom:0;
  padding:40px 14px 16px;
  background:linear-gradient(to top,rgba(20,6,8,0.6),rgba(20,6,8,0));
  color:#f6efe4;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  font-family:'Montserrat',sans-serif;
  font-size:11.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
}
.drop-label span:last-child{font-family:'Inter',sans-serif;letter-spacing:0.04em;opacity:0.85;}
.drop-arrows[hidden]{display:none;}
.drop-arrows{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:16px 6vw 0 0;
}
.drop-arrow{
  width:30px;height:30px;
  border-radius:50%;
  border:1px solid var(--maroon);
  color:var(--maroon);
  display:flex;align-items:center;justify-content:center;
  transition:background .2s ease, color .2s ease;
}
.drop-arrow:hover{background:var(--maroon);color:#fff;}
.drop-arrow svg{width:14px;height:14px;}

@media (max-width:640px){
  .home .hero{height:78vh;}
  .nav-overlay{
    grid-template-columns:auto 1fr;
    grid-template-areas:
      "logo ig"
      "links links";
    padding:14px 5vw;
    row-gap:12px;
  }
  .nav-overlay .nav-links{justify-self:start;gap:16px;}
  .hero-cta{bottom:44px;}
  .home .section-head{padding-top:22px;}
  .home .grid-3col{margin-bottom:28px;padding:0;gap:0 2px;}
  .home .grid-3col .card{padding:4px 0 10px;}
  .home .grid-3col .card-media{margin-bottom:10px;border-radius:0;}
  .home .grid-3col .card-name{font-size:10.5px;letter-spacing:0.03em;padding:0 4px;}
  .home .grid-3col .card-price{font-size:11.5px;}
  .drop{
    grid-template-columns:1fr;
    grid-template-areas:"text" "rail" "btn";
    grid-template-rows:auto;
    padding:34px 0 24px 5vw;
    row-gap:18px;
  }
  .drop-text{padding-right:5vw;padding-top:0;}
  .drop-text h2{margin-bottom:12px;}
  .drop-btn{margin-bottom:0;justify-self:start;}
  .drop-card{flex-basis:66vw;}

  .drop-arrows{padding-right:5vw;}
}

/* ---- Sold-out badge on product cards ---- */
.card-media.is-sold-out img{opacity:0.55;}
.sold-badge{
  position:absolute;
  top:10px;left:10px;
  background:var(--maroon);
  color:#fff;
  font-size:10px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  padding:5px 9px;
}
.grid-loading{
  grid-column:1/-1;
  padding:40px 6vw;
  text-align:center;
  font-size:13px;
  color:var(--muted);
}

/* ---- Homepage "our story" band ---- */
.about-banner{
  background:#e1cbb5;
  color:var(--ink);
  text-align:center;
  padding:24px 6vw 26px;
}
.about-banner-text{max-width:620px;margin:0 auto;}
.about-banner-text .eyebrow{
  font-family:'Playfair Display',serif;
  font-style:italic;
  font-size:14px;
  color:var(--maroon);
  margin-bottom:10px;
}
.about-banner-text p{
  font-family:'Cormorant Garamond','Playfair Display',serif;
  font-style:italic;
  font-weight:500;
  font-size:clamp(28px,3.4vw,42px);
  line-height:1.15;
  color:var(--maroon);
  margin-bottom:14px;
}
.about-banner-sub{
  display:block;
  font-size:14px;
  line-height:1.7;
  color:rgba(28,20,16,0.8);
  margin-bottom:24px;
}
.about-banner-btn{
  display:inline-block;
  padding:12px 26px;
  border:1px solid var(--maroon);
  border-radius:2px;
  font-size:11.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--maroon);
  transition:background .2s ease,color .2s ease;
}
.about-banner-btn:hover{background:var(--maroon);color:#fff;}
@media (max-width:640px){
  .about-banner{padding:16px 5vw 18px;}
  .about-banner-text .eyebrow{font-size:11.5px;margin-bottom:3px;}
  .about-banner-text p{font-size:20px;line-height:1.1;margin-bottom:5px;}
  .about-banner-sub{font-size:11.5px;line-height:1.4;margin-bottom:10px;}
  .about-banner-btn{padding:7px 16px;font-size:10px;}
}

/* ---- Sizes shown on hover over a product card ---- */
.card-sizes{
  position:absolute;
  left:0;right:0;bottom:0;
  padding:12px 10px;
  display:flex;
  justify-content:center;
  gap:12px;
  background:rgba(250,246,238,0.94);
  color:var(--ink);
  font-size:12px;
  letter-spacing:0.04em;
  transform:translateY(100%);
  transition:transform .25s ease;
}
.card-sizes .off{text-decoration:line-through;opacity:0.4;}
@media (hover:hover){
  .card:hover .card-sizes{transform:translateY(0);}
}
@media (hover:none){
  .card-sizes{display:none;}
}

/* Bold wordmark used in every header */
.logo.logo-bold,.nav-overlay .logo.logo-bold{height:26px;width:auto;}
@media (max-width:640px){.logo.logo-bold,.nav-overlay .logo.logo-bold{height:24px;}}

/* ---- Header banner: brand floral pattern blended into the maroon ---- */
.nav:not(.nav-overlay),
.nav-overlay.scrolled{
  background:
    linear-gradient(rgba(49,3,10,0.22),rgba(49,3,10,0.22)),
    url("logo/banner-bg.jpg") center 32%/cover no-repeat,
    #31030a;
  border-bottom-color:#31030a;
}
