@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --canary: #f5c518;
  --canary-hover: #e0b00f;
  --canary-light: #fff6d4;
  --royal: #8b5428;
  --royal-dark: #5c3414;
  --royal-light: #f3e4d2;
  --slate-50: #f8f4ee;
  --slate-100: #f1ebe3;
  --slate-200: #e4d9cc;
  --slate-300: #d2c2b0;
  --slate-400: #a89078;
  --slate-500: #7a6554;
  --slate-600: #5c4a3d;
  --slate-700: #43362d;
  --slate-800: #2c241e;
  --slate-900: #1a1410;
  --success: #16a34a;
  --danger: #c41e3a;
  --warning: #d97706;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(58, 36, 24, 0.08);
  --shadow-md: 0 4px 20px rgba(58, 36, 24, 0.1);
  --shadow-lg: 0 12px 40px rgba(58, 36, 24, 0.12);
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --sidebar-width: 260px;
  --hero-bg: #f6efe6;
  --wa-green: #25d366;
  --wa-green-hover: #1ebe57;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.5;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ─── Layout público ─── */

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--slate-200);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s;
}

.logo:hover {
  transform: scale(1.02);
}

.logo__img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  object-fit: contain;
  background: #fff;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
  max-width: 18rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
  color: var(--slate-700);
}

.nav__link:hover {
  background: var(--slate-100);
}

.nav__link--active {
  background: var(--royal-light);
  color: var(--royal);
  box-shadow: none;
}

.nav__link--admin {
  background: var(--slate-900);
  color: white;
}

.nav__link--admin:hover {
  background: var(--slate-800);
}

.nav__icon {
  width: 18px;
  height: 18px;
}

/* Hamburguer Button */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-900);
  cursor: pointer;
  transition: all 0.2s;
}

.menu-toggle:hover {
  background: var(--slate-200);
}

.menu-toggle__icon {
  width: 24px;
  height: 24px;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .logo {
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
  }

  .logo__text {
    font-size: 0.8rem;
    max-width: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
  }

  .nav--open {
    display: flex;
    animation: slideDownMenu 0.25s ease forwards;
  }

  .nav__link {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
  }
}

