@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&family=Playfair+Display:wght@700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
  --bg: #f7f3ec;
  --surface: #fffdf8;
  --ink: #2a221a;
  --muted: #7a6e61;
  --gold: #8f6a2f;
  --gold-deep: #5d4218;
  --gold-soft: #a47a37;
  --gold-highlight: #c09447;
  --line: rgba(81, 58, 30, 0.1);
  --coffee: #5a4630;
  --olive: #66734a;
  --promo: #9f2f22;
  --shadow: 0 24px 60px rgba(62, 41, 18, 0.08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1240px, calc(100% - 64px));
  --title-font: "Playfair Display", "Cormorant Garamond", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lato", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(194, 161, 99, 0.1), transparent 30%),
    linear-gradient(180deg, #fcfaf6 0%, #f6f0e6 36%, #fdfcf9 100%);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.container-dashboard { width: min(1560px, calc(100% - 40px)); }

.site-header {
  position: sticky; top: 0; z-index: 30; backdrop-filter: blur(18px);
  background: rgba(255, 252, 246, 0.86); border-bottom: 1px solid rgba(142,110,57,0.08);
}
.header-inner {
  width: 100%;
  padding: 14px clamp(24px, 4vw, 54px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 108px;
}
.logo-wrap { display: inline-flex; align-items: center; gap: 14px; }
.logo-wrap img { width: 150px; height: auto; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a { font-size: 0.96rem; color: var(--muted); transition: color 0.25s ease; padding: 10px 0; }
.nav a:hover, .nav a.is-active { color: var(--coffee); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu-actions { display: none; }
.client-access {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.client-access-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.96);
  border: 1px solid rgba(165,122,40,0.14);
  color: var(--ink);
  text-decoration: none;
}
.client-access-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c9a15a, #8f6428);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.client-access-copy {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}
.client-access-copy strong {
  font-size: 0.9rem;
}
.client-access-copy span {
  font-size: 0.74rem;
  color: var(--muted);
}
.client-logout-btn {
  white-space: nowrap;
}
.client-access-mobile {
  width: 100%;
  justify-content: space-between;
  margin-top: 4px;
}
.client-access-mobile .client-access-chip {
  flex: 1;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lang-switcher-compact {
  justify-content: center;
  margin-bottom: 8px;
}
.lang-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 58px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 24, 14, 0.12);
  background: rgba(255,255,255,0.92);
  color: #22170f;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lang-flag:hover {
  transform: translateY(-1px);
  border-color: rgba(122, 89, 38, 0.28);
}
.lang-flag.is-active {
  background: linear-gradient(135deg, #b7883f 0%, #7d5823 100%);
  color: #fff;
  border-color: rgba(82, 55, 19, 0.34);
}
.lang-flag-emoji {
  font-size: 16px;
  line-height: 1;
}
.lang-flag-code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gtranslate-slot {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

.gtranslate_wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 46px;
}

.gtranslate_wrapper iframe,
.gtranslate_wrapper > div,
.gtranslate_wrapper .gt_switcher,
.gtranslate_wrapper .gt_float_switcher {
  max-width: 100%;
}

.gtranslate_wrapper select,
.gtranslate_wrapper .gt_selector,
.gtranslate_wrapper .goog-te-combo {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 34px 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(165,122,40,0.26);
  background: rgba(255,255,255,0.72) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23674523' d='M6 8L0 0h12z'/></svg>") right 12px center / 10px 7px no-repeat;
  color: var(--coffee);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1.2;
  min-height: 44px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.gtranslate_wrapper select:hover,
.gtranslate_wrapper .gt_selector:hover,
.gtranslate_wrapper .goog-te-combo:hover {
  transform: translateY(-1px);
  background-color: #fff;
}

.gtranslate_wrapper select:focus,
.gtranslate_wrapper .gt_selector:focus,
.gtranslate_wrapper .goog-te-combo:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(165,122,40,0.22);
}

.btn, .button-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover, .button-link:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-highlight), var(--gold));
  color: #fff;
  box-shadow: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.btn-secondary { background: rgba(255,255,255,0.72); border-color: rgba(165,122,40,0.26); color: var(--coffee); font-weight: 700; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.26); color: #fff; }
.menu-toggle { display: none; padding: 0; width: 54px; height: 54px; }
.menu-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle-bars span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.home-clean .site-header {
  position: fixed;
  background: rgba(255, 252, 247, 0.88);
  border-bottom: 1px solid rgba(142,110,57,0.08);
}

.home-clean.header-scrolled .site-header {
  background: rgba(255, 252, 247, 0.96);
}

.hero, .section { padding: 40px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; }
.hero-copy, .hero-card, .white-panel, .product-card, .brand-card, .testimonial-card, .faq-card, .info-card, .member-card, .request-card, .form-card { border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.hero-copy {
  padding: 52px;
  background: linear-gradient(140deg, rgba(41, 27, 18, 0.95), rgba(88, 52, 28, 0.84));
  color: #fffaf0; position: relative; overflow: hidden;
}
.hero-copy::after {
  content: ""; position: absolute; inset: auto -60px -80px auto; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255, 226, 163, 0.34), transparent 66%);
}
.eyebrow { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; color: #f6dba0; }
.hero h1, .section-heading h2, .page-banner h1, .brand-hero h1, .category-copy h2, .cta-band h2 {
  font-family: var(--title-font); line-height: 0.94; letter-spacing: -0.03em;
}
.hero h1 { font-size: clamp(3rem, 6vw, 5.2rem); margin: 14px 0 18px; }
.hero p, .page-banner p, .brand-hero p, .cta-band p { max-width: 700px; line-height: 1.75; }
.hero p { color: rgba(255, 247, 233, 0.82); font-size: 1.04rem; }
.hero-actions, .banner-actions, .page-actions, .product-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero-stats { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.stat { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,238,201,0.12); border-radius: 18px; padding: 16px 18px; min-width: 148px; }
.stat strong { display: block; font-size: 1.4rem; }
.hero-card { background: linear-gradient(180deg, #f8efd9, #f4e5c0); padding: 22px; display: flex; }

.slider-shell { width: 100%; min-height: 100%; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,0.8), rgba(255,244,219,0.6)); border: 1px solid rgba(165,122,40,0.16); padding: 18px; display: flex; flex-direction: column; }
.slider-stage { position: relative; overflow: hidden; min-height: 410px; border-radius: 20px; }
.slide {
  position: absolute; inset: 0; opacity: 0; transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease; padding: 26px; border-radius: 20px; color: white;
  display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; background-position: center;
}
.slide.active { opacity: 1; transform: translateX(0); }
.slide::before, .category-visual::before, .page-banner::before, .brand-hero::before, .cta-band::before, .product-media::before, .brand-media::before {
  content: ""; position: absolute; inset: 0;
}
.slide::before { border-radius: 20px; background: linear-gradient(180deg, transparent 0%, rgba(24,14,9,0.82) 100%); }
.slide > *,.product-media > *,.brand-media > *,.page-banner > *,.brand-hero > *,.cta-band > * { position: relative; z-index: 1; }
.slide small { text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255, 237, 198, 0.88); }
.slide h3 { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; margin: 10px 0 8px; }
.slider-dots { display: flex; gap: 10px; margin-top: 18px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: rgba(165,122,40,0.26); }
.slider-dots button.active { width: 34px; background: var(--gold); }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(2.5rem, 4vw, 4rem); margin: 0; }
.section-heading p { color: var(--muted); max-width: 560px; line-height: 1.75; }
.white-panel, .product-card, .brand-card, .testimonial-card, .faq-card, .info-card, .member-card, .request-card, .form-card {
  background: rgba(255,252,246,0.9); border: 1px solid rgba(165,122,40,0.12); overflow: hidden;
}
.white-panel { padding: 40px; }

.categories-grid, .products-grid, .brands-grid, .testimonial-grid, .faq-grid, .member-grid { display: grid; gap: 18px; }
.categories-grid { grid-template-columns: repeat(3, 1fr); }
.products-grid { grid-template-columns: repeat(4, 1fr); }
.brands-grid, .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.faq-grid { grid-template-columns: repeat(2, 1fr); }

.category-card {
  display: block; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #fff9eb, #f3e5c5);
  border: 1px solid rgba(165,122,40,0.14); min-height: 280px; position: relative; padding: 22px;
}
.category-card::after {
  content: ""; position: absolute; inset: auto -30px -38px auto; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,156,61,0.2), transparent 70%);
}
.category-card h3 { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; margin-bottom: 8px; }
.category-card p { color: var(--muted); line-height: 1.65; max-width: 320px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pill, .tag {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 12px; font-size: 0.84rem;
  background: rgba(255,255,255,0.72); border: 1px solid rgba(165,122,40,0.14);
}
.tag { background: rgba(165,122,40,0.1); color: var(--gold-deep); font-size: 0.82rem; }

.category-sections { display: grid; gap: 24px; }
.category-section {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: center;
  background: linear-gradient(180deg, rgba(255,251,243,0.92), rgba(246,237,222,0.88));
  border-radius: var(--radius-xl); overflow: hidden; border: 1px solid rgba(165,122,40,0.14); box-shadow: var(--shadow);
}
.category-copy { padding: 54px; }
.category-copy h2 { font-size: clamp(2.5rem, 4vw, 4rem); margin: 0 0 12px; }
.category-copy p { color: var(--muted); line-height: 1.85; }
.feature-list { display: grid; gap: 12px; margin-top: 22px; }
.feature-list div { padding: 14px 16px; background: rgba(255,255,255,0.72); border-radius: 16px; }
.category-visual { min-height: 380px; position: relative; padding: 28px; background-size: cover; background-position: center; }
.category-visual::before, .page-banner::before, .brand-hero::before, .cta-band::before { background: linear-gradient(180deg, rgba(25,18,13,0.06), rgba(25,18,13,0.44)); }
.visual-card {
  position: absolute; right: 28px; bottom: 28px; max-width: 280px; background: rgba(255,250,238,0.88);
  backdrop-filter: blur(12px); border-radius: 24px; padding: 20px; box-shadow: 0 20px 40px rgba(28,16,10,0.14);
}

.product-media, .brand-media {
  min-height: 190px; padding: 20px; display: flex; align-items: end; position: relative; color: white;
}
.product-media::before, .brand-media::before { background: linear-gradient(180deg, transparent 0%, rgba(22,15,10,0.56) 100%); }
.product-body, .brand-body, .testimonial-card, .faq-card, .info-card, .member-card, .request-card { padding: 28px; }
.product-topline, .brand-topline { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 0.84rem; }
.price { color: var(--gold-deep); font-size: 1.3rem; font-weight: 800; }

.cta-band, .page-banner, .brand-hero {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; color: #fff; box-shadow: var(--shadow);
}
.cta-band, .page-banner { padding: 44px; }
.cta-band {
  background: linear-gradient(135deg, rgba(28,17,10,0.88), rgba(108,58,30,0.85)), url('https://images.unsplash.com/photo-1511920170033-f8396924c348?auto=format&fit=crop&w=1400&q=80');
  background-size: cover; background-position: center;
}
.cta-band h2, .page-banner h1, .brand-hero h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); margin: 0 0 14px; }
.page-banner, .brand-hero { min-height: 360px; display: flex; align-items: end; background-size: cover; background-position: center; }
.page-banner p, .brand-hero p, .cta-band p { color: rgba(255,244,223,0.9); }
.brand-card h3 { font-family: "Cormorant Garamond", serif; font-size: 2rem; margin: 0 0 10px; }

.split-layout { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.filters-panel, .sidebar-card {
  position: sticky; top: 108px; background: rgba(255,251,243,0.92); border-radius: 24px;
  border: 1px solid rgba(165,122,40,0.12); box-shadow: var(--shadow); padding: 22px;
}
.filter-group, .field, .checkbox-list, .meta-list, .banner-stack { display: grid; gap: 12px; }
.filter-group { margin-bottom: 22px; }
.checkbox-item, .meta-item { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.meta-item strong { color: var(--ink); }
.page-grid, .field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.form-card { padding: 28px; }
.field-grid { gap: 16px; }
.field { margin-bottom: 16px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid rgba(165,122,40,0.18); border-radius: 16px; padding: 14px 16px; background: #fffcf6;
}
.field textarea { min-height: 120px; resize: vertical; }
.testimonial-card::before {
  content: '"'; position: absolute; right: 20px; top: 14px; font-family: "Cormorant Garamond", serif; font-size: 4rem; color: rgba(184,137,51,0.2);
}
.faq-card h3 { margin-top: 0; color: var(--coffee); }

.site-footer {
  margin-top: 64px; background: linear-gradient(180deg, #2a1d13, #17100c); color: rgba(255,245,226,0.88); padding: 60px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr; gap: 24px; }
.footer-grid h4 { margin-top: 0; color: #f9df9f; }
.footer-grid a, .footer-grid p { color: rgba(255,245,226,0.74); line-height: 1.8; }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,245,226,0.1); color: rgba(255,245,226,0.6); font-size: 0.92rem; }
.footer-logo-panel {
  width: 210px;
  background: rgba(255,255,255,0.95);
  border-radius: 22px;
  padding: 16px 14px 8px;
  margin-bottom: 16px;
}

.home-exact .site-header {
  position: fixed;
  background: rgba(10,10,10,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.home-exact.header-scrolled .site-header {
  background: rgba(10,10,10,0.96);
  border-bottom-color: rgba(255,255,255,0.08);
}

.home-exact .nav a {
  color: rgba(255,255,255,0.76);
}

.home-exact .nav a:hover,
.home-exact .nav a.is-active {
  color: #fff;
}

.home-exact .header-actions .btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
}

.home-exact .header-actions .btn-primary {
  background: #fff;
  color: #111;
}

.home-shell {
  background: #fff;
}

.mmx-kicker,
.mmx-mini-kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c8a84b;
  font-family: "Lato", sans-serif;
  font-weight: 700;
}

.mmx-kicker-red {
  color: #e63946;
}

.mmx-section-head {
  margin-bottom: 56px;
}

.mmx-section-head h2 {
  font-family: var(--title-font);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.02;
  margin: 12px 0 0;
  color: #0d0d0d;
  margin-left: auto;
  margin-right: auto;
}

.mmx-section-head p {
  color: #888;
  font-size: 15px;
  line-height: 1.8;
  max-width: 560px;
  margin: 16px auto 0;
}

.mmx-section-head-center {
  text-align: center;
}

.mmx-hero {
  min-height: 100vh;
  padding-top: 74px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.8s ease;
}

.mmx-hero-shell {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mmx-hero-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.05);
}

.mmx-hero-orbit-lg {
  width: 70vw;
  height: 70vw;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mmx-hero-orbit-sm {
  width: 40vw;
  height: 40vw;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(255,255,255,0.07);
}

.mmx-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
}

.mmx-hero-icon {
  font-size: 72px;
  margin-bottom: 16px;
}

.mmx-hero-badge {
  display: inline-block;
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.mmx-hero h1 {
  font-family: var(--title-font);
  font-size: clamp(34px, 5.6vw, 62px);
  color: #fff;
  font-weight: 800;
  line-height: 0.98;
  margin: 0 0 20px;
  margin-left: auto;
  margin-right: auto;
}

.mmx-hero p {
  color: rgba(255,255,255,0.6);
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.8;
  margin: 0 0 36px;
}

.mmx-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mmx-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 13px;
  cursor: pointer;
  font-family: "Lato", sans-serif;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.16);
  color: #555;
  background: transparent;
}

.mmx-outline-light {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
}

.mmx-hero-dots {
  position: absolute;
  bottom: 36px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.mmx-hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.mmx-hero-dots button.active {
  width: 28px;
}

.mmx-categories {
  background: #fff;
  padding: 88px 24px;
}

.mmx-universe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.mmx-universe-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 38px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 16px 34px rgba(40,28,13,0.05);
  border: 1px solid rgba(177,137,67,0.24);
}

.mmx-universe-card:hover {
  background: linear-gradient(145deg, #c59a50 0%, #ad8239 34%, #7a5926 100%);
  border-color: rgba(236,215,170,0.42);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(98,67,23,0.18);
}

.mmx-universe-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.mmx-universe-card h3 {
  font-family: var(--title-font);
  font-size: 28px;
  font-weight: 800;
  color: #0d0d0d;
  margin: 0 0 10px;
  line-height: 1.02;
}

.mmx-universe-card:hover h3 {
  color: #fffef8;
}

.mmx-universe-card p {
  color: #6e6256;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 22px;
}

.mmx-universe-card:hover p {
  color: rgba(255,255,255,0.88);
}

.mmx-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mmx-chip-row span {
  background: rgba(177,137,67,0.08);
  color: #6d5631;
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(177,137,67,0.12);
}

.mmx-universe-card:hover .mmx-chip-row span {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.96);
  border-color: rgba(255,255,255,0.16);
}

.mmx-universe-more {
  margin-top: 20px;
  font-size: 12px;
  color: #8a6a34;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mmx-universe-card:hover .mmx-universe-more {
  color: #fff8ee;
}

.mmx-universe-card:nth-child(2) {
  background: linear-gradient(145deg, #c59a50 0%, #ad8239 34%, #7a5926 100%);
  border-color: rgba(236,215,170,0.42);
  box-shadow: 0 24px 48px rgba(98,67,23,0.18);
}

.mmx-universe-card:nth-child(2) h3,
.mmx-universe-card:nth-child(2) p,
.mmx-universe-card:nth-child(2) .mmx-universe-more {
  color: #fffef8;
}

.mmx-universe-card:nth-child(2) .mmx-chip-row span {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.96);
  border-color: rgba(255,255,255,0.16);
}

.mmx-universe-card:nth-child(2):hover {
  background: #ffffff;
  border-color: rgba(177,137,67,0.24);
  box-shadow: 0 16px 34px rgba(40,28,13,0.05);
}

.mmx-universe-card:nth-child(2):hover h3 {
  color: #0d0d0d;
}

.mmx-universe-card:nth-child(2):hover p {
  color: #6e6256;
}

.mmx-universe-card:nth-child(2):hover .mmx-chip-row span {
  background: rgba(177,137,67,0.08);
  color: #6d5631;
  border-color: rgba(177,137,67,0.12);
}

.mmx-universe-card:nth-child(2):hover .mmx-universe-more {
  color: #8a6a34;
}

.mmx-sections {
  background: #fff;
}

.mmx-category-block {
  padding: 96px 24px;
  background: #fff;
}

.mmx-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mmx-category-grid.is-reverse .mmx-category-copy {
  order: 2;
}

.mmx-category-grid.is-reverse .mmx-category-visual {
  order: 1;
}

.mmx-category-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 600;
  color: #0d0d0d;
  margin: 0 0 20px;
  line-height: 1.1;
}

