:root {
  --plum: #1A1219;
  --vermillion: #E8522D;
  --saffron: #F5A623;
  --cream: #FFF3D6;
  --paper: #FAFAF8;
  --emerald: #1B7A5A;
  --plum-light: #2A2026;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--plum);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(26, 18, 25, 0.92);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--cream);
  text-transform: uppercase;
}
.nav-logo-img {
  height: 24px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s;
  max-width: 140px;
  line-height: 1.4;
  text-align: center;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active {
  opacity: 1;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--saffron);
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  background: var(--plum);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  animation: heroFadeIn 1.2s ease-out 0.2s forwards;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,18,25,0.15) 0%,
    rgba(26,18,25,0.0) 20%,
    rgba(26,18,25,0.25) 45%,
    rgba(26,18,25,0.65) 70%,
    rgba(26,18,25,0.9) 100%
  );
  z-index: 1;
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 24px 40px;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease-out 0.6s forwards;
}
.hero-tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 10px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 14px;
}
.hero-title em {
  font-style: italic;
  color: var(--saffron);
}
.hero-sub {
  font-size: 14px;
  font-weight: 900;
  color: var(--cream);
  opacity: 0.7;
  margin-bottom: 24px;
  max-width: 340px;
  line-height: 1.5;
}
.hero-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--saffron);
  padding: 14px 32px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.hero-cta:hover {
  background: var(--cream);
  transform: translateY(-1px);
}

/* ── PROMO BAR ── */
.promo-bar {
  background: var(--vermillion);
  color: var(--cream);
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── PANELS GRID ── */
.panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.panel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: transform 0.3s;
}
.panel:hover .panel-img {
  transform: scale(1.04);
}
.panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease-out;
}
.panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.panel-content {
  position: relative;
  z-index: 2;
}
.panel-tag {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.panel-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 4px;
}
.panel-desc {
  font-size: 13px;
  font-weight: 900;
  opacity: 0.75;
  line-height: 1.4;
}
.panel-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  opacity: 0.6;
}
.panel:hover .panel-arrow {
  transform: translate(2px, -2px);
  opacity: 1;
}

/* ── FULL-WIDTH PANEL ── */
.panel-full {
  grid-column: 1 / -1;
  min-height: 260px;
}

/* ── PANEL COLOR VARIANTS ── */
.panel--saffron {
  background: var(--saffron);
}
.panel--saffron .panel-overlay {
  background: linear-gradient(to top, rgba(245,166,35,0.9) 0%, rgba(245,166,35,0.0) 45%);
}
.panel--saffron .panel-tag,
.panel--saffron .panel-title,
.panel--saffron .panel-desc { color: var(--plum); }

.panel--plum {
  background: var(--plum);
}
.panel--plum .panel-overlay {
  background: linear-gradient(to top, rgba(26,18,25,0.9) 0%, rgba(26,18,25,0.0) 45%);
}
.panel--plum .panel-tag { color: var(--saffron); }
.panel--plum .panel-title { color: var(--cream); }
.panel--plum .panel-desc { color: var(--cream); }

.panel--vermillion {
  background: var(--vermillion);
}
.panel--vermillion .panel-overlay {
  background: linear-gradient(to top, rgba(232,82,45,0.9) 0%, rgba(232,82,45,0.0) 45%);
}
.panel--vermillion .panel-tag { color: var(--saffron); }
.panel--vermillion .panel-title { color: var(--cream); }
.panel--vermillion .panel-desc { color: var(--cream); }

.panel--cream {
  background: var(--cream);
}
.panel--cream .panel-overlay {
  background: linear-gradient(to top, rgba(255,243,214,0.95) 0%, rgba(255,243,214,0.0) 45%);
}
.panel--cream .panel-tag { color: var(--vermillion); }
.panel--cream .panel-title { color: var(--plum); }
.panel--cream .panel-desc { color: var(--plum); }

.panel--emerald {
  background: var(--emerald);
}
.panel--emerald .panel-overlay {
  background: linear-gradient(to top, rgba(27,122,90,0.9) 0%, rgba(27,122,90,0.0) 45%);
}
.panel--emerald .panel-tag { color: var(--saffron); }
.panel--emerald .panel-title { color: var(--cream); }
.panel--emerald .panel-desc { color: var(--cream); }

.panel--paper {
  background: var(--paper);
  border-top: 1px solid rgba(26,18,25,0.06);
}
.panel--paper .panel-tag { color: var(--emerald); }
.panel--paper .panel-title { color: var(--plum); }
.panel--paper .panel-desc { color: var(--plum); }

