﻿:root {
  --ink: #20191d;
  --muted: #70666a;
  --line: rgba(32, 25, 29, 0.12);
  --paper: #fffaf7;
  --rose: #c76777;
  --wine: #7a2d42;
  --sage: #6f806f;
  --gold: #c8a45d;
  --shadow: 0 22px 60px rgba(87, 45, 55, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: radial-gradient(circle at top left, rgba(199, 103, 119, 0.16), transparent 34rem), linear-gradient(180deg, #fff8f4 0%, #ffffff 42%, #f7faf5 100%);
  font-family: Inter, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 247, 0.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.top-strip { display: flex; justify-content: center; gap: 18px; padding: 9px 20px; color: #fff; background: var(--ink); font-size: 13px; }
.top-strip p { margin: 0; }
.top-strip a { color: #f6d99d; font-weight: 700; }
.navbar { display: flex; align-items: center; justify-content: space-between; width: min(1180px, calc(100% - 32px)); min-height: 78px; margin: 0 auto; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--wine), var(--rose)); font-family: "Playfair Display", serif; font-size: 25px; font-weight: 700; box-shadow: 0 10px 26px rgba(122, 45, 66, 0.26); }
.brand strong, .brand small { display: block; }
.brand strong { font-family: "Playfair Display", serif; font-size: 25px; }
.brand small { margin-top: -2px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.menu-panel { display: flex; align-items: center; justify-content: flex-end; flex: 1; gap: 28px; }
.main-menu { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.menu-item { position: relative; }
.menu-link { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 12px; border-radius: 999px; color: #3d3337; font-size: 14px; font-weight: 700; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.menu-link:hover, .menu-link:focus-visible { color: var(--wine); background: rgba(199, 103, 119, 0.12); outline: none; transform: translateY(-1px); }
.menu-link[aria-expanded="true"] { color: var(--wine); }
.chevron { font-size: 11px; }
.submenu { position: absolute; top: calc(100% + 14px); left: 0; display: grid; width: 285px; gap: 4px; padding: 14px; margin: 0; list-style: none; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease; }
.menu-item:hover .submenu, .menu-item:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: grid; gap: 4px; padding: 12px; border-radius: 7px; transition: background 180ms ease; }
.submenu a:hover, .submenu a:focus-visible { background: #fff3ed; outline: none; }
.submenu strong { font-size: 14px; }
.submenu small { color: var(--muted); line-height: 1.45; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .menu-toggle { border: 1px solid var(--line); background: #fff; cursor: pointer; }
.icon-button { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--wine); font-size: 24px; }
.outline-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.outline-button { border: 1px solid rgba(122, 45, 66, 0.28); color: var(--wine); background: #fff; }
.primary-button { color: #fff; background: linear-gradient(135deg, var(--wine), var(--rose)); box-shadow: 0 16px 34px rgba(122, 45, 66, 0.22); }
.text-link { color: var(--wine); font-weight: 800; }
.menu-toggle { display: none; width: 44px; height: 44px; flex: 0 0 auto; flex-direction: column; justify-content: center; gap: 5px; padding: 0 11px; border-radius: 50%; }
.menu-toggle span { display: block; height: 2px; border-radius: 99px; background: var(--ink); }
.hero-slider { position: relative; width: min(1180px, calc(100% - 32px)); min-height: calc(100vh - 118px); margin: 0 auto; padding: 38px 0 76px; }
.hero-stage { position: relative; min-height: 620px; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); background: #fff; }
.hero-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr); align-items: center; gap: 40px; padding: clamp(30px, 5vw, 62px); opacity: 0; visibility: hidden; transform: translateX(22px); transition: opacity 520ms ease, transform 520ms ease, visibility 520ms ease; background: var(--slide-bg); }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: translateX(0); }
.hero-slide::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.35) 48%, rgba(255,255,255,.08)); content: ""; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 13px; color: var(--wine); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: "Playfair Display", serif; }
h1 { max-width: 860px; font-size: clamp(35px, 6.6vw, 82px); line-height: 0.96; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1; }
.hero-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-meta span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid rgba(122, 45, 66, 0.16); border-radius: 999px; background: rgba(255,255,255,.68); color: #4c3d42; font-size: 13px; font-weight: 800; }
.hero-visual { min-height: 500px; }
.hero-photo { position: absolute; inset: 0; border-radius: 8px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.03); transition: transform 850ms ease; }
.hero-slide.is-active .hero-photo img { transform: scale(1); }
.hero-photo::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.26) 46%, rgba(255,255,255,.02)); content: ""; }
.product-scene { position: absolute; right: clamp(20px, 5vw, 78px); bottom: 54px; width: min(42vw, 430px); height: 430px; }
.product-scene::before { position: absolute; right: 8%; bottom: 0; width: 72%; height: 74px; border-radius: 50%; background: rgba(75, 39, 45, 0.14); filter: blur(8px); content: ""; }
.product-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(122,45,66,.2); }
.product-orbit-one { inset: 20px 18px 44px 18px; animation: floatSlow 9s ease-in-out infinite; }
.product-orbit-two { inset: 70px 82px 86px 72px; animation: floatSlow 7s ease-in-out infinite reverse; }
.bottle, .compact, .lipstick { position: absolute; box-shadow: 0 28px 50px rgba(74,36,45,.22); }
.bottle-tall { bottom: 70px; left: 42%; width: 116px; height: 294px; border-radius: 46px 46px 18px 18px; background: linear-gradient(90deg, #fff, #f7c6ce 45%, #9e3f58); }
.bottle-tall::before { position: absolute; top: -50px; left: 38px; width: 40px; height: 60px; border-radius: 13px 13px 4px 4px; background: linear-gradient(90deg, #d0aa62, #ffe2a1); content: ""; }
.bottle-small { bottom: 70px; left: 66%; width: 86px; height: 202px; border-radius: 34px 34px 16px 16px; background: linear-gradient(90deg, #fff, #e9efe5 44%, var(--sage)); }
.compact { bottom: 66px; left: 14%; width: 128px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, #2d2427, #8f5161 48%, #efc5bd); }
.lipstick { bottom: 80px; left: 74%; width: 38px; height: 160px; border-radius: 12px 12px 7px 7px; background: linear-gradient(90deg, #442329, #b8566d); transform: rotate(-9deg); }
.lipstick::before { position: absolute; top: -54px; left: 7px; width: 24px; height: 68px; border-radius: 13px 13px 4px 4px; background: linear-gradient(90deg, #f4c0c7, #84293b); content: ""; }
.slider-arrow { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(122,45,66,.2); border-radius: 50%; color: var(--wine); background: rgba(255,255,255,.88); cursor: pointer; box-shadow: 0 12px 24px rgba(90, 48, 58, 0.12); }
.hero-controls { position: absolute; right: 24px; bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid rgba(122,45,66,.16); border-radius: 999px; background: rgba(255,255,255,.74); backdrop-filter: blur(16px); }
.slider-dots { display: flex; align-items: center; gap: 7px; }
.slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(122,45,66,.28); cursor: pointer; transition: width 180ms ease, background 180ms ease; }
.slider-dot.is-active { width: 28px; border-radius: 999px; background: var(--wine); }
.cms-preview, .placeholder-section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0; }
.cms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.cms-grid article { min-height: 210px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.72); }
.cms-grid span { color: var(--gold); font-weight: 800; }
.cms-grid h3 { margin-top: 24px; font-size: 21px; }
.cms-grid p, .placeholder-section p { color: var(--muted); line-height: 1.65; }
.placeholder-section { border-top: 1px solid var(--line); }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .menu-panel { position: fixed; top: 113px; right: 16px; left: 16px; display: none; align-items: stretch; flex-direction: column; gap: 18px; max-height: calc(100vh - 132px); padding: 18px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .menu-panel.is-open { display: flex; }
  .main-menu { align-items: stretch; flex-direction: column; }
  .menu-link { justify-content: space-between; width: 100%; border-radius: 7px; }
  .submenu { position: static; display: none; width: 100%; margin-top: 4px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .menu-item.is-expanded .submenu { display: grid; }
  .nav-actions { justify-content: space-between; }
  .hero-slider { min-height: auto; padding-top: 22px; }
  .hero-stage { min-height: 760px; }
  .hero-slide { grid-template-columns: 1fr; align-content: start; gap: 26px; }
  .hero-slide::before, .hero-photo::after { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.68) 46%, rgba(255,255,255,.1)); }
  .hero-visual { min-height: 315px; }
  .product-scene { right: 50%; bottom: 34px; width: min(86vw, 410px); height: 360px; transform: translateX(50%); }
  .cms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .top-strip { align-items: center; flex-direction: column; gap: 5px; text-align: center; }
  .navbar { min-height: 70px; }
  .brand strong { font-size: 22px; }
  .brand small { font-size: 11px; }
  .menu-panel { top: 122px; }
  .hero-slider { width: min(100% - 24px, 1180px); padding-bottom: 62px; }
  .hero-stage { min-height: 720px; }
  .hero-slide { padding: 28px 20px; }
  h1 { font-size: 42px; }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-controls { right: 50%; bottom: 18px; transform: translateX(50%); }
  .product-scene { height: 315px; }
  .bottle-tall { width: 88px; height: 226px; }
  .bottle-small { width: 70px; height: 158px; }
  .compact { width: 104px; height: 62px; }
  .lipstick { width: 32px; height: 128px; }
}

/* Full-image premium hero slider refinement */
.hero-slider {
  width: 100%;
  min-height: calc(100vh - 113px);
  padding: 0;
}

.hero-stage {
  min-height: calc(100vh - 113px);
  border-radius: 0;
  background: #171014;
  box-shadow: none;
}

.hero-slide {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 0;
  padding: clamp(42px, 7vw, 86px) 24px;
  background: #171014;
  transform: translateX(0) scale(1.01);
  transition: opacity 760ms ease, transform 960ms ease, visibility 760ms ease;
}

.hero-slide.is-active {
  transform: translateX(0) scale(1);
}

.hero-slide::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(26, 18, 22, 0.76), rgba(49, 28, 36, 0.36) 45%, rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(32, 25, 29, 0.14), rgba(32, 25, 29, 0.44));
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  filter: saturate(1.02) contrast(1.02);
  transition: transform 5200ms ease;
}

.hero-slide.is-active .hero-photo img {
  transform: scale(1.01);
}

.hero-photo::after {
  display: none;
}

.hero-copy {
  z-index: 2;
  width: min(1040px, calc(100% - 32px));
  color: #fff;
  text-align: left;
}

.hero-copy .eyebrow {
  color: #f7d59b;
}

.hero-copy h1 {
  max-width: 820px;
  color: #fff;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-copy .text-link {
  color: #fff;
}

.hero-meta span {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-controls {
  right: 50%;
  bottom: 28px;
  transform: translateX(50%);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(22, 16, 19, 0.34);
}

.slider-arrow {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.slider-dot {
  background: rgba(255, 255, 255, 0.42);
}

.slider-dot.is-active {
  background: #fff;
}

@media (max-width: 960px) {
  .hero-slider,
  .hero-stage {
    min-height: calc(100vh - 113px);
  }

  .hero-slide {
    align-items: center;
    min-height: calc(100vh - 113px);
  }

  .hero-slide::before {
    background:
      linear-gradient(180deg, rgba(22, 16, 19, 0.74), rgba(62, 34, 43, 0.44) 54%, rgba(22, 16, 19, 0.58)),
      linear-gradient(90deg, rgba(22, 16, 19, 0.3), rgba(22, 16, 19, 0.1));
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy > p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .hero-meta {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .hero-slider {
    width: 100%;
    padding-bottom: 0;
  }

  .hero-slider,
  .hero-stage,
  .hero-slide {
    min-height: calc(100vh - 122px);
  }

  .hero-slide {
    padding: 36px 18px 88px;
  }

  .hero-copy {
    width: min(100%, 350px);
  }

  .hero-copy h1 {
    font-size: 40px;
  }
}

.hero-controls {
  z-index: 5;
}

.hero-slide.is-active {
  z-index: 2;
}

.hero-slide:not(.is-active) {
  pointer-events: none;
}

/* CMS admin menu manager */
.cms-admin-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff8f4 0%, #ffffff 46%, #edf3e8 100%);
}

.cms-admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 70px;
}

.cms-admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.cms-admin-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 64px);
}

.cms-admin-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.cms-admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.cms-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding-top: 28px;
}

.cms-editor-panel,
.cms-preview-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px rgba(87, 45, 55, 0.08);
}

.cms-editor-panel {
  padding: 22px;
}

.cms-preview-panel {
  align-self: start;
  padding: 24px;
  position: sticky;
  top: 24px;
}

.cms-editor-heading,
.cms-menu-card-head,
.cms-submenu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cms-menu-editor {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.cms-menu-card,
.cms-submenu-card {
  border: 1px solid rgba(32, 25, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 247, 0.8);
}

.cms-menu-card {
  padding: 18px;
}

.cms-menu-card-head strong {
  font-size: 18px;
}

.cms-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.cms-field-grid.three {
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  margin-top: 0;
}

.cms-field {
  display: grid;
  gap: 7px;
}

.cms-field span,
.cms-submenu-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cms-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(32, 25, 29, 0.16);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.cms-field input:focus {
  border-color: rgba(122, 45, 66, 0.55);
  box-shadow: 0 0 0 4px rgba(199, 103, 119, 0.12);
}

.cms-submenu-head {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cms-submenu-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.cms-submenu-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
  padding: 12px;
  background: #fff;
}

.small-button,
.danger-button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.small-button {
  border: 1px solid rgba(122, 45, 66, 0.24);
  color: var(--wine);
  background: #fff;
}

.danger-button {
  border: 1px solid rgba(122, 45, 66, 0.2);
  color: #8f263c;
  background: #fff4f4;
}

.cms-preview-box {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cms-preview-box strong {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  line-height: 1;
}

.cms-preview-box span,
.cms-note,
.cms-empty {
  color: var(--muted);
  line-height: 1.6;
}

.cms-note {
  margin-top: 18px;
  font-size: 13px;
}

.cms-empty {
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(32, 25, 29, 0.18);
  border-radius: 8px;
}

@media (max-width: 900px) {
  .cms-admin-hero,
  .cms-editor-layout {
    grid-template-columns: 1fr;
  }

  .cms-admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .cms-admin-actions {
    justify-content: flex-start;
  }

  .cms-preview-panel {
    position: static;
  }

  .cms-field-grid,
  .cms-field-grid.three,
  .cms-submenu-card {
    grid-template-columns: 1fr;
  }
}

/* Admin dashboard v2 */
.is-hidden {
  display: none !important;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(460px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  font-size: clamp(40px, 6vw, 62px);
}

.admin-login-card > p:not(.eyebrow),
.admin-info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.admin-login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.admin-form-error {
  min-height: 22px;
  margin: 0;
  color: #9d263d;
  font-size: 13px;
  font-weight: 800;
}

.admin-app {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100vh;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  font-family: "Playfair Display", serif;
  font-size: 25px;
}

.admin-brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav-item {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #3d3337;
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-nav-item:hover,
.admin-nav-item.is-active {
  border-color: rgba(122, 45, 66, 0.16);
  color: var(--wine);
  background: rgba(199, 103, 119, 0.1);
}

.admin-user-card {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-user-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.admin-topbar h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-stats-grid,
.admin-info-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.admin-stat-card,
.admin-info-card,
.dashboard-card,
.security-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(87, 45, 55, 0.08);
}

.admin-stat-card {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.admin-stat-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-stat-card strong {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  line-height: 1;
}

.admin-info-card,
.dashboard-card {
  padding: 24px;
}

.admin-info-card.warning {
  background: #fff8ed;
}

.user-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.cms-field select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(32, 25, 29, 0.16);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.permission-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.permission-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #3d3337;
  font-weight: 700;
}

.permission-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--wine);
}

.user-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.user-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.user-row strong,
.user-row span,
.user-row small {
  display: block;
}

.user-row span,
.user-row small {
  color: var(--muted);
  line-height: 1.5;
}

.user-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.security-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.security-grid span {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .admin-app,
  .user-admin-grid,
  .admin-info-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

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

  .admin-user-card {
    margin-top: 0;
  }

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

@media (max-width: 680px) {
  .admin-main,
  .admin-sidebar {
    padding: 18px;
  }

  .admin-topbar,
  .user-row {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .admin-stats-grid,
  .admin-nav {
    grid-template-columns: 1fr;
  }

  .user-row-actions,
  .cms-admin-actions {
    justify-content: flex-start;
  }
}

.cms-admin-body input,
.cms-admin-body select {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
}

.admin-login:not(.is-hidden) input,
.admin-app:not(.is-hidden) input,
.admin-app:not(.is-hidden) select {
  visibility: visible;
}

/* Khan Naseri logo theme override */
:root {
  --ink: #061b3a;
  --muted: #5f6f7a;
  --line: rgba(6, 27, 58, 0.13);
  --paper: #f7fcfb;
  --rose: #00a5b8;
  --wine: #00877f;
  --sage: #0aa66f;
  --gold: #e8a548;
  --navy: #061b3a;
  --cyan: #08cce0;
  --purple: #4c3578;
  --shadow: 0 22px 60px rgba(6, 27, 58, 0.16);
}

body,
.cms-admin-body {
  background:
    radial-gradient(circle at top left, rgba(8, 204, 224, 0.16), transparent 34rem),
    linear-gradient(180deg, #f8fffe 0%, #ffffff 44%, #f3faf7 100%);
}

.top-strip {
  background: linear-gradient(90deg, var(--navy), #0b6f84, var(--wine));
}

.top-strip a,
.hero-copy .eyebrow {
  color: #f6c36f;
}

.brand {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(184px, 20vw, 292px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.admin-logo {
  width: min(210px, 100%);
  max-height: 70px;
}

.brand-mark,
.primary-button {
  background: linear-gradient(135deg, var(--navy), var(--wine) 54%, var(--cyan));
}

.primary-button {
  box-shadow: 0 16px 34px rgba(0, 135, 127, 0.24);
}

.menu-link:hover,
.menu-link:focus-visible,
.admin-nav-item:hover,
.admin-nav-item.is-active {
  color: var(--wine);
  background: rgba(0, 135, 127, 0.1);
}

.outline-button,
.text-link,
.icon-button,
.small-button {
  color: var(--wine);
}

.outline-button,
.small-button {
  border-color: rgba(0, 135, 127, 0.28);
}

.submenu a:hover,
.submenu a:focus-visible {
  background: #effcfa;
}

.hero-slide::before {
  background:
    linear-gradient(90deg, rgba(6, 27, 58, 0.78), rgba(0, 135, 127, 0.36) 45%, rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(6, 27, 58, 0.12), rgba(6, 27, 58, 0.46));
}

.hero-controls {
  background: rgba(6, 27, 58, 0.38);
}

.cms-field input:focus,
.cms-field select:focus {
  border-color: rgba(0, 135, 127, 0.55);
  box-shadow: 0 0 0 4px rgba(8, 204, 224, 0.14);
}

.permission-option input {
  accent-color: var(--wine);
}

.danger-button {
  color: #7a245f;
  background: #fbf4ff;
  border-color: rgba(76, 53, 120, 0.2);
}

@media (max-width: 960px) {
  .brand-logo {
    width: min(218px, 58vw);
    max-height: 52px;
  }

  .hero-slide::before {
    background:
      linear-gradient(180deg, rgba(6, 27, 58, 0.78), rgba(0, 135, 127, 0.48) 54%, rgba(6, 27, 58, 0.6)),
      linear-gradient(90deg, rgba(6, 27, 58, 0.32), rgba(6, 27, 58, 0.1));
  }
}

@media (max-width: 620px) {
  .brand-logo {
    width: min(190px, 56vw);
  }
}

/* Product filter section */
.product-filter-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-heading-row > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) auto;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(6, 27, 58, 0.08);
}

.filter-panel label {
  display: grid;
  gap: 8px;
}

.filter-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(6, 27, 58, 0.15);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(0, 135, 127, 0.55);
  box-shadow: 0 0 0 4px rgba(8, 204, 224, 0.13);
}

.filter-summary {
  margin: 18px 0;
  color: var(--muted);
  font-weight: 800;
}

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

.product-preview-card {
  display: grid;
  gap: 16px;
  min-height: 270px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(6, 27, 58, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(6, 27, 58, 0.13);
}

.product-preview-art {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #eefdfa, #e4f8fb);
}

.product-preview-card[data-tone="purple"] .product-preview-art { background: linear-gradient(135deg, #f6efff, #dcd3f2); }
.product-preview-card[data-tone="gold"] .product-preview-art { background: linear-gradient(135deg, #fff6e7, #f1cc83); }
.product-preview-card[data-tone="green"] .product-preview-art { background: linear-gradient(135deg, #effcf3, #bfe8cf); }
.product-preview-card[data-tone="teal"] .product-preview-art { background: linear-gradient(135deg, #e9fffb, #aee7df); }

.product-preview-art::before,
.product-preview-art::after,
.product-preview-art span {
  position: absolute;
  content: "";
}

.product-preview-art::before {
  right: 25%;
  bottom: 18px;
  width: 54px;
  height: 100px;
  border-radius: 24px 24px 9px 9px;
  background: linear-gradient(90deg, #fff, rgba(0, 135, 127, 0.55));
  box-shadow: 0 16px 30px rgba(6, 27, 58, 0.12);
}

.product-preview-art::after {
  right: 18%;
  bottom: 16px;
  width: 58px;
  height: 38px;
  border-radius: 50%;
  background: rgba(6, 27, 58, 0.22);
  filter: blur(3px);
}

.product-preview-art span {
  left: 18%;
  bottom: 18px;
  width: 66px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--wine);
  background: rgba(0, 135, 127, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.product-preview-card h3 {
  margin-top: 12px;
  font-size: 20px;
}

.product-preview-card p,
.empty-products {
  color: var(--muted);
  line-height: 1.6;
}

.empty-products {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

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

@media (max-width: 720px) {
  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .filter-panel,
  .product-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Left aligned CMS filter sidebar */
.filter-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.filter-sidebar {
  position: sticky;
  top: 132px;
}

.filter-sidebar .filter-panel {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.filter-results-panel {
  min-width: 0;
}

.cms-menu-filter {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.cms-menu-filter > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cms-menu-filter-tree,
.menu-filter-group,
.menu-filter-children {
  display: grid;
  gap: 8px;
}

.menu-filter-group {
  padding-top: 8px;
  border-top: 1px solid rgba(6, 27, 58, 0.1);
}

.menu-filter-children {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 2px solid rgba(0, 135, 127, 0.14);
}

.menu-filter-option {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(6, 27, 58, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.menu-filter-option input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: var(--wine);
}

.menu-filter-option span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
}

.menu-filter-option.is-sub span {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .filter-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .filter-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
  }
}

/* Professional compact filter sidebar refinement */
.filter-sidebar .filter-panel {
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.filter-panel input,
.filter-panel select {
  min-height: 40px;
  border-radius: 6px;
  font-size: 14px;
}

.cms-menu-filter {
  gap: 9px;
}

.cms-menu-filter-tree {
  gap: 2px;
  padding: 4px 0;
}

.menu-filter-group {
  gap: 2px;
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid rgba(6, 27, 58, 0.08);
}

.menu-filter-children {
  gap: 1px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(0, 135, 127, 0.2);
}

.menu-filter-option {
  min-height: 30px;
  padding: 5px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  transition: background 160ms ease, color 160ms ease;
}

.menu-filter-option:hover {
  background: rgba(0, 135, 127, 0.07);
}

.menu-filter-option input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.menu-filter-option span {
  font-size: 13px;
  line-height: 1.25;
}

.menu-filter-option.is-main span {
  color: var(--ink);
  font-weight: 800;
}

.menu-filter-option.is-sub {
  min-height: 28px;
  padding-left: 4px;
}

.menu-filter-option.is-sub span {
  color: #687987;
  font-size: 12px;
  font-weight: 650;
}

.menu-filter-option:has(input:checked) {
  background: rgba(0, 135, 127, 0.11);
}

.menu-filter-option:has(input:checked) span {
  color: var(--wine);
}

.filter-sidebar .small-button {
  min-height: 38px;
  border-radius: 6px;
}

.filter-panel .menu-filter-option input[type="radio"] {
  display: inline-block;
  width: 14px;
  min-width: 14px;
  height: 14px;
  min-height: 14px;
  padding: 0;
}

.filter-panel .menu-filter-option {
  min-height: 30px;
}

.menu-filter-children[hidden] {
  display: none;
}

.menu-filter-group.is-open > .menu-filter-option.is-main {
  background: rgba(0, 135, 127, 0.11);
}

.menu-filter-group.is-open > .menu-filter-option.is-main span {
  color: var(--wine);
}

/* Product card and fullscreen detail modal refinement */
.product-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-preview-card {
  appearance: none;
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  min-height: 380px;
  padding: 14px;
}

.product-preview-card:focus-visible {
  outline: 3px solid rgba(8, 204, 224, 0.35);
  outline-offset: 3px;
}

.product-preview-art {
  min-height: 235px;
  border-radius: 8px;
  isolation: isolate;
}

.product-picture {
  position: absolute;
  inset: 0;
  transition: opacity 260ms ease, transform 420ms ease;
}

.product-picture-primary {
  opacity: 1;
  background: linear-gradient(135deg, #eefdfa, #d9f7fb 52%, #ffffff);
}

.product-picture-hover {
  opacity: 0;
  transform: scale(1.04);
  background: linear-gradient(135deg, #ffffff, #d8fff8 42%, rgba(0, 135, 127, 0.22));
}

.product-preview-card:hover .product-picture-primary,
.product-preview-card:focus-visible .product-picture-primary {
  opacity: 0;
  transform: scale(1.04);
}

.product-preview-card:hover .product-picture-hover,
.product-preview-card:focus-visible .product-picture-hover {
  opacity: 1;
  transform: scale(1);
}

.product-picture::before,
.product-picture::after,
.product-picture span,
.product-picture span::before {
  position: absolute;
  content: "";
}

.product-picture::before {
  right: 24%;
  bottom: 28px;
  width: 72px;
  height: 150px;
  border-radius: 30px 30px 12px 12px;
  background: linear-gradient(90deg, #fff, rgba(0, 135, 127, 0.62));
  box-shadow: 0 22px 38px rgba(6, 27, 58, 0.18);
}

.product-picture::after {
  right: 16%;
  bottom: 20px;
  width: 92px;
  height: 45px;
  border-radius: 50%;
  background: rgba(6, 27, 58, 0.18);
  filter: blur(4px);
}

.product-picture span {
  left: 18%;
  bottom: 34px;
  width: 88px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  box-shadow: 0 18px 34px rgba(6, 27, 58, 0.18);
}

.product-picture span::before {
  left: 22px;
  bottom: 36px;
  width: 38px;
  height: 112px;
  border-radius: 16px 16px 7px 7px;
  background: linear-gradient(90deg, #fff, rgba(232, 165, 72, 0.75));
}

.product-picture-hover::before {
  right: 18%;
  width: 86px;
  height: 128px;
  background: linear-gradient(90deg, #fff, rgba(8, 204, 224, 0.72));
}

.product-picture-hover span {
  left: 25%;
  width: 72px;
  height: 102px;
  border-radius: 24px 24px 11px 11px;
  background: linear-gradient(90deg, #fff, rgba(76, 53, 120, 0.72));
}

.product-preview-card[data-tone="purple"] .product-picture-primary { background: linear-gradient(135deg, #f7f0ff, #ded2f3); }
.product-preview-card[data-tone="gold"] .product-picture-primary { background: linear-gradient(135deg, #fff6e7, #f2cc84); }
.product-preview-card[data-tone="green"] .product-picture-primary { background: linear-gradient(135deg, #effcf3, #bfe8cf); }
.product-preview-card[data-tone="teal"] .product-picture-primary { background: linear-gradient(135deg, #e9fffb, #aee7df); }

.product-preview-card h3 {
  margin-top: 10px;
  font-size: 22px;
}

.product-preview-card p {
  margin: 8px 0 0;
  font-size: 14px;
}

body.modal-open {
  overflow: hidden;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 27, 58, 0.72);
  backdrop-filter: blur(12px);
}

.product-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(760px, calc(100vh - 56px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 24px;
}

.product-modal-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 620px;
}

.product-modal-art {
  min-height: 620px;
  background: linear-gradient(135deg, #eefdfa, #e5fffb);
}

.product-modal-art .product-preview-art {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border-radius: 0;
}

.product-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 62px);
}

.product-modal-copy h2 {
  margin-top: 16px;
  font-size: clamp(34px, 5vw, 62px);
}

.product-modal-copy p,
.product-modal-copy li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.product-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.product-modal-meta span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--wine);
  background: rgba(0, 135, 127, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.product-modal-copy ul {
  margin: 0;
  padding-left: 20px;
}

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

@media (max-width: 760px) {
  .product-preview-grid,
  .product-modal-content {
    grid-template-columns: 1fr;
  }

  .product-preview-art {
    min-height: 255px;
  }

  .product-modal {
    padding: 14px;
  }

  .product-modal-art,
  .product-modal-art .product-preview-art {
    min-height: 360px;
  }

  .product-modal-content {
    min-height: auto;
  }
}

/* Larger product photos and modal gallery slider */
.product-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-preview-card {
  min-height: 500px;
}

.product-preview-card > .product-badge {
  display: none;
}

.product-preview-card > .product-preview-art {
  min-height: 365px;
}

.product-preview-card h3 {
  font-size: 24px;
}

.product-preview-card .product-picture::before {
  width: 92px;
  height: 190px;
}

.product-preview-card .product-picture span {
  width: 112px;
  height: 72px;
}

.product-preview-art[data-variant="1"] .product-picture-primary,
.product-preview-art[data-variant="1"] .product-picture-hover {
  background: linear-gradient(135deg, #f5fbff, #d6f5ff 46%, rgba(8, 204, 224, 0.18));
}

.product-preview-art[data-variant="2"] .product-picture-primary,
.product-preview-art[data-variant="2"] .product-picture-hover {
  background: linear-gradient(135deg, #fff9ef, #f4d8a3 46%, rgba(232, 165, 72, 0.18));
}

.product-preview-art[data-variant="3"] .product-picture-primary,
.product-preview-art[data-variant="3"] .product-picture-hover {
  background: linear-gradient(135deg, #f5fff8, #ccefd8 46%, rgba(10, 166, 111, 0.16));
}

.product-preview-art[data-variant="1"] .product-picture::before {
  right: 18%;
  width: 78px;
  height: 172px;
  border-radius: 10px 30px 14px 14px;
}

.product-preview-art[data-variant="2"] .product-picture::before {
  right: 32%;
  width: 112px;
  height: 118px;
  border-radius: 50% 50% 18px 18px;
}

.product-preview-art[data-variant="3"] .product-picture::before {
  right: 20%;
  width: 62px;
  height: 205px;
  transform: rotate(-7deg);
}

.product-gallery {
  position: relative;
  height: 100%;
  min-height: 640px;
  background: #f4fbfa;
}

.product-gallery-track {
  position: absolute;
  inset: 0;
}

.product-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 320ms ease, transform 320ms ease;
  pointer-events: none;
}

.product-gallery-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.product-gallery-slide .product-preview-art {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border-radius: 0;
}

.product-gallery-slide .product-picture::before {
  width: 124px;
  height: 250px;
}

.product-gallery-slide .product-picture span {
  width: 142px;
  height: 92px;
}

.product-gallery-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.gallery-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(6, 27, 58, 0.14);
  border-radius: 50%;
  color: var(--wine);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.product-gallery-controls span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.product-gallery-thumbs {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-thumb {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(6, 27, 58, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.gallery-thumb.is-active {
  color: #fff;
  background: var(--wine);
}

@media (max-width: 1080px) {
  .product-preview-card > .product-preview-art {
    min-height: 330px;
  }
}

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

  .product-preview-card {
    min-height: 470px;
  }

  .product-preview-card > .product-preview-art {
    min-height: 330px;
  }

  .product-gallery,
  .product-gallery-slide .product-preview-art {
    min-height: 420px;
  }

  .product-gallery-thumbs {
    top: 14px;
    left: 14px;
  }

  .product-gallery-controls {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
}

/* Cleaner three-column product grid refinement */
.product-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-preview-card {
  min-height: 430px;
  padding: 10px;
  border: 1px solid rgba(6, 27, 58, 0.06);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(6, 27, 58, 0.06);
}

.product-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(6, 27, 58, 0.11);
}

.product-preview-card > .product-preview-art {
  min-height: 300px;
}

.product-preview-card h3 {
  margin: 8px 4px 0;
  font-size: 21px;
  line-height: 1.14;
}

.product-preview-card p {
  margin: 5px 4px 0;
  font-size: 13px;
  line-height: 1.45;
}

.product-preview-card .product-picture::before {
  width: 82px;
  height: 170px;
}

.product-preview-card .product-picture span {
  width: 100px;
  height: 64px;
}

@media (max-width: 1180px) {
  .product-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.product-preview-card h3,
.product-preview-card p {
  display: block;
}

.product-preview-card h3 {
  margin-bottom: 0;
}

.product-preview-card h3 + p {
  margin-top: 0;
}

.product-preview-card {
  gap: 6px;
}

/* Softer product card border and wider image area */
.product-preview-card {
  padding: 6px;
  border-color: rgba(6, 27, 58, 0.025);
  box-shadow: 0 10px 24px rgba(6, 27, 58, 0.045);
}

.product-preview-card:hover {
  box-shadow: 0 16px 34px rgba(6, 27, 58, 0.09);
}

.product-preview-card > .product-preview-art {
  min-height: 335px;
  width: 100%;
}

.product-preview-card h3,
.product-preview-card p {
  margin-left: 6px;
  margin-right: 6px;
}

/* Near-flush product image treatment */
.product-preview-card {
  padding: 2px;
  border-color: rgba(6, 27, 58, 0.012);
}

.product-preview-card > .product-preview-art {
  width: calc(100% + 0px);
  min-height: 360px;
  border-radius: 6px;
}

.product-preview-card h3,
.product-preview-card p {
  margin-left: 10px;
  margin-right: 10px;
}

/* Wider product cards by giving results more room */
.product-filter-section {
  width: min(1360px, calc(100% - 32px));
}

.filter-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}

.product-preview-grid {
  gap: 16px;
}

@media (max-width: 1080px) {
  .filter-layout {
    grid-template-columns: 1fr;
  }
}

.product-preview-card p {
  margin-bottom: 6px;
}

/* Simple CMS content pages */
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 60px;
}

.page-hero h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 82px);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.page-content-grid,
.contact-panel {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 80px;
  gap: 16px;
}

.page-content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-content-grid article,
.contact-panel div {
  padding: 24px;
  border: 1px solid rgba(6, 27, 58, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(6, 27, 58, 0.05);
}

.page-content-grid span,
.contact-panel span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-content-grid h2 {
  margin-top: 16px;
  font-size: 28px;
}

.page-content-grid p,
.contact-panel strong {
  color: var(--muted);
  line-height: 1.7;
}

.contact-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-panel strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
}

@media (max-width: 820px) {
  .page-content-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 90px;
  gap: 22px;
  align-items: start;
}

.contact-layout .contact-panel {
  width: 100%;
  margin: 0;
  grid-template-columns: 1fr;
}

.contact-form {
  padding: 26px;
  border: 1px solid rgba(6, 27, 58, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(6, 27, 58, 0.06);
}

.form-heading {
  margin-bottom: 18px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0 13px;
  border: 1px solid rgba(6, 27, 58, 0.14);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
}

.contact-form input {
  min-height: 44px;
}

.contact-form textarea {
  min-height: 150px;
  padding-top: 12px;
  resize: vertical;
}

.message-field {
  margin: 14px 0 18px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 135, 127, 0.55);
  box-shadow: 0 0 0 4px rgba(8, 204, 224, 0.13);
}

.contact-form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--wine);
  font-weight: 800;
}

@media (max-width: 860px) {
  .contact-layout,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

/* About section below hero */
.about-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  gap: 42px;
  padding: 86px 0;
  border-bottom: 1px solid var(--line);
}

.about-copy h2 {
  max-width: 740px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
}

.about-copy h3 {
  margin: 18px 0 0;
  color: var(--wine);
  font-size: 20px;
  line-height: 1.45;
}

.about-copy p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}



.about-image-wrap {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-static-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: none;
  outline: none;
}


.product-admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.product-create-card {
  display: grid;
  gap: 18px;
}

.cms-field textarea {
  width: 100%;
  border: 1px solid rgba(45, 31, 35, 0.14);
  border-radius: 18px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  outline: none;
}

.cms-field textarea:focus {
  border-color: rgba(138, 63, 83, 0.45);
  box-shadow: 0 0 0 4px rgba(138, 63, 83, 0.09);
}

.product-image-preview {
  min-height: 170px;
  border: 1px dashed rgba(45, 31, 35, 0.22);
  border-radius: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-weight: 700;
}

.product-image-preview img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

.product-admin-list {
  display: grid;
  gap: 14px;
}

@media (max-width: 980px) {
  .product-admin-grid {
    grid-template-columns: 1fr;
  }
}
/* CMS product admin and image support */
.product-real-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.product-admin-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.product-admin-thumb,
.product-image-preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eefdfa;
}

.product-admin-thumb {
  width: 74px;
  height: 74px;
}

.product-admin-thumb img,
.product-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-admin-thumb span {
  width: 34px;
  height: 46px;
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(135deg, var(--navy), var(--wine));
}

.product-admin-row strong,
.product-admin-row span,
.product-admin-row small {
  display: block;
}

.product-admin-row span,
.product-admin-row small {
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .about-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-image-wrap {
    width: 100%;
    max-width: 100%;
    height: 300px;
  }

  .product-admin-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .product-admin-row .danger-button {
    grid-column: 1 / -1;
  }
}

/* Product real photo hover + gallery support */
.product-preview-art.has-real-image {
  background: #f4fbfa;
}

.product-preview-art.has-real-image::before,
.product-preview-art.has-real-image::after,
.product-preview-art.has-real-image span {
  display: none;
}

.product-real-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: opacity 280ms ease, transform 420ms ease;
}

.product-real-image-primary {
  opacity: 1;
  transform: scale(1);
}

.product-real-image-hover {
  opacity: 0;
  transform: scale(1.04);
}

.product-preview-card:hover .product-real-image-primary,
.product-preview-card:focus-visible .product-real-image-primary {
  opacity: 0;
  transform: scale(1.02);
}

.product-preview-card:hover .product-real-image-hover,
.product-preview-card:focus-visible .product-real-image-hover {
  opacity: 1;
  transform: scale(1);
}

.product-gallery-slide .product-real-image-primary {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.product-gallery-slide .product-real-image-hover {
  display: none;
}

.product-image-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.product-image-preview-grid figure {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-image-preview-grid figure img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}

.product-image-preview-grid figcaption {
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .product-image-preview-grid {
    grid-template-columns: 1fr;
  }
}


.admin-login-form .cms-field .password-wrap {
  position: relative !important;
  width: 100% !important;
  display: block !important;
}

.admin-login-form .cms-field .password-wrap input {
  width: 100% !important;
  box-sizing: border-box !important;
  padding-right: 55px !important;
}

.admin-login-form .cms-field .password-wrap .password-toggle {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: auto !important;
  height: auto !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  z-index: 5 !important;
}

.cms-static-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf7f5;
  color: #008b84;
  font-weight: 800;
  font-size: 13px;
}











[data-animate]{
  opacity:0;
  transform:translateY(34px);
  transition:opacity .8s ease, transform .8s ease;
}

[data-animate].is-visible{
  opacity:1;
  transform:translateY(0);
}

[data-animate="delay"].is-visible{
  transition-delay:.12s;
}

[data-animate="delay2"].is-visible{
  transition-delay:.24s;
}





.section-head{
  max-width:900px;
  margin:0 auto 60px;
  text-align:center;
}

.section-head h2{
  font-family:"Playfair Display",serif;
  font-size:clamp(42px,5vw,72px);
  line-height:1.05;
  letter-spacing:-.05em;
  margin:15px 0 20px;
}

.section-head p{
  max-width:750px;
  margin:0 auto;
  color:#66777a;
  line-height:1.9;
  font-size:18px;
}



.knt-footer{
  background:#0a0a0a;
  color:#fff;
  padding:80px 0 0;
  margin-top:100px;
}

.knt-footer-container{
  width:min(1200px,90%);
  margin:auto;

  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.2fr;
  gap:50px;
}

.footer-logo{
  max-width:180px;
  margin-bottom:20px;
}

.footer-col h3{
  color:#d5a848;
  margin-bottom:20px;
  font-size:20px;
}

.footer-col p,
.footer-col li,
.footer-col a{
  color:rgba(255,255,255,.75);
  text-decoration:none;
  line-height:2;
  transition:.3s;
}

.footer-col a:hover{
  color:#d5a848;
}

.footer-col ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-bottom{
  margin-top:60px;
  text-align:center;
  padding:20px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.6);
}

@media(max-width:900px){

  .knt-footer-container{
    grid-template-columns:1fr;
    gap:35px;
  }

}