/*
Theme Name: Retaildigital Chile
Theme URI: https://Retaildigital.cl/
Author: RetailDigital Ecommerce Team
Author URI: https://Retaildigital.cl/
Description: Tema oficial de alto rendimiento para WordPress y WooCommerce disenado para Retaildigital.cl en Chile. Incluye identidad oficial (#5C2AC7, #F735A8, #FFAE50, #102332), Hero Banner con gradiente diagonal, iconos circulares pastel de categorias, tarjetas promocionales en gradiente, Ofertas Flash con los 91+ productos en CLP, optimizacion 100% mobile-first y visibilidad GEO/AEO para ChatGPT y Google Gemini.
Version: 1.2.8
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.2
WC requires at least: 8.0
WC tested up to: 9.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: retaildigital
Tags: e-commerce, woocommerce, custom-logo, custom-colors, custom-menu, featured-images, full-width-template, accessibility-ready
*/

/* ==========================================================================
   1. VARIABLES DE COLOR Y GRADIENTES OFICIALES Retaildigital.cl
   Paleta Oficial: #5C2AC7 (Violeta) â€¢ #F735A8 (Magenta) â€¢ #FFAE50 (Naranja) â€¢ #102332 (Azul Noche)
   ========================================================================== */
:root {
  --rd-brand-violet: #5C2AC7;
  --rd-brand-magenta: #F735A8;
  --rd-brand-orange: #FFAE50;
  --rd-brand-navy: #102332;

  /* Gradientes oficiales segÃºn capturas */
  --rd-grad-topbar: linear-gradient(90deg, #4318A8 0%, #5C2AC7 50%, #7209B7 100%);
  --rd-grad-hero: linear-gradient(112deg, #350F8C 0%, #5C2AC7 36%, #E0249A 66%, #F735A8 80%, #FFAE50 100%);
  --rd-grad-violet: linear-gradient(135deg, #2D0B80 0%, #5C2AC7 58%, #8838FF 100%);
  --rd-grad-magenta: linear-gradient(135deg, #D91B82 0%, #F735A8 55%, #FF8364 100%);
  --rd-grad-orange: linear-gradient(135deg, #F58426 0%, #FFAE50 55%, #FFD06B 100%);
  --rd-grad-pink-btn: linear-gradient(90deg, #F735A8 0%, #E61978 100%);
  --rd-grad-purple-btn: linear-gradient(135deg, #4815B8 0%, #6C2BD9 100%);

  --rd-bg-body: #F6F7FB;
  --rd-bg-surface: #FFFFFF;
  --rd-text-main: #102332;
  --rd-text-muted: #64748B;
  --rd-border: #E5E9F2;
  --rd-radius-sm: 8px;
  --rd-radius-md: 14px;
  --rd-radius-lg: 20px;
  --rd-shadow-sm: 0 2px 10px rgba(16, 35, 50, 0.05);
  --rd-shadow-md: 0 10px 26px rgba(92, 42, 199, 0.12);
  --rd-container: 1380px;
  --rd-font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   2. RESET Y BASE MOBILE-FIRST
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--rd-font-sans);
  background-color: var(--rd-bg-body);
  color: var(--rd-text-main);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 66px;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--rd-brand-violet);
  text-decoration: none;
  transition: all 0.18s ease;
}

a:hover {
  color: var(--rd-brand-magenta);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rd-container {
  width: 100%;
  max-width: var(--rd-container);
  margin: 0 auto;
  padding: 0 14px;
}

@media (min-width: 768px) {
  .rd-container {
    padding: 0 22px;
  }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   3. TOPBAR Y CABECERA PRINCIPAL (FIEL A LAS CAPTURAS + 100% MÃ“VIL)
   ========================================================================== */
.rd-topbar {
  background: var(--rd-grad-topbar);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 0;
}

.rd-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rd-topbar-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 980px;
  gap: 16px;
}

@media (max-width: 767px) {
  .rd-topbar {
    font-size: 0.73rem;
    padding: 5px 0;
  }
  .rd-topbar-badges {
    justify-content: center;
  }
  .rd-topbar-badges span:nth-child(2),
  .rd-topbar-badges span:nth-child(3) {
    display: none;
  }
}

/* Cabecera blanca */
.rd-header {
  background-color: #ffffff;
  color: #102332;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(16, 35, 50, 0.06);
}

/* En celulares (< 768px): 2 filas ordenadas (Logo + Ãconos arriba, Buscador abajo) */
.rd-header-main {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand tools"
    "search search";
  align-items: center;
  gap: 10px 12px;
  padding: 10px 0;
}

@media (min-width: 768px) {
  .rd-header-main {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand search tools";
    gap: 28px;
    padding: 14px 0;
  }
}

.rd-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
}

.rd-brand img {
  height: 40px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .rd-brand img {
    height: 52px;
    max-width: 230px;
  }
}

/* Buscador redondeado con botÃ³n magenta */
.rd-search-form {
  grid-area: search;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: #F4F5F9;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.rd-search-form:focus-within {
  background: #ffffff;
  border-color: #5C2AC7;
  box-shadow: 0 0 0 3px rgba(92, 42, 199, 0.12);
}

.rd-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 0.92rem;
  color: #102332;
  min-width: 0;
}

.rd-search-input::placeholder {
  color: #94A3B8;
}

.rd-search-input:focus {
  outline: none;
}

.rd-search-submit {
  background: var(--rd-grad-pink-btn);
  color: #ffffff;
  border: none;
  width: 46px;
  height: 40px;
  margin: 3px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.rd-search-submit:hover {
  filter: brightness(1.08);
  transform: scale(1.03);
}

/* Ãconos superiores: Mi cuenta, Favoritos, Carrito */
.rd-header-tools {
  grid-area: tools;
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (min-width: 768px) {
  .rd-header-tools {
    gap: 22px;
  }
}

.rd-tool-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #102332;
  gap: 3px;
  position: relative;
}

.rd-tool-icon-btn:hover {
  color: #5C2AC7;
}

.rd-tool-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.rd-tool-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--rd-grad-pink-btn);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.rd-tool-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .rd-tool-label {
    font-size: 0.65rem;
  }
  .rd-header-tools {
    gap: 10px;
  }
}

/* Subbarra blanca con botón violeta y píldora rosa "% Ofertas" */
.rd-subnav {
  background-color: #ffffff;
  border-top: 1px solid #EEF0F6;
  border-bottom: 1px solid #EEF0F6;
  font-size: 0.85rem;
  position: relative;
  z-index: 1005;
}

.rd-subnav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 991px) {
  .rd-subnav-inner {
    overflow-x: auto;
  }
}

@media (min-width: 992px) {
  .rd-subnav {
    overflow: visible;
  }
  .rd-subnav-inner {
    overflow: visible !important;
  }
}

.rd-subnav-inner::-webkit-scrollbar {
  display: none;
}

.rd-subnav-all-btn {
  background: var(--rd-grad-purple-btn);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 15px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(92, 42, 199, 0.2);
}

.rd-subnav-all-btn:hover {
  filter: brightness(1.08);
}

.rd-subnav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (min-width: 992px) {
  .rd-subnav-links {
    gap: 8px;
  }
}

.rd-subnav-item {
  position: relative;
}

.rd-subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #102332;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.rd-subnav-link:hover,
.rd-subnav-item:hover .rd-subnav-link,
.rd-subnav-item.is-open .rd-subnav-link {
  color: #5C2AC7;
  background-color: #F5F3FF;
}

.rd-subnav-caret {
  transition: transform 0.2s ease;
  opacity: 0.55;
}

.rd-subnav-item:hover .rd-subnav-caret,
.rd-subnav-item.is-open .rd-subnav-caret {
  transform: rotate(180deg);
  opacity: 1;
  color: #5C2AC7;
}

/* El menú desplegable individual por departamento */
.rd-subnav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(16, 35, 50, 0.16);
  padding: 20px 24px;
  width: 620px;
  max-width: 90vw;
  display: none;
  z-index: 1050;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

/* Puente invisible que evita que el menú se cierre al mover el cursor desde el enlace */
.rd-subnav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

/* Mostrar al pasar el cursor (desktop) o al activar */
.rd-subnav-item:hover .rd-subnav-dropdown,
.rd-subnav-item.is-open .rd-subnav-dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Los departamentos del extremo derecho se anclan a la derecha */
.rd-subnav-item:nth-last-child(-n+3) .rd-subnav-dropdown {
  left: auto;
  right: 0;
}

.rd-subnav-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #EEF2F6;
}

.rd-subnav-dropdown-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #102332;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rd-subnav-header-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5C2AC7;
  text-decoration: none;
  transition: color 0.15s ease;
}

