/* ============================================
   TOQUE DE FADA - ROSE GOLD ELEGANCE
   Complete Design System - 2026
   ============================================ */

/* Block pinch-zoom on mobile */
html {
  touch-action: manipulation;
}

:root {
  /* === WARM BLUSH PALETTE (based on logo) === */
  --primary: #C4879A;
  --primary-mid: #B06B7E;
  --primary-light: #DAADB8;
  --primary-soft: #F0D0D0;
  --primary-pale: #F9F0F0;
  --accent: #8B5A2B;
  --accent-light: #A67B52;
  --accent-pale: #F5EDE4;
  --bg: #FDF9F8;
  --bg-alt: #F9F3F0;
  --surface: #FFFFFF;
  --text-dark: #3B2218;
  --text: #5E4438;
  --text-muted: #9A857B;
  --text-light: #B0A296;
  --border: #F0E4DE;
  --border-light: #F7F0EC;
  --shadow-sm: 0 1px 4px rgba(59,34,24,0.05);
  --shadow-md: 0 4px 20px rgba(59,34,24,0.06);
  --shadow-lg: 0 12px 40px rgba(59,34,24,0.07);
  --shadow-xl: 0 20px 50px rgba(59,34,24,0.09);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Legacy variable aliases for JS/admin compatibility */
  --rosa-quente: #C4879A;
  --rosa-intenso: #B06B7E;
  --rosa-claro: #F9F0F0;
  --rosa-suave: #F0D0D0;
  --off-white: #FDF9F8;
  --branco: #FFFFFF;
  --texto-dark: #3B2218;
  --texto-medium: #5E4438;
  --texto-light: #9A857B;
  --borda-suave: #F0E4DE;
  --sombra-suave: rgba(59,34,24,0.05);
  --gradient-rose: linear-gradient(135deg, #C4879A, #B06B7E);
  --gradient-pink-soft: linear-gradient(135deg, #F9F0F0, #F0E4DE);
  --rose-gold: #8B5A2B;
  --rose-gold-light: #A67B52;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET + BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 72px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-delayed { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sparkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hero-particle { 0% { opacity: 0; transform: translateY(0) scale(0); } 20% { opacity: 0.6; } 80% { opacity: 0.3; } 100% { opacity: 0; transform: translateY(-200px) scale(1); } }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalInMobile { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounceIn { 0% { transform: scale(0.3); opacity: 0; } 50% { transform: scale(1.05); } 70% { transform: scale(0.9); } 100% { transform: scale(1); opacity: 1; } }


/* Reveal animations */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.9); }
.reveal.revealed, .reveal-left.revealed, .reveal-right.revealed, .reveal-scale.revealed {
  opacity: 1;
  transform: none;
}
.stagger-children > * { transition-delay: calc(var(--i, 0) * 0.08s); }

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
  background: var(--primary-pale);
  color: var(--primary-mid);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border);
}
.promo-text { margin: 0; }
.section-container { max-width: 1260px; margin: 0 auto; padding: 0 28px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}
.header-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-spring);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.logo:hover .logo-icon { transform: scale(1.08); }
.logo-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.01em;
}
.logo-text p {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 6px;
}
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
  position: relative;
  letter-spacing: 0.01em;
}
.nav-link:hover {
  color: var(--primary);
  background: var(--primary-pale);
}
.nav-link.active {
  color: var(--primary);
  background: var(--primary-pale);
  font-weight: 600;
}
.nav-link--highlight {
  color: var(--accent) !important;
}
.nav-link--highlight:hover,
.nav-link--highlight.active {
  background: var(--accent-pale) !important;
  color: var(--accent) !important;
}

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
  position: relative;
}
.icon-btn:hover {
  background: var(--bg-alt);
  color: var(--primary);
}
.icon-btn svg { width: 20px; height: 20px; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: flex; } }
.icon-btn--menu { display: flex; }
@media (min-width: 1024px) { .icon-btn--menu { display: none; } }

.cart-badge, .wishlist-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-badge.bounce { animation: bounceIn 0.4s var(--ease); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s var(--ease);
}
.mobile-menu a:hover {
  background: var(--primary-pale);
  color: var(--primary);
  padding-left: 36px;
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
}
.search-overlay.open {
  display: flex;
  animation: fadeIn 0.2s var(--ease);
}
.search-container {
  width: 100%;
  max-width: 640px;
  padding: 100px 20px 20px;
  position: relative;
}
.search-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  animation: fadeDown 0.3s var(--ease);
}
.search-input-wrap {
  position: relative;
}
.search-input-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-light);
}
.search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg);
  transition: border-color 0.2s var(--ease);
  outline: none;
}
.search-input:focus { border-color: var(--primary-soft); }
.search-input::placeholder { color: var(--text-light); }
.search-hint {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center;
}
.search-hint kbd {
  background: var(--bg-alt);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.68rem;
  border: 1px solid var(--border);
}
.search-results {
  margin-top: 16px;
  max-height: 360px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.search-result-item:hover { background: var(--bg); }
.search-result-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-result-icon img { width: 100%; height: 100%; object-fit: cover; }
.search-result-icon svg { width: 20px; height: 20px; color: var(--primary); }
.search-result-info h4 { font-weight: 600; color: var(--text-dark); font-size: 0.88rem; }
.search-result-info .search-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.search-result-info .search-category { font-size: 0.72rem; color: var(--text-light); }
.search-result-info .search-price { font-size: 0.82rem; font-weight: 700; color: var(--primary); }
.search-close-btn {
  position: absolute;
  top: 82px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease);
}
.search-close-btn:hover { background: var(--primary-pale); transform: rotate(90deg); }
.search-empty { text-align: center; padding: 30px 0; color: var(--text-light); }
.search-empty svg { width: 48px; height: 48px; margin: 0 auto 12px; opacity: 0.4; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: var(--surface);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(160deg, transparent 0%, var(--primary-pale) 100%);
  pointer-events: none;
  opacity: 0.6;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-pale) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}
@media (min-width: 1024px) { .hero { padding: 100px 0 120px; } }

.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: hero-particle 6s infinite;
  box-shadow: 0 0 6px rgba(201,168,108,0.15);
  opacity: 0.6;
}

.hero-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  padding: 8px 0;
  border-radius: 0;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: 28px;
  border: none;
  border-bottom: 1px solid var(--accent-light);
  text-transform: uppercase;
}
.hero-badge .dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: sparkle 3s infinite;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 480px) { .hero-actions { flex-direction: row; gap: 14px; } }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-light);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #F9F0F2 0%, #F3E6EB 40%, #EDE0E5 100%);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(196,135,154,0.12);
}
.hero-image-container::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.5);
  z-index: 1;
  pointer-events: none;
}
.hero-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-inner img#hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-image-inner svg {
  width: 120px;
  height: 120px;
  color: rgba(255,255,255,0.6);
  animation: float 6s ease-in-out infinite;
}

.hero-float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float-delayed 6s ease-in-out infinite;
  z-index: 2;
  border: 1px solid var(--border);
}
.hero-float-card--top { top: 10%; right: -10%; animation-delay: 0.5s; }
.hero-float-card--bottom { bottom: 15%; left: -10%; animation-delay: 1.5s; }
.float-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-card-icon--gold { background: var(--accent-pale); color: var(--accent); }
.float-card-icon--rose { background: var(--primary-pale); color: var(--primary); }
.float-card-text { font-size: 0.75rem; font-weight: 600; color: var(--text-dark); line-height: 1.3; }
.float-card-text span { display: block; font-weight: 400; color: var(--text-light); font-size: 0.65rem; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: var(--primary);
  color: white;
  border-radius: 6px;
}
.btn-primary:hover {
  background: var(--primary-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196,135,154,0.2);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-dark);
  border-radius: 6px;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-pale);
}

.btn-block { width: 100%; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: 32px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}
.trust-grid {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-pale);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}
.trust-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 1px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section-header {
  margin-bottom: 48px;
}
.section-header--center { text-align: center; }
.section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-header--center .section-label { justify-content: center; }
.section-label::before,
.section-label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 560px;
}
.section-header--center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ============================================
   CATEGORY CAROUSEL
   ============================================ */
.cat-carousel-section {
  padding: 8px 0 28px;
  background: transparent;
}
.cat-carousel-wrapper {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 52px;
}
.cat-carousel-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 4px 8px;
  cursor: grab;
}
.cat-carousel-track::-webkit-scrollbar { display: none; }

.cat-carousel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 8px 20px 8px 8px;
  border-radius: 100px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative;
  min-height: 52px;
}
.cat-carousel-item:hover {
  border-color: var(--primary-soft);
  background: var(--primary-pale);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.cat-carousel-item.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(196,135,154,0.08), rgba(201,168,108,0.06));
  box-shadow: 0 4px 16px rgba(196,135,154,0.15);
}

.cat-carousel-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s var(--ease);
  position: relative;
}
.cat-carousel-item.active .cat-carousel-circle {
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(196,135,154,0.2);
}
.cat-carousel-item:hover .cat-carousel-circle {
  transform: scale(1.05);
}
.cat-carousel-circle-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-carousel-circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Icon style for category fallbacks */
.cat-carousel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.cat-carousel-icon svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: color 0.3s var(--ease);
}
.cat-carousel-item:hover .cat-carousel-icon svg {
  color: var(--primary-mid);
}
.cat-carousel-item.active .cat-carousel-icon svg {
  color: white;
}

.cat-carousel-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
  line-height: 1;
}
.cat-carousel-item:hover .cat-carousel-name { color: var(--primary-mid); }
.cat-carousel-item.active .cat-carousel-name {
  color: var(--primary-mid);
  font-weight: 600;
}

/* Category count badge */
.cat-carousel-count {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--border-light);
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 2px;
  transition: all 0.25s var(--ease);
  line-height: 1.3;
}
.cat-carousel-item.active .cat-carousel-count {
  background: var(--primary);
  color: white;
}
.cat-carousel-item:hover .cat-carousel-count {
  background: var(--primary-soft);
  color: var(--primary-mid);
}

.cat-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  z-index: 5;
}
.cat-carousel-arrow:hover {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.cat-carousel-arrow svg { width: 15px; height: 15px; }
.cat-carousel-arrow--left { left: 6px; }
.cat-carousel-arrow--right { right: 6px; }

/* Mobile categories */
@media (max-width: 767px) {
  .cat-carousel-wrapper { padding: 0 12px; }
  .cat-carousel-track { justify-content: flex-start; gap: 8px; padding: 4px 2px 6px; }
  .cat-carousel-item { padding: 6px 14px 6px 6px; min-height: 44px; }
  .cat-carousel-circle { width: 32px; height: 32px; }
  .cat-carousel-icon { width: 17px; height: 17px; }
  .cat-carousel-icon svg { width: 15px; height: 15px; }
  .cat-carousel-name { font-size: 0.72rem; }
  .cat-carousel-arrow { display: none; }
  .cat-carousel-count { font-size: 0.58rem; padding: 2px 5px; }
}

/* ============================================
   FILTERS BAR
   ============================================ */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-group {
  position: relative;
}

/* Sort & Price toggle buttons */
.filter-sort-btn,
.filter-price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: inherit;
  white-space: nowrap;
}
.filter-sort-btn:hover,
.filter-price-toggle:hover {
  border-color: var(--primary-soft);
  color: var(--text-dark);
  background: var(--primary-pale);
}
.filter-sort-btn.active,
.filter-price-toggle.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-pale);
}
.filter-chevron {
  transition: transform 0.25s var(--ease);
  opacity: 0.5;
}
.filter-sort-btn.active .filter-chevron,
.filter-price-toggle.active .filter-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  padding: 6px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s var(--ease);
}
.filter-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Sort dropdown items */
.filter-dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s var(--ease);
  font-family: inherit;
}
.filter-dropdown-item:hover {
  background: var(--primary-pale);
  color: var(--text-dark);
}
.filter-dropdown-item.active {
  background: var(--primary-pale);
  color: var(--primary);
  font-weight: 600;
}

/* Price dropdown */
.filter-price-dropdown {
  min-width: 280px;
  padding: 18px 20px;
}

.price-range-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.price-range-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
}
.price-range-sep {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 0.8rem;
}

/* Dual range slider */
.price-range-track {
  position: relative;
  height: 6px;
  margin: 10px 0 18px;
  border-radius: 3px;
  background: var(--border);
}
.price-range-fill {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  pointer-events: none;
  transition: left 0.05s, right 0.05s;
}

.price-slider {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 2.5px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: grab;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
}
.price-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}
.price-slider::-moz-range-thumb {
  pointer-events: all;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 2.5px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: grab;
}

/* Quick price buttons */
.price-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.price-quick {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}
.price-quick:hover {
  border-color: var(--primary-soft);
  background: var(--primary-pale);
  color: var(--primary);
}
.price-quick.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Active filters count */
.filter-active-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-pale);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
.filter-active-count span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
}
.filter-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.15s var(--ease);
  padding: 0;
}
.filter-clear-btn:hover {
  background: var(--primary);
  color: white;
}

/* Results count */
.filter-results-count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.35s var(--ease);
  position: relative;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border-color: var(--border);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.product-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-image-inner { transform: scale(1.05); }
.product-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image-inner svg {
  width: 48px;
  height: 48px;
  color: var(--primary-soft);
  opacity: 0.4;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 6px;
  z-index: 2;
  text-transform: uppercase;
}
.product-badge--new {
  background: var(--text-dark);
  color: white;
}
.product-badge--sale {
  background: var(--accent);
  color: white;
}

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.25s var(--ease);
  color: var(--text-light);
}
.product-wishlist:hover { background: white; color: var(--accent); transform: scale(1.1); }
.product-wishlist.active { color: var(--accent); }
.product-wishlist.active svg { fill: var(--accent); }
.product-wishlist svg { width: 16px; height: 16px; }

.product-info { padding: 16px 18px 20px; }
.product-category-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.product-rating svg, .mini-stars svg {
  width: 12px;
  height: 12px;
  fill: #F59E0B;
  color: #F59E0B;
}
.mini-stars {
  color: #F59E0B;
  font-size: 0.8rem;
  letter-spacing: 1px;
}
.star-half { clip-path: inset(0 50% 0 0); }
.product-rating span {
  font-size: 0.68rem;
  color: var(--text-light);
  margin-left: 2px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price-old {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 0.76rem;
  margin-right: 6px;
}
.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.product-add-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--text-dark);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}
.product-add-btn:hover {
  background: var(--primary);
  transform: scale(1.05);
}
.product-add-btn svg { width: 16px; height: 16px; }

.products-no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
  font-size: 0.95rem;
}