@keyframes slideDownMenu {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero {
  --hero-blue: #3a2418;
  --hero-teal: #b06a2c;
  --hero-mint: #e8b423;
  --hero-yellow: #f5c518;
  position: relative;
  background:
    radial-gradient(ellipse 55% 70% at 88% 42%, rgba(255, 255, 255, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse 45% 55% at 72% 70%, rgba(245, 197, 24, 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 8% 85%, rgba(58, 36, 24, 0.5) 0%, transparent 55%),
    linear-gradient(105deg, #3a2418 0%, #6b3d1c 30%, #b06a2c 58%, #e8b423 82%, #f5c518 100%);
  border-radius: 0;
  padding: 2rem 0;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: none;
  border: none;
  border-bottom: none;
}

.hero::before,
.hero::after {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.75rem;
}

.hero__text {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.hero__visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: none;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
}

.hero__actions {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.hero__badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 2.55rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 22ch;
  text-shadow: 0 2px 16px rgba(58, 36, 24, 0.35);
}

.hero__title-accent {
  color: #ffe566;
  display: inline;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.35rem;
  max-width: 36rem;
  line-height: 1.55;
}

.hero__subtitle strong {
  color: #fff;
  font-weight: 700;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

a.btn.hero__cta--wa,
.btn.hero__cta--wa {
  background: var(--wa-green, #25d366) !important;
  color: #fff !important;
  border: none;
}

a.btn.hero__cta--wa:hover,
.btn.hero__cta--wa:hover {
  background: var(--wa-green-hover, #1ebe57) !important;
  color: #fff !important;
}

.btn.hero__cta--light {
  background: #fff !important;
  color: #6b3d1c !important;
  border: none;
}

.btn.hero__cta--light:hover {
  background: #fff6d4 !important;
  color: #5c3414 !important;
}

.hero__img {
  display: block;
  width: min(440px, 42vw);
  height: auto;
  max-height: 440px;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 14px 30px rgba(58, 36, 24, 0.38));
  animation: heroFloat 4.5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 768px) {
  .hero {
    padding: 2.5rem 0;
  }

  .hero__visual {
    display: flex;
  }

  .hero__title {
    max-width: 20ch;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 1.35rem 0 1.6rem;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    text-align: left;
  }

  .hero__text {
    grid-column: 1;
    grid-row: 1;
  }

  .hero__subtitle {
    margin-bottom: 0;
  }

  .hero__visual {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    margin: 0;
  }

  .hero__actions {
    grid-column: 1;
    grid-row: 3;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.4rem;
    margin-top: 0.15rem;
    margin-bottom: 0;
  }

  .hero__img {
    width: min(280px, 82vw);
    max-height: 280px;
    animation: none;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
  }

  .hero__cta {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding: 0.55rem 0.5rem;
    font-size: 0.78rem;
    gap: 0.3rem;
    white-space: nowrap;
  }

  .hero__cta svg {
    width: 15px;
    height: 15px;
  }

  .btn.btn--lg.hero__cta {
    padding: 0.55rem 0.5rem;
    font-size: 0.78rem;
  }
}

/* Legacy hero bits (otras páginas) */
.hero__learn-btn {
  margin-bottom: 1.25rem;
}

.hero__learn-btn svg {
  width: 18px;
  height: 18px;
}

.hero__stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--royal);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--slate-600);
}

/* ─── Ofertas destacadas (hero) ─── */
.offer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  max-width: 420px;
}

.offer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.offer-link:hover {
  background: white;
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.offer-link__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.offer-link__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.offer-link__text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--slate-900);
}

.offer-link__text small {
  font-size: 0.78rem;
  color: var(--slate-600);
}

.offer-link__arrow {
  width: 18px;
  height: 18px;
  color: var(--royal);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.offer-link:hover .offer-link__arrow {
  transform: translateX(3px);
}

.offer-link--tenis:hover {
  border-color: #f97316;
}

.offer-link--bocinas:hover {
  border-color: var(--royal);
}

@media (min-width: 640px) {
  .offer-links {
    flex-direction: row;
    max-width: none;
  }

  .offer-link {
    flex: 1;
  }
}

/* ─── Modal ─── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s;
}

.modal--open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--slate-100);
  border-radius: 50%;
  cursor: pointer;
  color: var(--slate-600);
  transition: all 0.2s;
}

.modal__close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
  padding-right: 2rem;
}

.modal__subtitle {
  color: var(--slate-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.modal__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal__step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.modal__step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--canary);
  color: var(--slate-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
}

.modal__step strong {
  display: block;
  font-size: 0.95rem;
  color: var(--slate-800);
  margin-bottom: 0.2rem;
}

.modal__step p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.45;
}

.modal__cta {
  width: 100%;
}

/* ─── WhatsApp flotante ─── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  animation: none;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.15); }
}

/* ─── Barra de Ofertas Destacadas ─── */
.offers-bar {
  background: #fff;
  border-radius: 18px;
  padding: 0.85rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  overflow: visible;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.offers-bar__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0;
}

.offers-bar__track::-webkit-scrollbar {
  display: none;
}

.offers-bar__pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  color: white;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: var(--font-body);
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  min-height: 52px;
  min-width: 0;
}

.offers-bar__pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
  filter: brightness(1.05);
}

.offers-bar__pill:active {
  transform: translateY(0);
}

.offers-bar__pill-media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.offers-bar__pill-emoji {
  font-size: 1.25rem;
  line-height: 1;
}

.offers-bar__pill-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 2px;
}

.offers-bar__pill--dji .offers-bar__pill-logo {
  background: #fff;
}

.offers-bar__pill--jbl .offers-bar__pill-logo {
  background: transparent;
  padding: 0;
  border-radius: 6px;
}

.offers-bar__pill--laptop .offers-bar__pill-logo,
.offers-bar__pill--shop .offers-bar__pill-logo {
  width: 34px;
  height: 34px;
  background: transparent;
  padding: 0;
  border-radius: 50%;
}

.offers-bar__pill-label {
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

.offers-bar__pill-icon {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  flex-shrink: 0;
  margin-left: auto;
}

@media (max-width: 900px) {
  .offers-bar__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .offers-bar {
    padding: 0.65rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }

  .offers-bar__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .offers-bar__pill {
    gap: 0.4rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
    min-height: 48px;
    border-radius: 12px;
  }

  .offers-bar__pill-label {
    max-width: 100%;
    text-align: left;
  }

  .offers-bar__pill-logo {
    width: 24px;
    height: 24px;
  }

  .offers-bar__pill--laptop .offers-bar__pill-logo,
  .offers-bar__pill--shop .offers-bar__pill-logo {
    width: 30px;
    height: 30px;
  }

  .offers-bar__pill-icon {
    width: 12px;
    height: 12px;
  }
}

/* ─── Buscador de mejor cupón ─── */
.coupon-finder {
  margin: 0 0 1.5rem;
}

.coupon-finder__bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: 14px;
  padding: 0.45rem 0.45rem 0.45rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.coupon-finder__bar:focus-within {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.coupon-finder__field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.coupon-finder__icon {
  width: 20px;
  height: 20px;
  color: var(--slate-400);
  flex-shrink: 0;
}

.coupon-finder__input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  color: var(--slate-800);
  padding: 0.55rem 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.coupon-finder__input::-webkit-outer-spin-button,
.coupon-finder__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.coupon-finder__input::placeholder {
  color: var(--slate-400);
}

.coupon-finder__btn {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  background: var(--royal);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.coupon-finder__btn:hover {
  background: var(--royal-dark);
}

.coupon-finder__btn:active {
  transform: scale(0.98);
}

.coupon-finder__result {
  margin-top: 0.85rem;
  animation: finderIn 0.35s ease;
}

@keyframes finderIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.finder-card {
  background: #fff;
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1rem;
  box-shadow: var(--shadow-sm);
}

.finder-card--empty,
.finder-card--locked {
  border-color: var(--slate-200);
}

.finder-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.finder-card__mascot {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--canary-light);
  padding: 6px;
}

.finder-card__info {
  flex: 1;
  min-width: 0;
}

.finder-card__badge {
  display: inline-block;
  background: var(--success);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.finder-card__badge--warn {
  background: var(--warning);
}

.finder-card__savings {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--royal);
  line-height: 1.15;
  margin: 0 0 0.45rem;
}

.finder-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.finder-card__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--slate-600);
}

