/*
Theme Name:   GeneratePress Chollo Consola
Description:  Child theme de GeneratePress para Chollo Consola — comparador de chollos en consolas portátiles
Author:       Chollo Consola
Template:     generatepress
Version:      3.3.0
Text Domain:  cholloconsolas-child
*/

/* ================================================================
   ÍNDICE
   1.  Variables & Reset
   2.  Base & GP Overrides
   3.  Navegación
   4.  Hero
   5.  Buscador & Filtros (archive)
   6.  Cards Grid
   7.  Ofertas del día (archive sidebar)
   8.  Sidebar & Widgets
   9.  Ficha Individual (Single)
   10. Specs & Compatibilidad
   11. Historial / Gráfica
   12. Vendedores Alternativos
   13. Formularios
   14. Footer & Skip link
   15. Skeleton Loading
   16. Navegación inferior móvil
   17. Buscador predictivo
   18. Toggle moneda USD/EUR
   19. Catálogo (page-catalogo)
   20. Slider de precio
   21. Comparativa (page-comparativa)
   22. Ofertas (page-ofertas)
   23. Cupones
   24. Alertas Telegram
   25. Utilidades globales
   26. Responsive — Tablet  (max 960px)
   27. Responsive — Móvil   (max 767px)
   28. Responsive — Pequeño (max 600px)
   29. Responsive — Mínimo  (max 400px)
   30. prefers-reduced-motion
================================================================ */


/* ================================================================
   CRÍTICO — background hardcodeado para evitar FOUC en móvil
================================================================ */
html { background-color: #111111 !important; overflow-x: hidden !important; }
html, body {
  background-color: #111111 !important;
  color: #c4c4c4 !important;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  overscroll-behavior-x: none;
}


/* ================================================================
   1. VARIABLES & RESET
================================================================ */
:root {
  --bg:         #111111;
  --bg2:        #1a1a1a;
  --bg3:        #222222;
  --border:     #2e2e2e;
  --border2:    #3a3a3a;
  --red:        #ff3b2f;
  --red-dim:    #2a0a08;
  --blue:       #229ed9;
  --blue-dim:   #0f2432;
  --green:      #4ade80;
  --green-dim:  #102318;
  --white:      #ffffff;
  --gray-hi:    #ececec;
  --gray-mid:   #d8d8d8; /* era #cacaca — ratio 5.6:1 sobre #111 (WCAG AA) */
  --gray-lo:    #bbbbbb; /* era #aaaaaa — ratio 4.8:1 sobre #111 (WCAG AA) */
  --focus:      #ff3b2f;
  --accent:     #ff3b2f;
  --pixel:      'Press Start 2P', monospace;
  --orb:        'Orbitron', sans-serif;
  /* Use system font stack for native app feel and faster paint */
  --body:       system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --text-xs:    14px;
  --text-sm:    15px;
  --text-base:  14px; /* minimum base for legibility on mobile */
  --rt-radius-xl: 24px;
  --rt-radius-lg: 20px;
  --rt-radius-md: 16px;
  --rt-radius-sm: 12px;
  --rt-inner-max: 1400px;
  --rt-inner-pad: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

:focus-visible { outline: 2px solid var(--red) !important; outline-offset: 3px !important; }
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible,
textarea:focus-visible { outline: 2px solid var(--focus) !important; outline-offset: 3px !important; }
.rt-search-input:focus-visible,
.rt-search-input:focus { outline: none !important; border: none !important; box-shadow: none !important; }

img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }

.rt-text-white { color: var(--white); }
.rt-text-red { color: var(--red); }
.rt-text-blue { color: var(--blue); }
.rt-text-green { color: var(--green); }

@keyframes rt-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rt-soft-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,47,0); }
  50% { box-shadow: 0 0 0 6px rgba(255,59,47,0.05); }
}
@keyframes rt-card-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}



/* ================================================================
   2. BASE & GP OVERRIDES
================================================================ */
body {
  background: var(--bg) !important;
  color: var(--gray-mid) !important;
  font-family: var(--body) !important;
  font-size: var(--text-base) !important;
  line-height: 1.75 !important;
  max-width: 100% !important;
  overflow-x: clip !important;
  overscroll-behavior-x: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  transition: opacity .12s ease, transform .12s ease;
}

/* GP: ocultar header nativo, el nuestro es .rt-nav */
.site-header .site-branding,
.site-header .main-navigation,
.main-navigation,
.site-header .widget-area,
.site-header .inside-header > * { display: none !important; }
.site-header,
.site-header .header-inner,
.site-header .inside-header { min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: none !important; box-shadow: none !important; background: transparent !important; }

/* GP: neutralizar contenedores de contenido en todas las páginas del tema */
.rt-archive-page .site-main,  .rt-archive-page .content-area,  .rt-archive-page #primary,
.rt-archive-page #content,    .rt-archive-page .site-content,   .rt-archive-page .inside-article,
.rt-archive-page article,     .rt-archive-page .entry-content,  .rt-archive-page .inside-page-header,
.rt-single-page  .site-main,  .rt-single-page  .content-area,  .rt-single-page  #primary,
.rt-single-page  #content,    .rt-single-page  .site-content,   .rt-single-page  .inside-article,
.rt-single-page  article,     .rt-single-page  .entry-content,  .rt-single-page  .inside-page-header,
body.page        .site-main,  body.page        .content-area,  body.page        #primary,
body.page        #content,    body.page        .site-content,   body.page        .inside-article,
body.page        article,     body.page        .entry-content,  body.page        .inside-page-header {
  width: 100% !important; max-width: 100% !important;
  float: none !important; padding: 0 !important; margin: 0 !important;
  box-sizing: border-box !important;
  background: var(--bg) !important;
  color: var(--gray-mid) !important;
  font-family: var(--body) !important;
}
.rt-archive-page .grid-container, .rt-archive-page .inside-header, .rt-archive-page .inside-article,
.rt-single-page  .grid-container, .rt-single-page  .inside-header, .rt-single-page  .inside-article,
body.page        .grid-container, body.page        .inside-header, body.page        .inside-article {
  max-width: 100% !important; padding: 0 !important;
}
.rt-archive-page .sidebar, .rt-archive-page .widget-area, .rt-archive-page .site-sidebar,
.rt-single-page  .sidebar, .rt-single-page  .widget-area, .rt-single-page  .site-sidebar,
body.page        .sidebar, body.page        .widget-area, body.page        .site-sidebar { display: none !important; }

.site,
.site-content,
.content-area,
.site-grid-container,
.hfeed,
#page,
#content,
.inside-article { max-width: 100% !important; overflow-x: hidden !important; box-sizing: border-box !important; }

/* Neutralizar separate-containers de GP en páginas del tema */
.rt-catalogo-page .grid-container,
.rt-ofertas-page .grid-container,
.rt-comp-page .grid-container,
.rt-archive-page .grid-container,
.rt-single-page .grid-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.rt-catalogo-page .site-content,
.rt-ofertas-page .site-content,
.rt-comp-page .site-content,
.rt-archive-page .site-content,
.rt-single-page .site-content {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* separate-containers añade margin-top al content — eliminar */
body.separate-containers .rt-catalogo-page,
body.separate-containers .rt-ofertas-page,
body.separate-containers .rt-comp-page,
body.separate-containers .rt-archive-page,
body.separate-containers .rt-single-page {
  margin-top: 0 !important;
}
body.separate-containers .rt-comp-page .content-area,
body.separate-containers .rt-catalogo-page .content-area,
body.separate-containers .rt-ofertas-page .content-area,
body.separate-containers .rt-archive-page .content-area,
body.separate-containers .rt-single-page .content-area {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body::before { display: none; }

/* Transición suave entre páginas */
body.rt-page-enter { opacity: 0.98; transform: translateY(6px); pointer-events: none; }
body.rt-page-ready { opacity: 1; transform: none; }
body.rt-page-leave { opacity: 0.94; transform: translateY(6px); pointer-events: none; }
/* Keep bottom nav visible and stable during the page-leave transition */
body.rt-page-leave .rt-bottom-nav { opacity: 1 !important; transform: none !important; pointer-events: none !important; }

/* pressed visual while navigation pending */
.rt-bottom-nav.rt-nav-pressed { transform: translateY(0) scale(0.998); box-shadow: 0 8px 22px rgba(0,0,0,.32); }
.rt-bottom-nav.rt-nav-pressed .rt-bottom-nav-link--ofertas { color: var(--red) !important; }

/* Wrappers de página — bloque base común */
.rt-page-header        { width: 100%; }
.rt-page-header-inner  { width: 100%; }
.rt-archive-page,
.rt-catalogo-page,
.rt-comp-page,
.rt-ofertas-page,
.rt-single-page { width: 100%; overflow-x: hidden; }



/* ================================================================
   3. NAVEGACIÓN
================================================================ */
.rt-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg); border-bottom: 1px solid var(--border2);
  height: 56px; width: 100%; box-sizing: border-box;
  box-shadow: 0 1px 0 rgba(255,255,255,0.02);
}
.rt-nav-inner {
  max-width: var(--rt-inner-max); margin: 0 auto;
  padding: 0 var(--rt-inner-pad); box-sizing: border-box;
  height: 56px; display: flex; align-items: center; width: 100%;
}
.rt-logo {
  font-family: var(--pixel); font-size: 14px; color: var(--white);
  letter-spacing: 1px; flex-shrink: 0; display: flex; align-items: center;
  gap: 7px; white-space: nowrap; text-decoration: none;
}
.rt-logo em { color: var(--red); font-style: normal; }
.rt-site-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; object-fit: contain; }
.rt-hero-icon { width: 36px; height: 36px; margin-right: 2px; }

