/* ==========================================================================
   LYUBOMIROFF — Premium CSS
   Brand palette
   --lm-black:  #0d0d0d   Primary dark surface
   --lm-gold:   #c9913d   Brand accent (replaces Bootstrap blue everywhere)
   --lm-cream:  #f5f0e8   Warm off-white text on dark
   --lm-slate:  #1c1917   Deep warm slate
   --lm-muted:  #888780   Secondary text
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Bootstrap primary colour override — two lines, site-wide effect
   -------------------------------------------------------------------------- */
:root {
  --bs-primary:                #c9913d;
  --bs-primary-rgb:            201, 145, 61;
  --bs-btn-bg:                 #c9913d;
  --bs-btn-border-color:       #c9913d;
  --bs-btn-hover-bg:           #b07c2c;
  --bs-btn-hover-border-color: #b07c2c;
  --bs-link-color:             #c9913d;
  --bs-link-hover-color:       #b07c2c;

  --lm-black: #0d0d0d;
  --lm-gold:  #c9913d;
  --lm-cream: #f5f0e8;
  --lm-slate: #1c1917;
  --lm-muted: #888780;
  --lm-nav-h: 64px;
}

/* --------------------------------------------------------------------------
   1. Base & typography
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  opacity: 0;
  animation: pageEnter 0.5s ease forwards;
}

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.display-type {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

h1, h2, h3, .hero-title { font-family: "Playfair Display", serif; letter-spacing: 0.02em; }
h4, h5, h6              { font-family: "Playfair Display", serif; letter-spacing: 0.015em; }

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
}

.page-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   2. Custom gold cursor (desktop only)
   -------------------------------------------------------------------------- */
@media (pointer: fine) {
  body { cursor: none; }

  .lm-cursor {
    width: 10px;
    height: 10px;
    background: var(--lm-gold);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, width 0.2s ease, height 0.2s ease,
                background 0.2s ease, opacity 0.3s ease;
  }

  .lm-cursor.hovering {
    width: 26px;
    height: 26px;
    background: transparent;
    border: 1.5px solid var(--lm-gold);
    opacity: 0.65;
  }

  a, button, [role="button"], .nav-link, label { cursor: none; }
}

/* --------------------------------------------------------------------------
   3. Scroll-reveal animation system
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When parent receives .revealed, children animate in.
   transition-delay is set per-child by JS (data-reveal-delay),
   so this works for any number of children — not just 1-8. */
.reveal-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-children > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  body { animation: none; opacity: 1; }
  .product-detail-image { animation: none; }
}

/* --------------------------------------------------------------------------
   4. Page-leave transition
   -------------------------------------------------------------------------- */
body.page-leaving {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

/* --------------------------------------------------------------------------
   5. Navigation — transparent by default, dark on scroll
   -------------------------------------------------------------------------- */
.premium-navbar {
  position: sticky;
  top: 0;
  height: var(--lm-nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 1030;
  will-change: background;
}

.premium-navbar.nav-dark,
body.navbar-always-dark .premium-navbar {
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(201, 145, 61, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.navbar-brand-text {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lm-cream);
}

.premium-navbar .nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.85);
  position: relative;
  padding-bottom: 0.3rem;
  transition: color 0.2s ease;
}

.premium-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--lm-gold);
  transition: width 0.28s ease;
}

.premium-navbar .nav-link:hover,
.premium-navbar .nav-link.active { color: var(--lm-cream); }

.premium-navbar .nav-link:hover::after,
.premium-navbar .nav-link.active::after { width: 100%; }

