/* ═══════════════════════════════════════════════════════════
   DULULU MAGIC — Design System
   Brand Palette:
     Blush Pink  : #F7B8CC
     Pure White  : #FFFFFF
     Dark Plum   : #33232C
     Rose Accent : #E8A0BF
     Mauve       : #674054
   ═══════════════════════════════════════════════════════════ */

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

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --blush  : #F7B8CC;
  --white  : #FFFFFF;
  --plum   : #33232C;
  --rose   : #E8A0BF;
  --mauve  : #674054;
  --blush-light: #FDE8EF;
  --blush-dark : #E89AB0;
  --plum-light : #5C3F4F;
  --gray-50 : #FAF9FB;
  --gray-100: #F3F0F3;
  --gray-200: #E8E3E7;
  --gray-400: #B0A0AB;
  --gray-600: #7A6570;
  --gray-800: #3D2F37;
  --success : #27AE60;
  --error   : #E74C3C;
  --warning : #F39C12;
  --shadow-sm : 0 1px 3px rgba(51,35,44,0.08), 0 1px 2px rgba(51,35,44,0.04);
  --shadow-md : 0 4px 12px rgba(51,35,44,0.1), 0 2px 4px rgba(51,35,44,0.06);
  --shadow-lg : 0 10px 30px rgba(51,35,44,0.12), 0 4px 8px rgba(51,35,44,0.08);
  --shadow-xl : 0 20px 60px rgba(51,35,44,0.15);
  --radius-sm : 6px;
  --radius-md : 12px;
  --radius-lg : 20px;
  --radius-xl : 28px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--plum);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--mauve); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--plum); }

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--plum);
}

/* ── Typography Scale ──────────────────────────────────────── */
.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }

.font-light    { font-weight: 300; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

.text-plum   { color: var(--plum); }
.text-mauve  { color: var(--mauve); }
.text-rose   { color: var(--rose); }
.text-blush  { color: var(--blush); }
.text-muted  { color: var(--gray-600); }
.text-center { text-align: center; }

/* ── Layout ────────────────────────────────────────────────── */
.container     { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm  { max-width: 800px;  margin: 0 auto; padding: 0 1.5rem; }
.container-lg  { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

.section         { padding: 5rem 0; }
.section-sm      { padding: 3rem 0; }
.section-header  { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.25rem; margin-bottom: 0.75rem; }
.section-header p  { color: var(--gray-600); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

.btn-primary {
  background: var(--plum);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--plum-light);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--blush);
  color: var(--plum);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--rose);
  color: var(--plum);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--plum);
  border: 2px solid var(--plum);
}
.btn-outline:hover {
  background: var(--plum);
  color: var(--white);
}

.btn-outline-rose {
  background: transparent;
  color: var(--mauve);
  border: 2px solid var(--rose);
}
.btn-outline-rose:hover {
  background: var(--blush-light);
  color: var(--plum);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; border-radius: var(--radius-lg); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-danger {
  background: var(--error);
  color: #fff;
}
.btn-danger:hover { background: #c0392b; color: #fff; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 0.4rem;
}
.form-label .required { color: var(--error); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--plum);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(232,160,191,0.2);
}
.form-control::placeholder { color: var(--gray-400); }
.form-control.is-invalid { border-color: var(--error); }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(231,76,60,0.15); }

textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2333232C' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-error { color: var(--error); font-size: 0.8rem; margin-top: 0.3rem; }