.rt-nav-links {
  display: flex; position: absolute; left: 50%; transform: translateX(-50%); height: 56px;
}
.rt-nav-links a {
  font-family: var(--body); font-size: var(--text-xs); font-weight: 600;
  color: var(--gray-hi); height: 56px; padding: 0 18px;
  display: flex; align-items: center; letter-spacing: 0.5px;
  text-transform: uppercase; border-right: 1px solid var(--border);
  transition: color .15s, background .15s; min-height: 44px; white-space: nowrap;
}
.rt-nav-links a:first-child { border-left: 1px solid var(--border); }
.rt-nav-links a:hover { color: var(--white); background: var(--bg2); opacity: 1; }
.rt-nav-links a.active { color: var(--white); border-bottom: 3px solid var(--red); }
.rt-nav-search {
  font-family: var(--body); font-size: var(--text-xs); font-weight: 600;
  color: var(--gray-hi); height: 56px; padding: 0 16px;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.5px; text-transform: uppercase;
  border-right: 1px solid var(--border);
  background: none; border-top: none; border-left: none; border-bottom: none;
  cursor: pointer; transition: color .15s, background .15s; min-height: 44px;
  white-space: nowrap;
}
.rt-nav-search:hover { color: var(--white); background: var(--bg2); opacity: 1; }
.rt-nav-search:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rt-nav-search__icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.rt-nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.rt-btn-nav {
  font-family: var(--body); font-size: var(--text-xs); font-weight: 700;
  background: var(--red); color: var(--white); border: none;
  padding: 9px 16px; cursor: pointer; text-transform: uppercase;
  letter-spacing: .04em; min-height: 44px; white-space: nowrap; transition: background .15s;
}
.rt-btn-nav:hover { background: #e02d22; }
.rt-btn-nav--telegram { background: #229ED9; text-decoration: none; display: inline-flex; align-items: center; }
.rt-btn-nav--telegram:hover { background: #1a8bbf; }

.rt-nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

.rt-mobile-menu {
  display: none; position: fixed; top: 56px; left: 0; right: 0;
  background: var(--bg2); border-bottom: 1px solid var(--border2);
  z-index: 999; flex-direction: column;
  max-width: var(--rt-inner-max); margin: 0 auto;
  padding: 0 32px; box-sizing: border-box;
}
.admin-bar .rt-mobile-menu { top: calc(56px + 32px); }
.rt-mobile-menu.open { display: flex; }
.rt-mobile-menu a {
  font-family: var(--body); font-size: var(--text-sm); font-weight: 600;
  color: var(--gray-mid); padding: 18px 0; border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}
.rt-mobile-menu a:hover,
.rt-mobile-menu a.active { color: var(--white); background: var(--bg3); opacity: 1; }
.rt-mobile-menu .rt-nav-search {
  width: 100%;
  justify-content: flex-start;
  color: var(--gray-mid);
  padding: 18px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  height: auto;
  min-height: 0;
  text-transform: uppercase;
}
.rt-mobile-menu .rt-nav-search:hover { color: var(--white); background: var(--bg3); }
.rt-mobile-menu-currency {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.rt-mobile-currency-label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-lo);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .rt-nav {
    position: fixed;
    top: 0;
  }
  .admin-bar .rt-nav { top: 32px; }
  .rt-hero-brand-mobile-only,
  .rt-hero-mobile-copy,
  .rt-hero-title-mobile-only {
    display: none !important;
  }
  .rt-hero-desktop-copy {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .rt-hero.rt-hero--desktop-copy {
    min-height: 210px;
  }
  .rt-hero-inner {
    padding-top: 18px;
  }
  .rt-hero-desktop-copy {
    margin-top: 6px;
  }
}

@media (min-width: 768px) {
  .rt-page-header {
    padding-top: 0;
    box-sizing: border-box;
  }
  .rt-page-header:has(.rt-hero--constrained) {
    padding-top: 56px;
    padding-bottom: 0;
  }
  .admin-bar .rt-page-header {
    padding-top: 0;
  }
  .admin-bar .rt-page-header:has(.rt-hero--constrained) {
    padding-top: 72px;
  }
  .rt-archive-inner,
  .rt-catalogo-inner,
  .rt-comp-inner,
  .rt-of-inner,
  .rt-single-inner {
    padding-top: 56px;
  }
  .admin-bar .rt-archive-inner,
  .admin-bar .rt-catalogo-inner,
  .admin-bar .rt-comp-inner,
  .admin-bar .rt-of-inner,
  .admin-bar .rt-single-inner {
    padding-top: 88px;
  }
}

.rt-breadcrumb {
  font-family: var(--pixel);
  font-size: 13px;
  color: var(--gray-mid);
  letter-spacing: 1px;
  margin: 6px 0 26px;
  padding: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.4;
}
.rt-breadcrumb a { color: var(--gray-mid); }
.rt-breadcrumb a:hover { color: var(--red); opacity: 1; }
.rt-breadcrumb .sep { color: var(--border2); font-size: 11px; opacity: 0.85; }
.rt-breadcrumb .current { color: var(--white); }

/* Skip link */
.rt-skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 9999;
  background: var(--red); color: var(--white); padding: 10px 20px;
  border-radius: 0 0 8px 8px; font-family: var(--body); font-size: 14px;
  font-weight: 700; text-decoration: none; transition: top .15s;
}
.rt-skip-link:focus { top: 0; outline: none; }



/* ================================================================
   4. HERO
================================================================ */
.rt-hero,
.rt-inicio-hero,
.rt-single-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top left, rgba(255,59,47,.08), transparent 42%),
    radial-gradient(ellipse at bottom right, rgba(34,158,217,.05), transparent 45%),
    var(--bg2);
  border-radius: var(--rt-radius-xl);
  box-shadow: 0 16px 40px rgba(0,0,0,.20);
}
.rt-inicio-hero,
.rt-single-hero,
.rt-hero--constrained {
  border: 1px solid rgba(255,255,255,.08);
}
.rt-hero {
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rt-hero.rt-hero--desktop-copy {
  min-height: 190px;
}
.rt-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 0.25;
}
.rt-archive-page .rt-hero-grid,
.rt-catalogo-page .rt-hero-grid,
.rt-ofertas-page .rt-hero-grid,
.rt-comp-page .rt-hero-grid { display: none; }
.rt-hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 40% 0%, rgba(255,59,47,0.08) 0%, transparent 60%); }
.rt-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--rt-inner-max);
  margin: 0 auto;
  padding: clamp(16px, 2vw, 26px) var(--rt-inner-pad) clamp(6px, 0.8vw, 10px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rt-hero-mobile-stage { display: none; }
.rt-hero-mobile-brandrow { display: none; }
.rt-hero-mobile-stage-image {
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.18));
}
.rt-hero-mobile-title {
  font-size: clamp(22px, 5.6vw, 28px) !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  letter-spacing: 0.4px;
  display: block !important;
  text-align: left;
}
.rt-hero-mobile-title .rt-text-white,
.rt-hero-mobile-title .rt-text-red {
  display: inline;
}
.rt-hero-mobile-synopsis {
  margin: 0;
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--gray-hi);
  text-align: center;
}
.rt-hero-mobile-copy { display: flex; flex-direction: column; gap: 0; }
.rt-hero-brandline {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--orb);
  font-size: clamp(18px, 2.8vw, 30px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
  white-space: nowrap;
  margin: 0 auto 8px;
  text-align: center;
  line-height: 1.1;
}
.rt-hero-brandline em { color: var(--red); font-style: normal; }
.rt-hero-tag { font-family: var(--pixel); font-size: 13px; color: var(--red); letter-spacing: 3px; margin-bottom: 10px; display: block; }
.rt-hero-desktop-copy {
  display: none;
  max-width: 720px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  text-align: left;
}
.rt-hero-desktop-tag {
  display: inline-flex;
  font-family: var(--pixel);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.rt-hero-desktop-title {
  font-family: var(--orb) !important;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.08;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}
.rt-hero-title-core {
  font-family: var(--orb) !important;
  font-weight: 900 !important;
  letter-spacing: 0.2px;
  color: var(--white);
}
.rt-hero-title-core .rt-text-white { color: var(--white); }
.rt-hero-title-core .rt-text-red { color: var(--red); }
.rt-hero-desktop-title .rt-text-white { color: var(--white); }
.rt-hero-desktop-title .rt-text-red { color: var(--red); }
.rt-hero-desktop-desc {
  margin: 0;
  font-family: var(--body);
  color: var(--gray-hi);
  font-size: 15px;
  line-height: 1.65;
  max-width: 62ch;
}
.rt-hero h1 { font-family: var(--orb) !important; font-size: clamp(22px, 3.2vw, 38px) !important; font-weight: 900 !important; color: var(--white) !important; line-height: 1.12 !important; margin-bottom: 12px; letter-spacing: 1px; }
.rt-hero h1 span { color: var(--red); display: block; font-size: 0.78em; margin-top: 5px; line-height: 1.2; }
.rt-hero-brand-mobile-only { display: inline-flex; }
.rt-hero-sub { font-size: var(--text-base); color: var(--gray-hi); max-width: 640px; margin-bottom: 18px; line-height: 1.7; font-weight: 400; padding-top: 2px; }
.rt-hero-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.rt-hero-currency { display: none; margin-top: 10px; width: 100%; justify-content: space-between; align-items: center; gap: 8px; }
.rt-hero-tg-btn {
    display: none;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-family: var(--body);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
    min-height: 44px;
    transition: background .15s, border-color .15s;
    letter-spacing: 0.2px;
}
.rt-hero-tg-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22); color: var(--white); opacity: 1; }
.rt-pill { font-family: var(--body); font-size: 14px; font-weight: 600; padding: 6px 14px; letter-spacing: 0.5px; border: 1px solid var(--border2); color: var(--gray-hi); text-transform: uppercase; border-radius: 20px; }
.rt-pill.active { border-color: var(--red); color: var(--red); background: var(--red-dim); }

