/* ZonaOfertas Mx — estilos estáticos (réplica del diseño React) */

:root {
  --brand-red: #FF7A5C;
  --brand-red-bright: #FF8F75;
  --brand-red-dark: #E55A3C;
  --brand-red-deep: #B8432E;
  --brand-yellow: #ffcc00;
  --brand-dark: #1a1a1a;
  --canary: #ffd600;
  --canary-hover: #f5c800;
  --canary-light: #fff8cc;
  --royal: #2563eb;
  --royal-dark: #1d4ed8;
  --royal-light: #dbeafe;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --zinc-50: #fafafa;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", sans-serif;
  --container: 80rem;
  --bg-page: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-muted: #f4f4f5;
  --text-main: #18181b;
  --text-muted: #71717a;
  --border-soft: #e4e4e7;
  --header-bg: linear-gradient(180deg, #ffffff 0%, #fff7f4 100%);
  --card-bg: #ffffff;
  --deals-bg: var(--bg-page);
  --categories-bg: linear-gradient(90deg, #1a1a1a 0%, #3a1812 35%, #FF7A5C 50%, #3a1812 65%, #1a1a1a 100%);
  --footer-bg: radial-gradient(ellipse 70% 80% at 20% 30%, #FF8F75 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 70%, #B8432E 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #FF7A5C 0%, #E55A3C 45%, #8F3A2C 100%);
}

html[data-theme="dark"] {
  --zinc-50: #0a0a0a;
  --zinc-100: #141414;
  --zinc-200: #27272a;
  --zinc-300: #3f3f46;
  --zinc-400: #a1a1aa;
  --zinc-500: #a1a1aa;
  --zinc-600: #d4d4d8;
  --zinc-800: #e4e4e7;
  --zinc-900: #fafafa;
  --brand-dark: #f4f4f5;
  --bg-page: #0a0a0a;
  --bg-elevated: #121212;
  --bg-muted: #1a1a1a;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --border-soft: rgb(255 255 255 / 0.1);
  --header-bg: linear-gradient(180deg, #121212 0%, #1a100e 100%);
  --card-bg: #161616;
  --deals-bg: var(--bg-page);
  --categories-bg: linear-gradient(90deg, #050505 0%, #2a1410 40%, #FF7A5C 50%, #2a1410 60%, #050505 100%);
  --footer-bg: radial-gradient(ellipse 70% 80% at 20% 30%, #FF8F75 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 70%, #B8432E 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #FF7A5C 0%, #E55A3C 45%, #8F3A2C 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  transition: background 0.25s ease, color 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.hidden {
  display: none !important;
}

.text-red { color: var(--brand-red); }
.text-yellow { color: var(--brand-yellow); }
.text-orange { color: #f97316; }
.text-blue { color: #3b82f6; }

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Icons */
.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 0.75rem;
  height: 0.75rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

.icon-xl {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--zinc-300);
}

.icon-search {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--zinc-400);
  pointer-events: none;
  font-size: 0.9rem;
}

.nav-link i {
  font-size: 0.9rem;
}

.channel__icon i,
.fab i,
.btn i {
  font-size: 1.05rem;
}

.deals-header h2 i {
  margin-right: 0.35rem;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.8) rotate(5deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.fade-up {
  animation: fadeUp 0.5s ease forwards;
}

.fade-scale {
  animation: fadeScale 0.7s ease 0.2s both;
}

/* Top banner */
.top-banner {
  background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 25%, #FF7A5C 50%, #1a1a1a 75%, #0a0a0a 100%);
  color: #fff;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  border-bottom: 1px solid rgb(255 122 92 / 0.35);
}

.top-banner__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.icon-yellow {
  color: var(--brand-yellow);
}

.top-banner a {
  text-decoration: underline;
  transition: color 0.2s;
}

.top-banner a:hover {
  color: var(--brand-yellow);
}

/* Header */
.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  overflow-anchor: none;
}

.header {
  position: relative;
  z-index: 51;
  background: var(--header-bg);
  border-bottom: 1px solid rgb(255 122 92 / 0.15);
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.05),
    0 4px 24px rgb(255 122 92 / 0.06);
  overflow: hidden;
  overflow-anchor: none;
}

.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgb(255 122 92 / 0.12), rgb(26 26 26 / 0.08)) !important;
  color: var(--brand-red) !important;
  border: 1px solid rgb(255 122 92 / 0.25) !important;
  transition: transform 0.15s, background 0.2s, color 0.2s;
  cursor: pointer;
  z-index: 60;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #FF8F75, #B8432E) !important;
  color: #fff !important;
}

.theme-toggle i {
  pointer-events: none;
  font-size: 1rem;
}

/* Modo oscuro — contraste claro */
html.theme-dark,
html[data-theme="dark"] {
  color-scheme: dark;
}

html.theme-dark body,
html[data-theme="dark"] body,
body.theme-dark {
  background: #0a0a0a !important;
  color: #f4f4f5 !important;
}

html.theme-dark .header,
html[data-theme="dark"] .header,
html.theme-dark .site-top,
html[data-theme="dark"] .site-top {
  background: linear-gradient(180deg, #121212 0%, #1a100e 100%) !important;
  border-bottom-color: rgb(255 122 92 / 0.35);
}

html.theme-dark .logo__title,
html[data-theme="dark"] .logo__title {
  color: #f4f4f5;
}

html.theme-dark .search input,
html[data-theme="dark"] .search input {
  background: #161616 !important;
  color: #f4f4f5 !important;
  border-color: rgb(255 255 255 / 0.12) !important;
}

html.theme-dark .nav-link,
html[data-theme="dark"] .nav-link {
  color: #f4f4f5 !important;
}

html.theme-dark .nav-link:hover,
html[data-theme="dark"] .nav-link:hover,
html.theme-dark .nav-link--active,
html[data-theme="dark"] .nav-link--active {
  color: var(--brand-red) !important;
}

html.theme-dark .deals-section,
html[data-theme="dark"] .deals-section,
html.theme-dark .features-bar,
html[data-theme="dark"] .features-bar {
  background: var(--bg-page) !important;
}

html.theme-dark .features-bar__inner,
html[data-theme="dark"] .features-bar__inner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-dark .features-bar__item,
html[data-theme="dark"] .features-bar__item {
  background: #161616 !important;
  border-color: rgb(255 255 255 / 0.1) !important;
}

html.theme-dark .features-bar__item--link,
html[data-theme="dark"] .features-bar__item--link {
  background: linear-gradient(160deg, #2aabee 0%, #1d8ec9 100%) !important;
  border-color: transparent !important;
}

html.theme-dark .features-bar__item--link h3,
html[data-theme="dark"] .features-bar__item--link h3,
html.theme-dark .features-bar__item--link p,
html[data-theme="dark"] .features-bar__item--link p {
  color: #fff !important;
}

html.theme-dark .features-bar__item h3,
html[data-theme="dark"] .features-bar__item h3 {
  color: #f4f4f5 !important;
}

html.theme-dark .features-bar__item p,
html[data-theme="dark"] .features-bar__item p {
  color: #a1a1aa !important;
}

html.theme-dark .community,
html[data-theme="dark"] .community {
  background: var(--bg-page) !important;
}

html.theme-dark .community__header h2,
html[data-theme="dark"] .community__header h2 {
  color: #f4f4f5 !important;
}

html.theme-dark .community__header p,
html[data-theme="dark"] .community__header p {
  color: #a1a1aa !important;
}

html.theme-dark .channel-card,
html[data-theme="dark"] .channel-card {
  background: #161616 !important;
  border-color: rgb(255 255 255 / 0.1) !important;
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.4) !important;
}

html.theme-dark .channel-card:hover,
html[data-theme="dark"] .channel-card:hover,
html.theme-dark .channel-card--telegram:hover,
html[data-theme="dark"] .channel-card--telegram:hover {
  border-color: rgb(42 171 238 / 0.5) !important;
  box-shadow: 0 16px 40px rgb(42 171 238 / 0.2) !important;
}

html.theme-dark .channel-card h3,
html[data-theme="dark"] .channel-card h3 {
  color: #f4f4f5 !important;
}

html.theme-dark .channel-card > p,
html[data-theme="dark"] .channel-card > p {
  color: #a1a1aa !important;
}

html.theme-dark .deals-header h2,
html[data-theme="dark"] .deals-header h2,
html.theme-dark .coupon-count,
html[data-theme="dark"] .coupon-count,
html.theme-dark .empty-state h3,
html[data-theme="dark"] .empty-state h3,
html.theme-dark .empty-state p,
html[data-theme="dark"] .empty-state p {
  color: #f4f4f5 !important;
}

html.theme-dark .cc,
html[data-theme="dark"] .cc {
  background: #161616 !important;
  border-color: #3f3f46 !important;
  box-shadow: none !important;
}

html.theme-dark .cc:hover,
html[data-theme="dark"] .cc:hover {
  box-shadow: none !important;
  transform: none !important;
}

html.theme-dark .cc__title-large,
html[data-theme="dark"] .cc__title-large,
html.theme-dark .cc__info-value,
html[data-theme="dark"] .cc__info-value,
html.theme-dark .cc__code,
html[data-theme="dark"] .cc__code {
  color: #f4f4f5 !important;
}

html.theme-dark .cc__title-sub,
html[data-theme="dark"] .cc__title-sub,
html.theme-dark .cc__info-label,
html[data-theme="dark"] .cc__info-label,
html.theme-dark .cc__code-label,
html[data-theme="dark"] .cc__code-label {
  color: #a1a1aa !important;
}

html.theme-dark .cc__info-row,
html[data-theme="dark"] .cc__info-row {
  border-top-color: rgb(255 255 255 / 0.12) !important;
}

html.theme-dark .cc__info-divider,
html[data-theme="dark"] .cc__info-divider {
  background-color: rgb(255 255 255 / 0.15) !important;
}

html.theme-dark .cc__info-icon,
html[data-theme="dark"] .cc__info-icon {
  background: #1f1f1f !important;
  color: #d4d4d8 !important;
}

html.theme-dark .cc__info-icon--blue,
html[data-theme="dark"] .cc__info-icon--blue {
  background: rgb(255 122 92 / 0.18) !important;
  color: #FF8F75 !important;
}

html.theme-dark .cc__code-inner,
html[data-theme="dark"] .cc__code-inner {
  background: #1a1608 !important;
  border-color: rgb(252 211 77 / 0.35) !important;
}

html.theme-dark .cc__countdown,
html[data-theme="dark"] .cc__countdown {
  background: transparent !important;
  color: #f4f4f5 !important;
}

html.theme-dark .cc__countdown i,
html[data-theme="dark"] .cc__countdown i {
  color: #f4f4f5 !important;
}

html.theme-dark .footer,
html[data-theme="dark"] .footer {
  background:
    radial-gradient(ellipse 70% 80% at 20% 30%, #FF8F75 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 70%, #B8432E 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #FF7A5C 0%, #E55A3C 45%, #8F3A2C 100%) !important;
  color: #fff !important;
  border-top-color: var(--brand-yellow) !important;
}

html.theme-dark .footer__brand-name,
html[data-theme="dark"] .footer__brand-name,
html.theme-dark .footer__col h4,
html[data-theme="dark"] .footer__col h4,
html.theme-dark .footer__credit,
html[data-theme="dark"] .footer__credit {
  color: #fff !important;
}

html.theme-dark .footer__desc,
html[data-theme="dark"] .footer__desc,
html.theme-dark .footer__links a,
html[data-theme="dark"] .footer__links a,
html.theme-dark .footer__copy,
html[data-theme="dark"] .footer__copy,
html.theme-dark .footer__credit span:last-child,
html[data-theme="dark"] .footer__credit span:last-child {
  color: rgb(255 255 255 / 0.72) !important;
}

html.theme-dark .theme-toggle,
html[data-theme="dark"] .theme-toggle {
  background: linear-gradient(135deg, #FF8F75, #B8432E) !important;
  color: #fff !important;
  border-color: rgb(255 204 0 / 0.35) !important;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

@media (min-width: 640px) {
  .header__inner {
    height: 5rem;
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  background: #FF7A5C;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgb(255 122 92 / 0.28);
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}

.header-cta:hover,
.header-cta--active {
  background: #e55a3c;
  transform: translateY(-1px);
}

.header-cta--wa {
  background: #25D366;
  box-shadow: 0 8px 18px rgb(37 211 102 / 0.32);
}

.header-cta--wa:hover,
.header-cta--wa.header-cta--active {
  background: #1ebe5d;
}

.subnav {
  background: #fff;
  border-bottom: 1px solid #eef0f3;
  position: relative;
  z-index: 40;
}

.subnav__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 28rem;
  margin: 0 auto;
}

.subnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.7rem 0.5rem 0.65rem;
  color: #5b6472;
  font-size: 0.82rem;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.subnav__item i {
  font-size: 1.15rem;
  transform: rotate(-12deg);
}

.subnav__item:nth-child(3) i {
  transform: none;
}

.subnav__item:hover,
.subnav__item--active {
  color: #FF7A5C;
}

.subnav__item--active {
  border-bottom-color: #FF7A5C;
}

body.nav-compact .header {
  display: none;
}

body.nav-compact .subnav {
  box-shadow: 0 8px 18px rgb(15 23 42 / 0.08);
}

.logo {
  position: relative;
  cursor: pointer;
}

.logo__content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 1.25rem;
}

.logo__img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__title {
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--brand-dark);
}

.logo__ml-icon {
  height: 1.25em;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  padding: 0.18em;
  background: var(--brand-yellow);
  border: 1.5px solid var(--brand-yellow);
  border-radius: 0.35em;
  box-sizing: content-box;
}

@media (min-width: 640px) {
  .logo__content {
    font-size: 1.5rem;
  }
}

/* Search */
.search {
  position: relative;
  width: 100%;
}

.search--desktop {
  display: none;
  flex: 1;
  max-width: 28rem;
  margin: 0 2rem;
}

@media (min-width: 768px) {
  .search--desktop {
    display: block;
  }
}

.search input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  background: var(--zinc-100);
  border: 1px solid transparent;
  border-radius: 9999px;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
}

.search--mobile input {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0.75rem;
}

.search input:focus {
  background: #fff;
  border-color: var(--brand-red);
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  margin-right: 0.75rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgb(255 122 92 / 0.12), rgb(26 26 26 / 0.08));
  color: var(--brand-red);
  border: 1px solid rgb(255 122 92 / 0.25);
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: linear-gradient(135deg, #FF8F75, #B8432E);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle i {
  font-size: 1rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .header__actions {
    margin-left: 0;
  }
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgb(255 122 92 / 0.12);
  background: var(--bg-elevated);
  padding: 0.65rem 0 0.85rem;
  box-shadow: 0 12px 24px rgb(0 0 0 / 0.08);
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile__panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-mobile__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-muted);
  border: 1px solid var(--border-soft);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-mobile__link i {
  color: var(--brand-red);
  width: 1.1rem;
  text-align: center;
}

.nav-mobile__link:hover {
  border-color: rgb(255 122 92 / 0.35);
  color: var(--brand-red);
}

html.theme-dark .nav-toggle,
html[data-theme="dark"] .nav-toggle {
  background: linear-gradient(135deg, rgb(255 122 92 / 0.22), rgb(255 255 255 / 0.06)) !important;
  color: #fff !important;
  border-color: rgb(255 122 92 / 0.35) !important;
}

html.theme-dark .nav-mobile,
html[data-theme="dark"] .nav-mobile {
  background: #121212 !important;
  border-top-color: rgb(255 122 92 / 0.3) !important;
}

html.theme-dark .nav-mobile__link,
html[data-theme="dark"] .nav-mobile__link {
  background: #1a1a1a !important;
  color: #f4f4f5 !important;
  border-color: rgb(255 255 255 / 0.1) !important;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--zinc-600);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link--active {
  color: var(--brand-red);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
}

.btn:active {
  transform: scale(0.95);
}

.btn-pill {
  border-radius: 9999px;
}

.btn-red {
  background: linear-gradient(135deg, #FF8F75 0%, #FF7A5C 40%, #B8432E 100%);
  color: #fff;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: 0 10px 15px -3px rgb(255 122 92 / 0.35);
}

.btn-red:hover {
  background: linear-gradient(135deg, #FF9A82 0%, #E55A3C 45%, #8F3A2C 100%);
}

.btn-white {
  background: #fff;
  color: var(--brand-red);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.btn-white:hover {
  background: var(--zinc-100);
}

.btn-telegram {
  background: #2aabee;
  color: #fff;
  box-shadow: 0 16px 28px rgb(42 171 238 / 0.35);
}

.btn-telegram:hover {
  background: #229ed9;
  color: #fff;
}

.btn-green {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.btn-green:hover {
  background: #16a34a;
}

.btn-lg {
  padding: 1rem 2rem;
}

.btn-block {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(255 122 92 / 0.2);
}

.btn-outline {
  background: #fff;
  border: 2px solid var(--zinc-200);
  color: var(--zinc-600);
  padding: 1rem 2rem;
}

.btn-outline:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* Hero */
.explosive-bg {
  background: #000000;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(255, 122, 92, 1) 35%, rgba(255, 122, 92, 1) 69%, rgba(3, 0, 0, 1) 100%);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 1.25rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 640px) {
  .hero {
    padding: 3rem 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 3.5rem 0 1.75rem;
  }
}

.hero::before,
.hero::after {
  display: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  z-index: 2;
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
}

.hero__inner {
  position: relative;
  z-index: 10;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
}

.hero__left {
  flex: 1 1 0;
  min-width: 0;
  text-align: left;
  order: 1;
}

.hero__right {
  flex: 0.9 1 0;
  min-width: 0;
  display: block;
  position: relative;
  order: 2;
}

.hero__channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0;
  order: 3;
}

@media (min-width: 900px) {
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    grid-template-areas:
      "left right"
      "channels right";
    align-items: center;
    column-gap: 3rem;
    row-gap: 1.35rem;
  }

  .hero__left {
    grid-area: left;
    order: unset;
    align-self: end;
  }

  .hero__right {
    grid-area: right;
    order: unset;
    align-self: center;
  }

  .hero__channels {
    grid-area: channels;
    order: unset;
    justify-content: flex-start;
    align-self: start;
  }
}

.hero__updated {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.95rem;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid #e6b800;
  border-radius: 9999px;
  background: rgb(0 0 0 / 0.28);
  box-shadow: none;
  color: #ffd54a;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero__updated i {
  font-size: 0.85rem;
  color: #e6b800;
}

.hero__promo-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.8vw, 3.9rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.06;
  margin: 0 0 1rem;
  letter-spacing: -0.035em;
}

.hero__promo-accent {
  display: block;
  color: #ffd54a;
}

.hero__promo-underline {
  position: relative;
  display: inline-block;
}

.hero__promo-underline::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -4%;
  bottom: -0.12em;
  height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 8' preserveAspectRatio='none'%3E%3Cpath d='M2 6 Q28 1.5 48 4.5 T88 5' fill='none' stroke='%23ffd54a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.hero__promo-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.12rem);
  color: rgb(255 255 255 / 0.95);
  max-width: 28rem;
  margin: 0 0 0.85rem;
  line-height: 1.5;
  font-weight: 500;
}

.hero__promo-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
}

.hero__promo-status i,
.hero__promo-status strong {
  color: #ffd54a;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

@media (min-width: 900px) {
  .hero-visual {
    margin-left: auto;
    margin-right: 0;
    padding: 1rem 0.5rem 1rem 1rem;
  }
}

.hero-visual__burst {
  position: absolute;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  background: repeating-conic-gradient(from 8deg, rgb(255 213 74 / 0.28) 0 7deg, transparent 7deg 20deg);
  mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%);
}

.hero-sparkle {
  position: absolute;
  z-index: 3;
  width: 0.7rem;
  height: 0.7rem;
  background: #ffd54a;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgb(255 213 74 / 0.7);
  pointer-events: none;
  animation: heroIconFloat 2.8s ease-in-out infinite;
}

.hero-sparkle--1 { top: 6%; left: 22%; }
.hero-sparkle--2 { top: 18%; right: 10%; width: 0.45rem; height: 0.45rem; animation-delay: 0.5s; }
.hero-sparkle--3 { bottom: 18%; left: 12%; width: 0.55rem; height: 0.55rem; animation-delay: 1s; }
.hero-sparkle--4 { bottom: 10%; right: 18%; width: 0.4rem; height: 0.4rem; animation-delay: 1.4s; }

.hero-visual__img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(58vw, 420px);
  min-height: 200px;
  object-fit: contain;
  object-position: center;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent;
  animation: heroFloat 3.6s ease-in-out infinite;
  filter: drop-shadow(0 16px 28px rgb(0 0 0 / 0.32));
}

@media (min-width: 900px) {
  .hero-visual__img {
    max-height: none;
    min-height: 0;
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-float-icon {
  position: absolute;
  z-index: 3;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #1a1a1a;
  background: linear-gradient(145deg, #ffd600, #ffcc00);
  box-shadow:
    0 8px 18px rgb(0 0 0 / 0.22),
    0 0 0 2px rgb(255 255 255 / 0.25);
  animation: heroIconFloat 3.2s ease-in-out infinite;
  pointer-events: none;
}

.hero-float-icon--1 {
  top: 8%;
  left: 4%;
  animation-delay: 0s;
  background: linear-gradient(145deg, #FF8F75, #FF7A5C);
  color: #fff;
}

.hero-float-icon--2 {
  top: 12%;
  right: 2%;
  animation-delay: 0.4s;
}

.hero-float-icon--3 {
  top: 48%;
  left: -2%;
  animation-delay: 0.8s;
  background: linear-gradient(145deg, #FF8F75, #B8432E);
  color: #fff;
}

.hero-float-icon--4 {
  top: 42%;
  right: -4%;
  animation-delay: 1.1s;
}

.hero-float-icon--5 {
  bottom: 10%;
  left: 8%;
  animation-delay: 0.55s;
  background: linear-gradient(145deg, #ff7a18, #FF7A5C);
  color: #fff;
}

.hero-float-icon--6 {
  bottom: 8%;
  right: 6%;
  animation-delay: 1.4s;
}

@keyframes heroIconFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual__img,
  .hero-float-icon,
  .hero-sparkle {
    animation: none;
  }
}

.hero__footer {
  display: none;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

.hero__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(0 0 0 / 0.28);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s;
  min-width: 9.5rem;
}

.hero__social-icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.hero__social--telegram .hero__social-icon {
  background: #2aabee;
  color: #fff;
}

.hero__social--whatsapp .hero__social-icon {
  background: #25d366;
  color: #fff;
}

.hero__social--telegram:hover {
  background: #2aabee;
  border-color: #2aabee;
  color: #fff;
}

.hero__social--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.hero__join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  color: rgb(255 255 255 / 0.8);
  font-size: 0.85rem;
  text-align: center;
}

.hero__join strong {
  color: var(--brand-yellow);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .hero {
    padding: 2rem 0 1.1rem;
  }

  .hero__updated {
    font-size: 0.72rem;
    margin-bottom: 0.7rem;
    padding: 0.28rem 0.7rem;
  }

  .hero__promo-title {
    font-size: 2.15rem;
    margin-bottom: 0.7rem;
  }

  .hero__promo-sub {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .hero__promo-status {
    font-size: 0.8rem;
  }

  .hero__channels {
    margin-top: 0.15rem;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero__channels .join-channel {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    width: auto;
    height: auto;
    padding: 0.6rem 1.05rem;
    font-size: 0.82rem;
    gap: 0.35rem;
    white-space: nowrap;
  }

  .hero__channels .join-channel span {
    display: inline;
  }

  .hero__channels .join-channel i {
    font-size: 0.9rem;
  }

  .hero-visual {
    display: flex !important;
    width: 100%;
    max-width: 26rem;
    margin: 0.35rem auto 0;
    padding: 1.1rem 1.25rem;
  }

  .hero-visual__img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    max-height: 300px !important;
    object-fit: contain !important;
    animation: heroFloat 3.6s ease-in-out infinite !important;
  }

  .hero-float-icon {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.72rem;
  }

  .hero__right {
    display: block !important;
    order: 2;
    width: 100%;
  }
}

.btn-yellow {
  background: linear-gradient(135deg, #ffcc00 0%, #f5a623 100%);
  color: var(--brand-dark);
  box-shadow: 0 12px 24px rgb(255 204 0 / 0.25);
}

.btn-yellow:hover {
  background: linear-gradient(135deg, #ffe066 0%, #ffcc00 100%);
  color: #000;
}

.skeleton {
  border-radius: 1rem;
}

.skeleton-lg {
  height: 12rem;
  background: rgb(255 255 255 / 0.2);
}

.skeleton-md {
  height: 1.5rem;
  width: 75%;
  background: rgb(255 255 255 / 0.3);
  border-radius: 0.5rem;
}

.skeleton-btn {
  height: 2.5rem;
  width: 100%;
  background: var(--brand-yellow);
  border-radius: 0.75rem;
}

/* Categories */
.categories-bar {
  background: transparent;
  position: relative;
  z-index: 1;
  padding: 0.15rem 0 0;
}

.categories-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0 0.25rem;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.categories-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 767.98px) {
  .categories-panel__top {
    padding-bottom: 0;
    border-bottom: none;
  }
}

.categories-panel__intro {
  min-width: 0;
}

.categories-panel__heading {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.categories-panel__heading i {
  color: var(--brand-red);
}

.categories-panel .coupon-count {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.categories-panel .coupon-count strong {
  color: #0f172a;
  font-weight: 700;
}

.categories-search {
  position: relative;
  flex: 1 1 14rem;
  max-width: 20rem;
  min-width: 12rem;
}

.categories-search i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.85rem;
  pointer-events: none;
}

.categories-search input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  color: #0f172a;
  padding: 0.65rem 0.85rem 0.65rem 2.35rem;
  outline: none;
  font-size: 1.025rem;
}

.categories-search input::placeholder {
  color: #94a3b8;
}

.categories-search input:focus {
  border-color: rgb(255 122 92 / 0.45);
  box-shadow: 0 0 0 3px rgb(255 122 92 / 0.12);
}

.categories-panel__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
  width: 100%;
}

.categories-panel__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.categories-panel__label i {
  font-size: 0.85rem;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  overflow: visible;
  padding: 0.15rem 0;
  width: 100%;
  min-width: 0;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.05rem;
  border-radius: 9999px;
  font-size: 0.975rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
  background: #fff;
  color: #334155;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.cat-btn i {
  color: #f59e0b;
  font-size: 0.75rem;
}

.cat-btn:hover {
  border-color: rgb(255 122 92 / 0.35);
  color: #0f172a;
}

.cat-btn.is-active {
  background: #ffcc00;
  color: #111;
  border-color: #ffcc00;
  box-shadow: none;
  font-weight: 700;
}

.cat-btn.is-active i {
  color: #111;
}

.cat-refresh {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.cat-refresh:hover {
  border-color: #ffcc00;
  color: #111;
}

.categories-panel .coupon-count {
  flex-shrink: 0;
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

.categories-panel .coupon-count strong {
  color: #0f172a;
  font-weight: 700;
}

/* Móvil: título → categorías → buscador compacto */
@media (max-width: 767.98px) {
  .categories-panel {
    display: flex;
    flex-direction: column;
    padding: 0.35rem 0 0.15rem;
    gap: 0.65rem;
  }

  .categories-panel__top {
    display: contents;
  }

  .categories-panel__intro {
    order: 1;
    padding-bottom: 0.15rem;
  }

  .categories-search {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: none;
    margin-top: 0.1rem;
  }

  .categories-search i {
    left: 0.75rem;
    font-size: 0.8rem;
  }

  .categories-search input {
    padding: 0.55rem 0.85rem 0.55rem 2.25rem;
    font-size: 0.9rem;
    border-radius: 0.65rem;
    line-height: 1.35;
    height: 2.55rem;
  }

  .categories-panel__left {
    order: 3;
    padding-top: 0.55rem;
    border-top: 1px solid #e5e7eb;
    gap: 0.45rem;
  }

  .categories-panel__heading {
    font-size: 1.25rem;
  }

  .categories-panel .coupon-count {
    white-space: normal;
  }

  .categories-panel__label {
    font-size: 0.85rem;
  }

  .categories {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .cat-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }
}

html.theme-dark .categories-panel__left,
html[data-theme="dark"] .categories-panel__left {
  border-top-color: rgb(255 255 255 / 0.12);
}

html.theme-dark .categories-panel,
html[data-theme="dark"] .categories-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-dark .categories-panel__top,
html[data-theme="dark"] .categories-panel__top {
  border-bottom-color: rgb(255 255 255 / 0.12) !important;
}

html.theme-dark .categories-panel__heading,
html[data-theme="dark"] .categories-panel__heading,
html.theme-dark .categories-panel .coupon-count strong,
html[data-theme="dark"] .categories-panel .coupon-count strong {
  color: #f4f4f5 !important;
}

html.theme-dark .categories-panel__label,
html[data-theme="dark"] .categories-panel__label,
html.theme-dark .categories-panel .coupon-count,
html[data-theme="dark"] .categories-panel .coupon-count {
  color: #a1a1aa !important;
}

html.theme-dark .categories-search input,
html[data-theme="dark"] .categories-search input {
  background: #1a1a1a !important;
  color: #f4f4f5 !important;
  border-color: rgb(255 255 255 / 0.12) !important;
}

html.theme-dark .categories-search i,
html[data-theme="dark"] .categories-search i {
  color: #a1a1aa !important;
}

html.theme-dark .cat-btn,
html[data-theme="dark"] .cat-btn {
  background: #1a1a1a !important;
  color: #e4e4e7 !important;
  border-color: rgb(255 255 255 / 0.12) !important;
}

html.theme-dark .cat-btn.is-active,
html[data-theme="dark"] .cat-btn.is-active {
  background: #ffcc00 !important;
  color: #111 !important;
  border-color: #ffcc00 !important;
}

html.theme-dark .cat-refresh,
html[data-theme="dark"] .cat-refresh {
  background: #1a1a1a;
  color: #f4f4f5;
  border-color: rgb(255 255 255 / 0.12);
}

/* Features bar */
.features-bar {
  padding: 0.5rem 0 3.25rem;
  background: var(--bg-page);
}

.features-bar__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 72rem;
  margin: 0 auto;
  justify-items: stretch;
}

.features-bar__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.45rem;
  padding: 1.45rem 1.25rem 1.35rem;
  background: #fff;
  border: 0;
  border-radius: 1.35rem;
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.features-bar__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgb(15 23 42 / 0.1);
}

.features-bar__icon-wrap {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  flex-shrink: 0;
}

.features-bar__icon-wrap--tags {
  background: rgb(255 122 92 / 0.14);
  color: var(--brand-red);
}

.features-bar__icon-wrap--bolt {
  background: rgb(255 213 74 / 0.22);
  color: #c48a00;
}

.features-bar__icon-wrap--gift {
  background: rgb(255 122 92 / 0.14);
  color: var(--brand-red);
}

.features-bar__icon-wrap--bell {
  background: rgb(37 99 235 / 0.12);
  color: #2563eb;
}

.features-bar__icon-wrap--tg {
  background: rgb(42 171 238 / 0.16);
  color: #2aabee;
}

.features-bar__item h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.features-bar__item p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: none;
}

.features-bar__item--link {
  background: linear-gradient(160deg, #2aabee 0%, #1d8ec9 100%);
  border-color: transparent;
  color: #fff;
}

.features-bar__item--link h3,
.features-bar__item--link p {
  color: #fff;
}

.features-bar__item--link p {
  color: rgb(255 255 255 / 0.88);
}

.features-bar__item--link .features-bar__icon-wrap--tg {
  background: rgb(255 255 255 / 0.18);
  color: #fff;
}

.features-bar__item--link:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 16px 30px rgb(42 171 238 / 0.32);
}

.features-bar__item--link:hover h3 {
  color: #fff;
}

@media (min-width: 640px) {
  .features-bar__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .features-bar__inner {
    grid-template-columns: repeat(4, minmax(0, 16.5rem));
    justify-content: center;
  }

  .features-bar__item {
    padding: 1.5rem 1.2rem 1.4rem;
  }
}

/* Deals */
.deals-section {
  padding: 0.75rem 0 3rem;
  background: var(--bg-page);
}

#cupones {
  scroll-margin-top: 5.5rem;
}

.deals-header {
  display: none;
}

.deals-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .deals-header h2 {
    font-size: 1.875rem;
  }
}

.sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--zinc-500);
}

.sort select {
  background: transparent;
  border: none;
  font-weight: 700;
  color: var(--brand-dark);
  cursor: pointer;
  outline: none;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

@media (min-width: 1024px) {
  .deals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1280px) {
  .deals-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.deal-card {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid var(--zinc-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  opacity: 0;
  animation: fadeUp 0.4s ease forwards;
}

.deal-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.deal-card__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--zinc-100);
}

.deal-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.deal-card:hover .deal-card__image img {
  transform: scale(1.1);
}

.deal-card__badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.badge--discount {
  background: linear-gradient(135deg, #FF8F75 0%, #B8432E 100%);
}

.badge--hot {
  background: #f97316;
}

.badge--hot .icon {
  width: 0.75rem;
  height: 0.75rem;
}

.deal-card__share {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgb(255 255 255 / 0.8);
  backdrop-filter: blur(12px);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zinc-600);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.2s;
}

.deal-card:hover .deal-card__share {
  opacity: 1;
  transform: translateY(0);
}

.deal-card__share:hover {
  background: #fff;
  color: var(--brand-red);
}

.deal-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.deal-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.deal-card__store {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-red);
  background: rgb(255 122 92 / 0.1);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

.deal-card__time {
  font-size: 10px;
  font-weight: 700;
  color: var(--zinc-400);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.deal-card__time .icon {
  width: 0.75rem;
  height: 0.75rem;
}

.deal-card__title {
  font-weight: 700;
  color: var(--zinc-900);
  margin-bottom: 0.75rem;
  min-height: 3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.deal-card:hover .deal-card__title {
  color: var(--brand-red);
}

.deal-card__footer {
  margin-top: auto;
}

.deal-card__prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.deal-card__price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-dark);
}

.deal-card__original {
  font-size: 0.875rem;
  color: var(--zinc-400);
  text-decoration: line-through;
}

.deal-card__cta {
  width: 100%;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #fff;
  padding: 0.75rem;
  border-radius: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.deal-card:hover .deal-card__cta {
  background: linear-gradient(135deg, #FF8F75 0%, #FF7A5C 40%, #B8432E 100%);
  box-shadow: 0 10px 15px -3px rgb(255 122 92 / 0.35);
}

.empty-state {
  text-align: center;
  padding: 5rem 0;
}

.empty-state__icon {
  width: 5rem;
  height: 5rem;
  background: var(--zinc-100);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--zinc-900);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--zinc-500);
}

.load-more {
  margin-top: 4rem;
  text-align: center;
}

/* Community */
.community {
  background: var(--bg-page);
  padding: 4rem 0 5rem;
}

.community__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.community__header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .community__header h2 {
    font-size: 2rem;
  }
}

.community__header p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.community__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 64rem;
  margin: 0 auto;
  justify-items: stretch;
}