.premium-navbar .nav-link.nav-cta {
  border: 1px solid rgba(201, 145, 61, 0.5);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  color: var(--lm-gold);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.premium-navbar .nav-link.nav-cta:hover {
  background: var(--lm-gold);
  color: var(--lm-black);
  border-color: var(--lm-gold);
}

.premium-navbar .nav-link.nav-cta::after { display: none; }

.premium-navbar .navbar-toggler { border-color: rgba(245, 240, 232, 0.3); }
.premium-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28245%2C240%2C232%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.premium-search {
  background: rgba(245, 240, 232, 0.1);
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  color: var(--lm-cream);
  font-size: 0.8rem;
  transition: background 0.2s, border-color 0.2s;
}

.premium-search::placeholder { color: rgba(245, 240, 232, 0.4); }
.premium-search:focus {
  background: rgba(245, 240, 232, 0.15);
  border-color: rgba(201, 145, 61, 0.5);
  outline: none;
  box-shadow: none;
  color: var(--lm-cream);
}

@media (max-width: 991px) {
  .premium-navbar .navbar-collapse {
    background: rgba(13, 13, 13, 0.98);
    padding: 1.5rem 1rem;
    border-top: 1px solid rgba(201, 145, 61, 0.12);
    border-radius: 0 0 12px 12px;
  }
  .premium-navbar .nav-link { font-size: 1rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
}

/* --------------------------------------------------------------------------
   6. Breadcrumb (dark theme to match new navbar)
   -------------------------------------------------------------------------- */
.breadcrumb-bar {
  position: sticky;
  top: var(--lm-nav-h);
  z-index: 1020;
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 145, 61, 0.1);
  font-size: 0.8rem;
  padding: 0.5rem 0;
}

.breadcrumb { --bs-breadcrumb-divider: "›"; margin: 0; }
.breadcrumb a { color: var(--lm-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--lm-gold); }
.breadcrumb-item.active { color: var(--lm-cream); font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.2); }

/* --------------------------------------------------------------------------
   7. Ornamental dividers
   -------------------------------------------------------------------------- */
.section-divider {
  display: block;
  width: 100%;
  height: 80px;
  background-image: url("/static/images/divider_gold.32d1056fbd85.webp");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 80px;
  border: none;
  opacity: 0.85;
}

.section-divider--slate  { background-image: url("/static/images/divider_slite.a57a8f5ce664.webp"); }
.section-divider--light  { background-image: url("/static/images/divider_slite.a57a8f5ce664.webp"); opacity: 0.45; }

.section-divider--sm {
  background-image: url("/static/images/divider_small_gold.5e4534c315d5.webp");
  height: 40px;
  background-size: auto 40px;
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   8. Footer — bird illustration + divider + premium rebuild
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--lm-black);
  color: #bbb;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 80px;
  background-image: url("/static/images/divider_gold.32d1056fbd85.webp");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 80px;
  opacity: 0.3;
}

.footer-bird-wrap { text-align: center; padding: 2.5rem 0 0.5rem; }

.footer-bird {
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.footer-bird:hover { opacity: 1; transform: scale(1.06); }

.footer-brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lm-cream);
  display: block;
  margin-top: 0.75rem;
  opacity: 0.9;
}

.footer-inner { padding: 2rem 0 2.5rem; }