/* Cupones hero */
.rt-cupones-hero { margin-top: 14px; }
.rt-cupones-hero .rt-cupon-desc { display: none; }
.rt-hero .rt-cupon-slim {
  background: linear-gradient(180deg, rgba(255,59,47,0.18), rgba(255,59,47,0.05));
  border-color: rgba(255,59,47,0.45);
}

/* ── Hero recortado — igual que inicio (max-width + border-radius) ── */
/* padding-top lo gestiona el critical-shared.css según breakpoint y admin-bar */
.rt-page-header:has(.rt-hero--constrained) {
  padding-left: var(--rt-inner-pad);
  padding-right: var(--rt-inner-pad);
  padding-bottom: 0;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .rt-page-header:has(.rt-hero--constrained) {
    padding-left: 8px;
    padding-right: 8px;
  }
}
.rt-hero--constrained {
  max-width: var(--rt-inner-max);
  margin: 0 auto;
  border-radius: var(--rt-radius-xl);
}

/* ── Hero split: copy izquierda | aside derecha en desktop ── */
.rt-hero-copy { display: flex; flex-direction: column; gap: 8px; }
.rt-hero-copy-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.rt-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(92px, 15vw, 172px);
  flex-shrink: 0;
}
.rt-hero-image {
  width: 100%;
  height: auto;
  max-height: clamp(92px, 15vw, 172px);
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.22));
}
.rt-hero-image--catalogo,
.rt-hero-image--comparativa,
.rt-hero-image--ofertas {
  object-position: center center;
}
/* Imagen más grande en desktop para catálogo y comparativa */
.rt-catalogo-page .rt-hero--with-visual .rt-hero-visual,
.rt-comp-page .rt-hero--with-visual .rt-hero-visual {
  width: clamp(140px, 18vw, 220px);
}
.rt-catalogo-page .rt-hero--with-visual .rt-hero-copy,
.rt-comp-page .rt-hero--with-visual .rt-hero-copy {
  grid-template-columns: clamp(140px, 18vw, 220px) minmax(0, 1fr);
}
.rt-catalogo-page .rt-hero-image,
.rt-comp-page .rt-hero-image {
  max-height: clamp(140px, 18vw, 220px);
}
/* Desktop: imagen izquierda + texto derecha en grid */
.rt-hero--with-visual .rt-hero-copy {
  display: grid;
  grid-template-columns: clamp(110px, 13vw, 160px) minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  align-items: center;
}
.rt-hero--with-visual .rt-hero-inner {
  padding-top: clamp(8px, 1vw, 14px);
  padding-bottom: clamp(6px, 0.8vw, 10px);
}
.rt-hero--with-visual.rt-hero--constrained .rt-hero-inner {
  padding-top: clamp(8px, 1vw, 14px);
  padding-bottom: clamp(6px, 0.8vw, 10px);
}
.rt-hero--with-visual .rt-hero-visual {
  width: clamp(110px, 13vw, 160px);
  align-self: center;
  justify-self: center;
  flex-shrink: 0;
}
.rt-hero--with-visual .rt-hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.rt-hero-aside { margin-top: 16px; }

@media (min-width: 768px) {
  .rt-hero--split .rt-hero-inner {
    flex-direction: row;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
  }
  .rt-hero--split .rt-hero-copy {
    flex: 1;
    min-width: 0;
  }
  .rt-hero--split .rt-hero-aside {
    flex: 0 0 auto;
    width: clamp(260px, 34%, 440px);
    margin-top: 0;
    align-self: center;
  }
  .rt-hero--split.rt-hero--constrained {
    min-height: 200px;
  }
  /* En split los cupones no necesitan margin-top extra */
  .rt-hero--split .rt-hero-aside .rt-cupones--grid {
    margin-top: 0;
  }
  .rt-hero--split .rt-hero-aside .rt-cupones-title {
    margin-top: 0;
    margin-bottom: 8px;
  }
  /* Quitar el gap entre el bloque de cupones y el borde superior del aside */
  .rt-hero--split .rt-hero-aside > .rt-cupones--grid:first-child {
    margin-top: 0;
    padding-top: 0;
  }
}



/* ================================================================
   6. CARDS GRID
================================================================ */
/* ================================================================
   GRID DE CONSOLAS — rediseño moderno v2
================================================================ */
.rt-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .rt-catalogo-page #rt-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
  }
}

/* ── Card base ── */
.rt-card {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,.07);
  padding: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  will-change: transform;
  transition: border-color .2s ease, transform .22s cubic-bezier(.34,1.56,.64,1),
              box-shadow .22s ease, opacity .2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.14), 0 1px 3px rgba(0,0,0,.1);
  /* Estado inicial para animación de entrada */
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

/* Línea superior sutil */
.rt-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  z-index: 2;
  pointer-events: none;
}

/* Visible tras Intersection Observer */
.rt-card.rt-card--visible {
  animation: rt-card-in .4s cubic-bezier(.34,1.56,.64,1) both;
  opacity: 1;
  transform: none;
}
.rt-card:hover {
  border-color: rgba(255,59,47,.55);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,59,47,.10), 0 4px 14px rgba(0,0,0,.22);
}
.rt-card:focus-within { border-color: var(--red); outline: none; }
.rt-card.featured { background: #1d1d1d; }
/* Oculto al filtrar: GPU-friendly — solo opacity + scale, sin max-height */
.rt-card.rt-hidden {
  opacity: 0 !important;
  transform: scale(0.94) !important;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}
.rt-card-badge,
.rt-card-badge.hot,
.rt-card-badge.top,
.rt-card-badge.new { display: none !important; }

.rt-card-screen {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg3);
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
/* Overlay sutil al hover */
.rt-card-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.22) 100%);
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
  z-index: 1;
}
.rt-card:hover .rt-card-screen::after { opacity: 1; }
a.rt-card-screen { cursor: pointer; }
a.rt-card-screen img { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
a.rt-card-screen:hover img { transform: scale(1.06); }
/* El emoji también rebota al hacer hover en la card */
.rt-card:hover .rt-card-screen { font-size: 42px; transition: font-size .28s cubic-bezier(.34,1.56,.64,1); }
/* Badge de porcentaje sobre la imagen */
.rt-mcard-pct { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 5px; line-height: 1.2; box-shadow: 0 2px 8px rgba(255,59,47,.4); font-variant-numeric: tabular-nums; pointer-events: none; }

.rt-card-screen img,
.rt-single-image img,
.rt-comp-thumb img,
.rt-of-min-thumb img,
.rt-of-item-img img,
.rt-cat-card-img img { filter: none !important; opacity: 1 !important; mix-blend-mode: normal !important; }

.rt-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 0; align-items: flex-start; text-align: left; }
.rt-card-body-inner { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 0; align-items: flex-start; text-align: left; }

/* Jerarquía: marca pequeña y discreta, nombre como protagonista */
.rt-card-brand { font-family: var(--body); font-size: 9px; font-weight: 800; color: var(--red); letter-spacing: 1.8px; text-transform: uppercase; display: block; margin-bottom: 3px; opacity: 0.85; }
.rt-card-name { font-family: var(--body); font-size: clamp(13px, 1.15vw, 15px); font-weight: 700; color: var(--white); margin: 0 0 10px; line-height: 1.35; text-align: left; width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -0.01em; }

/* Pills de specs — más compactas y consistentes */
.rt-card-specs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; justify-content: flex-start; align-content: flex-start; }
.rt-card-spec { font-family: var(--body); font-size: 10px; font-weight: 600; padding: 3px 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); color: var(--gray-mid); border-radius: 6px; line-height: 1.4; letter-spacing: 0.1px; }

/* Precio: zona inferior con separador */
.rt-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 0;
  margin-top: auto;
  padding: 10px 14px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.rt-card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.rt-card-price-original,
