/* ============================================
   PerfumeStore - Light Theme
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #ffffff;
  --primary-light: #f8f9fa;
  --primary-dark: #e9ecef;
  --accent: #b8860b;
  --accent-light: #d4a843;
  --accent-dark: #8b6508;
  --accent-hover: #d4a843;
  --text: #212529;
  --text-muted: #6c757d;
  --text-dark: #212529;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-card: #ffffff;
  --bg-input: #f1f3f5;
  --border: #dee2e6;
  --border-light: #e9ecef;
  --white: #212529;
  --danger: #dc3545;
  --success: #198754;
  --warning: #ffc107;
  --info: #0dcaf0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 50px;
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
  --header-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p { margin-bottom: 1rem; color: var(--text); }

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #c0c0c0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.section { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: 0.5rem; }
.section-title p { color: var(--text-muted); }
.section-title .accent-line { width: 60px; height: 3px; background: var(--accent); margin: 1rem auto; border-radius: 2px; }

/* ---------- Hero Dinamico (slides do admin) ---------- */
.hero-dyn {
  position: relative;
  background: linear-gradient(135deg, #fdf6e3 0%, #fff8ee 45%, #ffffff 100%);
  border-bottom: 1px solid #f1e8d0;
  overflow: hidden;
}

.hero-stack { display: grid; }

.hero-dslide {
  grid-area: 1 / 1;
  padding: 2.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.hero-dslide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Efeitos de transicao por slide */
.hero-dslide[data-effect="slide"] { transform: translateX(70px); }
.hero-dslide.active[data-effect="slide"] { transform: translateX(0); }
.hero-dslide[data-effect="zoom"] { transform: scale(0.93); }
.hero-dslide.active[data-effect="zoom"] { transform: scale(1); }
.hero-dslide[data-effect="fade"] { transform: none; }

/* Entrada escalonada dos textos */
.hero-dslide .hero-text > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-dslide.active .hero-text > * { opacity: 1; transform: translateY(0); }
.hero-dslide.active .hero-text > *:nth-child(1) { transition-delay: 0.05s; }
.hero-dslide.active .hero-text > *:nth-child(2) { transition-delay: 0.15s; }
.hero-dslide.active .hero-text > *:nth-child(3) { transition-delay: 0.25s; }
.hero-dslide.active .hero-text > *:nth-child(4) { transition-delay: 0.35s; }
.hero-dslide.active .hero-text > *:nth-child(5) { transition-delay: 0.45s; }

/* Foto do slide */
.hero-photo {
  position: relative;
  max-width: 380px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(184, 134, 11, 0.2);
  box-shadow: 0 24px 60px rgba(184, 134, 11, 0.16);
}

.hero-photo img { width: 100%; height: auto; display: block; }

.hero-dslide.active .hero-photo img { animation: photoZoom 7s ease-out forwards; }

@keyframes photoZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* Animacoes decorativas */
.anim-flutuar { animation: floatY 6s ease-in-out infinite; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-circle .pt {
  position: absolute;
  border-radius: 50%;
  background: #b8860b;
  pointer-events: none;
}

.hero-circle .pt-1 { width: 7px; height: 7px; top: 16%; left: 14%; opacity: 0.5; animation: pt1 7s ease-in-out infinite; }
.hero-circle .pt-2 { width: 5px; height: 5px; top: 66%; right: 12%; opacity: 0.4; animation: pt2 9s ease-in-out infinite; }
.hero-circle .pt-3 { width: 9px; height: 9px; bottom: 12%; left: 26%; opacity: 0.25; animation: pt3 11s ease-in-out infinite; }

@keyframes pt1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -26px); } }
@keyframes pt2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-24px, 18px); } }
@keyframes pt3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(28px, -20px); } }

.anim-brilho { position: relative; overflow: hidden; }