@media (min-width: 640px) {
  .community__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 960px) {
  .community__grid {
    grid-template-columns: repeat(3, minmax(0, 18rem));
    justify-content: center;
  }
}

.channel-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 28px rgb(15 23 42 / 0.08);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.channel-card:hover,
.channel-card--telegram:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgb(42 171 238 / 0.22);
  border-color: rgb(42 171 238 / 0.45);
}

.channel-card--whatsapp:hover {
  box-shadow: 0 16px 40px rgb(37 211 102 / 0.22);
  border-color: rgb(37 211 102 / 0.45);
}

.channel-card--facebook:hover {
  box-shadow: 0 16px 40px rgb(24 119 242 / 0.22);
  border-color: rgb(24 119 242 / 0.45);
}

.channel-card__logo {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 9999px;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.12);
  background: var(--brand-red-deep);
}

.channel-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.55rem;
}

.channel-card > p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  max-width: 16rem;
  flex: 1;
}

.channel-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
}

.channel-card__btn i {
  font-size: 1.15rem;
}

.channel-card__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.channel-card__btn--telegram {
  background: #2aabee;
  box-shadow: 0 10px 22px rgb(42 171 238 / 0.35);
}

.channel-card__btn--whatsapp {
  background: #25d366;
  box-shadow: 0 10px 22px rgb(37 211 102 / 0.35);
}