.form-check { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.form-check input[type="checkbox"], .form-check input[type="radio"] {
  width: 18px; height: 18px; accent-color: var(--mauve); cursor: pointer;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-body { padding: 1.5rem; }
.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 600;
  background: var(--gray-50);
}

/* ── Product Cards ─────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--blush-light);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card-category { font-size: 0.75rem; font-weight: 600; color: var(--mauve); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.35rem; }
.product-card-name { font-size: 1rem; font-weight: 600; color: var(--plum); margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; }
.product-card-price { margin-top: auto; display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.75rem; }
.product-card-price .price { font-size: 1.15rem; font-weight: 700; color: var(--plum); }
.product-card-price .original-price { font-size: 0.875rem; color: var(--gray-400); text-decoration: line-through; }
.product-card-footer { padding: 0 1.25rem 1.25rem; }

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-sale     { background: var(--plum); color: #fff; }
.badge-new      { background: var(--rose); color: var(--plum); }
.badge-featured { background: var(--blush); color: var(--plum); }
.badge-mto      { background: var(--blush-light); color: var(--mauve); }
.badge-oos      { background: var(--gray-200); color: var(--gray-600); }
.badge-success  { background: #d4edda; color: #155724; }
.badge-warning  { background: #fff3cd; color: #856404; }
.badge-danger   { background: #f8d7da; color: #721c24; }
.badge-info     { background: var(--blush-light); color: var(--mauve); }

/* ── Navigation ────────────────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -0.02em;
}
.navbar-brand .brand-tagline {
  font-size: 0.65rem;
  color: var(--mauve);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  line-height: 1;
}

.navbar-search {
  flex: 1;
  max-width: 380px;
  position: relative;
}
.navbar-search input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.75rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.875rem;
  background: var(--gray-50);
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.navbar-search input:focus { outline: none; border-color: var(--rose); background: var(--white); box-shadow: 0 0 0 3px rgba(232,160,191,0.2); }
.navbar-search-icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 0.9rem; }

.navbar-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.navbar-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--plum);
  transition: all var(--transition);
}
.navbar-nav a:hover { background: var(--blush-light); color: var(--mauve); }

.navbar-icon-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--plum);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
  text-decoration: none;
}
.navbar-icon-btn:hover { background: var(--blush-light); color: var(--mauve); }
.navbar-icon-btn .badge-count {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--plum);
  color: #fff;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

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

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--plum);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .brand-name { color: var(--white); font-size: 1.5rem; }
.footer-brand p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; opacity: 0.8; max-width: 280px; }
.footer h4 { color: var(--blush); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; font-family: 'Inter', sans-serif; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--blush); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; opacity: 0.7; }

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blush-light) 0%, var(--white) 60%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(247,184,204,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 600px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blush-light);
  color: var(--mauve);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.1;
  color: var(--plum);
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--mauve); }
.hero-sub { font-size: 1.15rem; color: var(--gray-600); margin-bottom: 2.5rem; max-width: 480px; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Category Cards ────────────────────────────────────────── */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(51,35,44,0.7) 0%, transparent 60%);
  display: flex; align-items: flex-end;
  padding: 1.25rem;
}
.category-card-overlay .name { color: #fff; font-size: 1.1rem; font-weight: 700; font-family: 'Playfair Display', serif; }
.category-card-overlay .count { color: rgba(255,255,255,0.8); font-size: 0.8rem; }

/* ── Alerts / Flash messages ───────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-info    { background: var(--blush-light); color: var(--mauve); border: 1px solid var(--blush); }

/* ── Tables ────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--gray-100); }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
thead tr { background: var(--gray-50); }
th { padding: 0.875rem 1rem; text-align: left; font-weight: 600; color: var(--plum); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--gray-200); }
td { padding: 1rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-800); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--gray-50); }

/* ── WhatsApp Float Button ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.whatsapp-float svg { fill: #fff; width: 28px; height: 28px; }

/* ── Admin Sidebar ─────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 260px;
  background: var(--plum);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar .brand-name { color: #fff; font-size: 1.2rem; }
.admin-sidebar .brand-tagline { color: var(--blush); font-size: 0.65rem; }

.admin-sidebar-nav { padding: 1rem 0; flex: 1; }
.admin-nav-group { margin-bottom: 0.5rem; }
.admin-nav-group-label {
  padding: 0.5rem 1.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-nav-link.active { background: rgba(247,184,204,0.15); color: var(--blush); border-left-color: var(--blush); }
.admin-nav-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.admin-main {
  flex: 1;
  overflow: auto;
  background: var(--gray-50);
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 2rem;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.admin-content { padding: 2rem; }

.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-page-header h1 { font-size: 1.75rem; font-family: 'Inter', sans-serif; font-weight: 700; }

/* ── Stat Cards ────────────────────────────────────────────── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-600); margin-bottom: 0.5rem; }
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--plum); line-height: 1; }
.stat-card .stat-hint  { font-size: 0.8rem; color: var(--gray-400); margin-top: 0.35rem; }

/* ── Pagination ────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.35rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1.5px solid var(--gray-200);
  color: var(--plum);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--rose); color: var(--mauve); background: var(--blush-light); }
.pagination .active span { background: var(--plum); color: #fff; border-color: var(--plum); }
.pagination [aria-disabled="true"] span { opacity: 0.4; }

/* ── Map ───────────────────────────────────────────────────── */
#map {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  z-index: 1;
  border: 1.5px solid var(--gray-200);
}
.leaflet-container { font-family: 'Inter', sans-serif; }

/* ── Empty States ──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state svg { width: 80px; height: 80px; margin: 0 auto 1.5rem; color: var(--blush); }
.empty-state h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--gray-600); margin-bottom: 1.5rem; }

/* ── Image Gallery ─────────────────────────────────────────── */
.gallery-main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--blush-light); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--rose); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Quantity Selector ─────────────────────────────────────── */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qty-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-50);
  border: none; cursor: pointer;
  font-size: 1.2rem; color: var(--plum);
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--blush-light); }
.qty-input {
  width: 50px; text-align: center;
  border: none; outline: none;
  font-size: 0.9rem; font-weight: 600;
  color: var(--plum);
  background: var(--white);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; text-align: left;
  padding: 1.25rem 0;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 600; color: var(--plum);
  font-family: 'Inter', sans-serif;
  gap: 1rem;
}
.faq-question .faq-icon { flex-shrink: 0; transition: transform 0.2s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer.open { padding-bottom: 1.25rem; max-height: 500px; }
.faq-answer p { color: var(--gray-600); line-height: 1.7; }

/* ── Responsive Utilities ──────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-search { display: none; }
  .mobile-menu-toggle { display: flex; }
  .navbar-nav { display: none; }
  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .admin-sidebar { display: none; }
  .hero { padding: 4rem 0 3rem; }
  .section-header h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── Utility ───────────────────────────────────────────────── */
.hidden     { display: none !important; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.text-right { text-align: right; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.relative { position: relative; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.4s ease forwards; }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
