/* =============================================================================
   ofertas.css — Página de Ofertas y Descuentos
   Rodio Divi Child Theme v2
   ============================================================================= */

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --rodio-primary:      #00B3A6;
  --rodio-primary-dark: #009688;
  --rodio-red:          #dc2626;
  --rodio-red-light:    #fef2f2;
  --rodio-orange:       #ea580c;
  --rodio-bg:           #f9fafb;
  --rodio-white:        #ffffff;
  --rodio-border:       #e5e7eb;
  --rodio-text:         #111827;
  --rodio-muted:        #6b7280;
  --rodio-radius:       0.5rem;
}

/* ── Reset scoped ──────────────────────────────────────────────────────────── */
.rodio-ofertas *,
.rodio-ofertas *::before,
.rodio-ofertas *::after {
  box-sizing: border-box;
}

.rodio-ofertas button,
.rodio-ofertas input,
.rodio-ofertas select {
  font-family: inherit;
}

/* ── Layout principal ──────────────────────────────────────────────────────── */
.rodio-ofertas {
  background: var(--rodio-bg);
  min-height: 100vh;
}

.rodio-main {
  display: flex;
  gap: 1.5rem;
  max-width: 1920px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  position: relative;
  align-items: flex-start;
}

/* ── Accesibilidad ─────────────────────────────────────────────────────────── */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
  white-space: nowrap;
}

/* =============================================================================
   PROMO BANNER
   ============================================================================= */
.rodio-promo-banner {
  background: linear-gradient(to right, #dc2626, #ef4444, #f97316);
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  text-align: center;
}

.rodio-promo-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.10);
  pointer-events: none;
}

/* Círculos decorativos */
.rodio-promo-banner::before,
.rodio-promo-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.rodio-promo-banner::before {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
}
.rodio-promo-banner::after {
  width: 200px;
  height: 200px;
  bottom: -80px;
  left: 5%;
}

.rodio-promo-banner__inner {
  position: relative;
  z-index: 1;
  color: white;
}

.rodio-promo-banner__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.rodio-promo-banner__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0.25rem 0 0.5rem;
  line-height: 1.1;
  color: #fff;
}

.rodio-promo-banner__subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0 0 1rem;
  color: #fff;
}

.rodio-promo-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* =============================================================================
   CATEGORIES BAR
   ============================================================================= */
.rodio-cats-bar {
  background: linear-gradient(to bottom, #fff, #f9fafb);
  border-bottom: 1px solid var(--rodio-border);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.rodio-cats-bar__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.rodio-cats-bar__inner::-webkit-scrollbar {
  display: none;
}

.rodio-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--rodio-radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--rodio-white);
  color: #374151;
  border: 1px solid var(--rodio-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  white-space: nowrap;
  line-height: 1;
}

.rodio-cat-btn:hover {
  background: #fef2f2;
  color: var(--rodio-red);
  border-color: #fca5a5;
  transform: scale(1.03);
}

.rodio-cat-btn--active {
  background: var(--rodio-red);
  color: white;
  border-color: var(--rodio-red);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  transform: scale(1.05);
}

.rodio-cat-btn--active:hover {
  background: #b91c1c;
  color: white;
}

/* =============================================================================
   FILTER BAR
   ============================================================================= */
.rodio-filter-bar {
  background: var(--rodio-white);
  border-bottom: 1px solid var(--rodio-border);
  position: sticky;
  top: 59px; /* altura aprox de cats-bar */
  z-index: 19;
}

.rodio-filter-bar__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rodio-filter-bar__left,
.rodio-filter-bar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rodio-filter-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--rodio-border);
  border-radius: var(--rodio-radius);
  background: var(--rodio-white);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--rodio-text);
}

.rodio-filter-toggle:hover {
  border-color: var(--rodio-primary);
  color: var(--rodio-primary);
}

.rodio-product-count {
  font-size: 0.875rem;
  color: var(--rodio-muted);
}

.rodio-product-count strong {
  color: var(--rodio-text);
  font-weight: 600;
}