.channel-card__btn--facebook {
  background: #1877f2;
  box-shadow: 0 10px 22px rgb(24 119 242 / 0.35);
}

.community__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.join-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.55rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.join-channel i {
  font-size: 1.15rem;
  line-height: 1;
}

.join-channel--telegram {
  background: #2aabee;
  box-shadow: 0 10px 24px rgb(42 171 238 / 0.35);
}

.join-channel--telegram:hover {
  background: #229ed9;
  transform: translateY(-2px);
}

.join-channel--redes {
  background: #111;
  color: #fff;
  border: 2px solid rgb(255 255 255 / 0.28);
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.22);
}

.join-channel--redes:hover {
  background: #FF7A5C;
  border-color: #FF7A5C;
  transform: translateY(-2px);
}

.join-channel--howto {
  background: #fff;
  color: #1a1a1a;
  border: 2px solid rgb(255 255 255 / 0.85);
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.2);
}

.join-channel--howto:hover {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  transform: translateY(-2px);
}

/* Tutorial modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal.modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(10 10 10 / 0.62);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.28);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s;
  max-height: min(90vh, 40rem);
  overflow-y: auto;
}

.modal.modal--open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f4f4f5;
  border-radius: 9999px;
  cursor: pointer;
  color: #52525b;
  transition: background 0.2s, color 0.2s;
}

.modal__close:hover {
  background: #e4e4e7;
  color: #18181b;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #18181b;
  margin: 0 2rem 0.35rem 0;
}

.modal__subtitle {
  color: #71717a;
  font-size: 0.9rem;
  margin: 0 0 1.35rem;
}

.modal__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.modal__step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.modal__step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 9999px;
}

.modal__step strong {
  display: block;
  font-size: 0.95rem;
  color: #27272a;
  margin-bottom: 0.2rem;
}

.modal__step p {
  font-size: 0.85rem;
  color: #71717a;
  line-height: 1.45;
  margin: 0;
}

.modal__cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  border: none;
  background: linear-gradient(135deg, #FF8F75 0%, #FF7A5C 50%, #B8432E 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgb(255 122 92 / 0.35);
  transition: transform 0.15s, filter 0.15s;
}

.modal__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

html.theme-dark .modal__dialog,
html[data-theme="dark"] .modal__dialog {
  background: #161616 !important;
}

html.theme-dark .modal__title,
html[data-theme="dark"] .modal__title,
html.theme-dark .modal__step strong,
html[data-theme="dark"] .modal__step strong {
  color: #f4f4f5 !important;
}

html.theme-dark .modal__subtitle,
html[data-theme="dark"] .modal__subtitle,
html.theme-dark .modal__step p,
html[data-theme="dark"] .modal__step p {
  color: #a1a1aa !important;
}

html.theme-dark .modal__close,
html[data-theme="dark"] .modal__close {
  background: #27272a !important;
  color: #d4d4d8 !important;
}

@media (max-width: 480px) {
  .join-channel {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 0;
    padding: 0.7rem 0.75rem;
    font-size: 0.8rem;
  }

  .hero__channels .join-channel {
    flex: 1 1 0;
    padding: 0.45rem 0.5rem;
    font-size: 0.65rem;
  }
}

/* Footer */
.footer {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 20% 30%, #FF8F75 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 70%, #B8432E 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #FF7A5C 0%, #E55A3C 45%, #8F3A2C 100%);
  border-top: 3px solid var(--brand-yellow);
  padding: 3.25rem 0 2.5rem;
  color: #fff;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgb(0 0 0 / 0.35) 0%, transparent 42%, rgb(184 67 46 / 0.28) 100%),
    linear-gradient(180deg, transparent 55%, rgb(10 10 10 / 0.35) 100%);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.25rem 2rem;
  }
}