.mmx-category-copy p {
  color: #666;
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 28px;
}

.mmx-brand-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.mmx-brand-pill-row a {
  background: #f0ece0;
  color: #555;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
}

.mmx-brand-pill-row a:hover {
  background: #c8a84b;
  color: #1a1a1a;
}

.mmx-category-visual {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mmx-category-emoji {
  font-size: 120px;
  opacity: 0.3;
  position: absolute;
}

.mmx-category-overlay {
  position: relative;
  z-index: 1;
  padding: 40px;
  width: 100%;
}

.mmx-category-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
}

.mmx-category-brand:hover {
  background: rgba(255,255,255,0.18);
}

.mmx-category-brand span {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 600;
}

.mmx-category-brand small {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
}

.mmx-bestsellers {
  padding: 96px 24px 108px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(209, 183, 141, 0.12), transparent 20%),
    linear-gradient(180deg, #f8f5f0 0%, #f3eee7 100%);
}

.mmx-bestsellers::before,
.mmx-bestsellers::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.mmx-bestsellers::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(120,96,63,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(120,96,63,0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.22), transparent 92%);
}

.mmx-bestsellers::after {
  width: 280px;
  height: 280px;
  right: -90px;
  top: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,92,0.12) 0%, transparent 72%);
  filter: blur(24px);
}

.mmx-bestsellers .container {
  position: relative;
  z-index: 1;
}

.mmx-bestsellers .mmx-section-head {
  max-width: 720px;
  margin: 0 auto 40px;
}

.mmx-bestsellers .mmx-section-head h2 {
  color: #18120d;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.04;
}

.mmx-bestsellers .mmx-section-head .mmx-kicker {
  color: #a47a3a;
}

.mmx-bestsellers .mmx-section-head-center::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, rgba(164,122,58,0.35), transparent);
}

.mmx-bestsellers .products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.mmx-product-dark {
  background: #ffffff;
  border: 1px solid rgba(226, 220, 211, 0.9);
  box-shadow: 0 18px 36px rgba(40, 29, 18, 0.08);
  border-radius: 22px;
  overflow: hidden;
}

.mmx-product-dark:hover {
  border-color: rgba(207, 194, 176, 1);
  transform: translateY(-4px);
}

.mmx-product-dark .product-media {
  min-height: 180px;
  padding: 14px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(242, 238, 232, 1);
}

.mmx-product-dark .product-media::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.03) 100%);
}

.mmx-product-dark .product-body h3 {
  color: #171311;
  font-family: var(--title-font);
  font-size: 1.42rem;
  margin: 0 0 6px;
  line-height: 1.08;
}

.mmx-product-dark .mmx-product-desc {
  color: #8d8277;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.mmx-product-dark .tag {
  background: rgba(255,255,255,0.92);
  color: #8f7a5e;
  border: 1px solid rgba(230,224,214,0.95);
  min-height: 32px;
  padding: 7px 12px;
  font-size: 0.71rem;
  letter-spacing: 0;
  box-shadow: none;
}

.mmx-product-light .mmx-product-desc {
  color: #888;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.mmx-product-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 22px;
  padding-top: 0;
  border-top: 0;
}

.mmx-bestsellers .mmx-card-btn {
  min-width: 138px;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 0.9rem;
  border-radius: 999px;
}

.mmx-bestsellers .mmx-mini-kicker {
  margin-bottom: 12px;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  opacity: 1;
}

.mmx-bestsellers .product-body {
  padding: 24px 26px 26px;
}

.mmx-card-btn {
  background:
    linear-gradient(180deg, rgba(255,248,230,0.16), rgba(255,255,255,0) 48%),
    linear-gradient(135deg, var(--gold-highlight) 0%, var(--gold-soft) 40%, var(--gold-deep) 100%);
  color: #fff;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 12px 24px rgba(97, 69, 27, 0.14);
}

.mmx-promos {
  padding: 88px 24px;
  background: #ffffff;
}

.mmx-promo-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 2px solid #e63946;
  position: relative;
}

.mmx-promo-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #e63946;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}

.mmx-promo-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  margin: 0 0 8px;
  color: #0d0d0d;
}

.mmx-promo-card p {
  color: #888;
  font-size: 12px;
  margin: 0 0 16px;
}

.mmx-promo-prices {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mmx-promo-prices .old {
  color: #bbb;
  text-decoration: line-through;
}

.mmx-promo-prices .new {
  color: #e63946;
  font-size: 18px;
  font-weight: 700;
}

.mmx-member {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1510 100%);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}

.mmx-member::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,168,75,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.mmx-member-grid {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.mmx-member-grid h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.1;
}

.mmx-member-grid h2 span {
  color: #c8a84b;
}

.mmx-member-grid p {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 520px;
}

.mmx-member-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mmx-member-features div {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 12px 20px;
  color: #ffffff;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.mmx-member .mmx-outline-btn {
  color: #ffffff;
  border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.08);
}

.mmx-testimonials {
  background: #f8f6f0;
  padding: 88px 24px;
}

.mmx-testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.mmx-stars {
  color: #f4c542;
  letter-spacing: 2px;
  font-size: 14px;
}

.mmx-testimonial-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.85;
  margin: 16px 0 20px;
  font-style: italic;
}

.mmx-testimonial-card strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 16px;
  color: #0d0d0d;
}

.mmx-testimonial-card span {
  font-size: 12px;
  color: #aaa;
}

.mmx-faq {
  background: #fff;
  padding: 88px 24px;
}

.mmx-faq .faq-grid {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}

.mmx-faq-item {
  background: #f8f6f0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
}

.mmx-faq-item[open] {
  border-color: #c8a84b;
}

.mmx-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 16px;
  color: #0d0d0d;
}

.mmx-faq-item summary::-webkit-details-marker {
  display: none;
}

.mmx-faq-item p {
  margin: 0;
  padding: 14px 22px 18px;
  border-top: 1px solid #ede8d8;
  color: #666;
  font-size: 14px;
  line-height: 1.85;
}

.page-banner {
  background-blend-mode: multiply;
  border-radius: 24px;
}

body:not(.home-page) .site-header {
  background: rgba(255,252,246,0.94);
}

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(20,10,6,0.56); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 40;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  width: min(720px, 100%); max-height: 90vh; overflow: auto; background: rgba(255,252,246,0.98);
  border-radius: 28px; box-shadow: 0 30px 90px rgba(20,10,6,0.22); padding: 30px;
}
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.close-btn { width: 42px; height: 42px; border-radius: 999px; border: 0; background: rgba(165,122,40,0.1); cursor: pointer; }
.flash-message { margin-top: 16px; border-radius: 16px; background: rgba(102,115,74,0.12); color: var(--olive); padding: 14px 16px; display: none; }
.flash-message.show { display: block; }
.order-price-card {
  margin-bottom: 24px;
  padding: 24px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,242,229,0.94));
  border: 1px solid rgba(143, 106, 47, 0.14);
}

.order-price-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.order-price-card h3 {
  margin: 0 0 8px;
  font-family: var(--title-font);
  font-size: 1.6rem;
  line-height: 1.08;
  color: #18120d;
}

.order-price-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.order-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.order-price-row .old {
  color: rgba(42,34,26,0.42);
  text-decoration: line-through;
}

.order-price-row strong {
  font-size: 1.4rem;
  color: #18120d;
}

.order-price-row em {
  font-style: normal;
  color: var(--muted);
}

.order-price-total {
  margin-top: 10px;
  color: #2a221a;
}

.order-price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(143, 106, 47, 0.1);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.84rem;
}

.order-price-note {
  margin-top: 10px;
  color: rgba(42, 34, 26, 0.72);
  font-size: 0.92rem;
}
.empty-state { padding: 32px; text-align: center; background: rgba(255,252,246,0.8); border-radius: 24px; border: 1px dashed rgba(165,122,40,0.24); }

.section-heading-centered {
  text-align: center;
  justify-content: center;
}

.section-heading-centered p {
  margin: 0 auto;
}

.clean-hero {
  padding: 164px 0 80px;
  background: linear-gradient(180deg, #fcfaf6 0%, #f5ede1 100%);
}

.clean-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.clean-hero-copy h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.98;
  margin: 0 0 22px;
  color: #2f241b;
}

.clean-hero-copy p {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--muted);
  max-width: 720px;
}

.clean-hero-visual {
  display: flex;
  justify-content: center;
}

.clean-hero-visual img {
  width: min(460px, 100%);
  filter: drop-shadow(0 18px 36px rgba(123, 96, 46, 0.08));
}

.clean-eyebrow {
  color: var(--gold-deep);
}

.clean-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.clean-stat {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(142,110,57,0.08);
  border-radius: 18px;
  padding: 20px 22px;
}

.clean-stat strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: var(--ink);
}

.clean-categories {
  padding: 30px 0 26px;
}

.clean-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.clean-category-card {
  display: block;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(142,110,57,0.08);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.clean-category-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin: 14px 0 10px;
}

.clean-category-card p {
  line-height: 1.85;
  color: var(--muted);
}

.clean-sections {
  padding: 24px 0 94px;
}

.home-page .category-section {
  background: rgba(255,252,247,0.88);
  border-color: rgba(142,110,57,0.08);
  box-shadow: var(--shadow);
}

.home-page .category-copy h2,
.home-page .category-copy p {
  color: var(--ink);
}

.home-page .category-copy p {
  color: var(--muted);
}

.home-page .feature-list div,
.home-page .visual-card {
  background: rgba(255,255,255,0.76);
  color: var(--ink);
}

.home-page .visual-card p {
  color: var(--muted) !important;
}

.clean-category-section {
  margin-bottom: 12px;
}

.clean-products,
.clean-products-alt,
.clean-testimonials,
.clean-faq {
  padding-top: 24px;
  padding-bottom: 72px;
}

.section-dark .product-card,
.section-dark-alt .product-card {
  background: rgba(255,255,255,0.82);
  border-color: rgba(142,110,57,0.08);
  box-shadow: var(--shadow);
}

.section-dark .product-body h3,
.section-dark-alt .product-body h3,
.section-dark .product-topline,
.section-dark-alt .product-topline {
  color: var(--ink);
}

.section-dark .product-body p,
.section-dark-alt .product-body p,
.section-dark .product-topline span,
.section-dark-alt .product-topline span {
  color: var(--muted);
}

.clean-member {
  padding: 8px 0 62px;
}

.clean-member-card {
  background: linear-gradient(180deg, rgba(255,250,241,0.92), rgba(245,234,210,0.92));
  border: 1px solid rgba(142,110,57,0.1);
  border-radius: 30px;
  padding: 58px;
  box-shadow: var(--shadow);
  text-align: center;
}

.clean-member-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1;
  margin: 12px 0 16px;
}

.clean-member-card p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.9;
}

.clean-member-card .banner-actions {
  justify-content: center;
  margin-top: 28px;
}

.white-panel-soft {
  background: linear-gradient(180deg, rgba(255,252,246,0.98), rgba(246,239,226,0.96));
}

.section-light-luxe {
  background: transparent;
}

.section-light-luxe .testimonial-card,
.faq-luxe .faq-card {
  background: rgba(255,255,255,0.82);
  border-color: rgba(142,110,57,0.08);
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .hero-grid, .category-section, .page-grid, .split-layout, .footer-grid { grid-template-columns: 1fr; }
  .products-grid, .brands-grid, .categories-grid, .testimonial-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .filters-panel, .sidebar-card { position: static; }
  .mmx-bestsellers .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clean-hero-grid,
  .clean-hero-stats,
  .clean-category-grid { grid-template-columns: 1fr; }
  .mmx-category-grid,
  .mmx-member-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 78px; flex-wrap: wrap; padding: 10px 0; }
  .header-inner { padding: 10px 18px; }
  .nav { width: 100%; order: 4; display: none; padding-bottom: 10px; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .hero-copy, .cta-band, .page-banner, .form-card, .white-panel, .category-copy, .modal-card { padding: 22px; }
  .products-grid, .brands-grid, .categories-grid, .testimonial-grid, .faq-grid, .field-grid, .member-grid { grid-template-columns: 1fr; }
  .mmx-bestsellers .products-grid { grid-template-columns: 1fr; }
  .logo-wrap img { width: 110px; }
  .hero-stats { gap: 10px; }
  .clean-hero { padding-top: 132px; }
  .clean-member-card { padding: 34px 22px; }
  .mmx-categories,
  .mmx-bestsellers,
  .mmx-promos,
  .mmx-member,
  .mmx-testimonials,
  .mmx-faq,
  .mmx-category-block { padding-left: 20px; padding-right: 20px; }
  .mmx-hero-dots { bottom: 24px; }
  .mmx-hero h1 { font-size: clamp(34px, 12vw, 52px); }
  .mmx-universe-grid,
  .mmx-faq .faq-grid,
  .products-grid,
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* Final visual alignment with MaisonMarchand_Complete.jsx */

.site-header {
  left: 0;
  right: 0;
  width: 100%;
}

.header-inner {
  max-width: none;
}

.logo-wrap img {
  width: 176px;
}

.nav {
  justify-content: center;
  flex: 1 1 auto;
}

.nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-link {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 0;
  color: inherit;
}

.nav-item {
  position: relative;
}

.nav-item-mega {
  display: flex;
  align-items: center;
}

.mega-menu {
  position: fixed;
  top: 118px;
  left: 0;
  right: 0;
  transform: translateY(10px);
  width: 100vw;
  height: calc(100vh - 136px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 50;
  padding: 0;
}

.nav-item-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 34px 40px 42px;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 220, 159, 0.34), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(184, 138, 52, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(86,61,26,0.98) 0%, rgba(48,34,18,0.985) 34%, rgba(22,16,12,0.99) 100%);
  border: 1px solid rgba(227, 192, 119, 0.2);
  box-shadow: 0 40px 90px rgba(9, 8, 7, 0.34);
}

.mega-menu-left {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  min-height: 0;
  position: relative;
  z-index: 2;
  align-content: start;
}

.mega-menu-intro,
.mega-menu-column {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.mega-menu-intro {
  padding: 30px 32px;
  background:
    radial-gradient(circle at top left, rgba(236,204,128,0.18), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,233,184,0.14);
}

.mega-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d7b77a;
  font-weight: 800;
}

.mega-menu-intro h3 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.25rem;
  line-height: 0.98;
  color: #fff8ea;
}

.mega-menu-intro p {
  margin: 0 0 22px;
  color: rgba(255,245,226,0.72);
  line-height: 1.8;
  font-size: 14px;
}

.mega-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,248,230,0.16), rgba(255,255,255,0) 48%),
    linear-gradient(135deg, var(--gold-highlight) 0%, var(--gold-soft) 40%, var(--gold-deep) 100%);
  border: 1px solid rgba(255,233,184,0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 18px 30px rgba(97, 69, 27, 0.16);
}

.mega-menu-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-height: 0;
  align-items: start;
}

.mega-menu-column {
  padding: 24px 20px 26px;
  background:
    linear-gradient(180deg, rgba(255,248,230,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,233,184,0.12);
  overflow: hidden;
}

.mega-column-title {
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d7b77a;
  font-weight: 800;
}

.mega-brand-link {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 12px;
  border-radius: 16px;
  transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  border: 1px solid transparent;
}

.mega-brand-link:hover {
  background: rgba(255,244,219,0.08);
  transform: translateX(2px);
  border-color: rgba(227, 192, 119, 0.18);
}

.mega-brand-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(255,233,184,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 24px rgba(0,0,0,0.16);
}

.mega-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px 0 4px;
}

.mega-brand-copy strong {
  color: #fff8ea;
  font-size: 15px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.mega-brand-copy small {
  color: rgba(255,245,226,0.58);
  font-size: 11px;
  line-height: 1.55;
}

.mega-menu-feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,233,184,0.16);
  box-shadow: 0 26px 60px rgba(0,0,0,0.24);
}

.mega-menu-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,12,8,0.15), rgba(16,12,8,0.55) 60%, rgba(16,12,8,0.78) 100%);
}

.mega-menu-feature::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,233,184,0.16);
}

.mega-feature-badge,
.mega-feature-copy {
  position: relative;
  z-index: 1;
}

.mega-feature-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,248,230,0.12);
  border: 1px solid rgba(255,233,184,0.18);
  color: #fff0c8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.mega-feature-copy {
  width: 100%;
  padding: 34px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 24px rgba(0,0,0,0.5);
  position: relative;
}

.mega-feature-copy::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.62) 100%);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  z-index: -1;
}

.mega-feature-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(255,244,219,0.92);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.mega-feature-copy h4 {
  margin: 0 0 12px;
  color: #fff8ea;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 3vw, 4rem);
  line-height: 0.95;
}

.mega-feature-copy p {
  max-width: 480px;
  margin: 0 0 20px;
  color: rgba(255,245,226,0.92);
  font-size: 15px;
  line-height: 1.8;
}

.mega-feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,248,230,0.16), rgba(255,255,255,0) 48%),
    linear-gradient(135deg, var(--gold-highlight) 0%, var(--gold-soft) 40%, var(--gold-deep) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 18px 30px rgba(97, 69, 27, 0.16);
}

.home-exact .mega-menu {
  top: 114px;
  height: calc(100vh - 114px);
}

.header-scrolled .mega-menu,
body:not(.home-page) .mega-menu {
  top: 108px;
  height: calc(100vh - 108px);
}

.header-actions .btn {
  min-width: 138px;
}

.home-exact .site-header {
  background: rgba(13, 13, 13, 0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.home-exact.header-scrolled .site-header {
  background: rgba(13, 13, 13, 0.94);
}

.mmx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.08), transparent 28%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.28));
}

.mmx-hero-shell {
  padding: 80px 24px 96px;
}

.mmx-hero-video,
.mmx-hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mmx-hero-video {
  object-fit: cover;
}

.mmx-hero-video-overlay {
  z-index: 1;
  pointer-events: none;
}

.mmx-hero-content {
  max-width: 920px;
}

.mmx-hero-badge {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 11px;
  margin-bottom: 24px;
}

.mmx-hero h1 {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.mmx-hero p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.72);
}

.mmx-hero-actions .btn,
.mmx-hero-actions .mmx-outline-btn {
  min-width: 188px;
  min-height: 50px;
  border-radius: 999px;
}