.rd-subnav-header-link:hover {
  color: #F735A8;
}

.rd-subnav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rd-subnav-col-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #5C2AC7;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #F5F3FF;
}

.rd-subnav-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rd-subnav-col-list li {
  margin: 0;
  padding: 0;
}

.rd-subnav-col-list a {
  font-size: 0.83rem !important;
  color: #334155 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px;
  line-height: 1.35;
  padding: 3px 0 !important;
  background: transparent !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
}

.rd-subnav-col-bullet {
  color: #94A3B8;
  font-weight: 700;
  font-size: 0.9rem;
}

.rd-subnav-col-list a:hover {
  color: #F735A8 !important;
  transform: translateX(3px);
  font-weight: 600;
}

.rd-subnav-col-list a:hover .rd-subnav-col-bullet {
  color: #F735A8;
}

.rd-subnav-dropdown-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #EEF2F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rd-subnav-shipping-badge {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
}

.rd-subnav-cta-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff !important;
  background: var(--rd-grad-purple-btn);
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rd-subnav-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(92, 42, 199, 0.25);
  color: #ffffff !important;
}

.rd-subnav-offers-pill {
  margin-left: auto;
  background: var(--rd-grad-pink-btn);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(247, 53, 168, 0.25);
}

.rd-subnav-offers-pill span {
  background: rgba(255, 255, 255, 0.25);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ==========================================================================
   4. HERO BANNER CON EL GRADIENTE DIAGONAL OFICIAL (100% RESPONSIVO)
   ========================================================================== */
.rd-hero-section {
  padding: 14px 0 10px;
}

@media (min-width: 768px) {
  .rd-hero-section {
    padding: 18px 0 12px;
  }
}

.rd-banner-carousel {
  position: relative;
  border-radius: var(--rd-radius-lg);
  overflow: hidden;
  box-shadow: var(--rd-shadow-md);
}

.rd-banner-slide {
  display: none;
  width: 100%;
}

.rd-banner-slide.is-active {
  display: block;
  animation: rdFadeIn 0.35s ease;
}

@keyframes rdFadeIn {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

/* Tarjeta Hero con el gradiente diagonal Violeta -> Magenta -> Naranja */
.rd-hero-card {
  position: relative;
  background: var(--rd-grad-hero);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .rd-hero-card {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 360px;
  }
}

@media (min-width: 1100px) {
  .rd-hero-card {
    min-height: 390px;
  }
}

.rd-hero-card__content {
  padding: 24px 20px 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .rd-hero-card__content {
    padding: 38px 44px;
  }
}

.rd-hero-pill-badge {
  background: linear-gradient(90deg, #FF9933 0%, #FFAE50 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.rd-hero-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.rd-hero-headline {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.06;
  margin: 0 0 12px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .rd-hero-headline {
    font-size: 2.75rem;
  }
}

@media (min-width: 1100px) {
  .rd-hero-headline {
    font-size: 3.25rem;
  }
}

.rd-hero-headline--highlight {
  color: #FFAE50;
}

.rd-hero-subtext {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 0 18px;
  max-width: 470px;
}

@media (min-width: 768px) {
  .rd-hero-subtext {
    font-size: 1rem;
    margin-bottom: 22px;
  }
}

.rd-hero-cta-pill {
  background: #ffffff;
  color: #102332 !important;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 8px 10px 8px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(16, 35, 50, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rd-hero-cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 35, 50, 0.25);
}

.rd-hero-cta-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rd-grad-pink-btn);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.rd-hero-mini-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.rd-hero-card__visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 20px;
}

@media (min-width: 768px) {
  .rd-hero-card__visual {
    padding: 16px 24px 16px 0;
  }
}

.rd-hero-card__visual img {
  width: 100%;
  max-height: 230px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(16, 35, 50, 0.22);
}

@media (min-width: 768px) {
  .rd-hero-card__visual img {
    max-height: 330px;
  }
}

/* Burbuja magenta "HASTA 50% DCTO." */
.rd-hero-discount-bubble {
  position: absolute;
  top: 14px;
  right: 26px;
  z-index: 3;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2A85 0%, #F735A8 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(247, 53, 168, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
  .rd-hero-discount-bubble {
    width: 112px;
    height: 112px;
    top: 22px;
    right: 36px;
  }
}

.rd-hero-discount-bubble small {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.rd-hero-discount-bubble strong {
  font-size: 1.65rem;
  font-weight: 900;
}

@media (min-width: 768px) {
  .rd-hero-discount-bubble strong {
    font-size: 2.15rem;
  }
}

.rd-hero-discount-bubble strong span {
  font-size: 1rem;
}

.rd-hero-discount-bubble em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 800;
}

/* Controles del carrusel */
.rd-banner-controls {
  position: absolute;
  bottom: 14px;
  right: 18px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.rd-carousel-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #102332;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 35, 50, 0.18);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.rd-carousel-arrow:hover {
  background: #ffffff;
  transform: scale(1.06);
}

.rd-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 24px;
  z-index: 5;
  display: flex;
  gap: 6px;
}