@media (min-width: 960px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 0.9fr 1fr;
    align-items: start;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer__brand img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.25);
  background: var(--brand-red-deep);
  flex-shrink: 0;
}

.footer__brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.footer__tagline {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.footer__desc {
  color: rgb(255 255 255 / 0.72);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 22rem;
  margin: 0;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer__links a i {
  font-size: 0.65rem;
  color: var(--brand-yellow);
}

.footer__links a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer__social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
}

.footer__social-btn:hover {
  background: rgb(255 204 0 / 0.25);
  color: var(--brand-yellow);
  transform: translateY(-2px);
}

.footer__col--credit {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

@media (min-width: 960px) {
  .footer__col--credit {
    align-items: flex-end;
    text-align: right;
  }
}

.footer__credit {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer__credit span:last-child {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.65);
}

.footer__heart {
  color: #fff;
}

.footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.55);
}

/* FAB */
.fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: #2aabee;
  color: #fff;
  border-radius: 9999px;
  box-shadow:
    0 16px 32px rgb(42 171 238 / 0.4),
    0 0 0 3px rgb(42 171 238 / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  animation: bounce 1s infinite;
}

.fab .icon {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 1024px) {
  .fab {
    display: none;
  }
}

/* Offers bar */
.offers-bar {
  padding: 0.85rem 0 0.35rem;
}

