/* ========== Mely Brand System — Black / Red ========== */
:root {
  --bg:        #ffffff;
  --bg-2:      #f6f4f2;
  --bg-3:      #ebe8e5;
  --paper:     #ffffff;
  --ink:       #0a0a0a;
  --ink-2:     #1f1c1b;
  --ink-3:     #3a3633;
  --muted:     #6f6864;
  --line:      #e3ddd6;
  --line-2:    #2a2624;

  --red:       #d61f2c;   /* primary */
  --red-deep:  #9a0f1a;
  --red-dark:  #5e0a11;
  --red-soft:  #f7e2e3;
  --black:     #0a0a0a;
  --cream:     #f5efe6;   /* for dark sections only */
  --gold:      #d6a44e;   /* tiny accent in dark UI */
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.serif { font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }

/* ========== Layout ========== */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ========== Top bar ========== */
.topbar {
  background: var(--black);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 10px 24px;
  text-align: center;
}
.topbar span { opacity: 0.78; }
.topbar strong { color: var(--red); font-weight: 700; }

/* ========== Header / Nav ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: inline-flex; align-items: center;
}
.brand-logo {
  height: 45px;
  width: auto;
  display: block;
}
.foot .brand-logo { height: 36px; filter: brightness(1.1); }

.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  padding-bottom: 4px;
  border-bottom: 1.5px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); border-bottom-color: var(--red); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--red); color: #fff;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.02em;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--red-deep); transform: translateY(-1px); }

/* ====== Header search ====== */
.nav-search {
  position: relative;
  display: flex; align-items: center;
}
.nav-search-toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--ink);
  border: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-search-toggle:hover { background: var(--ink); color: #fff; }
.nav-search-input {
  width: 0; padding: 0; border: none; background: transparent;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  outline: none;
  transition: width .25s ease, padding .25s ease, margin .25s ease;
}
.nav-search-submit {
  display: none;
  background: var(--red); color: #fff; border: none;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; place-items: center;
}
.nav-search.is-open {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 4px 3px 12px;
}
.nav-search.is-open .nav-search-toggle { display: none; }
.nav-search.is-open .nav-search-input { width: 220px; padding: 8px 8px 8px 4px; }
.nav-search.is-open .nav-search-submit { display: grid; }

.menu-toggle { display: none; }
.nav-mobile { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--bg-2); }
  .menu-toggle svg { width: 22px; height: 22px; }

  /* Mobile: show search icon (40x40 like hamburger), hide expanded input */
  .nav-search {
    display: flex; align-items: center;
    margin: 0;
    position: static;
    background: transparent; border: none; padding: 0;
  }
  .nav-search-toggle {
    width: 40px; height: 40px; border-radius: 8px;
    background: var(--bg-2);
  }
  .nav-search .nav-search-input { display: none; }
  .nav-search .nav-search-submit { display: none; }

  /* When open on mobile: pill overlay bắt đầu sau nút Menu, không che hamburger */
  .nav-search.is-open {
    position: absolute;
    left: 64px; right: 16px;
    top: 50%; transform: translateY(-50%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px 4px 3px 16px;
    margin: 0;
    z-index: 30;
    width: auto;
  }
  .nav-search.is-open .nav-search-toggle { display: none; }
  .nav-search.is-open .nav-search-input {
    display: block;
    width: 100%; flex: 1;
    padding: 10px 8px;
    font-size: 16px; /* >=16px tránh iOS auto-zoom */
  }
  .nav-search.is-open .nav-search-submit {
    display: grid;
    width: 38px; height: 38px;
    flex-shrink: 0;
  }

  /* Mobile: hamburger trái, logo giữa, search phải */
  .nav-inner { position: relative; justify-content: space-between; }
  .menu-toggle { order: -1; }
  .nav-search { order: 10; }
  .nav-inner .brand {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
  }
  .nav-inner .brand-logo { height: 48px; }
  .nav-mobile {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 32px 24px;
  }
  .nav-mobile.open { display: block; }
  .nav-mobile-search {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-2); border-radius: 999px;
    padding: 10px 16px; margin-bottom: 14px;
    color: var(--ink-2);
  }
  .nav-mobile-search input {
    flex: 1; background: transparent; border: none; outline: none;
    font-family: inherit; font-size: 15px; color: var(--ink);
  }
  .nav-mobile ul { list-style: none; }
  .nav-mobile li { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-mobile a { font-size: 17px; font-weight: 500; }
}