.rd-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.rd-carousel-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: #ffffff;
}

/* ==========================================================================
   5. FILA DE ÃCONOS CIRCULARES PASTEL DE CATEGORÃAS
   ========================================================================== */
.rd-circle-cats-section {
  margin: 14px 0 20px;
}

.rd-circle-cats-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 4px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rd-circle-cats-row::-webkit-scrollbar {
  display: none;
}

.rd-circle-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  min-width: 76px;
  flex: 1;
  color: #102332;
}

.rd-circle-cat-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(16, 35, 50, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .rd-circle-cat-bubble {
    width: 68px;
    height: 68px;
    font-size: 1.7rem;
  }
}

.rd-circle-cat-item:hover .rd-circle-cat-bubble {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 18px rgba(92, 42, 199, 0.16);
}

.rd-circle-cat-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #102332;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .rd-circle-cat-label {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   6. TRES TARJETAS PROMOCIONALES EN GRADIENTE (IDÃ‰NTICAS A CAPTURA 2)
   ========================================================================== */
.rd-promo-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

@media (min-width: 768px) {
  .rd-promo-trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.rd-promo-card {
  border-radius: var(--rd-radius-lg);
  padding: 22px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  position: relative;
  min-height: 175px;
  box-shadow: var(--rd-shadow-sm);
}

.rd-promo-card--violet {
  background: var(--rd-grad-violet);
}

.rd-promo-card--magenta {
  background: var(--rd-grad-magenta);
}

.rd-promo-card--orange {
  background: var(--rd-grad-orange);
}

.rd-promo-card__text {
  z-index: 2;
  flex: 1;
}

.rd-promo-card__text h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.rd-promo-card__text p {
  margin: 0 0 14px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.rd-promo-btn {
  background: #ffffff;
  color: #102332 !important;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.rd-promo-btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rd-grad-pink-btn);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.rd-promo-card__img {
  width: 115px;
  height: 115px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

@media (min-width: 1100px) {
  .rd-promo-card__img {
    width: 130px;
    height: 130px;
  }
}

/* ==========================================================================
   7. SECCIÃ“N OFERTAS FLASH Y GRILLA DE PRODUCTOS (5 COLUMNAS PC / 2 MÃ“VIL)
   ========================================================================== */
.rd-flash-section {
  background: #ffffff;
  border-radius: var(--rd-radius-lg);
  padding: 18px 14px;
  margin-bottom: 26px;
  box-shadow: var(--rd-shadow-sm);
  border: 1px solid var(--rd-border);
}

@media (min-width: 768px) {
  .rd-flash-section {
    padding: 26px 24px;
  }
}

.rd-flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.rd-flash-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rd-flash-bolt {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(247, 53, 168, 0.3));
}

.rd-flash-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #102332;
}

@media (min-width: 768px) {
  .rd-flash-title {
    font-size: 1.65rem;
  }
}

.rd-flash-title span {
  color: #F735A8;
}

.rd-flash-subtitle {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--rd-text-muted);
}