/* ============================================
   PRODUCT MODAL — PREMIUM REDESIGN
   ============================================ */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
}
.product-modal.open { display: flex; }
.product-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,8,18,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.product-modal-content {
  position: relative;
  z-index: 1;
  margin: auto;
  width: 95%;
  max-width: 1020px;
  max-height: 92vh;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0,0,0,0.2),
    0 10px 30px rgba(0,0,0,0.12),
    0 0 0 1px rgba(0,0,0,0.04);
  animation: modalIn 0.25s ease;
}

/* Close */
.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.product-modal-close:hover {
  background: var(--text-dark);
  color: #fff;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.product-modal-close svg { width: 18px; height: 18px; }

/* Grid layout */
.product-modal-grid {
  display: grid;
}
@media (min-width: 768px) {
  .product-modal-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Gallery ---- */
.product-gallery {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #f8f5f2 0%, #f0ece8 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-gallery:hover img { transform: scale(1.03); }

.product-gallery-thumbs {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  padding: 6px 10px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.gallery-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.gallery-thumb.active, .gallery-thumb:hover {
  opacity: 1;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196,135,154,0.25);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-zoom-hint {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.gallery-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
}
.gallery-badge .badge-discount {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(239,68,68,0.3);
}

.gallery-counter {
  position: absolute;
  bottom: 70px;
  right: 16px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 3;
  letter-spacing: 0.5px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.25s ease;
  color: var(--text-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  opacity: 0;
}
.product-gallery:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover {
  background: var(--text-dark);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.gallery-nav svg { width: 18px; height: 18px; }
.gallery-nav--prev { left: 14px; }
.gallery-nav--next { right: 14px; }

/* ---- Info panel ---- */
.product-modal-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pm-info-scroll {
  padding: 32px 32px 28px;
  overflow-y: auto;
  max-height: 92vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.1) transparent;
}
.pm-info-scroll::-webkit-scrollbar { width: 4px; }
.pm-info-scroll::-webkit-scrollbar-track { background: transparent; }
.pm-info-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 2px; }

.pm-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.product-modal-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  background: var(--primary-pale);
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
}
.pm-wishlist-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.pm-wishlist-btn:hover {
  color: #ef4444;
  border-color: #fecaca;
  background: #fef2f2;
  transform: scale(1.1);
}
.pm-wishlist-btn.active {
  color: #ef4444;
  background: #fef2f2;
  border-color: #fecaca;
}
.pm-wishlist-btn.active svg { fill: #ef4444; }

.product-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 12px;
  margin-top: 8px;
}

.product-modal-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.product-modal-rating .stars {
  font-size: 0.92rem;
  color: #F59E0B;
  letter-spacing: 2px;
}
.product-modal-rating span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-modal-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.modal-old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.modal-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}
.modal-price-discount {
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 3px 10px;
  border-radius: 100px;
}

.pm-installments {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pm-installments strong {
  color: var(--text-dark);
  font-weight: 600;
}

.pm-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 16px 0;
}

.product-modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Purchase section */
.pm-purchase-section {
  margin-top: 4px;
}

.product-modal-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.product-modal-qty label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.qty-btn {
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.qty-btn:hover { background: var(--primary-pale); color: var(--primary); }
.qty-btn:active { transform: scale(0.92); }
.qty-value {
  width: 48px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  line-height: 42px;
}

/* Coupon */
.coupon-section { margin-bottom: 16px; }
.coupon-input-wrap {
  display: flex;
  gap: 0;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  transition: border-color 0.2s;
}
.coupon-input-wrap:focus-within { border-color: var(--primary-soft); }
.coupon-icon {
  margin-left: 14px;
  color: var(--text-light);
  flex-shrink: 0;
}
.coupon-input {
  flex: 1;
  padding: 11px 12px;
  border: none;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--text-dark);
  background: transparent;
  outline: none;
}
.coupon-apply-btn {
  padding: 11px 18px;
  background: var(--text-dark);
  color: white;
  border: none;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  white-space: nowrap;
}
.coupon-apply-btn:hover { background: var(--primary); }
.coupon-msg {
  font-size: 0.76rem;
  margin-top: 6px;
}
.coupon-error { color: #DC2626; }
.coupon-success { color: #059669; }

/* Action buttons */
.product-modal-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.pm-add-cart-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(196,135,154,0.25);
  position: relative;
  overflow: hidden;
}
.pm-add-cart-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.pm-add-cart-btn:hover::after { transform: translateX(100%); }
.pm-add-cart-btn:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,135,154,0.35);
}
.pm-add-cart-btn:active { transform: scale(0.98) translateY(0); }

.pm-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  border: none;
  border-radius: 14px;
  background: #25D366;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.2);
  white-space: nowrap;
}
.pm-whatsapp-btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.3);
}

/* Reviews */
.product-modal-reviews {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.product-modal-reviews h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-modal-reviews h4 svg { color: var(--primary); }
.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.review-item {
  padding: 16px 18px;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.review-item:hover { border-color: var(--primary-soft); }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-pale), var(--primary-soft));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
}
.review-author { font-weight: 600; font-size: 0.82rem; color: var(--text-dark); }
.review-stars { font-size: 0.76rem; color: #F59E0B; letter-spacing: 1px; }
.review-date { font-size: 0.68rem; color: var(--text-muted); margin-left: auto; }
.review-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.no-reviews {
  text-align: center;
  padding: 28px;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: var(--bg);
  border-radius: 14px;
  border: 1px dashed var(--border);
}

/* Review Form */
.review-form-wrap {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.review-form-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.review-form-login-msg p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  padding: 16px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px dashed var(--border);
}
.review-form-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.review-star {
  font-size: 1.4rem;
  color: var(--border);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  user-select: none;
}
.review-star:hover,
.review-star.active {
  color: #F59E0B;
  transform: scale(1.15);
}
.review-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.82rem;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.review-form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196,135,154,0.1);
}
.review-form-submit {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  font-size: 0.82rem;
}
.review-form-msg {
  font-size: 0.78rem;
  margin-top: 8px;
  text-align: center;
}
.review-form-msg.success { color: #16a34a; }
.review-form-msg.error { color: #dc2626; }

/* ============================================
   CART DRAWER
   ============================================ */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: none;
  pointer-events: none;
}
.cart-drawer.open { display: block; pointer-events: all; }
.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s var(--ease);
}
.cart-drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  box-shadow: -8px 0 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  animation: slideRight 0.3s var(--ease);
  transform-origin: right;
}
.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}
.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  color: var(--text);
}
.cart-drawer-close:hover { background: var(--primary-pale); color: var(--primary); }
.cart-drawer-close svg { width: 18px; height: 18px; }

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  text-align: center;
  color: var(--text-light);
}
.cart-empty svg { width: 48px; height: 48px; margin-bottom: 14px; opacity: 0.3; }
.cart-empty p { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cart-empty span { font-size: 0.82rem; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.qty-btn-sm {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.qty-btn-sm:hover { background: var(--bg); }
.cart-item-qty span {
  width: 28px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 30px;
}
.cart-item-remove {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  background: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cart-item-remove:hover { background: #FEE2E2; color: #DC2626; }
.cart-item-remove svg { width: 14px; height: 14px; }

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.cart-coupon-section { margin-bottom: 16px; }
.cart-coupon-wrap { display: flex; gap: 8px; }

/* ---- Shipping Calculator ---- */
.cart-shipping-section { margin-bottom: 16px; }
.cart-shipping-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.cart-shipping-input-wrap {
  display: flex;
  gap: 8px;
}
.cart-cep-input {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-dark);
  background: var(--surface);
  transition: border-color 0.2s;
  outline: none;
}
.cart-cep-input:focus { border-color: var(--primary); }
.cart-cep-input--error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
  animation: cepShake 0.4s ease;
}
@keyframes cepShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.cart-cep-input::placeholder { color: var(--text-light); }
.cart-cep-btn {
  padding: 9px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.cart-cep-btn:hover { background: var(--primary-mid); }
.cart-cep-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.cart-cep-link {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--primary);
  text-decoration: underline;
  margin-top: 6px;
}
.cart-shipping-results {
  margin-top: 10px;
}
.shipping-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface);
}
.shipping-option:hover { border-color: var(--primary-soft); background: var(--bg-alt); }
.shipping-option.selected {
  border-color: var(--primary);
  background: rgba(196,135,154,0.06);
}
.shipping-option-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.shipping-option-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}
.shipping-option-days {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.shipping-option-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}
.shipping-option-price.free {
  color: #059669;
}
.shipping-error {
  font-size: 0.75rem;
  color: #DC2626;
  margin-top: 6px;
}
.cart-shipping-row { color: var(--text-muted); }

/* ---- Admin Shipping Settings ---- */
.adm-shipping-regions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.adm-shipping-region-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 1fr 1fr;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.06);
}
.adm-shipping-region-row .region-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
}
.adm-shipping-region-row input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-family: inherit;
}
.adm-shipping-region-row input:focus {
  border-color: #818cf8;
  outline: none;
}
.adm-shipping-region-row label {
  font-size: 0.62rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 2px;
}
@media (max-width: 768px) {
  .adm-shipping-region-row {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .adm-shipping-region-row .region-name {
    grid-column: 1 / -1;
  }
}

.cart-summary { margin-bottom: 16px; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.cart-discount-row { color: #059669; }
.discount-value { font-weight: 600; }
.cart-total-row {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

/* ============================================
   KITS CAROUSEL
   ============================================ */
.kits-carousel-section {
  padding: 60px 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.kits-carousel-wrapper {
  position: relative;
  margin: 0 -16px;
  overflow: hidden;
}
.kits-carousel-track {
  display: flex;
  gap: 20px;
  padding: 10px 40px 20px;
  width: max-content;
}
.kits-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  color: var(--text);
}
.kits-carousel-nav:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(224,130,158,0.2);
}
.kits-carousel-nav svg { width: 20px; height: 20px; }
.kits-carousel-nav--prev { left: 4px; }
.kits-carousel-nav--next { right: 4px; }

.kit-carousel-card {
  flex: 0 0 280px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.kit-carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.kit-carousel-img {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.kit-carousel-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kit-carousel-img-inner img { width: 100%; height: 100%; object-fit: cover; }
.kit-carousel-img-inner svg { width: 60px; height: 60px; color: var(--primary-soft); opacity: 0.4; }
.kit-carousel-img .product-badge { position: absolute; top: 10px; left: 10px; }

.kit-carousel-info { padding: 16px 18px 20px; }
.kit-carousel-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.kit-carousel-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  min-height: 32px;
}
.kit-carousel-prices {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.kit-carousel-prices .product-price { font-size: 1.1rem; }
.kit-carousel-prices .product-price-old { font-size: 0.8rem; }
.kit-carousel-btn {
  width: 100%;
  padding: 11px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.02em;
}
.kit-carousel-btn:hover {
  background: var(--primary-mid);
  transform: scale(1.02);
}

/* ============================================
   OFFERS SECTION
   ============================================ */
.offer-section {
  padding: 90px 0 80px;
  background: linear-gradient(135deg, #F9E8ED 0%, #F2D1DA 20%, #EBB8C6 40%, #F0C5D0 60%, #F2D1DA 80%, #F9E8ED 100%);
  color: #3B2218;
  position: relative;
  overflow: hidden;
}

/* ---- Shimmer sweep ---- */
.offer-bg-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255,255,255,0.35) 35%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.35) 65%,
    transparent 80%
  );
  background-size: 200% 100%;
  animation: offerShimmer 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes offerShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Floating sparkle particles ---- */
.offer-bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.offer-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(196,135,154,0.7) 0%, transparent 70%);
  border-radius: 50%;
  animation: offerFloat linear infinite;
  opacity: 0;
}
.offer-particle--1  { left: 5%;  top: 20%; width: 3px; height: 3px; animation-duration: 7s;  animation-delay: 0s; }
.offer-particle--2  { left: 15%; top: 60%; width: 5px; height: 5px; animation-duration: 9s;  animation-delay: 1.2s; }
.offer-particle--3  { left: 25%; top: 10%; width: 4px; height: 4px; animation-duration: 8s;  animation-delay: 0.5s; }
.offer-particle--4  { left: 40%; top: 80%; width: 3px; height: 3px; animation-duration: 10s; animation-delay: 2s; }
.offer-particle--5  { left: 55%; top: 30%; width: 5px; height: 5px; animation-duration: 7.5s; animation-delay: 0.8s; }
.offer-particle--6  { left: 65%; top: 70%; width: 4px; height: 4px; animation-duration: 8.5s; animation-delay: 1.5s; }
.offer-particle--7  { left: 75%; top: 15%; width: 3px; height: 3px; animation-duration: 9.5s; animation-delay: 3s; }
.offer-particle--8  { left: 85%; top: 50%; width: 5px; height: 5px; animation-duration: 6.5s; animation-delay: 0.3s; }
.offer-particle--9  { left: 92%; top: 85%; width: 4px; height: 4px; animation-duration: 8s;  animation-delay: 2.5s; }
.offer-particle--10 { left: 35%; top: 45%; width: 3px; height: 3px; animation-duration: 11s; animation-delay: 1s; }
.offer-particle--11 { left: 50%; top: 5%;  width: 6px; height: 6px; animation-duration: 7s;  animation-delay: 4s; }
.offer-particle--12 { left: 10%; top: 90%; width: 4px; height: 4px; animation-duration: 9s;  animation-delay: 3.5s; }

@keyframes offerFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-120px) scale(1.2); }
}

/* ---- Glowing rose orbs ---- */
.offer-bg-rose {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  will-change: opacity;
  contain: strict;
}
.offer-bg-rose--1 {
  width: 400px;
  height: 400px;
  top: -15%;
  right: -5%;
  background: radial-gradient(circle, rgba(196,135,154,0.25) 0%, rgba(196,135,154,0.08) 50%, transparent 70%);
  animation: offerOrb1 10s ease-in-out infinite alternate;
}
.offer-bg-rose--2 {
  width: 350px;
  height: 350px;
  bottom: -10%;
  left: -3%;
  background: radial-gradient(circle, rgba(176,107,126,0.22) 0%, rgba(176,107,126,0.06) 50%, transparent 70%);
  animation: offerOrb2 12s ease-in-out infinite alternate;
}
.offer-bg-rose--3 {
  width: 250px;
  height: 250px;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 60%);
  animation: offerOrb3 8s ease-in-out infinite alternate;
}
@keyframes offerOrb1 {
  0%   { opacity: 0.5; transform: translate(0, 0) scale(1); }
  100% { opacity: 1;   transform: translate(-30px, 20px) scale(1.2); }
}
@keyframes offerOrb2 {
  0%   { opacity: 0.4; transform: translate(0, 0) scale(1); }
  100% { opacity: 0.9; transform: translate(25px, -15px) scale(1.15); }
}
@keyframes offerOrb3 {
  0%   { opacity: 0.3; transform: translateX(-50%) scale(0.9); }
  100% { opacity: 0.7; transform: translateX(-50%) scale(1.3); }
}

