/* ========== RNET - THEME VARIABLES (HEADER/FOOTER SIEMPRE OBSCUROS) ========== */
:root{
  --bg:#ffffff;
  --bg-card:#f8fafc;
  --text:#0f172a;
  --text-muted:#64748b;
  --border:#e2e8f0;
  --header-bg:#141414; /* siempre oscuro */
  --footer-bg:#0d0d0d;
  --accent:#96B625;
  --accent-h:#C6E94F;
  --ease-elegant: cubic-bezier(.22,.61,.36,1);
  --shadow-elevated: 0 20px 48px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.35);
  --shadow-glow: 0 12px 32px rgba(178, 210, 53,.16);
}
[data-theme="dark"]{
  --bg:#0d0d0d;
  --bg-card:#1a1a1a;
  --text:#F4F6F5;
  --text-muted:#9AA4A0;
  --border:#2a2a2a;
  --accent:#B2D235;
  --accent-h:#C6E94F;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background:var(--bg) !important;
  color: var(--text) !important;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .25s, color .25s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ---------- CONTAINER - NO TOCAR BACKGROUND DEL SLIDER ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 768px)  { .container { padding-inline: 16px; } }
@media (max-width: 480px)  { .container { padding-inline: 12px; } }

/* ---------- TOP BAR - SIEMPRE OBSCURO ---------- */
.ts-topbar {
  
  border-bottom: 1px solid #1e1e1e !important;
  padding: 7px 0;
  font-size: 12px;
  color: #aaa;
}

/* ---------- HEADER - SIEMPRE OBSCURO ---------- */
.ts-header {
 
  border-bottom: 1px solid #252525 !important;
  box-shadow: 0 1px 0 rgba(178, 210, 53,.06), 0 12px 28px rgba(0,0,0,.35);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.ts-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }

/* ---------- CONTENIDO QUE SI CAMBIA ---------- */
.ts-products__grid, .ts-product-card, .ts-categories, .ts-brands, .ts-benefits, .ts-about__content {
  background: var(--bg);
  color: var(--text);
}
.ts-product-card {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}
.ts-product-card__title a { color: var(--text) !important; }
.ts-benefits { background: var(--bg-card) !important; border-color: var(--border) !important; }
.ts-about__content { background: var(--bg-card) !important; }
.ts-about__content h2 { color: var(--text) !important; }
.ts-about__content p { color: var(--text-muted) !important; }

