/* ===========================
   Emmeleia — Design System
   =========================== */
:root {
  --bg: #faf7f2;
  --bg-alt: #f3ece1;
  --ink: #2a1f17;
  --ink-soft: #5b4a3c;
  --muted: #8a7864;
  --line: #e6dccb;
  --gold: #b8895a;
  --gold-dark: #8f6638;
  --gold-soft: #d9b88a;
  --accent: #6b3f1f;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(60, 40, 20, 0.06);
  --shadow-md: 0 12px 32px rgba(60, 40, 20, 0.12);
  --shadow-lg: 0 24px 60px rgba(60, 40, 20, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1200px;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-bg: rgba(250, 247, 242, 0.85);
  --header-bg-scroll: rgba(250, 247, 242, 0.95);
}

/* ===========================
   Dark Theme Variables & Overrides
   =========================== */
[data-theme="dark"] {
  --bg: #130f0c;
  --bg-alt: #1d1814;
  --ink: #f7f3ee;
  --ink-soft: #cbbbae;
  --muted: #9f8d7f;
  --line: #2d241d;
  --gold: #d4a579;
  --gold-dark: #b8895a;
  --gold-soft: #e5c09e;
  --accent: #f2dbca;
  --white: #1a1410;
  
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --header-bg: rgba(19, 15, 12, 0.85);
  --header-bg-scroll: rgba(19, 15, 12, 0.95);
}

/* Specific component overrides for dark mode */
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .service-item,
[data-theme="dark"] .brand-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .form-container {
  background: var(--white);
  border-color: var(--line);
}

[data-theme="dark"] .testimonial-card:hover,
[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .service-item:hover,
[data-theme="dark"] .brand-card:hover {
  border-color: var(--gold-soft);
}

[data-theme="dark"] .author-info strong,
[data-theme="dark"] .section-title,
[data-theme="dark"] .brand-name {
  color: var(--ink);
}

[data-theme="dark"] .author-info span,
[data-theme="dark"] .stars {
  color: var(--muted);
}

[data-theme="dark"] .testimonial-text,
[data-theme="dark"] .brand-desc {
  color: var(--ink-soft);
}

[data-theme="dark"] .submit-btn {
  background: var(--gold);
  color: var(--white);
}

[data-theme="dark"] .submit-btn:hover {
  background: var(--gold-dark);
}

[data-theme="dark"] .hero-logo {
  filter: invert(0.9) sepia(0.2) saturate(0.8) hue-rotate(15deg);
}

[data-theme="dark"] .form-row input,
[data-theme="dark"] .form-row select,
[data-theme="dark"] .form-row textarea,
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink);
}

[data-theme="dark"] .form-row input:focus,
[data-theme="dark"] .form-row select:focus,
[data-theme="dark"] .form-row textarea:focus,
[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
  background: var(--white);
  border-color: var(--gold);
}

[data-theme="dark"] input[readonly] {
  background: var(--bg-alt) !important;
  color: var(--ink-soft) !important;
}

[data-theme="dark"] .sidebar-section div,
[data-theme="dark"] .ref-box {
  background: var(--bg-alt) !important;
  border-color: var(--gold-soft) !important;
}

[data-theme="dark"] .ref-box strong {
  color: var(--gold) !important;
}

[data-theme="dark"] .filter-chip {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}

[data-theme="dark"] .filter-chip.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

[data-theme="dark"] .filter-chip:hover {
  background: var(--bg-alt);
  color: var(--ink);
  border-color: var(--gold-soft);
}

[data-theme="dark"] .brand-category {
  background: var(--bg-alt);
  border-color: var(--line);
  color: var(--gold);
}

[data-theme="dark"] .brand-logo-wrap {
  background: var(--bg-alt);
  border-color: var(--line);
  color: var(--gold);
}