.offers-bar__track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.65rem;
  scrollbar-width: thin;
  scrollbar-color: rgb(255 122 92 / 0.5) transparent;
}

.offers-bar__track::-webkit-scrollbar {
  height: 4px;
}

.offers-bar__track::-webkit-scrollbar-thumb {
  background: rgb(255 122 92 / 0.55);
  border-radius: 999px;
}

.offers-bar__pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem 0.55rem 0.7rem;
  border-radius: 0.85rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid rgb(255 255 255 / 0.18);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.16), transparent 45%),
    linear-gradient(145deg, #2a2a2a, #1a1a1a);
  box-shadow:
    0 10px 24px rgb(0 0 0 / 0.28),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}

.offers-bar__pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgb(255 255 255 / 0.12) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.2s;
}

.offers-bar__pill:hover {
  transform: translateY(-2px);
  border-color: rgb(255 204 0 / 0.45);
  box-shadow:
    0 14px 28px rgb(0 0 0 / 0.35),
    0 0 0 1px rgb(255 122 92 / 0.25);
}

.offers-bar__pill:hover::before {
  opacity: 1;
}

.offers-bar__pill-emoji {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.28);
  border: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.offers-bar__pill-label {
  position: relative;
  z-index: 1;
}

.offers-bar__pill-arrow {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  opacity: 0.8;
}