/* ====== Big search form (on /search page) ====== */
.search-form-large {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  margin-top: 24px;
  max-width: 640px;
  color: var(--ink-2);
}
.search-form-large input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: inherit; font-size: 17px; color: var(--ink);
  padding: 8px 0;
}
.search-form-large .btn { padding: 12px 22px; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--red); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { padding: 0; color: var(--ink); border-bottom: 1.5px solid var(--ink); border-radius: 0; padding-bottom: 2px; }
.btn-ghost:hover { color: var(--red); border-bottom-color: var(--red); }

/* ========== Eyebrows ========== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--red); }

/* ========== Banner / Hero slider ========== */
.banner {
  position: relative;
  height: 78vh;
  min-height: 560px;
  max-height: 760px;
  background: var(--black);
  overflow: hidden;
}
.banner-track { position: absolute; inset: 0; }
.banner-slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease;
  background: var(--black);
}
.banner-slide.is-active { opacity: 1; visibility: visible; }
.banner-slide::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(214,31,44,0.12), transparent 70%),
    radial-gradient(ellipse 60% 70% at 90% 90%, rgba(214,31,44,0.20), transparent 60%);
  pointer-events: none;
}
.banner-text {
  padding: 0 64px 0 8%;
  color: #fff;
  position: relative; z-index: 2;
}
.banner-text .eyebrow { color: var(--red); }
.banner-text .eyebrow::before { background: var(--red); }
.banner-text h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 18px 0 22px;
}
.banner-text h1 em { font-style: italic; color: var(--red); }
.banner-text p {
  font-size: 17.5px;
  color: rgba(255,255,255,0.78);
  max-width: 460px;
  margin-bottom: 32px;
}
.banner-text .btn-primary { background: var(--red); color: #fff; }
.banner-text .btn-primary:hover { background: #fff; color: var(--red); }
.banner-text .btn-outline-light { color: #fff; }

.banner-visual {
  position: relative;
  height: 100%;
  display: grid; place-items: center;
  padding: 8% 8% 8% 0;
}
.banner-visual-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #2a0306 0%, #5e0a11 50%, #9a0f1a 100%);
  box-shadow: 0 40px 90px -30px rgba(154, 15, 26, 0.55);
}
.banner-visual-inner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,180,180,.18), transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(0,0,0,.45), transparent 55%);
}
.banner-visual svg { position: relative; z-index: 2; max-width: 78%; max-height: 78%; }

/* Banner controls */
.banner-dots {
  position: absolute;
  bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 5;
}
.banner-dot {
  width: 28px; height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s, width .25s;
}
.banner-dot.is-active { background: var(--red); width: 44px; }

.banner-arrows {
  position: absolute; z-index: 5;
  top: 50%; transform: translateY(-50%);
  display: flex; width: 100%; justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}
.banner-arrow {
  pointer-events: all;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: grid; place-items: center;
  transition: background .2s, transform .15s;
}
.banner-arrow:hover { background: var(--red); transform: scale(1.05); border-color: var(--red); }