/* ── 2-COL GRID ON MOBILE ── */
.panels-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* ── NEWSLETTER INPUT ── */
.newsletter-input {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 10px 14px;
  border: 1px solid rgba(26,18,25,0.15);
  border-right: none;
  background: white;
  outline: none;
  flex: 1;
  min-width: 0;
}
.newsletter-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--vermillion);
  color: var(--cream);
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s;
}

/* ── FEATURED PRODUCTS ── */
.hp-featured { padding: 40px 16px 8px; }
.hp-featured-header { text-align: center; margin-bottom: 28px; }
.hp-featured-tag { font-size: 10px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--vermillion); margin-bottom: 8px; }
.hp-featured-title { font-family: var(--font-display); font-size: clamp(22px, 5vw, 30px); font-weight: 400; font-style: italic; line-height: 1.2; color: var(--plum); }
.hp-featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-fcard { text-decoration: none; color: inherit; display: flex; flex-direction: column; min-width: 0; opacity: 0; transform: translateY(16px); }
.hp-fcard.visible { animation: slideUp 0.6s ease-out forwards; }
.hp-fcard-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; background: #f0ede6; margin-bottom: 12px; flex-shrink: 0; }
.hp-fcard-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.5s ease-out; }
.hp-fcard:hover .hp-fcard-img { transform: scale(1.04); }
.hp-fcard-badge { position: absolute; top: 10px; left: 10px; font-size: 9px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 8px; z-index: 2; line-height: 1; background: var(--saffron); color: var(--plum); }
.hp-fcard-body { padding: 0 2px; }
.hp-fcard-brand { font-size: 10px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--plum); opacity: 0.4; margin-bottom: 3px; }
.hp-fcard-name { font-size: 13px; font-weight: 400; line-height: 1.35; color: var(--plum); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-fcard-price { font-size: 15px; font-weight: 500; color: var(--vermillion); }
.hp-fcard-price-old { font-size: 12px; font-weight: 300; color: var(--plum); opacity: 0.3; text-decoration: line-through; margin-left: 6px; }

/* ── FOOTER (injected by /js/footer.js) ── */

/* ── ANIMATIONS ── */
@keyframes heroFadeIn {
  to { opacity: 1; }
}
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
.panel {
  opacity: 0;
  transform: translateY(16px);
}
.panel.visible {
  animation: slideUp 0.6s ease-out forwards;
}

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 102;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: #1A1219;
    z-index: 101;
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 16px !important;
    letter-spacing: 3px;
    padding: 16px 0;
    opacity: 0.8;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 243, 214, 0.06);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover,
  .nav-links a:active { opacity: 1; color: var(--saffron); }
}

/* ── DESKTOP ── */
@media (min-width: 768px) {
  .nav { padding: 18px 40px; }
  .nav-logo { font-size: 20px; }
  .nav-links { gap: 28px; }
  .nav-links a { font-size: 13px; }

  .hero { height: 75vh; max-height: 700px; }
  .hero-content { padding: 0 60px 60px; }
  .hero-title { max-width: 500px; }
  .hero-sub { max-width: 400px; }

  .panels-2col {
    grid-template-columns: 1fr 1fr;
  }

  .panel { min-height: 300px; padding: 32px; }
  .panel-full { min-height: 320px; }
  .panel-title { font-size: 26px; }

  .hp-featured { padding: 48px 32px 16px; max-width: 1280px; margin: 0 auto; }
  .hp-featured-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .hp-fcard-name { font-size: 14px; }
}

@media (min-width: 1024px) {
  .hero-content { padding: 0 80px 80px; }
  .hero-title { font-size: 52px; max-width: 600px; }

  .panels-2col {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .panel--full-desktop {
    grid-column: 1 / -1;
  }

  .panel { min-height: 340px; padding: 36px; }
  .panel-title { font-size: 28px; }

  .hp-featured { padding: 56px 48px 20px; }
  .hp-featured-grid { gap: 28px; }
  .hp-fcard-body { padding: 0 4px; }
}

/* ── SCROLL REVEAL DELAYS ── */
.panel:nth-child(1) { animation-delay: 0.1s; }
.panel:nth-child(2) { animation-delay: 0.2s; }
.panel:nth-child(3) { animation-delay: 0.15s; }
.panel:nth-child(4) { animation-delay: 0.25s; }
.panel:nth-child(5) { animation-delay: 0.1s; }
.panel:nth-child(6) { animation-delay: 0.2s; }
