/* ============================================================
   Atenea Livana — Hoja de estilos (v4, inspirado en "Glowé Beauty")
   Tipografía: Playfair Display (logo/hero) + Poppins (UI) + Inter (texto)
   Paleta: burdeos profundo + rosa vibrante + fondo blush
   ============================================================ */

:root {
  --maroon: #6d2141;
  --maroon-dark: #4c1730;
  --rose: #e0356f;
  --rose-dark: #b81c52;
  --rose-soft: #fbdce6;
  --blush: #fdf1f4;
  --surface: #ffffff;
  --ink: #2a1420;
  --muted: #8a6470;
  --line: #f3d9e2;
  --ok: #2e8b57;
  --gold: #c79a4b;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 10px rgba(109, 33, 65, 0.07);
  --shadow-hover: 0 16px 32px -12px rgba(109, 33, 65, 0.3);
  --shadow-pop: 0 20px 50px -16px rgba(109, 33, 65, 0.35);

  --font-display: "Playfair Display", "Georgia", serif;
  --font-ui: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 2px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------------- Announcement bar ---------------- */

.announce-bar {
  background: var(--maroon);
  color: #f7e3ea;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  overflow: hidden;
}

.announce-bar .wrap {
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 9px 32px;
  flex-wrap: wrap;
  text-align: center;
}

.announce-bar span { white-space: nowrap; opacity: 0.95; }

@media (max-width: 640px) {
  .announce-bar .wrap { gap: 16px; padding: 8px 16px; }
  .announce-bar span:nth-child(3) { display: none; }
}

/* ---------------- Header ---------------- */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 45;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 16px 32px;
}

.brand-mark { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }

.brand-mark .word {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 25px;
  color: var(--maroon);
}

.brand-mark .sub {
  font-family: var(--font-ui);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--rose-dark);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.main-nav button {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.main-nav button:hover { color: var(--rose-dark); }
.main-nav button.active { color: var(--rose-dark); border-color: var(--rose-dark); }

@media (max-width: 900px) {
  .main-nav { display: none; }
}

.icon-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-left: auto; }

.icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  transition: transform 0.12s ease;
}

.icon-btn:hover { transform: translateY(-1px); color: var(--rose-dark); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 21px; height: 21px; }

.icon-btn .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--rose-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--surface);
}

/* Search reveal panel */
.search-panel {
  max-height: 0;
  overflow: hidden;
  background: var(--blush);
  border-bottom: 1px solid var(--line);
  transition: max-height 0.25s ease;
}
.search-panel.open { max-height: 80px; }

.search-panel .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
}

.search-panel input {
  flex: 1;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14.5px;
  color: var(--ink);
  font-family: var(--font-body);
}
.search-panel input::placeholder { color: #b78d97; }

.search-panel .close-search {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------------- Hero ---------------- */

.hero-section { padding: 46px 0 30px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .hero-trust { justify-content: center; }
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.15em;
  color: var(--rose-dark);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 20px;
}
.hero-text h1 em { color: var(--rose-dark); font-style: italic; }

.hero-text p.lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.btn-solid, .btn-outline {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn-solid {
  background: var(--maroon);
  color: #fff;
  box-shadow: var(--shadow-hover);
}
.btn-solid:hover { background: var(--maroon-dark); }
.btn-solid:active { transform: scale(0.97); }

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
}
.btn-outline:hover { background: var(--maroon); color: #fff; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.hero-trust .item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 500;
}
.hero-trust .item svg { width: 20px; height: 20px; color: var(--rose-dark); flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  width: 88%;
  height: 88%;
  background: linear-gradient(150deg, var(--rose-soft), #f6c9d8);
  border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 82%;
  aspect-ratio: 1 / 1.05;
  border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.hero-badge-circle {
  position: absolute;
  z-index: 2;
  top: 10%;
  right: 2%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 700;
  box-shadow: 0 10px 24px -6px rgba(224, 53, 111, 0.55);
  line-height: 1.15;
}
.hero-badge-circle .num { font-size: 20px; }
.hero-badge-circle .txt { font-size: 8.5px; letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .hero-visual { margin-top: 10px; }
  .hero-photo { width: 62%; margin: 0 auto; }
  .hero-badge-circle { right: 14%; }
}

/* ---------------- Brands marquee ---------------- */

.brands-section { padding: 8px 0 34px; }

.brands-label {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 18px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 19px;
  color: var(--maroon);
  opacity: 0.55;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------------- Shop by category ---------------- */

.category-section { padding: 10px 0 40px; scroll-margin-top: 90px; }

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  margin: 0 0 28px;
  padding: 0 16px;
}

@media (max-width: 480px) {
  .section-title { font-size: 21px; }
}

.category-circles {
  display: flex;
  justify-content: flex-start;
  gap: 26px;
  overflow-x: auto;
  padding: 4px 4px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-circles::-webkit-scrollbar { display: none; }

@media (min-width: 780px) {
  .category-circles { justify-content: center; overflow-x: visible; flex-wrap: wrap; }
}

.cat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 96px;
  flex-shrink: 0;
  text-align: center;
}

.cat-circle .ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--rose-soft);
  padding: 6px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.cat-circle:hover .ring { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.cat-circle.active .ring { background: var(--rose); box-shadow: var(--shadow-hover); }

.cat-circle .photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
}
.cat-circle .photo img { width: 100%; height: 100%; object-fit: cover; }

.cat-circle .label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink);
}

@media (max-width: 640px) {
  .category-circles { gap: 18px; }
  .cat-circle { width: 84px; }
  .cat-circle .ring { width: 76px; height: 76px; }
  .cat-circle .label { font-size: 11px; }
}

/* ---------------- Catálogo ---------------- */

.products-section { padding: 20px 0 80px; }

.products-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.products-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  color: var(--ink);
  margin: 0;
}