.rt-card-price-final {
  display: block;
  line-height: 1.1;
}
.rt-card-price-original {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-lo);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255,255,255,0.3);
}
.rt-card-price-final {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

/* Delta como pill compacta */
.rt-card-delta { font-family: var(--body); font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 6px; white-space: nowrap; flex-shrink: 0; letter-spacing: 0.1px; }
.rt-card-delta.dn { color: #4ade80; background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.18); animation: rt-delta-glow 2s ease-in-out infinite; }
.rt-card-delta.up { color: #ff6b6b; background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.18); }

.rt-card-cupon {
  margin: 0 12px 8px;
  font-size: 11px;
  color: var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.rt-card-cupon-old {
  color: var(--gray-lo);
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255,255,255,0.25);
}
.rt-card-cupon-ahorro { color: var(--green); font-size: 11px; font-weight: 600; }

.rt-card-actions { display: grid; grid-template-columns: 1fr 40px; gap: 6px; padding: 8px 10px 10px; margin-top: 0; border-top: none; }

/* Botones — base compartida */
.rt-btn-ver,
.rt-btn-comparar,
.rt-comp-btn-buy,
.rt-comp-btn,
.rt-btn-comprar,
.rt-btn-telegram-alerta,
.rt-btn-comparar-sidebar,
.rt-btn-ver-todas,
.rt-of-min-btn {
  position: relative; overflow: hidden; border-radius: 10px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  min-height: 44px;
}
.rt-currency-toggle { min-height: 44px; }

.rt-btn-ver { display: flex; align-items: center; justify-content: center; width: 100%; text-align: center; font-family: var(--body); font-size: 13px; font-weight: 700; padding: 11px 10px; border: none; color: var(--white); background: var(--red); cursor: pointer; letter-spacing: 0.3px; text-transform: uppercase; min-height: 44px; border-radius: 12px; }
.rt-btn-ver:hover { background: #e02d22; box-shadow: 0 8px 20px rgba(255,59,47,0.28); transform: translateY(-1px); }
.rt-btn-comparar { background: rgba(255,255,255,0.06); color: var(--gray-mid); border: none; font-size: 17px; width: 40px; min-width: 40px; min-height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: color .15s, background .15s, transform .1s; cursor: pointer; }
.rt-btn-comparar:hover { color: var(--white); background: rgba(255,255,255,.10); opacity: 1; transform: scale(1.03); }
.rt-comp-btn-buy, .rt-comp-btn, .rt-btn-comprar { background: linear-gradient(180deg, #ff4a40, #d7261b); color: var(--white); }
.rt-comp-btn-buy:hover, .rt-comp-btn:hover, .rt-btn-comprar:hover { box-shadow: 0 10px 22px rgba(255,59,47,0.28); transform: translateY(-1px); }
.rt-btn-telegram-alerta { background: linear-gradient(180deg, #2faef0, #1b8ec3); color: var(--white); }
.rt-btn-comparar-sidebar { background: var(--bg3); color: var(--white); border-color: var(--border2); }
.rt-btn-ver-todas { background: var(--bg3); color: var(--white); padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border2); }
.rt-btn-ver-todas:hover { opacity: 1; color: var(--white); border-color: rgba(255,59,47,.6); background: rgba(255,255,255,.03); }
.rt-of-min-btn { background: linear-gradient(180deg, #ff4a40, #d7261b); color: var(--white); }

/* Shimmer highlight on hover */
.rt-btn-ver::after, .rt-btn-comparar::after, .rt-comp-btn-buy::after,
.rt-comp-btn::after, .rt-btn-comprar::after, .rt-btn-telegram-alerta::after,
.rt-btn-comparar-sidebar::after, .rt-btn-ver-todas::after, .rt-of-min-btn::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,0.25), transparent 45%);
  opacity: 0; transition: opacity .2s ease;
}
.rt-btn-ver:hover::after, .rt-btn-comparar:hover::after, .rt-comp-btn-buy:hover::after,
.rt-comp-btn:hover::after, .rt-btn-comprar:hover::after, .rt-btn-telegram-alerta:hover::after,
.rt-btn-comparar-sidebar:hover::after, .rt-btn-ver-todas:hover::after, .rt-of-min-btn:hover::after { opacity: .35; }

.rt-btn-comparar-sidebar { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; font-family: var(--body); font-size: 14px; font-weight: 700; padding: 11px; border: 1px solid var(--border2); color: var(--gray-hi); background: var(--bg3); text-transform: uppercase; letter-spacing: 0.5px; border-radius: 8px; text-align: center; }
.rt-btn-comparar-sidebar:hover { border-color: rgba(255,59,47,.6); color: var(--white); background: var(--bg2); opacity: 1; }
.rt-btn-comparar-single { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box; background: transparent; color: var(--gray-mid); border: 1px solid var(--border2); font-family: var(--body); font-size: var(--text-sm); font-weight: 700; padding: 12px; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; transition: color .15s, border-color .15s, background .15s, transform .1s; min-height: 48px; margin-top: 8px; }
.rt-btn-comparar-single:hover { color: var(--white); border-color: rgba(255,59,47,.45); background: var(--bg3); opacity: 1; }

/* Cupones slim */
.rt-cupones-slim { margin-top: 14px; }
.rt-cupones-slim-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.rt-cupon-slim { display: inline-flex; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid var(--border2); color: var(--white); padding: 8px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; text-transform: uppercase; }
.rt-cupon-slim-desc { color: var(--red); font-weight: 800; }
.rt-cupon-slim-min { color: var(--green); font-weight: 600; font-size: 11px; }
.rt-cupon-slim-copy { color: var(--gray-lo); font-weight: 600; font-size: 11px; }



/* ================================================================
   14. FOOTER
================================================================ */
/* ================================================================
   CARDS MÍNIMO HISTÓRICO (compartido: ofertas + inicio)
================================================================ */
.rt-of-min-card {
    background: linear-gradient(180deg, rgba(255,255,255,.02), transparent), var(--bg2);
    border: 1px solid rgba(255,59,47,0.36);
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: clamp(96px, 24%, 128px) minmax(0, 1fr);
    align-items: stretch;
    transition: border-color .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.rt-of-min-card:hover { border-color: rgba(255,59,47,.75); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,59,47,.12); }

/* imagen cuadrada a la izquierda */
.rt-of-min-img {
    width: 100%;
    min-width: 0;
    height: 100%;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    overflow: hidden;
    flex-shrink: 0;
}
.rt-of-min-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* columna derecha */
.rt-of-min-body {
    flex: 1;
    padding: 11px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.rt-of-min-marca { font-family: var(--body); font-size: 10px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1.5px; }
.rt-of-min-nombre {
    font-family: var(--body);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* fila precio + descuento + antes */
.rt-of-min-meta { display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; margin: 0; }
.rt-of-min-precio { font-family: var(--body); font-size: clamp(16px, 2vw, 18px); font-weight: 800; color: var(--white); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.rt-of-min-ahorro { font-family: var(--body); font-size: 11px; font-weight: 700; color: #4ade80; }
.rt-of-min-max { font-family: var(--body); font-size: 11px; color: var(--gray-lo); }
.rt-of-min-max s { color: var(--gray-lo); }

/* botones */
.rt-of-min-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    align-items: stretch;
}
.rt-of-min-btn-ver {
    flex: 1;
    background: var(--red);
    color: var(--white);
    font-family: var(--body);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 6px;
    transition: opacity .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
}
.rt-of-min-btn-ver:hover { opacity: 1; color: var(--white); box-shadow: 0 8px 18px rgba(255,59,47,.18); }
.rt-of-min-btn-comp {
    background: var(--bg3);
    border: 1px solid var(--border2);
    padding: 7px 10px;
    border-radius: 6px;
    transition: border-color .15s, background .15s, transform .1s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    min-width: 36px;
    flex-shrink: 0;
}
.rt-of-min-btn-comp:hover {
    border-color: rgba(255,59,47,.5);
    background: rgba(255,59,47,.07);
    transform: scale(1.05);
    opacity: 1;
}
.rt-of-min-btn-comp svg { display: block; flex-shrink: 0; }


/* GP reset */
.site-footer { background: transparent !important; border-top: none !important; padding: 0 !important; }

/* Eliminar padding/margin que GP añade al site-main en todas las páginas */
.site-main,
#primary,
.content-area { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.grid-container.grid-parent { padding-bottom: 0 !important; }

/* ── Wrapper principal ── */
.cc-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  font-family: var(--body);
  font-size: 14px;
  color: var(--gray-lo);
  margin-top: 32px;
}

.cc-footer__inner {
  max-width: var(--rt-inner-max);
  margin: 0 auto;
  padding: 56px var(--rt-inner-pad) 40px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr;
  gap: 48px;
}

/* ── Columna marca ── */
.cc-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}
.cc-footer__logo-icon { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.cc-footer__logo-name {
  font-family: var(--orb);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-hi);
  text-transform: uppercase;
}
.cc-footer__logo-accent { color: var(--red); }

.cc-footer__tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-lo);
  margin: 0 0 18px;
  max-width: 280px;
}

.cc-footer__telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  color: var(--blue) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  width: fit-content;
}
.cc-footer__telegram:hover {
  background: var(--blue);
  color: var(--white) !important;
  opacity: 1;
}
.cc-footer__telegram svg { flex-shrink: 0; }

/* ── Columnas nav ── */
.cc-footer__nav-title {
  font-family: var(--orb);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin: 0 0 16px;
}

.cc-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-footer__nav-list a {
  color: var(--gray-lo);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.cc-footer__nav-list a:hover { color: var(--white); opacity: 1; }

/* ── Info / afiliado ── */
.cc-footer__affiliate {
  margin: 20px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: #777;
  max-width: 260px;
}

/* ── Barra inferior ── */
.cc-footer__bar {
  max-width: var(--rt-inner-max);
  margin: 0 auto;
  padding: 16px var(--rt-inner-pad);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cc-footer__copy {
  font-size: 12px;
  color: #666;
}
.cc-footer__update {
  font-size: 11px;
  color: #555;
  font-variant-numeric: tabular-nums;
}



/* ================================================================
   16. NAVEGACIÓN INFERIOR MÓVIL
================================================================ */
.rt-bottom-nav { display: none; }



/* ================================================================
   18. TOGGLE MONEDA USD/EUR
================================================================ */
.rt-currency-toggle {
  --rt-currency-toggle-width: 122px;
  --rt-currency-toggle-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--rt-currency-toggle-width);
  height: var(--rt-currency-toggle-height);
  min-height: var(--rt-currency-toggle-height);
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .15s ease, filter .2s ease;
}
.rt-currency-toggle:hover { transform: translateY(-1px); }
.rt-currency-toggle:active { transform: translateY(0); }
.rt-currency-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rt-currency-toggle__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.rt-currency-toggle__track {
  fill: #101010;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 1;
}
.rt-currency-toggle__zone {
  fill: rgba(255,255,255,0.02);
  opacity: 1;
}
.rt-currency-toggle__zone--usd { fill: rgba(255,255,255,0.03); }
.rt-currency-toggle__zone--eur { fill: rgba(255,255,255,0.03); }
.rt-currency-toggle__thumb {
  fill: var(--red);
  stroke: rgba(0,0,0,0.25);
  stroke-width: 1;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.40));
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .2s ease, filter .2s ease;
}
.rt-currency-toggle__label {
  fill: rgba(255,255,255,0.72);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: fill .2s ease, opacity .2s ease;
  pointer-events: none;
}
.rt-currency-toggle__label--usd { fill: var(--white); }
.rt-currency-toggle:hover .rt-currency-toggle__track {
  stroke: rgba(255,255,255,0.16);
}
.rt-currency-toggle:hover .rt-currency-toggle__thumb {
  filter: drop-shadow(0 0 10px rgba(255,59,47,0.26)) drop-shadow(0 6px 12px rgba(0,0,0,0.40));
}
.rt-currency-toggle.rt-currency--eur-active .rt-currency-toggle__thumb {
  transform: translateX(70px);
}
.rt-currency-toggle.rt-currency--eur-active .rt-currency-toggle__label--usd {
  fill: rgba(255,255,255,0.70);
  opacity: 0.88;
}
.rt-currency-toggle.rt-currency--eur-active .rt-currency-toggle__label--eur {
  fill: #000000;
}
.rt-currency-toggle:not(.rt-currency--eur-active) .rt-currency-toggle__label--usd {
  fill: #000000;
}
.rt-currency-toggle:not(.rt-currency--eur-active) .rt-currency-toggle__label--eur {
  fill: rgba(255,255,255,0.70);
}
.rt-currency-toggle--inline {
  --rt-currency-toggle-width: 114px;
  --rt-currency-toggle-height: 42px;
}
.rt-currency-toggle--hero {
  --rt-currency-toggle-width: 128px;
  --rt-currency-toggle-height: 46px;
}
.rt-currency-toggle--mobile {
  --rt-currency-toggle-width: 112px;
  --rt-currency-toggle-height: 42px;
}



/* ================================================================
   23. CUPONES
================================================================ */
/* ── Cupones — grid 2 columnas compacto ── */

.rt-cupon-block {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px; overflow: hidden;
  transition: border-color .15s;
}
.rt-cupon-block:hover { border-color: rgba(255,59,47,.45); }

/* Botón ocupa toda la tarjeta: info izquierda + icono copiar derecha */
.rt-cupon-code {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  cursor: pointer; text-align: left;
  background: none; border: none;
  transition: background .15s;
  min-height: 44px; /* Ensure tappable area */
  -webkit-tap-highlight-color: transparent;
}
.rt-cupon-code:hover { background: rgba(255,59,47,.06); }

/* Columna izquierda: código arriba, badges abajo */
.rt-cupon-info {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0; flex: 1;
}
.rt-cupon-codigo {
  font-family: monospace; font-size: 12px; font-weight: 800;
  letter-spacing: .13em; color: #fff; line-height: 1;
}
.rt-cupon-meta-row {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.rt-cupon-badge {
  font-family: var(--body); font-size: 10px; font-weight: 700;
  color: var(--gray-lo); white-space: nowrap;
}
.rt-cupon-badge--green { color: #4ade80; font-weight: 800; }

/* Símbolo de moneda junto al descuento del cupón */
.rt-cupon-badge-sym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1;
  letter-spacing: 0;
}
.rt-cupon-badge-sym.rt-price-usd { background: rgba(74,222,128,.12); color: #4ade80; }
.rt-cupon-badge-sym.rt-price-eur { background: rgba(34,158,217,.15); color: #5bc8f0; }

/* Icono copiar — derecha, grande y visible */
.rt-cupon-copy-btn {
  flex-shrink: 0; font-size: 18px; line-height: 1;
  pointer-events: none; transition: transform .1s;
}
.rt-cupon-code:hover .rt-cupon-copy-btn { transform: scale(1.15); }
.rt-cupon-copied-label { display: none; }
.rt-cupon-copy-label { display: block; }
.rt-cupon-code.copied .rt-cupon-copy-label { display: none; }
.rt-cupon-code.copied .rt-cupon-copied-label { display: block; font-size: 16px; }
.rt-cupon-code.copied { background: rgba(74,222,128,.06); }
.rt-cupon-block:has(.rt-cupon-code.copied) { border-color: rgba(74,222,128,.4); }

/* Clases antiguas — ocultar */
.rt-cupon-header, .rt-cupon-body, .rt-cupon-meta, .rt-cupon-desc,
.rt-cupon-btn, .rt-cupon-copy-icon, .rt-cupon-copied,
.rt-cupon-use-btn, .rt-cupon-pill-wrap, .rt-cupon-label,
.rt-cupon-tag-icon { display: none; }

/* Contenedor */
.rt-cupones--grid { margin-top: 10px; }
.rt-cupones-title {
  font-family: var(--body); font-size: 10px; font-weight: 700;
  color: var(--gray-mid); text-transform: uppercase; letter-spacing: 1px;
  margin: 0 0 6px;
}
.rt-cupones-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }

.rt-cupones-slim { margin-top: 14px; }
.rt-cupones-slim-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }



/* ================================================================
   24. ALERTAS TELEGRAM
================================================================ */
.rt-btn-telegram-alerta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; background: #229ED9; color: #fff; border-radius: 8px; font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .2s, transform .1s; margin-top: 10px; }
.rt-btn-telegram-alerta:hover { background: #1a8bbf; color: #fff; transform: translateY(-1px); }
.rt-btn-telegram-alerta--mob { font-size: .85rem; padding: 10px; }
.rt-tg-icon { font-size: 1.1em; }
.rt-tg-hint { font-size: .72rem; color: #666; margin-top: 8px; line-height: 1.5; }
.rt-tg-hint code { background: #1e1e1e; padding: 1px 5px; border-radius: 3px; font-size: .9em; color: #ccc; }
.rt-single-price-original,
.rt-single-price-final {
  display: block;
  line-height: 1.08;
}
.rt-single-price-original {
  font-size: .42em;
  font-weight: 700;
  color: var(--gray-lo);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255,255,255,0.32);
  margin-bottom: 4px;
}
.rt-single-price-final {
  font-size: 1em;
  font-weight: 900;
  color: var(--white);
}
.rt-single-coupon-panel {
  margin-top: 12px;
  border: 1px solid var(--border2);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,59,47,0.08), rgba(20,20,20,0.96));
  padding: 16px 18px;
  display: grid;
  gap: 10px;
}
.rt-single-coupon-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.rt-single-coupon-panel-title {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.rt-single-coupon-panel-savings {
  font-size: 12px;
  font-weight: 700;
  color: #4ade80;
}
.rt-single-coupon-panel-prices {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--body);
}
.rt-single-coupon-panel-old {
  font-size: 13px;
  color: var(--gray-lo);
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255,255,255,0.28);
}
.rt-single-coupon-panel-final {
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
}
.rt-single-coupon-panel .rt-cupon-block {
  margin-top: 0;
}
.rt-single-coupon-panel .rt-cupon-body {
  padding: 4px 2px 0;
}
.rt-single-coupon-panel .rt-cupon-code {
  border-radius: 12px;
}
.rt-single-coupon-panel .rt-cupon-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  line-height: 1.35;
}
.rt-single-coupon-panel .rt-cupon-meta > span {
  display: block;
}
.rt-single-coupon-panel .rt-cupon-desc {
  margin-top: 10px;
  line-height: 1.55;
}
.rt-single-coupon-panel .rt-cupon-btn {
  margin-top: 12px;
  width: 100%;
  text-align: center;
}
.rt-single-alerta--tg { border: 1.5px solid #229ED933; border-radius: 10px; padding: 16px; background: #229ED908; margin-top: 1.5rem; }
.rt-single-alerta--tg .rt-single-alerta-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #229ED9; margin-bottom: 6px; }
.rt-single-alerta--tg .rt-form-desc { font-size: .82rem; color: #888; margin-bottom: 0; line-height: 1.5; }
.rt-single-alerta--tg .rt-btn-telegram-alerta { margin-top: 14px; }



/* ================================================================
   25. UTILIDADES GLOBALES
================================================================ */
/* Ocultar elementos */
.rt-hidden { display: none !important; }
[hidden] { display: none !important; }

/* Textos */
.rt-empty-msg        { color: var(--gray-mid); font-family: var(--body); padding: 20px 0; }
.rt-empty-msg--sm    { font-size: 14px; padding: 12px 0; }
.rt-link-red         { color: var(--red); }
.rt-alt-disclaimer   { font-size: 14px; color: var(--gray-lo); margin-top: 6px; font-family: var(--body); }
.rt-single-excerpt   { font-size: var(--text-base); color: var(--gray-hi); margin-bottom: 24px; line-height: 1.75; }
.rt-single-content   { font-size: var(--text-base); color: var(--gray-hi); line-height: 1.75; margin-top: 16px; max-width: 100%; overflow-x: hidden; }
.rt-single-emoji-fallback { font-size: 72px; display: block; text-align: center; padding: 16px 0; }
.rt-alerta-feedback { font-family: var(--pixel); font-size: 6px; color: var(--accent); margin-top: 6px; line-height: 1.6; }
.rt-alerta-feedback.success { color: #4ade80; }
.rt-alerta-feedback.error   { color: var(--red); }

/* ================================================================
   SEARCH BOX + FILTRO DE PRECIO — archive
================================================================ */
.rt-search-wrap {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.rt-search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.rt-search-icon {
  position: absolute;
  left: 14px;
  font-size: 17px;
  color: var(--gray-lo);
  pointer-events: none;
  z-index: 1;
  line-height: 1;
}
input[type="search"].rt-search-input,
input[type="text"].rt-search-input {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(0,0,0,.2) !important;
  color: var(--white) !important;
  font-family: var(--body);
  font-size: 15px;
  padding: 0 42px 0 42px;
  box-sizing: border-box;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
}
input[type="search"].rt-search-input:focus,
input[type="text"].rt-search-input:focus {
  border-color: rgba(255,59,47,.6) !important;
  box-shadow: 0 0 0 3px rgba(255,59,47,.1) !important;
  outline: none !important;
}
input[type="search"].rt-search-input::placeholder { color: var(--gray-lo); opacity: 1; }
input[type="search"].rt-search-input::-webkit-search-cancel-button { display: none; }
.rt-search-clear {
  position: absolute;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--gray-lo);
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color .15s, background .15s, border-color .15s;
}
.rt-search-clear:hover {
  color: var(--white);
  background: rgba(255,59,47,.14);
  border-color: rgba(255,59,47,.3);
}
.rt-search-status {
  font-family: var(--body);
  font-size: 12px;
  color: var(--gray-lo);
  min-height: 16px;
}

/* Ver más */
.rt-ver-mas-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0 0; }
.rt-ver-mas-wrap[hidden] { display: none; }
.rt-btn-ver-mas { font-family: var(--body); font-size: 14px; font-weight: 700; color: var(--white); background: var(--bg3); border: 1px solid var(--border2); padding: 13px 36px; border-radius: 8px; cursor: pointer; letter-spacing: 0.5px; text-transform: uppercase; transition: border-color .15s, background .15s, transform .1s; min-height: 48px; }
.rt-btn-ver-mas:hover { border-color: var(--red); background: var(--bg2); transform: translateY(-1px); }
.rt-btn-ver-mas:active { transform: translateY(0); }
.rt-ver-mas-count { font-size: 13px; color: var(--gray-lo); }

/* Sidebar móvil archive */
.rt-mobile-sidebar-archive { display: none; border-top: 1px solid var(--border2); margin: 0 0 24px; }
.rt-mobile-sidebar-archive details { border-bottom: 1px solid var(--border); }
.rt-mobile-sidebar-archive summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; padding: 14px 16px; font-family: var(--body); font-size: 13px; font-weight: 700; color: var(--gray-hi); background: var(--bg2); user-select: none; min-height: 48px; text-transform: uppercase; letter-spacing: 0.5px; }
.rt-mobile-sidebar-archive summary::-webkit-details-marker { display: none; }
.rt-mobile-sidebar-archive summary:hover { background: var(--bg3); }
.rt-mobile-sidebar-archive summary::after { content: '▾'; font-size: 16px; color: var(--gray-mid); transition: transform .2s; flex-shrink: 0; }
.rt-mobile-sidebar-archive details[open] summary::after { transform: rotate(180deg); }
.rt-mobile-sidebar-archive .rt-msb-body { padding: 16px; background: var(--bg); border-top: 1px solid var(--border); }

/* Animaciones */
@keyframes blink { 50% { opacity: 0; } }
@keyframes rt-badge-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,47,0); } 50% { box-shadow: 0 0 0 5px rgba(255,59,47,0.25); } }
@keyframes rt-delta-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }



/* ================================================================
   SLIDER DE PRECIO — compartido (inicio + catálogo)
================================================================ */
/* ================================================================
   SLIDER DE PRECIO — rediseño limpio y accesible
================================================================ */
/* ================================================================
   SLIDER — fill via background en el input (funciona en todos los browsers)
   El JS actualiza: el.style.background = `linear-gradient(to right,
     var(--red) 0%, var(--red) ${pct}%,
     rgba(255,255,255,.1) ${pct}%, rgba(255,255,255,.1) 100%)`
================================================================ */
.rt-cat-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  /* Altura = thumb para que la bola nunca sobresalga del input.
     overflow:hidden en ancestros de GP no puede recortar lo que está dentro. */
  height: 20px;
  background: transparent;
  outline: none;
  cursor: pointer;
  touch-action: pan-x;
  will-change: background;
  transition: none;
}

/* Track — webkit: aquí va el fill, centrado verticalmente dentro del input */
.rt-cat-slider::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 5px;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--red) 0%,
    var(--red) var(--fill, 100%),
    rgba(255,255,255,.1) var(--fill, 100%),
    rgba(255,255,255,.1) 100%
  );
}

/* Thumb — webkit */
.rt-cat-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red);
  cursor: pointer;
  touch-action: pan-x;
  box-shadow: 0 1px 6px rgba(0,0,0,.35);
  transition: box-shadow .15s, transform .1s;
  margin-top: -7.5px; /* (5px track / 2) - (20px thumb / 2) = centrado manual webkit */
}
.rt-cat-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 1px 6px rgba(0,0,0,.35), 0 0 0 5px rgba(255,59,47,.16);
  transform: scale(1.08);
}
.rt-cat-slider:active::-webkit-slider-thumb {
  box-shadow: 0 1px 6px rgba(0,0,0,.35), 0 0 0 8px rgba(255,59,47,.22);
  transform: scale(1.12);
}