.rodio-select {
  font-size: 0.875rem;
  border: 1px solid var(--rodio-border);
  border-radius: var(--rodio-radius);
  padding: 0.375rem 0.75rem;
  outline: none;
  cursor: pointer;
  background: var(--rodio-white);
  color: var(--rodio-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rodio-select:focus {
  border-color: var(--rodio-primary);
  box-shadow: 0 0 0 2px rgba(0, 179, 166, 0.2);
}

.rodio-view-toggle {
  display: flex;
  border: 1px solid var(--rodio-border);
  border-radius: var(--rodio-radius);
  overflow: hidden;
}

.rodio-view-btn {
  padding: 0.375rem 0.625rem;
  background: var(--rodio-white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.15s;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rodio-view-btn:hover {
  background: #f3f4f6;
  color: var(--rodio-text);
}

.rodio-view-btn--active {
  background: #f3f4f6;
  color: var(--rodio-text);
}

/* =============================================================================
   SIDEBAR
   ============================================================================= */
.rodio-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--rodio-white);
  border: 1px solid var(--rodio-border);
  border-radius: var(--rodio-radius);
  position: sticky;
  top: 7.5rem;
  height: fit-content;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--rodio-border) transparent;
}

.rodio-sidebar::-webkit-scrollbar {
  width: 4px;
}
.rodio-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.rodio-sidebar::-webkit-scrollbar-thumb {
  background: var(--rodio-border);
  border-radius: 2px;
}

.rodio-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--rodio-border);
  background: var(--rodio-white);
  position: sticky;
  top: 0;
  z-index: 1;
}

.rodio-sidebar__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--rodio-text);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.rodio-sidebar__close {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--rodio-muted);
  border-radius: 0.25rem;
  transition: background 0.15s, color 0.15s;
}

.rodio-sidebar__close:hover {
  background: #f3f4f6;
  color: var(--rodio-text);
}

.rodio-sidebar__search {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rodio-border);
}

.rodio-sidebar__body {
  overflow: hidden;
}

.rodio-sidebar__footer {
  padding: 0.875rem 1rem 1rem;
  border-top: 1px solid var(--rodio-border);
  background: var(--rodio-white);
  position: sticky;
  bottom: 0;
}

/* ── Accordion ─────────────────────────────────────────────────────────────── */
.rodio-accordion {
  border-bottom: 1px solid var(--rodio-border);
}

.rodio-accordion--red {
  background: rgba(254, 242, 242, 0.5);
}

.rodio-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  color: var(--rodio-text);
  transition: background 0.15s;
}

.rodio-accordion__trigger:hover {
  background: rgba(0, 0, 0, 0.02);
}

.rodio-accordion--red .rodio-accordion__trigger {
  color: #991b1b;
}

.rodio-accordion__chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
  color: var(--rodio-muted);
}

.rodio-accordion:not(.rodio-accordion--open) .rodio-accordion__chevron {
  transform: rotate(180deg);
}

.rodio-accordion__content {
  padding: 0.25rem 1rem 0.875rem;
}

.rodio-accordion:not(.rodio-accordion--open) .rodio-accordion__content {
  display: none;
}

/* ── Filter Items ──────────────────────────────────────────────────────────── */
.rodio-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.25rem;
}

.rodio-filter-item:last-child {
  margin-bottom: 0;
}

.rodio-filter-item label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #374151;
  cursor: pointer;
  line-height: 1.4;
  flex: 1;
}

.rodio-filter-item input[type="checkbox"] {
  accent-color: var(--rodio-primary);
  width: 15px;
  height: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.rodio-accordion--red .rodio-filter-item input[type="checkbox"] {
  accent-color: var(--rodio-red);
}

.rodio-filter-count {
  font-size: 0.75rem;
  color: #9ca3af;
  white-space: nowrap;
}

.rodio-empty-filter {
  font-size: 0.8125rem;
  color: var(--rodio-muted);
  margin: 0;
}

/* ── Price range display ───────────────────────────────────────────────────── */
.rodio-price-range {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rodio-text);
  margin-top: 0.75rem;
}

/* ── Skeleton inline (sidebar) ─────────────────────────────────────────────── */
.rodio-skeleton-inline {
  font-size: 0.8125rem;
  color: #9ca3af;
  padding: 0.25rem 0;
}

/* =============================================================================
   PRODUCTS AREA
   ============================================================================= */
.rodio-products-area {
  flex: 1;
  min-width: 0;
}

/* ── Grid ──────────────────────────────────────────────────────────────────── */
.rodio-grid {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: repeat(2, 1fr);
  transition: opacity 0.2s;
}