.anim-brilho::after {
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  animation: shineSweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shineSweep {
  0% { left: -30%; }
  55%, 100% { left: 130%; }
}

/* Setas e dots do hero dinamico */
.hero-dyn .hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dee2e6;
  border-radius: 50%;
  color: #495057;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-dyn .hero-arrow:hover {
  background: #b8860b;
  border-color: #b8860b;
  color: #fff;
}

.hero-dyn .hero-arrow--prev { left: 1.25rem; }
.hero-dyn .hero-arrow--next { right: 1.25rem; }

.hero-dyn .hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
}

.hero-dyn .hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(184, 134, 11, 0.35);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.hero-dyn .hero-dot:hover { border-color: #b8860b; }

.hero-dyn .hero-dot.active {
  background: #b8860b;
  border-color: #b8860b;
  transform: scale(1.2);
}
header { margin-bottom: 0; }
main { display: block; }
.hero-slider,
.hero-clean,
.hero-clean-slides { margin-top: 0 !important; }
.hero {
  background: linear-gradient(135deg, #fdf6e3 0%, #fff8ee 45%, #ffffff 100%);
  padding: 4rem 0;
  margin: 0;
  border-bottom: 1px solid #f1e8d0;
}

#destaques { padding-top: 3rem; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-text { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(184, 134, 11, 0.09);
  border: 1px solid rgba(184, 134, 11, 0.22);
  border-radius: 50px;
  color: #8b6508;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #212529;
  margin-bottom: 1rem;
}

.text-accent { color: #b8860b; }

.hero-text > p {
  font-size: 1.05rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero-btns {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid #eee3c8;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
}

.hero-trust-item i { color: #b8860b; font-size: 1.05rem; }

/* Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(184, 134, 11, 0.18);
  box-shadow: 0 20px 60px rgba(184, 134, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: circleFloat 6s ease-in-out infinite;
}

.hero-circle i {
  font-size: 4.5rem;
  color: #b8860b;
  opacity: 0.4;
}

@keyframes circleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

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

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 0.95rem; }

/* ---------- Product Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card .product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-light);
}

.product-card .product-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image img { transform: scale(1.05); }

/* Segunda foto no hover */
.product-card .img-second {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover .img-second { opacity: 1; }

/* Entrada em fade dos cards */
.products-grid .product-card { animation: cardFade 0.5s ease both; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.05s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.1s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.15s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.2s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.25s; }
.products-grid .product-card:nth-child(7) { animation-delay: 0.3s; }
.products-grid .product-card:nth-child(8) { animation-delay: 0.35s; }
.products-grid .product-card:nth-child(9) { animation-delay: 0.4s; }
.products-grid .product-card:nth-child(10) { animation-delay: 0.45s; }
.products-grid .product-card:nth-child(11) { animation-delay: 0.5s; }
.products-grid .product-card:nth-child(n+12) { animation-delay: 0.55s; }

@keyframes cardFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Botao ver-mais do card */
.card-vermais {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.25s ease;
}

.card-vermais:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.3);
}

.product-card .product-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  transform: translateY(100%);
  transition: transform var(--transition);
}

.product-card:hover .product-actions { transform: translateY(0); }

.product-card .product-actions .action-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  color: var(--accent);
  border-radius: 50%;
  transition: all var(--transition);
}

.product-card .product-actions .action-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.product-card .product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
}

.product-card .product-info { padding: 1.25rem; }

.product-card .product-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.product-card .product-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .product-name a { color: inherit; }
.product-card .product-name a:hover { color: var(--accent); }

.product-card .product-price { display: flex; align-items: center; gap: 0.75rem; }
.product-card .price-current { font-size: 1.2rem; font-weight: 700; color: var(--accent); }
.product-card .price-old { font-size: 0.88rem; color: var(--text-muted); text-decoration: line-through; }

/* ---------- Category Cards ---------- */
.category-card {
  transition: all var(--transition);
  background: #fff !important;
}