/* Móvil: enlaces rápidos en grilla con texto completo */
@media (max-width: 767.98px) {
  .offers-bar {
    padding: 0.55rem 0 0.25rem;
  }

  .offers-bar__track {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    overflow: visible !important;
    overflow-x: visible !important;
    padding: 0.1rem 0 0.35rem;
  }

  .offers-bar__pill {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
    border-radius: 0.75rem;
    gap: 0.45rem;
    white-space: normal !important;
    line-height: 1.25;
    justify-content: flex-start;
    align-items: center;
    overflow: visible !important;
    flex: none;
  }

  .offers-bar__pill-emoji {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.85rem;
  }

  .offers-bar__pill-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal !important;
    overflow: visible;
    word-break: break-word;
  }

  .offers-bar__pill-arrow {
    display: none !important;
  }
}

.coupon-count {
  font-size: 0.875rem;
  color: var(--zinc-500);
  font-weight: 600;
}

.coupon-count strong {
  color: var(--brand-red);
}

/* Coupon cards (estilo ticket) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cc {
  background: #fff;
  border: 1.5px dashed #c8c8c8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.2s ease;
  animation: fadeInUp 0.5s ease both;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "amount expire"
    "badges badges"
    "min min"
    "code code"
    "actions actions";
  gap: 0.45rem 0.4rem;
  padding: 0.7rem 0.7rem 0.55rem;
  align-items: start;
}

.cc:hover {
  box-shadow: none;
  transform: none;
  border-color: #bdbdbd;
}

.cc__header {
  grid-area: badges;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.45rem 0 0;
  position: relative;
  min-height: 0;
  border-top: 1.5px dotted #d4d4d4;
}

.cc__logo-area {
  display: none;
}

.cc__header-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-start;
  z-index: 2;
}

.cc__store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  background: #f3f4f6;
  color: #374151;
  border: 0;
}

.cc__store-badge--nuevo {
  background: linear-gradient(135deg, #34d399, #059669);
  color: #fff;
}

.cc__store-badge--super {
  background: #ffe14a;
  color: #111;
}

.cc__store-badge--super i {
  font-size: 0.85em;
  line-height: 1;
}

.cc__store-badge--exclusivo {
  background: #FF7A5C;
  color: #fff;
}

.cc__store-badge--bank {
  background: #1d4ed8;
  color: #fff;
}

.cc__body {
  grid-area: amount;
  padding: 0;
  text-align: left;
  min-width: 0;
  overflow: hidden;
}

.cc__title-large {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.6vw, 1.85rem);
  font-weight: 800;
  color: #111;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  overflow: hidden;
}

.cc__store-icon {
  width: 1.15em;
  height: 1.15em;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.cc__title-sub {
  display: none;
}

.cc__countdown {
  grid-area: expire;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.15rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #111;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: max-content;
}

.cc__countdown::before {
  content: "EXPIRA EN";
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

.cc__countdown i {
  color: #111;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.cc__countdown-time {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .cc {
    gap: 0.4rem 0.28rem;
  }

  .cc__title-large {
    font-size: clamp(0.92rem, 4.2vw, 1.2rem);
    white-space: nowrap;
    gap: 0.22rem;
  }

  .cc__title-large.is-long {
    font-size: clamp(0.78rem, 3.6vw, 1.05rem);
  }

  .cc__title-large.is-tiny {
    font-size: clamp(0.7rem, 3.2vw, 0.92rem);
  }

  .cc__title-large.is-long .cc__store-icon,
  .cc__title-large.is-tiny .cc__store-icon {
    width: 0.95em;
    height: 0.95em;
  }

  .cc__countdown {
    font-size: 0.68rem;
  }

  .cc__countdown::before {
    font-size: 0.5rem;
    letter-spacing: 0.04em;
  }

  .cc__countdown i {
    font-size: 0.68rem;
  }
}

.cc__info-row {
  grid-area: min;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.48rem 0.6rem;
  border: 0;
  margin: 0;
  background: #fff3b0;
  border-radius: 10px;
}

.cc__info-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
}

.cc__info-item:not(:first-of-type),
.cc__info-divider,
.cc__info-icon {
  display: none;
}

.cc__info-text {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.2rem;
  text-align: left;
}

.cc__info-label,
.cc__info-value {
  font-size: 0.72rem;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

.cc__code-section {
  grid-area: code;
  padding: 0;
  margin: 0;
}

.cc__code-inner {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.cc__code-label,
.cc__code {
  display: none;
}

.cc__code-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.cc__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.62rem 0.55rem;
  background: #FF7A5C;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.72rem;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s, transform 0.15s;
  white-space: nowrap;
}

.cc__cta-btn:hover {
  background: #e55a3c;
  transform: none;
  box-shadow: none;
  filter: none;
  color: #fff;
}

.cc__cta-btn:active {
  transform: scale(0.98);
}

.cc__cta-btn.is-disabled,
.cc__cta-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.cc__cta-btn.is-copied {
  background: #15803d;
  color: #fff;
}

.cc__cta-btn.is-copied:hover {
  background: #166534;
  color: #fff;
}

.cc__used-hint {
  margin-bottom: 0.4rem;
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #86efac;
  text-align: center;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.48rem 0.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.redeem-modal {
  z-index: 240;
}

.redeem-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22.5rem;
  background: #1e3a5f;
  color: #fff;
  border-radius: 1.35rem;
  padding: 1.65rem 1.35rem 1.35rem;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.4);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s;
  text-align: center;
}

.modal.modal--open .redeem-modal__dialog {
  transform: translateY(0) scale(1);
}

.redeem-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgb(255 255 255 / 0.12);
  border-radius: 9999px;
  cursor: pointer;
  color: #fff;
}

.redeem-modal__close:hover {
  background: rgb(255 255 255 / 0.22);
}

.redeem-modal__code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.35rem 0 0.85rem;
}

.redeem-modal__check {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9999px;
  background: #22c55e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.redeem-modal__code {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffcc00;
  line-height: 1;
}

.redeem-modal__hint {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

.redeem-modal__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.7rem 3.2rem 0.7rem 1rem;
  background: #ffcc00;
  color: #111;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  position: relative;
}

.redeem-modal__cta:hover {
  background: #ffc107;
  color: #111;
}

.redeem-modal__cta.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.redeem-modal__cta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.redeem-modal__timer {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9999px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cc__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.15rem;
  color: #c4c4c4;
}

.cc__icon-btn {
  border: 0;
  background: transparent;
  color: #d1d5db;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1;
}

.cc__icon-btn:hover,
.cc__icon-btn.is-on {
  color: #FF7A5C;
}

.cc__actions-spacer {
  flex: 1;
}

.cc__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #9ca3af;
}

.cc__stat i {
  font-size: 0.72rem;
}

.cc__stat--copies {
  color: #6b7280;
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(92vw, 24rem);
  pointer-events: none;
}

.toast {
  background: linear-gradient(135deg, #1a1a1a, #3a0508);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.3);
  border: 1px solid rgb(255 122 92 / 0.35);
  text-align: center;
  animation: fadeUp 0.25s ease;
}

.toast--success {
  background: linear-gradient(135deg, #14532d, #166534);
  border-color: rgb(34 197 94 / 0.4);
}

/* Links / redes (Linktree) */
.links-app {
  background: #0a0a0a;
}