.mmx-outline-btn {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mmx-categories,
.mmx-bestsellers,
.mmx-promos,
.mmx-member,
.mmx-testimonials,
.mmx-faq {
  padding-top: 112px;
  padding-bottom: 112px;
}

.mmx-section-head {
  margin-bottom: 64px;
}

.mmx-universe-grid {
  gap: 28px;
}

.mmx-universe-card {
  padding: 40px;
  border-radius: 24px;
  min-height: 100%;
}

.mmx-universe-icon {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 700;
  color: #0d0d0d;
  background: rgba(13,13,13,0.05);
}

.mmx-universe-card:hover .mmx-universe-icon {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.mmx-universe-card p,
.mmx-category-copy p,
.mmx-faq-item p,
.mmx-testimonial-card p {
  font-size: 14px;
}

.mmx-category-block {
  padding-top: 112px;
  padding-bottom: 112px;
}

.mmx-category-grid {
  gap: 88px;
}

.mmx-category-copy {
  max-width: 560px;
}

.mmx-category-copy .btn {
  min-width: 176px;
}

.mmx-category-visual {
  min-height: 560px;
  aspect-ratio: auto;
  box-shadow: 0 26px 70px rgba(14,14,14,0.12);
}

.mmx-category-emoji {
  font-family: "Cormorant Garamond", serif;
  font-size: 180px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.12);
}

.mmx-category-overlay {
  padding: 52px;
}

.mmx-category-brand {
  padding: 18px 22px;
  margin-bottom: 14px;
}

.mmx-bestsellers .products-grid,
.mmx-promos .products-grid {
  gap: 22px;
}

.mmx-product-dark,
.mmx-promo-card,
.mmx-testimonial-card,
.brand-card,
.product-card,
.info-card,
.member-card,
.form-card,
.request-card {
  border-radius: 20px;
}

.mmx-product-dark .product-body,
.product-body,
.brand-body,
.info-card,
.member-card,
.request-card,
.form-card {
  padding: 30px;
}

.mmx-card-btn {
  border-radius: 999px;
  padding: 9px 16px;
}

.mmx-member-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.mmx-member-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mmx-member-features div {
  min-height: 78px;
  display: flex;
  align-items: center;
}

.page-modern .section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.page-modern .page-banner,
.page-modern .brand-hero {
  min-height: 420px;
  border-radius: 28px;
  display: flex;
  align-items: flex-end;
}

.page-modern .page-banner > div,
.page-modern .brand-hero > div {
  max-width: 760px;
}

.page-modern .page-banner h1,
.page-modern .brand-hero h1 {
  margin-bottom: 16px;
}

.page-modern .page-grid {
  gap: 28px;
}

.page-modern .brands-grid,
.page-modern .products-grid,
.page-modern .member-grid {
  gap: 24px;
}

.page-modern .white-panel,
.page-modern .form-card,
.page-modern .info-card,
.page-modern .member-card,
.page-modern .brand-card,
.page-modern .product-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(165,122,40,0.1);
  box-shadow: 0 18px 50px rgba(43,27,11,0.08);
}

.page-modern .brand-card h3,
.page-modern .product-card h3,
.page-modern .info-card h2,
.page-modern .member-card h3 {
  font-family: var(--title-font);
}

.page-modern .brand-card h3,
.page-modern .product-card h3 {
  font-size: 1.56rem;
  margin: 12px 0 8px;
  line-height: 1.06;
}

.page-modern .brand-body p,
.page-modern .product-body p,
.page-modern .info-card p,
.page-modern .member-card p,
.page-modern .form-card p {
  line-height: 1.85;
  color: var(--muted);
}

.page-modern .filters-panel {
  top: 128px;
  border-radius: 20px;
}

.page-modern .field input,
.page-modern .field select,
.page-modern .field textarea {
  min-height: 54px;
  border-radius: 14px;
}

.page-modern .field textarea {
  min-height: 140px;
}

.page-modern .faq-grid {
  gap: 18px;
}

.page-modern .faq-card {
  padding: 30px;
}

.site-footer {
  margin-top: 0;
  padding-top: 84px;
}

@media (max-width: 1080px) {
  .mmx-category-grid,
  .mmx-member-grid {
    gap: 36px;
  }

  .mmx-member-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .logo-wrap img {
    width: 110px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .nav-item-mega {
    display: block;
    width: 100%;
  }

  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    margin-top: 10px;
    padding: 0;
  }

  .nav-item-mega.is-open .mega-menu {
    transform: none;
  }

  .mega-menu-grid,
  .mega-menu-columns {
    grid-template-columns: 1fr;
  }

  .mega-menu-grid {
    width: 100%;
    height: auto;
    border-radius: 26px;
  }

  .mega-menu-feature {
    min-height: 280px;
  }

  .mmx-categories,
  .mmx-bestsellers,
  .mmx-promos,
  .mmx-member,
  .mmx-testimonials,
  .mmx-faq,
  .mmx-category-block {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .mmx-hero-shell {
    padding-top: 28px;
  }

  .mmx-category-visual {
    min-height: 340px;
    height: 340px;
    aspect-ratio: unset;
  }

  /* Sur mobile, le texte + le bouton passent toujours AVANT l'image,
     meme pour les blocs qui etaient inverses en desktop. */
  .mmx-category-grid,
  .mmx-category-grid.is-reverse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .mmx-category-grid .mmx-category-copy,
  .mmx-category-grid.is-reverse .mmx-category-copy {
    order: 1;
  }
  .mmx-category-grid .mmx-category-visual,
  .mmx-category-grid.is-reverse .mmx-category-visual {
    order: 2;
  }

  .mmx-category-overlay {
    padding: 28px;
  }

  .mmx-member-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
    align-items: stretch;
  }

  .mmx-member-grid > * {
    width: 100%;
  }

  .mmx-member-features {
    grid-template-columns: 1fr;
  }

  .page-modern .page-banner,
  .page-modern .brand-hero {
    min-height: 340px;
  }
}

/* Luxe upgrade */

body {
  background:
    radial-gradient(circle at top left, rgba(215, 183, 109, 0.16), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(53, 33, 14, 0.14), transparent 28%),
    linear-gradient(180deg, #fcfaf5 0%, #f6f0e5 36%, #fffdf9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03), rgba(255,255,255,0.03)),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(194,161,99,0.03) 80px);
  opacity: 0.45;
  z-index: -1;
}

.site-header {
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(34, 22, 8, 0.04);
}

.header-inner {
  min-height: 114px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo-wrap {
  position: relative;
}

.logo-wrap::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(194,161,99,0.32), transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}

.logo-wrap img {
  width: 190px;
  filter: none;
}

.btn,
.button-link {
  box-shadow: 0 12px 30px rgba(53, 35, 12, 0.08);
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(255,248,230,0.18), rgba(255,255,255,0) 48%),
    linear-gradient(135deg, var(--gold-highlight) 0%, var(--gold-soft) 40%, var(--gold-deep) 100%);
  color: #fff;
  border-color: rgba(82, 55, 19, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,248,229,0.16),
    inset 0 -1px 0 rgba(69, 46, 15, 0.28),
    0 18px 36px rgba(70, 45, 14, 0.12);
}

.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,248,229,0.18),
    inset 0 -1px 0 rgba(69, 46, 15, 0.3),
    0 22px 40px rgba(70, 45, 14, 0.14);
}

.btn-secondary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(246,239,226,0.88));
  border-color: rgba(159,123,59,0.18);
  color: #4a3927;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.72),
    0 14px 30px rgba(38, 24, 9, 0.06);
}

.home-exact .header-actions .btn-primary {
  background:
    linear-gradient(180deg, rgba(255,248,230,0.16), rgba(255,255,255,0) 46%),
    linear-gradient(135deg, var(--gold-highlight) 0%, var(--gold-soft) 45%, var(--gold-deep) 100%);
  color: #fff;
}

.home-exact .header-actions .btn-secondary {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}

.mmx-hero {
  background-size: cover;
}

.mmx-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(9,9,9,0.32));
}

.mmx-hero-orbit-lg,
.mmx-hero-orbit-sm {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.mmx-hero-content {
  max-width: 980px;
}

.mmx-hero-badge {
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

.mmx-hero h1 {
  text-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.mmx-hero-actions {
  margin-top: 8px;
}

.mmx-hero-dots button {
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.mmx-section-head h2,
.section-heading h2,
.page-banner h1,
.brand-hero h1,
.category-copy h2,
.cta-band h2 {
  letter-spacing: -0.03em;
}

.mmx-universe-card,
.brand-card,
.product-card,
.info-card,
.member-card,
.form-card,
.faq-card,
.testimonial-card,
.mmx-promo-card {
  backdrop-filter: blur(12px);
  position: relative;
}

.mmx-universe-card::before,
.brand-card::before,
.product-card::before,
.info-card::before,
.member-card::before,
.form-card::before,
.mmx-promo-card::before,
.mmx-testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(194,161,99,0.14), rgba(255,255,255,0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mmx-universe-card:hover,
.brand-card:hover,
.product-card:hover,
.mmx-promo-card:hover,
.mmx-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(36, 22, 8, 0.14);
}

.mmx-category-visual::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}

.mmx-category-brand {
  box-shadow: 0 18px 34px rgba(0,0,0,0.08);
}

.mmx-bestsellers {
  background:
    radial-gradient(circle at top left, rgba(209, 183, 141, 0.12), transparent 20%),
    linear-gradient(180deg, #f8f5f0 0%, #f3eee7 100%);
}

.mmx-promos {
  background: #ffffff;
}

.mmx-member {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(200,168,75,0.18) 0%, transparent 46%),
    linear-gradient(135deg, #0a0a0a 0%, #17120d 56%, #22170f 100%);
}

.mmx-testimonials {
  background:
    linear-gradient(180deg, rgba(248,246,240,0.72), rgba(248,246,240,0.96)),
    radial-gradient(circle at top left, rgba(194,161,99,0.1), transparent 26%);
}

.page-modern .page-banner,
.page-modern .brand-hero {
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(33, 20, 9, 0.16);
}

.page-modern .page-banner::after,
.page-modern .brand-hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  pointer-events: none;
}

.page-modern .white-panel,
.page-modern .form-card,
.page-modern .info-card,
.page-modern .member-card,
.page-modern .brand-card,
.page-modern .product-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(251,247,239,0.92));
}

.footer-logo-panel {
  width: 250px;
  background: radial-gradient(circle at top, rgba(255,255,255,0.98), rgba(245,236,217,0.94));
  border: 1px solid rgba(194,161,99,0.14);
  box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}

.site-footer {
  background:
    radial-gradient(circle at top, rgba(200,168,75,0.14), transparent 24%),
    linear-gradient(180deg, #24180f, #120c09);
}

@media (max-width: 760px) {
  .logo-wrap img {
    width: 110px;
  }

  .header-inner {
    min-height: 88px;
  }

  .mmx-hero-icon {
    width: 94px;
    height: 94px;
  }
}

/* Brands page */

.brands-hero {
  min-height: 560px !important;
}

.brands-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.brands-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  max-width: 720px;
}

.brands-hero-metrics div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 18px 20px;
  backdrop-filter: blur(10px);
}

.brands-hero-metrics strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #fff4d1;
}

.brands-hero-metrics span {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brands-curation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.brands-curation-card {
  position: relative;
  padding: 34px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,243,233,0.94));
  border: 1px solid rgba(194,161,99,0.12);
  box-shadow: 0 24px 50px rgba(39, 24, 9, 0.06);
}

.brands-curation-card::after {
  content: "";
  position: absolute;
  top: -32px;
  right: -22px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(194,161,99,0.2), transparent 70%);
}

.brands-curation-kicker {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 800;
}

.brands-curation-card h3 {
  margin: 14px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.84rem;
  line-height: 1.04;
}

.brands-curation-card p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 20px;
}

.brands-curation-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.brands-curation-list a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(194,161,99,0.1);
  color: var(--coffee);
  font-size: 12px;
  font-weight: 700;
}

.brands-curation-card p {
  max-width: 32ch;
}

.brands-collection-section {
  padding-top: 22px;
}

.brands-collection-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.brands-collection-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin: 10px 0 0;
}

.brands-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brands-filter-chip {
  border: 1px solid rgba(194,161,99,0.14);
  background: rgba(255,255,255,0.72);
  color: var(--coffee);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.brands-filter-chip.is-active,
.brands-filter-chip:hover {
  background:
    linear-gradient(180deg, rgba(255,248,230,0.16), rgba(255,255,255,0) 48%),
    linear-gradient(135deg, var(--gold-highlight) 0%, var(--gold-soft) 44%, var(--gold-deep) 100%);
  color: #fff;
  border-color: rgba(82, 55, 19, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255,248,229,0.16),
    0 14px 26px rgba(70, 45, 14, 0.1);
}

.brands-grid-luxe {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.brand-card-luxe {
  overflow: hidden;
}

.brand-media-luxe {
  min-height: 280px;
  padding: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.brand-mark {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}

.brand-card-luxe .brand-body {
  padding: 32px;
}

.brand-card-luxe h3 {
  font-size: 2.35rem;
  margin: 12px 0 14px;
}

.brand-card-luxe p {
  margin: 0;
}

.brand-card-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.brand-card-luxe[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .brands-curation-grid,
  .brands-grid-luxe {
    grid-template-columns: 1fr;
  }

  .brands-collection-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .brands-hero {
    min-height: 460px !important;
  }

  .brands-hero-metrics {
    grid-template-columns: 1fr;
  }

  .brands-curation-card,
  .brand-card-luxe .brand-body {
    padding: 24px;
  }

  .brand-media-luxe {
    min-height: 220px;
  }

  .brand-card-actions .btn,
  .brands-hero-actions .btn {
    width: 100%;
  }
}

/* Logo-matched gold refinement */

:root {
  --gold: #8f6a2f;
  --gold-deep: #5d4218;
}

.btn-primary,
.mmx-card-btn,
.mega-menu-cta,
.mega-feature-link,
.brands-filter-chip.is-active,
.brands-filter-chip:hover,
.home-exact .header-actions .btn-primary {
  background:
    linear-gradient(180deg, rgba(255,248,231,0.16) 0%, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0) 52%),
    linear-gradient(135deg, #b7883f 0%, #9c712f 22%, #7d5823 52%, #5d4218 100%);
  color: #fff;
  border-color: rgba(84, 57, 19, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255,248,229,0.16),
    inset 0 -1px 0 rgba(74, 49, 15, 0.32),
    0 18px 34px rgba(70, 45, 14, 0.12);
}

.btn-primary:hover,
.mmx-card-btn:hover,
.mega-menu-cta:hover,
.mega-feature-link:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,248,229,0.18),
    inset 0 -1px 0 rgba(74, 49, 15, 0.34),
    0 22px 42px rgba(70, 45, 14, 0.14);
}

.mega-menu-grid {
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 230, 160, 0.34), transparent 22%),
    radial-gradient(circle at 84% 14%, rgba(212, 175, 90, 0.28), transparent 20%),
    linear-gradient(180deg, #8d6420 0%, #6f4c16 18%, #4e3512 42%, #25190d 100%);
  border-color: rgba(245, 211, 128, 0.26);
}

.mega-menu-intro {
  background:
    radial-gradient(circle at top left, rgba(255,233,184,0.32), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,242,230,0.96));
  border-color: rgba(214, 176, 97, 0.18);
}

.mega-menu-column {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,242,230,0.95));
  border-color: rgba(214, 176, 97, 0.16);
}

.mega-brand-link:hover {
  background: rgba(212, 175, 90, 0.08);
  border-color: rgba(212, 175, 90, 0.18);
}

.mega-feature-badge {
  background: rgba(255,236,189,0.16);
  border-color: rgba(255,236,189,0.24);
  color: #fff4d5;
}

.mega-menu-intro h3,
.mega-column-title,
.mega-brand-copy strong {
  color: #2a1d10;
}

.mega-menu-intro p,
.mega-brand-copy small {
  color: rgba(69, 49, 22, 0.72);
}

.mega-kicker {
  color: #a87417;
}

.mega-menu-cta {
  color: #fff;
}

/* Mega menu brand emphasis */

.mega-brand-link {
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 90, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.56);
  transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.mega-brand-link:hover {
  background: rgba(212, 175, 90, 0.08);
  transform: translateY(-2px);
  border-color: rgba(212, 175, 90, 0.22);
  box-shadow: 0 16px 28px rgba(138, 96, 25, 0.14);
}

.mega-brand-thumb {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 14px 28px rgba(0,0,0,0.12);
}

.mega-brand-copy {
  gap: 6px;
  min-width: 0;
}

.mega-brand-copy strong {
  font-size: 1.28rem;
  line-height: 0.95;
}

.mega-brand-copy small {
  font-size: 11.5px;
  max-width: 280px;
}

.mega-brand-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0d58f, #bf8f2c);
  color: #21170c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255,249,226,0.5);
}

.mega-brand-site {
  color: #9d6f1e;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.mega-brand-enter {
  margin-top: 8px;
  color: #7f5a17;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.mega-brand-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 90, 0.1);
  color: #8d6420;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.mega-brand-link:hover .mega-brand-arrow {
  transform: rotate(45deg);
  background: rgba(212, 175, 90, 0.18);
  color: #6d4a12;
}

@media (max-width: 760px) {
  .mega-brand-link {
    grid-template-columns: 72px 1fr auto;
  }

  .mega-brand-thumb {
    width: 72px;
    height: 72px;
  }
}

/* Mega menu spacing cleanup */

.mega-menu-grid {
  padding-bottom: 54px;
}

.mega-menu-intro,
.mega-menu-column {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248,242,230,0.96));
}

.mega-menu-intro {
  box-shadow: 0 18px 40px rgba(72, 46, 14, 0.12);
}

.mega-menu-column {
  padding-bottom: 30px;
  box-shadow: 0 18px 40px rgba(72, 46, 14, 0.1);
}

.mega-menu-feature {
  margin-bottom: 18px;
  align-self: start;
}

.mega-brand-site {
  display: none;
}

.mega-brand-meta,
.mega-brand-mark,
.mega-brand-arrow {
  display: none !important;
}

.mega-brand-link {
  grid-template-columns: 80px 1fr !important;
}

@media (max-width: 760px) {
  .mega-menu-grid {
    padding: 22px 22px 30px;
  }

  .mega-brand-link {
    grid-template-columns: 72px 1fr !important;
  }
}

/* Editorial page redesign */

.promotions-overview {
  padding-top: 10px;
}