.category-card:hover {
  border-color: var(--accent) !important;
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(184, 134, 11, 0.12);
}

/* ---------- Benefits Bar ---------- */
.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.benefit-item:hover { border-color: var(--accent); }

/* ---------- Forms ---------- */
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.form-control::placeholder { color: var(--text-muted); }

/* ---------- Alerts / Toast ---------- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid transparent;
}

.alert-success { background: rgba(25, 135, 84, 0.08); border-color: rgba(25, 135, 84, 0.2); color: var(--success); }
.alert-danger { background: rgba(220, 53, 69, 0.08); border-color: rgba(220, 53, 69, 0.2); color: var(--danger); }
.alert-warning { background: rgba(255, 193, 7, 0.08); border-color: rgba(255, 193, 7, 0.2); color: #664d03; }
.alert-info { background: rgba(13, 202, 240, 0.08); border-color: rgba(13, 202, 240, 0.2); color: #055160; }

/* Toast */
.toast-container {
  position: fixed;
  top: calc(var(--header-height) + 1rem);
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 420px;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toastIn 0.4s ease;
}

.toast.removing { animation: toastOut 0.3s ease forwards; }
.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-warning { border-left: 4px solid var(--warning); }
.toast-info { border-left: 4px solid var(--info); }

.toast .toast-icon { font-size: 1.25rem; flex-shrink: 0; }
.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon { color: var(--danger); }
.toast-warning .toast-icon { color: var(--warning); }
.toast-info .toast-icon { color: var(--info); }
.toast .toast-message { flex: 1; font-size: 0.9rem; color: var(--text); }

.toast .toast-close {
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  transition: color var(--transition);
}

.toast .toast-close:hover { color: var(--text-dark); }

.toast .toast-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: width linear;
}

@keyframes toastIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100%); } }

/* ---------- Spinner ---------- */
.spinner-overlay {
  position: fixed; inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}

.spinner-overlay.active { opacity: 1; visibility: visible; }

.spinner {
  width: 48px; height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm { width: 20px; height: 20px; border-width: 2px; display: inline-block; vertical-align: middle; }

@keyframes spin { to { transform: rotate(360deg); } }

.btn .spinner-sm { border-color: rgba(255,255,255,0.3); border-top-color: currentColor; }
.btn.loading { pointer-events: none; opacity: 0.7; }

/* ---------- Cart fly animation ---------- */
.cart-fly-item {
  position: fixed;
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 9999;
  box-shadow: var(--shadow);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
  opacity: 1;
}

.cart-fly-item.fly { opacity: 0; transform: scale(0.2); }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state .empty-icon { font-size: 4rem; color: var(--border); margin-bottom: 1.5rem; }
.empty-state h3 { margin-bottom: 0.75rem; }
.empty-state p { color: var(--text-muted); margin-bottom: 2rem; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  padding: 1rem;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition);
}

.modal-overlay.active .modal { transform: scale(1) translateY(0); }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 { margin: 0; font-size: 1.25rem; }

.modal-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--transition);
}

.modal-close:hover { background: var(--bg-light); color: var(--text-dark); }
.modal-body { padding: 1.5rem; }
.modal-footer {
  display: flex; justify-content: flex-end; gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; }

.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition);
}

.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ---------- Quantity Selector ---------- */
.quantity-selector {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; width: fit-content;
}