.finder-card__meta svg {
  width: 14px;
  height: 14px;
  color: var(--slate-400);
  flex-shrink: 0;
}

.finder-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--canary);
  color: var(--slate-900);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.finder-card__cta:hover {
  background: var(--canary-hover);
}

.finder-card__cta:active {
  transform: scale(0.99);
}

.finder-card__cta svg {
  width: 16px;
  height: 16px;
}

.finder-card__upsell {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: var(--royal-light);
  border-radius: 12px;
}

.finder-card__upsell-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--royal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.finder-card__upsell-icon svg {
  width: 14px;
  height: 14px;
}

.finder-card__upsell-text {
  font-size: 0.85rem;
  color: var(--slate-700);
  line-height: 1.4;
}

.finder-card__upsell-text strong {
  color: var(--royal-dark);
}

.finder-card__upsell-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.finder-card__tip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: var(--canary-light);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--slate-700);
}

.finder-card__tip-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.finder-card__tip-head svg,
.finder-card__tip > svg {
  width: 18px;
  height: 18px;
  color: var(--royal);
  flex-shrink: 0;
}

.finder-card__bank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.finder-card__bank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}

.finder-card__bank-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.finder-card__bank-title {
  font-size: 0.95rem;
  color: var(--royal-dark);
  font-weight: 700;
  line-height: 1.2;
}

.finder-card__bank-meta {
  font-size: 0.72rem;
  color: var(--slate-500);
}

.finder-card__bank-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: none;
  cursor: pointer;
  background: var(--royal);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.finder-card__bank-btn:hover {
  background: var(--royal-dark);
}

.finder-card__bank-btn:active {
  transform: scale(0.98);
}

.finder-card__bank-btn svg {
  width: 13px;
  height: 13px;
}

.finder-card__empty-msg {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin: 0.35rem 0 0;
}

@media (max-width: 640px) {
  .coupon-finder__bar {
    padding: 0.4rem 0.4rem 0.4rem 0.75rem;
    gap: 0.4rem;
  }

  .coupon-finder__input {
    font-size: 0.88rem;
  }

  .coupon-finder__btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .finder-card__mascot {
    width: 52px;
    height: 52px;
  }

  .finder-card__savings {
    font-size: 1.4rem;
  }
}

/* Filters bar */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  margin-bottom: 1.5rem;
}

.filters__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filters__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-right: 0.25rem;
}

.chip {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--slate-200);
  background: white;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--royal);
  color: var(--royal);
}

.chip--active {
  background: var(--royal);
  border-color: var(--royal);
  color: white;
}

.filters__count {
  font-size: 0.875rem;
  color: var(--slate-600);
}

.filters__count strong {
  color: var(--slate-900);
}

/* Coupon grid */
.coupons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .coupons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .coupons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Coupon Card (cc) — Mercado Libre style ─── */
.cc {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.5s ease both;
  display: flex;
  flex-direction: column;
}

.cc:hover {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.13), 0 0 0 1px rgba(37, 99, 235, 0.18);
  transform: translateY(-4px);
}

/* ── Header: logo en esquina + badges ── */
.cc__header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.6rem 1rem 0;
  position: relative;
  min-height: 52px;
}

/* Yellow diagonal corner shape */
.cc__logo-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  z-index: 1;
  border-radius: 20px 0 0 0;
  filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.08));
}

.cc__logo-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5c518 0%, #ffd54a 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.cc__logo-area::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background: var(--slate-200);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: -1;
}

.cc__logo-img {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
}

.cc__header-right {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  justify-content: flex-end;
  z-index: 2;
}

.cc__store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.55rem;
  background: var(--canary-light);
  border: 1px solid rgba(245, 197, 24, 0.4);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}