/* Order Modal adjustments for dark mode */
[data-theme="dark"] .modal-overlay {
  background: rgba(0, 0, 0, 0.7);
}
[data-theme="dark"] .order-box,
[data-theme="dark"] .login-wall-box {
  background: var(--white);
  border-color: var(--line);
}
[data-theme="dark"] .summary-box {
  background: var(--bg-alt);
  border-color: var(--line);
}
[data-theme="dark"] .summary-total span:last-child {
  color: var(--ink);
}
[data-theme="dark"] .pay-note {
  background: #231911;
  border-color: var(--gold-dark);
}
[data-theme="dark"] .pay-note strong {
  color: var(--gold-soft);
}

/* Theme Toggle styling */
.theme-toggle-li {
  list-style: none;
  display: flex;
  align-items: center;
}
.theme-toggle {
  background: none;
  border: 1px solid var(--line);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.theme-toggle:hover {
  background: var(--bg-alt);
  color: var(--ink);
  border-color: var(--ink-soft);
}
.theme-toggle svg {
  display: block;
}

@media (max-width: 900px) {
  .theme-toggle-li {
    position: fixed !important;
    right: 72px !important;
    top: 14px !important;
    z-index: 60 !important;
  }
  .theme-toggle-li.has-cart {
    right: 124px !important;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.4rem; }

p { color: var(--ink-soft); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: var(--header-bg-scroll);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.brand span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 22px;
  border-radius: 999px;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }
.nav-cta::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 4px; right: 4px;
  height: 1.5px;
  background: var(--ink);
  transition: var(--transition);
}
.hamburger span:nth-child(1) { top: 10px; }
.hamburger span:nth-child(2) { top: 16px; }
.hamburger span:nth-child(3) { top: 22px; }
.hamburger.open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 22px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: italic;
  color: var(--gold-dark);
}
.hero-lead {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  max-height: 560px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.hero-image:hover img { transform: scale(1.05); }
.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* ---------- Section ---------- */
section { padding: 90px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.section-head p { margin-top: 16px; }

/* ---------- Services preview (home) ---------- */
.services-preview {
  background: var(--bg-alt);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--line);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-size: 1.4rem;
}
.service-card h3 { margin-bottom: 10px; }

/* ---------- Color showcase strip ---------- */
.color-strip {
  background: #1a1410;
  color: #faf7f2;
  padding: 90px 0;
}
.color-strip h2 { color: #faf7f2; }
.color-strip p { color: rgba(250, 247, 242, 0.75); }
.color-strip .section-eyebrow { color: var(--gold-soft); }
.color-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.color-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-lg);
}
.color-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1a1410;
  color: rgba(250, 247, 242, 0.75);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  color: #faf7f2;
  margin-bottom: 16px;
}
.footer-brand span { color: var(--gold-soft); }
.footer h4 {
  color: #faf7f2;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 0.95rem; }
.footer a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}
.footer-legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: rgba(250, 247, 242, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal-links a:hover {
  color: var(--gold-soft);
}
.footer-company-info {
  color: rgba(250, 247, 242, 0.45);
  font-size: 0.8rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  width: 100%;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- Services list (services page) ---------- */
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 14px;
  transition: var(--transition);
}
.service-item:hover {
  border-color: var(--gold-soft);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
}
.service-item-head h3 { font-size: 1.4rem; }
.service-price {
  font-family: var(--serif);
  color: var(--gold-dark);
  font-size: 1.3rem;
  white-space: nowrap;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text p + p { margin-top: 16px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-dark);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
.contact-info {
  background: var(--bg-alt);
  padding: 36px;
  border-radius: var(--radius);
  display: grid;
  gap: 24px;
  align-content: start;
}
.info-block h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
  font-weight: 500;
}
.info-block p { color: var(--ink); }

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 6px; }
.form-row label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-msg {
  padding: 12px;
  border-radius: 10px;
  background: #e6f4e7;
  color: #2d6e35;
  font-size: 0.92rem;
  display: none;
}
.form-msg.show { display: block; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  filter: blur(8px);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Staggered reveal for grid items (desktop only, for grid rows) */
@media (min-width: 901px) {
  .services-grid .reveal:nth-child(2),
  .testimonials-grid .reveal:nth-child(2),
  .brands-grid .reveal:nth-child(2) {
    transition-delay: 0.15s;
  }
  .services-grid .reveal:nth-child(3),
  .testimonials-grid .reveal:nth-child(3),
  .brands-grid .reveal:nth-child(3) {
    transition-delay: 0.3s;
  }
}

/* ---------- Reveal fallback (file:// / no-JS) ---------- */
/* If JS hasn't fired or is disabled, fade everything in via CSS animation */
@keyframes revealFallback {
  from { opacity: 0; transform: translateY(80px) scale(0.95); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
html:not(.js-active) .reveal {
  animation: revealFallback 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
/* When JS fires and adds .in, the animation is overridden cleanly */
.reveal.in {
  animation: none;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}


/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .color-strip-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 50px 0 40px; }
  section { padding: 60px 0; }

  body.no-scroll {
    overflow: hidden;
  }
  .brand, .hamburger {
    position: relative;
    z-index: 60;
  }
  .hamburger {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 100px 24px 40px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s;
    z-index: 40;
    box-sizing: border-box;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links li {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    text-align: center;
  }
  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links.open li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.10s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.20s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.25s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.30s; }
  .nav-links.open li:nth-child(7) { transition-delay: 0.35s; }
  .nav-links.open li:nth-child(8) { transition-delay: 0.40s; }

  .nav-links a {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    display: inline-block;
    padding: 8px 0;
    transition: color 0.3s, transform 0.3s;
    text-transform: none;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--gold);
    transform: scale(1.05);
  }
  #nav-auth-item {
    margin-top: 12px;
    width: auto;
  }
  #nav-auth-item a {
    font-family: var(--sans) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    padding: 10px 32px !important;
    border-radius: 999px !important;
    transition: all 0.3s !important;
    display: inline-block;
  }
  #nav-auth-item a:hover {
    background: var(--gold) !important;
    color: var(--white) !important;
    transform: translateY(-2px) !important;
  }
  .nav-cart-btn {
    position: fixed !important;
    right: 72px !important;
    top: 14px !important;
    z-index: 60 !important;
    background: var(--white) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-sm) !important;
  }
  .form-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: grid;
  gap: 16px;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1rem;
}
.testimonial-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Social Links ---------- */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  color: rgba(250, 247, 242, 0.6);
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s;
  pointer-events: none;
  z-index: 100;
}
.scroll-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.scroll-top:hover { background: var(--gold-dark); }