.rd-flash-header__right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rd-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rd-countdown-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-right: 4px;
}

@media (max-width: 480px) {
  .rd-countdown-label {
    display: none;
  }
}

.rd-countdown-box {
  background: #FCE7F3;
  color: #E11D74;
  border-radius: 8px;
  padding: 4px 8px;
  text-align: center;
  min-width: 46px;
}

.rd-countdown-box strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
}

.rd-countdown-box small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
}

.rd-flash-view-all {
  background: var(--rd-grad-pink-btn);
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Grilla de productos: 2 columnas en celular, 3 en tablet, 5 en desktop (idÃ©ntico a las capturas) */
.rd-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 640px) {
  .rd-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 992px) {
  .rd-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .rd-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
}

.rd-product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #EEF0F6;
  padding: 10px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  min-width: 0;
}

@media (min-width: 768px) {
  .rd-product-card {
    padding: 14px;
  }
}

.rd-product-card:hover {
  transform: translateY(-4px);
  border-color: #F735A8;
  box-shadow: 0 10px 24px rgba(92, 42, 199, 0.1);
}

.rd-product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.rd-discount-badge {
  background: var(--rd-grad-pink-btn);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.rd-wishlist-btn {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.rd-wishlist-btn:hover {
  color: #F735A8;
}

.rd-product-thumb {
  position: relative;
  background: #ffffff;
  padding: 6px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.rd-product-thumb img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.rd-product-card:hover .rd-product-thumb img {
  transform: scale(1.04);
}

.rd-product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rd-product-title {
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: #102332;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  line-height: 1.28;
}

@media (min-width: 768px) {
  .rd-product-title {
    font-size: 0.88rem;
  }
}

.rd-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.rd-price-current {
  font-size: 1.08rem;
  font-weight: 800;
  color: #E11D74;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .rd-price-current {
    font-size: 1.22rem;
  }
}

.rd-price-old {
  font-size: 0.72rem;
  color: #94A3B8;
  text-decoration: line-through;
}

.rd-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 0.72rem;
}

.rd-stars {
  color: #FFAE50;
  letter-spacing: -1px;
}

.rd-rating-num {
  color: #64748B;
  font-weight: 600;
}

.rd-sku-tag {
  margin-left: auto;
  font-size: 0.64rem;
  color: #94A3B8;
  max-width: 75px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rd-btn-add-cart {
  margin-top: auto;
  width: 100%;
  background: var(--rd-grad-pink-btn);
  color: #ffffff !important;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(247, 53, 168, 0.25);
  transition: filter 0.18s ease, transform 0.15s ease;
}

.rd-btn-add-cart:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ==========================================================================
   8. TARJETAS INFERIORES DE BENEFICIOS Y BARRA DE CONFIANZA
   ========================================================================== */
.rd-benefit-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .rd-benefit-banners {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.rd-benefit-card {
  border-radius: var(--rd-radius-lg);
  padding: 20px 22px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--rd-shadow-sm);
}

.rd-benefit-card--violet {
  background: var(--rd-grad-violet);
}

.rd-benefit-card--orange {
  background: var(--rd-grad-orange);
  color: #102332;
}

.rd-benefit-card--magenta {
  background: var(--rd-grad-magenta);
}

.rd-benefit-card h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 800;
}

.rd-benefit-card p {
  margin: 0 0 12px;
  font-size: 0.8rem;
  opacity: 0.92;
}

.rd-benefit-emoji {
  font-size: 2.6rem;
  flex-shrink: 0;
}

/* Barra blanca de 4 garantÃ­as */
.rd-trust-strip {
  margin: 0 0 28px;
  background: #ffffff;
  border-radius: var(--rd-radius-lg);
  box-shadow: var(--rd-shadow-sm);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border: 1px solid var(--rd-border);
}

@media (min-width: 992px) {
  .rd-trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rd-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rd-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F5F3FF;
  color: #5C2AC7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.rd-trust-item h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: #102332;
}

.rd-trust-item p {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: var(--rd-text-muted);
}

/* ==========================================================================
   9. FOOTER AZUL NOCHE OFICIAL (#102332) CON SUSCRIPCIÃ“N Y PAGOS
   ========================================================================== */
.rd-footer {
  background-color: #102332;
  color: #E2E8F0;
  margin-top: 32px;
  padding: 42px 0 24px;
  font-size: 0.86rem;
}

.rd-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  .rd-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rd-footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1.3fr;
    gap: 28px;
  }
}