.banner-counter {
  position: absolute; bottom: 36px; right: 48px;
  color: rgba(255,255,255,0.6);
  font-size: 13px; letter-spacing: 0.1em;
  z-index: 5;
}
.banner-counter strong { color: #fff; font-weight: 700; }

@media (max-width: 900px) {
  .banner { height: auto; min-height: 0; max-height: none; }
  .banner-slide { grid-template-columns: 1fr; gap: 0; position: relative; }
  .banner-slide:not(.is-active) { display: none; }
  .banner-track { position: relative; height: auto; }
  .banner-text { padding: 64px 24px 24px; }
  .banner-visual { padding: 0 24px 80px; height: 380px; }
  .banner-counter { display: none; }
  .banner-arrows { display: none; }
}

/* ========== Hero (legacy used as fallback) ========== */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--red); }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 480px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-stats div strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px; color: var(--red); line-height: 1;
}
.hero-stats div span { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* Stats strip (under banner) */
.stats-strip {
  background: var(--black);
  color: #fff;
  padding: 28px 0;
}
.stats-strip .wrap {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center;
  gap: 24px 56px;
}
.stats-strip .stat {
  text-align: center;
  flex: 1 1 160px;
  min-width: 140px; max-width: 220px;
}
.stats-strip .stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 42px; color: var(--red); line-height: 1;
}
.stats-strip .stat span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
@media (max-width: 720px) {
  .stats-strip .wrap { gap: 28px 24px; }
  .stats-strip .stat { flex-basis: 120px; min-width: 110px; }
}

/* ========== Section headers ========== */
.section-head { margin-bottom: 56px; }
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-top: 14px;
  max-width: 720px;
}
.section-head h2 em { font-style: italic; color: var(--red); }
.section-head .between {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.section-head .head-text { max-width: 640px; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 560px; }

/* ========== Product cards ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -25px rgba(0, 0, 0, 0.28); border-color: var(--red); }
.product-img {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.product-body { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 6px; }
.product-cat { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.15;
  color: var(--ink);
}
.product-desc { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ========== Story strip ========== */
.story {
  background: var(--black);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.story::before {
  content: '';
  position: absolute; right: -10%; top: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(214,31,44,0.18), transparent 60%);
  pointer-events: none;
}
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 40px; } }
.story h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: #fff;
}
.story h2 em { font-style: italic; color: var(--red); }
.story p { color: rgba(255,255,255,0.72); font-size: 17px; margin-top: 24px; max-width: 520px; }
.story .eyebrow { color: var(--red); }
.story .eyebrow::before { background: var(--red); }

.story-visual {
  aspect-ratio: 1/1;
  background:
    radial-gradient(circle at 30% 30%, #c8161f, transparent 60%),
    radial-gradient(circle at 70% 70%, #5e0a11, transparent 55%),
    #1a0608;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}

/* ========== Pillars ========== */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 40px 32px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  position: relative;
  transition: border-color .2s, transform .2s;
}
.pillar:hover { border-color: var(--red); transform: translateY(-2px); }
.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--red);
  font-style: italic;
  line-height: 1;
}
.pillar h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 26px;
  margin: 14px 0 10px;
  letter-spacing: -0.01em;
}
.pillar p { color: var(--ink-2); font-size: 15px; }