/* ---- Diagonal line pattern overlay ---- */
.offer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(176,107,126,0.06) 40px,
      rgba(176,107,126,0.06) 41px
    );
  pointer-events: none;
  z-index: 0;
}

/* ---- Top & bottom luminous edge lines ---- */
.offer-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(176,107,126,0.18) 0%, transparent 3%),
    linear-gradient(0deg,   rgba(176,107,126,0.15) 0%, transparent 3%);
  pointer-events: none;
  z-index: 0;
}

.offer-section-header { text-align: center; margin-bottom: 45px; position: relative; z-index: 1; }
.offer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--primary-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.offer-label::before, .offer-label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176,107,126,0.5), transparent);
}
.offer-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #3B2218;
  margin-bottom: 12px;
}
.offer-section-subtitle {
  font-size: 0.92rem;
  color: #5E4438;
}

.offers-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 20px;
  z-index: 1;
}
.offers-carousel-track {
  display: flex;
  gap: 20px;
  padding: 10px 0 20px;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
.offers-carousel-track:active {
  cursor: grabbing;
}
.offer-carousel-card {
  flex: 0 0 300px;
  background: var(--surface);
  border: 1px solid rgba(176,107,126,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  box-shadow: 0 4px 20px rgba(176,107,126,0.10);
}
.offer-carousel-card:hover {
  transform: translateY(-8px);
  border-color: rgba(196,135,154,0.3);
  box-shadow: 0 16px 40px rgba(176,107,126,0.18), 0 0 20px rgba(196,135,154,0.12);
}
.offer-card-img {
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
}
.offer-card-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.offer-card-img svg { width: 48px; height: 48px; color: var(--primary-soft); }
.offer-card-content { padding: 20px; }
.offer-card-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.offer-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.offer-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  min-height: 34px;
}
.offer-card-prices { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.offer-card-old-price {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 0.85rem;
}
.offer-card-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}
.offer-card-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.offer-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.04em;
}
.offer-card-btn:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(196,135,154,0.35);
}
.offer-card-btn svg { width: 14px; height: 14px; }