.rd-footer h4 {
  color: #ffffff;
  margin: 0 0 12px;
  font-size: 0.96rem;
  font-weight: 700;
}

.rd-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rd-footer li {
  margin-bottom: 8px;
}

.rd-footer a {
  color: #CBD5E1;
}

.rd-footer a:hover {
  color: #FFAE50;
}

/* Tarjeta de suscripciÃ³n en el footer */
.rd-newsletter-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px;
}

.rd-newsletter-card p {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: #CBD5E1;
}

.rd-newsletter-form {
  display: flex;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  padding: 3px;
}

.rd-newsletter-form input {
  flex: 1;
  border: none;
  padding: 8px 12px;
  font-size: 0.84rem;
  color: #102332;
  min-width: 0;
}

.rd-newsletter-form input:focus {
  outline: none;
}

.rd-newsletter-form button {
  background: var(--rd-grad-pink-btn);
  color: #ffffff;
  border: none;
  width: 38px;
  height: 36px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

/* Desplegables legales en el footer */
.rd-footer-drawers {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rd-footer-drawer {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.rd-footer-drawer summary {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.86rem;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rd-footer-drawer summary::-webkit-details-marker {
  display: none;
}

.rd-footer-drawer summary::after {
  content: "+";
  font-size: 1.15rem;
  color: #FFAE50;
}

.rd-footer-drawer[open] summary::after {
  content: "âˆ’";
}

.rd-footer-drawer-body {
  padding: 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  font-size: 0.84rem;
  line-height: 1.6;
}

.rd-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: #94A3B8;
}

.rd-footer-payments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rd-footer-slogan {
  color: #ffffff;
  font-weight: 700;
  margin-right: 6px;
}

.rd-pay-pill {
  background: #ffffff;
  color: #102332;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
}

/* ==========================================================================
   10. WHATSAPP FLOTANTE, BARRA MÃ“VIL Y CAJAS SECUNDARIAS
   ========================================================================== */
.rd-whatsapp-float {
  position: fixed;
  right: 14px;
  bottom: 72px;
  z-index: 1100;
  background: var(--rd-grad-pink-btn);
  color: #ffffff !important;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 22px rgba(247, 53, 168, 0.4);
}

.rd-whatsapp-float span:last-child {
  display: none;
}

@media (min-width: 768px) {
  .rd-whatsapp-float {
    right: 20px;
    width: auto;
    height: auto;
    padding: 11px 18px;
  }
  .rd-whatsapp-float span:last-child {
    display: inline;
  }
}

@media (min-width: 992px) {
  .rd-whatsapp-float {
    bottom: 24px;
  }
}

.rd-mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid #E2E8F0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 1050;
  box-shadow: 0 -2px 12px rgba(16, 35, 50, 0.06);
}

@media (min-width: 992px) {
  .rd-mobile-bottom-nav {
    display: none;
  }
}

.rd-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: #102332;
  gap: 2px;
}

.rd-legal-box,
.rd-404-box {
  background: #ffffff;
  border-radius: var(--rd-radius-lg);
  padding: 18px 14px;
  margin: 18px 0;
  box-shadow: var(--rd-shadow-sm);
  border: 1px solid var(--rd-border);
}

@media (min-width: 768px) {
  .rd-legal-box,
  .rd-404-box {
    padding: 32px;
    margin: 26px 0;
  }
}

/* ==========================================================================
   10. BLOQUES TEMÃTICOS Y SECCIONALES (VERANO, QUINCHOS, TERRAZAS Y LIFESTYLE)
   ========================================================================== */
.rd-section-block {
  background: #ffffff;
  border-radius: var(--rd-radius-lg);
  padding: 20px 14px;
  margin-bottom: 26px;
  box-shadow: var(--rd-shadow-sm);
  border: 1px solid var(--rd-border);
}

@media (min-width: 768px) {
  .rd-section-block {
    padding: 28px 24px;
  }
}

.rd-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.rd-section-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rd-section-icon {
  font-size: 2rem;
  line-height: 1;
}

.rd-section-pill {
  display: inline-block;
  background: #EDE9FE;
  color: #5C2AC7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.rd-section-pill--orange {
  background: #FFEDD5;
  color: #EA580C;
}

.rd-section-pill--pink {
  background: #FCE7F3;
  color: #DB2777;
}

.rd-section-pill--cyan {
  background: #E0F2FE;
  color: #0284C7;
}

.rd-section-pill--green {
  background: #DCFCE7;
  color: #16A34A;
}

.rd-section-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #102332;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .rd-section-title {
    font-size: 1.6rem;
  }
}