.links-page {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 4rem);
  padding: 2.25rem 0 3rem;
  color: #fff;
}

@media (min-width: 640px) {
  .links-page {
    min-height: calc(100vh - 5rem);
    padding: 3rem 0 3.5rem;
  }
}

.links-page__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(255, 122, 92, 1) 35%, rgba(255, 122, 92, 1) 69%, rgba(3, 0, 0, 1) 100%);
}

.links-page__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgb(0 0 0 / 0.15), rgb(0 0 0 / 0.45) 70%),
    url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.55;
}

.links-page__inner {
  position: relative;
  z-index: 1;
  max-width: 28rem;
}

.links-profile {
  text-align: center;
  margin-bottom: 1.35rem;
}

.links-profile__avatar {
  width: 6.25rem;
  height: 6.25rem;
  margin: 0 auto 0.9rem;
  border-radius: 9999px;
  padding: 4px;
  background: linear-gradient(135deg, #ffd54a, #FF7A5C);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.28);
}

.links-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
  border: 3px solid #111;
}

.links-profile h1 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}

.links-profile h1 span {
  color: #ffcc00;
}

.links-profile p {
  margin: 0 auto 0.9rem;
  max-width: 22rem;
  color: rgb(255 255 255 / 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

.links-profile__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.links-profile__pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: 9999px;
  background: rgb(0 0 0 / 0.32);
  border: 1px solid rgb(255 213 74 / 0.28);
  color: #ffd54a;
  font-size: 0.75rem;
  font-weight: 700;
}

.links-shortcuts {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.links-shortcut {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  background: var(--link-color, #64748b);
  box-shadow: 0 8px 18px rgb(0 0 0 / 0.22);
  transition: transform 0.18s ease;
}

.links-shortcut:hover {
  transform: translateY(-3px) scale(1.06);
}

.links-shortcut--wa { background: #25d366; }
.links-shortcut--tg { background: #2aabee; }
.links-shortcut--fb { background: #1877f2; }
.links-shortcut--tt { background: #111; }
.links-shortcut--ig { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }

.links-featured {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #ffd54a, #ffcc00);
  color: #111;
  box-shadow: 0 12px 24px rgb(255 213 74 / 0.28);
  transition: transform 0.18s ease;
}

.links-featured:hover {
  transform: translateY(-3px);
}

.links-featured__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #ffd54a;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.links-featured__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.links-featured__text strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.links-featured__text small {
  font-size: 0.78rem;
  opacity: 0.75;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.links-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.16);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 10px 22px rgb(0 0 0 / 0.16);
  transition: transform 0.18s ease, background 0.18s ease;
}

.links-card:hover {
  transform: translateY(-3px);
  background: rgb(255 255 255 / 0.2);
}

.links-card__icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
  background: var(--link-color, #64748b);
}

.links-card--wa .links-card__icon { background: #25d366; }
.links-card--tg .links-card__icon { background: #2aabee; }
.links-card--fb .links-card__icon { background: #1877f2; }
.links-card--group .links-card__icon { background: #0866ff; }
.links-card--tt .links-card__icon { background: #111; }
.links-card--ig .links-card__icon { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }

.links-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  flex: 1;
}

.links-card__body strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.links-card__body small {
  font-size: 0.78rem;
  color: rgb(255 255 255 / 0.78);
}

.links-card > .fa-chevron-right {
  color: rgb(255 255 255 / 0.55);
  font-size: 0.8rem;
}

.links-card--soon {
  opacity: 0.78;
  cursor: default;
  pointer-events: none;
}

.links-card__soon {
  flex-shrink: 0;
  padding: 0.22rem 0.55rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.16);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.links-copy {
  margin-top: 1.15rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgb(255 255 255 / 0.7);
}

html.theme-dark .links-card,
html[data-theme="dark"] .links-card {
  background: rgb(18 18 18 / 0.72) !important;
  border-color: rgb(255 255 255 / 0.12) !important;
}

/* Listas de ofertas */
.lists-page {
  padding: 1.75rem 0 3.5rem;
  background: var(--bg-page);
  min-height: 60vh;
}

.lists-page__intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.lists-page__intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.lists-page__intro p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.lists-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .lists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .lists-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.list-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.07);
  display: flex;
  flex-direction: column;
}

.list-card__media {
  position: relative;
  height: 9.5rem;
  background-color: #FF7A5C;
  background-size: cover;
  background-position: center;
}

.list-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.45));
}

.list-card__icon {
  position: absolute;
  z-index: 1;
  left: 0.9rem;
  bottom: 0.9rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: #fff;
  color: #FF7A5C;
  font-size: 1.05rem;
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.18);
}

.list-card__body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.list-card__body h2 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
}

.list-card__body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  flex: 1;
}

.list-card__btn {
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 9999px;
  background: #FF7A5C;
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
}

.list-card__btn:hover {
  background: #e55a3c;
}

/* Novedades */
.news-page {
  padding: 1.75rem 0 3.5rem;
  background: var(--bg-page);
  min-height: 60vh;
}

.news-feed {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

.news-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.07);
}