.quantity-selector button {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-light);
  color: var(--text);
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.quantity-selector button:hover { background: var(--accent); color: #fff; }

.quantity-selector input {
  width: 60px; height: 44px;
  text-align: center; font-weight: 600;
  background: #fff;
  color: var(--text-dark);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

/* ---------- Footer ---------- */
.footer {
  background: #f8f9fa;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.75rem; }

.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(184, 134, 11, 0.06);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.footer-col ul li { margin-bottom: 0.75rem; }

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-payments { display: flex; gap: 0.75rem; align-items: center; }

.footer-company {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1rem 0;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.6rem 0;
  text-align: center;
}

.announcement-bar a { color: #fff; }
.announcement-bar a:hover { color: #fff; opacity: 0.9; }

/* ---------- Menu Bar (Inicio + Categorias) ---------- */
.menubar {
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.menubar-inner {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0.25rem;
}

.menubar-inner::-webkit-scrollbar { display: none; }

.menubar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.05rem;
  color: #495057;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.menubar-link i { font-size: 0.9rem; color: #b8860b; }

.menubar-link:hover { color: #b8860b; background: rgba(184, 134, 11, 0.05); }

.menubar-link.active {
  color: #8b6508;
  border-bottom-color: #b8860b;
  background: rgba(184, 134, 11, 0.07);
}

/* ---------- Store Logo ---------- */
.store-logo { max-height: 42px; width: auto; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  z-index: 1050;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.65rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.whatsapp-float--right { right: 24px; }
.whatsapp-float--left { left: 24px; }

.whatsapp-float::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.4;
  animation: whatsapp-pulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }

.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

.d-flex { display: flex; } .d-grid { display: grid; } .d-none { display: none; } .d-block { display: block; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.border { border: 1px solid var(--border); }
.bg-card { background: var(--bg-card); }
.p-2 { padding: 1rem; } .p-3 { padding: 1.5rem; } .p-4 { padding: 2rem; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.text-decoration-none { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { margin: 0 auto; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none !important; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .hero { padding: 3rem 0; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-card .product-info { padding: 1rem; }
  .product-card .product-name { font-size: 0.92rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .section { padding: 2.5rem 0; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
  .btn { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
  .toast { min-width: auto; max-width: calc(100vw - 2rem); }
}

/* ---------- Catalogo ---------- */
.catalog-banner {
  background: linear-gradient(135deg, #fdf6e3 0%, #fff8ee 45%, #ffffff 100%);
  border-bottom: 1px solid #f1e8d0;
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.catalog-kicker {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.catalog-kicker a { color: #b8860b; }
.catalog-kicker a:hover { color: #8b6508; }
.catalog-kicker span { margin: 0 0.4rem; color: #ced4da; }
.catalog-kicker .current { color: #495057; font-weight: 600; }

.catalog-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  color: #212529;
  margin-bottom: 0.6rem;
}

.catalog-desc {
  color: #6c757d;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

.catalog-body { padding-top: 2.5rem; }

.catalog-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.catalog-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.2rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 50px;
  color: #495057;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.catalog-pill span { font-weight: 400; color: #adb5bd; font-size: 0.78rem; }

.catalog-pill:hover {
  border-color: #b8860b;
  color: #b8860b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(184, 134, 11, 0.18);
}

.catalog-pill.active {
  background: #b8860b;
  border-color: #b8860b;
  color: #fff;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.25);
}

.catalog-pill.active span { color: rgba(255, 255, 255, 0.8); }

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.catalog-count { margin: 0; color: #6c757d; font-size: 0.9rem; }
.catalog-count strong { color: #212529; }

.catalog-sort { display: flex; align-items: center; gap: 0.6rem; }

.catalog-sort label { font-size: 0.85rem; color: #6c757d; margin: 0; }

.catalog-sort select {
  padding: 0.5rem 0.9rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  color: #212529;
  font-size: 0.85rem;
  cursor: pointer;
}

.catalog-sort select:focus { border-color: #b8860b; }

.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.6rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  color: #495057;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.page-btn:hover { border-color: #b8860b; color: #b8860b; }

.page-btn.active {
  background: #b8860b;
  border-color: #b8860b;
  color: #fff;
}

.page-dots { color: #adb5bd; padding: 0 0.25rem; }

/* ---------- Print ---------- */
@media print {
  .header, .footer, .toast-container, .spinner-overlay, .whatsapp-float, .announcement-bar { display: none !important; }
  body { background: white; color: black; }
}