.rd-section-title span {
  color: #F735A8;
}

.rd-section-subtitle {
  margin: 3px 0 0;
  font-size: 0.82rem;
  color: var(--rd-text-muted);
}

.rd-section-view-all {
  background: #F1F5F9;
  color: #334155 !important;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.rd-section-view-all:hover {
  background: var(--rd-brand-violet);
  color: #ffffff !important;
  transform: translateX(2px);
}

/* DOBLE BANNER SPLIT LIFESTYLE (QUINCHOS & TERRAZAS / HOGAR) */
.rd-split-promo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 26px;
}

@media (min-width: 860px) {
  .rd-split-promo {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 20px;
  }
}

.rd-split-card {
  position: relative;
  border-radius: var(--rd-radius-lg);
  padding: 24px 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  box-shadow: var(--rd-shadow-sm);
  min-height: 220px;
}

@media (min-width: 600px) {
  .rd-split-card {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 28px 24px;
    min-height: 240px;
  }
}

.rd-split-card--violet {
  background: linear-gradient(135deg, #2D0B80 0%, #5C2AC7 60%, #903BFF 100%);
  color: #ffffff;
}

.rd-split-card--warm {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FED7AA 100%);
  color: #102332;
  border: 1px solid #FDBA74;
}

.rd-split-card__content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rd-split-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.rd-split-card--violet .rd-split-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.rd-split-card--warm .rd-split-badge {
  background: #EA580C;
  color: #ffffff;
}

.rd-split-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 8px;
}

@media (min-width: 768px) {
  .rd-split-card h3 {
    font-size: 1.65rem;
  }
}

.rd-split-card--violet h3 {
  color: #ffffff;
}