.news-card--featured {
  background: linear-gradient(180deg, #fff7f4 0%, #ffffff 55%);
  border: 1px solid rgb(255 122 92 / 0.28);
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.news-card__meta time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.news-card__tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: var(--slate-100);
  color: var(--slate-600);
}

.news-card__tag--cupones {
  background: #fff3e8;
  color: #c2410c;
}

.news-card__tag--sitio {
  background: #fff1ed;
  color: #FF7A5C;
}

.news-card__tag--comunidad {
  background: #ecfdf3;
  color: #15803d;
}

.news-card__tag--ofertas {
  background: #fef9c3;
  color: #a16207;
}

.news-card h2 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.news-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.news-card__btn {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 9999px;
  background: #FF7A5C;
  color: #fff;
  font-weight: 800;
  font-size: 0.86rem;
}

.news-card__btn:hover {
  background: #e55a3c;
}

.news-card__btn--ghost {
  background: transparent;
  color: #FF7A5C;
  padding-left: 0;
  padding-right: 0;
}

.news-card__btn--ghost:hover {
  background: transparent;
  color: #e55a3c;
}

.site-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  background: #18181b;
  color: #fff;
  padding: 0.75rem 1.05rem;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.2s ease;
}

.site-toast.is-on {
  opacity: 1;
  transform: none;
}