/* ---------- Testimonials mobile ---------- */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 1rem; }
}
.form-container {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    font-family: sans-serif;
    border: 1px solid var(--line);
}

.row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 20px;
}

label {
    font-size: 12px;
    font-weight: bold;
    color: var(--gold-dark);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

input, textarea {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 15px;
    outline: none;
    color: var(--ink);
}

textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    background: var(--ink);
    color: var(--bg);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--gold-dark);
}
        .form-container {
            background: var(--bg-alt);
            padding: 40px;
            border-radius: 20px;
            max-width: 100%;
            font-family: 'Inter', sans-serif;
            border: 1px solid var(--line);
        }

        .row {
            display: flex;
            gap: 20px;
            margin-bottom: 5px;
        }

        .field {
            display: flex;
            flex-direction: column;
            flex: 1;
            margin-bottom: 15px;
            text-align: left;
        }

        .field label {
            font-size: 11px;
            font-weight: 700;
            color: var(--gold-dark);
            margin-bottom: 6px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .field input, .field textarea {
            background: var(--bg);
            border: 1px solid var(--line);
            border-radius: 12px;
            padding: 12px 15px;
            outline: none;
            font-size: 14px;
            transition: all 0.3s;
            width: 100%;
            box-sizing: border-box;
            color: var(--ink);
        }

        .field input:focus, .field textarea:focus {
            border-color: var(--gold);
            background: var(--white);
        }

        /* Error States */
        .field.error input, .field.error textarea {
            border-color: #c0392b;
            background: #fff8f8;
        }
        .field.error input[type="checkbox"] {
            outline: 2px solid #c0392b;
        }

        .form-error-text {
            display: none;
            font-size: 10px;
            color: #c0392b;
            margin-top: 4px;
        }

        .field.error .form-error-text { display: block; }

        .submit-btn {
            background: var(--ink);
            color: var(--bg);
            border: none;
            padding: 14px 28px;
            border-radius: 30px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: 0.3s;
            width: fit-content;
            margin-top: 10px;
        }

        .submit-btn:hover { background: var(--gold-dark); }
        .submit-btn:disabled { background: #ccc; cursor: not-allowed; }

        /* Success State Styling */
        #success-state {
            display: none;
            flex-direction: column;
            align-items: center;
            padding: 40px 10px;
            text-align: center;
            animation: fadeIn 0.5s ease-in-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .spinner {
            width: 16px; height: 16px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            display: none;
            margin-right: 8px;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        @media (max-width: 768px) {
            .row { flex-direction: column; gap: 0; }
        }
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 35px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-alt);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info strong {
    display: block;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    font-size: 16px;
    margin-bottom: 2px;
}

.author-info span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.stars {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    color: var(--ink-soft);
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* Εφέ κατά το πέρασμα του ποντικιού */
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-soft);
}
/* Κεντράρισμα του τίτλου της ενότητας */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--ink);
    text-align: center;
    margin-bottom: 60px;
    margin-top: 40px;
    width: 100%;
}