.filter-chip {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--rose-soft);
  color: var(--rose-dark);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.filter-chip.show { display: inline-flex; }
.filter-chip button { color: var(--rose-dark); font-weight: 700; font-size: 14px; line-height: 1; }

.filter-bar {
  background: var(--surface);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 15px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-item { display: flex; align-items: center; gap: 9px; }
.filter-item .f-icon { width: 16px; height: 16px; color: var(--rose-dark); flex-shrink: 0; }
.filter-item label { font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; }

.filter-item select {
  border: 1px solid var(--line);
  background: var(--blush);
  border-radius: var(--radius-s);
  padding: 8px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--ink);
  max-width: 200px;
}

.result-count { font-size: 13px; color: var(--muted); margin: 0 0 16px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px) { .grid { gap: 10px; } }

.card {
  background: var(--surface);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.card-media {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #f6e7ec;
}

.card-media img { width: 100%; height: 100%; object-fit: cover; }

.card-media .stock-flag {
  position: absolute;
  top: 9px;
  left: 9px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 20, 32, 0.78);
  color: #fff;
  z-index: 2;
}
.card-media .stock-flag.low { background: var(--gold); }
.card-media .stock-flag.out { background: #7a7a7a; }

.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.12s ease;
}
.wishlist-btn:hover { transform: scale(1.08); }
.wishlist-btn svg { width: 15px; height: 15px; stroke: var(--rose-dark); fill: none; transition: fill 0.15s ease; }
.wishlist-btn.active svg { fill: var(--rose-dark); }