.cc__store-badge--bank {
  background: var(--royal);
  border-color: var(--royal-dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.cc__store-badge--category {
  background: var(--canary-light);
  border-color: rgba(255, 214, 0, 0.35);
  color: var(--slate-700);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
}

.cc__store-badge--muted {
  background: transparent;
  border-color: transparent;
  color: var(--slate-500);
  font-size: 0.65rem;
  padding: 0.1rem 0.25rem;
}

/* ── Body: título centrado premium ── */
.cc__body {
  padding: 0.25rem 1rem 0.1rem;
  text-align: center;
}

.cc__title-large {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
  margin-bottom: 0.2rem;
  letter-spacing: -0.04em;
}

.cc__title-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-500);
  line-height: 1.3;
}

/* ── Info row: compra mínima + descuento máximo en una línea ── */
.cc__info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-top: 1.5px dashed var(--slate-200);
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.cc__info-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0.25rem;
}

.cc__info-divider {
  width: 1px;
  height: 24px;
  background-color: var(--slate-200);
  flex-shrink: 0;
}

.cc__info-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 50%;
  color: var(--slate-600);
}

.cc__info-icon svg {
  width: 15px;
  height: 15px;
}

.cc__info-icon--blue {
  background: #eff6ff;
  color: var(--royal);
}

.cc__info-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cc__info-label {
  font-size: 0.68rem;
  color: var(--slate-500);
  line-height: 1.2;
}

.cc__info-value {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
}

/* ── Código del cupón ── */
.cc__code-section {
  padding: 0 1rem;
  margin-top: 0.1rem;
  margin-bottom: 0.85rem;
}

.cc__code-inner {
  background: #fffdf0;
  border: 1.5px dashed #fcd34d;
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
}

.cc__code-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 0.25rem;
}

.cc__code-label svg {
  color: var(--canary-hover);
  width: 15px;
  height: 15px;
}

.cc__code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cc__code {
  font-family: 'Courier New', monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: 0.12em;
  filter: blur(6px);
  user-select: none;
  transition: filter 0.4s ease, letter-spacing 0.3s ease;
}

.cc__code.cc-revealed {
  filter: blur(0);
  user-select: auto;
  color: var(--slate-900);
  letter-spacing: 0.08em;
}

/* ── CTA button: Copiar y Canjear ── */
.cc__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: var(--canary);
  color: var(--slate-900);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.cc__cta-btn:hover {
  background: var(--canary-hover);
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(245, 197, 24, 0.4);
}

.cc__cta-btn:active {
  transform: scale(0.97);
}