.footer-brand {
  color: var(--lm-cream);
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.footer-brand:hover { color: var(--lm-gold); }
.footer-tagline { font-size: 0.875rem; color: #999; line-height: 1.7; margin: 0.6rem 0 0.4rem; }
.footer-legal   { font-size: 0.75rem; color: #888; }

.footer-heading {
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lm-gold);
  margin-bottom: 1rem;
  opacity: 1;
}

.footer-links { list-style: none; padding: 0; margin: 0; font-size: 0.875rem; }
.footer-links li { margin-bottom: 0.5rem; color: #999; }
.footer-links a { color: #aaa; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--lm-gold); }

.footer-social { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.footer-social a {
  color: #999; text-decoration: none; font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.6rem; transition: color 0.2s;
}
.footer-social a:hover { color: var(--lm-gold); }

.footer-policy-link { font-size: 0.78rem; color: #888; text-decoration: none; display: inline-block; margin-top: 0.4rem; transition: color 0.2s; }
.footer-policy-link:hover { color: var(--lm-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: #777;
}

/* --------------------------------------------------------------------------
   9. Section spacing & helpers
   -------------------------------------------------------------------------- */
.section-tight        { padding: 3.5rem 0; }
.index-section-normal { padding: 5rem 0; }
.signup-section-hero  { padding: 6rem 0; }
.mt-6                 { margin-top: 4.5rem; }

/* Pages that use hero images need the hero to pull under the transparent navbar */
.hero-pullup {
  margin-top: calc(-1 * var(--lm-nav-h));
  padding-top: var(--lm-nav-h);
}

/* --------------------------------------------------------------------------
   10. Home hero
   -------------------------------------------------------------------------- */
.index-hero-section {
  background-image: url("/static/images/index_herosection.9720658f7883.webp");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--lm-nav-h));
  padding-top: var(--lm-nav-h);
}

.index-hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.2) 55%, rgba(13,13,13,0.1) 100%);
  pointer-events: none;
}

.index-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0 1.5rem;
}

.index-hero-content .hero-title {
  color: var(--lm-cream);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}

.index-hero-content .lead {
  color: rgba(245, 240, 232, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .index-hero-section { background-position: center top; }
  .index-hero-content { text-align: center; max-width: 100%; }
  .index-hero-content .hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
}

@media (min-width: 1600px) {
  .index-hero-section { background-size: 100% auto; background-position: center; }
}

/* --------------------------------------------------------------------------
   11. Home — Product cards
   -------------------------------------------------------------------------- */
.index-aboutus-section-divider {
  width: 48px; height: 2px; background: var(--lm-gold);
  margin: 1.5rem auto; opacity: 0.5;
}

.index-product-card {
  border: none; border-radius: 16px; background: #fff; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.index-product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,0.14); }

.index-product-card .card-img-top {
  padding: 1.5rem; height: 240px; object-fit: contain;
  transition: transform 0.4s ease;
}

.index-product-card:hover .card-img-top { transform: scale(1.04); }

.card-title-index-products { font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.card-meta { font-size: 0.82rem; color: var(--lm-muted); }

/* --------------------------------------------------------------------------
   12. Home — Recipe marquee
   -------------------------------------------------------------------------- */
.marquee-wrapper { position: relative; overflow: hidden; }
.marquee-content { display: flex; width: max-content; animation: scroll-left 60s linear infinite; }
.marquee-item    { padding-right: 24px; }
.marquee-img     { max-height: 130px; object-fit: contain; opacity: 0.85; transition: transform 0.4s ease, opacity 0.4s ease; }
.marquee-img:hover { transform: scale(1.06); opacity: 1; }
.marquee-wrapper:hover .marquee-content { animation-play-state: paused; }

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2;
}
.marquee-wrapper::before { left:  0; background: linear-gradient(to right, #f8f9fa, transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(to left,  #f8f9fa, transparent); }

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   13. Home — Subscribe (dark luxe)
   -------------------------------------------------------------------------- */
#subscribe {
  background: linear-gradient(135deg, #130e04, #0d0d0d);
  border-top: 1px solid rgba(201, 145, 61, 0.2);
  border-bottom: 1px solid rgba(201, 145, 61, 0.2);
}

#subscribe h2      { color: var(--lm-cream); }
#subscribe .lead   { color: rgba(245, 240, 232, 0.65); }
#subscribe .small  { color: rgba(245, 240, 232, 0.35); }

#subscribe .btn-light {
  background: var(--lm-gold);
  border-color: var(--lm-gold);
  color: var(--lm-black);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
}

#subscribe .btn-light:hover { background: #b07c2c; transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   14. Recipes — list
   -------------------------------------------------------------------------- */
.recipe-banner { max-height: 340px; overflow: hidden; background: var(--lm-black); }
.recipe-banner img { width: 100%; height: 340px; object-fit: cover; object-position: center 55%; opacity: 0.88; }

.recipe-list-card {
  border: none; border-radius: 12px; overflow: hidden; background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.recipe-list-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.recipe-list-card .card-img-top { transition: transform 0.45s ease; }
.recipe-list-card:hover .card-img-top { transform: scale(1.04); }

.recipe-ingredient-preview { list-style: none; padding: 0; margin: 0; font-size: 0.82rem; color: #888; }
.recipe-ingredient-preview li { padding: 1px 0; }
.recipe-card-meta { display: flex; gap: 1rem; font-size: 0.78rem; color: #aaa; padding-top: 0.75rem; border-top: 1px solid #f0f0f0; }

/* --------------------------------------------------------------------------
   15. Recipes — detail
   -------------------------------------------------------------------------- */
.recipe-section-heading { font-family: "Playfair Display", serif; font-size: 1.35rem; font-weight: 600; margin-bottom: 0.75rem; }
.recipe-ingredients { padding-left: 1.25rem; font-size: 1rem; line-height: 1.9; color: #333; }
.recipe-steps { padding-left: 1.25rem; font-size: 1rem; line-height: 1.85; color: #333; }
.recipe-steps li { margin-bottom: 0.5rem; }
.recipe-meta-card { background: #faf8f4; border-radius: 10px; padding: 1.25rem; border: 1px solid #eee; }
.meta-row { display: flex; justify-content: space-between; align-items: center; padding: 0.45rem 0; border-bottom: 1px solid #ede8de; font-size: 0.9rem; }
.meta-row:last-child { border-bottom: none; }
.meta-label { color: #999; font-weight: 500; }
.meta-value { font-weight: 600; color: #333; }
.recipe-card-link { color: inherit; }
.recipe-card-link:hover .card-title { color: var(--lm-gold); }

/* --------------------------------------------------------------------------
   16. About
   -------------------------------------------------------------------------- */
.about-page { background: linear-gradient(to bottom, #faf8f4, #fff); padding-bottom: 4rem; }
.about-hero { position: relative; max-width: 1200px; margin: 2rem auto 3rem; border-radius: 18px; overflow: hidden; }
.about-hero video { width: 100%; height: auto; display: block; }
.about-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.2) 100%);
}
.about-content { max-width: 820px; margin: 0 auto; padding: 0 1.25rem; color: #222; line-height: 1.8; font-size: 1.05rem; }
.about-content h1  { font-size: clamp(2.2rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }
.about-content h2  { font-size: 1.5rem; margin-top: 3rem; margin-bottom: 0.75rem; }
.about-content p   { margin-bottom: 1.25rem; color: #444; }
.about-content .intro   { font-size: 1.15rem; color: #333; }
.about-content .closing { margin-top: 3rem; font-size: 1.1rem; }
@media (max-width: 768px) { .about-hero { margin: 1.5rem 1rem 2.5rem; } }

/* --------------------------------------------------------------------------
   17. Where to Buy
   -------------------------------------------------------------------------- */
.where-to-buy-hero {
  position: relative; width: 100%; height: 60vh; min-height: 460px; max-height: 720px;
  background-image: image-set(
    url("/static/images/list_stores_1440.0662ebd6bd94.webp") 1x,
    url("/static/images/list_stores_2560.edc9a9756260.webp") 2x,
    url("/static/images/list_stores_3840.01de28866721.webp") 3x
  );
  background-size: cover; background-position: center 45%; overflow: hidden;
  margin-top: calc(-1 * var(--lm-nav-h)); padding-top: var(--lm-nav-h);
}
.where-to-buy-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%); }
.where-to-buy-hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: 5rem; color: #fff; }
.where-to-buy-hero-content h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--lm-cream); }

.retailer-card {
  background: #fff; border-radius: 10px; padding: 1.25rem;
  border: 1px solid #ede8de; box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.retailer-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.09); border-color: rgba(201,145,61,0.3); }

.map-link { display: inline-block; margin-top: 0.5rem; font-weight: 500; text-decoration: none; color: var(--lm-gold); font-size: 0.88rem; }
.map-link:hover { text-decoration: underline; }

@media (max-width: 768px) { .where-to-buy-hero { height: 45vh; min-height: 340px; } .where-to-buy-hero-content { padding-top: 3.5rem; } }
@media (max-width: 576px) { .where-to-buy-hero { height: 42vh; min-height: 300px; } }

/* --------------------------------------------------------------------------
   18. Contact
   -------------------------------------------------------------------------- */
.contact-hero {
  background-image: image-set(
    url("/static/images/contact_banner_1440.c8ea7a8ca897.webp") 1x,
    url("/static/images/contact_banner_2560.60c57d50e86d.webp") 2x,
    url("/static/images/contact_banner_3840.fceab213474c.webp") 3x
  );
  background-size: cover; background-position: center;
  width: 100%; height: clamp(280px, 35vh, 420px); position: relative;
  margin-top: calc(-1 * var(--lm-nav-h)); padding-top: var(--lm-nav-h);
}
.contact-hero-overlay { background: rgba(0,0,0,0.38); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
@media (max-width: 768px) { .contact-hero { height: 260px; } }

/* --------------------------------------------------------------------------
   19. Products — list
   -------------------------------------------------------------------------- */
.products-hero {
  position: relative; width: 100%; min-height: 60vh; max-height: 720px;
  background-image: image-set(
    url("/static/images/PL_banner_1440.41424b414f55.webp") 1x,
    url("/static/images/PL_banner_2560.6000fb89c755.webp") 2x,
    url("/static/images/PL_banner_3840.df13d28e4092.webp") 3x
  );
  background-size: cover; background-position: center;
  margin-top: calc(-1 * var(--lm-nav-h)); padding-top: var(--lm-nav-h);
}
.products-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 55%); }
.products-hero-content { position: relative; max-width: 640px; }

.product-grid .card { border: none; border-radius: 10px; overflow: hidden; transition: transform 0.28s ease, box-shadow 0.28s ease; }
.product-grid .card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.13); }
.product-grid .card-img-top { padding: 1rem; transition: transform 0.4s ease; }
.product-grid .card:hover .card-img-top { transform: scale(1.04); }

@media (max-width: 992px) { .products-hero { min-height: 50vh; } }
@media (max-width: 768px) { .products-hero { min-height: 42vh; } }

/* --------------------------------------------------------------------------
   20. Products — DARK detail page  (the biggest visual upgrade)
   -------------------------------------------------------------------------- */
.product-detail-hero {
  background: var(--lm-black);
  padding: 4rem 0 4rem;
  min-height: 90vh;
  margin-top: calc(-1 * var(--lm-nav-h));
  padding-top: calc(var(--lm-nav-h) + 4rem);
}

/* Radial gold glow behind bottle */
.product-image-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 520px; position: relative;
}

.product-image-wrap::before {
  content: ""; position: absolute;
  width: 70%; height: 70%; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(201,145,61,0.11) 0%, transparent 68%);
  pointer-events: none; border-radius: 50%;
}

.product-image-wrap::after {
  content: ""; position: absolute;
  width: 50%; height: 12px; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(201,145,61,0.2) 0%, transparent 70%);
  filter: blur(6px);
}

/* Bottle float */
@keyframes bottle-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.product-detail-image {
  max-height: 520px; width: auto; max-width: 100%; object-fit: contain; padding: 1.25rem;
  animation: bottle-float 4.5s ease-in-out infinite;
  position: relative; z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.65));
}

@media (max-width: 768px) {
  .product-image-wrap { min-height: 360px; }
  .product-detail-image { max-height: 360px; }
}

/* Dark page text */
.product-detail-hero h1       { color: var(--lm-cream); font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.product-detail-slogan        { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.15rem; color: var(--lm-gold); margin: 1.5rem 0 2rem; opacity: 0.9; }
.product-detail-descriptions  { font-size: 1.05rem; color: rgba(245,240,232,0.8); margin-top: 2rem; line-height: 1.75; }
.product-detail-meta          { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lm-muted); margin-bottom: 1.25rem; }
.product-detail-section       { margin-top: 2.75rem; }
.product-detail-section p     { color: rgba(245,240,232,0.72); font-size: 0.95rem; line-height: 1.7; }

.product-detail-section h2 {
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lm-gold);
  margin-bottom: 0.9rem;
  opacity: 0.8;
}

/* Tasting notes — three flavor pillars */
.tasting-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,145,61,0.15);
  border: 1px solid rgba(201,145,61,0.15);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.75rem;
}

.tasting-notes li {
  background: rgba(255,255,255,0.03);
  padding: 1.1rem 1.2rem;
  list-style: none;
  border-top: 2px solid var(--lm-gold);
}

.tasting-notes li strong {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lm-gold);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.tasting-notes li { font-size: 0.9rem; color: rgba(245,240,232,0.72); line-height: 1.55; }

@media (max-width: 576px) { .tasting-notes { grid-template-columns: 1fr; } }

/* Buttons on dark page */
.product-detail-hero .btn-dark {
  background: var(--lm-gold); border-color: var(--lm-gold); color: var(--lm-black);
  font-weight: 600; letter-spacing: 0.04em; transition: background 0.2s, transform 0.15s;
}
.product-detail-hero .btn-dark:hover { background: #b07c2c; border-color: #b07c2c; transform: translateY(-1px); }
.product-detail-hero .btn-outline-dark { border-color: rgba(201,145,61,0.4); color: var(--lm-gold); }
.product-detail-hero .btn-outline-dark:hover { background: rgba(201,145,61,0.1); border-color: var(--lm-gold); }
.product-detail-hero a:not(.btn):not(.product-back-link) { color: var(--lm-gold); }

.product-back-link { font-size: 0.85rem; color: var(--lm-muted); text-decoration: none; transition: color 0.2s; }
.product-back-link:hover { color: var(--lm-cream); }

/* --------------------------------------------------------------------------
   21. Search
   -------------------------------------------------------------------------- */
.search-page-group  { margin-bottom: 3rem; }
.search-page-meta   { font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; }

.section-search-page-label {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lm-muted); text-align: center; position: relative;
}
.section-search-page-label::after {
  content: ""; display: block; width: 36px; height: 1.5px;
  background: var(--lm-gold); opacity: 0.4; margin: 0.75rem auto 0;
}

.search-page-empty p { max-width: 520px; margin: 0 auto; }
.search-page-product-card .card-img-top { width: 100%; object-fit: contain; padding: 1.25rem; transition: transform 0.4s ease; }
.search-page-product-card:hover .card-img-top { transform: scale(1.03); }
.product-card--bottle .card-img-top { aspect-ratio: 1 / 2; max-height: 280px; }
.product-card--recipe .card-img-top { aspect-ratio: 1 / 1; max-height: 220px; }

/* ==========================================================================
   Search page — premium redesign
   ========================================================================== */

/* Dark header */
.search-header {
  background: var(--lm-black);
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid rgba(201, 145, 61, 0.15);
}

.search-header-title {
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--lm-cream);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.search-header-title em {
  font-style: italic;
  color: var(--lm-gold);
}

/* Search form bar */
.search-form-bar { max-width: 640px; }

.search-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(201, 145, 61, 0.25);
  border-radius: 999px;
  padding: 0 0.5rem 0 1.25rem;
  transition: border-color 0.2s, background 0.2s;
  gap: 0.5rem;
}

.search-input-wrap:focus-within {
  border-color: rgba(201, 145, 61, 0.6);
  background: rgba(245, 240, 232, 0.09);
}

.search-icon {
  color: var(--lm-muted);
  flex-shrink: 0;
}

.search-input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--lm-cream);
  font-size: 1rem;
  padding: 0.9rem 0;
  min-width: 0;
}