/* Thumb — moz */
.rt-cat-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red);
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(0,0,0,.3);
  transition: box-shadow .15s, transform .1s;
}
.rt-cat-slider::-moz-range-thumb:hover {
  box-shadow: 0 1px 5px rgba(0,0,0,.3), 0 0 0 5px rgba(255,59,47,.16);
  transform: scale(1.08);
}

/* Track — moz: progress nativo de Firefox sí funciona sin JS */
.rt-cat-slider::-moz-range-track { height: 5px; background: rgba(255,255,255,.1); border-radius: 5px; }
.rt-cat-slider::-moz-range-progress { height: 5px; background: var(--red); border-radius: 5px; }

/* Wrapper del slider */
.rt-cat-slider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
  max-width: 100%;
  padding: 8px 2px;
}
.rt-cat-slider-min,
.rt-cat-slider-max {
  font-family: var(--body);
  font-size: 11px;
  color: var(--gray-lo);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 26px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.rt-sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border2); }
.rt-sec-title { font-family: var(--body); font-size: var(--text-sm); font-weight: 700; color: var(--white); letter-spacing: 0.5px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin: 0; }
.rt-sec-title::before { content: '▶'; color: var(--red); font-size: 13px; }
.rt-sec-link { font-family: var(--body); font-size: var(--text-xs); font-weight: 600; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 0.5px; }
.rt-sec-link:hover { color: var(--red); opacity: 1; }

/* ================================================================
   RESPONSIVE — COMPARTIDO
================================================================ */