/* ── Countdown timer ── */
.cc__countdown {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  background: linear-gradient(135deg, #f5c518 0%, #ffd54a 100%);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-800);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.cc__countdown svg {
  flex-shrink: 0;
  color: var(--slate-700);
}

/* ── Temas por banco ── */
.cc--bank {
  --cc-accent: #8b5428;
  --cc-accent-2: #a86a32;
  --cc-accent-light: #f8efe4;
  --cc-accent-border: #d4b08a;
  --cc-accent-text: #fff;
  --cc-cta-text: #fff;
}

.cc--bank .cc__logo-area::before {
  background: linear-gradient(135deg, #f5c518 0%, #ffd54a 100%);
}

.cc--bank .cc__store-badge--bank {
  background: var(--cc-accent);
  border-color: transparent;
  color: var(--cc-accent-text);
}

.cc--bank .cc__title-sub--bank {
  color: var(--cc-accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.cc--bank .cc__code-inner {
  background: var(--cc-accent-light);
  border-color: var(--cc-accent-border);
}

.cc--bank .cc__code-label svg {
  color: var(--cc-accent);
}

.cc--bank .cc__cta-btn {
  background: var(--cc-accent);
  color: var(--cc-cta-text);
}

.cc--bank .cc__cta-btn:hover {
  background: var(--cc-accent-2);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--cc-accent) 35%, transparent);
}

.cc--bank .cc__countdown {
  background: linear-gradient(135deg, var(--cc-accent) 0%, var(--cc-accent-2) 100%);
  color: var(--cc-accent-text);
}

.cc--bank .cc__countdown svg {
  color: var(--cc-accent-text);
}

.cc--bank:hover {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.13), 0 0 0 1px color-mix(in srgb, var(--cc-accent) 35%, transparent);
}

.cc--bank-mercadopago {
  --cc-accent: #009ee3;
  --cc-accent-2: #00b1ea;
  --cc-accent-light: #e6f7fc;
  --cc-accent-border: #7dd3f0;
}

.cc--bank-meses-sin-tarjeta {
  --cc-accent: #00a650;
  --cc-accent-2: #12b76a;
  --cc-accent-light: #e8f8ef;
  --cc-accent-border: #86efac;
}

.cc--bank-bbva {
  --cc-accent: #004481;
  --cc-accent-2: #1464a5;
  --cc-accent-light: #e8f1f8;
  --cc-accent-border: #7eb6d9;
}

.cc--bank-banamex {
  --cc-accent: #e31837;
  --cc-accent-2: #f43f5e;
  --cc-accent-light: #fde8eb;
  --cc-accent-border: #fca5b0;
}

.cc--bank-banorte {
  --cc-accent: #eb0029;
  --cc-accent-2: #ff1f45;
  --cc-accent-light: #ffe8ec;
  --cc-accent-border: #fda4af;
}

.cc--bank-hsbc {
  --cc-accent: #db0011;
  --cc-accent-2: #ff1a2b;
  --cc-accent-light: #fde7e9;
  --cc-accent-border: #f9a8b0;
}

.cc--bank-santander {
  --cc-accent: #ec0000;
  --cc-accent-2: #ff2a2a;
  --cc-accent-light: #ffe8e8;
  --cc-accent-border: #fca5a5;
}

.cc--bank-amex {
  --cc-accent: #006fcf;
  --cc-accent-2: #1a8cff;
  --cc-accent-light: #e6f2fb;
  --cc-accent-border: #7eb8eb;
}

.cc--bank-afirme {
  --cc-accent: #00a651;
  --cc-accent-2: #16c46a;
  --cc-accent-light: #e8f8ef;
  --cc-accent-border: #86efac;
}

.cc--bank-inbursa {
  --cc-accent: #f36c00;
  --cc-accent-2: #ff8a1f;
  --cc-accent-light: #fff3e8;
  --cc-accent-border: #fdba74;
}

.cc--bank-openbank {
  --cc-accent: #1a1a1a;
  --cc-accent-2: #3f3f46;
  --cc-accent-light: #f4f4f5;
  --cc-accent-border: #a1a1aa;
}

.cc--bank-invex {
  --cc-accent: #1b3a6b;
  --cc-accent-2: #2f5aa0;
  --cc-accent-light: #eaf0f8;
  --cc-accent-border: #93b4d9;
}

.cc--bank-mifel {
  --cc-accent: #003366;
  --cc-accent-2: #0a4d8c;
  --cc-accent-light: #e6eef6;
  --cc-accent-border: #7aa3c7;
}

.cc--bank-default-bank {
  --cc-accent: #8b5428;
  --cc-accent-2: #a86a32;
  --cc-accent-light: #f8efe4;
  --cc-accent-border: #d4b08a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn--primary {
  background: var(--canary);
  color: var(--slate-900);
}

.btn--primary:hover {
  background: var(--canary-hover);
  transform: scale(1.02);
}

.btn--primary:active {
  transform: scale(0.98);
}

.btn--secondary {
  background: var(--royal-light);
  color: var(--royal);
}

.btn--secondary:hover {
  background: #bfdbfe;
}

.btn--danger {
  background: #fee2e2;
  color: var(--danger);
}

.btn--danger:hover {
  background: #fecaca;
}

.btn--ghost {
  background: transparent;
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}

.btn--ghost:hover {
  background: var(--slate-50);
}

.btn--sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--slate-300);
}

.empty-state__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.empty-state__text {
  color: var(--slate-500);
}

/* ─── Canales WhatsApp ─── */
.wa-channels {
  background: linear-gradient(135deg, #0a2e1a 0%, #064e29 100%);
  padding: 3rem 0;
}

.wa-channels__header {
  text-align: center;
  margin-bottom: 2rem;
}

.wa-channels__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.wa-channels__subtitle {
  color: #86efac;
  font-size: 0.95rem;
}

.wa-channels__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .wa-channels__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.wa-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.wa-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(37, 211, 102, 0.06);
  opacity: 0;
  transition: opacity 0.25s;
}

.wa-card:hover::before {
  opacity: 1;
}

.wa-card:hover {
  border-color: #25d366;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.2);
}

.wa-card__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.wa-card__icon svg {
  width: 26px;
  height: 26px;
}

.wa-card--drone .wa-card__icon {
  background: #8b5428;
  box-shadow: 0 4px 16px rgba(139, 84, 40, 0.4);
}

.wa-card--drone:hover {
  border-color: #d4b08a;
  box-shadow: 0 12px 32px rgba(139, 84, 40, 0.2);
}

.wa-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wa-card__label {
  font-size: 0.75rem;
  color: #86efac;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wa-card--drone .wa-card__label {
  color: #e8b423;
}