/* Προαιρετικά: Διασφάλιση ότι το grid των κριτικών έχει σωστή απόσταση */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;     /* Κεντράρισμα ολόκληρου του grid στη σελίδα */
    padding: 0 20px;    /* Padding για να μην κολλάνε οι κάρτες στις άκρες σε κινητά */
}
      .brands-intro {
        background: var(--bg-alt);
        border-bottom: 1px solid var(--line);
      }

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

      .brand-card {
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 36px 28px 32px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
      }

      .brand-card::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--gold-soft), var(--gold));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--transition);
      }

      .brand-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
        border-color: var(--gold-soft);
      }

      .brand-card:hover::before {
        transform: scaleX(1);
      }

      .brand-logo-wrap {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: var(--bg-alt);
        border: 1px solid var(--line);
        display: grid;
        place-items: center;
        font-family: var(--serif);
        font-size: 1.5rem;
        color: var(--gold-dark);
        letter-spacing: 0.05em;
        flex-shrink: 0;
      }

      .brand-name {
        font-family: var(--serif);
        font-size: 1.35rem;
        font-weight: 500;
        color: var(--ink);
        letter-spacing: 0.04em;
      }

      .brand-category {
        display: inline-block;
        font-size: 0.72rem;
        letter-spacing: 0.26em;
        text-transform: uppercase;
        color: var(--gold-dark);
        background: var(--bg-alt);
        padding: 4px 12px;
        border-radius: 999px;
        border: 1px solid var(--line);
      }

      .brand-desc {
        font-size: 0.95rem;
        color: var(--ink-soft);
        line-height: 1.6;
        text-align: center;
      }

      .brand-origin {
        font-size: 0.8rem;
        color: var(--muted);
        letter-spacing: 0.1em;
        margin-top: auto;
      }

      /* Category filter bar */
      .filter-bar {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 48px;
      }

      .filter-btn {
        font: inherit;
        font-size: 0.82rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink-soft);
        background: transparent;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 8px 20px;
        cursor: pointer;
        transition: var(--transition);
      }

      .filter-btn:hover,
      .filter-btn.active {
        background: var(--ink);
        color: var(--bg);
        border-color: var(--ink);
      }

      .brand-card[data-hidden] {
        display: none;
      }

      /* CTA strip */
      .brands-cta {
        background: var(--bg-alt);
        border-top: 1px solid var(--line);
        text-align: center;
        padding: 80px 0;
      }

      .brands-cta h2 { margin-bottom: 16px; }
      .brands-cta p { max-width: 520px; margin: 0 auto 32px; }

      @media (max-width: 900px) {
        .brands-grid { grid-template-columns: repeat(2, 1fr); }
      }

      @media (max-width: 540px) {
        .brands-grid { grid-template-columns: 1fr; }
      }
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;    /* Ρύθμισε το ύψος που θέλεις */
    width: auto;     /* Για να μην παραμορφωθεί */
    max-width: 200px; /* Μέγιστο πλάτος */
    display: block;
}