/* ========== Channels ========== */
.channels {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; margin-top: 32px;
}
@media (max-width: 700px) { .channels { grid-template-columns: repeat(2, 1fr); } }
.channel {
  background: #fff;
  padding: 24px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.channel:hover { background: var(--black); color: #fff; transform: translateY(-2px); border-color: var(--black); }
.channel small { display: block; font-weight: 400; font-size: 12px; opacity: 0.6; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* ========== Footer ========== */
footer.foot {
  background: var(--black);
  color: #fff;
  padding: 80px 0 32px;
  position: relative;
}
footer.foot::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-deep) 50%, var(--red) 100%);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot h4 {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
  font-weight: 700;
}
.foot ul { list-style: none; }
.foot li { padding: 7px 0; }
.foot a, .foot p { color: rgba(255,255,255,0.72); font-size: 14.5px; }
.foot a:hover { color: var(--red); }
.foot .brand { color: #fff; margin-bottom: 16px; }
.foot p.byline { max-width: 320px; line-height: 1.6; }
.foot-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ========== Floating buttons ========== */
.float-actions {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 40;
}
.float-btn {
  width: 52px; height: 52px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px -8px rgba(214, 31, 44, 0.55);
  transition: transform .15s, background .2s;
}
.float-btn:hover { transform: scale(1.08); background: var(--red-deep); }
.float-btn.zalo { background: #0068FF; box-shadow: 0 8px 24px -8px rgba(0, 104, 255, 0.5); }
.float-btn.zalo:hover { background: #0056d6; }

/* ========== Page header ========== */
.crumbs {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--red); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

.page-head {
  padding: 96px 0 72px;
  background: var(--black);
  color: #fff;
  border-bottom: 4px solid var(--red);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute; right: -8%; top: -30%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(214,31,44,0.22), transparent 60%);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head .crumbs {
  font-size: 13px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.page-head .crumbs a { color: rgba(255,255,255,0.7); }
.page-head .crumbs a:hover { color: var(--red); }
.page-head .crumbs span { margin: 0 8px; opacity: 0.4; }
.page-head h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}
.page-head h1 em { font-style: italic; color: var(--red); }
.page-head p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin-top: 20px;
}

/* ========== Forms ========== */
.form { display: grid; gap: 18px; }
.form label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(214,31,44,0.10);
}
.form textarea { min-height: 160px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ========== Product page bits ========== */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.cat-tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
}
.cat-tab:hover { border-color: var(--ink); }
.cat-tab.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ========== Article cards ========== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 900px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }

.article {
  display: flex; flex-direction: column; gap: 16px;
  cursor: pointer;
}
.article-img {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.article-meta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 16px; align-items: center;
}
.article-meta .dot { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; }
.article-meta .cat { color: var(--red); font-weight: 700; }
.article h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .2s;
}
.article:hover h3 { color: var(--red); }
.article p { color: var(--muted); font-size: 14.5px; }

.article-feature {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .article-feature { grid-template-columns: 1fr; } }
.article-feature .article-img { aspect-ratio: 5/4; border-radius: 14px; }
.article-feature h3 { font-size: 44px; line-height: 1.05; }
.article-feature p { font-size: 16.5px; color: var(--ink-2); margin: 16px 0 24px; }

/* ========== Contact page ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact-block {
  padding: 26px 28px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  display: flex; gap: 18px; align-items: flex-start;
  transition: border-color .2s;
}
.contact-block:hover { border-color: var(--red); }
.contact-block .ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--red); color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
}
.contact-block .ico svg { width: 20px; height: 20px; }
.contact-block h4 {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-block p {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
}
.contact-block a { color: var(--ink); }
.contact-block a:hover { color: var(--red); }

.map-frame {
  aspect-ratio: 16/10;
  background: var(--bg-2);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ========== Utility ========== */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