.wa-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.wa-card__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.wa-card__cta {
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.wa-card:hover .wa-card__cta {
  background: #1da851;
  transform: scale(1.05);
}

.wa-card--drone .wa-card__cta {
  background: #8b5428;
  box-shadow: 0 2px 8px rgba(139, 84, 40, 0.35);
}

.wa-card--drone:hover .wa-card__cta {
  background: #5c3414;
}

/* Main & Footer */
.main {
  flex: 1;
  padding: 0 0 3rem;
}

.footer {
  background: var(--slate-900);
  color: white;
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}

.footer__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer__desc {
  color: var(--slate-400);
  font-size: 0.875rem;
  max-width: 400px;
}

.footer__heading {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--slate-700);
  color: var(--slate-300);
  transition: all 0.2s;
}

.footer__social-link:hover {
  background: #1877f2;
  color: white;
}

.footer__links a {
  color: var(--slate-400);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--canary);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--slate-900);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  animation: slideIn 0.3s ease;
  max-width: 320px;
}

.toast--success {
  background: var(--success);
}

.toast--error {
  background: var(--danger);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ─── Panel Admin ─── */

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: var(--sidebar-width);
  background: var(--slate-900);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  transition: transform 0.3s;
}

.admin-sidebar__header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--slate-700);
}

.admin-sidebar__logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-sidebar__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.admin-sidebar__logo span {
  color: var(--canary);
}

.admin-sidebar__nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-nav__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--slate-400);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: all 0.2s;
}

.admin-nav__item:hover {
  background: var(--slate-800);
  color: white;
}

.admin-nav__item--active {
  background: var(--royal);
  color: white;
}

.admin-nav__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.admin-sidebar__footer {
  padding: 1rem;
  border-top: 1px solid var(--slate-700);
}

.admin-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  background: var(--slate-100);
}

.admin-topbar {
  background: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.admin-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-content {
  padding: 1.5rem;
}

.admin-panel {
  display: none;
}

.admin-panel--active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-card__icon--blue {
  background: var(--royal-light);
}

.stat-card__icon--yellow {
  background: var(--canary-light);
}

.stat-card__icon--green {
  background: #dcfce7;
}

.stat-card__icon--red {
  background: #fee2e2;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1;
}

.stat-card__label {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

/* Cards & Tables */
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  overflow: hidden;
}

.card__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.card__body {
  padding: 1.5rem;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table th,
.table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
}

.table th {
  background: var(--slate-50);
  font-weight: 600;
  color: var(--slate-600);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.table tr:hover td {
  background: var(--slate-50);
}

.table__actions {
  display: flex;
  gap: 0.35rem;
}

.badge {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge--success {
  background: #dcfce7;
  color: var(--success);
}

.badge--danger {
  background: #fee2e2;
  color: var(--danger);
}

.badge--warning {
  background: #fef3c7;
  color: var(--warning);
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px var(--royal-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--slate-300);
  border-radius: 999px;
  transition: 0.2s;
}

.toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}

.toggle input:checked+.toggle__slider {
  background: var(--success);
}

.toggle input:checked+.toggle__slider::before {
  transform: translateX(20px);
}

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1410 0%, #5c3414 55%, #8b5428 100%);
  padding: 1.5rem;
}

.login-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.login-card__logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-card__icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 0.85rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(58, 36, 24, 0.25));
}

.login-card__logo h1 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--slate-900);
}

.login-card__logo p {
  color: var(--slate-500);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.login-card__switch {
  text-align: center;
  margin-top: 1.1rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.login-card__link {
  border: none;
  background: none;
  padding: 0;
  color: var(--royal);
  font-weight: 700;
  cursor: pointer;
}

.login-card__link:hover {
  text-decoration: underline;
}

.login-card__hint {
  margin-top: 1.5rem;
  padding: 0.85rem;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--slate-500);
  text-align: center;
}

.login-error {
  background: #fee2e2;
  color: var(--danger);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: none;
}

.login-error--visible {
  display: block;
}

/* Mobile admin */
.admin-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--slate-700);
}

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar--open {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-menu-toggle {
    display: flex;
  }

  .nav__link span.hide-mobile {
    display: none;
  }
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
}

.overlay--visible {
  display: block;
}

.recent-list {
  list-style: none;
}

.recent-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.875rem;
}

.recent-list li:last-child {
  border-bottom: none;
}

.recent-list__title {
  font-weight: 500;
}

.recent-list__meta {
  color: var(--slate-500);
  font-size: 0.8rem;
}

/* ─── Color Picker (Admin) ─── */
.color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.color-swatch--active {
  border-color: var(--slate-900);
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--slate-900);
}

.color-swatch--active::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ─── Solicitudes de descuento (Admin) ─── */
.admin-nav__count {
  min-width: 1.5rem;
  margin-left: auto;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--canary);
  color: var(--slate-900);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

.requests-panel__subtitle {
  margin-top: 0.2rem;
  color: var(--slate-500);
  font-size: 0.8rem;
}