.promo-overview-grid,
.about-story-grid,
.contact-shell,
.faq-page-grid,
.promotions-layout {
  display: grid;
  gap: 28px;
}

.promo-overview-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.promo-overview-card,
.faq-page-intro,
.about-story-card,
.promotions-aside {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,242,230,0.94));
  border: 1px solid rgba(194,161,99,0.12);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 22px 52px rgba(45, 28, 10, 0.08);
}

.promo-overview-card h2,
.faq-page-intro h2,
.about-story-card h2,
.promotions-aside h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.98;
  margin: 14px 0 14px;
}

.promo-overview-card p,
.faq-page-intro p,
.about-story-card p,
.promotions-aside p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

.promo-overview-metrics,
.about-stats-panel {
  display: grid;
  gap: 16px;
}

.promo-overview-metrics div,
.about-stats-panel div {
  background: linear-gradient(180deg, rgba(42,27,11,0.92), rgba(70,46,18,0.92));
  color: #fff5de;
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: 0 24px 50px rgba(35, 21, 8, 0.16);
}

.promo-overview-metrics strong,
.about-stats-panel strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  line-height: 1;
}

.promo-overview-metrics span,
.about-stats-panel span {
  display: block;
  margin-top: 6px;
  color: rgba(255,245,226,0.72);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.promotions-layout {
  grid-template-columns: 320px 1fr;
  align-items: start;
}

.promotions-aside {
  position: sticky;
  top: 132px;
}

.promotions-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-page-grid {
  grid-template-columns: 360px 1fr;
  align-items: start;
}

.faq-page-intro {
  position: sticky;
  top: 132px;
}

.faq-intro-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-intro-points div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(212,175,90,0.08);
  color: #5d4727;
  font-weight: 700;
}

.faq-page-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,242,230,0.94));
  border: 1px solid rgba(194,161,99,0.12);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 52px rgba(45, 28, 10, 0.08);
}

.faq-page-panel .faq-grid {
  grid-template-columns: 1fr;
}

.about-story-grid {
  grid-template-columns: 1.1fr 0.9fr;
  margin-bottom: 28px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-shell {
  grid-template-columns: 340px 1fr;
  align-items: start;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.contact-form-card {
  padding: 38px;
}

.contact-form-card form {
  margin-top: 22px;
}

@media (max-width: 1080px) {
  .promo-overview-grid,
  .about-story-grid,
  .contact-shell,
  .faq-page-grid,
  .promotions-layout,
  .about-values-grid,
  .promotions-grid {
    grid-template-columns: 1fr;
  }

  .promotions-aside,
  .faq-page-intro {
    position: static;
  }
}

/* Brand page redesign */

:root {
  --brand-primary: #2a221a;
  --brand-accent: #d4af5a;
  --brand-surface: #f8f4ec;
  --brand-ink: #2a221a;
}

.brand-page-modern {
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--brand-accent) 14%, transparent 86%), transparent 28%),
    linear-gradient(180deg, var(--brand-surface), #fff);
}

.brand-hero-modern {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.brand-hero-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.08), rgba(10,10,10,0.48) 42%, rgba(10,10,10,0.86)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--brand-accent) 20%, transparent 80%), transparent 24%);
}

.brand-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
  padding-bottom: 48px;
}

.brand-hero-copy,
.brand-hero-panel,
.brand-sidebar-card {
  border-radius: 28px;
  overflow: hidden;
}

.brand-hero-copy {
  padding: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.16);
  color: #fff;
}

.brand-kicker {
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  color: #fff2c8;
}

.brand-hero-copy h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.3rem, 6vw, 6.3rem);
  line-height: 0.88;
  margin: 0 0 18px;
}

.brand-hero-copy p {
  color: rgba(255,245,226,0.84);
  line-height: 1.95;
  max-width: 680px;
  font-size: 1.04rem;
}

.brand-hero-panel {
  padding: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,242,230,0.94));
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 34px 80px rgba(16,11,7,0.18);
}

.brand-hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-hero-panel h2 {
  margin: 20px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: var(--brand-ink);
}

.brand-hero-note {
  margin: 0;
  color: rgba(42,34,26,0.72);
  line-height: 1.8;
}

.brand-key-lines {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.brand-key-lines span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--brand-surface) 65%, white 35%);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 18%, white 82%);
  color: var(--brand-ink);
  font-weight: 700;
  line-height: 1.45;
}

.brand-layout-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.brand-sidebar-card {
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,242,230,0.94));
  border: 1px solid rgba(194,161,99,0.12);
  box-shadow: 0 22px 50px rgba(45,28,10,0.08);
}

.brand-sidebar-card h2 {
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
}

.brand-sidebar-card p {
  color: var(--muted);
  line-height: 1.85;
}

.brand-content-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin: 10px 0 0;
}

.brand-content-full {
  width: 100%;
}

.brand-content-head {
  display: block;
  max-width: 760px;
}

.brand-content-head p {
  margin: 14px 0 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.85;
}

.brand-filter-bar {
  min-width: 320px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), color-mix(in srgb, var(--brand-surface) 76%, white 24%));
  border: 1px solid color-mix(in srgb, var(--brand-accent) 22%, white 78%);
  box-shadow: 0 20px 44px rgba(24, 15, 8, 0.08);
}

.brand-filter-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.brand-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-filter-list .checkbox-item {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-surface) 62%, white 38%);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 20%, white 80%);
  color: var(--brand-ink);
  font-weight: 700;
}

.brand-filter-list .checkbox-item input {
  accent-color: var(--brand-primary);
}

.brand-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 22px;
}

.brand-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  margin-top: 44px;
}

.brand-page-layout {
  background: var(--brand-surface);
}

.brand-page-layout .brand-content-head .eyebrow,
.brand-page-layout .brand-content-head h2,
.brand-page-layout .brand-content-head p {
  color: var(--brand-surface-text, #2a221a);
}

.brand-category-card {
  display: block;
  min-height: 420px;
  border-radius: 36px;
  overflow: hidden;
  text-decoration: none;
  background: color-mix(in srgb, var(--brand-primary) 94%, black 6%);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 28%, white 72%);
  box-shadow: 0 24px 60px rgba(8, 8, 8, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.brand-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(24, 15, 8, 0.12);
  border-color: color-mix(in srgb, var(--brand-accent) 42%, white 58%);
}

.brand-category-visual {
  position: relative;
  min-height: 420px;
}

.brand-category-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,12,12,0.12), rgba(12,12,12,0.22) 34%, rgba(12,12,12,0.82));
}

.brand-category-visual::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.18);
}

.brand-category-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
  padding: 38px;
  z-index: 2;
}

.brand-category-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 3.8vw, 3.8rem);
  line-height: 0.94;
  color: #fff;
  text-shadow: 0 10px 28px rgba(0,0,0,0.38);
}

.brand-category-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 8px 18px rgba(0,0,0,0.28);
}

.brand-category-enter::after {
  content: ">";
  font-size: 1rem;
}

[data-brand-theme="pastaprime"] .brand-category-card.is-packshot-card {
  background: #ffffff;
}

[data-brand-theme="pastaprime"] .brand-category-visual.is-packshot-visual::before,
[data-brand-theme="pastaprime"] .brand-category-visual.is-packshot-visual::after,
[data-brand-theme="pastaprime"] .brand-themed-card .product-media::before {
  display: none;
}

[data-brand-theme="pastaprime"] .brand-category-visual.is-packshot-visual {
  background-color: #ffffff;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

[data-brand-theme="pastaprime"] .brand-category-overlay.is-packshot-overlay {
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(33,23,15,0.08) 56%, rgba(33,23,15,0.72) 100%);
}

[data-brand-theme="pastaprime"] .brand-themed-card .product-media {
  background-color: #ffffff;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

body[data-brand-theme="pastaprime"] .brand-hero-modern {
  overflow: hidden;
}

body[data-brand-theme="pastaprime"] .brand-hero-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 227, 171, 0.18), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(255, 237, 198, 0.16), transparent 18%),
    radial-gradient(circle at 50% 78%, rgba(255, 214, 126, 0.12), transparent 24%);
  animation: pastaprimeHeroFloat 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pastaprimeHeroFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.7;
  }
  to {
    transform: translate3d(0, -14px, 0) scale(1.03);
    opacity: 1;
  }
}

.pastaprime-products-main {
  background: #ffffff;
}

.pastaprime-catalog-topbar {
  display: none;
}

.pastaprime-catalog-topbar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pastaprime-catalog-topbar .eyebrow,
.pastaprime-catalog-topbar h1 {
  color: #ffffff;
}

.pastaprime-catalog-topbar h1 {
  margin: 8px 0 0;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.pastaprime-tabs-section {
  background: #ffffff;
  padding-top: 64px;
}

.pastaprime-filters-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  text-align: center;
}

.pastaprime-filters-head h2 {
  margin: 0;
  color: #2f3134;
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-family: "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pastaprime-filters-ornament {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto auto auto minmax(110px, 1fr);
  align-items: center;
  gap: 10px;
  width: min(100%, 920px);
}

.pastaprime-filters-ornament span {
  height: 1px;
  background: rgba(158, 133, 89, 0.55);
}

.pastaprime-filters-ornament i,
.pastaprime-filters-ornament em {
  display: block;
  border-radius: 999px;
  border: 1.5px solid #d9b26f;
}

.pastaprime-filters-ornament i {
  width: 16px;
  height: 16px;
}

.pastaprime-filters-ornament em {
  width: 32px;
  height: 32px;
  position: relative;
}

.pastaprime-filters-ornament em::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  border: 1.5px solid #d9b26f;
}

.pastaprime-tabs {
  margin-bottom: 34px;
}

.pastaprime-tabs .menu-button-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pastaprime-tab {
  padding: 0;
  border: 0;
  background: transparent;
  color: #3c3f43;
  cursor: pointer;
  transition: 180ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  list-style: none;
  pointer-events: auto;
  user-select: none;
}
.pastaprime-tab:focus {
  outline: none;
}
.pastaprime-tab:focus-visible .pastaprime-tab-circle {
  outline: 2px solid #d0a153;
  outline-offset: 3px;
}

.pastaprime-tab-circle {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  border: 2px solid #71757a;
  background: #ffffff;
  transition: inherit;
  font-style: normal;
}

.pastaprime-tab-icon {
  width: 58px;
  height: 58px;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
}

.pastaprime-tab .r-name {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pastaprime-tab:hover .pastaprime-tab-circle,
.pastaprime-tab.is-active .pastaprime-tab-circle {
  border-color: #d0a153;
}

.pastaprime-tab.is-active {
  color: #22262a;
}

.pastaprime-tab-panel {
  padding: 0;
  border-radius: 0;
  background: #ffffff;
  border: 0;
  box-shadow: none;
}

.pastaprime-tab-summary {
  margin: 0 0 24px;
  text-align: center;
}

.pastaprime-tab-summary h3 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #927247;
  font-family: "Bebas Neue", "Oswald", sans-serif;
}

.pastaprime-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.pastaprime-product-card {
  display: block;
  min-height: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e9e2d8;
  box-shadow: none;
  color: #1f1812;
  cursor: default;
  pointer-events: none;
}

.pastaprime-product-media {
  min-height: 270px;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-bottom: 1px solid #f1e8da;
}

.pastaprime-product-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 16px;
}

.pastaprime-product-card h3 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.25;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.pastaprime-product-line {
  color: #97866f;
  line-height: 1.3;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.pastaprime-product-card p {
  margin: 0;
  color: #6f665b;
  line-height: 1.35;
  font-size: 0.72rem;
}

@media (max-width: 1080px) {
  .pastaprime-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.category-page-modern {
  background: var(--brand-surface);
}

.category-hero-modern {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.category-hero-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.12), rgba(10,10,10,0.78));
}

.category-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: end;
  padding-bottom: 48px;
}

.category-hero-copy,
.category-hero-panel {
  border-radius: 28px;
  overflow: hidden;
}

.category-hero-copy {
  padding: 44px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.16);
  color: #fff;
}

.category-hero-copy h1 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.94;
}

.category-hero-copy p {
  margin: 0;
  max-width: 720px;
  color: rgba(255,245,226,0.84);
  line-height: 1.85;
}

.category-hero-panel {
  padding: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), color-mix(in srgb, var(--brand-surface) 82%, white 18%));
  border: 1px solid color-mix(in srgb, var(--brand-accent) 20%, white 80%);
  box-shadow: 0 26px 60px rgba(16,11,7,0.16);
}

.category-content-head {
  margin-bottom: 28px;
}

.category-page-modern .category-content-head .eyebrow,
.category-page-modern .category-content-head h2,
.category-page-modern .category-content-head p {
  color: var(--brand-surface-text, #2a221a);
}

.category-page-modern .brand-key-lines span {
  color: var(--brand-surface-text, #2a221a);
  border-color: color-mix(in srgb, var(--brand-surface-text, #2a221a) 18%, transparent 82%);
  background: color-mix(in srgb, var(--brand-surface) 78%, white 22%);
}

.brand-themed-card {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 22%, white 78%);
  box-shadow: 0 24px 50px rgba(24, 15, 8, 0.08);
}

.brand-themed-card .product-media {
  min-height: 240px;
  background-repeat: no-repeat;
}

.brand-themed-card .product-body {
  padding: 30px;
}

.brand-themed-card h3 {
  margin: 14px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.02;
}

.brand-themed-card .product-topline span:last-child,
.brand-themed-card .price {
  color: var(--brand-primary);
}

.brand-themed-card .product-topline {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.brand-themed-card p {
  color: rgba(42,34,26,0.72);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.8em * 2);
}

.brand-themed-card .btn-primary {
  background: var(--brand-button-bg, var(--brand-primary));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 34px color-mix(in srgb, var(--brand-primary) 26%, transparent 74%);
}

.brand-themed-card .product-actions .btn-primary,
.product-detail-actions .btn-primary {
  background: var(--brand-button-bg, var(--brand-primary)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.brand-themed-card .product-actions .btn-primary::before,
.product-detail-actions .btn-primary::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0) 44%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 48%, rgba(0,0,0,0.1) 100%);
}

.brand-themed-card .btn-secondary,
.brand-hero-panel .btn-secondary {
  background: color-mix(in srgb, var(--brand-surface) 70%, white 30%);
  color: var(--brand-primary);
  border-color: color-mix(in srgb, var(--brand-primary) 26%, white 74%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.brand-page-modern .brand-hero-chip,
.brand-page-modern .tag {
  background: var(--brand-button-bg, color-mix(in srgb, var(--brand-primary) 88%, black 12%));
  color: #fff;
  border-color: transparent;
}

.brand-page-modern .eyebrow {
  color: color-mix(in srgb, var(--brand-accent) 82%, white 18%);
}

.brand-page-modern .btn-primary:hover {
  box-shadow: 0 22px 42px color-mix(in srgb, var(--brand-primary) 32%, transparent 68%);
}

.brand-page-modern .btn-ghost {
  border-color: color-mix(in srgb, var(--brand-accent) 58%, white 42%);
  color: #fff;
  background: color-mix(in srgb, var(--brand-primary) 22%, transparent 78%);
}

[data-brand-theme="borbone"] .brand-page-modern {
  background: var(--brand-surface);
}

[data-brand-theme="borbone"] .brand-hero-panel,
[data-brand-theme="borbone"] .brand-sidebar-card,
[data-brand-theme="borbone"] .brand-themed-card {
  background: #fff;
}

[data-brand-theme="kimbo"] .brand-page-modern {
  background: var(--brand-surface);
}

[data-brand-theme="kimbo"] .brand-hero-copy {
  background: linear-gradient(180deg, rgba(130, 14, 10, 0.38), rgba(130, 14, 10, 0.12));
}

[data-brand-theme="gardesa"] .brand-page-modern {
  background: var(--brand-surface);
}

[data-brand-theme="borbone"] .brand-hero-copy {
  background: linear-gradient(180deg, rgba(23, 52, 129, 0.34), rgba(23, 52, 129, 0.1));
}

[data-brand-theme="didiesse"] .brand-hero-copy {
  background: linear-gradient(180deg, rgba(107, 31, 31, 0.34), rgba(107, 31, 31, 0.1));
}

[data-brand-theme="pastaprime"] .brand-hero-copy,
[data-brand-theme="zicaffe"] .brand-hero-copy,
[data-brand-theme="gat"] .brand-hero-copy,
[data-brand-theme="braga"] .brand-hero-copy,
[data-brand-theme="arieni"] .brand-hero-copy {
  background: linear-gradient(180deg, rgba(33, 22, 13, 0.34), rgba(33, 22, 13, 0.1));
}

[data-brand-theme="kimbo"] .category-hero-copy {
  background: linear-gradient(180deg, rgba(130, 14, 10, 0.38), rgba(130, 14, 10, 0.12));
}

[data-brand-theme="borbone"] .category-hero-copy {
  background: linear-gradient(180deg, rgba(23, 52, 129, 0.34), rgba(23, 52, 129, 0.1));
}

[data-brand-theme="gardesa"] .category-hero-copy {
  background: linear-gradient(180deg, rgba(16, 40, 69, 0.34), rgba(16, 40, 69, 0.1));
}

[data-brand-theme="didiesse"] .category-hero-copy {
  background: linear-gradient(180deg, rgba(107, 31, 31, 0.34), rgba(107, 31, 31, 0.1));
}

[data-brand-theme="pastaprime"] .category-hero-copy,
[data-brand-theme="zicaffe"] .category-hero-copy,
[data-brand-theme="gat"] .category-hero-copy,
[data-brand-theme="braga"] .category-hero-copy,
[data-brand-theme="arieni"] .category-hero-copy {
  background: linear-gradient(180deg, rgba(33, 22, 13, 0.34), rgba(33, 22, 13, 0.1));
}

[data-brand-theme="arieni"] .category-hero-modern::before {
  display: none;
}

[data-brand-theme="arieni"] .category-hero-copy {
  background: rgba(30, 37, 43, 0.72);
  border-color: rgba(30, 37, 43, 0.18);
}

[data-brand-theme="arieni"] .category-hero-panel {
  background: rgba(255,255,255,0.96);
}

@media (max-width: 1080px) {
  .brand-hero-shell,
  .category-hero-shell,
  .brand-products-grid {
    grid-template-columns: 1fr;
  }

  .brand-category-grid {
    grid-template-columns: 1fr;
  }

  .brand-category-visual {
    min-height: 260px;
  }

  .brand-content-head {
    max-width: none;
  }

  .brand-filter-bar {
    min-width: 0;
  }
}

.product-detail-page {
  background: #fff;
}

.product-detail-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0;
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 22%, white 78%);
  box-shadow: 0 28px 60px rgba(24, 15, 8, 0.1);
}

.product-detail-media-wrap {
  display: grid;
  grid-template-rows: minmax(420px, 1fr) auto;
  background: #fff;
}

.product-detail-media {
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.product-detail-media::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.product-detail-main-image,
.product-detail-media-fallback {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 460px;
  border-radius: 24px;
}

.product-detail-main-image {
  object-fit: contain;
  background: #fff;
  box-shadow: 0 22px 50px rgba(0,0,0,0.08);
}

.product-detail-media-fallback {
  min-height: 360px;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 10px;
  padding: 18px 18px 22px;
}

.product-gallery-thumb {
  display: block;
  min-height: 86px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 18%, white 82%);
  background: rgba(255,255,255,0.8);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.is-active {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand-primary) 44%, white 56%);
  box-shadow: 0 14px 26px rgba(0,0,0,0.08);
}

.product-gallery-thumb img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  display: block;
}