@media (min-width: 480px) {
  .rodio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) {
  .rodio-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .rodio-grid.rodio-grid--4col { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1366px) {
  .rodio-grid.rodio-grid--4col { grid-template-columns: repeat(5, 1fr); }
}

/* ── Lista ─────────────────────────────────────────────────────────────────── */
.rodio-grid--list {
  grid-template-columns: 1fr !important;
}

.rodio-grid--list .rodio-promo-card {
  display: flex;
  flex-direction: row;
}

.rodio-grid--list .rodio-promo-card__image-wrap {
  width: 180px;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.rodio-grid--list .rodio-promo-card__body {
  flex: 1;
}

/* =============================================================================
   PROMO PRODUCT CARD
   ============================================================================= */
.rodio-promo-card {
  background: var(--rodio-white);
  border-radius: var(--rodio-radius);
  border: 1px solid #f3f4f6;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rodio-promo-card:hover {
  border-color: #fca5a5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.rodio-promo-card--out-of-stock {
  opacity: 0.6;
}

/* ── Image wrap ────────────────────────────────────────────────────────────── */
.rodio-promo-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f9fafb;
}

.rodio-promo-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
  margin-top: 1.25rem;
  padding: 0.5rem;
}

.rodio-promo-card:hover .rodio-promo-card__image-wrap img {
  transform: scale(1.05);
}

/* ── Time bar ──────────────────────────────────────────────────────────────── */
.rodio-promo-card__time-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to right, var(--rodio-red), #f97316);
  color: white;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.2rem;
  z-index: 2;
}

/* ── Badges ────────────────────────────────────────────────────────────────── */
.rodio-promo-card__discount-badge {
  position: absolute;
  top: 1.6rem;
  left: 0.5rem;
  background: var(--rodio-red);
  color: white;
  padding: 0.2rem 0.45rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.8125rem;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
  z-index: 3;
  line-height: 1.2;
}

.rodio-promo-card__type-badge {
  position: absolute;
  top: 1.6rem;
  right: 0.5rem;
  color: white;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 3;
  line-height: 1.4;
}

.rodio-promo-card__type-badge--flash   { background: var(--rodio-red); }
.rodio-promo-card__type-badge--special { background: var(--rodio-orange); }

/* ── Sold out overlay ──────────────────────────────────────────────────────── */
.rodio-promo-card__sold-out {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  z-index: 4;
}

.rodio-promo-card__sold-out span {
  background: #1f2937;
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ── Card body ─────────────────────────────────────────────────────────────── */
.rodio-promo-card__body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}

.rodio-promo-card__name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rodio-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4rem;
  margin: 0;
  line-height: 1.4;
}

.rodio-promo-card__name a {
  color: inherit;
  text-decoration: none;
}

.rodio-promo-card__name a:hover {
  color: var(--rodio-primary);
}