.cart-fab {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 6px 14px -4px rgba(42, 20, 32, 0.5);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.cart-fab:hover { background: var(--rose-dark); transform: scale(1.06); }
.cart-fab:active { transform: scale(0.94); }
.cart-fab svg { width: 17px; height: 17px; }
.cart-fab[disabled] { background: #c9b6bd; cursor: not-allowed; }
.cart-fab.added { background: var(--ok); }

.card-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 4px; }

.card-brand {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.32;
  color: var(--ink);
  min-height: 34px;
}

.card-desc {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 1px;
}

.card-availability {
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card-availability .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.card-availability.low { color: var(--gold); }
.card-availability.low .dot { background: var(--gold); }
.card-availability.out { color: #8a7076; }
.card-availability.out .dot { background: #a89093; }
.card-availability.ok { color: var(--ok); }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty-state h3 { font-family: var(--font-display); font-size: 22px; color: var(--rose-dark); margin-bottom: 8px; }

.sentinel { height: 1px; grid-column: 1 / -1; }

.loading-row {
  grid-column: 1 / -1;
  text-align: center;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
  display: none;
}
.loading-row.show { display: block; }

/* ---------------- Drawers (carrito / favoritos) ---------------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 20, 32, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 49;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--surface);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.32, 1);
  box-shadow: var(--shadow-pop);
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--maroon);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drawer-head h2 svg { width: 19px; height: 19px; }

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--maroon);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drawer-close:hover { background: var(--rose-soft); }

.drawer-items { flex: 1; overflow-y: auto; padding: 6px 22px; }

.cart-line { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }

.cart-line .swatch {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-s);
  flex-shrink: 0;
  overflow: hidden;
  background: #f6e7ec;
}
.cart-line .swatch img { width: 100%; height: 100%; object-fit: cover; }

.cart-line-info { flex: 1; min-width: 0; }

.cart-line-info .brand {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}

.cart-line-info .name {
  font-size: 13.5px;
  color: var(--ink);
  margin: 2px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-line-controls { display: flex; align-items: center; gap: 10px; }

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.qty-stepper button { width: 26px; height: 28px; background: var(--blush); color: var(--maroon); font-size: 14px; }
.qty-stepper button:hover { background: var(--rose-soft); }
.qty-stepper input {
  width: 26px; border: none; background: transparent; text-align: center;
  font-size: 13px; -moz-appearance: textfield; font-family: var(--font-body);
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.line-actions { display: flex; gap: 12px; margin-top: 6px; }

.text-link { background: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.text-link:hover { color: var(--rose-dark); }

.drawer-empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.drawer-empty svg { width: 44px; height: 44px; color: #e9bfcd; margin-bottom: 14px; }

.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-note { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.4; }

.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #25d366;
  color: #fff;
  padding: 14px 16px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-ui);
  transition: background 0.15s ease, transform 0.1s ease;
}
.checkout-btn:hover { background: #1eb958; }
.checkout-btn:active { transform: scale(0.98); }
.checkout-btn svg { width: 19px; height: 19px; }

.clear-link { align-self: center; }

/* ---------------- Toast ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 16px; height: 16px; color: #ff9ec2; flex-shrink: 0; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--maroon);
  color: #f3dbe4;
  padding: 44px 0 26px;
  font-size: 13px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer strong { font-family: var(--font-display); font-style: italic; font-size: 22px; color: #fff; }
.site-footer .foot-tagline { margin: 0; opacity: 0.85; }

.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background 0.15s ease, transform 0.12s ease;
}
.footer-socials a:hover { background: var(--rose); transform: translateY(-2px); }
.footer-socials a svg { width: 19px; height: 19px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 22px;
  padding-top: 20px;
  font-size: 12px;
  opacity: 0.85;
}

.footer-bottom button {
  color: #f3dbe4;
  text-decoration: underline;
  font-size: 12px;
}
.footer-bottom button:hover { color: #fff; }

.footer-bottom .dot-sep { opacity: 0.5; }

/* Modal legal (terminos / politica) */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.legal-modal.open { display: flex; }

.legal-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 20, 32, 0.55);
}

.legal-modal .modal-box {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-m);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-pop);
}

.legal-modal .modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.legal-modal .modal-head h3 {
  font-family: var(--font-display);
  color: var(--maroon);
  margin: 0;
  font-size: 19px;
}
.legal-modal .modal-body {
  padding: 18px 22px 24px;
  overflow-y: auto;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.6;
}
.legal-modal .modal-body p { margin: 0 0 12px; }
.legal-modal .modal-body h4 { font-size: 14px; margin: 16px 0 6px; color: var(--maroon); }

/* ---------------- Ajustes finos para celular ---------------- */

@media (max-width: 480px) {
  .site-header .wrap { padding: 12px 16px; gap: 14px; }
  .brand-mark .word { font-size: 21px; }
  .icon-actions { gap: 10px; }
  .icon-btn { width: 34px; height: 34px; }
  .icon-btn svg { width: 19px; height: 19px; }

  .hero-section { padding: 30px 0 20px; }
  .hero-badge-circle { width: 74px; height: 74px; top: 4%; right: 6%; }
  .hero-badge-circle .num { font-size: 15px; }
  .hero-badge-circle .txt { font-size: 7px; }
  .hero-actions { gap: 10px; }
  .btn-solid, .btn-outline { padding: 12px 20px; font-size: 12.5px; }
  .hero-trust { gap: 14px 18px; }
  .hero-trust .item { font-size: 11.5px; }

  .filter-bar { padding: 14px 16px; gap: 14px; }
  .filter-item select { max-width: 150px; }

  .drawer { width: 100vw; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