.table__empty {
  padding: 2rem !important;
  color: var(--slate-500);
  text-align: center !important;
}

.table__empty--error {
  color: var(--danger);
}

.request-email,
.request-product-link {
  color: var(--royal);
  font-size: 0.82rem;
}

.request-product-link {
  display: inline-block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-response-date {
  color: var(--slate-500);
  font-size: 0.78rem;
}

.discount-reply-modal__dialog {
  max-width: 680px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.discount-reply__details {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  color: var(--slate-600);
  font-size: 0.85rem;
}

.discount-reply__details a {
  color: var(--royal);
  word-break: break-all;
}

.discount-reply__sender {
  margin-top: 1rem;
  color: var(--slate-500);
  font-size: 0.78rem;
}

.discount-reply__actions {
  justify-content: flex-end;
}

/* ─── Calculadora de descuento ─── */
.discount-calculator {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 214, 0, 0.2), transparent 28rem),
    radial-gradient(circle at 85% 70%, rgba(37, 99, 235, 0.12), transparent 26rem);
}

.discount-calculator__intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
  animation: fadeInUp 0.5s ease both;
}

.discount-calculator__eyebrow {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--royal-light);
  color: var(--royal-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.discount-calculator__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--slate-900);
}

.discount-calculator__subtitle {
  max-width: 650px;
  margin: 1rem auto 0;
  color: var(--slate-600);
  font-size: 1.05rem;
}

.discount-calculator__card {
  max-width: 620px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.5s 0.1s ease both;
}

.discount-calculator__card-header {
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  color: white;
}

.discount-calculator__card-header .card__title {
  font-size: 1.35rem;
}

.discount-calculator__card-copy {
  margin-top: 0.25rem;
  color: var(--slate-300);
  font-size: 0.875rem;
}

.discount-calculator__badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--canary);
  color: var(--slate-900);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 0 0 5px rgba(255, 214, 0, 0.15);
}

.discount-calculator__form {
  display: grid;
  gap: 1.25rem;
}

.discount-calculator__form .form-group input {
  min-height: 50px;
}

.discount-calculator__form .input--error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-help {
  color: var(--slate-500);
  font-size: 0.78rem;
}

.form-error {
  min-height: 1.15em;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 500;
}

.discount-calculator__privacy,
.discount-calculator__status {
  color: var(--slate-500);
  font-size: 0.8rem;
  text-align: center;
}

.discount-calculator__submit {
  width: 100%;
  justify-content: center;
}

.discount-calculator__status {
  min-height: 1.2em;
  color: var(--slate-700);
}

.discount-calculator__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 639px) {
  .discount-calculator {
    padding: 2.75rem 0 3.5rem;
  }

  .discount-calculator__subtitle {
    font-size: 0.95rem;
  }

  .discount-calculator__card-header {
    flex-wrap: nowrap;
  }

  .discount-calculator__badge {
    flex: 0 0 auto;
  }
}

/* ─── Canje de cupones desde correo ─── */
.redeem-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 214, 0, 0.3), transparent 25rem),
    radial-gradient(circle at 85% 85%, rgba(37, 99, 235, 0.18), transparent 28rem),
    var(--slate-50);
}

.redeem-card {
  width: min(100%, 520px);
  padding: 2.25rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: fadeInUp 0.45s ease both;
}

.redeem-card__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border: 4px solid var(--canary);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.redeem-card__eyebrow {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--canary-light);
  color: var(--slate-800);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.redeem-card__title {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.05;
  color: var(--slate-900);
}

.redeem-card__subtitle {
  margin-top: 0.75rem;
  color: var(--slate-600);
}