.rodio-promo-card__spec {
  font-size: 0.75rem;
  color: var(--rodio-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Prices ────────────────────────────────────────────────────────────────── */
.rodio-promo-card__prices {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.rodio-promo-card__original-price {
  color: #9ca3af;
  font-size: 0.8125rem;
  display: block;
  text-decoration: line-through;
}

.rodio-promo-card__sale-price {
  color: var(--rodio-red);
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.rodio-promo-card__savings {
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 500;
  display: block;
}

.rodio-promo-card__unavailable {
  color: var(--rodio-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  margin: 0;
}

/* ── Countdown ─────────────────────────────────────────────────────────────── */
.rodio-promo-card__countdown {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.25rem;
  padding: 0.375rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #c2410c;
}

.rodio-countdown-icon {
  flex-shrink: 0;
}

/* ── Card actions ──────────────────────────────────────────────────────────── */
.rodio-promo-card__actions {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.375rem;
  margin-top: auto;
}

/* =============================================================================
   BOTONES
   ============================================================================= */
.rodio-btn {
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
  text-decoration: none;
}

.rodio-btn--primary {
  background: var(--rodio-primary);
  color: white;
  flex: 1;
  border-color: var(--rodio-primary);
}

.rodio-btn--primary:hover {
  background: var(--rodio-primary-dark);
  border-color: var(--rodio-primary-dark);
  color: white;
}

.rodio-btn--outline-icon {
  border-color: var(--rodio-border);
  background: var(--rodio-white);
  color: var(--rodio-text);
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  flex-shrink: 0;
}

.rodio-btn--outline-icon:hover {
  border-color: var(--rodio-primary);
  color: var(--rodio-primary);
}

.rodio-btn--outline {
  border-color: var(--rodio-border);
  background: var(--rodio-white);
  color: var(--rodio-text);
  width: 100%;
  justify-content: center;
}

.rodio-btn--outline:hover {
  border-color: var(--rodio-primary);
  color: var(--rodio-primary);
}

.rodio-btn--disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  flex: 1;
  border-color: var(--rodio-border);
}

/* ── Input ─────────────────────────────────────────────────────────────────── */
.rodio-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--rodio-border);
  border-radius: var(--rodio-radius);
  font-size: 0.875rem;
  outline: none;
  box-sizing: border-box;
  color: var(--rodio-text);
  background: var(--rodio-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rodio-input:focus {
  border-color: var(--rodio-primary);
  box-shadow: 0 0 0 2px rgba(0, 179, 166, 0.15);
}

/* =============================================================================
   PAGINACIÓN
   ============================================================================= */
.rodio-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.rodio-page-btn {
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--rodio-border);
  border-radius: var(--rodio-radius);
  background: var(--rodio-white);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--rodio-text);
  min-width: 2.25rem;
  text-align: center;
}

.rodio-page-btn:hover:not([disabled]) {
  border-color: var(--rodio-primary);
  color: var(--rodio-primary);
}

.rodio-page-btn--active {
  background: var(--rodio-primary);
  color: white;
  border-color: var(--rodio-primary);
}

.rodio-page-btn--active:hover {
  background: var(--rodio-primary-dark);
  border-color: var(--rodio-primary-dark);
  color: white;
}

.rodio-page-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* =============================================================================
   MOBILE DRAWER BACKDROP
   ============================================================================= */
.rodio-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
  cursor: pointer;
}

.rodio-sidebar-backdrop--visible {
  display: block;
}

/* =============================================================================
   SKELETON / LOADING
   ============================================================================= */
.rodio-loading {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px)  { .rodio-loading { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .rodio-loading { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1366px) { .rodio-loading { grid-template-columns: repeat(5, 1fr); } }

.rodio-skeleton-card {
  background: linear-gradient(90deg, #f3f4f6 25%, #e9eaec 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  border-radius: var(--rodio-radius);
  aspect-ratio: 0.72;
  animation: rodio-shimmer 1.5s ease-in-out infinite;
}

@keyframes rodio-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================================================
   EMPTY STATE
   ============================================================================= */
.rodio-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
  user-select: none;
}

.rodio-empty p {
  color: var(--rodio-muted);
  font-size: 1rem;
  margin: 0 0 1rem;
}

/* =============================================================================
   noUiSlider overrides
   ============================================================================= */
#rodio-price-slider {
  margin: 0.75rem 0.5rem 0;
}

.noUi-connect {
  background: var(--rodio-primary);
}

.noUi-handle {
  border-color: var(--rodio-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: grab;
}

.noUi-handle:active {
  cursor: grabbing;
}

.noUi-handle::before,
.noUi-handle::after {
  background: var(--rodio-primary);
}

.noUi-target {
  border-radius: 4px;
  border-color: var(--rodio-border);
  box-shadow: none;
}

/* =============================================================================
   RESPONSIVE — MOBILE
   ============================================================================= */
@media (max-width: 1023px) {
  .rodio-filter-toggle {
    display: inline-flex;
  }

  .rodio-sidebar {
    position: fixed;
    left: -320px;
    top: 0;
    bottom: 0;
    width: 300px;
    z-index: 50;
    border-radius: 0;
    overflow-y: auto;
    transition: left 0.3s ease;
    max-height: 100vh;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .rodio-sidebar--open {
    left: 0;
  }

  .rodio-sidebar__close {
    display: flex;
  }

  .rodio-product-count {
    display: none;
  }

  .rodio-main {
    padding: 1rem;
    gap: 0;
  }
}

@media (max-width: 639px) {
  .rodio-promo-banner {
    padding: 2rem 1rem;
  }

  .rodio-cats-bar__inner {
    justify-content: flex-start;
    padding: 0.75rem 1rem;
  }

  .rodio-filter-bar__inner {
    padding: 0.5rem 1rem;
  }

  .rodio-view-toggle {
    display: none;
  }

  .rodio-promo-banner__title {
    font-size: 1.5rem;
  }

  .rodio-main {
    padding: 0.75rem;
  }
}