.search-input-field::placeholder { color: rgba(245, 240, 232, 0.3); }

.search-submit-btn {
  background: var(--lm-gold);
  color: var(--lm-black);
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: none;
  flex-shrink: 0;
  transition: background 0.2s;
}

.search-submit-btn:hover { background: #b07c2c; }

.search-result-count {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lm-muted);
}

/* Results body */
.search-body {
  background: #faf7f2;
  padding: 4rem 0 5rem;
  min-height: 40vh;
}

.search-section { margin-bottom: 3.5rem; }

.search-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(28, 25, 23, 0.1);
}

.search-section-tag {
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lm-gold);
  font-weight: 600;
}

.search-section-count {
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--lm-muted);
  background: rgba(201, 145, 61, 0.1);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
}

.search-divider {
  border: none;
  border-top: 1px solid rgba(28, 25, 23, 0.08);
  margin: 0 0 3.5rem;
}

/* Product result cards */
.search-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) { .search-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .search-product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 400px) { .search-product-grid { grid-template-columns: 1fr; } }

.search-product-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(28, 25, 23, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.search-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(201, 145, 61, 0.2);
}

.search-product-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: none;
}

.spc-image-zone {
  position: relative;
  height: 220px;
  background: #faf8f4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.spc-image {
  max-height: 180px;
  max-width: 70%;
  object-fit: contain;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.1));
}