.product-detail-copy {
  padding: 54px;
}

.product-detail-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-primary) 90%, black 10%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-detail-copy h1 {
  margin: 20px 0 14px;
  font-family: var(--title-font);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.02;
  color: var(--brand-ink);
  font-weight: 800;
}

.product-detail-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.product-detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 20%, white 80%);
  color: var(--brand-primary);
  font-weight: 800;
}

.product-detail-copy p {
  max-width: 720px;
  color: rgba(42,34,26,0.76);
  line-height: 1.9;
  font-size: 1.02rem;
}

.product-detail-bullets {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.product-detail-bullets div {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 18%, white 82%);
  color: var(--brand-ink);
  font-weight: 700;
  line-height: 1.55;
}

.product-detail-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.product-detail-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.product-detail-panel div {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 20%, white 80%);
}

.product-detail-panel strong,
.product-detail-panel span {
  display: block;
}

.product-detail-panel strong {
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.product-detail-panel span {
  color: var(--brand-ink);
  font-weight: 700;
  line-height: 1.5;
}

.product-detail-specs {
  margin-top: 34px;
}

.product-detail-specs h2 {
  margin: 0 0 18px;
  font-family: var(--title-font);
  font-size: 1.8rem;
  color: var(--brand-ink);
}

.product-detail-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-detail-spec-grid div {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 18%, white 82%);
}

.brand-page-modern .btn-primary,
.category-page-modern .btn-primary,
.product-detail-page .btn-primary {
  background: var(--brand-button-bg, var(--brand-primary));
  border-color: transparent;
  color: #fff;
}

.brand-page-modern .btn-primary,
.category-page-modern .btn-primary,
.product-detail-page .btn-primary,
[data-brand-theme="kimbo"] .btn-primary,
[data-brand-theme="borbone"] .btn-primary,
[data-brand-theme="zicaffe"] .btn-primary,
[data-brand-theme="didiesse"] .btn-primary,
[data-brand-theme="gardesa"] .btn-primary,
[data-brand-theme="braga"] .btn-primary,
[data-brand-theme="arieni"] .btn-primary,
[data-brand-theme="pastaprime"] .btn-primary,
[data-brand-theme="gat"] .btn-primary {
  background: var(--brand-button-bg, var(--brand-primary)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

[data-brand-theme] .site-header .btn-primary,
[data-brand-theme] .site-header .header-actions .btn-primary,
[data-brand-theme] .site-header .mobile-menu-actions .btn-primary,
[data-brand-theme] .site-header .nav-panel .btn-primary {
  background:
    linear-gradient(180deg, rgba(255,248,230,0.18), rgba(255,255,255,0) 48%),
    linear-gradient(135deg, var(--gold-highlight) 0%, var(--gold-soft) 40%, var(--gold-deep) 100%) !important;
  border-color: rgba(82, 55, 19, 0.34) !important;
  color: #fff !important;
}

.product-detail-spec-grid strong,
.product-detail-spec-grid span {
  display: block;
}

.product-detail-spec-grid strong {
  margin-bottom: 8px;
  color: var(--brand-primary);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-detail-spec-grid span {
  color: var(--brand-ink);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .product-detail-card {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    min-height: 360px;
  }

  .product-detail-copy {
    padding: 34px;
  }

  .product-detail-panel {
    grid-template-columns: 1fr;
  }

  .product-detail-gallery,
  .product-detail-spec-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-hero-copy,
  .brand-hero-panel,
  .category-hero-copy,
  .category-hero-panel,
  .product-detail-copy {
    padding: 28px;
  }

  .product-detail-media {
    min-height: 280px;
    padding: 24px;
  }
}

.dashboard-tabs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.dashboard-tab {
  min-height: 54px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(177, 144, 96, 0.18);
  background: #ffffff;
  color: #38281b;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(34, 24, 14, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dashboard-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(177, 144, 96, 0.3);
  box-shadow: 0 22px 40px rgba(34, 24, 14, 0.08);
}

.dashboard-tab.is-active {
  background: linear-gradient(135deg, #3f2b18, #83603a);
  color: #fff;
  border-color: transparent;
}

.dashboard-tabs-wide .dashboard-tab {
  flex: 1 1 180px;
  justify-content: center;
}

.dashboard-header-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px;
  margin-bottom: 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(214, 184, 125, 0.2), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbf7f0 100%);
  border: 1px solid rgba(176, 144, 95, 0.18);
  box-shadow: 0 28px 60px rgba(32, 22, 14, 0.08);
}

.dashboard-header-card h2 {
  margin: 10px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #2c1f14;
}

.dashboard-header-card p {
  margin: 0;
  color: rgba(52, 37, 23, 0.68);
  line-height: 1.7;
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-surface {
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,246,239,0.98));
  border: 1px solid rgba(176, 144, 95, 0.15);
  box-shadow: 0 24px 50px rgba(32, 22, 14, 0.07);
}

.dashboard-panel-intro {
  margin-bottom: 22px;
}

.dashboard-panel-intro h3 {
  margin: 10px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  color: #2c1f14;
}

.dashboard-panel-intro p {
  margin: 0;
  color: rgba(52, 37, 23, 0.72);
  line-height: 1.75;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.dashboard-kpis article {
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8f2e8);
  border: 1px solid rgba(176, 144, 95, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.dashboard-kpis strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  color: #2f2014;
}

.dashboard-kpis span {
  display: block;
  margin-top: 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: rgba(64, 44, 25, 0.62);
}

.woobox-card {
  box-shadow: 0 18px 40px rgba(22, 26, 30, 0.05);
  border: 1px solid rgba(176, 144, 95, 0.14);
  background: #fff;
}

.account-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
}

.status-approved {
  background: rgba(59, 130, 98, 0.12);
  color: #1f6c51;
}

.status-pending {
  background: rgba(184, 122, 38, 0.14);
  color: #9a6218;
}

.status-rejected {
  background: rgba(170, 63, 63, 0.12);
  color: #a03939;
}

.admin-stack,
.admin-inline-list {
  display: grid;
  gap: 14px;
}

.admin-inline-item,
.admin-card-form {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,246,239,0.96));
  border: 1px solid rgba(176, 144, 95, 0.16);
  box-shadow: 0 18px 34px rgba(32, 22, 14, 0.05);
}

.admin-inline-item strong,
.admin-card-form strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

.admin-inline-item span,
.admin-card-form span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(176, 144, 95, 0.14);
  background: rgba(255,255,255,0.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(165,122,40,0.12);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.table-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.table-ellipsis {
  max-width: 240px;
  word-break: break-word;
}

.compact-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 760px) {
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-tabs-wide .dashboard-tab {
    flex-basis: 100%;
  }

  .dashboard-header-card,
  .account-panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-surface {
    padding: 22px;
  }

  .dashboard-kpis {
    grid-template-columns: 1fr;
  }
}

/* Header white across the site */

.site-header,
.home-exact .site-header,
.home-exact.header-scrolled .site-header,
.home-clean .site-header,
.home-clean.header-scrolled .site-header,
body:not(.home-page) .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(34, 24, 14, 0.08);
  box-shadow: 0 12px 34px rgba(34, 24, 14, 0.05);
}

.nav a,
.nav-link,
.home-exact .nav a,
.home-exact .nav a:hover,
.home-exact .nav a.is-active {
  color: #22170f;
}

.nav a:hover,
.nav a.is-active {
  color: #6d4a24;
}

.header-actions .btn-secondary,
.home-exact .header-actions .btn-secondary {
  background: #ffffff;
  color: #22170f;
  border-color: rgba(34, 24, 14, 0.12);
  box-shadow: 0 12px 24px rgba(34, 24, 14, 0.05);
}

.header-actions .btn-primary,
.home-exact .header-actions .btn-primary {
  color: #fff;
}

.site-header .btn-primary,
.site-header .header-actions .btn-primary,
.site-header .mobile-menu-actions .btn-primary,
.site-header .nav-panel .btn-primary {
  background:
    linear-gradient(180deg, rgba(255,248,230,0.18), rgba(255,255,255,0) 48%),
    linear-gradient(135deg, var(--gold-highlight) 0%, var(--gold-soft) 40%, var(--gold-deep) 100%) !important;
  border-color: rgba(82, 55, 19, 0.34) !important;
  color: #fff !important;
}

.menu-toggle {
  color: #22170f;
  background: #ffffff;
  border-color: rgba(34, 24, 14, 0.1);
}

.logo-wrap img {
  filter: none;
}

/* About modern redesign */

.about-modern-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.about-modern-copy,
.about-modern-panel,
.about-manifesto-card,
.about-mosaic-card,
.about-signature-strip article,
.contact-modern-card,
.contact-modern-form,
.contact-studio-panel,
.faq-modern-panel,
.faq-support-card {
  border-radius: 30px;
  border: 1px solid rgba(176, 144, 95, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,243,236,0.95));
  box-shadow: 0 26px 60px rgba(35, 24, 13, 0.07);
}

.about-banner-hero,
.contact-banner-hero,
.faq-banner-hero {
  position: relative;
}

.about-modern-copy {
  min-height: 520px;
  padding: 54px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(26, 18, 12, 0.86), rgba(111, 78, 44, 0.5)),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-banner-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.about-structure-hero .about-modern-copy {
  min-height: 560px;
}

.about-banner-metrics article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
}

.about-inline-icon,
.about-vision-icon,
.contact-chip-icon,
.contact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
}

.about-inline-icon {
  color: #fff4d6;
  background: rgba(255,255,255,0.1);
}

.about-inline-icon svg,
.about-vision-icon svg,
.contact-chip-icon svg,
.contact-card-icon svg {
  width: 20px;
  height: 20px;
}

.about-banner-metrics strong {
  color: #fff7ea;
  font-size: 0.98rem;
  line-height: 1.35;
}

.about-modern-copy h1,
.contact-modern-copy h1,
.faq-modern-copy h1,
.faq-modern-head h2,
.contact-modern-form-head h2,
.about-manifesto-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 14px 0;
}

.about-modern-copy p,
.contact-modern-copy p,
.faq-modern-copy p,
.about-manifesto-card p,
.about-mosaic-card p,
.contact-modern-card p,
.contact-modern-form-head p,
.contact-studio-copy p,
.faq-support-card p {
  line-height: 1.8;
}

.about-modern-panel {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at top right, rgba(230, 206, 158, 0.28), transparent 38%),
    linear-gradient(180deg, #ffffff, #f7f0e3);
}

.about-modern-panel p {
  margin: 14px 0 0;
  color: rgba(44, 31, 20, 0.78);
  font-size: 1.06rem;
}

.about-vision-points {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.about-vision-points div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(160, 120, 49, 0.06);
}

.about-vision-icon {
  color: #8d6420;
  background: rgba(160, 120, 49, 0.1);
}

.about-modern-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  margin-top: 10px;
}

.about-manifesto-card {
  padding: 40px;
}

.about-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about-mosaic-card {
  padding: 28px;
}

.about-mosaic-card h3 {
  margin: 14px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.about-mosaic-card.tone-dark {
  color: #fff4e5;
  background: linear-gradient(180deg, #241810, #4b3521);
}

.about-mosaic-card.tone-dark p {
  color: rgba(255, 244, 226, 0.76);
}

.about-mosaic-card.tone-gold {
  background: linear-gradient(180deg, #f7eed7, #ecd8a8);
}

.about-signature-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-signature-strip article {
  padding: 24px 26px;
}

.about-signature-strip strong {
  display: block;
  margin-bottom: 8px;
  color: #2f2014;
}

.about-signature-strip p {
  margin: 0;
  color: rgba(52, 37, 23, 0.7);
  line-height: 1.7;
}

.about-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
}

/* About structure refresh */

.about-reference-page {
  background: #ffffff;
}

.about-reference-main {
  padding-bottom: 0;
}

.about-reference-hero-wrap {
  background: #ffffff;
  margin-bottom: 0;
}

.about-reference-hero {
  min-height: 540px;
  padding: clamp(42px, 7vw, 76px);
  background:
    linear-gradient(180deg, rgba(13, 12, 10, 0.26), rgba(13, 12, 10, 0.48)),
    linear-gradient(90deg, rgba(16, 12, 8, 0.8) 0%, rgba(16, 12, 8, 0.44) 48%, rgba(16, 12, 8, 0.18) 100%),
    url('https://images.unsplash.com/photo-1511920170033-f8396924c348?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  border-radius: 0;
  box-shadow: none;
}

.about-reference-copy-hero {
  max-width: 860px;
}

.about-reference-copy .eyebrow,
.about-reference-copy .tag {
  color: rgba(247, 234, 205, 0.86);
}

.about-reference-copy h1 {
  max-width: 15ch;
  margin: 12px 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.1rem, 4.8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: #ffffff;
}

.about-reference-copy p {
  max-width: 60ch;
  margin: 0 0 24px;
  color: rgba(255, 246, 235, 0.84);
  line-height: 1.82;
  font-size: 1.02rem;
}

.about-reference-logos-section {
  padding-top: 0 !important;
  padding-bottom: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.about-reference-page .section.about-reference-logos-section {
  padding-top: 0 !important;
  margin-top: -42px !important;
}

.about-reference-logos-shell {
  background: #ffffff;
  padding: 40px 0 52px;
}

.about-reference-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(176, 144, 95, 0.12);
  border-bottom: 1px solid rgba(176, 144, 95, 0.12);
}

.about-reference-logos span {
  text-align: center;
  color: #1f1610;
  font-size: 1.12rem;
  font-weight: 700;
}

.about-reference-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.about-reference-heading h2 {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.98;
  color: #1f1610;
}

.about-reference-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
}

.about-reference-banner {
  min-height: 420px;
  padding: clamp(36px, 5vw, 58px);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(19, 14, 10, 0.22), rgba(19, 14, 10, 0.48)),
    linear-gradient(90deg, rgba(20, 15, 10, 0.7) 0%, rgba(20, 15, 10, 0.36) 52%, rgba(20, 15, 10, 0.14) 100%),
    url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 24px 52px rgba(35, 24, 13, 0.08);
}

.about-reference-banner-copy {
  max-width: 760px;
}

.about-reference-banner-copy .tag {
  color: rgba(245, 229, 198, 0.92);
}

.about-reference-banner-copy h3 {
  margin: 14px 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 3.3vw, 3.5rem);
  line-height: 0.98;
  color: #ffffff;
}

.about-reference-banner-copy p {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 245, 232, 0.84);
  line-height: 1.86;
}

.about-reference-split-reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.about-reference-split-copy {
  padding: 10px 0;
}

.about-reference-split-copy h3 {
  margin: 14px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  color: #1f1610;
}

.about-reference-split-copy p {
  margin: 0;
  color: rgba(56, 40, 24, 0.72);
  line-height: 1.86;
}

.about-reference-split-media {
  min-height: 310px;
  border-radius: 30px;
  box-shadow: 0 24px 52px rgba(35, 24, 13, 0.08);
}

.about-reference-split-media-a {
  background:
    linear-gradient(180deg, rgba(16,12,8,0.08), rgba(16,12,8,0.22)),
    url('https://images.unsplash.com/photo-1497366412874-3415097a27e7?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}

.about-reference-split-media-b {
  background:
    linear-gradient(180deg, rgba(16,12,8,0.08), rgba(16,12,8,0.22)),
    url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}

.about-reference-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-reference-value-card {
  padding: 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(176, 144, 95, 0.12);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(35, 24, 13, 0.05);
}

.about-reference-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #8d6420;
  background: rgba(164, 122, 58, 0.08);
}

.about-reference-value-icon svg {
  width: 20px;
  height: 20px;
}

.about-reference-value-card h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  color: #1f1610;
}

.about-reference-value-card p {
  margin: 0;
  color: rgba(56, 40, 24, 0.7);
  line-height: 1.78;
}

.about-reference-final-wrap {
  padding: 0;
  margin: 0;
}

.about-reference-final {
  background: linear-gradient(180deg, #0d3844, #082c35);
}

.about-reference-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 52px 0;
}

.about-reference-final .eyebrow {
  color: rgba(212, 233, 222, 0.76);
}

.about-reference-final h2 {
  margin: 12px 0 0;
  max-width: 18ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  color: #f5fbf7;
}

.about-reference-page .site-footer {
  margin-top: 0;
}

.about-story-card,
.about-method-card,
.about-editorial-panel,
.about-editorial-card {
  border-radius: 28px;
  border: 1px solid rgba(176, 144, 95, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,243,236,0.95));
  box-shadow: 0 22px 48px rgba(35, 24, 13, 0.06);
}

.about-story-card {
  padding: 34px;
}

.about-story-card-wide h2,
.about-editorial-panel h2 {
  margin: 14px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 0.98;
  color: #22170f;
}

.about-story-card p,
.about-method-card p,
.about-editorial-panel p,
.about-editorial-card p {
  margin: 0;
  line-height: 1.8;
  color: rgba(52, 37, 23, 0.72);
}

.about-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-method-card {
  padding: 30px;
}

.about-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #8d6420;
  background: rgba(164, 122, 58, 0.1);
}

.about-method-icon svg {
  width: 22px;
  height: 22px;
}

.about-method-card h3 {
  margin: 12px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #22170f;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 24px;
}

.about-editorial-panel {
  padding: 38px;
}

.about-editorial-stack {
  display: grid;
  gap: 18px;
}

.about-editorial-card {
  padding: 24px 26px;
}

.about-editorial-card strong {
  display: block;
  margin-bottom: 8px;
  color: #2f2014;
  font-size: 1.06rem;
}

/* Contact modern redesign */