.rd-split-card--warm h3 {
  color: #102332;
}

.rd-split-card p {
  font-size: 0.84rem;
  line-height: 1.4;
  margin: 0 0 16px;
  max-width: 320px;
}

.rd-split-card--violet p {
  color: rgba(255, 255, 255, 0.9);
}

.rd-split-card--warm p {
  color: #475569;
}

.rd-split-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 10px;
}

@media (min-width: 600px) {
  .rd-split-card__visual {
    padding-top: 0;
  }
}

.rd-split-card__visual img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(16, 35, 50, 0.16);
}

.rd-split-bubble {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--rd-grad-pink-btn);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(247, 53, 168, 0.4);
  z-index: 3;
}

.rd-split-bubble small {
  font-size: 0.55rem;
  font-weight: 800;
}

.rd-split-bubble strong {
  font-size: 1.25rem;
  font-weight: 900;
}

.rd-split-bubble em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 800;
}

/* BANNER PANORÃMICO DE DESPACHO Y LOGÃSTICA */
.rd-panoramic-banner {
  background: linear-gradient(115deg, #102332 0%, #1A365D 50%, #2A4365 100%);
  color: #ffffff;
  border-radius: var(--rd-radius-lg);
  padding: 24px 20px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 18px;
  box-shadow: var(--rd-shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 860px) {
  .rd-panoramic-banner {
    grid-template-columns: 1.25fr 0.75fr;
    padding: 32px 36px;
  }
}

.rd-panoramic-banner__text h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #ffffff;
}

@media (min-width: 768px) {
  .rd-panoramic-banner__text h3 {
    font-size: 1.85rem;
  }
}

.rd-panoramic-banner__text p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #CBD5E1;
  margin: 0 0 18px;
  max-width: 540px;
}

.rd-panoramic-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}

@media (min-width: 600px) {
  .rd-panoramic-perks {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rd-panoramic-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 10px;
}

.rd-panoramic-banner__visual img {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* BANNER DE FIDELIZACIÃ“N / PUNTOS QUE TE HACEN BIEN */
.rd-loyalty-banner {
  background: linear-gradient(135deg, #FDF2F8 0%, #FCE7F3 50%, #EDE9FE 100%);
  border: 1px solid #FBCFE8;
  border-radius: var(--rd-radius-lg);
  padding: 22px 20px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .rd-loyalty-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 26px 32px;
  }
}

.rd-loyalty-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rd-loyalty-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--rd-grad-pink-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 16px rgba(247, 53, 168, 0.35);
  flex-shrink: 0;
}

.rd-loyalty-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #102332;
}

.rd-loyalty-title span {
  color: #F735A8;
}

.rd-loyalty-desc {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: #475569;
}

.rd-loyalty-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.rd-loyalty-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5C2AC7;
}

.rd-cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 68px;
  max-width: 960px;
  margin: 0 auto;
  background: #102332;
  color: #ffffff;
  padding: 16px 18px;
  border-radius: 16px;
  z-index: 1200;
  box-shadow: 0 12px 32px rgba(16, 35, 50, 0.45);
}

.rd-cookie-banner.is-hidden,
.rd-cookie-banner[hidden] {
  display: none !important;
}

.rd-cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.rd-cookie-banner .rd-btn--accent,
.rd-cookie-banner .rd-btn--primary {
  background: var(--rd-grad-pink-btn);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.rd-cookie-banner .rd-btn--outline,
.rd-cookie-banner .rd-btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

/* ==========================================================================
   10. MEGA MENÚ DE 2 NIVELES ESTILO PEPEBAR / RETAIL PRO
   ========================================================================== */
.rd-megamenu-wrapper {
  position: relative;
}

.rd-caret-down {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.rd-megamenu-wrapper.is-open .rd-caret-down {
  transform: rotate(180deg);
}

.rd-megamenu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: min(960px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 120px));
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 48px rgba(16, 35, 50, 0.22);
  z-index: 99999;
  overflow: hidden;
  box-sizing: border-box;
}

/* Puente invisible para no perder hover entre botón y menú */
.rd-megamenu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.rd-megamenu.is-open {
  display: block !important;
  animation: rdMegaFadeIn 0.18s ease-out forwards;
}

@media (min-width: 992px) {
  .rd-megamenu-wrapper:hover .rd-megamenu {
    display: block !important;
    animation: rdMegaFadeIn 0.18s ease-out forwards;
  }
  .rd-megamenu-wrapper:hover .rd-caret-down {
    transform: rotate(180deg);
  }
}