.search-product-card:hover .spc-image { transform: translateY(-5px) scale(1.04); }

.spc-glow {
  position: absolute;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,145,61,0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.search-product-card:hover .spc-glow { transform: translate(-50%,-55%) scale(1.5); }

.spc-hover-overlay {
  position: absolute; inset: 0; background: rgba(13,13,13,0.8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.3rem; padding: 1rem;
  opacity: 0; transition: opacity 0.3s ease; z-index: 2;
}

.search-product-card:hover .spc-hover-overlay { opacity: 1; }

.spc-note {
  font-size: 0.78rem; color: rgba(245,240,232,0.82); margin: 0; text-align: center; line-height: 1.35;
}

.spc-note span {
  display: block; font-size: 0.6rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--lm-gold); margin-bottom: 0.1rem;
}

.spc-pill {
  display: inline-block; margin-top: 0.6rem;
  background: var(--lm-gold); color: var(--lm-black);
  border-radius: 999px; padding: 0.35rem 1rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
}

.spc-text {
  padding: 0.9rem 1rem 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.spc-category {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lm-gold); margin-bottom: 0.2rem;
}

.spc-name {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem; font-weight: 600; color: var(--lm-slate); margin-bottom: 0.15rem;
}

.spc-cap { font-size: 0.75rem; color: var(--lm-muted); margin: 0; }

/* Recipe result cards */
.search-recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) { .search-recipe-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 480px) { .search-recipe-grid { grid-template-columns: 1fr; } }