.contact-modern-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.contact-modern-copy {
  min-height: 460px;
  padding: 54px;
  color: #20150e;
  background:
    radial-gradient(circle at top left, rgba(220, 194, 139, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,239,228,0.94));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.contact-hero-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.contact-hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(176, 144, 95, 0.12);
  color: #4a3420;
  font-weight: 700;
}

.contact-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #9b7741;
  background: rgba(164, 122, 58, 0.1);
  flex: 0 0 28px;
}

.contact-modern-aside {
  border-radius: 30px;
  padding: 38px;
  color: #fff3df;
  background:
    linear-gradient(180deg, rgba(34, 22, 14, 0.92), rgba(81, 55, 31, 0.88)),
    url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 60px rgba(34, 24, 14, 0.18);
}

.contact-modern-aside strong {
  display: block;
  margin: 18px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
}

.contact-modern-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.contact-modern-card {
  padding: 24px 26px;
}

.contact-card-icon {
  color: #9b7741;
  background: rgba(164, 122, 58, 0.1);
  margin-bottom: 14px;
}

.contact-modern-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 1.08rem;
  color: #2f2014;
}

.contact-modern-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
}

.contact-modern-form {
  padding: 40px;
}

.contact-modern-form-head {
  margin-bottom: 22px;
}

.contact-studio-panel {
  overflow: hidden;
  display: grid;
  grid-template-rows: 300px auto;
}

.contact-studio-visual {
  background:
    linear-gradient(180deg, rgba(26,18,12,0.12), rgba(26,18,12,0.44)),
    url('https://images.unsplash.com/photo-1497366412874-3415097a27e7?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
}

.contact-studio-copy {
  padding: 30px;
}

.contact-studio-copy h3,
.faq-support-card h3 {
  margin: 14px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
}

.contact-modern-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(52, 37, 23, 0.72);
  line-height: 1.8;
}

/* FAQ modern redesign */

.faq-modern-hero {
  padding: 46px 52px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(215, 188, 135, 0.2), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f0e6 100%);
  border: 1px solid rgba(176, 144, 95, 0.14);
  box-shadow: 0 26px 60px rgba(35, 24, 13, 0.06);
}

.faq-modern-copy {
  max-width: 860px;
}

.faq-modern-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.faq-modern-badges span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(176, 144, 95, 0.16);
  color: #3d2a1a;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(35, 24, 13, 0.05);
}

.faq-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(164, 122, 58, 0.1);
  color: #8d6420;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.faq-modern-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 340px;
  gap: 28px;
  align-items: start;
}

.faq-modern-panel {
  padding: 34px;
}

.faq-modern-head {
  margin-bottom: 22px;
}

.faq-modern-grid {
  grid-template-columns: 1fr;
}

.faq-modern-grid .mmx-faq-item {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(176, 144, 95, 0.12);
  box-shadow: 0 18px 34px rgba(35, 24, 13, 0.04);
}

.faq-modern-grid .mmx-faq-item[open] {
  border-color: rgba(168, 131, 70, 0.34);
  box-shadow: 0 22px 40px rgba(35, 24, 13, 0.08);
}

.faq-modern-grid .mmx-faq-item summary {
  padding: 22px 24px;
  font-size: 1.08rem;
  color: #24180f;
}

.faq-modern-grid .mmx-faq-item p {
  padding: 0 24px 22px;
  color: rgba(52, 37, 23, 0.72);
  border-top: 0;
}

.faq-support-card {
  padding: 28px;
  position: sticky;
  top: 128px;
}

/* Shared page clean-up */

.about-modern-copy .eyebrow,
.faq-modern-copy .eyebrow,
.contact-modern-copy .eyebrow {
  color: #9b7741;
}

.contact-modern-copy h1,
.faq-modern-copy h1 {
  color: #261a11;
}

@media (max-width: 1080px) {
  .about-modern-hero,
  .about-modern-grid,
  .about-story-layout,
  .about-editorial-grid,
  .about-hootsuite-hero,
  .about-split-story,
  .about-split-story-reverse,
  .about-reference-hero,
  .about-reference-banner,
  .about-reference-split,
  .about-reference-split-reverse,
  .contact-modern-hero,
  .contact-modern-layout,
  .faq-modern-layout,
  .contact-modern-top,
  .about-signature-strip,
  .about-method-grid,
  .about-values-grid-modern,
  .about-final-band,
  .about-brands-strip,
  .about-reference-values,
  .about-reference-final,
  .about-reference-logos {
    grid-template-columns: 1fr;
  }

  .about-reference-hero,
  .about-reference-banner {
    min-height: 420px;
  }

  .about-banner-metrics {
    grid-template-columns: 1fr;
  }

  .about-mosaic {
    grid-template-columns: 1fr;
  }

  .faq-support-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .about-modern-copy,
  .contact-modern-copy,
  .faq-modern-hero,
  .contact-modern-form,
  .about-manifesto-card,
  .about-modern-panel,
  .faq-modern-panel,
  .faq-support-card {
    padding: 26px;
  }

  .about-modern-copy,
  .contact-modern-copy {
    min-height: 360px;
  }

  .contact-hero-chips {
    flex-direction: column;
  }
}

/* Button luxury recalibration */

.btn,
.button-link,
.btn-primary,
.btn-secondary,
.mmx-card-btn,
.mega-menu-cta,
.mega-feature-link,
.brands-filter-chip {
  box-shadow: none !important;
}

.btn-primary,
.mmx-card-btn,
.mega-menu-cta,
.mega-feature-link,
.home-exact .header-actions .btn-primary {
  background:
    linear-gradient(180deg, rgba(255,247,227,0.12) 0%, rgba(255,255,255,0) 34%),
    linear-gradient(135deg, #ad8038 0%, #92692c 46%, #6e4d1d 100%) !important;
  color: #ffffff !important;
  border-color: rgba(84, 57, 19, 0.34) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-primary:hover,
.mmx-card-btn:hover,
.mega-menu-cta:hover,
.mega-feature-link:hover,
.home-exact .header-actions .btn-primary:hover {
  box-shadow: none !important;
}

.btn-secondary,
.home-exact .header-actions .btn-secondary {
  background: #ffffff !important;
  color: #2c1f14 !important;
  border-color: rgba(122, 89, 38, 0.18) !important;
}

.btn-primary,
.mmx-card-btn,
.mega-menu-cta,
.mega-feature-link,
.home-exact .header-actions .btn-primary,
.brands-filter-chip.is-active,
.brands-filter-chip:hover {
  position: relative;
  overflow: hidden;
  text-shadow: none;
}

.btn-primary::before,
.mmx-card-btn::before,
.mega-menu-cta::before,
.mega-feature-link::before,
.home-exact .header-actions .btn-primary::before,
.brands-filter-chip.is-active::before,
.brands-filter-chip:hover::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.12) 18%, rgba(255,255,255,0) 42%),
    linear-gradient(180deg, rgba(255,248,231,0.14), rgba(255,255,255,0) 44%, rgba(88, 61, 24, 0.08) 100%);
  pointer-events: none;
}

.btn-primary > *,
.mmx-card-btn > *,
.mega-menu-cta > *,
.mega-feature-link > *,
.home-exact .header-actions .btn-primary > * {
  position: relative;
  z-index: 1;
}

/* Developer builder */

/* FAQ / Contact reference layouts */

.faq-reference-main,
.contact-reference-main {
  background: #ffffff;
}

.faq-page-banner,
.contact-reference-banner {
  padding: 0;
}

.contact-reference-main > .contact-reference-section {
  padding-top: 112px;
  padding-bottom: 56px;
}

.contact-reference-main > .section:last-child {
  padding-top: 0;
  padding-bottom: 0;
}

.contact-reference-map-section {
  padding-top: 32px;
  padding-bottom: 0;
  margin-bottom: 0;
  background: #ffffff;
  line-height: 0;
}

.contact-reference-page .section.contact-reference-map-section {
  padding-top: 32px !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.contact-reference-page .site-footer {
  margin-top: 0;
  padding-top: 56px;
}

.contact-reference-page .footer-grid {
  padding-top: 0;
}

.faq-page-banner-inner,
.contact-reference-banner-inner {
  padding: 42px 46px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(215, 187, 135, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,239,227,0.98));
  border: 1px solid rgba(176, 144, 95, 0.14);
  box-shadow: 0 22px 48px rgba(35, 24, 13, 0.06);
}

.faq-page-banner-inner {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(18, 14, 10, 0.18), rgba(18, 14, 10, 0.48)),
    linear-gradient(90deg, rgba(20, 14, 9, 0.72) 0%, rgba(20, 14, 9, 0.4) 48%, rgba(20, 14, 9, 0.14) 100%),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: 0 28px 58px rgba(35, 24, 13, 0.1);
}

.contact-reference-banner-inner {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(18, 14, 10, 0.18), rgba(18, 14, 10, 0.52)),
    linear-gradient(90deg, rgba(20, 14, 9, 0.74) 0%, rgba(20, 14, 9, 0.42) 48%, rgba(20, 14, 9, 0.14) 100%),
    url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: 0 28px 58px rgba(35, 24, 13, 0.1);
}

.faq-page-banner-inner h1,
.contact-reference-banner-inner h1 {
  margin: 12px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 4vw, 4.1rem);
  line-height: 0.98;
  color: #20150e;
}

.faq-page-banner-inner h1,
.faq-page-banner-inner p,
.faq-page-banner-inner .eyebrow {
  color: #ffffff;
}

.faq-page-banner-inner .eyebrow,
.contact-reference-banner-inner .eyebrow {
  opacity: 0.9;
}

.contact-reference-banner-inner h1,
.contact-reference-banner-inner p,
.contact-reference-banner-inner .eyebrow {
  color: #ffffff;
}

.faq-page-banner-inner p {
  max-width: 64ch;
  margin: 0;
  color: rgba(255, 246, 234, 0.9);
  line-height: 1.8;
}

.contact-reference-banner-inner p {
  max-width: 64ch;
  margin: 0;
  color: rgba(255, 246, 234, 0.9);
  line-height: 1.8;
}

.faq-reference-content {
  padding-top: 28px;
}

.faq-reference-topline {
  margin-bottom: 18px;
  color: #4e3921;
  font-size: 0.92rem;
  font-weight: 700;
}

.faq-reference-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.faq-reference-sidebar,
.faq-reference-highlight {
  border-radius: 18px;
  border: 1px solid rgba(176, 144, 95, 0.14);
  background: #f8f4ec;
}

.faq-reference-sidebar {
  overflow: hidden;
}

.faq-reference-sidebar-head {
  padding: 20px 18px;
  background: #ddd2c2;
  color: #312114;
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-reference-question summary,
.faq-reference-nav-link {
  list-style: none;
}

.faq-reference-question summary {
}

.faq-reference-question summary::-webkit-details-marker {
  display: none;
}

.faq-reference-nav-link {
  width: 100%;
  position: relative;
  display: block;
  text-align: left;
  padding: 21px 46px 21px 18px;
  border: 0;
  border-top: 1px solid rgba(176, 144, 95, 0.14);
  background: #f8f4ec;
  cursor: pointer;
  color: #352517;
  font-size: 1.02rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}

.faq-reference-nav-link::after {
  content: "›";
  position: relative;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #8e6a33;
  font-size: 1.4rem;
  font-weight: 700;
}

.faq-reference-nav-link:hover,
.faq-reference-nav-link.is-active {
  background: #efe5d6;
  color: #26190f;
}

.faq-reference-nav-link.is-active::after {
  color: #6f4e1f;
}

.faq-reference-maincol {
  display: grid;
  gap: 28px;
}

.faq-reference-highlight {
  padding: 26px 24px;
}

.faq-reference-highlight h2,
.faq-reference-questions h2,
.contact-reference-details h1,
.contact-reference-formblock h2 {
  margin: 12px 0 14px;
  font-family: "Cormorant Garamond", serif;
  color: #21160f;
}

.faq-reference-highlight h2,
.faq-reference-questions h2 {
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1;
}

.faq-reference-highlight p {
  margin: 0 0 20px;
  color: rgba(53, 37, 23, 0.78);
  line-height: 1.78;
}

.faq-reference-question-list {
  border-top: 1px solid rgba(176, 144, 95, 0.16);
}

.faq-reference-question {
  border-bottom: 1px solid rgba(176, 144, 95, 0.16);
}

.faq-reference-question summary {
  position: relative;
  padding: 21px 40px 21px 0;
  cursor: pointer;
  color: #352517;
  font-size: 1.06rem;
  font-weight: 500;
}

.faq-reference-question summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #111111;
  font-size: 1.25rem;
}

.faq-reference-question[open] summary::after {
  content: "-";
  color: #111111;
}

.faq-reference-question p {
  margin: 0;
  padding: 0 42px 18px 0;
  color: rgba(53, 37, 23, 0.72);
  line-height: 1.8;
}

.contact-reference-map {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #ffffff;
  margin-bottom: 0;
}

.contact-reference-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
  vertical-align: bottom;
}

.contact-reference-map-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 430px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(176, 144, 95, 0.14);
  box-shadow: 0 18px 36px rgba(35, 24, 13, 0.08);
}

.contact-reference-map-card strong {
  display: block;
  margin: 12px 0 10px;
  color: #21160f;
  font-size: 1.04rem;
  line-height: 1.55;
}

.contact-reference-map-card p {
  margin: 0;
  color: rgba(53, 37, 23, 0.72);
  line-height: 1.72;
}

.contact-reference-section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.contact-reference-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: start;
}

.contact-reference-details h1 {
  font-size: clamp(2.3rem, 3.4vw, 3.4rem);
  line-height: 1;
}

.contact-reference-details > p {
  max-width: 40ch;
  color: rgba(53, 37, 23, 0.72);
  line-height: 1.8;
}

.contact-reference-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.contact-reference-pin {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f9f93;
  background: rgba(15, 159, 147, 0.12);
}

.contact-reference-pin svg {
  width: 24px;
  height: 24px;
}

.contact-reference-card strong {
  display: block;
  margin-bottom: 8px;
  color: #23170f;
  font-size: 1.08rem;
}

.contact-reference-card p,
.contact-reference-card a {
  display: block;
  margin: 0 0 6px;
  color: rgba(53, 37, 23, 0.74);
  line-height: 1.72;
  text-decoration: none;
}

.contact-reference-formblock h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.contact-reference-formblock {
  padding: 32px 34px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(35, 24, 13, 0.05);
}

.contact-reference-form {
  margin-top: 14px;
}

.contact-reference-form .field {
  margin-bottom: 14px;
}

.contact-reference-form label,
.contact-reference-options legend {
  display: block;
  margin-bottom: 8px;
  color: #3b2718;
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-reference-form input,
.contact-reference-form textarea {
  width: 100%;
  border: 1px solid rgba(176, 144, 95, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
  background: #ffffff;
  box-shadow: none;
  color: #2a1c12;
}

.contact-reference-form textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 1080px) {
  .faq-reference-grid,
  .contact-reference-layout {
    grid-template-columns: 1fr;
  }

  .faq-reference-hero {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .faq-page-banner-inner,
  .contact-reference-banner-inner {
    padding: 28px 24px;
  }

  .faq-reference-hero {
    padding: 42px 0 36px;
  }

  .contact-reference-map {
    min-height: 220px;
  }

  .contact-reference-map-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .contact-reference-map iframe {
    min-height: 220px;
  }
}

.developer-surface {
  background:
    radial-gradient(circle at top left, rgba(212, 180, 125, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,243,236,0.98));
}

.developer-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.developer-form-card,
.developer-preview-shell {
  border-radius: 28px;
}

.developer-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.developer-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.developer-preview-shell h2 {
  margin: 10px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #21170f;
}

.developer-preview-shell p {
  margin: 0 0 20px;
  color: rgba(63, 46, 27, 0.7);
  line-height: 1.75;
}

.developer-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.developer-sidebar {
  position: sticky;
  top: 124px;
  max-height: calc(100vh - 160px);
  overflow: auto;
}

.developer-sidebar-group {
  margin-bottom: 22px;
}

.developer-sidebar-group h3,
.developer-frame-head h3 {
  margin: 10px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #21170f;
}

.developer-sidebar-group p {
  margin: 0;
  color: rgba(63, 46, 27, 0.72);
  line-height: 1.75;
}

.developer-viewport-switch {
  display: flex;
  gap: 10px;
  margin: 18px 0 22px;
  flex-wrap: wrap;
}

.developer-section-list {
  display: grid;
  gap: 10px;
}

.developer-section-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(177, 142, 86, 0.12);
}

.developer-section-item.is-active {
  border-color: rgba(164,122,58,0.34);
  box-shadow: 0 16px 28px rgba(43, 27, 11, 0.08);
}

.developer-section-handle {
  color: rgba(122,89,38,0.58);
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: grab;
  user-select: none;
}

.developer-section-copy {
  min-width: 0;
}

.developer-section-copy strong {
  display: block;
  color: #21170f;
  margin-bottom: 4px;
}

.developer-section-copy span {
  display: block;
  color: rgba(63, 46, 27, 0.58);
  font-size: 0.82rem;
  margin-bottom: 10px;
  word-break: break-all;
}

.developer-section-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.developer-frame-shell {
  min-height: 820px;
}

.developer-frame-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.developer-frame-wrap {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(177, 142, 86, 0.12);
  background: #efe7da;
  min-height: 760px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 18px;
}

.developer-frame-wrap iframe {
  min-height: 760px;
  border: 0;
  background: #ffffff;
  transition: width 0.22s ease;
}

.developer-frame-wrap-desktop iframe {
  width: 100%;
}

.developer-frame-wrap-tablet iframe {
  width: 820px;
  max-width: 100%;
}

.developer-frame-wrap-mobile iframe {
  width: 430px;
  max-width: 100%;
}

.developer-edit-item {
  align-items: start;
}

.developer-preview-canvas,
.developer-page-preview,
.developer-global-preview {
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(177, 142, 86, 0.12);
}

.developer-preview-card {
  overflow: hidden;
}

.developer-preview-media {
  min-height: 230px;
  padding: 18px;
  position: relative;
}

.developer-preview-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(164,122,58,0.16);
  font-size: 0.74rem;
  font-weight: 700;
}