@keyframes rdMegaFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rd-megamenu-inner {
  display: flex;
  height: 100%;
  min-height: 380px;
  max-height: min(560px, calc(100vh - 120px));
}

/* Barra lateral izquierda de familias con scroll estilizado si hay muchas categorías */
.rd-megamenu-sidebar {
  width: 260px;
  min-width: 260px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 10px 6px;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  max-height: min(560px, calc(100vh - 120px));
  scrollbar-width: thin;
}

.rd-megamenu-sidebar::-webkit-scrollbar {
  width: 5px;
}
.rd-megamenu-sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.rd-megamenu-tab {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.90rem;
  font-weight: 600;
  color: #102332;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rd-megamenu-tab-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.rd-megamenu-tab-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rd-megamenu-tab-arrow {
  color: #94a3b8;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.15s ease;
}

.rd-megamenu-tab:hover,
.rd-megamenu-tab.is-active {
  background: #ffffff;
  color: #5C2AC7;
  box-shadow: 0 2px 8px rgba(16, 35, 50, 0.06);
}

.rd-megamenu-tab.is-active .rd-megamenu-tab-arrow {
  color: #F735A8;
  transform: translateX(3px);
}

/* Panel derecho de subcategorías */
.rd-megamenu-content {
  flex: 1;
  padding: 20px 24px;
  background: #ffffff;
  overflow-y: auto;
  max-height: min(560px, calc(100vh - 120px));
  scrollbar-width: thin;
}

.rd-megamenu-panel {
  display: none;
}

.rd-megamenu-panel.is-active {
  display: block;
}

.rd-megamenu-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.rd-megamenu-panel-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #102332;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rd-megamenu-view-all {
  font-size: 0.88rem;
  font-weight: 700;
  color: #5C2AC7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f5f3ff;
  transition: all 0.15s ease;
}

.rd-megamenu-view-all:hover {
  background: #5C2AC7;
  color: #ffffff;
}

.rd-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
}

.rd-megamenu-group-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #102332;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}

.rd-megamenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rd-megamenu-link {
  font-size: 0.86rem;
  color: #475569;
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35;
  transition: all 0.15s ease;
}

.rd-megamenu-link-bullet {
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

.rd-megamenu-link:hover {
  color: #F735A8;
  transform: translateX(3px);
}

.rd-megamenu-link:hover .rd-megamenu-link-bullet {
  color: #F735A8;
}

/* Acordeón Móvil / Drawer */
.rd-mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.rd-mobile-drawer.is-open {
  display: block;
}

.rd-mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 35, 50, 0.5);
  backdrop-filter: blur(2px);
}

.rd-mobile-drawer-body {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background: #ffffff;
  overflow-y: auto;
  padding: 20px 16px;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
}

.rd-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.rd-mobile-drawer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #102332;
}

.rd-mobile-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.rd-mobile-acc-item {
  border-bottom: 1px solid #f1f5f9;
}

.rd-mobile-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: 12px 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #102332;
  cursor: pointer;
  text-align: left;
}

.rd-mobile-acc-icon {
  font-size: 1.2rem;
  color: #94a3b8;
}

.rd-mobile-acc-content {
  display: none;
  padding: 6px 12px 14px;
}

.rd-mobile-acc-item.is-open .rd-mobile-acc-content {
  display: block;
}

.rd-mobile-acc-item.is-open .rd-mobile-acc-icon {
  transform: rotate(45deg);
}

.rd-mobile-acc-viewall {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #5C2AC7;
  text-decoration: none;
  margin-bottom: 10px;
}

.rd-mobile-acc-group strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #64748b;
  margin: 10px 0 6px;
}

.rd-mobile-acc-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rd-mobile-acc-group li a {
  display: block;
  padding: 4px 0;
  font-size: 0.88rem;
  color: #334155;
  text-decoration: none;
}

/* ==========================================================================
   11. BOTÓN "COTIZAR" Y PRECIO A COTIZAR (> $5.000.000 CLP)
   ========================================================================== */
.rd-btn-cotizar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.rd-btn-cotizar:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
  color: #ffffff !important;
}

.rd-price-quote-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-block;
  line-height: 1.2;
}

/* ==========================================================================
   12. PAGINACIÓN WOOCOMMERCE
   ========================================================================== */
.rd-pagination {
  margin: 36px 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rd-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #102332;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.rd-pagination .page-numbers:hover {
  border-color: #5C2AC7;
  color: #5C2AC7;
}

.rd-pagination .page-numbers.current {
  background: #5C2AC7;
  color: #ffffff;
  border-color: #5C2AC7;
  box-shadow: 0 4px 12px rgba(92, 42, 199, 0.25);
}