/* Tablet */
@media (max-width: 960px) {
  .cc-footer__inner   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cc-footer__brand   { grid-column: 1 / -1; }
  .rt-cards-grid      { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .rt-archive-inner   { padding: 16px 16px 0; }
  .rt-single-inner    { padding: 20px 20px 0; }
  .rt-catalogo-inner  { padding: 16px 16px 0; }
  .rt-of-inner        { padding: 16px 16px 0; }
  .rt-comp-inner      { padding: 16px 16px 0; }
  .rt-main-wrap       { grid-template-columns: 1fr; }
  .rt-main-content    { border-right: none; padding: 20px 0; }
  .rt-sidebar         { border-top: 1px solid var(--border2); padding: 20px 16px; }
  .rt-single-wrap     { grid-template-columns: 1fr; gap: 24px; }
  .rt-oferta-row      { grid-template-columns: 28px 1fr auto; }
  .rt-o-price         { display: none; }
  .rt-cupon-codigo    { font-size: 11px; }
  .rt-cupon-badge     { font-size: 9px; padding: 1px 5px; }
  .rt-cupon-use-btn   { font-size: 10px; padding: 0 8px; }
}

/* Admin bar */
@media screen and (max-width: 782px) {
  .admin-bar .rt-nav         { top: 46px; }
  .admin-bar .rt-mobile-menu { top: calc(56px + 46px); }
}
@media screen and (max-width: 600px) {
  .admin-bar .rt-mobile-menu { top: calc(56px + 46px); }
}

/* Móvil — elementos compartidos en todas las páginas */
@media (max-width: 767px) {
  /* Ofertas activas inicio: 1 columna en móvil */
  .rt-home-minimos { grid-template-columns: 1fr !important; }
  .cc-footer { margin-top: 32px; }
  .cc-footer__inner   { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 40px var(--rt-inner-pad) 28px; }
  .cc-footer__brand   { grid-column: 1 / -1; }
  .cc-footer__bar     { flex-direction: column; align-items: flex-start; gap: 6px; }
  body { padding-top: 0 !important; }
  .rt-nav           { display: none !important; }
  .rt-mobile-menu   { top: 0 !important; }
  /* toggle en el menú móvil: siempre visible */
  .rt-mobile-menu-currency { display: flex !important; }
  .rt-mobile-menu .rt-nav-search { display: flex; }
  /* Reset de todos los contenedores que pueden generar espacio sobre/bajo el hero */
  .rt-catalogo-page .rt-page-header,
  .rt-ofertas-page .rt-page-header,
  .rt-comp-page .rt-page-header,
  .rt-archive-page .rt-page-header {
    padding: 0 !important;
    margin: 0 !important;
  }
  .rt-page-header-inner { padding: 0 !important; margin: 0 !important; }
  /* GP grid-container puede añadir padding vertical */
  .rt-catalogo-page .grid-container,
  .rt-ofertas-page .grid-container,
  .rt-comp-page .grid-container,
  .rt-archive-page .grid-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .rt-catalogo-page .rt-hero,
  .rt-ofertas-page .rt-hero,
  .rt-comp-page .rt-hero {
    padding: 0;
    min-height: 0;
    background:
      radial-gradient(ellipse at top left, rgba(255,59,47,.08), transparent 42%),
      radial-gradient(ellipse at bottom right, rgba(34,158,217,.05), transparent 45%),
      var(--bg2);
    border-radius: var(--rt-radius-xl);
    box-shadow: 0 16px 40px rgba(0,0,0,.20);
    margin: 0 auto;
  }
  .rt-catalogo-page .rt-hero--constrained,
  .rt-ofertas-page .rt-hero--constrained,
  .rt-comp-page .rt-hero--constrained {
    margin: 0 auto;
  }
  .rt-catalogo-page .rt-hero-inner,
  .rt-ofertas-page .rt-hero-inner,
  .rt-comp-page .rt-hero-inner {
    padding: 16px 12px 12px;
    background: transparent;
    border: none;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .rt-hero-grid,
  .rt-hero-glow,
  .rt-hero--with-visual .rt-hero-grid,
  .rt-hero--with-visual .rt-hero-glow { display: none !important; }
  .rt-hero-tag    { font-size: 11px; letter-spacing: 2px; }
  .rt-hero h1     {
    font-size: clamp(18px, 5.2vw, 24px) !important;
    line-height: 1.25 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
    width: 100%;
  }
  .rt-hero h1 span {
    flex-basis: 100%;
    margin-top: 0;
  }
  /* ── Imagen móvil: stage con imagen + título centrados ── */
  .rt-desktop-only,
  .rt-hero--with-visual .rt-hero-visual {
    display: none !important;
  }
  .rt-hero--with-visual .rt-hero-copy,
  .rt-hero--with-visual.rt-hero--constrained .rt-hero-copy {
    display: block !important;
    width: 100% !important;
    grid-template-columns: unset !important;
  }
  .rt-hero-copy-text {
    width: 100%;
    display: block;
  }
  .rt-hero-mobile-copy {
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }
  .rt-hero-mobile-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
  }
  .rt-hero-mobile-brandrow {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }
  .rt-hero-mobile-art {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
  }
  .rt-hero-mobile-art img {
    width: auto !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    object-fit: contain !important;
    display: block !important;
  }
  .rt-hero-mobile-title {
    font-size: clamp(22px, 6vw, 30px) !important;
    line-height: 1.05 !important;
    text-align: left;
    white-space: nowrap;
    margin: 0 !important;
  }
  .rt-hero-mobile-title .rt-text-white { color: var(--white); }
  .rt-hero-mobile-title .rt-text-red   { color: var(--red); }
  .rt-hero-mobile-title span {
    display: inline !important;
    margin-top: 0 !important;
    font-size: 1em !important;
  }
  .rt-hero-mobile-synopsis {
    font-size: 12px;
    line-height: 1.4;
    color: var(--gray-mid);
    text-align: center;
    max-width: 92%;
    margin: 2px auto 0;
  }
  .rt-hero-icon   { width: 28px; height: 28px; }
  .rt-hero-sub    { font-size: 14px; margin-bottom: 14px; text-align: center; max-width: 100%; }
  .rt-hero-currency {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .rt-hero-tg-btn   { display: flex; justify-content: center; }
  /* Reducir gap entre botón TG y cupones en móvil */
  .rt-hero-aside { margin-top: 8px; }
  .rt-hero--split .rt-hero-aside > .rt-cupones--grid { margin-top: 0; padding-top: 0; }
  .rt-hero--split .rt-hero-aside .rt-cupones-title { margin-top: 0; }
  .rt-currency-toggle--hero,
  .rt-currency-toggle--inline,
  .rt-currency-toggle--mobile {
    --rt-currency-toggle-width: 112px;
    --rt-currency-toggle-height: 42px;
  }
  .rt-archive-inner,
  .rt-catalogo-inner,
  .rt-of-inner,
  .rt-comp-inner  { padding: 12px 8px 0; }
  .rt-single-inner { padding: 18px 16px 0; }
  .rt-rel-grid        { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rt-breadcrumb { margin: 4px 0 20px; gap: 8px; font-size: 12px; }
  .rt-main-wrap   { padding: 0; }
  .rt-sidebar     { display: none !important; }
  /* ── Cards: layout de app en 2 columnas ── */
  .rt-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    touch-action: pan-y;
  }
  .rt-card {
    border-radius: 14px;
    flex-direction: column;
  }

  /* Imagen más pequeña: aspect-ratio cuadrado compacto */
  .rt-card-screen {
    aspect-ratio: 1 / 1;
    width: 100%;
    font-size: 28px;
  }
  .rt-card:hover .rt-card-screen { font-size: 32px; }

  /* Zona de texto debajo de la imagen */
  .rt-card-body, .rt-card-body-inner {
    padding: 8px 10px 0;
  }

  /* Marca + nombre: bloque compacto */
  .rt-card-brand {
    font-size: 8px;
    letter-spacing: 1.4px;
    margin-bottom: 2px;
  }
  .rt-card-name {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  /* Specs: solo el primero visible, inline */
  .rt-card-specs { margin-bottom: 6px; gap: 3px; }
  .rt-card-spec { font-size: 9px; padding: 2px 5px; }
  .rt-card-specs span:nth-child(n+2) { display: none; }

  /* Precio: alineado a la izquierda, compacto */
  .rt-card-price-row {
    padding: 6px 10px 0;
    border-top: 1px solid rgba(255,255,255,.05);
    gap: 4px;
  }
  .rt-card-price      { font-size: 15px; }
  .rt-card-price-final { font-size: 15px; }
  .rt-card-delta      { font-size: 9px; padding: 2px 5px; border-radius: 4px; }
  .rt-card-cupon      { margin: 0 10px 6px; font-size: 10px; }

  /* Botón único a todo ancho */
  .rt-card-actions    { grid-template-columns: 1fr; gap: 0; padding: 6px 8px 8px; }
  .rt-btn-ver         { font-size: 11px; padding: 9px 8px; min-height: 40px; border-radius: 10px; letter-spacing: 0.3px; }
  .rt-card-actions    { grid-template-columns: 1fr 38px; gap: 5px; }
  .rt-btn-comparar    { width: 38px; min-width: 38px; min-height: 38px; font-size: 15px; border-radius: 9px; display: flex; }
  .rt-pill            { font-size: 12px; padding: 6px 10px; }
  .rt-archive-page,
  .rt-single-page,
  .rt-ofertas-page,
  .rt-catalogo-page,
  .rt-comp-page       { padding-bottom: 88px; }
  .rt-bottom-nav {
    display: flex; position: fixed; bottom: 10px; left: 10px; right: 10px;
    height: 62px; background: rgba(26,26,26,0.92);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; z-index: 1100;
    justify-content: space-around; align-items: center;
    padding: 0 8px; padding-bottom: env(safe-area-inset-bottom);
    backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  }
  .rt-bottom-nav a {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; flex: 1; padding: 6px 4px; color: var(--gray-lo);
    font-family: var(--body); font-size: 11px; font-weight: 700;
    letter-spacing: 0.6px; text-transform: uppercase; text-decoration: none;
    min-height: 44px; justify-content: center;
    transition: color .12s, transform .12s, background .12s;
    border-radius: 10px; -webkit-tap-highlight-color: transparent;
  }
  .rt-bottom-nav button {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; flex: 1; padding: 6px 4px; color: var(--gray-lo);
    font-family: var(--body); font-size: 11px; font-weight: 700;
    letter-spacing: 0.6px; text-transform: uppercase; text-decoration: none;
    min-height: 44px; justify-content: center;
    transition: color .12s, transform .12s, background .12s;
    border-radius: 10px; -webkit-tap-highlight-color: transparent;
    background: none; border: none; cursor: pointer;
  }
  .rt-bottom-nav a.active { color: var(--white); background: rgba(255,59,47,0.15); border: 1px solid rgba(255,59,47,0.35); }
  .rt-bottom-nav button:hover { color: var(--white); background: rgba(255,255,255,0.04); }
  .rt-bottom-nav button:active { transform: scale(0.98); }
  .rt-bottom-nav a:active { transform: scale(0.98); }
  .rt-bottom-nav-icon { font-size: 18px; line-height: 1; }
  .rt-bottom-nav-icon svg { display: block; width: 20px; height: 20px; color: inherit; }
  .rt-bottom-nav a.rt-bottom-nav-link--ofertas, .rt-bottom-nav a.rt-bottom-nav-link--ofertas span { color: var(--red); }
  .rt-bottom-nav a.rt-bottom-nav-link--ofertas .rt-bottom-nav-icon svg { filter: drop-shadow(0 2px 6px rgba(255,59,47,.12)); }
  .rt-bottom-nav a { color: var(--gray-lo); }
  .rt-bottom-nav a:hover { color: var(--white); }
  .rt-bottom-nav a.active { color: var(--white); background: rgba(255,59,47,0.15); border: 1px solid rgba(255,59,47,0.35); }
  .rt-single-coupon-panel { padding: 12px; gap: 8px; border-radius: 12px; margin-top: 10px; }
  .rt-single-coupon-panel-head { gap: 6px; }
  .rt-single-coupon-panel-title { font-size: 11px; letter-spacing: .04em; }
  .rt-single-coupon-panel-savings { font-size: 11px; }
  .rt-single-coupon-panel-prices { gap: 8px; }
  .rt-single-coupon-panel-old { font-size: 12px; }
  .rt-single-coupon-panel-final { font-size: 16px; }
  .rt-single-coupon-panel .rt-cupon-body { padding: 2px 0 0; }
  .rt-single-coupon-panel .rt-cupon-meta { gap: 4px; margin-top: 8px; font-size: 12px; }
  .rt-single-coupon-panel .rt-cupon-desc { margin-top: 8px; font-size: 12px; line-height: 1.45; }
  .rt-single-coupon-panel .rt-cupon-btn { margin-top: 10px; font-size: 12px; padding: 10px 12px; }
}

/* Toast notification for coupon copy */
.rt-toast-container {
  position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 12000;
  display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none;
}
.rt-toast-item {
  pointer-events: auto; min-width: 160px; max-width: 92vw; padding: 10px 14px; border-radius: 12px;
  background: rgba(20,20,20,0.92); color: #fff; font-family: var(--body); font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); opacity: 0; transform: translateY(8px) scale(.995);
  transition: opacity .22s ease, transform .22s ease;
}
.rt-toast-item--visible { opacity: 1; transform: translateY(0) scale(1); }

/* Pequeño — cupones (compartido) */
@media (max-width: 600px) {
  .rt-single-coupon-panel { padding: 10px; gap: 6px; }
  .rt-single-coupon-panel-final { font-size: 15px; }
  .rt-single-coupon-panel-old,
  .rt-single-coupon-panel-title,
  .rt-single-coupon-panel-savings { font-size: 10px; }
  .rt-currency-toggle--hero,
  .rt-currency-toggle--inline,
  .rt-currency-toggle--mobile {
    --rt-currency-toggle-width: 106px;
    --rt-currency-toggle-height: 40px;
  }
  .rt-cupones-grid        { grid-template-columns: 1fr; }
  .rt-cupon-code          { padding: 7px 9px; }
  .rt-cupon-codigo        { font-size: 11px; letter-spacing: .12em; }
  .rt-cupon-copied        { position: static; margin-left: auto; font-size: .7rem; }
}

/* Mínimo */
@media (max-width: 400px) {
  .rt-cards-grid          { grid-template-columns: 1fr; }
  .rt-hero h1             { font-size: 16px !important; }
}

/* ================================================================
   31. BUSCADOR GLOBAL
================================================================ */
body.rt-search-open { overflow: hidden; }
.rt-search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 16px 20px;
  box-sizing: border-box;
}
.rt-search-modal[hidden] { display: none !important; }
.rt-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(8px);
}
.rt-search-modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 92px);
  overflow: auto;
  background:
    radial-gradient(ellipse at top left, rgba(255,59,47,0.12), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}