.developer-preview-image {
  margin-top: 18px;
  height: 150px;
  border-radius: 18px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.developer-preview-placeholder {
  margin-top: 18px;
  height: 150px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(164,122,58,0.08);
  color: rgba(65,45,19,0.58);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.developer-preview-copy {
  padding: 24px;
}

.developer-preview-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.developer-preview-copy h3,
.developer-page-panel h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.developer-preview-copy p,
.developer-page-panel p,
.developer-global-panel p {
  margin: 0;
  line-height: 1.75;
}

.developer-preview-btn {
  margin-top: 20px;
  border: 0;
  padding: 14px 24px;
  font-weight: 700;
  cursor: pointer;
}

.developer-page-panel,
.developer-global-panel {
  padding: 34px;
}

.developer-global-panel strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #21170f;
}

@media (max-width: 1080px) {
  .developer-live-grid,
  .developer-studio-grid,
  .developer-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .developer-sidebar {
    position: static;
    max-height: none;
  }

  .developer-frame-head {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Mega menu alignment fix */

.mega-menu-grid {
  align-items: stretch;
  padding-bottom: 40px;
}

.mega-menu-left {
  height: 100%;
  grid-template-rows: auto 1fr;
}

.mega-menu-intro,
.mega-menu-column {
  background: #ffffff !important;
}

.mega-menu-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 32px 28px;
}

.mega-menu-intro p {
  margin-bottom: 28px;
}

.mega-menu-cta {
  margin-top: 14px;
  align-self: flex-start;
  padding: 14px 24px !important;
  min-height: 48px;
}

.mega-feature-badge {
  display: none !important;
}

.mega-menu-columns {
  align-items: stretch;
}

.mega-menu-column {
  height: 100%;
}

.mega-menu-feature {
  height: 100%;
  min-height: 100%;
  margin-bottom: 0;
  align-self: stretch;
}

body.mobile-nav-open {
  overflow: hidden;
}

html[dir='rtl'] body,
body.is-rtl {
  text-align: right;
}

html[dir='rtl'] .header-inner,
html[dir='rtl'] .header-actions,
html[dir='rtl'] .nav,
html[dir='rtl'] .mmx-hero-actions,
html[dir='rtl'] .field-grid {
  direction: rtl;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
svg,
canvas {
  max-width: 100%;
}

.brand-category-card h3,
.brand-hero-copy h1,
.category-hero-copy h1,
.product-detail-copy h1,
.page-banner h1,
.brand-hero h1,
.cta-band h2 {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: center;
    gap: 14px;
    min-height: 86px;
    padding: 14px 18px !important;
  }

  .logo-wrap {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .logo-wrap img {
    width: 110px;
  }

  .menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 4px 0 4px 10px;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #111111 !important;
  }

  .header-actions {
    display: none !important;
  }

  .nav {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px 20px;
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid rgba(122, 89, 38, 0.12);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(33, 22, 11, 0.08);
  }

  .nav.open {
    display: flex !important;
  }

  .nav > a,
  .nav-item-mega > .nav-link {
    width: 100%;
    padding: 22px 18px;
    border-bottom: 1px solid rgba(122, 89, 38, 0.1);
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .nav-item-mega {
    display: block;
    width: 100%;
  }

  .nav-item-mega.is-open > .nav-link {
    color: var(--coffee);
  }

  .mega-menu {
    display: none;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 14px;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-item-mega.is-open .mega-menu {
    display: block;
  }

  .mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .mega-menu-left {
    gap: 18px;
  }

  .mega-menu-intro,
  .mega-menu-column,
  .mega-menu-feature {
    border-radius: 20px;
    box-shadow: none !important;
  }

  .mega-menu-columns {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .mega-menu-column {
    height: auto;
    padding: 20px 18px 22px;
  }

  .mega-brand-link {
    grid-template-columns: 60px 1fr !important;
    gap: 12px;
    padding: 10px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(122, 89, 38, 0.08);
  }

  .mega-brand-link:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .mega-brand-thumb {
    width: 60px;
    height: 60px;
  }

  .mega-menu-feature {
    min-height: 240px;
  }

  .mobile-menu-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 18px;
  }

  .mobile-menu-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .menu-toggle-bars {
    gap: 4px;
  }

  .menu-toggle-bars span {
    width: 24px;
    height: 3px;
    background: #111111;
  }

  .mmx-hero-shell,
  .page-banner,
  .cta-band,
  .brand-hero-copy,
  .brand-hero-panel,
  .category-hero-copy,
  .category-hero-panel,
  .product-detail-copy,
  .white-panel,
  .form-card,
  .info-card,
  .member-card {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .brand-hero-modern,
  .category-hero-modern {
    min-height: auto;
  }

  .brand-hero-shell,
  .category-hero-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 22px;
  }

  .brand-hero-copy h1,
  .category-hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
    line-height: 0.96;
  }

  .brand-hero-panel h2 {
    font-size: 1.75rem;
  }

  .brand-category-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
  }

  .brand-category-card {
    min-height: 0;
    border-radius: 28px;
  }

  .brand-category-visual {
    min-height: 280px;
  }

  .brand-category-visual::after {
    inset: 18px;
    border-radius: 20px;
  }

  .brand-category-overlay {
    gap: 12px;
    padding: 24px;
  }

  .brand-category-card h3 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 0.95;
    max-width: 100%;
  }

  .brand-category-enter {
    letter-spacing: 0.12em;
    font-size: 0.74rem;
  }

  .product-detail-card {
    border-radius: 24px;
  }

  .product-detail-media {
    min-height: 240px;
    padding: 20px;
  }

  .product-detail-main-image,
  .product-detail-media-fallback {
    max-height: 280px;
  }

  .product-detail-panel,
  .product-detail-spec-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .header-inner {
    gap: 18px;
  }

  .nav {
    gap: 14px;
  }

  .nav a,
  .nav-link {
    font-size: 12px;
  }

  .header-actions .btn {
    min-width: 0;
    padding-inline: 18px;
  }

  .brand-hero-shell,
  .category-hero-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .brand-category-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .brand-category-visual {
    min-height: 320px;
  }

  .brand-category-card h3 {
    font-size: clamp(2.2rem, 5vw, 3.3rem);
  }

  .product-detail-card {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    min-height: 320px;
  }
}


.admin-catalog-shell {
  padding: 0;
  overflow: hidden;
}

.admin-workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 860px;
}

.admin-workspace-sidebar {
  padding: 26px 20px;
  background: linear-gradient(180deg, #24303b, #1b232b);
  color: #fff;
}

.admin-sidebar-head {
  margin-bottom: 22px;
}

.admin-sidebar-head h3 {
  margin: 10px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #fff;
}

.admin-sidebar-head p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

.admin-side-link {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,0.82);
  font-weight: 700;
  text-align: left;
}

.admin-side-link.is-active {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
}

.admin-workspace-main {
  padding: 26px;
  background: #f4f6f8;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.admin-panel-card {
  padding: 24px;
  border-radius: 0;
  background: #fff;
  border: 1px solid #d9e1ea;
  box-shadow: 0 8px 18px rgba(19, 29, 38, 0.04);
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-panel-head h3 {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #1f1812;
}

.admin-products-table th {
  background: #f7f9fb;
}

.admin-product-cell {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: start;
  min-width: 260px;
}

.admin-product-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid rgba(26, 32, 44, 0.08);
  background-color: #f1f3f5;
}

.admin-product-cell strong,
.admin-list-card-top strong {
  display: block;
  color: #1d2327;
}

.admin-product-cell small {
  display: block;
  margin-top: 4px;
  color: #667085;
  line-height: 1.45;
}

.admin-stock-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-stock-badge.is-instock {
  background: #ebf9ee;
  color: #1f9d48;
}

.admin-stock-badge.is-custom {
  background: #eef4ff;
  color: #2856a6;
}

.admin-categories-grid,
.admin-editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 22px;
}

.admin-form-stack {
  display: grid;
  gap: 14px;
}

.admin-list-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid #d9e1ea;
  background: #fff;
}

.admin-list-card-main p,
.admin-list-card-main small {
  margin: 6px 0 0;
  display: block;
  color: #667085;
  line-height: 1.6;
}

.admin-list-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-editor-main,
.admin-editor-sidebar,
.admin-meta-stack {
  display: grid;
  gap: 18px;
}

.admin-preview-tile {
  min-height: 220px;
  border-radius: 14px;
  border: 1px solid #d9e1ea;
  background-color: #f4f6f8;
}

.admin-image-manager,
.admin-gallery-grid {
  display: grid;
  gap: 14px;
}

.admin-image-preview {
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid #d9e1ea;
  background: linear-gradient(135deg, #f6efe5, #ece1d1);
}

.admin-upload-btn {
  position: relative;
  overflow: hidden;
}

.admin-gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.admin-gallery-tile {
  position: relative;
  min-height: 92px;
  border-radius: 12px;
  border: 1px solid #d9e1ea;
  background-color: #f4f6f8;
}

.admin-gallery-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(17,17,17,0.78);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

.admin-live-preview {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #d9e1ea;
  background: #fff;
  box-shadow: 0 10px 22px rgba(19, 29, 38, 0.06);
}

.admin-live-preview-media {
  min-height: 220px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  background: linear-gradient(135deg, #f6efe5, #ece1d1);
}

.admin-live-preview-body {
  padding: 18px;
}

.admin-live-preview-topline,
.admin-live-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-live-preview-topline {
  margin-bottom: 12px;
  color: #6a4b24;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-live-preview h4 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.96;
  color: #1d2327;
}

.admin-live-preview p {
  margin: 0 0 16px;
  color: #667085;
  line-height: 1.7;
}

.admin-live-preview-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f7f9fb;
  border: 1px solid #e4e7ec;
  color: #344054;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-meta-stack div {
  padding: 14px;
  border-radius: 12px;
  background: #f7f9fb;
  border: 1px solid #e4e7ec;
}

.admin-meta-stack strong,
.admin-meta-stack span {
  display: block;
}

.admin-meta-stack strong {
  margin-bottom: 6px;
  color: #344054;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-meta-stack span {
  color: #1d2939;
  line-height: 1.5;
}

.member-profile-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
}

.member-profile-card {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8f2e8);
  border: 1px solid rgba(176, 144, 95, 0.15);
  box-shadow: 0 18px 34px rgba(32, 22, 14, 0.05);
  text-align: center;
}

.member-profile-avatar {
  width: 120px;
  height: 120px;
  margin: 18px auto 16px;
  border-radius: 999px;
  border: 1px solid rgba(176, 144, 95, 0.2);
  background: linear-gradient(135deg, #d8b273, #8d632c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
}

.member-profile-card h2 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
}

.member-profile-card p {
  margin: 0 0 16px;
  color: #667085;
}

.machines-page,
.machines-main {
  background: #fff;
}

.machines-hero {
  position: relative;
  min-height: 620px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  align-items: end;
  padding: 120px min(7vw, 88px) 72px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 13, 13, 0.72), rgba(44, 30, 16, 0.32)),
    url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1800&q=80') center/cover;
}

.machines-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(236, 204, 128, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(10,10,10,0.04), rgba(10,10,10,0.68) 68%, rgba(10,10,10,0.9));
}

.machines-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  color: #fff;
}

.machines-hero-inner h1 {
  margin: 14px 0 18px;
  font-family: var(--title-font);
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  line-height: 0.94;
}

.machines-hero-inner p {
  max-width: 760px;
  color: rgba(255, 245, 226, 0.86);
  line-height: 1.8;
}

.machines-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.machines-hero-metrics div {
  min-width: 170px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
}

.machines-hero-metrics strong,
.machines-hero-metrics span {
  display: block;
}

.machines-hero-metrics strong {
  font-size: 1.75rem;
  color: #fff;
}

.machines-hero-metrics span {
  margin-top: 6px;
  color: rgba(255,245,226,0.76);
}

.machines-catalog-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f0 100%);
}

.machines-content-head {
  margin-bottom: 28px;
}

.machines-filter-stack {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.machines-filter-group {
  display: grid;
  gap: 10px;
}

.machines-filter-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a5e30;
}

.machines-filter-row {
  justify-content: flex-start;
}

.machines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.machine-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(165,122,40,0.12);
  box-shadow: 0 20px 42px rgba(39, 26, 14, 0.08);
}

.machine-card-media {
  min-height: 240px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.machine-card-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.machine-card-topline,
.machine-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.84rem;
}

.machine-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.96;
  color: #1f1812;
}

.machine-card p {
  margin: 0;
  color: #695d50;
  line-height: 1.75;
}

.machine-card-category {
  color: #8d6d36 !important;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .admin-workspace,
  .admin-categories-grid,
  .admin-editor-shell,
  .member-profile-grid {
    grid-template-columns: 1fr;
  }

  .admin-workspace-sidebar {
    padding-bottom: 14px;
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-workspace-main {
    padding: 18px;
  }

  .admin-panel-card {
    padding: 18px;
  }

  .admin-list-card,
  .admin-panel-head,
  .admin-list-card-top {
    flex-direction: column;
    align-items: stretch;
  }
}

.realisations-main,
.realisation-main {
  background: #ffffff;
}

.realisations-page {
  background: #ffffff;
}

.realisations-banner {
  margin-top: 0 !important;
  margin-bottom: 0;
  min-height: 560px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 96px min(7vw, 84px) 72px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  align-items: end;
  background: linear-gradient(135deg, rgba(20, 15, 11, 0.72), rgba(43, 31, 21, 0.28)), url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1800&q=80') center/cover;
}

.realisations-banner::before,
.realisations-banner::after {
  display: none !important;
}

.realisations-banner > div {
  max-width: 900px;
  padding: 0;
  margin: 0;
}

.realisations-main > .realisations-banner:first-child {
  margin-top: 0 !important;
}

.realisations-page .site-header + .realisations-main,
.realisations-page [data-site-header] + .realisations-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.realisations-section {
  background: #ffffff;
}

.realisation-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(34, 22, 10, 0.10);
  text-decoration: none;
  color: #1f1812;
  border: 1px solid rgba(164, 122, 58, 0.12);
}

.realisation-card-media {
  min-height: 290px;
  background-size: cover;
  background-position: center;
}

.realisation-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px 28px;
}

.realisation-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: #7c7064;
  font-size: 0.92rem;
}

.realisation-card-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.realisation-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
}

.realisation-card p {
  margin: 0;
  color: #665c51;
  line-height: 1.75;
}

.realisation-card-link {
  margin-top: auto;
  color: #1f1812;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.realisation-card-preview {
  box-shadow: none;
}

.realisations-page .section-heading p,
.realisations-page .section-heading h2,
.realisations-page .section-heading .eyebrow {
  color: #1f1812;
}

.realisation-hero {
  padding: 48px 0 24px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(25, 18, 12, 0.84), rgba(143, 95, 44, 0.34));
}

.realisation-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 420px);
  gap: 28px;
  align-items: stretch;
}

.realisation-hero-copy,
.realisation-hero-panel {
  border-radius: 28px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.realisation-hero-copy h1 {
  margin: 12px 0 16px;
  color: #ffffff;
}

.realisation-hero-copy p,
.realisation-hero-panel span,
.realisation-hero-panel strong {
  color: #ffffff;
}

.realisation-meta-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.realisation-meta-line:last-child {
  border-bottom: 0;
}

.realisation-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: 34px;
  align-items: center;
}

.realisation-story-image {
  min-height: 420px;
  border-radius: 32px;
  background: linear-gradient(135deg, #f6efe5, #ece1d1);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 50px rgba(34, 22, 10, 0.10);
}

.realisation-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.realisation-gallery-item {
  min-height: 260px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 44px rgba(34, 22, 10, 0.08);
}

.realisation-gallery-item.is-large {
  grid-column: span 2;
  min-height: 360px;
}

.admin-realisation-row {
  align-items: center;
}

.admin-realisation-preview {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(164, 122, 58, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,244,237,0.9));
}

@media (max-width: 1100px) {
  .realisations-grid,
  .realisation-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .realisation-hero-shell,
  .realisation-story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .realisations-grid,
  .realisation-gallery {
    grid-template-columns: 1fr;
  }

  .realisation-gallery-item.is-large {
    grid-column: auto;
    min-height: 260px;
  }

  .realisation-card-media,
  .realisation-story-image {
    min-height: 240px;
  }

  .realisation-hero-copy,
  .realisation-hero-panel {
    padding: 24px;
  }

  .machines-hero {
    min-height: 520px;
    padding: 110px 22px 48px;
  }

  .machines-grid {
    grid-template-columns: 1fr;
  }

  .pastaprime-products-grid {
    grid-template-columns: 1fr;
  }

  .pastaprime-catalog-topbar {
    padding: 14px 0 12px;
  }

  .pastaprime-tabs {
    margin-bottom: 26px;
  }

  .pastaprime-tabs .menu-button-filter {
    gap: 14px 18px;
  }

  .pastaprime-tab-circle {
    width: 78px;
    height: 78px;
  }

  .pastaprime-tab-icon {
    width: 52px;
    height: 52px;
  }

  .pastaprime-product-media {
    min-height: 220px;
  }
}

/* ═══════════════════════════════════════════════
   VISUAL BUILDER V2 — Elementor-style
   Injecter dans styles.css (à la fin)
═══════════════════════════════════════════════ */

/* ── SHELL ── */
.mmb-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #f0ebe2;
  font-family: "Lato", sans-serif;
  font-size: 0.88rem;
  overflow: hidden;
}

/* ── TOPBAR ── */
.mmb-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  background: rgba(255,252,246,0.96);
  border-bottom: 1px solid rgba(165,122,40,0.14);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.mmb-topbar-left, .mmb-topbar-center, .mmb-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mmb-topbar-left { flex: 1; }
.mmb-topbar-center { justify-content: center; flex: 1; }
.mmb-topbar-right { justify-content: flex-end; flex: 1; gap: 8px; }

.mmb-logo {
  font-weight: 800;
  color: #5d4218;
  font-size: 0.96rem;
  white-space: nowrap;
}

.mmb-page-select {
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(165,122,40,0.22);
  background: #fff;
  color: #2a221a;
  font-size: 0.86rem;
  cursor: pointer;
}

.mmb-viewport-btns {
  display: flex;
  gap: 4px;
  background: rgba(165,122,40,0.08);
  border-radius: 10px;
  padding: 4px;
}

.mmb-vp-btn {
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s;
}

.mmb-vp-btn.active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mmb-zoom-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(165,122,40,0.08);
  border-radius: 10px;
  padding: 4px 8px;
}

.mmb-zoom-val {
  font-size: 0.82rem;
  color: #5d4218;
  min-width: 34px;
  text-align: center;
  font-weight: 700;
}

.mmb-toggle-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7a6e61;
  cursor: pointer;
  font-size: 0.84rem;
  white-space: nowrap;
}

