/* ---------- Genvibehome Theme ---------- */
:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f59538;
  --orange-600: #ea7c1c;
  --orange-700: #c2620f;
  --ink-900: #1a1a1a;
  --ink-700: #2d2d2d;
  --ink-500: #5a5a5a;
  --ink-300: #9a9a9a;
  --ink-200: #d4d4d4;
  --ink-100: #ececec;
  --ink-50: #f7f7f7;
  --bg: #ffffff;
  --bg-soft: #fafaf7;
  --whatsapp: #25D366;
  --whatsapp-dark: #1da851;
  --gradient-orange: linear-gradient(135deg, #f9a826 0%, #f47c1f 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-900);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--gradient-orange); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(244, 124, 31, 0.35); }
.btn-outline { background: transparent; color: var(--ink-900); border-color: var(--ink-200); }
.btn-outline:hover { border-color: var(--ink-900); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-danger { background: #e11d48; color: #fff; border-color: #e11d48; }
.btn-danger:hover { background: #be123c; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-100);
  z-index: 100;
}
.header-top {
  background: var(--ink-900);
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 0;
  text-align: center;
}
.header-top a { color: var(--orange-300); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  height: 76px;
  width: auto;
  transition: transform 0.3s ease;
}
.brand:hover img { transform: scale(1.04); }
.brand-name { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--orange-600); }
.main-nav a.active { color: var(--orange-600); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gradient-orange);
}

.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  min-width: 220px;
  padding: 12px;
  display: none;
  z-index: 200;
  border: 1px solid var(--ink-100);
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.dropdown-menu a:hover { background: var(--orange-50); color: var(--orange-700); }

.header-actions { display: flex; gap: 12px; align-items: center; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink-900);
  padding: 4px 8px;
}

/* ---------- Hero / Slider ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.slider {
  position: relative;
}
.slide {
  display: none;
  position: relative;
  min-height: clamp(440px, 72vh, 720px);
  background-size: cover;
  background-position: center;
  transform-origin: center center;
}
.slide.active { display: block; animation: kenburns 14s ease-out forwards, fadeIn 0.9s ease; }
@keyframes kenburns {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.10); }
}
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%);
}
.slide-no-image {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 60%, #fed7aa 100%);
}
.slide-no-image::before { display: none; }
.slide-no-image .slide-content { color: var(--ink-900); }
.slide-no-image .slide-subtitle { color: var(--ink-700); }
.slide-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  min-height: clamp(440px, 72vh, 720px);
  z-index: 2;
}
.slide-eyebrow {
  display: inline-block;
  width: fit-content;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-weight: 600;
  animation: rise 0.9s 0.1s both ease-out;
}
.slide-title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  max-width: 760px;
  color: inherit;
  margin-bottom: 18px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  animation: rise 0.9s 0.25s both ease-out;
}
.slide-subtitle {
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  max-width: 580px;
  margin-bottom: 32px;
  opacity: 0.95;
  font-weight: 400;
  animation: rise 0.9s 0.4s both ease-out;
}
.slide-cta { animation: rise 0.9s 0.55s both ease-out; }
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.slider-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 32px;
  height: 4px;
  background: rgba(255,255,255,0.45);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.slider-dot.active { background: #fff; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.slider-arrow:hover { background: #fff; }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

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

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .slide.active { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-600);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-title p { color: var(--ink-500); margin: 0 auto; max-width: 560px; font-size: 1.05rem; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink-900); color: #fff; }
.section-dark .section-title h2 { color: #fff; }
.section-dark .section-title p { color: rgba(255,255,255,0.75); }
.section-dark .section-title .eyebrow { color: var(--orange-400); }

/* ---------- Why us / Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  text-align: center;
  padding: 12px 8px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange-50);
  color: var(--orange-600);
  margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Lookbook bento ---------- */
.lookbook {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 14px;
}
.lookbook-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink-100);
  display: block;
}
.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.lookbook-item:hover img { transform: scale(1.06); }
.lookbook-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
  opacity: 0; transition: opacity 0.3s;
}
.lookbook-item:hover::after { opacity: 1; }
.lookbook-item span {
  position: absolute;
  left: 20px; bottom: 18px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.lookbook-item:hover span { opacity: 1; transform: translateY(0); }
.lookbook-1 { grid-column: span 2; grid-row: span 2; }
.lookbook-2 { grid-column: span 2; }
.lookbook-3 { grid-column: span 1; }
.lookbook-4 { grid-column: span 1; }

/* ---------- Pull quote ---------- */
.pull-quote {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.pull-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--orange-500);
  margin-bottom: -10px;
}
.pull-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--ink-900);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.pull-quote-author {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}