.section-dark { background: var(--black); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark h2 em { color: var(--red); }
.section-dark p { color: rgba(255,255,255,0.72); }

/* Pagination */
.pager {
  display: flex; justify-content: center; gap: 8px; margin-top: 64px;
}
.pager a, .pager span {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all .2s;
}
.pager a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager .current { background: var(--red); color: #fff; border-color: var(--red); }

/* Newsletter band */
.newsletter {
  background: var(--black);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(214,31,44,0.18), transparent 60%);
}
.newsletter .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 800px) { .newsletter .wrap { grid-template-columns: 1fr; } }
.newsletter h2 {
  font-family: 'Playfair Display', serif; font-weight: 400;
  font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05; color: #fff;
}
.newsletter h2 em { font-style: italic; color: var(--red); }
.newsletter p { color: rgba(255,255,255,0.7); margin-top: 14px; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 220px;
  padding: 16px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font: inherit;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter input:focus { outline: none; border-color: var(--red); }
.newsletter button {
  padding: 16px 28px; border-radius: 999px;
  background: var(--red); color: #fff;
  font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.newsletter button:hover { background: #fff; color: var(--red); }

/* ========== Article detail page ========== */
.article-hero {
  background: var(--black);
  color: #fff;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute; right: -10%; top: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(214,31,44,0.22), transparent 60%);
  pointer-events: none;
}
.article-hero .wrap { position: relative; z-index: 2; max-width: 880px; }
.article-hero .crumbs { color: rgba(255,255,255,0.55); margin-bottom: 28px; }
.article-hero .crumbs a { color: rgba(255,255,255,0.75); }
.article-hero .crumbs a:hover { color: var(--red); }
.article-hero .article-meta { color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.article-hero .article-meta .cat { color: var(--red); }
.article-hero .article-meta .dot { background: rgba(255,255,255,0.4); }
.article-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
}
.article-hero h1 em { font-style: italic; color: var(--red); }
.article-hero .deck {
  font-size: 19px;
  color: rgba(255,255,255,0.78);
  margin-top: 24px;
  max-width: 720px;
  line-height: 1.55;
}
.article-hero .byline {
  margin-top: 32px;
  display: flex; align-items: center; gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.article-hero .byline .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 20px; color: #fff;
}

.article-cover {
  margin-top: -40px;
}
.article-cover .wrap { max-width: 1100px; }
.article-cover-img {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.4);
  position: relative;
}

.article-body {
  padding: 64px 0 96px;
}
.article-body .wrap { max-width: 760px; }
.article-body p,
.article-body ul,
.article-body ol {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 48px 0 18px;
  color: var(--ink);
}
.article-body h2 em { font-style: italic; color: var(--red); }
.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 26px;
  margin: 36px 0 12px;
}
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a { color: var(--red); border-bottom: 1px solid currentColor; }
.article-body a:hover { color: var(--red-deep); }
.article-body blockquote {
  margin: 40px -20px;
  padding: 28px 36px;
  background: var(--bg-2);
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
}
.article-body blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-body figure { margin: 36px 0; }
.article-body figure .img {
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-3);
  position: relative;
}
.article-body figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

.recipe-card {
  background: var(--bg-2);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 600px) { .recipe-card { grid-template-columns: 1fr 1fr; } }
.recipe-stat {
  text-align: center;
}
.recipe-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--red);
  line-height: 1;
}
.recipe-stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.share-bar {
  display: flex; align-items: center; gap: 12px;
  margin: 56px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.share-bar span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-right: 8px;
}
.share-bar a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: background .2s, color .2s, transform .15s;
}
.share-bar a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }

/* ========== Product detail page ========== */
.product-detail {
  padding: 56px 0;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .product-detail-grid { grid-template-columns: 1fr; gap: 32px; } }

.gallery-main {
  aspect-ratio: 1/1;
  background: var(--bg-2);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.gallery-thumb {
  aspect-ratio: 1/1;
  background: var(--bg-2);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
}
.gallery-thumb.is-active { border-color: var(--red); }
.gallery-thumb:hover { border-color: var(--ink); }

.product-info .crumbs { margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.product-info .crumbs a:hover { color: var(--red); }
.product-info .crumbs span { margin: 0 8px; opacity: 0.4; }
.product-info .product-cat {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 12px;
}
.product-info h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}
.product-info h1 em { font-style: italic; color: var(--red); }
.product-info .lead {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 28px;
}
.spec-table {
  margin: 32px 0;
  border-top: 1px solid var(--line);
}
.spec-table .row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.spec-table .row .k {
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  padding-top: 2px;
}
.spec-table .row .v {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 500px) {
  .spec-table .row { grid-template-columns: 1fr; gap: 4px; }
}

.product-cta-box {
  margin-top: 32px;
  padding: 28px;
  background: var(--black);
  color: #fff;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.product-cta-box::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(214,31,44,0.35), transparent 60%);
}
.product-cta-box > * { position: relative; }
.product-cta-box .price-note {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 6px;
}
.product-cta-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}
.product-cta-box p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 18px; }
.product-cta-box .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Sections on product detail */
.detail-section { padding: 80px 0; }
.detail-section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}
.detail-section h2 em { font-style: italic; color: var(--red); }