.search-recipe-card {
  border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid rgba(28,25,23,0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.search-recipe-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.09); }

.search-recipe-link { display: block; text-decoration: none; color: inherit; cursor: none; }

.src-image-zone {
  position: relative; overflow: hidden; aspect-ratio: 3/2;
}

.src-image {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top;
  transition: transform 0.45s ease;
  display: block;
}

.search-recipe-card:hover .src-image { transform: scale(1.04); }

.src-overlay {
  position: absolute; inset: 0;
  background: rgba(13,13,13,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}

.search-recipe-card:hover .src-overlay { opacity: 1; }

.src-pill {
  background: var(--lm-gold); color: var(--lm-black);
  border-radius: 999px; padding: 0.4rem 1.1rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
}

.src-text { padding: 0.9rem 1rem 1rem; }

.src-name {
  font-family: "Playfair Display", serif;
  font-size: 1rem; font-weight: 600; color: var(--lm-slate); margin-bottom: 0.2rem;
}

.src-liqueur {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lm-gold); margin-bottom: 0.4rem;
}

.src-desc { font-size: 0.82rem; color: #888; line-height: 1.5; margin: 0; }

/* Empty state */
.search-empty {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.search-empty-icon {
  color: rgba(201,145,61,0.35);
  margin-bottom: 1.5rem;
}

.search-empty-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem; color: var(--lm-slate); margin-bottom: 0.75rem;
}

.search-empty-body {
  font-size: 0.95rem; color: #888; margin-bottom: 2rem; line-height: 1.6;
}

.search-empty-actions {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}

/* Suggestion chips (no-keyword state) */
.search-suggestions {
  text-align: center;
  padding: 2rem 0;
}

.search-suggestions-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lm-muted); margin-bottom: 1.25rem;
}

.search-tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
}

.search-tag {
  display: inline-block;
  background: #fff;
  border: 1px solid rgba(201,145,61,0.25);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  color: var(--lm-slate);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: none;
}

.search-tag:hover {
  background: var(--lm-gold);
  color: var(--lm-black);
  border-color: var(--lm-gold);
  transform: translateY(-1px);
}