/* ---------- WhatsApp final CTA ---------- */
.cta-banner {
  background: var(--ink-900);
  color: #fff;
  padding: 80px 24px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(244, 124, 31, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(249, 168, 38, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 560px; margin-inline: auto; }
.cta-banner .btn-whatsapp { box-shadow: 0 12px 32px rgba(37,211,102,0.35); }

/* ---------- Categories grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.cat-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-100);
  transition: transform 0.3s ease;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
}
.cat-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.cat-card-noimg {
  background: var(--gradient-orange);
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--ink-100);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-img {
  aspect-ratio: 1;
  background: var(--ink-50);
  position: relative;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--ink-300);
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--ink-50), var(--ink-100));
}
.product-card-body { padding: 18px 18px 22px; }
.product-card-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-600);
  font-weight: 600;
  margin-bottom: 6px;
}
.product-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  margin: 0 0 6px;
  font-weight: 600;
}
.product-card-desc {
  color: var(--ink-500);
  font-size: 0.85rem;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1.05rem;
}
.product-card-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-orange);
  color: #fff;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Product Detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  padding: 48px 0;
}
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-gallery-main {
  aspect-ratio: 1;
  background: var(--ink-50);
  border-radius: 16px;
  overflow: hidden;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-main .placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: var(--ink-300); background: linear-gradient(135deg, var(--ink-50), var(--ink-100));
}
.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}
.product-gallery-thumbs button {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-50);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.15s;
}
.product-gallery-thumbs button.active { border-color: var(--orange-500); }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info .breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.product-info .breadcrumb a:hover { color: var(--orange-600); }
.product-info h1 { margin-bottom: 12px; }
.product-info .price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--orange-700);
  margin-bottom: 24px;
}
.product-info .short-desc {
  font-size: 1.05rem;
  color: var(--ink-700);
  margin-bottom: 24px;
}
.product-info .description {
  color: var(--ink-700);
  line-height: 1.8;
  margin-bottom: 24px;
}
.product-info .description h2,
.product-info .description h3 { margin-top: 24px; }
.whatsapp-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 16px;
  border: 1px solid #bbf7d0;
}
.whatsapp-cta-text {
  font-size: 0.9rem;
  color: #166534;
  margin: 0;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.88rem;
  color: var(--ink-500);
  border-top: 1px solid var(--ink-100);
  padding-top: 20px;
}
.product-meta span strong { color: var(--ink-900); font-weight: 600; }

/* ---------- Specs table (public product detail) ---------- */
.specs-table {
  margin: 24px 0;
  border-top: 1px solid var(--ink-100);
  padding-top: 24px;
}
.specs-heading {
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 16px;
  font-weight: 600;
}
.specs-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
}
.specs-table th, .specs-table td {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--ink-100);
  vertical-align: top;
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }
.specs-table th {
  width: 38%;
  font-weight: 600;
  color: var(--ink-700);
  background: transparent;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
}
.specs-table td { color: var(--ink-700); }

/* ---------- Specs editor (admin) ---------- */
.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr 36px;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}
.spec-row input {
  padding: 8px 12px;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fff;
  outline: none;
}
.spec-row input:focus { border-color: var(--orange-500); }
.spec-row .spec-remove {
  background: transparent;
  border: 1px solid var(--ink-200);
  color: var(--ink-500);
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  height: 38px;
  line-height: 1;
}
.spec-row .spec-remove:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

/* ---------- Sidebar (products page) ---------- */
.products-page {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 48px 0;
}
.cat-sidebar h3 {
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 16px;
  font-weight: 600;
}
.cat-sidebar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.cat-sidebar a {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--ink-700);
}
.cat-sidebar a:hover { background: var(--orange-50); color: var(--orange-700); }
.cat-sidebar a.active { background: var(--orange-50); color: var(--orange-700); font-weight: 600; }
.search-box {
  display: flex;
  margin-bottom: 24px;
}
.search-box input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--ink-200);
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: 0.9rem;
  outline: none;
}
.search-box input:focus { border-color: var(--orange-500); }
.search-box button {
  padding: 0 18px;
  background: var(--ink-900);
  color: #fff;
  border: 1px solid var(--ink-900);
  border-radius: 0 8px 8px 0;
}