.rt-search-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,0.03);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.rt-search-close:hover { border-color: var(--red); background: rgba(255,59,47,0.12); }
.rt-search-head { max-width: 640px; padding-right: 56px; }
.rt-search-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
}
.rt-search-head h2 {
  margin: 0 0 10px;
  font-family: var(--orb);
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.15;
  color: var(--white);
}
.rt-search-title-core {
  font-family: var(--orb);
  font-weight: 900;
  letter-spacing: 0.2px;
}
.rt-search-title-core .rt-text-white { color: var(--white); }
.rt-search-title-core .rt-text-red { color: var(--red); }
.rt-search-copy,
.rt-search-help,
.rt-search-empty {
  font-family: var(--body);
  color: var(--gray-mid);
  line-height: 1.6;
}
.rt-search-copy { margin: 0; max-width: 680px; color: var(--gray-hi); }
.rt-search-field {
  display: block;
  margin-top: 18px;
}
.rt-search-field__label {
  display: inline-flex;
  margin-bottom: 8px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-lo);
}
.rt-search-input {
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
  border: 1px solid var(--border2);
  background: rgba(0,0,0,0.18);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  padding: 0 18px;
  box-sizing: border-box;
  outline: none;
}
.rt-search-input:focus {
  border-color: rgba(255,59,47,.75);
  box-shadow: 0 0 0 3px rgba(255,59,47,.12);
}
.rt-search-help { margin: 10px 0 0; font-size: 13px; }
.rt-search-section-title {
  margin: 24px 0 12px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-lo);
}
.rt-search-guide-grid,
.rt-search-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.rt-search-card,
.rt-search-result {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border2);
  border-radius: 16px;
  background: rgba(0,0,0,0.16);
  text-decoration: none;
  transition: transform .15s, border-color .15s, background .15s;
  min-height: 122px;
}
.rt-search-card:hover,
.rt-search-result:hover {
  border-color: var(--red);
  background: rgba(255,59,47,0.06);
  transform: translateY(-1px);
  opacity: 1;
}
.rt-search-card__eyebrow,
.rt-search-result__eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--red);
}
.rt-search-card__title,
.rt-search-result__title {
  color: var(--white);
  font-family: var(--orb);
  font-size: 14px;
  line-height: 1.3;
}
.rt-search-card__meta,
.rt-search-result__meta {
  margin-top: auto;
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--gray-mid);
}
.rt-search-results-wrap[hidden] { display: none !important; }
.rt-search-empty {
  margin: 16px 0 0;
  font-size: 14px;
}

@media (max-width: 960px) {
  .rt-search-guide-grid,
  .rt-search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rt-nav-search { padding: 0 12px; }
}

@media (max-width: 600px) {
  .rt-search-modal {
    padding: 16px 12px 104px;
  }
  .rt-search-modal__panel {
    padding: 18px;
    border-radius: 20px;
    max-height: calc(100vh - 120px);
  }
  .rt-search-head {
    padding-right: 44px;
  }
  .rt-search-guide-grid,
  .rt-search-results-grid {
    grid-template-columns: 1fr;
  }
  .rt-search-card,
  .rt-search-result {
    min-height: 104px;
    padding: 12px;
  }
  .rt-search-close {
    top: 12px;
    right: 12px;
  }
  .rt-nav-search span {
    display: inline-block;
  }
}

/* ================================================================
   30. PREFERS-REDUCED-MOTION
================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Cards visibles inmediatamente sin animación */
  .rt-card { opacity: 1 !important; transform: none !important; }
  .rt-card.rt-card--visible { animation: none !important; }
  @keyframes rt-card-in     { from { opacity: 1; transform: none; } to { opacity: 1; transform: none; } }
  @keyframes rt-shimmer     { from { background-position: 0 0; } to { background-position: 0 0; } }
  @keyframes rt-badge-pulse { 0%, 100% { box-shadow: none; } }
  @keyframes rt-delta-glow  { 0%, 100% { opacity: 1; } }
}

/* ================================================================
   NUEVO ESTILO APP / GAMING MODERN
   ================================================================ */
:root {
  --rt-radius-xl: 32px;
  --rt-radius-lg: 24px;
  --rt-radius-md: 18px;
  --rt-radius-sm: 14px;
  --app-bg: #0d0d12;
  --app-bg2: rgba(26, 26, 32, 0.7);
  --app-bg3: rgba(40, 40, 48, 0.8);
  --app-border: rgba(255, 255, 255, 0.08);
  --app-glow: rgba(0, 212, 255, 0.15);
  --app-glow-hover: rgba(0, 212, 255, 0.3);
  --app-accent: #00d4ff;
  --app-accent-red: #ff3366;
  --app-accent-green: #00e676;
}

body {
  background-color: var(--app-bg) !important;
  background-image: radial-gradient(circle at 10% 10%, rgba(34, 158, 217, 0.05), transparent 40%),
                    radial-gradient(circle at 90% 90%, rgba(255, 51, 102, 0.05), transparent 40%) !important;
  background-attachment: fixed;
  color: #ebebeb !important;
}

/* Card Modern App Style */
.rt-card {
  background: var(--app-bg2) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--app-border) !important;
  border-radius: var(--rt-radius-lg) !important;
  padding: 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
}
.rt-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 30px var(--app-glow-hover) !important;
  z-index: 10;
}
.rt-card-screen {
  background: linear-gradient(180deg, var(--app-bg3) 0%, rgba(20,20,25,0) 100%) !important;
  border-bottom: none !important;
  aspect-ratio: 16/11 !important;
  padding: 15px;
  box-sizing: border-box;
}
.rt-card-screen img {
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5)) !important;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.rt-card:hover .rt-card-screen img {
  transform: scale(1.1) rotate(-1deg) !important;
}
.rt-card-body {
  padding: 16px 20px !important;
  background: linear-gradient(0deg, rgba(13,13,18,0.95) 0%, rgba(13,13,18,0.4) 100%) !important;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.rt-card-name {
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 12px !important;
}
.rt-card-brand {
  color: var(--app-accent) !important;
  font-size: 10px !important;
  letter-spacing: 2px !important;
}
.rt-card-specs {
  gap: 6px !important;
  margin-bottom: 16px !important;
}
.rt-card-spec {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  color: #ccc !important;
  transition: background 0.2s !important;
}
.rt-card:hover .rt-card-spec {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}
.rt-card-price-row {
  border-top: none !important;
  padding: 0 !important;
  margin-top: auto !important;
  background: rgba(0,0,0,0.2) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
}
.rt-card-price {
  font-size: 22px !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
}
.rt-card-delta.up { color: var(--app-accent-red) !important; background: rgba(255,51,102,0.1); padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: bold; }
.rt-card-delta.dn { color: var(--app-accent-green) !important; background: rgba(0,230,118,0.1); padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: bold; }

/* Grid moderno */
.rt-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  padding: 24px 0 !important;
}

/* Acciones en la Card */
.rt-card-actions {
  display: flex !important;
  gap: 8px;
  margin-top: 16px;
  padding: 0 20px 20px;
}
.rt-btn-ver, .rt-btn-comparar {
  flex: 1;
  text-align: center;
  padding: 10px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: all 0.2s !important;
  text-decoration: none;
}
.rt-btn-ver {
  background: linear-gradient(135deg, #ff3366, #d7261b) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3) !important;
}
.rt-btn-ver:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 51, 102, 0.5) !important;
}
.rt-btn-comparar {
  background: rgba(255,255,255,0.05) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}
.rt-btn-comparar:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
}

/* Deal Style Modern App */
.rt-home-deal-inner {
  background: var(--app-bg2) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--app-border) !important;
  border-radius: var(--rt-radius-xl) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
}
.rt-deal-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent), var(--app-bg3) !important;
  border: 1px solid var(--app-border) !important;
  border-radius: var(--rt-radius-lg) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.rt-deal-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1), 0 0 20px rgba(0,212,255,0.1) !important;
  border-color: rgba(255,255,255,0.15) !important;
}