/* ---------- FOOTER - SIEMPRE OBSCURO ---------- */
.ts-footer { background: var(--footer-bg) !important; border-top: 1px solid #1e1e1e !important; }
.ts-footer__top, .ts-footer__bottom { background: transparent !important; }

/* ---------- TOGGLE ---------- */
.rnet-toggle{
  width:42px; height:42px; border-radius:99px;
  background: #1e1e1e; border:1px solid #2a2a2a;
  display:grid; place-items:center; cursor:pointer; font-size:20px; color:#fff;
}

/* Logo */
.ts-header__logo { flex-shrink: 0; }
.ts-header__logo a { display: flex; align-items: center; text-decoration: none; }
.ts-logo-default { display: flex; align-items: center; gap: 10px; }
.ts-logo-text { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.2; max-width: 80px; }
.ts-theme-logo { position: relative; width: 210px; height: 82px; }
.ts-theme-logo__image { width: 210px; height: 55px!important; object-fit: contain; transition: opacity .2s ease; }
.ts-theme-logo__image--light { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
html[data-theme="light"] .ts-theme-logo__image--dark { opacity: 0; pointer-events: none; }
html[data-theme="light"] .ts-theme-logo__image--light { opacity: 1; pointer-events: auto; }
html[data-theme="dark"] .ts-theme-logo__image--dark { opacity: 1; }
html[data-theme="dark"] .ts-theme-logo__image--light { opacity: 0; pointer-events: none; }

/* Search */
.ts-header__search {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.ts-search-form {
  display: flex;
  width: 100%;
  max-width: 540px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .25s var(--ease-elegant), box-shadow .25s var(--ease-elegant);
}
.ts-search-form:focus-within { border-color: #B2D235; box-shadow: 0 0 0 3px rgba(178, 210, 53,.14); }
.ts-search-input {
  flex: 1; min-width: 0;
  background: none; border: none;
  padding: 10px 20px; color: #fff; font-size: 14px; outline: none;
}
.ts-search-input::placeholder { color: #666; }
.ts-search-btn {
  background: #B2D235; color: #0d0d0d; border: none;
  padding: 0 20px; font-size: 17px;
  display: flex; align-items: center; cursor: pointer;
  transition: background .2s; flex-shrink: 0;
}
.ts-search-btn:hover { background: #C6E94F; }

/* Actions */
.ts-header__actions { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.ts-action-btn {
  display: flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none;
  padding: 6px 10px; border-radius: 6px;
  transition: background .2s; font-size: 13px; cursor: pointer;
  white-space: nowrap;
}
.ts-action-btn:hover { background: #1e1e1e; color: #B2D235; }
.ts-action-btn > i { font-size: 22px; }
.ts-action-label { display: flex; flex-direction: column; line-height: 1.2; }
.ts-action-label small { color: #888; font-size: 11px; }
.ts-action-label strong { font-size: 13px; font-weight: 600; }
.ts-cart-icon { position: relative; }
.ts-cart-count {
  position: absolute; top: -8px; right: -8px;
  background: #B2D235; color: #000;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.ts-badge {
  background: #B2D235; color: #000;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 3px;
}

/* Close button inside mobile drawer – hidden on desktop */
.ts-nav-close { display: none; }

/* Mobile toggle */
.ts-mobile-toggle {
  display: none; align-items: center; justify-content: center;
  color: #fff; font-size: 26px;
  padding: 6px; background: none; border: none; cursor: pointer;
  border-radius: 6px; min-width: 44px; min-height: 44px;
  transition: background .2s;
}
.ts-mobile-toggle:hover { background: #1e1e1e; }

/* ---------- NAVIGATION ---------- */
.ts-nav { background: #141414; padding-bottom:0; }
.ts-nav__inner {
  display: flex;
  justify-content: center;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}
.ts-nav__menu { display: flex; align-items: center; gap: 0; }
.ts-nav__menu > li { position: relative; }
.ts-nav__menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 14px 16px;
  color: #C7CDD2; font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .8px;
  text-decoration: none; transition: color .2s var(--ease-elegant), border-bottom-color .2s var(--ease-elegant);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.ts-nav__menu > li > a:hover,
.ts-nav__menu > li.current-menu-item > a { color: #B2D235; border-bottom-color: #B2D235; }

/* HOT badge */
.ts-nav__menu .ts-hot { position: relative; }
.ts-nav__menu .ts-hot > a::after {
  content: 'HOT'; position: absolute; top: 8px; right: 2px;
  background: #e84545; color: #fff; font-size: 9px; font-weight: 700;
  padding: 1px 4px; border-radius: 3px; line-height: 1.4;
}

/* Dropdown arrow */
.ts-nav__menu .menu-item-has-children > a .ts-drop-arrow {
  font-size: 16px; transition: transform .2s; margin-left: 2px;
}
.ts-nav__menu .menu-item-has-children:hover > a .ts-drop-arrow { transform: rotate(180deg); }

/* Dropdown */
.ts-nav__menu .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 999;
  background: #1a1a1a; border: 1px solid #2a2a2a; border-top: 2px solid #B2D235;
  min-width: 210px; border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.ts-nav__menu li:hover > .sub-menu { display: block; }
.ts-nav__menu .sub-menu li a {
  display: block; padding: 10px 18px;
  color: #ccc; font-size: 13px; text-decoration: none;
  transition: color .2s, background .2s;
}
.ts-nav__menu .sub-menu li a:hover { background: #242424; color: #B2D235; }

/* ---------- HERO ---------- */
.ts-hero { position: relative; overflow: hidden; background: #0d0d0d; }
.ts-hero-swiper { min-height: 520px; }
.ts-hero__slide {
  position: relative; overflow: hidden;
  min-height: 520px; display: flex; align-items: center;
}
.ts-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;           /* imagen cubre todo el área sin deformar */
  background-position: center center;
  
  background-color: #0d0d0d;        /* relleno lateral con el color del tema */
  opacity: 1;
  image-rendering: high-quality;
}
/* Capa oscura independiente de la imagen – controlada por el campo "Oscurecer fondo" */
.ts-hero__dim {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
}
.ts-hero__bg-glow {
  position: absolute; right: 0; top: 0; width: 60%; height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(178, 210, 53,.18) 0%, transparent 65%);
  pointer-events: none; z-index: 2;
}
.ts-hero__content {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
  width: 100%; padding: 70px 0; position: relative; z-index: 3;
}
.ts-hero__text { max-width: 560px; }
.ts-hero__subtitle {
  color: #B2D235; font-size: 12.5px; font-weight: 600;
  margin-bottom: 16px; letter-spacing: 2.5px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.ts-hero__subtitle::before {
  content: ''; width: 22px; height: 1px; background: #B2D235; display: inline-block;
}
.ts-hero__title {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -.5px;
  color: #fff; margin-bottom: 20px;
}
.ts-hero__desc { color: #A7B0AD; font-size: 15px; line-height: 1.75; margin-bottom: 34px; font-weight: 300; }
.ts-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.ts-hero__image {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.ts-hero__wifi-icon {
  width: 220px; height: 220px; opacity: .85;
  filter: drop-shadow(0 0 30px rgba(178, 210, 53,.4));
}
.ts-hero__pagination { bottom: 20px !important; }
.ts-hero__pagination .swiper-pagination-bullet { background: #555; opacity: 1; }
.ts-hero__pagination .swiper-pagination-bullet-active {
  background: #B2D235; width: 24px; border-radius: 3px;
}
.ts-hero-prev, .ts-hero-next {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.ts-hero-prev { left: 20px; }
.ts-hero-next { right: 20px; }
.ts-hero-prev:hover, .ts-hero-next:hover {
  background: #B2D235; color: #000; border-color: #B2D235;
}
.ts-hero-prev.swiper-button-disabled,
.ts-hero-next.swiper-button-disabled { opacity: .3; pointer-events: none; }

/* ---------- BUTTONS ---------- */
.ts-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .8px;
  text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease-elegant), box-shadow .25s var(--ease-elegant), background .2s, color .2s, border-color .2s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.ts-btn--primary {
  background: linear-gradient(180deg, #C6E94F 0%, #96B625 100%);
  color: #000000; border-color: transparent;
  box-shadow: 0 10px 24px rgba(178, 210, 53,.28);
}
.ts-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(178, 210, 53,.36); }
.ts-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.ts-btn--ghost:hover { background: rgba(255,255,255,.06); border-color: #fff; transform: translateY(-2px); }
.ts-btn--outline { background: transparent; color: #B2D235; border-color: #7C9629; }
.ts-btn--outline:hover { background: rgba(178, 210, 53,.1); border-color: #B2D235; transform: translateY(-2px); }
.ts-btn--cart {
  background: #252525; color: #fff; border-color: #2a2a2a;
  width: 100%; justify-content: center;
  font-size: 11.5px; padding: 11px 16px;
}
.ts-btn--cart:hover { background: #B2D235; color: #000000; border-color: #B2D235; }

/* ---------- SECTION ---------- */
.ts-section { padding: 60px 0; }
.ts-section-title {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700; text-align: center;
  margin-bottom: 40px; letter-spacing: 1.5px;
  color: #fff; text-transform: uppercase;
}
.ts-section-title span { color: #B2D235; }
.ts-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.ts-section-header .ts-section-title { margin-bottom: 0; text-align: left; }
.ts-see-all {
  color: #B2D235; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 4px; text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
}
.ts-see-all:hover { color: #C6E94F; }

/* ---------- ARROWS ---------- */
.ts-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: #1e1e1e; border: 1px solid #333;
  color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; flex-shrink: 0;
}
.ts-arrow:hover { background: #B2D235; color: #000; border-color: #B2D235; }
.ts-arrow.swiper-button-disabled { opacity: .3; pointer-events: none; }

/* ---------- CATEGORIES ---------- */
.ts-categories {}
.ts-categories__wrapper { display: flex; align-items: center; gap: 14px; }
.ts-cat-swiper { flex: 1; overflow: hidden; min-width: 0; }
.ts-cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 20%;
  padding: 18px 12px; text-decoration: none;
  transition: border-color .3s var(--ease-elegant), transform .3s var(--ease-elegant), box-shadow .3s var(--ease-elegant);
}
.ts-cat-card:hover {
  border-color: #7C9629; transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.4), 0 0 0 1px rgba(178, 210, 53,.08);
}
.ts-cat-card__img {
  width: 120px; height: 120px; display: flex; align-items: center;
  justify-content: center; overflow: hidden; border-radius: 20%; 
}
.ts-cat-card__img img { width: 100%; height: 100%; object-fit: contain; }
.ts-cat-card__name { font-size: 12px; font-weight: 600; color: #ddd; text-align: center; }
.ts-cat-card:hover .ts-cat-card__name { color: #B2D235; }

/* ---------- PRODUCTS GRID ---------- */
/* Products slider wrapper – igual que categorías y marcas */
.ts-products__wrapper { display: flex; align-items: center; gap: 14px; }
.ts-products-swiper   { flex: 1; overflow: hidden; min-width: 0; }
/* El grid original queda como fallback si Swiper no carga */
.ts-products__grid    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ts-product-card {
  background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 14px;
  overflow: hidden; position: relative;
  transition: border-color .3s var(--ease-elegant), box-shadow .3s var(--ease-elegant), transform .3s var(--ease-elegant);
  display: flex; flex-direction: column;
}
.ts-product-card:hover {
  border-color: #7C9629;
  box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(178, 210, 53,.1);
  transform: translateY(-4px);
}
.ts-badge--sale {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #e84545; color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 7px; border-radius: 4px;
}
.ts-product-card__wishlist {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  color: #888; font-size: 20px; transition: color .2s;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.ts-product-card__wishlist:hover { color: #e84545; }
.ts-product-card__img-wrap { display: block; aspect-ratio: 1; overflow: hidden; background: #111; }
.ts-product-card__img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .3s; padding: 12px;
}
.ts-product-card:hover .ts-product-card__img { transform: scale(1.05); }
.ts-product-card__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ts-product-card__title { font-size: 13px; font-weight: 500; color: #ddd; line-height: 1.4; }
.ts-product-card__title a { color: inherit; text-decoration: none; }
.ts-product-card__title a:hover { color: #B2D235; }
.ts-product-card__rating { display: flex; align-items: center; gap: 4px; color: #B2D235; font-size: 13px; }
.ts-product-card__rating span { color: #888; font-size: 11px; margin-left: 4px; }
.ts-product-card__price { margin-top: auto; }
.ts-product-card__price .woocommerce-Price-amount { font-size: 16px; font-weight: 700; color: #B2D235; }
.ts-product-card__price del .woocommerce-Price-amount { font-size: 13px; font-weight: 400; color: #666; }
.ts-product-card__price ins { text-decoration: none; }
.ts-product-card__price del { display: inline; }

/* ---------- BRANDS ---------- */
.ts-brands {}
.ts-brands__wrapper { display: flex; align-items: center; gap: 14px; }
.ts-brand-swiper { flex: 1; overflow: hidden; min-width: 0; }
.ts-brand-logo {
  display: flex; align-items: center; justify-content: center;
  height: 64px; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 8px;
  padding: 12px 20px; transition: border-color .2s, filter .2s;
  text-decoration: none;
}
.ts-brand-logo:hover { border-color: #B2D235; }
.ts-brand-logo img {
  max-height: 40px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1) opacity(.6); transition: filter .2s;
}
.ts-brand-logo:hover img { filter: brightness(0) invert(1) opacity(1); }
.ts-brand-name { color: #888; font-size: 14px; font-weight: 600; }

/* ---------- BENEFITS ---------- */
.ts-benefits {
  background: #141414;
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
  padding: 20px 0;
}
.ts-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ts-benefit { display: flex; align-items: center; gap: 16px; }
.ts-benefit > i { font-size: 36px; color: #B2D235; flex-shrink: 0; }
.ts-benefit div { display: flex; flex-direction: column; }
.ts-benefit strong { font-size: 14px; font-weight: 600; color: #fff; }
.ts-benefit span { font-size: 12px; color: #888; }

/* ---------- ABOUT ---------- */
.ts-about { display: grid; grid-template-columns: 1fr 1fr; }
.ts-about__image { overflow: hidden; position: relative; min-height: 320px; }
.ts-about__image img { width: 100%; height: 100%; object-fit: cover; }
.ts-about__image-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  height: 100%; min-height: 280px;
}
.ts-about__content {
  background: #181818; padding: 60px 48px;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.ts-label { font-size: 11px; font-weight: 700; color: #B2D235; letter-spacing: 2px; text-transform: uppercase; }
.ts-about__content h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800; color: #fff; line-height: 1.2; }
.ts-about__content p { color: #aaa; font-size: 14px; line-height: 1.7; }

/* ---------- FOOTER ---------- */
.ts-footer { background: #141414; border-top: 1px solid #1e1e1e; }
.ts-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 40px; padding: 56px 0 40px;
}
.ts-footer__logo { display: flex; margin-bottom: 14px; }
.ts-footer__logo .custom-logo { max-height: 50px; }
.ts-footer__tagline { color: #888; font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.ts-footer__social { display: flex; gap: 10px; flex-wrap: wrap; }
.ts-footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #2a2a2a;
  display: flex; align-items: center; justify-content: center;
  color: #888; font-size: 16px; transition: all .2s; text-decoration: none;
}
.ts-footer__social a:hover { background: #B2D235; border-color: #B2D235; color: #000; }
.ts-footer__col h4 {
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase;
}
.ts-footer__links { display: flex; flex-direction: column; gap: 10px; }
.ts-footer__links a { color: #888; font-size: 13px; text-decoration: none; transition: color .2s; }
.ts-footer__links a:hover { color: #B2D235; }
.ts-footer__col p { color: #888; font-size: 13px; margin-bottom: 14px; line-height: 1.5; }

/* Newsletter */
.ts-newsletter-wrap {
  display: flex; background: #1a1a1a; border: 1px solid #2a2a2a;
  border-radius: 6px; overflow: hidden; transition: border-color .2s;
}
.ts-newsletter-wrap:focus-within { border-color: #B2D235; }
.ts-newsletter-input {
  flex: 1; min-width: 0; background: none; border: none;
  padding: 10px 14px; color: #fff; font-size: 13px; outline: none;
}
.ts-newsletter-input::placeholder { color: #555; }
.ts-newsletter-btn {
  background: #B2D235; color: #000; border: none;
  padding: 0 16px; font-size: 17px;
  display: flex; align-items: center; cursor: pointer; transition: background .2s;
  flex-shrink: 0;
}
.ts-newsletter-btn:hover { background: #C6E94F; }
.ts-newsletter-msg { font-size: 12px; margin-top: 8px; color: #B2D235; }

/* Footer bottom */
.ts-footer__bottom { border-top: 1px solid #1e1e1e; padding: 20px 0; }
.ts-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ts-footer__bottom p { color: #555; font-size: 12px; }
.ts-payment-icons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ts-payment-icons img { height: 22px; width: auto; filter: brightness(0) invert(1) opacity(.5); }

/* ---------- WHATSAPP FAB ---------- */
.ts-whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: #25d366; color: #fff; border-radius: 50%;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s; text-decoration: none;
}
.ts-whatsapp-fab:hover {
  transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); color: #fff;
}

/* ---------- MAIN LAYOUT ---------- */
.ts-main-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding: 40px 0; }
.ts-content { min-width: 0; }
.ts-sidebar {}

/* Archive / Blog */
.ts-archive-header { margin-bottom: 32px; }
.ts-archive-title { font-size: 1.6rem; font-weight: 800; color: #fff; }
.ts-archive-desc { color: #aaa; font-size: 14px; margin-top: 8px; }
.ts-posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ts-post-card {
  background: #1a1a1a; border: 1px solid #252525; border-radius: 10px;
  overflow: hidden; transition: border-color .2s;
}
.ts-post-card:hover { border-color: #B2D235; }
.ts-post-card__thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ts-post-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ts-post-card__title { font-size: 16px; font-weight: 600; }
.ts-post-card__title a { color: #fff; text-decoration: none; }
.ts-post-card__title a:hover { color: #B2D235; }
.ts-post-card__meta { display: flex; gap: 14px; color: #666; font-size: 12px; flex-wrap: wrap; }
.ts-post-card__meta span { display: flex; align-items: center; gap: 4px; }
.ts-post-card__excerpt { color: #aaa; font-size: 13px; line-height: 1.6; }
.ts-pagination { margin-top: 32px; }
.ts-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ts-pagination a, .ts-pagination span {
  background: #1a1a1a; border: 1px solid #2a2a2a; color: #aaa;
  padding: 8px 14px; border-radius: 4px; font-size: 13px;
  text-decoration: none; transition: all .2s;
}
.ts-pagination .current, .ts-pagination a:hover {
  background: #B2D235; border-color: #B2D235; color: #000;
}

/* Single post */
.ts-single-post__thumb { margin-bottom: 28px; border-radius: 10px; overflow: hidden; }
.ts-single-post__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.ts-single-post__meta { display: flex; gap: 20px; color: #666; font-size: 13px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #222; flex-wrap: wrap; }
.ts-single-post__meta span { display: flex; align-items: center; gap: 6px; }
.ts-single-post__content { color: #ccc; font-size: 15px; line-height: 1.8; }
.ts-single-post__content h1, .ts-single-post__content h2, .ts-single-post__content h3 { color: #fff; margin: 28px 0 12px; }
.ts-single-post__content p { margin-bottom: 18px; }
.ts-single-post__content a { color: #B2D235; }
.ts-single-post__content img { border-radius: 8px; margin: 16px 0; }
.ts-single-post__content blockquote { border-left: 3px solid #B2D235; padding: 16px 24px; background: #1a1a1a; border-radius: 0 6px 6px 0; margin: 24px 0; }
.ts-single-post__tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.ts-tag { background: #1a1a1a; border: 1px solid #2a2a2a; color: #aaa; padding: 4px 12px; border-radius: 20px; font-size: 12px; }
.ts-post-nav { margin-top: 32px; padding-top: 20px; border-top: 1px solid #222; }

/* Page */
.ts-page__title { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #222; }
.ts-page__content { color: #ccc; font-size: 15px; line-height: 1.8; }
.ts-page__content h2, .ts-page__content h3 { color: #fff; margin: 24px 0 12px; }
.ts-page__content a { color: #B2D235; }

/* 404 */
.ts-404 { display: flex; align-items: center; justify-content: center; min-height: 60vh; text-align: center; }
.ts-404__code { font-size: 8rem; font-weight: 900; color: #B2D235; line-height: 1; opacity: .3; }
.ts-404__title { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.ts-404__desc { color: #888; font-size: 15px; margin-bottom: 32px; }

/* Empty state */
.ts-empty { text-align: center; padding: 60px 20px; color: #555; }
.ts-empty i { font-size: 48px; display: block; margin-bottom: 16px; }

/* Sidebar widgets */
.ts-sidebar .widget { background: #1a1a1a; border: 1px solid #252525; border-radius: 8px; padding: 20px; margin-bottom: 24px; }
.ts-sidebar .widget-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #252525; }
.ts-sidebar .widget a { color: #aaa; text-decoration: none; }
.ts-sidebar .widget a:hover { color: #B2D235; }

/* Breadcrumb */
.ts-breadcrumb { padding: 12px 0; margin-bottom: 20px; }
.ts-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.ts-breadcrumb li { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #666; }
.ts-breadcrumb li a { color: #888; text-decoration: none; }
.ts-breadcrumb li a:hover { color: #B2D235; }
.breadcrumb-sep { color: #444; }

/* Mobile menu overlay (behind nav) */
.ts-nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,.6);
}
.ts-nav-overlay.is-visible { display: block; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- 1280px: slight shrink ---- */
@media (max-width: 1280px) {
  .ts-footer__top { grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
}

/* ---- 1100px: collapse footer + products ---- */
@media (max-width: 1100px) {
  .ts-products__grid { grid-template-columns: repeat(3, 1fr); }
  .ts-footer__top { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .ts-footer__brand { grid-column: 1 / -1; }
}

/* ---- 1024px: tablet landscape ---- */
@media (max-width: 1024px) {
  .ts-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .ts-main-layout { grid-template-columns: 1fr; }
  .ts-sidebar { order: -1; }
  .ts-hero__wifi-icon { width: 160px; height: 160px; }
  .ts-hero-swiper { min-height: 440px; }
  .ts-hero__slide { min-height: 440px; }
  .ts-about__content { padding: 48px 36px; }
}

/* ---- 900px: between tablet portrait and landscape ---- */
@media (max-width: 900px) {
  .ts-hero__image { display: none; }
  .ts-hero__text { max-width: 100%; }
  .ts-footer__top { grid-template-columns: 1fr 1fr; }
  .ts-nav__menu > li > a { padding: 12px 12px; font-size: 12px; }
}

/* ---- 768px: tablet portrait / large mobile ---- */
@media (max-width: 768px) {
  /* Hide topbar on mobile */
  .ts-topbar { display: none; }

  /* Header – grid colapsa a 2 filas en mobile */
  .ts-header { padding: 10px 0; }
  .ts-header__inner {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 10px 12px;
  }
  .ts-header__logo  { grid-column: 1; grid-row: 1; }
  .ts-header__actions { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .ts-header__search {
    grid-column: 1 / -1; grid-row: 2;
    justify-content: stretch;
  }
  .ts-header__search .ts-search-form { max-width: 100%; }

  /* Hide text labels next to icons */
  .ts-action-label { display: none; }

  /* Show hamburger */
  .ts-mobile-toggle { display: flex; }

  /* Mobile nav – drawer style */
  .ts-nav {
    display: none;
    position: fixed; top: 0; left: 0;
    width: min(320px, 85vw); height: 100dvh;
    background: #141414; z-index: 999;
    overflow-y: auto; overflow-x: hidden;
    transform: translateX(-100%);
    transition: transform .3s ease;
    border-right: 1px solid #1e1e1e;
    padding-top: 60px;
  }
  .ts-nav.is-open {
    display: block;
    transform: translateX(0);
    animation: slideInLeft .3s ease forwards;
  }
  @keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
  }
  .ts-nav__inner { padding: 0; }
  .ts-nav__menu { flex-direction: column; align-items: stretch; }
  .ts-nav__menu > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid #1e1e1e;
    border-bottom-color: #1e1e1e !important;
    font-size: 14px;
  }
  .ts-nav__menu > li > a .ts-drop-arrow { margin-left: auto; }
  .ts-nav__menu .sub-menu {
    position: static;
    border: none; border-radius: 0; box-shadow: none;
    display: none; background: #0f0f0f;
    border-top: none;
  }
  .ts-nav__menu li.is-open > .sub-menu { display: block; }
  .ts-nav__menu .sub-menu li a { padding: 10px 20px 10px 36px; }
  .ts-nav__menu li:hover > .sub-menu { display: none; } /* disable hover on mobile */
  .ts-nav__menu li.is-open > .sub-menu { display: block; }

  /* Mobile nav close button */
  .ts-nav-close {
    display: flex; position: absolute; top: 14px; right: 14px;
    background: none; border: none; color: #aaa; font-size: 24px; cursor: pointer; padding: 6px;
  }

  /* Hero */
  .ts-hero-swiper { min-height: 380px; }
  .ts-hero__slide { min-height: 380px; }
  .ts-hero__content { padding: 40px 0; }
  .ts-hero-prev, .ts-hero-next { width: 36px; height: 36px; font-size: 18px; }
  .ts-hero-prev { left: 10px; }
  .ts-hero-next { right: 10px; }

  /* Products */
  .ts-products__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* About */
  .ts-about { grid-template-columns: 1fr; }
  .ts-about__image { min-height: 200px; }
  .ts-about__content { padding: 32px 24px; }

  /* Footer */
  .ts-footer__top { grid-template-columns: 1fr 1fr; padding: 40px 0 28px; gap: 24px; }
  .ts-footer__brand { grid-column: 1 / -1; }

  /* Section */
  .ts-section { padding: 44px 0; }
  .ts-section-header { flex-wrap: wrap; gap: 8px; }
}

/* ---- 600px: large phones ---- */
@media (max-width: 600px) {
  .ts-benefits__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ts-benefits { padding: 28px 0; }
  .ts-benefit > i { font-size: 28px; }
  .ts-benefit strong { font-size: 13px; }
  .ts-posts-grid { grid-template-columns: 1fr; }
  .ts-products__grid { gap: 12px; }
  .ts-section { padding: 36px 0; }
}

/* ---- 480px: standard mobile phones ---- */
@media (max-width: 480px) {
  /* Hero */
  .ts-hero-swiper { min-height: 320px; }
  .ts-hero__slide { min-height: 320px; }
  .ts-hero__content { padding: 28px 0; }
  .ts-hero__subtitle { font-size: 13px; }
  .ts-hero__desc { font-size: 13px; margin-bottom: 20px; }
  .ts-hero__btns { flex-direction: column; gap: 10px; }
  .ts-hero__btns .ts-btn { width: 100%; justify-content: center; }

  /* Products – 2 columns tight */
  .ts-products__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ts-product-card__body { padding: 10px; gap: 6px; }
  .ts-product-card__title { font-size: 12px; }
  .ts-product-card__price .woocommerce-Price-amount { font-size: 14px; }
  .ts-btn--cart { font-size: 11px; padding: 8px 10px; }

  /* Footer */
  .ts-footer__top { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 24px; }
  .ts-footer__bottom-inner { flex-direction: column; text-align: center; }
  .ts-payment-icons { justify-content: center; }

  /* Benefits */
  .ts-benefits__grid { grid-template-columns: 1fr; gap: 18px; }

  /* About */
  .ts-about__content { padding: 24px 16px; gap: 14px; }

  /* Buttons */
  .ts-btn { padding: 10px 18px; font-size: 12px; }

  /* Arrows */
  .ts-arrow { width: 34px; height: 34px; font-size: 18px; }

  /* Cats */
  .ts-cat-card { padding: 14px 8px; }
  .ts-cat-card__img { width: 56px; height: 44px; }

  /* Categories wrapper */
  .ts-categories__wrapper { gap: 8px; }
  .ts-brands__wrapper { gap: 8px; }
}

/* ---- 375px: small phones (iPhone SE, Galaxy A etc.) ---- */
@media (max-width: 375px) {
  .ts-hero-swiper { min-height: 280px; }
  .ts-hero__slide { min-height: 280px; }
  .ts-products__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ts-header__inner { gap: 6px; }
  .ts-action-btn { padding: 4px 8px; }
  .ts-action-btn > i { font-size: 20px; }
  .ts-cart-count { width: 16px; height: 16px; font-size: 9px; top: -6px; right: -6px; }
}

/* ============================================================
   HERO – Alineación de texto (izquierda / centro / derecha)
   ============================================================ */

/* Por defecto el contenido ya es flex justify-content:space-between  */
/* Alineación izquierda (default) */
.ts-hero__content--left  { justify-content: flex-start; }
.ts-hero__content--left  .ts-hero__text { text-align: left; }
.ts-hero__content--left  .ts-hero__btns { justify-content: flex-start; }

/* Alineación centrada */
.ts-hero__content--center {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ts-hero__content--center .ts-hero__text {
  text-align: center;
  max-width: 680px;
}
.ts-hero__content--center .ts-hero__btns { justify-content: center; }

/* Alineación derecha */
.ts-hero__content--right {
  justify-content: flex-end;
}
.ts-hero__content--right .ts-hero__text {
  text-align: right;
}
.ts-hero__content--right .ts-hero__btns { justify-content: flex-end; }

/* Hero background: altura aumentada para pantalla completa */
.ts-hero-swiper            { min-height: 580px; }
.ts-hero__slide            { min-height: 580px; }
@media (max-width: 1024px) {
  .ts-hero-swiper          { min-height: 460px; }
  .ts-hero__slide          { min-height: 460px; }
}
@media (max-width: 768px) {
  .ts-hero-swiper          { min-height: 380px; }
  .ts-hero__slide          { min-height: 380px; }
  .ts-hero__content--right { justify-content: flex-start; }
  .ts-hero__content--right .ts-hero__text  { text-align: left; }
  .ts-hero__content--right .ts-hero__btns { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .ts-hero-swiper          { min-height: 320px; }
  .ts-hero__slide          { min-height: 320px; }
  .ts-hero__content--center .ts-hero__text { max-width: 100%; }
}

/* ============================================================
   STATIC BRANDS SLIDER – logos blancos
   ============================================================ */
.ts-static-brands { padding-bottom: 48px; }
.ts-static-brand-swiper { flex: 1; overflow: hidden; min-width: 0; }

.ts-brand-logo--static {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  background: #141414;
  border: 1px solid #252525;
  border-radius: 8px;
  padding: 14px 22px;
  transition: border-color .25s, background .25s, transform .2s;
  cursor: default;
  user-select: none;
}
.ts-brand-logo--static:hover {
  border-color: rgba(178, 210, 53,.5);
  background: #1a1a1a;
  transform: translateY(-2px);
}
.ts-brand-logo--static svg {
  max-width: 130px;
  max-height: 44px;
  width: 100%;
  height: auto;
  display: block;
  /* Ensure white text/paths render correctly */
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.4));
  transition: opacity .2s;
  opacity: .75;
}
.ts-brand-logo--static:hover svg { opacity: 1; }

/* ============================================================
   RESPONSIVE POLISH (v3.6) — fluid, touch-friendly, adaptable
   Añadido para mejorar visualización en todos los tamaños
   ============================================================ */

/* Prevenir overflow horizontal global */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe, table { max-width: 100%; }
iframe, video { height: auto; }
pre, code { white-space: pre-wrap; word-wrap: break-word; }
table { display: block; overflow-x: auto; }

/* Contenedor con padding fluido */
.container {
  padding-inline: clamp(12px, 3vw, 24px);
}

/* Pantallas muy grandes (>1440px): aprovechar el ancho */
@media (min-width: 1440px) {
  .container { max-width: 1360px; }
}
@media (min-width: 1720px) {
  .container { max-width: 1500px; }
  .ts-products__grid { grid-template-columns: repeat(5, 1fr); }
}

/* Tipografía fluida con clamp — se adapta suavemente */
.ts-hero__title       { font-size: clamp(1.6rem, 4.5vw, 3rem); line-height: 1.15; }
.ts-hero__subtitle    { font-size: clamp(.8rem, 1.6vw, 1rem); }
.ts-hero__desc        { font-size: clamp(.85rem, 1.6vw, 1rem); }
.ts-section-header h2,
.ts-section__title    { font-size: clamp(1.15rem, 2.4vw, 1.6rem); }
.ts-product-card__title { font-size: clamp(.78rem, 1.4vw, .9rem); }

/* Targets táctiles mínimos 44px (WCAG) */
.ts-action-btn, .ts-btn, .ts-mobile-toggle,
.ts-nav__menu > li > a, .ts-nav-close,
.ts-hero-prev, .ts-hero-next {
  min-height: 44px;
}

/* Evitar zoom automático en iOS al enfocar inputs (fuente >=16px) */
@media (max-width: 768px) {
  .ts-search-form input,
  .woocommerce-form input,
  input[type="text"], input[type="email"],
  input[type="password"], input[type="search"],
  input[type="tel"], input[type="number"],
  select, textarea {
    font-size: 16px;
  }
}

/* Grillas de productos más suaves entre breakpoints (auto-fit) */
@media (min-width: 481px) and (max-width: 1099px) {
  .ts-products__grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

/* Benefits: mejor distribución en tablets */
@media (min-width: 601px) and (max-width: 1023px) {
  .ts-benefits__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Hero con altura fluida (mejor en landscape móvil / pantallas cortas) */
.ts-hero-swiper,
.ts-hero__slide {
  min-height: clamp(320px, 60vh, 620px);
}
@media (max-height: 500px) and (orientation: landscape) {
  .ts-hero-swiper, .ts-hero__slide { min-height: 300px; }
  .ts-hero__content { padding: 20px 0; }
}

/* Cards: título con clamp de líneas para altura uniforme */
.ts-product-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

/* Footer: bottom en móvil sin desbordar */
.ts-footer__bottom-inner { flex-wrap: wrap; gap: 12px; }

/* Header search: no romper en anchos intermedios */
@media (min-width: 769px) and (max-width: 1023px) {
  .ts-header__search .ts-search-form { max-width: 320px; }
}

/* Pantallas muy pequeñas (<=360px): reduce paddings/tipografía */
@media (max-width: 360px) {
  .ts-hero__title { font-size: 1.35rem; }
  .ts-btn { padding: 9px 14px; font-size: 11px; }
  .ts-product-card__body { padding: 8px; }
  .ts-header__logo img { max-height: 32px; width: auto; }
}

/* Respeta preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Safe-area para notch en iOS */
@supports (padding: max(0px)) {
  .ts-header, .ts-topbar {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  .ts-footer__bottom {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
}

/* ============================================================
   RESPONSIVE UPGRADE (v4.5) — celulares y laptops
   Capa final: ajustes fluidos, sin romper estilos previos.
   ============================================================ */

/* ---------- 1. Contenedor y ritmo vertical fluidos ---------- */
.container { padding-inline: clamp(14px, 3.2vw, 28px); }
.ts-section { padding: clamp(25px, 5vw, 25px) 0; }
.ts-section-title { margin-bottom: clamp(20px, 3vw, 40px); }

/* Nada debe desbordar por textos largos */
h1, h2, h3, h4, p, a, li, span, strong { overflow-wrap: anywhere; }
.ts-nav__menu > li > a, .ts-btn, .ts-see-all { overflow-wrap: normal; }

/* ---------- 2. Laptops 1024–1440px (13"–15") ---------- */
@media (min-width: 1024px) and (max-width: 1439px) {
  .container { max-width: min(1280px, 94vw); }
  .ts-nav__inner { padding-inline: clamp(14px, 3.2vw, 28px); max-width: min(1280px, 94vw); }
  .ts-nav__menu > li > a { padding: 12px clamp(9px, 1.1vw, 16px); font-size: 12.5px; }
  .ts-header__search .ts-search-form { max-width: 420px; }
  .ts-hero-swiper, .ts-hero__slide { min-height: clamp(400px, 52vh, 520px); }
  .ts-hero__content { padding: clamp(40px, 6vh, 64px) 0; }
  .ts-hero__wifi-icon { width: 180px; height: 180px; }
  .ts-about__content { padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 44px); }
  .ts-footer__top { gap: 24px 28px; }
}

/* Laptops muy anchas pero de poca altura (1366x768, 1440x900) */
@media (min-width: 1024px) and (max-height: 800px) {
  .ts-hero-swiper, .ts-hero__slide { min-height: min(70vh, 480px); }
}

/* ---------- 3. Grillas de producto fluidas en todo el rango ---------- */
.ts-products__grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
}
@media (min-width: 1440px) { .ts-products__grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
@media (max-width: 600px)  { .ts-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Categorías / marcas: sin apreturas en pantallas medianas */
.ts-categories__wrapper, .ts-brands__wrapper, .ts-products__wrapper { gap: clamp(8px, 1.2vw, 14px); }

/* ---------- 4. Header en anchos intermedios (tablet/laptop chica) ---------- */
@media (min-width: 769px) and (max-width: 1150px) {
  .ts-action-label { display: none; }           /* solo iconos: evita apretar la búsqueda */
  .ts-action-btn { padding: 6px 8px; }
  .ts-header__inner { gap: 12px; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .ts-header__search .ts-search-form { max-width: 100%; }
  .ts-nav__inner { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .ts-nav__inner::-webkit-scrollbar { display: none; }
  .ts-nav__menu { flex-wrap: nowrap; }
}

/* ---------- 5. Móvil: header más compacto y utilizable ---------- */
@media (max-width: 768px) {
  .ts-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; }
  .ts-header__logo    { grid-column: 1; grid-row: 1; }
  .ts-header__actions { grid-column: 3; grid-row: 1; gap: 2px; }
  .ts-header__search  { grid-column: 1 / -1; grid-row: 2; }
  .ts-logo-text { max-width: 120px; font-size: 12px; }
  .ts-theme-logo,
  .ts-theme-logo__image { width: 140px; height: 55px; }

  /* Drawer: respeta notch y permite scroll cómodo */
  .ts-nav {
    padding-top: max(60px, calc(env(safe-area-inset-top) + 56px));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }
  body.ts-nav-open { overflow: hidden; }

  /* Encabezados de sección: título y "ver todo" en dos líneas legibles */
  .ts-section-header { align-items: flex-start; row-gap: 6px; }
  .ts-section-header .ts-section-title { font-size: 1rem; }
}

/* ---------- 6. Beneficios: scroll horizontal en móvil (sin cortar texto) ---------- */
@media (max-width: 600px) {
  .ts-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
  .ts-benefit { align-items: flex-start; gap: 10px; }
  .ts-benefit > i { font-size: 24px; }
  .ts-benefit span { font-size: 11.5px; line-height: 1.4; }
}
@media (max-width: 380px) {
  .ts-benefits__grid { grid-template-columns: 1fr; }
}

/* ---------- 7. Hero en móvil: legible y con altura sensata ---------- */
@media (max-width: 768px) {
  .ts-hero-swiper, .ts-hero__slide { min-height: clamp(300px, 52vh, 420px); }
  .ts-hero__content { padding: clamp(24px, 6vh, 44px) 0; }
  .ts-hero__text { max-width: 100%; }
  .ts-hero__bg { background-position: center center; }
  .ts-hero__desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .ts-hero-prev, .ts-hero-next { width: 38px; height: 38px; min-height: 38px; }
}
@media (max-width: 480px) {
  .ts-hero-prev, .ts-hero-next { display: none; }   /* se navega con swipe */
  .ts-hero__pagination { bottom: 12px !important; }
}

/* ---------- 8. Tarjetas de producto en móvil ---------- */
@media (max-width: 600px) {
  .ts-product-card__img { padding: 8px; }
  .ts-product-card__rating { font-size: 11px; }
  .ts-product-card__wishlist { font-size: 18px; top: 6px; right: 6px; }
  .ts-badge--sale { top: 8px; left: 8px; font-size: 10px; }
}

/* ---------- 9. Footer ---------- */
@media (max-width: 768px) {
  .ts-footer__col h4 { margin-bottom: 12px; }
  .ts-footer__links { gap: 8px; }
  .ts-footer__links a { padding: 2px 0; display: inline-block; }
}
@media (max-width: 480px) {
  .ts-footer__top { text-align: left; }
  .ts-footer__social { gap: 8px; }
}

/* ---------- 10. Botón de WhatsApp sin tapar contenido ---------- */
.ts-whatsapp-fab {
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
}
@media (max-width: 480px) {
  .ts-whatsapp-fab { width: 48px; height: 48px; font-size: 24px; }
  body { padding-bottom: 0; }
}

/* ---------- 11. Blog / páginas internas ---------- */
@media (max-width: 1023px) {
  .ts-main-layout { gap: 24px; padding: 28px 0; }
  .ts-sidebar { order: 1; }   /* contenido primero en móvil */
}
.ts-posts-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }


/* ============================================================
   FIX v4.6 – Flechas del hero en laptops (1024–1440px, ej. 1366px)
   El contenido reserva espacio a los lados para que las flechas
   nunca se encimen con el texto ni con los botones.
   ============================================================ */
@media (min-width: 769px) {
  .ts-hero__content { padding-inline: clamp(64px, 6vw, 92px); }
  .ts-hero-prev { left: clamp(8px, 1.4vw, 20px); }
  .ts-hero-next { right: clamp(8px, 1.4vw, 20px); }
  .ts-hero__text { max-width: min(560px, 52%); }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .ts-hero-prev, .ts-hero-next { width: 40px; height: 40px; min-height: 40px; font-size: 20px; }
}
/* La paginación no debe quedar debajo de los botones del slide */
.ts-hero__pagination { bottom: 16px !important; }


/* v4.7 – filtros activos y redes del footer */
.ts-filter-list li.is-active > a { color: #B2D235; }
.ts-filter-list li.is-active > a .ts-filter-check { background: #B2D235; border-color: #B2D235; position: relative; }
.ts-filter-list li.is-active > a .ts-filter-check::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ts-filter-list--sub { margin: 6px 0 6px 18px; }
.ts-footer__social--col { margin-top: 12px; }
.ts-footer__social-text { color: #888; font-size: 13px; line-height: 1.6; }

/* ============================================================
   FIX v5.2 FINAL - GRID 5 COLS + LISTA SIN DEFORMAR
   ============================================================ */

/* BASE - marca y parte siempre uno debajo de otro */
.ts-product-card__meta-group{
  display:flex !important;
  flex-direction:column !important;
  gap:2px !important;
  min-height:32px !important;
  margin:4px 0 8px !important;
}
.ts-meta{display:block !important; width:100% !important; font-size:11px !important; line-height:1.25 !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;}
.ts-meta--brand{color:#e5e7eb !important; font-weight:600 !important;}
.ts-meta--part{color:#9aa0a6 !important;}

/* FOOTER - precio + boton */
.ts-product-card__footer{display:flex !important; flex-direction:column !important; gap:8px !important; margin-top:auto !important; width:100% !important;}
.ts-product-card__footer .ts-product-card__price{margin:0 !important;}
.ts-product-card__footer .ts-btn--cart{width:100% !important;}

/* GRID - siempre 5 columnas en desktop */
.ts-products__grid,
ul.products,
.woocommerce ul.products{
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
}

/* LISTA - FIX REAL */
.ts-products__grid.ts-view-list,
ul.products.ts-view-list,
.woocommerce ul.products.ts-view-list,
.products.ts-view-list{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  grid-template-columns: 1fr !important;
}

.ts-products__grid.ts-view-list .ts-product-card,
ul.products.ts-view-list .ts-product-card,
.woocommerce ul.products.ts-view-list li.product,
.products.ts-view-list .ts-product-card{
  display:flex !important;
  flex-direction:row !important;
  align-items:flex-start !important;
  width:100% !important;
  max-width:100% !important;
  min-height:140px !important;
  height:auto !important;
  padding:14px !important;
  grid-column: auto !important;
}

.ts-products__grid.ts-view-list .ts-product-card__img-wrap,
ul.products.ts-view-list .ts-product-card__img-wrap{
  width:110px !important;
  min-width:110px !important;
  height:110px !important;
  aspect-ratio:1 !important;
  margin:0 16px 0 0 !important;
  flex-shrink:0 !important;
  align-self:flex-start !important;
}

.ts-products__grid.ts-view-list .ts-product-card__body,
ul.products.ts-view-list .ts-product-card__body{
  flex:1 !important;
  min-width:0 !important;
  padding:0 !important;
  gap:3px !important;
  display:flex !important;
  flex-direction:column !important;
}

.ts-products__grid.ts-view-list .ts-product-card__title,
ul.products.ts-view-list .ts-product-card__title{
  -webkit-line-clamp: unset !important;
  display:block !important;
  min-height:auto !important;
  max-width:100% !important;
  white-space:normal !important;
  overflow:visible !important;
  font-size:14px !important;
}

.ts-products__grid.ts-view-list .ts-product-card__footer,
ul.products.ts-view-list .ts-product-card__footer{
  flex-direction:row !important;
  justify-content:space-between !important;
  align-items:center !important;
  margin-top:12px !important;
}

.ts-products__grid.ts-view-list .ts-btn--cart,
ul.products.ts-view-list .ts-btn--cart{
  width:auto !important;
  max-width:180px !important;
  min-width:120px !important;
  padding:8px 16px !important;
  font-size:11px !important;
}

/* QUE NO LO PISE EL RESPONSIVE */
@media (max-width: 1100px){
  .ts-products__grid.ts-view-list,
  ul.products.ts-view-list{ grid-template-columns:1fr !important; }
  .ts-products__grid.ts-view-list .ts-product-card{ grid-column:auto !important; }
}
@media (max-width: 768px){
  .ts-products__grid.ts-view-list .ts-product-card,
  ul.products.ts-view-list .ts-product-card{
    flex-direction:row !important;
  }
}

.ts-cat-swiper .swiper-slide { width: calc(16.66% - 13px); }
@media(max-width:1024px){ .ts-cat-swiper .swiper-slide{width: calc(25% - 12px);} }
@media(max-width:768px){ .ts-cat-swiper .swiper-slide{width: calc(33% - 10px);} }
@media(max-width:480px){ .ts-cat-swiper .swiper-slide{width: calc(50% - 8px);} }

.ts-products-swiper .swiper-slide { height: auto; }


.ts-subcat-slider-wrap { margin: 0 0 24px 0; background:#1a1a1a; border-radius:16px; padding:20px; }
.ts-subcat-slider-title { font-size:22px; font-weight:700; margin-bottom:16px; text-transform:uppercase; }
.ts-subcat-slider-title span { color:#B2D235; }
.ts-subcat-card { display:flex; flex-direction:column; align-items:center; background:#222; border-radius:12px; padding:16px; text-align:center; transition:.3s; border:1px solid #333; }
.ts-subcat-card:hover { border-color:#B2D235; transform:translateY(-3px); }
.ts-subcat-card__img { width:80px; height:80px; margin-bottom:10px; display:flex; align-items:center; justify-content:center; }
.ts-subcat-card__img img { max-width:100%; max-height:100%; object-fit:contain; }
.ts-subcat-card h3 { font-size:14px; font-weight:600; margin:0 0 4px; }
.ts-subcat-card span { font-size:12px; opacity:.6; }

.ts-top-cats { background:#111; padding:12px 40px; border-radius:10px; }
.ts-top-cat-item { display:flex; align-items:center; justify-content:center; background:#1e1e1e; border:1px solid #2a2a2a; border-radius:8px; height:56px; font-size:13px; font-weight:600; text-transform:uppercase; color:#aaa; transition:.2s; }
.ts-top-cat-item:hover {
  border-color: #B2D235 !important;
  background: #1c1c1c !important;
  box-shadow: 0 0 0 1px #B2D235 !important;
}
.ts-top-cat-item:hover span {
  color: #B2D235 !important;
}
.ts-top-cat-prev, .ts-top-cat-next { width:32px; height:32px; background:#222; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.ts-top-cat-prev:after, .ts-top-cat-next:after { display:none; }
.ts-top-cats { background:#111; padding:16px 45px; border-radius:12px; position:relative; }
.ts-top-cat-item { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; background:#1a1a1a; border:1px solid #2a2a2a; border-radius:10px; height:90px; padding:10px; transition:.2s; text-align:center; }
.ts-top-cat-item img { width:36px; height:36px; object-fit:contain; }
.ts-top-cat-item i { font-size:28px; color:#666; }
.ts-top-cat-item span { font-size:11px; font-weight:600; text-transform:uppercase; color:#bbb; line-height:1.2; }
.ts-top-cat-item:hover { border-color:#B2D235; background:#1e1e1e; }
.ts-top-cat-item:hover span { color:#fff; }
.ts-top-cat-item:hover i { color:#B2D235; }
/* TOP CATS SLIDER - FINAL FIX */
.ts-top-cats {
  position: relative;
  margin: 20px 0 !important;
  padding: 0 45px !important;
  background: transparent !important;
}
.ts-top-cat-swiper {
  overflow: hidden;
  padding: 5px 0;
}
.ts-top-cat-swiper .swiper-slide {
  height: auto;
}
.ts-top-cat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #151515 !important;
  border: 1px solid #242424 !important;
  border-radius: 12px !important;
  height: 80px !important;
  padding: 10px !important;
  text-decoration: none !important;
  text-align: center !important;
  transition: all .2s ease !important;
}
.ts-top-cat-item img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
}
.ts-top-cat-item span {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #888 !important;
  text-decoration: none !important;
  line-height: 1.1 !important;
}
.ts-top-cat-item:hover {
  border-color: #B2D235 !important;
  background: #1c1c1c !important;
}
.ts-top-cat-item:hover span { color: #fff !important; }

/* FLECHAS IGUAL A TU CAPTURA ADATA */
.ts-top-cat-prev,
.ts-top-cat-next {
  width: 36px !important;
  height: 36px !important;
  background: #1e1e1e !important;
  border-radius: 50% !important;
  top: 50% !important;
  margin-top: -18px !important;
  color: #fff !important;
}
.ts-top-cat-prev:after,
.ts-top-cat-next:after { display: none !important; }
.ts-top-cat-prev { left: 0 !important; }
.ts-top-cat-next { right: 0 !important; }
.ts-top-cat-prev i,
.ts-top-cat-next i { font-size: 18px !important; }




.ts-main-layout { grid-template-columns: none!important; display:block!important; }

#rnet-pc-builder.rnet-card img {
  width: 100%!important;
  height: 180px!important;
  object-fit: contain!important;
  background: #fff!important;
  display: block!important;
}
#rnet-pc-builder.rnet-card img[src=""],
#rnet-pc-builder.rnet-card img:not([src]) {
  content: url('https://via.placeholder.com/300x180/ffffff/000000?text=Sin+Imagen');
}

/* FIX FILTROS OVERLAY - NO EMPUJA PRODUCTOS - FINAL */
.ts-woo-shop{ position:static!important; }
.ts-shop-toolbar{ position:relative!important; z-index:100!important; overflow:visible!important; }

.ts-shop-filters--top{
  position:absolute!important;
  top:100%!important;
  left:0!important; right:0!important;
  margin-top:12px!important;
  z-index:999!important;
  background:#1e1e1e!important;
  border:1px solid #2a2a2a!important;
  border-radius:12px!important;
  box-shadow:0 20px 60px rgba(0,0,0,.85)!important;
  opacity:0;
  visibility:hidden;
  transform:translateY(-8px);
  pointer-events:none;
  transition:all.25s ease!important;
}
.ts-shop-filters--top.is-open{
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(0)!important;
  pointer-events:auto!important;
}
.ts-shop-filters__backdrop{
  position:fixed!important;
  inset:0!important;
  background:rgba(0,0,0,.55)!important;
  backdrop-filter:blur(2px)!important;
  z-index:50!important;
}
.ts-shop-filters__backdrop[hidden]{ display:none!important; }

/* Header del panel */
.ts-shop-filters--top.ts-shop-filters__header{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  padding:14px 20px!important;
  border-bottom:1px solid #2a2a2a!important;
  background:#1a1a1a!important;
  border-radius:12px 12px 0 0!important;
}
.ts-shop-filters--top.ts-shop-filters__header h2{
  font-size:13px!important; text-transform:uppercase!important;
  margin:0!important; color:#B2D235!important;
  display:flex!important; gap:8px!important; align-items:center!important;
}
.ts-filter-groups{
  display:grid!important;
  grid-template-columns:1.6fr 1fr 1fr 1fr!important;
  max-height:68vh!important; overflow-y:auto!important;
}
.ts-filter-group--top{
  border-right:1px solid #2a2a2a!important;
  padding:16px!important; background:#1e1e1e!important;
}
.ts-filter-group--top:last-child{ border-right:none!important; }
.ts-filter-group--top.ts-filter-group__title{
  font-size:12px!important; font-weight:700!important; text-transform:uppercase!important;
  color:#B2D235!important; cursor:pointer!important; list-style:none!important;
  display:flex!important; justify-content:space-between!important;
  align-items:center!important; margin-bottom:12px!important;
}
.ts-filter-list--inline{ display:flex!important; flex-wrap:wrap!important; gap:8px!important; }
.ts-filter-list--inline li{ margin:0!important; }
.ts-filter-list--inline li a{
  display:inline-flex!important; gap:6px!important;
  background:#252525!important; border:1px solid #333!important; border-radius:20px!important;
  padding:6px 12px!important; font-size:12px!important; transition:.2s!important;
}
.ts-filter-list--inline li.is-active a,.ts-filter-list--inline li a:hover{ background:#B2D235!important; color:#000!important; border-color:#B2D235!important; }

.ts-shop-main--full{ width:100%!important; }
.ts-shop-main--full ul.products{
  display:grid!important;
  grid-template-columns:repeat(5, minmax(0,1fr))!important;
  gap:16px!important;
}
.ts-shop-main--full ul.products li.product{ width:100%!important; margin:0!important; float:none!important; }

@media(max-width:1400px){.ts-filter-groups{ grid-template-columns:1fr 1fr!important; }.ts-shop-main--full ul.products{ grid-template-columns:repeat(4,1fr)!important; } }
@media(max-width:1024px){.ts-filter-groups{ grid-template-columns:1fr!important; }.ts-shop-main--full ul.products{ grid-template-columns:repeat(3,1fr)!important; } }
@media(max-width:640px){.ts-shop-main--full ul.products{ grid-template-columns:repeat(2,1fr)!important; } }

.ts-ordering-wrap,.ts-filters-wrap{ position:relative; }
.ts-ordering-item{ display:block; padding:8px 12px; border-radius:6px; font-size:12px; color:#bbb; text-decoration:none; }
.ts-ordering-item:hover,.ts-ordering-item.is-active{ background:#a3ff12; color:#000; }.ts-check{ width:12px; height:12px; border:1px solid #555; border-radius:2px; display:inline-block; margin-right:8px; vertical-align:middle; }
.ts-ordering-item.is-active.ts-check{ background:#a3ff12; border-color:#a3ff12; }

/* ============================================================
   RNET v4.8.4 – selector modo claro / modo oscuro
   Capa final para conservar los ajustes existentes y cambiar solo
   colores del contenido al alternar data-theme.
   ============================================================ */
:root,
html[data-theme="light"]{
  --bg:#f4f7fb;
  --bg-soft:#eef3f8;
  --bg-card:#ffffff;
  --bg-elevated:#ffffff;
  --text:#111827;
  --text-strong:#0f172a;
  --text-muted:#64748b;
  --border:#dbe3ec;
  --field-bg:#ffffff;
  --field-border:#cbd5e1;
  --field-text:#111827;
  --accent-strong:#7fb800;
  --accent-soft:#ecffd0;
  --accent-contrast:#0b0f08;
  --header-bg:#ffffff;
  --header-bg-translucent:rgba(255,255,255,.94);
  --header-border:#dbe3ec;
  --header-text:#0f172a;
  --header-text-muted:#475569;
  --drawer-bg:#ffffff;
  --drawer-border:#dbe3ec;
  --drawer-border-subtle:#e5edf5;
  --drawer-control-bg:#eef3f8;
  --drawer-text:#111827;
  --drawer-text-muted:#334155;
  --modal-bg:#ffffff;
  --modal-border:#dbe3ec;
  --modal-control-bg:#eef3f8;
  --modal-text:#111827;
  --footer-bg:#141414;
}

html[data-theme="dark"]{
  --bg:#252525;
  --bg-soft:#181818;
  --bg-card:#1e1e1e;
  --bg-elevated:#1a1a1a;
  --text:#f1f5f9;
  --text-strong:#ffffff;
  --text-muted:#94a3b8;
  --border:#2a2a2a;
  --field-bg:#111111;
  --field-border:#333333;
  --field-text:#ffffff;
  --accent-strong:#B2D235;
  --accent-soft:#22310f;
  --accent-contrast:#000000;
  --header-bg:#141414;
  --header-bg-translucent:#1e1e1ed1;
  --header-border:#2a2a2a;
  --header-text:#ffffff;
  --header-text-muted:#cccccc;
  --drawer-bg:#181818;
  --drawer-border:#2a2a2a;
  --drawer-border-subtle:#222222;
  --drawer-control-bg:#2a2a2a;
  --drawer-text:#ffffff;
  --drawer-text-muted:#cccccc;
  --modal-bg:#1e1e1e;
  --modal-border:#333333;
  --modal-control-bg:#2a2a2a;
  --modal-text:#ffffff;
  --footer-bg:#141414;
}

html[data-theme] body,
html[data-theme] main,
html[data-theme] .site,
html[data-theme] #page,
html[data-theme] #content,
html[data-theme] .content-area{
  background:var(--bg) !important;
  color:var(--text) !important;
}

html[data-theme] .ts-section,
html[data-theme] .ts-categories,
html[data-theme] .ts-brands,
html[data-theme] .ts-products__grid,
html[data-theme] .ts-woo-shop,
html[data-theme] .wc-main-content{
  background:var(--bg) !important;
  color:var(--text) !important;
}

html[data-theme] .ts-product-card,
html[data-theme] .woocommerce ul.products li.product,
html[data-theme] .ts-cat-card,
html[data-theme] .ts-brand-logo,
html[data-theme] .ts-brand-logo--static,
html[data-theme] .ts-post-card,
html[data-theme] .ts-sidebar .widget,
html[data-theme] .woocommerce-form,
html[data-theme] .woocommerce table.shop_table,
html[data-theme] .woocommerce .cart_totals table,
html[data-theme] .woocommerce-order-review table,
html[data-theme] .woocommerce div.product .woocommerce-tabs .panel,
html[data-theme] .ts-about__content,
html[data-theme] .ts-benefits{
  background:var(--bg-card) !important;
  border-color:var(--border) !important;
  color:var(--text) !important;
}

html[data-theme] .ts-product-card__img-wrap,
html[data-theme] .woocommerce ul.products li.product img,
html[data-theme] .woocommerce div.product .woocommerce-product-gallery,
html[data-theme] .woocommerce div.product .woocommerce-tabs .panel table th{
  background:var(--bg-soft) !important;
}

html[data-theme] .ts-section-title,
html[data-theme] .ts-archive-title,
html[data-theme] .ts-page__title,
html[data-theme] .ts-page__content h2,
html[data-theme] .ts-page__content h3,
html[data-theme] .ts-single-post__title,
html[data-theme] .ts-single-post__content h1,
html[data-theme] .ts-single-post__content h2,
html[data-theme] .ts-single-post__content h3,
html[data-theme] .ts-sidebar .widget-title,
html[data-theme] .ts-post-card__title a,
html[data-theme] .ts-product-card__title,
html[data-theme] .ts-product-card__title a,
html[data-theme] .woocommerce-products-header__title,
html[data-theme] .woocommerce-loop-category__title,
html[data-theme] .woocommerce div.product .product_title,
html[data-theme] .related h2,
html[data-theme] .upsells h2,
html[data-theme] .woocommerce .cart_totals h2,
html[data-theme] .woocommerce-checkout h3,
html[data-theme] .woocommerce-checkout .woocommerce-billing-fields h3,
html[data-theme] .woocommerce-checkout .woocommerce-shipping-fields h3,
html[data-theme] .woocommerce-MyAccount-content h2{
  color:var(--text-strong) !important;
}

html[data-theme] .ts-page__content,
html[data-theme] .ts-single-post__content,
html[data-theme] .ts-post-card__excerpt,
html[data-theme] .ts-archive-desc,
html[data-theme] .ts-about__content p,
html[data-theme] .woocommerce div.product .woocommerce-product-details__short-description,
html[data-theme] .woocommerce div.product .woocommerce-tabs .panel,
html[data-theme] .woocommerce table.shop_table td,
html[data-theme] .woocommerce table.shop_table .product-name a,
html[data-theme] .woocommerce-order-review table th,
html[data-theme] .woocommerce-order-review table td,
html[data-theme] .woocommerce-MyAccount-content,
html[data-theme] .woocommerce-form label,
html[data-theme] .woocommerce-checkout label,
html[data-theme] .ts-sidebar .widget a,
html[data-theme] .ts-cat-card__name,
html[data-theme] .ts-meta--brand{
  color:var(--text) !important;
}

html[data-theme] .ts-post-card__meta,
html[data-theme] .ts-meta--part,
html[data-theme] .ts-product-card__rating span,
html[data-theme] .ts-brand-name,
html[data-theme] .ts-benefit span,
html[data-theme] .woocommerce-result-count,
html[data-theme] .woocommerce div.product .woocommerce-review-link,
html[data-theme] .woocommerce div.product .product_meta,
html[data-theme] .woocommerce table.shop_table th,
html[data-theme] .woocommerce .cart_totals table th,
html[data-theme] .ts-breadcrumb li,
html[data-theme] .ts-breadcrumb li a,
html[data-theme] .ts-empty{
  color:var(--text-muted) !important;
}

html[data-theme] .ts-header,
html[data-theme] .ts-topbar,
html[data-theme] .ts-nav,
html[data-theme] .site-footer-techstore,
html[data-theme] .ts-footer{
  background:var(--header-bg) !important;
  color:var(--header-text) !important;
}

html[data-theme] .ts-footer,
html[data-theme] .site-footer-techstore{
  background:var(--footer-bg) !important;
}

html[data-theme="light"] .ts-brand-logo img{
  filter:none;
  opacity:.78;
}
html[data-theme="dark"] .ts-brand-logo img{
  filter:brightness(0) invert(1) opacity(.6);
}

.rnet-theme-toggle{
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid var(--header-border, #2a2a2a);
  background:var(--header-bg, #141414);
  color:var(--accent-strong, #B2D235);
  display:grid;
  place-items:center;
  font-size:18px;
  cursor:pointer;
  flex-shrink:0;
  transition:background .2s,color .2s,border-color .2s,transform .2s;
}
.rnet-theme-toggle:hover{
  background:var(--accent-strong, #B2D235);
  color:var(--accent-contrast, #000);
  border-color:var(--accent-strong, #B2D235);
  transform:scale(1.05);
}
.rnet-theme-toggle--drawer{
  width:100%;
  height:auto;
  min-height:44px;
  border-radius:10px;
  justify-content:flex-start;
  grid-template-columns:auto 1fr;
  gap:10px;
  padding:12px 14px;
  margin-top:16px;
  background:var(--drawer-control-bg, #2a2a2a);
  border-color:var(--drawer-border, #2a2a2a);
  color:var(--drawer-text, #fff);
  text-transform:uppercase;
  font-size:13px;
  font-weight:700;
}
.rnet-theme-toggle--drawer:hover{
  color:var(--accent-contrast, #000);
}
.rnet-theme-toggle__text{
  text-align:left;
}
/* FIX LOGO Y FONDO CONTENIDO - PEGAR AL FINAL */
html:not([data-theme]) .ts-theme-logo__image--dark{ opacity:0; pointer-events:none; }
html:not([data-theme]) .ts-theme-logo__image--light{ opacity:1; pointer-events:auto; }

/* Cuando cambias a claro, se debe notar EL CONTENIDO, no el header */
html[data-theme="light"] body{ background:#f4f7fb !important; }
html[data-theme="light"] .ts-benefits,
html[data-theme="light"] .ts-about__content,
html[data-theme="light"] .ts-product-card{
  background:#ffffff !important;
}

/* Botón de toggle visible en ambos temas */
.rnet-theme-toggle{
  background:#1e1e1e !important;
  border:1px solid #2a2a2a !important;
  color:#B2D235 !important;
}
html[data-theme="light"] .rnet-theme-toggle{
  background:#ffffff !important;
  border-color:#dbe3ec !important;
}

/* Iconos sol/luna */
.rnet-theme-toggle .icon-sun{ display:none; }
.rnet-theme-toggle .icon-moon{ display:block; }
html[data-theme="light"] .rnet-theme-toggle .icon-sun{ display:block; }
html[data-theme="light"] .rnet-theme-toggle .icon-moon{ display:none; }


/* ====== FOOTER FIX MODO CLARO / OSCURO ====== */
html[data-theme="light"]{
  --footer-bg:#ffffff;
  --footer-text:#0f172a;
  --footer-muted:#64748b;
  --footer-border:#dbe3ec;
  --footer-icon-bg:#f1f5f9;
  --footer-icon-border:#dbe3ec;
  --footer-icon-color:#0f172a;
}
html[data-theme="dark"]{
  --footer-bg:#0d0d0d;
  --footer-text:#F4F6F5;
  --footer-muted:#9AA4A0;
  --footer-border:#1e1e1e;
  --footer-icon-bg:#1e1e1e;
  --footer-icon-border:#2a2a2a;
  --footer-icon-color:#fff;
}

.ts-footer, .site-footer-techstore{
  background:var(--footer-bg)!important;
  border-top:1px solid var(--footer-border)!important;
  color:var(--footer-text)!important;
  transition:background .25s,color .25s;
}
.ts-footer__tagline, .ts-footer__col p, .ts-footer__bottom p,
.ts-footer__links a{color:var(--footer-muted)!important}
.ts-footer__col h4{color:var(--footer-text)!important}
.ts-footer__links a:hover{color:#B2D235!important}
.ts-footer__social a{
  background:var(--footer-icon-bg)!important;
  border:1px solid var(--footer-icon-border)!important;
  color:var(--footer-icon-color)!important;
}
.ts-footer__social a:hover{
  background:#B2D235!important;
  border-color:#B2D235!important;
  color:#000!important;
}
.ts-footer__bottom{border-color:var(--footer-border)!important}

/* FIX BENEFICIOS + DESTACADOS HOME */
.beneficios-rnet .icono{font-size:42px!important;width:42px;height:42px;display:flex;align-items:center;justify-content:center;color:var(--text-muted)!important;margin-bottom:16px;transition:.3s}
.beneficios-rnet .beneficio-rnet:hover .icono{color:#B2D235!important}

/* rnet-card global, no solo en ul.products */
.swiper-slide .rnet-card, .ts-products__wrapper .rnet-card, li.product.rnet-card{
  background:var(--bg-card,#fff)!important;border:1px solid var(--border,#dfe5ee)!important;
}
html[data-theme="dark"] .swiper-slide .rnet-card{background:#181818!important;border-color:#2a2a2a!important}
html[data-theme="dark"] .swiper-slide .rnet-card .rc-title a{color:#fff!important}
html[data-theme="dark"] .swiper-slide .rnet-card .rc-row span{color:#9aa3b3!important}
html[data-theme="dark"] .swiper-slide .rnet-card .rc-row strong,
html[data-theme="dark"] .swiper-slide .rnet-card .rc-public strong{color:#fff!important}
html[data-theme="dark"] .swiper-slide .rnet-card .rc-price{color:#B2D235!important}
html[data-theme="dark"] .swiper-slide .rnet-card .rc-pricing{border-color:#2a2a2a!important}

/* arregla el input roto de tu captura 2 */
.swiper-slide .rnet-card .rc-qty{width:100%!important;display:flex!important}
.swiper-slide .rnet-card .rc-qty-input{flex:1!important;border-left:1px solid var(--border)!important;border-right:1px solid var(--border)!important}
.swiper-slide .rnet-card .rc-actions{flex-direction:column!important}