/* ---------- Page (CMS) ---------- */
.page-content {
  padding: 60px 0;
}
.page-content h1 { margin-bottom: 32px; }
.page-content .cms-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-700);
}
.page-content .cms-content h2 {
  margin-top: 40px;
  margin-bottom: 12px;
}
.page-content .cms-content a { color: var(--orange-600); text-decoration: underline; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--ink-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink-700);
}
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=tel],
.form-group input[type=password],
.form-group input[type=number],
.form-group input[type=url],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange-500); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .help { font-size: 0.8rem; color: var(--ink-500); margin-top: 4px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: 16px; height: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { font-size: 0.9rem; color: var(--ink-300); transition: color 0.15s; }
.footer-grid a:hover { color: var(--orange-400); }
.footer-brand img { height: 56px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--ink-300); font-size: 0.9rem; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background 0.15s;
}
.footer-social a:hover { background: var(--orange-600); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-300);
}

/* ---------- WhatsApp floating ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37,211,102,0.45);
  z-index: 90;
  transition: transform 0.2s;
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 28px; height: 28px; }

/* ---------- Flash messages ---------- */
.flash {
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.flash.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash.error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Tables ---------- */
.table-card { background: #fff; border-radius: 14px; border: 1px solid var(--ink-100); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ink-100);
  font-size: 0.92rem;
  vertical-align: middle;
}
.table th {
  background: var(--ink-50);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
}
.table tr:last-child td { border-bottom: none; }
.table img.thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge.active { background: #dcfce7; color: #166534; }
.badge.inactive { background: var(--ink-100); color: var(--ink-500); }
.badge.featured { background: var(--orange-100); color: var(--orange-700); }

/* ---------- Admin layout ---------- */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar .brand-link {
  display: flex; align-items: center; gap: 12px;
  padding: 0 8px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.admin-sidebar .brand-link img { height: 36px; filter: brightness(0) invert(1); }
.admin-sidebar .brand-link span {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}
.admin-nav { display: flex; flex-direction: column; gap: 4px; list-style: none; padding: 0; margin: 0; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-300);
  transition: background 0.15s, color 0.15s;
}
.admin-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-nav a.active { background: var(--gradient-orange); color: #fff; }
.admin-nav .nav-icon { width: 18px; height: 18px; flex-shrink: 0; }
.admin-nav .group-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-300);
  padding: 16px 14px 6px;
  opacity: 0.6;
}

.admin-main { background: var(--bg-soft); }
.admin-topbar {
  background: #fff;
  padding: 16px 32px;
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-topbar h1 { font-family: inherit; font-size: 1.3rem; margin: 0; }
.admin-topbar .right { display: flex; gap: 12px; align-items: center; }
.admin-topbar .user-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink-50);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.admin-content { padding: 32px; }

/* ---------- Stats grid ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--ink-100);
}
.stat-card .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); margin-bottom: 8px; }
.stat-card .value { font-size: 2rem; font-weight: 700; color: var(--ink-900); font-family: 'Playfair Display', serif; }
.stat-card.accent { background: var(--gradient-orange); color: #fff; border-color: transparent; }
.stat-card.accent .label { color: rgba(255,255,255,0.85); }
.stat-card.accent .value { color: #fff; }

/* ---------- Login page ---------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}
.login-card {
  background: #fff;
  width: 100%;
  max-width: 400px;
  padding: 36px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.login-card .brand-link {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 32px;
}
.login-card .brand-link img { height: 56px; }
.login-card h1 { text-align: center; font-size: 1.5rem; margin-bottom: 24px; }

/* ---------- Image preview / chips ---------- */
.image-preview {
  width: 200px; height: 130px;
  border-radius: 10px;
  background: var(--ink-50);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--ink-200);
  margin-bottom: 8px;
}
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-preview .empty { color: var(--ink-300); font-size: 0.85rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ink-100);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .gallery-del {
  position: absolute;
  top: 6px; right: 6px;
}
.gallery-item button {
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed var(--ink-200);
  color: var(--ink-500);
}

.actions-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; gap: 12px; flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .products-page { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; padding: 16px; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .features { grid-template-columns: 1fr; gap: 32px; max-width: 460px; margin: 0 auto; }
  .lookbook { grid-template-columns: repeat(2, 1fr); grid-template-rows: 240px 240px 240px; gap: 10px; }
  .lookbook-1 { grid-column: span 2; grid-row: span 1; }
  .lookbook-2, .lookbook-3, .lookbook-4 { grid-column: span 1; grid-row: span 1; }
  .cta-banner { padding: 56px 24px; border-radius: 16px; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow);
    align-items: flex-start;
  }
  .brand img { height: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 64px 0; }
  .slider-arrow { display: none; }
  .admin-content { padding: 20px 16px; }
  .slide-content { padding: 60px 24px; }
}