.redeem-card__codes {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.redeem-card__code {
  display: block;
  padding: 0.85rem 1rem;
  border: 2px dashed var(--royal);
  border-radius: var(--radius-md);
  background: var(--royal-light);
  color: var(--royal-dark);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.redeem-card__button {
  width: 100%;
  justify-content: center;
}

.redeem-card__instructions {
  margin: 0 0 1rem;
  color: var(--slate-600);
  font-size: 0.85rem;
}

.redeem-card__status {
  min-height: 1.25rem;
  margin-top: 0.85rem;
  color: var(--slate-600);
  font-size: 0.82rem;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Página de Tendencias ─── */
.trends {
  padding-bottom: 4rem;
}

.trends-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5.5rem;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(245, 197, 24, 0.38), transparent 26%),
    radial-gradient(circle at 90% 80%, rgba(196, 30, 58, 0.22), transparent 28%),
    linear-gradient(135deg, #3a2418 0%, #8b5428 48%, #e8b423 100%);
}

.trends-hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -55% 30%;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(-8deg);
}

.trends-hero .container {
  position: relative;
  z-index: 1;
}

.trends-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trends-hero__title {
  max-width: 760px;
  margin: 0 auto 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.trends-hero__title span {
  color: var(--canary);
}

.trends-hero__subtitle {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.trends-options {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  margin-top: -2rem;
}

.trend-option {
  --trend-color: var(--royal);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--slate-800);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.trend-option:hover,
.trend-option--active {
  transform: translateY(-3px);
  border-color: var(--trend-color);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.trend-option--sales {
  --trend-color: #16a34a;
}

.trend-option--search {
  --trend-color: #b06a2c;
}

.trend-option--clearance {
  --trend-color: #dc2626;
}

.trend-option__select {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  min-width: 0;
  padding: 1rem 1rem 0.7rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.trend-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: color-mix(in srgb, var(--trend-color) 12%, white);
  color: var(--trend-color);
}

.trend-option__icon svg {
  width: 24px;
  height: 24px;
}

.trend-option__content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.trend-option__content strong {
  font-size: 0.93rem;
  line-height: 1.2;
}

.trend-option__content small {
  overflow: hidden;
  margin-top: 0.2rem;
  color: var(--slate-500);
  font-size: 0.73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-option__arrow {
  color: var(--trend-color);
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.trend-option:hover .trend-option__arrow,
.trend-option--active .trend-option__arrow {
  transform: translateX(3px);
}

.trend-option__cta {
  align-self: stretch;
  margin: 0 1rem 0.85rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: var(--trend-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.trend-option__cta:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.trend-option__cta--disabled {
  background: var(--slate-300);
  color: var(--slate-600);
  cursor: not-allowed;
}

.trend-panel {
  max-width: 780px;
  margin: 2rem auto 0;
  padding: 2.5rem 2rem;
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.trend-panel--refresh {
  animation: trendPanelIn 0.28s ease;
}

.trend-panel__icon {
  margin-bottom: 0.65rem;
  font-size: 2.6rem;
}

.trend-panel__badge {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--canary-light);
  color: var(--slate-700);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
}

.trend-panel__title {
  margin: 0.8rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--slate-900);
}

.trend-panel__text {
  max-width: 590px;
  margin: 0 auto 1.25rem;
  color: var(--slate-600);
}

@keyframes trendPanelIn {
  from {
    opacity: 0.55;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .trends-hero {
    padding: 3.2rem 0 4.5rem;
  }

  .trends-options {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: -1.5rem;
  }

  .trend-option {
    padding: 0;
  }

  .trend-option__content small {
    white-space: normal;
  }

  .trend-panel {
    margin-top: 1.25rem;
    padding: 2rem 1.25rem;
    border-radius: 18px;
  }
}

.trend-products-section {
  margin-top: 2.5rem;
}

.trend-products-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.trend-products-section__eyebrow {
  color: var(--royal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trend-products-section__header h2 {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--slate-900);
}

.trend-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.trend-product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trend-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.trend-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--slate-100);
}

.trend-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trend-product-card__image--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.trend-product-card__badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.28rem 0.5rem;
  border-radius: 5px;
  background: var(--royal);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trend-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.9rem;
}

.trend-product-card__name {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.6em;
  color: var(--slate-900);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.trend-product-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
  color: var(--slate-500);
  font-size: 0.72rem;
}

.trend-product-card__rating {
  color: var(--royal);
  font-weight: 700;
}

.trend-product-card__price {
  display: block;
  margin-top: 0.55rem;
  color: var(--slate-900);
  font-size: 1.4rem;
  line-height: 1;
}

.trend-product-card__button {
  margin-top: 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  background: var(--canary);
  color: var(--slate-900);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.trend-product-card__button:hover {
  background: var(--canary-hover);
}

.trend-products-empty {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  border: 1px dashed var(--slate-300);
  border-radius: 16px;
  background: #fff;
  color: var(--slate-500);
  text-align: center;
}

.trend-products-empty span,
.trend-products-empty strong,
.trend-products-empty p {
  display: block;
}

.trend-products-empty span {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.trend-products-empty strong {
  color: var(--slate-700);
}

.trend-products-empty p {
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

@media (max-width: 1000px) {
  .trend-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .trend-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .trend-product-card__body {
    padding: 0.75rem;
  }
}

/* ─── Navegación inferior tipo app ─── */
.mobile-app-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-app-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.45rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--slate-200);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(14px);
  }

  .mobile-app-nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    min-height: 48px;
    padding: 0.45rem 0.55rem;
    border-radius: 13px;
    color: var(--slate-500);
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
  }

  .mobile-app-nav__link svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
  }

  .mobile-app-nav__link--active {
    background: var(--royal-light);
    color: var(--royal);
  }

  body:has(.mobile-app-nav) .site {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  body:has(.mobile-app-nav) .wa-float {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .mobile-app-nav__link {
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.65rem;
  }
}