/* ── BUTTONS ── */
.mmb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.mmb-btn:hover { transform: translateY(-1px); }

.mmb-btn-primary {
  background: linear-gradient(135deg, #c09447, #8f6a2f);
  color: #fff;
}

.mmb-btn-ghost {
  background: rgba(255,255,255,0.8);
  border-color: rgba(165,122,40,0.2);
  color: #5d4218;
}

.mmb-btn-outline {
  background: transparent;
  border-color: rgba(165,122,40,0.3);
  color: #5d4218;
}

.mmb-btn-danger {
  background: rgba(159,47,34,0.1);
  border-color: rgba(159,47,34,0.2);
  color: #9f2f22;
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.mmb-icon-btn {
  background: rgba(165,122,40,0.08);
  border: 1px solid rgba(165,122,40,0.14);
  border-radius: 8px;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.15s;
  line-height: 1;
}

.mmb-icon-btn:hover { background: rgba(165,122,40,0.18); }

.mmb-icon-btn-danger {
  background: rgba(159,47,34,0.08);
  border-color: rgba(159,47,34,0.14);
  color: #9f2f22;
}

/* ── MAIN LAYOUT ── */
.mmb-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 0;
  flex: 1;
  overflow: hidden;
}

/* ── SIDEBAR ── */
.mmb-sidebar {
  background: rgba(255,252,246,0.96);
  border-right: 1px solid rgba(165,122,40,0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mmb-panel-tabs {
  display: flex;
  border-bottom: 1px solid rgba(165,122,40,0.12);
  flex-shrink: 0;
}

.mmb-panel-tab {
  flex: 1;
  padding: 11px 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: #7a6e61;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.mmb-panel-tab.active {
  color: #8f6a2f;
  border-bottom-color: #c09447;
  background: rgba(165,122,40,0.04);
}

.mmb-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  scroll-behavior: smooth;
}

.mmb-hidden { display: none !important; }

.mmb-media-tools {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mmb-media-grid {
  display: grid;
  gap: 12px;
}

.mmb-media-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(165,122,40,0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
}

.mmb-media-preview {
  width: 120px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  background: #efe7da;
}

.mmb-media-preview img,
.mmb-media-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mmb-media-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── FORM ELEMENTS ── */
.mmb-field-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.mmb-field-row label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #7a6e61;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mmb-text-input, .mmb-select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(165,122,40,0.2);
  background: #fff;
  color: #2a221a;
  font-size: 0.84rem;
  transition: border-color 0.15s;
}

.mmb-text-input:focus, .mmb-select:focus, .mmb-textarea:focus {
  outline: none;
  border-color: rgba(192,148,71,0.6);
  box-shadow: 0 0 0 3px rgba(192,148,71,0.1);
}

.mmb-textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(165,122,40,0.2);
  background: #fff;
  color: #2a221a;
  font-size: 0.84rem;
  resize: vertical;
  font-family: inherit;
}

.mmb-textarea-sm { min-height: 56px; }

.mmb-color-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mmb-color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(165,122,40,0.2);
  cursor: pointer;
  padding: 2px;
  background: #fff;
  flex-shrink: 0;
}

.mmb-color-group .mmb-text-input {
  flex: 1;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
}

.mmb-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mmb-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.mmb-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;
}

.mmb-field-full {
  grid-column: 1 / -1;
}

.mmb-divider {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a47a37;
  padding: 14px 0 6px;
  border-top: 1px solid rgba(165,122,40,0.12);
  margin-top: 6px;
}

.mmb-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mmb-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(165,122,40,0.1);
  color: #5d4218;
  letter-spacing: 0.04em;
}

.mmb-badge-warn {
  background: rgba(220,130,0,0.12);
  color: #b86000;
}

.mmb-actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(165,122,40,0.12);
}

/* ── UPLOAD ZONE ── */
.mmb-upload-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px dashed rgba(165,122,40,0.26);
  border-radius: 10px;
  background: rgba(165,122,40,0.04);
}

.mmb-upload-btn {
  padding: 7px 14px;
  background: rgba(165,122,40,0.12);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  color: #5d4218;
  white-space: nowrap;
}

.mmb-upload-hint {
  font-size: 0.78rem;
  color: #7a6e61;
}

/* ── EMPTY STATE ── */
.mmb-empty-state {
  text-align: center;
  padding: 32px 16px;
  color: #7a6e61;
}

.mmb-empty-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.mmb-empty-state strong {
  display: block;
  color: #2a221a;
  font-size: 1rem;
  margin-bottom: 6px;
}

.mmb-empty-state p {
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0;
}

.mmb-empty, .mmb-panel-hint {
  font-size: 0.84rem;
  color: #7a6e61;
  line-height: 1.6;
  padding: 8px 0 14px;
}

/* ── SECTIONS LIST ── */
.mmb-section-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(165,122,40,0.12);
  margin-bottom: 8px;
  cursor: default;
  transition: box-shadow 0.15s;
}

.mmb-section-row:hover {
  box-shadow: 0 4px 16px rgba(43,27,11,0.08);
}

.mmb-section-row.is-active {
  border-color: rgba(192,148,71,0.5);
  box-shadow: 0 4px 16px rgba(192,148,71,0.12);
}

.mmb-section-row.is-hidden {
  opacity: 0.5;
}

.mmb-section-row.is-dragging {
  opacity: 0.4;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.mmb-drag-handle {
  color: rgba(122,89,38,0.5);
  font-weight: 900;
  cursor: grab;
  user-select: none;
  font-size: 1rem;
  letter-spacing: -2px;
  flex-shrink: 0;
}

.mmb-section-info {
  flex: 1;
  min-width: 0;
}

.mmb-section-info strong {
  display: block;
  font-size: 0.84rem;
  color: #2a221a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mmb-section-info small {
  font-size: 0.74rem;
  color: #7a6e61;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.mmb-section-btns {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

/* ── HISTORY ── */
.mmb-history-list {
  display: grid;
  gap: 8px;
}

.mmb-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(165,122,40,0.12);
}

.mmb-history-info {
  flex: 1;
  min-width: 0;
}

.mmb-history-info strong {
  display: block;
  font-size: 0.84rem;
  color: #2a221a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mmb-history-info small {
  font-size: 0.76rem;
  color: #7a6e61;
}

/* ── FRAME ── */
.mmb-frame-area {
  flex: 1;
  overflow: auto;
  padding: 16px;
  background: #e8e0d4;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mmb-frame-wrap {
  background: #f4ede0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(165,122,40,0.16);
  box-shadow: 0 8px 32px rgba(43,27,11,0.12);
  min-height: calc(100vh - 90px);
  transition: width 0.22s ease;
}

.mmb-frame-desktop { width: 100%; }
.mmb-frame-tablet { width: 820px; max-width: 100%; }
.mmb-frame-mobile { width: 430px; max-width: 100%; }

.mmb-frame-wrap iframe {
  width: 100%;
  min-height: calc(100vh - 90px);
  border: 0;
  background: #fff;
  display: block;
}

/* ── FLASH ── */
.mmb-flash {
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(144,178,100,0.15), rgba(100,150,70,0.1));
  border-bottom: 1px solid rgba(100,150,70,0.2);
  color: #3a6020;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .mmb-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .mmb-sidebar {
    max-height: 50vh;
    border-right: none;
    border-bottom: 1px solid rgba(165,122,40,0.12);
  }
  .mmb-topbar-center { display: none; }
  .mmb-grid-3 { grid-template-columns: 1fr 1fr; }
  .mmb-grid-4 { grid-template-columns: 1fr 1fr; }
}

.gtranslate_wrapper {
  z-index: 1200;
}

/* Masque la barre supérieure Google Translate quand une langue est active */
body > .skiptranslate,
html body {
  top: 0 !important;
}
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
}
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .gtranslate_slot,
  .gtranslate-slot {
    width: 100%;
    justify-content: center;
  }

  .gtranslate_wrapper {
    min-width: 86px;
    min-height: 42px;
  }
}

/* ===== Section vidéo full-width au-dessus des univers (home) ===== */
.mmx-video-feature {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.mmx-video-feature-media { position: absolute; inset: 0; }
.mmx-video-feature-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mmx-video-feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,7,5,0.15) 0%, rgba(8,7,5,0.55) 60%, rgba(8,7,5,0.85) 100%);
}
.mmx-video-feature-copy {
  position: relative; z-index: 2; width: 100%; padding: 64px 0 56px;
}
.mmx-video-feature-kicker {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #e2b04a; margin-bottom: 14px;
}
.mmx-video-feature-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 600; line-height: 1.1; margin: 0 0 18px; max-width: 820px;
}
.mmx-video-feature-copy p {
  font-size: 16px; line-height: 1.6; max-width: 680px;
  color: #ffffff; margin: 0;
}
@media (max-width: 760px) {
  .mmx-video-feature { min-height: 50vh; }
  .mmx-video-feature-copy { padding: 44px 0 36px; }
}

/* ===== Fix dropdown langue =====
   Le sélecteur .gtranslate_wrapper existe dans deux emplacements (desktop + mobile).
   GTranslate peuple chaque wrapper avec son propre <select>. La visibilité est gérée
   par les parents : .header-actions (desktop uniquement) et .mobile-menu-actions
   (mobile uniquement). Aucun risque de doublon visible. */

/* ======================================================================
   Nouveaux composants — Hors stock, newsletter, builder spacing
   ====================================================================== */

/* Badge "Hors stock" sur les cartes produits et promos */
.product-card { position: relative; }
.product-card .product-media { position: relative; }
.stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}
.stock-badge-out {
  background: rgba(198, 40, 40, 0.92);
  color: #fff;
  box-shadow: 0 2px 10px rgba(198, 40, 40, 0.35);
}

/* Etat "out-of-stock" sur la carte */
.product-card.is-out-of-stock .product-media { filter: grayscale(0.35) brightness(0.92); }
.product-card.is-out-of-stock .product-body h3 { opacity: 0.72; }

/* Option "Hors stock" dans l'admin list badge */
.admin-stock-badge.is-out-of-stock {
  background: #fbe9e9;
  color: #b03232;
}

/* Alerte hors stock sur la fiche produit */
.product-stock-alert {
  background: linear-gradient(135deg, #fdeeee 0%, #fbe1e1 100%);
  color: #8a2525;
  border-left: 4px solid #c62828;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 18px 0 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.product-stock-alert strong { font-weight: 800; }

/* Bouton désactivé générique */
.btn.is-disabled,
.btn[disabled] {
  background: #c9c3ba !important;
  color: #6f6a63 !important;
  cursor: not-allowed !important;
  border-color: #c9c3ba !important;
  box-shadow: none !important;
  opacity: 0.88;
}
.btn.is-disabled:hover,
.btn[disabled]:hover {
  background: #c9c3ba !important;
  color: #6f6a63 !important;
  transform: none !important;
}

/* Newsletter dans le footer */
.footer-newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 460px);
  gap: 28px 36px;
  align-items: center;
  padding: 28px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 28px;
}
.footer-newsletter-copy h4 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
}
.footer-newsletter-copy p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
  line-height: 1.45;
}
.footer-newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  position: relative;
}
.footer-newsletter-input {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.55); }
.footer-newsletter-input:focus {
  outline: none;
  border-color: #c09447;
  background: rgba(255,255,255,0.14);
}
.footer-newsletter-btn {
  padding: 12px 22px;
  white-space: nowrap;
}
.footer-newsletter-feedback {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-size: 0.86rem;
  min-height: 1em;
}
.footer-newsletter-feedback.is-success { color: #8bd5a5; }
.footer-newsletter-feedback.is-error { color: #f39090; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
@media (max-width: 760px) {
  .footer-newsletter {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0 26px;
  }
  .footer-newsletter-form { grid-template-columns: 1fr; }
  .footer-newsletter-btn { width: 100%; }
}

/* Builder — presets marge / padding */
.mmb-spacing-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: -4px 0 12px;
}
.mmb-btn-sm {
  font-size: 0.78rem !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
}

/* Builder — ponctuer les sections dans le panneau element */
.mmb-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a6d5a;
  margin: 14px 0 8px;
  padding-top: 10px;
  border-top: 1px dashed rgba(164,122,58,0.25);
}
.mmb-section-label:first-child { border-top: 0; padding-top: 0; margin-top: 4px; }

/* Grille 4-colonnes utilisée dans les inputs marge/padding */
.mmb-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
@media (max-width: 640px) {
  .mmb-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ======================================================================
   Builder v4 — Color pickers, move pad, grilles, media actions, mega pin
   ====================================================================== */

/* Sélecteur de couleur en ligne */
.mmb-color-wrap {
  display: flex;
  gap: 6px;
  align-items: center;
}
.mmb-color-picker {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(164,122,58,0.35);
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  background: none;
}
.mmb-color-picker::-webkit-color-swatch-wrapper { padding: 2px; }
.mmb-color-picker::-webkit-color-swatch { border: none; border-radius: 4px; }
.mmb-color-row label { display: block; margin-bottom: 3px; }

/* Grille 3-colonnes */
.mmb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

/* Pad directionnel pour déplacer un élément */
.mmb-move-pad {
  display: grid;
  grid-template-areas:
    ".      up     ."
    "left   center right"
    ".      down   .";
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  max-width: 160px;
  margin: 6px auto 12px;
}
.mmb-move-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 36px;
  margin: 0 auto;
  border: 1px solid rgba(164,122,58,0.3);
  border-radius: 8px;
  background: rgba(164,122,58,0.08);
  color: #4a2d11;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.mmb-move-btn:hover {
  background: rgba(164,122,58,0.22);
  transform: scale(1.06);
}
.mmb-move-btn:active { transform: scale(0.95); }
.mmb-move-up    { grid-area: up; }
.mmb-move-down  { grid-area: down; }
.mmb-move-left  { grid-area: left; }
.mmb-move-right { grid-area: right; }
.mmb-move-center { grid-area: center; font-size: 0.85rem; }

/* Chemin de l'élément sélectionné */
.mmb-selected-path {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.mmb-path-code {
  font-family: monospace;
  font-size: 0.72rem;
  color: #7a6d5a;
  background: rgba(164,122,58,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
}

/* Bouton enregistrer sticky en bas du panneau */
.mmb-actions-sticky {
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: linear-gradient(0deg, #faf6f0 70%, transparent);
  padding: 12px 0 6px;
  margin-top: 12px;
}

/* Actions media (Utiliser + Copier côte à côte) */
.mmb-media-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

/* Indice de sélection en cours dans la médiathèque */
.mmb-panel-hint-active {
  background: rgba(192,148,71,0.12);
  border-left: 3px solid #c09447;
  padding: 8px 10px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: #5a4020;
}

/* Bouton pin mega menu actif */
[data-pin-mega].mmb-btn-primary {
  animation: mmb-pulse 1.5s ease-in-out infinite;
}
@keyframes mmb-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,148,71,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(192,148,71,0); }
}

/* Sidebar scrollable */
.mmb-panel-body {
  overflow-y: auto;
  max-height: calc(100vh - 120px);
  padding-bottom: 20px;
}

/* Override pour les selects dans le builder */
.mmb-panel-body select.mmb-text-input {
  appearance: auto;
  cursor: pointer;
}

@media (max-width: 640px) {
  .mmb-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .mmb-move-pad { max-width: 130px; }
  .mmb-move-btn { width: 36px; height: 32px; font-size: 0.95rem; }
}

/* ======================================================================
   Login inline sur /admin et /back_developpeur
   ====================================================================== */
.mmb-login-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 32px 16px;
}
.mmb-login-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(42,34,26,0.10), 0 1px 6px rgba(42,34,26,0.06);
  padding: 36px 32px 32px;
}
.mmb-login-card .field { margin-bottom: 0; }
.mmb-login-card .field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #4a3a28;
  margin-bottom: 5px;
}
.mmb-login-card .mmb-text-input,
.mmb-login-card input[type="email"],
.mmb-login-card input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d9d0c4;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #faf8f5;
  transition: border-color 0.2s;
}
.mmb-login-card input:focus {
  outline: none;
  border-color: #c09447;
  background: #fff;
}
.mmb-login-flash {
  background: #fbe9e9;
  color: #8a2525;
  border-left: 3px solid #c62828;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

/* ==== Panel Blocs du builder (v5) ==== */
.mmb-blocks-library { margin-bottom: 18px; }
.mmb-blocks-lib-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.mmb-block-lib-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: #fff;
  border: 1px solid #e6dfd2;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.mmb-block-lib-item:hover {
  background: #f4ede3;
  border-color: #9b6b2f;
  transform: translateY(-1px);
}
.mmb-block-lib-icon {
  font-size: 1.3rem;
  font-weight: 600;
  color: #9b6b2f;
}
.mmb-block-lib-label {
  font-size: 0.78rem;
  text-align: center;
  color: #1f1812;
}
.mmb-blocks-list { margin-top: 10px; }
.mmb-block-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #eee4d4;
  border-radius: 8px;
  margin-bottom: 6px;
}
.mmb-block-list-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.mmb-block-list-icon {
  font-size: 1.1rem;
  color: #9b6b2f;
  min-width: 22px;
  text-align: center;
}
.mmb-block-list-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mmb-block-list-text strong {
  font-size: 0.88rem;
  color: #1f1812;
}
.mmb-block-list-text small {
  font-size: 0.75rem;
  color: #786d62;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.mmb-block-list-actions {
  display: flex;
  gap: 2px;
}
.mmb-block-list-actions .mmb-icon-btn {
  padding: 4px 6px;
  font-size: 0.85rem;
  line-height: 1;
}
.mmb-block-list-actions .mmb-icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Conteneur des blocs personnalises sur les pages front */
.mmb-custom-blocks-root {
  display: block;
  width: 100%;
}
.mmb-custom-blocks-root:empty {
  display: none;
}

/* ==== Home promo cards v2 : compact, outline button ==== */
.mmx-promo-card-v2 .product-body {
  padding: 18px 20px 20px !important;
}
.mmx-promo-card-v2 .product-body h3 {
  margin: 6px 0 8px;
}
.mmx-promo-card-v2 .product-body p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
}
.mmx-promo-card-v2 .product-actions {
  margin-top: 4px;
  display: flex;
  justify-content: center;
}
.mmx-promo-card-v2 .btn.btn-outline {
  background: transparent;
  color: #8d6420;
  border: 1.5px solid #c8a84b;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mmx-promo-card-v2 .btn.btn-outline:hover {
  background: #c8a84b;
  color: #fff;
  transform: translateY(-1px);
}
.mmx-promo-card-v2 .btn.btn-outline.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