/* Αν το λογότυπο εξακολουθεί να μη φαίνεται, 
   βεβαιώσου ότι ο navbar έχει αρκετό ύψος */
.nav-flex {
    height: 80px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-logo {
    display: block;
    max-width: 600px;     /* Πολύ μεγαλύτερο μέγεθος */
    height: auto;
    margin-left: 0;       /* Στοίχιση τέρμα αριστερά */
    margin-right: auto;
    margin-bottom: -10px; /* Μείωση κενού (βάλε αρνητικό αν χρειάζεται) */
}

/* Για κινητά */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 350px; /* Μεγαλύτερο και στο κινητό */
        margin-left: 0;
        margin-right: auto;
        margin-bottom: -5px;
    }
}

/* ---------- Premium theme-switching transitions ---------- */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition: background 0.4s ease, background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
  transition-delay: 0s !important;
}

/* ---------- Skeleton Loaders & Shimmer ---------- */
.skeleton-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  pointer-events: none;
  height: 200px;
  border-radius: var(--radius);
}
.skeleton-order-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  pointer-events: none;
  padding: 20px;
  border-radius: var(--radius);
  margin-top: 16px;
}
.skeleton-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.skeleton-shop-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 16px;
  pointer-events: none;
  border-radius: var(--radius);
}
.skeleton-shop-img {
  background: rgba(138, 120, 100, 0.12);
  aspect-ratio: 1/1;
  border-radius: 8px;
  margin-bottom: 16px;
}
[data-theme="dark"] .skeleton-shop-img {
  background: rgba(255, 255, 255, 0.08);
}
.skeleton-line {
  background: rgba(138, 120, 100, 0.12);
  border-radius: 4px;
  margin-bottom: 12px;
}
[data-theme="dark"] .skeleton-line {
  background: rgba(255, 255, 255, 0.08);
}
.skeleton-badge {
  width: 120px;
  height: 16px;
  margin-bottom: 20px;
}
.skeleton-title {
  width: 70%;
  height: 28px;
  margin-bottom: 16px;
}
.skeleton-text {
  width: 90%;
  height: 14px;
}
.skeleton-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 1.6s infinite;
}
[data-theme="dark"] .skeleton-shimmer {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* ---------- Footer Newsletter ---------- */
.footer-newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
  margin-bottom: 40px;
}
.newsletter-text h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: #faf7f2;
  margin-bottom: 8px;
  font-weight: 400;
}
.newsletter-text p {
  color: rgba(250, 247, 242, 0.65);
  font-size: 0.95rem;
  margin: 0;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 320px;
}
.newsletter-input-group {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
}
.newsletter-input-group input {
  background: transparent;
  border: none;
  padding: 10px 18px;
  color: #faf7f2;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
}
.newsletter-input-group button {
  background: var(--gold);
  color: #faf7f2;
  border: none;
  padding: 10px 24px;
  border-radius: 26px;
  cursor: pointer;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: background 0.3s ease;
}
.newsletter-input-group button:hover {
  background: var(--gold-dark);
}
.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(250, 247, 242, 0.5);
  cursor: pointer;
  margin-top: 4px;
}
.newsletter-consent input {
  margin-top: 2px;
}
.newsletter-consent a {
  color: var(--gold-soft);
  text-decoration: underline;
}
.newsletter-msg {
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}
.newsletter-msg.success {
  color: #2ecc71;
  display: block;
}
.newsletter-msg.error {
  color: #e74c3c;
  display: block;
}

@media (max-width: 768px) {
  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter-form {
    width: 100%;
  }
}

/* Disable browser visual search on all images */
img {
  pointer-events: none;
}