/* ---- Offer Section: Mobile Performance ---- */
@media (max-width: 768px) {
  /* Remove heavy blur on mobile GPUs */
  .offer-bg-rose { display: none; }
  /* Reduce particles to 4 on mobile */
  .offer-particle--5,
  .offer-particle--6,
  .offer-particle--7,
  .offer-particle--8,
  .offer-particle--9,
  .offer-particle--10,
  .offer-particle--11,
  .offer-particle--12 { display: none; }
  /* Simplify shimmer */
  .offer-bg-shimmer { animation-duration: 10s; }
  /* Simpler background for mobile */
  .offer-section::before { display: none; }
  .offer-section { padding: 60px 0 50px; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .offer-bg-shimmer,
  .offer-particle,
  .offer-bg-rose { animation: none !important; }
  .offer-bg-shimmer { display: none; }
  .offer-bg-particles { display: none; }
  .offers-carousel-track { transition: none; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  position: relative;
  transition: all 0.35s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  color: var(--accent-pale);
  line-height: 1;
  pointer-events: none;
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 0.85rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-author-info .name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
}
.testimonial-author-info .location {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item.open {
  border-color: var(--primary-soft);
  box-shadow: 0 4px 16px rgba(224,130,158,0.06);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s var(--ease);
}
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  padding: 0 22px 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; }
}
.contact-form {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(224,130,158,0.06);
}
.form-group textarea { resize: vertical; }
.contact-success {
  display: none;
  text-align: center;
  padding: 24px 0;
  color: #059669;
}
.contact-success svg { width: 42px; height: 42px; margin: 0 auto 10px; }
.contact-success p { font-weight: 600; font-size: 1rem; }
.contact-success span { font-size: 0.82rem; color: var(--text-muted); }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.25s var(--ease);
}
.contact-info-card:hover {
  border-color: var(--primary-soft);
  box-shadow: var(--shadow-sm);
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.contact-info-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.contact-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--primary);
  transition: opacity 0.2s;
}
.contact-link:hover { opacity: 0.7; }
.contact-response {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  padding: 80px 0;
  background: var(--bg-alt);
  color: var(--text-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
}
.newsletter-icon svg { width: 26px; height: 26px; }
.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.newsletter-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.newsletter-desc strong { color: var(--text-dark); }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: var(--text-light); }
.newsletter-input:focus { border-color: var(--primary); }
.newsletter-section .btn-primary {
  background: var(--primary);
  color: white;
}
.newsletter-section .btn-primary:hover {
  background: var(--primary-mid);
  box-shadow: var(--shadow-md);
}
.newsletter-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--primary);
}
.newsletter-success.show { display: flex; }
.newsletter-success svg { width: 20px; height: 20px; }
.newsletter-success p { font-size: 0.85rem; }
.newsletter-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--text-light);
}
.newsletter-note svg { width: 14px; height: 14px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--primary-pale, #F9F0F0);
  color: var(--text, #5E4438);
}
.footer-main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 64px 28px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-icon { box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.footer-brand .logo-text h1 { color: var(--text-dark, #3B2218); }
.footer-brand .logo-text p { color: var(--text-muted, #9A857B); }
.footer-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted, #9A857B);
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(196,135,154,0.1);
  border: 1px solid var(--border, #F0E4DE);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #C4879A);
  transition: all 0.25s var(--ease);
}
.social-link:hover {
  background: var(--primary, #C4879A);
  border-color: var(--primary, #C4879A);
  color: white;
  transform: translateY(-2px);
}
.social-link svg { width: 18px; height: 18px; }

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark, #3B2218);
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted, #9A857B);
  transition: color 0.2s var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--primary, #C4879A);
  transition: width 0.25s var(--ease);
}
.footer-links a:hover { color: var(--primary, #C4879A); }
.footer-links a:hover::before { width: 12px; }

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text, #5E4438);
  padding: 10px 14px;
  background: rgba(196,135,154,0.08);
  border-radius: 10px;
  border: 1px solid var(--border, #F0E4DE);
}
.footer-badge svg { width: 16px; height: 16px; color: var(--primary, #C4879A); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border, #F0E4DE);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1260px;
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.76rem;
  color: var(--text-muted, #9A857B);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.72rem;
  color: var(--text-muted, #9A857B);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--primary, #C4879A); }

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  box-shadow: 0 4px 16px rgba(37,211,102,0.25);
  transition: all 0.3s var(--ease);
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}
.whatsapp-btn svg { width: 28px; height: 28px; }
.whatsapp-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  background: var(--text-dark);
  color: white;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
}
.back-to-top svg { width: 20px; height: 20px; }

/* ============================================
   AUTH MODAL
   ============================================ */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9996;
  display: none;
  align-items: center;
  justify-content: center;
}
.auth-modal.open { display: flex; }
.auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}
.auth-modal-content {
  position: relative;
  z-index: 1;
  margin: auto;
  width: 90%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.25s ease;
}
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.auth-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.auth-form .form-group { margin-bottom: 16px; }
.auth-form .form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.auth-form .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-form .form-group input:focus {
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(224,130,158,0.06);
}
.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border-radius: 6px;
  transition: color 0.2s;
}
.password-toggle:hover { color: var(--text); }
.password-toggle.active { color: var(--primary); }
.password-toggle svg { width: 18px; height: 18px; }

.auth-error {
  font-size: 0.78rem;
  color: #DC2626;
  margin-bottom: 10px;
  display: none;
}
.auth-success {
  font-size: 0.78rem;
  color: #059669;
  margin-bottom: 10px;
  display: none;
}
.auth-submit-btn {
  width: 100%;
  margin-bottom: 12px;
}
.auth-link-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  font-family: inherit;
  padding: 6px;
  transition: opacity 0.2s;
}
.auth-link-btn:hover { opacity: 0.7; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
  font-size: 0.76rem;
  color: var(--text-light);
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-switch-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  transition: all 0.2s var(--ease);
}
.auth-switch-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-pale); }
.auth-forgot-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: center;
}

/* User Dropdown */
.user-dropdown {
  position: fixed;
  top: 70px;
  right: 80px;
  width: 260px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  z-index: 1001;
  animation: fadeDown 0.2s var(--ease);
  border: 1px solid var(--border-light);
}
.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.user-name { font-weight: 600; font-size: 0.88rem; color: var(--text-dark); }
.user-email { font-size: 0.72rem; color: var(--text-light); }
.user-dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}
.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all 0.15s var(--ease);
}
.user-dropdown-item:hover {
  background: var(--bg);
  color: var(--primary);
}
.user-dropdown-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.user-dropdown-item--admin { color: var(--accent); }
.user-dropdown-item--admin:hover { background: var(--accent-pale); color: var(--accent); }
.user-dropdown-item--danger { color: #DC2626; }
.user-dropdown-item--danger:hover { background: #FEE2E2; color: #DC2626; }

/* ============================================
   MY ORDERS OVERLAY
   ============================================ */
.my-orders-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s var(--ease);
}
.my-orders-panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  width: 95%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.3s var(--ease);
  overflow: hidden;
}
.my-orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.my-orders-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 0;
}
.my-orders-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s;
}
.my-orders-close:hover { background: var(--bg); color: var(--text-dark); }
.my-orders-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.my-orders-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  color: var(--text-light);
}
.my-orders-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}
.my-orders-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  text-align: center;
}
.my-orders-empty p { color: var(--text-dark); font-weight: 500; margin: 0; }
.my-orders-empty small { color: var(--text-light); margin-top: 6px; }
.my-orders-error { text-align: center; padding: 40px 0; color: #DC2626; }

/* Order Card */
.mo-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s;
}
.mo-card:hover { box-shadow: var(--shadow-sm); }
.mo-card--canceled { opacity: 0.6; }
.mo-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mo-card-id { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.mo-card-date { font-size: 0.72rem; color: var(--text-light); margin-top: 2px; }
.mo-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.mo-status--pending { background: #FEF3C7; color: #B45309; }
.mo-status--paid { background: #D1FAE5; color: #059669; }
.mo-status--shipped { background: #DBEAFE; color: #2563EB; }
.mo-status--delivered { background: #EDE9FE; color: #7C3AED; }
.mo-status--canceled { background: #FEE2E2; color: #DC2626; }

/* Progress timeline */
.mo-progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px 8px 8px;
  background: #f8f7fc;
  border-radius: 10px;
  position: relative;
}
.mo-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 1;
}
.mo-progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-bottom: 4px;
  transition: all 0.3s;
  border: 2px solid transparent;
  color: #94a3b8;
}
.mo-progress-dot svg { stroke: #94a3b8; }
.mo-progress-step--done .mo-progress-dot {
  background: #ede9fe;
  border-color: #a78bfa;
  color: #7c3aed;
}
.mo-progress-step--done .mo-progress-dot svg { stroke: #7c3aed; }
.mo-progress-step--active .mo-progress-dot {
  background: #7c3aed;
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
  transform: scale(1.1);
  color: #fff;
}
.mo-progress-step--active .mo-progress-dot svg { stroke: #fff; }
.mo-progress-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
}
.mo-progress-label {
  font-size: 0.58rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  max-width: 70px;
  line-height: 1.2;
}
.mo-progress-step--done .mo-progress-label { color: #7c3aed; }
.mo-progress-step--active .mo-progress-label { color: #7c3aed; font-weight: 700; }
.mo-progress-line {
  flex: 1;
  height: 3px;
  background: #e2e8f0;
  align-self: center;
  margin: 14px -8px 0;
  border-radius: 2px;
  position: relative;
  z-index: 0;
}

/* Items section */
.mo-items-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.mo-card-items { border-top: 1px solid var(--border); padding-top: 10px; }
.mo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.82rem;
}
.mo-item-name { flex: 1; color: var(--text-dark); }
.mo-item-qty { color: var(--text-light); font-size: 0.75rem; }
.mo-item-price { font-weight: 600; color: var(--text-dark); }

/* Totals breakdown */
.mo-card-footer {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 10px;
}
.mo-totals { display: flex; flex-direction: column; gap: 4px; }
.mo-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-mid);
}
.mo-totals-row--free span:last-child { color: #059669; font-weight: 600; }
.mo-totals-row--discount span:last-child { color: #059669; font-weight: 600; }
.mo-totals-row--total {
  border-top: 1px dashed var(--border);
  padding-top: 6px;
  margin-top: 4px;
  font-size: 0.9rem;
}
.mo-totals-row--total strong { color: var(--primary); font-size: 1rem; }

/* Delivery info */
.mo-delivery-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 0.8rem;
}
.mo-delivery-info svg { flex-shrink: 0; }
.mo-delivery-info div { display: flex; flex-direction: column; gap: 2px; }
.mo-delivery-method {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mo-delivery-est { font-size: 0.75rem; }
.mo-delivery-est strong { font-weight: 700; }
.mo-delivery-info--done {
  background: #f0fdf4;
  color: #059669;
}

/* Tracking */
.mo-tracking {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
}
.mo-tracking strong { display: block; font-size: 0.75rem; margin-bottom: 2px; }
.mo-tracking span { font-size: 0.75rem; }
.mo-tracking svg { flex-shrink: 0; margin-top: 2px; }
.mo-tracking--available { background: #EDE9FE; color: #7C3AED; }
.mo-tracking-code {
  display: inline-block;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.6);
  padding: 2px 8px;
  border-radius: 4px;
}
.mo-tracking--pickup { background: #FEF3C7; color: #B45309; }
.mo-tracking--waiting { background: #F3F4F6; color: #6B7280; }

/* Pay button for pending orders */
.mo-pay-action {
  margin-top: 14px;
  text-align: center;
}
.mo-pay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}
.mo-pay-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}
.mo-pay-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.mo-pay-btn svg { flex-shrink: 0; }
.mo-pay-btn .mo-spinner {
  animation: moSpin 1s linear infinite;
}
@keyframes moSpin {
  to { transform: rotate(360deg); }
}
.mo-status-desc {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 8px;
  font-style: italic;
}

/* ============================================
   ADMIN PANEL OVERLAY (adm- prefix)
   ============================================ */

.adm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  background: #f1f5f9;
  font-family: 'Inter', -apple-system, sans-serif;
  color: #1e293b;
  line-height: 1.5;
}
.adm-overlay *, .adm-overlay *::before, .adm-overlay *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* SIDEBAR */
.adm-sidebar {
  width: 260px;
  background: #1e293b;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 10001;
  transition: transform 0.3s ease;
}
.adm-sidebar-brand {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.adm-sidebar-brand span { font-size: 1.5rem; }
.adm-sidebar-brand h2 { font-size: 1.1rem; font-weight: 700; color: white; }
.adm-sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adm-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: none;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.adm-nav svg { width: 20px; height: 20px; flex-shrink: 0; }
.adm-nav:hover { background: rgba(255,255,255,0.08); color: white; }
.adm-nav.active { background: rgba(196,135,154,0.15); color: #C4879A; }
.adm-nav--danger:hover { background: rgba(239,68,68,0.15); color: #ef4444; }

/* Notification badge on sidebar nav */
.adm-nav-badge {
  margin-left: auto;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
  animation: adm-badge-pulse 2s ease-in-out infinite;
}
@keyframes adm-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Quick action badge */
.adm-qa-btn--orders { position: relative; }
.adm-qa-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Dashboard alert banner */
.adm-orders-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fef3c7, #fff7ed);
  border: 1px solid #fbbf24;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
  animation: adm-alert-slidein 0.4s ease;
}
@keyframes adm-alert-slidein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.adm-orders-alert__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fbbf24;
  color: #92400e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.adm-orders-alert__icon svg { stroke: #92400e; }
.adm-orders-alert__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adm-orders-alert__text strong {
  font-size: 0.88rem;
  color: #92400e;
}
.adm-orders-alert__text span {
  font-size: 0.75rem;
  color: #b45309;
}
.adm-orders-alert__btn {
  border: none;
  background: #f59e0b;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  font-family: inherit;
}
.adm-orders-alert__btn:hover { background: #d97706; }
.adm-sidebar-footer {
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* MAIN CONTENT */
.adm-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
}
.adm-topbar {
  background: #ffffff;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.adm-topbar h1 { flex: 1; font-size: 1.25rem; font-weight: 700; }
.adm-sidebar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #1e293b;
}
.adm-sidebar-toggle svg { width: 24px; height: 24px; }
.adm-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #64748b;
}
.adm-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #C4879A;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.adm-content { padding: 32px; flex: 1; }

/* PAGES */
.adm-page { display: none; }
.adm-page.active { display: block; animation: admFadeIn 0.25s ease; }
@keyframes admFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* STATS */
.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.adm-stat { background: #fff; border-radius: 10px; padding: 24px; display: flex; align-items: center; gap: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.adm-stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.adm-stat-icon svg { width: 24px; height: 24px; }
.adm-stat-val { font-size: 1.75rem; font-weight: 700; display: block; line-height: 1.2; }
.adm-stat-lbl { font-size: 0.8rem; color: #64748b; }

/* CARDS */
.adm-card { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 24px; }
.adm-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.adm-qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.adm-qa-btn {
  padding: 16px; border: 2px dashed #e2e8f0; border-radius: 10px;
  background: none; font-size: 0.9rem; font-weight: 500; color: #1e293b;
  cursor: pointer; transition: 0.2s ease; text-align: center; font-family: inherit;
}
.adm-qa-btn:hover { border-color: #C4879A; color: #C4879A; background: rgba(196,135,154,0.04); }

/* PAGE HEADER */
.adm-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.adm-page-header h2 { font-size: 1.25rem; font-weight: 700; }

/* BUTTONS */
.adm-btn-primary {
  padding: 10px 20px; background: #C4879A; color: white; border: none;
  border-radius: 10px; font-weight: 600; font-size: 0.85rem; cursor: pointer;
  transition: 0.2s ease; font-family: inherit;
}
.adm-btn-primary:hover { background: #B5708A; }
.adm-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.adm-btn-cancel {
  padding: 10px 20px; background: none; border: 1px solid #e2e8f0;
  border-radius: 10px; font-weight: 500; font-size: 0.85rem; cursor: pointer;
  color: #64748b; transition: 0.2s ease; font-family: inherit;
}
.adm-btn-cancel:hover { border-color: #64748b; color: #1e293b; }
.adm-btn-sm {
  padding: 6px 12px; border: none; border-radius: 6px; font-size: 0.75rem;
  font-weight: 600; cursor: pointer; transition: 0.2s ease; font-family: inherit;
}
.adm-btn-edit { background: #eff6ff; color: #3b82f6; }
.adm-btn-edit:hover { background: #dbeafe; }
.adm-btn-delete { background: #fef2f2; color: #ef4444; }
.adm-btn-delete:hover { background: #fee2e2; }
.adm-btn-toggle { background: #e0f2fe; color: #0284c7; }
.adm-btn-toggle:hover { background: #bae6fd; }

/* TABLE */
.adm-table-wrap { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.adm-table th {
  text-align: left; padding: 14px 16px; font-weight: 600; color: #64748b;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 2px solid #e2e8f0; white-space: nowrap;
}
.adm-table td { padding: 12px 16px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tr:hover td { background: #f8fafc; }
.adm-table-img {
  width: 44px; height: 44px; border-radius: 8px; object-fit: cover;
  background: linear-gradient(135deg, #f0e6f6, #d4c5e0); display: block;
}
.adm-badge {
  padding: 3px 10px; border-radius: 20px; font-size: 0.7rem;
  font-weight: 700; display: inline-block;
}
.adm-badge--active { background: #d1fae5; color: #065f46; }
.adm-badge--inactive { background: #fee2e2; color: #991b1b; }
.adm-badge--promo { background: #fef3c7; color: #92400e; }
.adm-badge--danger { background: #fee2e2; color: #dc2626; font-weight: 600; }
.adm-badge--warn { background: #fef3c7; color: #d97706; font-weight: 600; }
.adm-badge--pending { background: #fef3c7; color: #92400e; }
.adm-badge--paid { background: #d1fae5; color: #065f46; }
.adm-badge--shipped { background: #ede9fe; color: #7c3aed; }
.adm-badge--delivered { background: #dbeafe; color: #1e40af; }
.adm-badge--canceled { background: #f1f5f9; color: #64748b; text-decoration: line-through; }
.adm-orders-filters { display: flex; gap: 8px; align-items: center; }
.adm-select-filter { padding: 6px 12px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 0.85rem; background: #fff; color: #1e293b; cursor: pointer; }
.adm-order-detail-section { margin-bottom: 16px; }
.adm-order-detail-section h4 { font-size: 0.85rem; color: #64748b; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.adm-order-detail-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.adm-order-detail-info p { margin: 0; font-size: 0.85rem; color: #334155; }
.adm-order-detail-info p strong { color: #1e293b; }
.adm-order-items-list { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.adm-order-items-list th { text-align: left; padding: 6px 8px; border-bottom: 2px solid #e2e8f0; color: #64748b; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; }
.adm-order-items-list td { padding: 6px 8px; border-bottom: 1px solid #f1f5f9; color: #334155; }
.adm-order-whatsapp-msg { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; font-size: 0.8rem; color: #475569; white-space: pre-wrap; max-height: 150px; overflow-y: auto; margin-top: 8px; }
.adm-btn-confirm { background: #059669; color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 0.85rem; font-weight: 600; }
.adm-btn-confirm:hover { background: #047857; }
.adm-btn-cancel-order { background: #ef4444; color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 0.85rem; font-weight: 600; }
.adm-btn-cancel-order:hover { background: #dc2626; }
.adm-cell-actions { display: flex; gap: 6px; flex-wrap: nowrap; }
.adm-empty { padding: 48px 24px; text-align: center; color: #64748b; font-size: 0.9rem; }

/* FORMS */
.adm-fg { margin-bottom: 16px; }
.adm-fg label { display: block; font-size: 0.8rem; font-weight: 600; color: #1e293b; margin-bottom: 6px; }
.adm-fg small { display: block; font-size: 0.72rem; color: #64748b; margin-top: 4px; }
.adm-fg input[type="text"], .adm-fg input[type="email"], .adm-fg input[type="url"],
.adm-fg input[type="number"], .adm-fg input[type="password"], .adm-fg input[type="datetime-local"],
.adm-fg select, .adm-fg textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 8px;
  font-size: 0.85rem; font-family: inherit; color: #1e293b; background: #fff; transition: 0.2s ease;
}
.adm-fg input:focus, .adm-fg select:focus, .adm-fg textarea:focus {
  outline: none; border-color: #C4879A; box-shadow: 0 0 0 3px rgba(196,135,154,0.1);
}
.adm-fg textarea { resize: vertical; }
.adm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adm-form-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #e2e8f0; }
.adm-form-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.adm-form-section h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; color: #C4879A; }
.adm-toggle { display: flex !important; align-items: center; gap: 10px; cursor: pointer; font-weight: 500 !important; }
.adm-toggle input[type="checkbox"] { width: 18px; height: 18px; accent-color: #C4879A; cursor: pointer; }
/* DROPZONE */
.adm-dropzone {
  border: 2px dashed #cbd5e1; border-radius: 12px; position: relative;
  transition: all 0.25s ease; background: #f8fafc; cursor: pointer; overflow: hidden;
}
.adm-dropzone:hover, .adm-dropzone.drag-over, .adm-dropzone.dragover {
  border-color: #C4879A; background: rgba(196,135,154,0.04);
}
.adm-dropzone.drag-over, .adm-dropzone.dragover { border-style: solid; box-shadow: 0 0 0 3px rgba(196,135,154,0.12); }
.adm-dropzone-empty {
  padding: 36px 20px; display: flex; flex-direction: column;
  align-items: center; gap: 8px; text-align: center; color: #94a3b8;
}
.adm-dropzone-empty svg { color: #cbd5e1; }
.adm-dropzone-empty p { font-size: 0.9rem; }
.adm-dropzone-link { color: #C4879A; font-weight: 600; text-decoration: underline; cursor: pointer; }
.adm-dropzone-empty small { font-size: 0.75rem; color: #94a3b8; }
.adm-dropzone-preview {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 180px; padding: 12px; background: #f8fafc;
}
.adm-dropzone-preview img {
  max-width: 100%; max-height: 200px; object-fit: contain; border-radius: 8px;
}
.adm-dropzone-remove {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px;
  border-radius: 50%; border: none; background: rgba(0,0,0,0.55); color: white;
  font-size: 0.85rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: 0.2s;
}
.adm-dropzone-remove:hover { background: #ef4444; }
.adm-dropzone-loading {
  position: absolute; inset: 0; background: rgba(255,255,255,0.85);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; z-index: 2;
}
.adm-spinner {
  width: 32px; height: 32px; border: 3px solid #e2e8f0;
  border-top-color: #C4879A; border-radius: 50%;
  animation: admSpin 0.7s linear infinite;
}
@keyframes admSpin { to { transform: rotate(360deg); } }

/* COLOR PRESETS */
.adm-color-presets {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
.adm-color-swatch {
  width: 40px; height: 40px; border-radius: 10px; border: 3px solid transparent;
  cursor: pointer; transition: 0.2s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.adm-color-swatch:hover { transform: scale(1.1); }
.adm-color-swatch.active { border-color: #C4879A; box-shadow: 0 0 0 2px rgba(196,135,154,0.25); }
.adm-color-custom {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 0.8rem; color: #64748b;
}
.adm-color-custom input[type="color"] {
  width: 36px; height: 30px; border: 1px solid #e2e8f0; border-radius: 6px;
  cursor: pointer; padding: 2px; background: #fff;
}
.adm-bg-preview { margin-top: 8px; height: 48px; border-radius: 10px; border: 1px solid #e2e8f0; transition: background 0.3s; }

/* GALLERY GRID */
.adm-gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px; margin-bottom: 10px;
}
.adm-gallery-item {
  position: relative; border-radius: 8px; overflow: hidden;
  aspect-ratio: 1; background: #f1f5f9;
}
.adm-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.adm-gallery-item .adm-gallery-remove {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  border-radius: 50%; border: none; background: rgba(0,0,0,0.55); color: white;
  font-size: 0.65rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}
.adm-gallery-item .adm-gallery-remove:hover { background: #ef4444; }
.adm-btn-add-gallery {
  padding: 10px 16px; border: 2px dashed #cbd5e1; border-radius: 8px;
  background: none; color: #64748b; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: 0.2s; font-family: inherit; width: 100%;
}
.adm-btn-add-gallery:hover { border-color: #C4879A; color: #C4879A; }

/* SETTINGS */
.adm-settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 24px; }

/* MODALS */
.adm-modal { position: fixed; inset: 0; z-index: 10100; display: none; align-items: center; justify-content: center; }
.adm-modal.open { display: flex; }
.adm-modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }
.adm-modal-box {
  position: relative; background: #fff; border-radius: 16px; width: 90%; max-width: 700px;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  animation: admModalSlide 0.25s ease;
  color: #1e293b;
}
@keyframes admModalSlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.adm-modal-head {
  display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; background: #fff;
  border-radius: 16px 16px 0 0; z-index: 1;
}
.adm-modal-head h3 { font-size: 1.1rem; font-weight: 700; color: #1e293b; }
.adm-modal-x {
  width: 36px; height: 36px; border-radius: 50%; border: none; background: #f1f5f9;
  font-size: 1rem; cursor: pointer; transition: 0.2s ease;
  display: flex; align-items: center; justify-content: center;
}
.adm-modal-x:hover { background: #e2e8f0; }
.adm-modal-body { padding: 24px; color: #1e293b; }
.adm-modal-foot { display: flex; justify-content: flex-end; gap: 12px; padding-top: 20px; border-top: 1px solid #e2e8f0; margin-top: 8px; }

/* NOTIFICATION */
.adm-notification {
  position: fixed; bottom: 24px; right: 24px; padding: 14px 24px; border-radius: 10px;
  color: white; font-size: 0.85rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 10200; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; font-family: inherit;
}
.adm-notification.show { transform: translateY(0); opacity: 1; }
.adm-notification.success { background: #10b981; }
.adm-notification.error { background: #ef4444; }
.adm-notification.info { background: #3b82f6; }

/* ============================================
   ADMIN CONTENT CARDS (Testimonials / FAQ)
   ============================================ */
.adm-content-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.adm-content-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s;
}
.adm-content-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.adm-content-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.adm-content-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C4879A, #B06B7E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.adm-content-card-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.adm-content-card-stars { color: #f59e0b; font-size: 0.85rem; margin-left: auto; flex-shrink: 0; }
.adm-content-card-head strong { font-size: 0.9rem; color: #1e293b; }
.adm-content-card-head small { display: block; font-size: 0.75rem; color: #94a3b8; }
.adm-content-card-question { font-size: 0.9rem; color: #1e293b; flex: 1; }
.adm-content-card-text {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.adm-content-card-actions {
  display: flex;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

/* ADMIN FORM EXTRAS */
.adm-form-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  margin-top: 4px;
}
.adm-separator {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 16px 0;
}

/* ADMIN RESPONSIVE */
@media (max-width: 768px) {
  .adm-sidebar { transform: translateX(-100%); }
  .adm-sidebar.open { transform: translateX(0); }
  .adm-main { margin-left: 0; }
  .adm-sidebar-toggle { display: block; }
  .adm-content { padding: 20px 16px; }
  .adm-topbar { padding: 12px 16px; }
  .adm-settings-grid { grid-template-columns: 1fr; }
  .adm-form-row { grid-template-columns: 1fr; }
  .adm-stats { grid-template-columns: 1fr; }
  .adm-modal-box { width: 95%; max-height: 95vh; }
  .adm-page-header { flex-direction: column; gap: 12px; align-items: stretch; }
  .adm-page-header .adm-btn-primary { text-align: center; }
  .adm-content-cards { grid-template-columns: 1fr; }
}

/* ============================================
   ADMIN CATEGORIES
   ============================================ */
.adm-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.adm-cat-card {
  background: #fff; border-radius: 12px; padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.adm-cat-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.adm-cat-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.adm-cat-color-dot {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.adm-cat-card-header h4 {
  font-size: 1rem; font-weight: 700; flex: 1;
}
.adm-cat-card-info {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: #64748b; margin-bottom: 14px;
}
.adm-cat-slug {
  background: #f1f5f9; padding: 2px 8px; border-radius: 4px;
  font-family: monospace; font-size: 0.75rem;
}
.adm-cat-card-actions {
  display: flex; gap: 8px;
}
.adm-cat-products-list {
  max-height: 250px; overflow-y: auto; border: 1px solid #e2e8f0;
  border-radius: 8px; padding: 8px 12px;
}
.adm-cat-product-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 4px;
  cursor: pointer; font-size: 0.85rem; border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.adm-cat-product-item:last-child { border-bottom: none; }
.adm-cat-product-item:hover { background: #f8fafc; }
.adm-cat-product-item input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: #C4879A; cursor: pointer;
}

/* ============================================
   ADMIN REVENUE STATS
   ============================================ */
.adm-revenue-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 8px;
}
.adm-stat--revenue {
  border-left: 3px solid transparent;
}
.adm-stat--revenue:nth-child(1) { border-left-color: #059669; }
.adm-stat--revenue:nth-child(2) { border-left-color: #2563eb; }
.adm-stat--revenue:nth-child(3) { border-left-color: #db2777; }
.adm-stat--revenue:nth-child(4) { border-left-color: #d97706; }

/* ============================================
   ADMIN REPORTS PAGE — Redesigned
   ============================================ */

/* --- Header --- */
.rpt-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.rpt-header__left { flex: 1; }
.rpt-title {
  font-size: 1.6rem; font-weight: 800; color: #0f172a;
  letter-spacing: -0.02em; margin: 0;
}
.rpt-subtitle {
  font-size: 0.82rem; color: #94a3b8; margin: 4px 0 0; font-weight: 500;
}
.rpt-header__right { display: flex; align-items: center; gap: 10px; }

.rpt-period-select {
  padding: 8px 14px; border: 1px solid #e2e8f0; border-radius: 10px;
  font-size: 0.82rem; font-weight: 600; color: #334155;
  background: #fff; cursor: pointer; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rpt-period-select:focus { border-color: #C4879A; box-shadow: 0 0 0 3px rgba(196,135,154,0.15); }

.rpt-export-group { display: flex; gap: 6px; }
.rpt-export-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px; border: 1px solid #e2e8f0; border-radius: 8px;
  background: #fff; font-size: 0.75rem; font-weight: 600; color: #475569;
  cursor: pointer; transition: all 0.2s;
}
.rpt-export-btn:hover {
  background: #f8fafc; border-color: #C4879A; color: #C4879A;
  box-shadow: 0 2px 8px rgba(196,135,154,0.15);
}
.rpt-export-btn svg { flex-shrink: 0; }

/* --- KPI Cards --- */
.rpt-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px; margin-bottom: 28px;
}
.rpt-kpi {
  background: #fff; border-radius: 14px; padding: 18px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.rpt-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.rpt-kpi__icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rpt-kpi--revenue .rpt-kpi__icon { background: #ecfdf5; color: #059669; }
.rpt-kpi--orders .rpt-kpi__icon { background: #eff6ff; color: #3b82f6; }
.rpt-kpi--avg .rpt-kpi__icon { background: #fef3c7; color: #d97706; }
.rpt-kpi--delivered .rpt-kpi__icon { background: #f0fdf4; color: #16a34a; }
.rpt-kpi--canceled .rpt-kpi__icon { background: #fef2f2; color: #dc2626; }
.rpt-kpi--conversion .rpt-kpi__icon { background: #f5f3ff; color: #7c3aed; }

.rpt-kpi__data { flex: 1; min-width: 0; }
.rpt-kpi__value {
  display: block; font-size: 1.35rem; font-weight: 800; color: #0f172a;
  line-height: 1.2; letter-spacing: -0.02em;
}
.rpt-kpi__label {
  display: block; font-size: 0.7rem; color: #94a3b8; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; margin-top: 3px;
}
.rpt-kpi__trend {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.7rem; font-weight: 700; margin-top: 6px;
  padding: 2px 8px; border-radius: 6px;
}
.rpt-kpi__trend--up { background: #ecfdf5; color: #059669; }
.rpt-kpi__trend--down { background: #fef2f2; color: #dc2626; }

/* --- Chart Cards --- */
.rpt-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px; margin-bottom: 20px;
}
.rpt-chart-card {
  background: #fff; border-radius: 14px; padding: 0;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
}
.rpt-chart-card--wide { grid-column: 1 / -1; }

.rpt-chart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 0;
}
.rpt-chart-title {
  font-size: 0.92rem; font-weight: 700; color: #1e293b; margin: 0;
}
.rpt-chart-desc {
  font-size: 0.72rem; color: #94a3b8; margin: 2px 0 0; font-weight: 500;
}
.rpt-chart-body {
  padding: 16px 22px 22px; min-height: 220px; position: relative;
}
.rpt-chart-body--centered {
  display: flex; align-items: center; justify-content: center;
}

/* --- SVG Line Chart --- */
.rpt-line-chart { width: 100%; height: 100%; }
.rpt-line-chart .rpt-grid-line { stroke: #f1f5f9; stroke-width: 1; }
.rpt-line-chart .rpt-axis-label { fill: #94a3b8; font-size: 10px; font-weight: 500; }
.rpt-line-chart .rpt-line-path {
  fill: none; stroke: #C4879A; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.rpt-line-chart .rpt-area-fill {
  fill: url(#rpt-gradient); opacity: 0.5;
}
.rpt-line-chart .rpt-dot {
  fill: #fff; stroke: #C4879A; stroke-width: 2;
  cursor: pointer; transition: r 0.15s;
}
.rpt-line-chart .rpt-dot:hover { r: 5; }

/* --- Pie / Donut Chart --- */
.rpt-pie-wrap {
  display: flex; align-items: center; gap: 28px; width: 100%;
}
.rpt-pie-svg { flex-shrink: 0; }
.rpt-pie-svg circle { transition: opacity 0.2s; cursor: pointer; }
.rpt-pie-svg circle:hover { opacity: 0.8; filter: brightness(1.1); }
.rpt-pie-legend { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.rpt-legend-row {
  display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #475569;
}
.rpt-legend-dot {
  width: 10px; height: 10px; border-radius: 4px; flex-shrink: 0;
}
.rpt-legend-row strong { color: #1e293b; margin-left: auto; }

/* --- Horizontal Bar Chart --- */
.rpt-hbar-chart { display: flex; flex-direction: column; gap: 12px; }
.rpt-hbar-row { display: flex; align-items: center; gap: 12px; }
.rpt-hbar-label {
  width: 110px; font-size: 0.78rem; color: #475569; text-align: right;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0;
  font-weight: 500;
}
.rpt-hbar-track {
  flex: 1; height: 26px; background: #f8fafc; border-radius: 8px; overflow: hidden;
  position: relative;
}
.rpt-hbar-fill {
  height: 100%; border-radius: 8px; min-width: 6px;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.rpt-hbar-fill::after {
  content: attr(data-value); position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%); font-size: 0.7rem; font-weight: 700;
  color: rgba(255,255,255,0.9);
}
.rpt-hbar-val {
  font-size: 0.82rem; font-weight: 700; color: #1e293b; width: 36px; text-align: right;
}

/* Bar chart colors */
.rpt-hbar-fill--0 { background: linear-gradient(90deg, #C4879A, #D4A0B0); }
.rpt-hbar-fill--1 { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.rpt-hbar-fill--2 { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.rpt-hbar-fill--3 { background: linear-gradient(90deg, #10b981, #34d399); }
.rpt-hbar-fill--4 { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.rpt-hbar-fill--5 { background: linear-gradient(90deg, #ec4899, #f472b6); }
.rpt-hbar-fill--6 { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.rpt-hbar-fill--7 { background: linear-gradient(90deg, #84cc16, #a3e635); }

/* --- Vertical Bar Chart (weekday) --- */
.rpt-vbar-chart {
  display: flex; align-items: flex-end; gap: 8px;
  height: 200px; padding: 0 4px 28px;
}
.rpt-vbar-col {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; height: 100%;
}
.rpt-vbar {
  width: 100%; max-width: 40px; min-height: 4px;
  background: linear-gradient(180deg, #C4879A, #D4A0B0);
  border-radius: 6px 6px 0 0;
  transition: height 0.5s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.rpt-vbar-col:hover .rpt-vbar {
  background: linear-gradient(180deg, #B5708A, #C4879A);
  box-shadow: 0 -4px 12px rgba(196,135,154,0.25);
}
.rpt-vbar-val {
  font-size: 0.68rem; font-weight: 700; color: #1e293b;
  margin-bottom: 4px;
}
.rpt-vbar-lbl {
  font-size: 0.7rem; color: #94a3b8; font-weight: 600;
  margin-top: 8px;
}

/* --- Table Redesign --- */
.rpt-table-card {
  background: #fff; border-radius: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
}
.rpt-table { font-size: 0.82rem; }
.rpt-table th {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: #94a3b8; font-weight: 600; padding: 12px 16px;
  background: #fafbfc; border-bottom: 1px solid #f1f5f9;
}
.rpt-table td { padding: 12px 16px; color: #334155; }
.rpt-table tbody tr { transition: background 0.15s; }
.rpt-table tbody tr:hover { background: #fdf9f8; }

/* --- No data state --- */
.rpt-no-data {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; color: #94a3b8; gap: 8px;
}
.rpt-no-data svg { opacity: 0.4; }
.rpt-no-data span { font-size: 0.82rem; font-weight: 500; }

/* --- Responsive --- */
@media (max-width: 1200px) {
  .rpt-kpis { grid-template-columns: repeat(3, 1fr); }
  .rpt-charts-grid { grid-template-columns: 1fr; }
  .rpt-chart-card--wide { grid-column: 1; }
}
@media (max-width: 768px) {
  .rpt-header { flex-direction: column; align-items: flex-start; }
  .rpt-header__right { width: 100%; justify-content: space-between; }
  .rpt-kpis { grid-template-columns: repeat(2, 1fr); }
  .rpt-pie-wrap { flex-direction: column; }
  .rpt-kpi__value { font-size: 1.15rem; }
}
@media (max-width: 480px) {
  .rpt-kpis { grid-template-columns: 1fr; }
  .rpt-kpi__value { font-size: 1rem; }
  .rpt-vbar-chart { gap: 4px; }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 640px) {
  .product-modal-content { width: 100%; max-width: 100%; max-height: 100vh; border-radius: 0; }
  .auth-modal-content { width: 100%; max-width: 100%; max-height: 100vh; border-radius: 0; padding: 28px 20px; }
  .product-gallery { border-radius: 0; }
  .pm-info-scroll { padding: 20px 16px; }
  .product-modal-title { font-size: 1.35rem; }
  .modal-price { font-size: 1.5rem; }
  .filter-price-dropdown { min-width: 260px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
  .products-grid { gap: 10px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 0.85rem; }
  .product-price { font-size: 0.95rem; }
  .hero-float-card--top { right: 0; }
  .hero-float-card--bottom { left: 0; }
}

@media (max-width: 640px) {
  .kit-carousel-card { flex: 0 0 240px; }
  .kit-carousel-img { height: 160px; }
  .kits-carousel-nav { display: none; }
  .kits-carousel-track { padding: 10px 16px 20px; gap: 14px; }
  .my-orders-panel { width: 100%; max-width: 100%; max-height: 100vh; border-radius: 0; }
  .my-orders-body { padding: 16px; }
  .mo-card { padding: 14px 16px; }
}

/* ---------- GLOBAL MOBILE ---------- */
@media (max-width: 767px) {
  body { padding-top: 64px; }
  .section { padding: 56px 0; }
  .section-container { padding: 0 16px; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: 1.65rem; }
  .section-subtitle { font-size: 0.88rem; margin-top: 8px; }
  .section-label { font-size: 0.62rem; letter-spacing: 0.12em; margin-bottom: 8px; }
  .section-label::before, .section-label::after { width: 16px; }
}

/* ---------- HEADER MOBILE ---------- */
@media (max-width: 767px) {
  .site-header { top: 0; }
  .promo-banner { font-size: 0.65rem; padding: 8px 0; }
  .header-inner { height: 64px; padding: 0 16px; }
  .logo-icon { width: 32px; height: 32px; }
  .logo-text h1 { font-size: 1.15rem; }
  .logo-text p { font-size: 0.48rem; letter-spacing: 0.15em; }
  .logo { gap: 8px; }
  .header-icons { gap: 2px; }
  .icon-btn { width: 36px; height: 36px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .cart-badge { width: 16px; height: 16px; font-size: 0.6rem; top: 2px; right: 2px; }
  .mobile-menu { padding: 8px 0 16px; }
  .mobile-menu a {
    padding: 14px 20px; font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { padding-left: 28px; }
}

/* ---------- HERO MOBILE ---------- */
@media (max-width: 767px) {
  .hero { padding: 48px 0 60px; }
  .hero-inner { gap: 36px; padding: 0 16px; }
  .hero-badge { font-size: 0.6rem; padding: 6px 14px; margin-bottom: 20px; }
  .hero-title { font-size: 2rem; margin-bottom: 14px; line-height: 1.12; }
  .hero-subtitle { font-size: 0.92rem; margin-bottom: 28px; line-height: 1.6; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 13px 24px; font-size: 0.76rem; width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; margin-top: 32px; padding-top: 24px; justify-content: center; }
  .hero-stat-value { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.6rem; }
  .hero-image-container { max-width: 280px; }
  .hero-image-inner svg { width: 90px; height: 90px; }
  .hero-float-card { padding: 10px 14px; border-radius: 12px; }
  .hero-float-card--top { top: 5%; right: -5%; }
  .hero-float-card--bottom { bottom: 10%; left: -5%; }
  .float-card-icon { width: 30px; height: 30px; border-radius: 8px; }
  .float-card-icon svg { width: 14px !important; height: 14px !important; }
  .float-card-text { font-size: 0.68rem; }
  .float-card-text span { font-size: 0.58rem; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.7rem; }
  .hero-subtitle { font-size: 0.85rem; }
  .hero-image-container { max-width: 240px; }
  .hero-float-card { display: none; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
}

/* ---------- TRUST BAR MOBILE ---------- */
@media (max-width: 767px) {
  .trust-bar { padding: 24px 0; }
  .trust-grid { padding: 0 16px; gap: 16px; grid-template-columns: 1fr 1fr; }
  .trust-item { gap: 10px; flex-direction: column; text-align: center; }
  .trust-icon { width: 38px; height: 38px; border-radius: 10px; }
  .trust-icon svg { width: 18px; height: 18px; }
  .trust-text { font-size: 0.72rem; }
  .trust-text span { font-size: 0.62rem; }
}

@media (max-width: 380px) {
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-item { flex-direction: row; text-align: left; }
}

/* ---------- FILTERS MOBILE ---------- */
@media (max-width: 767px) {
  .filters-bar {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .filters-bar::-webkit-scrollbar { display: none; }
  .filter-sort-btn,
  .filter-price-toggle { padding: 8px 14px; font-size: 0.75rem; }
  .filter-price-dropdown { min-width: 260px; left: auto; right: 0; }
  .filter-results-count { display: none; }
}

/* ---------- PRODUCT CARDS MOBILE ---------- */
@media (max-width: 767px) {
  .products-grid { gap: 12px; grid-template-columns: repeat(2, 1fr); }
  .product-card { border-radius: 14px; }
  .product-image { border-radius: 14px 14px 0 0; }
  .product-badge { font-size: 0.55rem; padding: 3px 8px; top: 8px; left: 8px; }
  .product-info { padding: 10px 12px 14px; }
  .product-category-label { font-size: 0.55rem; margin-bottom: 3px; }
  .product-name { font-size: 0.82rem; margin-bottom: 6px; line-height: 1.3; }
  .product-rating { margin-bottom: 6px; }
  .product-rating svg { width: 10px; height: 10px; }
  .product-rating span { font-size: 0.6rem; }
  .product-price-old { font-size: 0.7rem; }
  .product-price { font-size: 0.92rem; }
  .product-wishlist { width: 30px; height: 30px; }
  .product-wishlist svg { width: 14px; height: 14px; }
  .product-add-btn { width: 34px; height: 34px; }
  .product-add-btn svg { width: 15px; height: 15px; }
}

@media (max-width: 380px) {
  .products-grid { gap: 8px; }
  .product-info { padding: 8px 10px 12px; }
  .product-name { font-size: 0.75rem; }
  .product-price { font-size: 0.85rem; }
}

/* ---------- OFFERS MOBILE ---------- */
@media (max-width: 767px) {
  .offer-section { padding: 56px 0; }
  .offer-section-header { margin-bottom: 28px; }
  .offer-section-title { font-size: 1.5rem; }
  .offer-section-subtitle { font-size: 0.85rem; }
  .offers-carousel-wrapper { padding: 0 8px; }
  .offers-carousel-nav { display: none; }
  .offer-carousel-card { flex: 0 0 270px; min-width: 270px; border-radius: 16px; }
  .offer-card-img { height: 150px; }
  .offer-card-content { padding: 18px 16px; }
  .offer-card-title { font-size: 1.2rem; }
  .offer-card-desc { font-size: 0.78rem; margin-bottom: 12px; }
  .offer-card-price { font-size: 1.6rem; }
  .offer-card-old-price { font-size: 0.8rem; }
  .offer-card-badge { font-size: 0.58rem; padding: 4px 10px; margin-bottom: 12px; }
  .offer-card-btn { padding: 10px 22px; font-size: 0.72rem; }
  .offer-card-btn svg { width: 12px; height: 12px; }
}

/* ---------- KITS MOBILE ---------- */
@media (max-width: 767px) {
  .kits-carousel-section { padding: 48px 0; }
  .kits-carousel-nav { display: none; }
  .kits-carousel-track { padding: 10px 16px 20px; gap: 14px; }
  .kit-carousel-card { flex: 0 0 230px; }
  .kit-carousel-img { height: 150px; }
  .kit-carousel-info { padding: 14px 14px 16px; }
  .kit-carousel-info h4 { font-size: 0.95rem; }
  .kit-carousel-desc { font-size: 0.72rem; min-height: auto; }
  .kit-carousel-btn { padding: 9px; font-size: 0.76rem; }
}

/* ---------- TESTIMONIALS MOBILE ---------- */
@media (max-width: 767px) {
  .testimonials-grid { gap: 14px; }
  .testimonial-card { padding: 22px 18px; border-radius: 14px; }
  .testimonial-card::before { font-size: 3.5rem; top: 10px; right: 16px; }
  .testimonial-stars { margin-bottom: 12px; }
  .testimonial-text { font-size: 0.88rem; line-height: 1.55; margin-bottom: 16px; }
  .testimonial-avatar { width: 38px; height: 38px; font-size: 0.85rem; }
  .testimonial-author-info .name { font-size: 0.82rem; }
  .testimonial-author-info .location { font-size: 0.68rem; }
}

/* ---------- FAQ MOBILE ---------- */
@media (max-width: 767px) {
  .faq-list { margin: 0; }
  .faq-item { border-radius: 10px; margin-bottom: 8px; }
  .faq-question { padding: 16px 18px; font-size: 0.88rem; gap: 12px; }
  .faq-icon { width: 18px; height: 18px; }
  .faq-answer p { padding: 0 18px 16px; font-size: 0.82rem; line-height: 1.6; }
}

/* ---------- NEWSLETTER MOBILE ---------- */
@media (max-width: 767px) {
  .newsletter-section { padding: 56px 0; }
  .newsletter-icon { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px; }
  .newsletter-icon svg { width: 24px; height: 24px; }
  .newsletter-title { font-size: 1.5rem; margin-bottom: 8px; }
  .newsletter-desc { font-size: 0.88rem; margin-bottom: 24px; }
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-input { padding: 13px 16px; font-size: 0.85rem; border-radius: 8px; }
  .newsletter-note { font-size: 0.68rem; margin-top: 10px; }
}

/* ---------- CONTACT MOBILE ---------- */
@media (max-width: 767px) {
  .contact-grid { gap: 24px; }
  .contact-form { padding: 22px 18px; border-radius: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group label { font-size: 0.75rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: 0.88rem; padding: 12px 14px; }
}

/* ---------- FOOTER MOBILE ---------- */
@media (max-width: 767px) {
  .footer-main { padding: 40px 16px 32px; gap: 28px; grid-template-columns: 1fr; }
  .footer-brand { text-align: center; }
  .footer-brand .logo { justify-content: center; margin-bottom: 12px; }
  .footer-desc { font-size: 0.8rem; margin-bottom: 16px; }
  .footer-socials { justify-content: center; }
  .social-link { width: 36px; height: 36px; border-radius: 8px; }
  .social-link svg { width: 16px; height: 16px; }
  .footer-heading { font-size: 0.85rem; margin-bottom: 14px; text-align: center; }
  .footer-links { align-items: center; gap: 8px; }
  .footer-links a { font-size: 0.8rem; justify-content: center; }
  .footer-links a::before { display: none; }
  .footer-badges { flex-direction: row; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .footer-badge { font-size: 0.7rem; padding: 8px 12px; }
  .footer-bottom { padding: 16px; gap: 10px; flex-direction: column; text-align: center; }
  .footer-bottom p { font-size: 0.72rem; }
  .footer-bottom-links { gap: 14px; }
  .footer-bottom-links a { font-size: 0.68rem; }
}

/* ---------- MODAL MOBILE ---------- */
@media (max-width: 767px) {
  .product-modal-content { width: 100%; max-width: 100%; max-height: 100vh; border-radius: 0; animation: modalInMobile 0.25s ease; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-gallery { border-radius: 0; aspect-ratio: 4/3; min-height: 240px; }
  .gallery-nav { width: 34px; height: 34px; opacity: 1; }
  .gallery-nav svg { width: 16px; height: 16px; }
  .gallery-nav--prev { left: 8px; }
  .gallery-nav--next { right: 8px; }
  .gallery-thumb { width: 36px; height: 36px; border-radius: 8px; }
  .product-gallery-thumbs { padding: 5px 8px; border-radius: 10px; gap: 6px; }
  .gallery-zoom-hint { display: none; }
  .gallery-counter { bottom: 62px; }
  .pm-info-scroll { padding: 22px 18px 20px; max-height: calc(100vh - 260px); }
  .product-modal-category { font-size: 0.62rem; padding: 3px 10px; }
  .pm-wishlist-btn { width: 36px; height: 36px; }
  .product-modal-title { font-size: 1.3rem; margin-bottom: 8px; }
  .product-modal-rating { margin-bottom: 12px; gap: 8px; }
  .product-modal-rating .stars { font-size: 0.85rem; }
  .product-modal-rating span { font-size: 0.72rem; }
  .modal-price { font-size: 1.55rem; }
  .modal-old-price { font-size: 0.85rem; }
  .pm-installments { font-size: 0.74rem; }
  .product-modal-desc { font-size: 0.84rem; line-height: 1.65; }
  .pm-divider { margin: 14px 0; }
  .product-modal-qty { margin-bottom: 14px; }
  .qty-control { border-radius: 10px; }
  .qty-btn { width: 38px; height: 38px; }
  .qty-value { width: 42px; font-size: 0.88rem; line-height: 38px; }
  .coupon-input { padding: 10px 12px; font-size: 0.8rem; }
  .coupon-apply-btn { padding: 10px 14px; font-size: 0.66rem; }
  .product-modal-actions { flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .pm-add-cart-btn { padding: 14px 20px; font-size: 0.8rem; border-radius: 12px; }
  .pm-whatsapp-btn { padding: 13px 20px; font-size: 0.76rem; border-radius: 12px; justify-content: center; }
  .product-modal-close { top: 10px; right: 10px; width: 36px; height: 36px; }
  .product-modal-close svg { width: 16px; height: 16px; }
  .review-item { padding: 14px; }
  .review-avatar { width: 32px; height: 32px; font-size: 0.76rem; }
}

/* ---------- CART DRAWER MOBILE ---------- */
@media (max-width: 767px) {
  .cart-drawer-panel { max-width: 100%; }
  .cart-drawer-header { padding: 16px; }
  .cart-drawer-header h3 { font-size: 1.2rem; }
  .cart-drawer-items { padding: 12px 16px; }
  .cart-item-info h4 { font-size: 0.82rem; }
  .cart-item-price { font-size: 0.8rem; }
  .qty-btn-sm { width: 28px; height: 28px; font-size: 0.8rem; }
  .cart-item-qty span { width: 26px; font-size: 0.78rem; }
  .cart-item-remove { width: 28px; height: 28px; }
  .cart-drawer-footer { padding: 16px; }
  .cart-summary-row { font-size: 0.8rem; }
  .cart-total-row { font-size: 1rem; }
  .cart-coupon-wrap { gap: 6px; }
}

/* ---------- SEARCH MOBILE ---------- */
@media (max-width: 767px) {
  .search-container { padding: 80px 12px 16px; }
  .search-box { padding: 20px 16px; border-radius: 14px; }
  .search-input { padding: 12px 14px 12px 42px; font-size: 0.92rem; border-radius: 10px; }
  .search-input-wrap svg { left: 14px; width: 18px; height: 18px; }
  .search-hint { display: none; }
  .search-result-item { padding: 12px 14px; gap: 12px; }
  .search-result-icon { width: 40px; height: 40px; border-radius: 8px; }
  .search-result-info h4 { font-size: 0.82rem; }
  .search-result-info .search-price { font-size: 0.8rem; }
  .search-close-btn { top: 62px; right: 12px; width: 36px; height: 36px; }
}

/* ---------- WHATSAPP & BACK-TO-TOP MOBILE ---------- */
@media (max-width: 767px) {
  .whatsapp-btn { width: 48px; height: 48px; bottom: 16px; left: 16px; border-radius: 14px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }
  .whatsapp-tooltip { display: none; }
  .back-to-top { width: 38px; height: 38px; border-radius: 10px; bottom: 16px; right: 16px; }
  .back-to-top svg { width: 18px; height: 18px; }
}

/* ---------- AUTH MODAL MOBILE ---------- */
@media (max-width: 767px) {
  .auth-modal-content {
    width: 100%; max-width: 100%; max-height: 100vh;
    border-radius: 0; padding: 24px 16px;
    animation: modalInMobile 0.25s ease;
  }
}

/* ---------- SMOOTH TOUCH ---------- */
@media (max-width: 767px) {
  .offers-carousel-track, .kits-carousel-track { -webkit-overflow-scrolling: touch; }
  .btn, .icon-btn, .filter-sort-btn, .filter-price-toggle, .faq-question,
  .product-card, .social-link,
  .footer-links a { min-height: 44px; }
  .filter-sort-btn, .filter-price-toggle { min-height: 36px; }
}

/* ============================================================
   EDIT MODE — Professional Inline WYSIWYG v2
   ============================================================ */

/* ---------- Edit mode button in dropdown ---------- */
.user-dropdown-item--edit {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
  color: #fff !important;
  font-weight: 600;
  transition: all 0.25s ease;
}
.user-dropdown-item--edit:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124,58,237,0.35);
}
.user-dropdown-item--edit svg { flex-shrink: 0; }

/* ---------- Top Edit Bar (slim single-row) ---------- */
.em-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100000;
  background: linear-gradient(135deg, #1e1b2e 0%, #2d2545 100%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #e2dff0;
  backdrop-filter: blur(12px);
  animation: emBarSlideDown 0.4s ease;
}
@keyframes emBarSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.em-bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 20px;
  max-width: 100%;
}

.em-bar__left { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.em-badge {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  padding: 6px 14px; border-radius: 20px;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 2px 12px rgba(139,92,246,0.4);
  animation: emBadgePulse 2s infinite;
  white-space: nowrap;
}
@keyframes emBadgePulse {
  0%,100% { box-shadow: 0 2px 12px rgba(139,92,246,0.4); }
  50%     { box-shadow: 0 2px 20px rgba(139,92,246,0.7); }
}

.em-bar__right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.em-btn {
  padding: 8px 16px; border: none; border-radius: 8px; font-size: 12px;
  font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px;
  transition: all 0.2s; font-family: 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
}
.em-btn svg { flex-shrink: 0; }
.em-btn--global {
  background: rgba(139,92,246,0.2); color: #A78BFA;
  border: 1px solid rgba(139,92,246,0.3);
}
.em-btn--global:hover { background: rgba(139,92,246,0.35); color: #fff; }
.em-btn--reset {
  background: rgba(239,68,68,0.15); color: #f87171;
  border: 1px solid rgba(239,68,68,0.3);
}
.em-btn--reset:hover { background: rgba(239,68,68,0.3); color: #fff; }
.em-btn--cancel {
  background: rgba(255,255,255,0.08); color: #c4bfdb;
  border: 1px solid rgba(255,255,255,0.1);
}
.em-btn--cancel:hover { background: rgba(255,255,255,0.15); color: #fff; }
.em-btn--save {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff; box-shadow: 0 2px 12px rgba(16,185,129,0.35);
}
.em-btn--save:hover {
  transform: translateY(-1px); box-shadow: 0 4px 20px rgba(16,185,129,0.5);
}
.em-btn--save:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Body offset when bar is showing ---------- */
body.em-active { padding-top: 116px; }
body.em-active .site-header { top: 44px; }

/* ---------- Promo Banner inactive state in edit mode ---------- */
.em-promo-inactive {
  opacity: 0.4;
  background: repeating-linear-gradient(
    45deg,
    var(--primary-pale),
    var(--primary-pale) 10px,
    transparent 10px,
    transparent 20px
  ) !important;
  border: 2px dashed var(--primary) !important;
  position: relative;
}
.em-promo-inactive::after {
  content: 'DESATIVADO';
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(239,68,68,0.9);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ---------- Section Edit Buttons ---------- */
.em-section-edit-btn {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 100;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  border: none; border-radius: 24px;
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  color: #fff;
  font-size: 0.78rem; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(139,92,246,0.4);
  transition: all 0.25s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  animation: emFadeIn 0.3s ease;
  white-space: nowrap;
}
.em-section-edit-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(139,92,246,0.55);
}
.em-section-edit-btn:active { transform: scale(0.97); }
.em-section-edit-btn svg { flex-shrink: 0; }
.em-section-edit-btn .em-ico { width: 13px; height: 13px; }

/* ---------- Section Highlight ---------- */
.em-section-highlight {
  outline: 3px solid rgba(139,92,246,0.4) !important;
  outline-offset: -3px;
  border-radius: 4px;
  transition: outline 0.3s ease;
}

/* ---------- Section Panel (slide from right) ---------- */
.em-panel-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.18);
  z-index: 100001;
  opacity: 0; transition: opacity 0.3s ease;
}
.em-panel-backdrop--open { opacity: 1; }

.em-section-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 92vw;
  z-index: 100002;
  background: linear-gradient(180deg, #1e1b2e 0%, #2a2340 100%);
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  display: flex; flex-direction: column;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #e2dff0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.em-section-panel.em-panel--open { transform: translateX(0); }

.em-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.em-panel-header h3 {
  font-size: 1rem; font-weight: 700; margin: 0; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.em-panel-header h3 .em-ico,
.em-panel-header h3 > svg { width: 18px; height: 18px; color: #A78BFA; flex-shrink: 0; }
.em-panel-close {
  width: 36px; height: 36px; border: none;
  background: rgba(255,255,255,0.08); color: #c4bfdb;
  border-radius: 8px; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.em-panel-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

.em-panel-body {
  flex: 1; overflow-y: auto; padding: 16px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(139,92,246,0.3) transparent;
}
.em-panel-body::-webkit-scrollbar { width: 6px; }
.em-panel-body::-webkit-scrollbar-track { background: transparent; }
.em-panel-body::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 3px; }

.em-panel-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.em-panel-save {
  width: 100%; padding: 12px 20px;
  border: none; border-radius: 10px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff; font-size: 14px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(16,185,129,0.35);
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.em-panel-save:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(16,185,129,0.5); }
.em-panel-save:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Panel Internal Styles ---------- */
.em-panel-section {
  margin-bottom: 20px;
}
.em-panel-section-title {
  font-size: 0.72rem; font-weight: 700;
  color: #A78BFA; text-transform: uppercase;
  letter-spacing: 0.8px; margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(139,92,246,0.15);
}

.em-panel-elem-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all 0.2s;
  overflow: hidden;
}
.em-panel-elem-item:hover {
  border-color: rgba(139,92,246,0.25);
  background: rgba(255,255,255,0.06);
}
.em-panel-elem-item--active {
  border-color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.08);
}

.em-panel-elem-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  gap: 8px;
}
.em-panel-elem-label {
  font-size: 0.78rem; font-weight: 600; color: #e2dff0;
  white-space: nowrap;
}
.em-panel-elem-preview {
  font-size: 0.7rem; color: #8b86a5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 160px; text-align: right;
}

.em-panel-elem-tools {
  padding: 8px 14px 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  animation: emPanelToolsIn 0.25s ease;
}
@keyframes emPanelToolsIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.em-panel-tool-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.em-panel-tool-row:last-child { margin-bottom: 0; }
.em-panel-tool-row > label {
  font-size: 0.68rem; font-weight: 600; color: #9b95b3;
  text-transform: uppercase; letter-spacing: 0.4px;
  min-width: 56px; white-space: nowrap;
}
.em-panel-tool-row--btns {
  gap: 6px; margin-top: 4px;
}

.em-panel-range {
  -webkit-appearance: none; appearance: none;
  flex: 1; height: 5px;
  background: rgba(255,255,255,0.12); border-radius: 3px; outline: none;
}
.em-panel-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
  cursor: pointer; box-shadow: 0 2px 8px rgba(139,92,246,0.4);
}
.em-panel-range-val {
  font-size: 0.7rem; color: #c4bfdb; font-weight: 600;
  min-width: 34px; text-align: center;
}

.em-panel-color {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px; background: none; cursor: pointer; padding: 2px;
}
.em-panel-color:hover { border-color: #8B5CF6; }
.em-panel-color::-webkit-color-swatch-wrapper { padding: 0; }
.em-panel-color::-webkit-color-swatch { border: none; border-radius: 5px; }

.em-panel-select {
  flex: 1;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: #e2dff0; font-size: 0.75rem; font-weight: 500;
  padding: 6px 10px; border-radius: 6px; cursor: pointer;
  outline: none; font-family: 'Plus Jakarta Sans', sans-serif;
}
.em-panel-select:hover { border-color: #8B5CF6; }
.em-panel-select option { background: #2d2545; color: #e2dff0; }

.em-panel-tool-btn {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06); color: #c4bfdb;
  border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.em-panel-tool-btn:hover { background: rgba(139,92,246,0.25); color: #fff; border-color: rgba(139,92,246,0.4); }
.em-panel-tool-btn--reset { color: #f87171; margin-left: auto; }
.em-panel-tool-btn--reset:hover { background: rgba(239,68,68,0.25); color: #fff; border-color: rgba(239,68,68,0.4); }

.em-panel-check-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: #c4bfdb; cursor: pointer;
}
.em-panel-check-label input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: #8B5CF6; cursor: pointer;
}

.em-panel-special {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 14px;
  margin-bottom: 16px;
}

/* ---------- Editable element states ---------- */
.em-editable {
  position: relative;
  outline: 2px dashed transparent;
  outline-offset: 4px;
  border-radius: 4px;
  transition: outline-color 0.2s;
  cursor: text;
  min-width: 40px;
  min-height: 20px;
}
.em-editable:hover {
  outline-color: rgba(139,92,246,0.45);
}
.em-editable:focus,
.em-editable.em-selected {
  outline-color: #8B5CF6;
  outline-style: solid;
  box-shadow: 0 0 0 4px rgba(139,92,246,0.08);
}
/* Buttons/links: keep their original look, only show outline outside */
.em-editable.btn,
.em-editable[class*="btn-"] {
  outline-offset: 6px;
  box-shadow: none !important;
  -webkit-text-fill-color: initial;
  background-clip: padding-box;
}
.em-editable.btn::before,
.em-editable[class*="btn-"]::before {
  content: none !important;
}
.em-editable.btn:hover,
.em-editable[class*="btn-"]:hover {
  outline: 2px dashed rgba(34,211,238,0.6);
  outline-offset: 6px;
}
.em-editable.btn:focus,
.em-editable.btn.em-selected,
.em-editable[class*="btn-"]:focus,
.em-editable[class*="btn-"].em-selected {
  outline: 2px solid #22d3ee;
  outline-offset: 6px;
  box-shadow: none !important;
}

/* Label on hover — appears above the element */
.em-editable::before {
  content: attr(data-em-label);
  position: absolute;
  top: -24px; left: 0;
  background: #7C3AED; color: #fff;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 2px 8px; border-radius: 4px;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none; white-space: nowrap;
  z-index: 50;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.4;
}
.em-editable:hover::before,
.em-editable:focus::before,
.em-editable.em-selected::before {
  opacity: 1; transform: translateY(0);
}

/* ---------- Section Controls ---------- */
.em-section-ctrl {
  position: absolute;
  top: 12px; left: 12px;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #1e1b2e 0%, #2d2545 100%);
  padding: 6px 14px; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 90;
  font-family: 'Plus Jakarta Sans', sans-serif;
  animation: emFadeIn 0.3s ease;
}
@keyframes emFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.em-section-label {
  font-size: 11px; font-weight: 700; color: #A78BFA;
  text-transform: uppercase; letter-spacing: 0.6px;
}
.em-section-btns { display: flex; gap: 4px; }
.em-section-btn {
  width: 30px; height: 30px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06); color: #c4bfdb;
  border-radius: 6px; cursor: pointer; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.em-section-btn:hover:not(:disabled) { background: rgba(139,92,246,0.3); color: #fff; border-color: #8B5CF6; }
.em-section-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ---------- Notification ---------- */
.em-notification {
  position: fixed;
  bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff; padding: 14px 28px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 32px rgba(16,185,129,0.4);
  z-index: 100001;
  opacity: 0; transition: opacity 0.4s, transform 0.4s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.em-notification--error {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  box-shadow: 0 8px 32px rgba(239,68,68,0.4);
}
.em-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Background Animations ---------- */
.em-bg-anim {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* Particles */
.em-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary, #C4879A);
  opacity: 0;
  animation: emParticleFloat linear infinite;
}
@keyframes emParticleFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 0.25; }
  90%  { opacity: 0.25; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* Gradient flow */
.em-gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: emBlobDrift 12s ease-in-out infinite alternate;
}
.em-gradient-blob--1 { width: 400px; height: 400px; background: var(--primary, #C4879A); top: 10%; left: 10%; }
.em-gradient-blob--2 { width: 300px; height: 300px; background: var(--accent, #8B5A2B); top: 50%; right: 10%; animation-delay: -4s; }
.em-gradient-blob--3 { width: 350px; height: 350px; background: var(--primary-light, #DAADB8); bottom: 10%; left: 40%; animation-delay: -8s; }
@keyframes emBlobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.2); }
}

/* Sparkles */
.em-sparkle {
  position: absolute;
  color: var(--primary, #C4879A);
  opacity: 0;
  animation: emSparkle ease-in-out infinite;
}
@keyframes emSparkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50%      { opacity: 0.7; transform: scale(1.3) rotate(180deg); }
}

/* Bubbles */
.em-bubble {
  position: absolute;
  bottom: -50px;
  border-radius: 50%;
  border: 2px solid var(--primary, #C4879A);
  background: rgba(196, 135, 154, 0.06);
  opacity: 0;
  animation: emBubbleRise linear infinite;
}
@keyframes emBubbleRise {
  0%   { transform: translateY(0) scale(0.5); opacity: 0; }
  10%  { opacity: 0.25; }
  90%  { opacity: 0.12; }
  100% { transform: translateY(-110vh) scale(1); opacity: 0; }
}

/* Waves */
.em-wave {
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 200px;
  animation: emWaveFloat 8s ease-in-out infinite alternate;
}
.em-wave--2 { animation-delay: -4s; animation-duration: 10s; }
@keyframes emWaveFloat {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-60px); }
}

/* ---------- Edit Mode CRUD Controls ---------- */
/* Section floating action bar */
.em-crud-bar {
  position: absolute;
  top: 56px; right: 12px;
  z-index: 50;
  display: flex; gap: 6px; align-items: center;
  padding: 6px 10px;
  background: linear-gradient(135deg, #1e1b2e 0%, #2d2545 100%);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  animation: emFadeIn 0.3s ease;
}
@keyframes emFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.em-crud-bar__label {
  color: #c4b5fd;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
  white-space: nowrap;
}

.em-crud-fab {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.em-crud-fab--add {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}
.em-crud-fab--add:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,0.4); }

/* Item-level overlay buttons (edit/delete on hover) */
.em-crud-item-actions {
  position: absolute;
  top: 8px; right: 8px;
  display: none;
  gap: 4px;
  z-index: 20;
  animation: emFadeIn 0.2s ease;
}
body.em-active .product-card:hover .em-crud-item-actions,
body.em-active .testimonial-card:hover .em-crud-item-actions,
body.em-active .faq-item:hover .em-crud-item-actions,
body.em-active .offer-carousel-card:hover .em-crud-item-actions {
  display: flex;
}

.em-crud-item-btn {
  width: 30px; height: 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.em-crud-item-btn--edit {
  background: #3b82f6;
  color: #fff;
}
.em-crud-item-btn--edit:hover { background: #2563eb; transform: scale(1.1); }
.em-crud-item-btn--delete {
  background: #ef4444;
  color: #fff;
}
.em-crud-item-btn--delete:hover { background: #dc2626; transform: scale(1.1); }

/* CRUD Modal overlay */
.em-crud-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 10, 30, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200000;
  display: flex; align-items: center; justify-content: center;
  animation: emFadeIn 0.25s ease;
}
.em-crud-modal {
  background: #1e1b2e;
  border-radius: 16px;
  width: 90%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(139,92,246,0.2);
  color: #e2dff0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.em-crud-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.em-crud-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.em-crud-close {
  background: none; border: none; color: #94a3b8; font-size: 1.5rem;
  cursor: pointer; padding: 0; line-height: 1;
  transition: color 0.2s;
}
.em-crud-close:hover { color: #ef4444; }

.em-crud-body {
  padding: 20px;
}
.em-crud-field {
  margin-bottom: 14px;
}
.em-crud-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.em-crud-field input,
.em-crud-field select,
.em-crud-field textarea {
  width: 100%;
  padding: 9px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #e2dff0;
  font-size: 0.88rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.em-crud-field input:focus,
.em-crud-field select:focus,
.em-crud-field textarea:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.em-crud-field textarea { resize: vertical; min-height: 70px; }
.em-crud-field select option { background: #1e1b2e; color: #e2dff0; }
.em-crud-field input::placeholder,
.em-crud-field textarea::placeholder { color: rgba(226,223,240,0.35); }

.em-crud-field-row {
  display: flex; gap: 12px;
}
.em-crud-field-row .em-crud-field { flex: 1; }

.em-crud-field .em-crud-checkbox {
  display: flex; align-items: center; gap: 8px;
}
.em-crud-field .em-crud-checkbox input[type="checkbox"] {
  width: auto; accent-color: #8b5cf6;
}

/* Image preview in CRUD modal */
.em-crud-img-preview {
  width: 100%; max-height: 160px; object-fit: cover; border-radius: 8px;
  margin-top: 8px; border: 1px solid rgba(255,255,255,0.1);
}
.em-crud-img-upload-row {
  display: flex; gap: 8px; align-items: center; margin-top: 6px;
}
.em-crud-img-upload-btn {
  padding: 6px 14px;
  background: rgba(139,92,246,0.2);
  border: 1px dashed rgba(139,92,246,0.4);
  border-radius: 8px;
  color: #c4b5fd;
  cursor: pointer;
  font-size: 0.78rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s;
}
.em-crud-img-upload-btn:hover { background: rgba(139,92,246,0.3); }

.em-crud-footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
}
.em-crud-btn {
  padding: 9px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s ease;
}
.em-crud-btn--cancel {
  background: rgba(255,255,255,0.08);
  color: #94a3b8;
}
.em-crud-btn--cancel:hover { background: rgba(255,255,255,0.14); color: #e2dff0; }
.em-crud-btn--save {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}
.em-crud-btn--save:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(139,92,246,0.4); }
.em-crud-btn--save:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ============================================
   EDIT MODE: HERO IMAGE OVERLAY
   ============================================ */
.em-hero-img-overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: rgba(0,0,0,0.35); border-radius: inherit;
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
body.em-active .em-hero-img-overlay { pointer-events: auto; }
body.em-active .hero-image-inner:hover .em-hero-img-overlay { opacity: 1; }

.em-hero-img-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: none; border-radius: 10px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s ease; backdrop-filter: blur(4px);
}
.em-hero-img-btn--upload {
  background: rgba(255,255,255,0.95); color: #1e293b;
}
.em-hero-img-btn--upload:hover { background: #fff; transform: scale(1.05); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.em-hero-img-btn--remove {
  background: rgba(239,68,68,0.9); color: #fff; font-size: 0.78rem; padding: 7px 14px;
}
.em-hero-img-btn--remove:hover { background: #ef4444; transform: scale(1.05); }

/* ============================================
   EDIT MODE: PROMO BANNER OVERLAY
   ============================================ */
.em-promo-overlay {
  position: absolute; top: 0; right: 8px; bottom: 0;
  display: flex; align-items: center; z-index: 10;
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
body.em-active .em-promo-overlay { pointer-events: auto; }
body.em-active .promo-banner:hover .em-promo-overlay { opacity: 1; }

.em-promo-controls {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 8px;
}

.em-promo-toggle {
  position: relative; width: 36px; height: 20px; cursor: pointer; display: inline-block;
}
.em-promo-toggle input { opacity: 0; width: 0; height: 0; }
.em-promo-toggle-slider {
  position: absolute; inset: 0; background: #64748b; border-radius: 20px;
  transition: background 0.25s ease;
}
.em-promo-toggle-slider::before {
  content: ''; position: absolute; width: 16px; height: 16px;
  left: 2px; top: 2px; background: #fff; border-radius: 50%;
  transition: transform 0.25s ease;
}
.em-promo-toggle input:checked + .em-promo-toggle-slider { background: #10b981; }
.em-promo-toggle input:checked + .em-promo-toggle-slider::before { transform: translateX(16px); }

.em-promo-edit-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px; border: none; border-radius: 6px;
  background: rgba(255,255,255,0.9); color: #1e293b;
  font-size: 0.72rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.em-promo-edit-btn:hover { background: #fff; transform: scale(1.05); }

/* ---------- Global Panel (Collapsible Sections) ---------- */
.em-ico {
  display: inline-block; vertical-align: middle;
  width: 14px; height: 14px; flex-shrink: 0;
}
.em-gpanel-wrapper { display: flex; flex-direction: column; gap: 6px; }
.em-gpanel-group {
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: all 0.2s ease;
}
.em-gpanel-group:hover { border-color: rgba(255,255,255,0.1); }
.em-gpanel-group-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; cursor: pointer;
  background: none; border: none; color: #e2e8f0;
  width: 100%; text-align: left; font-size: 0.85rem;
  font-weight: 600; transition: all 0.15s;
}
.em-gpanel-group-header:hover { background: rgba(255,255,255,0.04); }
.em-gpanel-group-icon {
  width: 24px; display: flex; align-items: center; justify-content: center;
}
.em-gpanel-group-icon .em-ico,
.em-gpanel-group-icon svg { width: 16px; height: 16px; color: #A78BFA; }
.em-gpanel-group-title { flex: 1; }
.em-gpanel-chevron {
  color: rgba(255,255,255,0.35);
  transition: transform 0.25s ease;
}
.em-gpanel-group--open .em-gpanel-chevron { transform: rotate(180deg); }
.em-gpanel-group-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 14px;
}
.em-gpanel-group--open .em-gpanel-group-body {
  max-height: 2000px; padding: 4px 14px 14px;
}

/* Subsections */
.em-gpanel-subsection {
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.em-gpanel-subsection:first-child { border-top: none; padding-top: 4px; }
.em-gpanel-sub-title {
  font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.6px;
  margin: 0 0 10px 0;
  display: flex; align-items: center; gap: 6px;
}
.em-gpanel-sub-title .em-ico,
.em-gpanel-sub-title svg { width: 12px; height: 12px; color: rgba(255,255,255,0.4); }

/* Color row */
.em-gpanel-color-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.em-gpanel-color-row:last-child { border-bottom: none; }
.em-gpanel-color-info { flex: 1; min-width: 0; }
.em-gpanel-color-info label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: #e2e8f0; margin: 0;
}
.em-gpanel-color-info small {
  display: block; font-size: 0.65rem; color: rgba(255,255,255,0.4);
  margin-top: 2px; line-height: 1.3;
}
.em-gpanel-color-ctrl {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.em-gpanel-color-ctrl input[type="color"] {
  width: 32px; height: 32px; border: 2px solid rgba(255,255,255,0.12);
  border-radius: 8px; cursor: pointer; padding: 2px;
  background: rgba(255,255,255,0.06);
  transition: border-color 0.2s;
}
.em-gpanel-color-ctrl input[type="color"]:hover { border-color: rgba(255,255,255,0.25); }
.em-gpanel-color-hex {
  font-family: monospace; font-size: 0.68rem;
  color: rgba(255,255,255,0.45); min-width: 55px;
}

/* Toggle switch */
.em-gpanel-toggle {
  position: relative; display: inline-block;
  width: 40px; height: 22px; flex-shrink: 0;
}
.em-gpanel-toggle input { opacity: 0; width: 0; height: 0; }
.em-gpanel-toggle-slider {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.12); border-radius: 11px;
  cursor: pointer; transition: all 0.25s;
}
.em-gpanel-toggle-slider::before {
  content: ''; position: absolute;
  width: 16px; height: 16px; left: 3px; bottom: 3px;
  background: rgba(255,255,255,0.6); border-radius: 50%;
  transition: all 0.25s;
}
.em-gpanel-toggle input:checked + .em-gpanel-toggle-slider {
  background: #8B5CF6;
}
.em-gpanel-toggle input:checked + .em-gpanel-toggle-slider::before {
  transform: translateX(18px); background: #fff;
}

/* Select row */
.em-gpanel-select-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.em-gpanel-select-row:last-child { border-bottom: none; }
.em-gpanel-select-info { flex: 1; min-width: 0; }
.em-gpanel-select-info label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: #e2e8f0; margin: 0;
}
.em-gpanel-select-info small {
  display: block; font-size: 0.65rem; color: rgba(255,255,255,0.4);
  margin-top: 2px; line-height: 1.3;
}
.em-gpanel-select {
  padding: 7px 10px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06); color: #e2e8f0;
  font-size: 0.75rem; min-width: 130px; max-width: 160px;
  cursor: pointer; transition: border-color 0.2s;
}
.em-gpanel-select:hover { border-color: rgba(255,255,255,0.25); }
.em-gpanel-select:focus { border-color: #8B5CF6; outline: none; }
.em-gpanel-select option { background: #1e1b2e; color: #e2dff0; }

/* Range row */
.em-gpanel-range-wrap {
  display: flex; align-items: center; gap: 8px;
  min-width: 130px; max-width: 160px;
}
.em-gpanel-range-wrap input[type="range"] {
  flex: 1; height: 4px; -webkit-appearance: none; appearance: none;
  background: rgba(255,255,255,0.12); border-radius: 2px;
  outline: none;
}
.em-gpanel-range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 14px; height: 14px;
  border-radius: 50%; background: #8B5CF6; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.3);
}
.em-gpanel-range-val {
  font-family: monospace; font-size: 0.7rem;
  color: rgba(255,255,255,0.55); min-width: 32px;
  text-align: right;
}

/* Preset palette bar */
.em-gpanel-preset-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 0 4px; margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.em-gpanel-preset-bar small {
  font-size: 0.65rem; color: rgba(255,255,255,0.4);
  width: 100%; margin-bottom: 2px;
}
.em-gpanel-preset {
  width: 30px; height: 30px; border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.1);
  background: none; cursor: pointer; padding: 3px;
  transition: all 0.2s;
}
.em-gpanel-preset:hover { border-color: rgba(255,255,255,0.4); transform: scale(1.1); }
.em-gpanel-preset span {
  display: block; width: 100%; height: 100%;
  border-radius: 5px;
}

/* Button variants from global panel */
.btn--gradient { background: linear-gradient(135deg, var(--primary), var(--primary-mid)) !important; }
.btn--outline {
  background: transparent !important; color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
}
.btn--outline:hover { background: var(--primary-pale) !important; }
.btn--soft { background: var(--primary-pale) !important; color: var(--primary-mid) !important; }
.btn--soft:hover { background: var(--primary-soft) !important; }

/* ---------- Edit Mode Responsive — Mobile ---------- */
@media (max-width: 768px) {

  /* ── Bottom floating toolbar ── */
  .em-bar {
    top: auto;
    bottom: 0;
    left: 0; right: 0;
    border-radius: 20px 20px 0 0;
    background: rgba(30,27,46,0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.35);
    animation: emBarSlideUp 0.35s ease;
  }
  @keyframes emBarSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }
  .em-bar-inner {
    padding: 10px 14px 12px;
    gap: 0;
    justify-content: center;
  }

  /* Hide badge area on mobile — free up space */
  .em-bar__left { display: none; }

  /* Action buttons row: evenly spaced icons */
  .em-bar__right {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0;
  }

  /* All buttons become icon-only circles with small label below */
  .em-btn {
    flex-direction: column;
    padding: 0;
    gap: 3px;
    border: none;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0;
    width: auto;
    height: auto;
    font-size: 0;
    min-width: 52px;
  }
  .em-btn svg {
    width: 22px; height: 22px;
    background: rgba(255,255,255,0.08);
    padding: 8px;
    border-radius: 14px;
    box-sizing: content-box;
    transition: all 0.2s ease;
  }
  .em-btn:active svg {
    transform: scale(0.9);
    background: rgba(255,255,255,0.14);
  }

  /* Show tiny label under each icon */
  .em-btn-label {
    display: block !important;
    font-size: 9px !important;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-align: center;
    opacity: 0.7;
  }

  /* Color per button type */
  .em-btn--global svg { color: #A78BFA; }
  .em-btn--global .em-btn-label { color: #A78BFA; }
  .em-btn--reset svg { color: #f87171; }
  .em-btn--reset .em-btn-label { color: #f87171; }
  .em-btn--cancel svg { color: #94a3b8; }
  .em-btn--cancel .em-btn-label { color: #94a3b8; }
  .em-btn--save svg {
    color: #fff;
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 2px 12px rgba(16,185,129,0.35);
  }
  .em-btn--save .em-btn-label { color: #34d399; }

  .em-btn--save:hover,
  .em-btn--save:active { transform: none; }
  .em-btn--save:disabled { opacity: 0.5; }

  /* ── Body offset: only bottom (no top) ── */
  body.em-active { padding-top: 72px; padding-bottom: 80px; }
  body.em-active .site-header { top: 0; }

  /* ── Section Edit Buttons: compact icon-only pill ── */
  .em-section-edit-btn {
    top: 8px; right: 8px;
    padding: 7px 12px;
    font-size: 0.68rem;
    gap: 4px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(139,92,246,0.35);
  }
  /* Hide the label text, only show icon + emoji */
  .em-section-edit-btn .em-edit-label { display: none; }

  /* ── Section Reorder Controls: minimal ── */
  .em-section-ctrl {
    top: 8px; left: 8px;
    padding: 4px 8px;
    border-radius: 8px;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  }
  .em-section-label { font-size: 9px; letter-spacing: 0.4px; }
  .em-section-btns { gap: 3px; }
  .em-section-btn { width: 26px; height: 26px; font-size: 10px; border-radius: 6px; }

  /* ── CRUD Bars: horizontal strip below edit btn ── */
  .em-crud-bar {
    top: auto;
    bottom: 90px;
    left: 10px; right: 10px;
    max-width: 100%;
    border-radius: 12px;
    padding: 6px 10px;
    gap: 5px;
    justify-content: center;
    position: fixed;
    z-index: 99999;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.3);
  }
  .em-crud-bar__label { font-size: 0.6rem; display: none; }
  .em-crud-fab {
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 8px;
  }

  /* ── Section Panel: full screen ── */
  .em-section-panel { width: 100%; max-width: 100%; }

  /* ── Notification: above bottom bar ── */
  .em-notification { bottom: 90px; }

  /* ── Promo inactive label ── */
  .em-promo-inactive::after {
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.55rem;
    padding: 2px 6px;
  }
}

@media (max-width: 480px) {
  .em-bar-inner { padding: 8px 10px 10px; }
  .em-btn svg { width: 20px; height: 20px; padding: 7px; border-radius: 12px; }
  .em-btn-label { font-size: 8px !important; }
  .em-btn { min-width: 46px; }

  .em-section-edit-btn {
    padding: 6px 10px;
    font-size: 0.62rem;
    top: 5px; right: 5px;
  }
}
