/* ============================================================
   TechStore Dark – main.css  (v2 · responsive + slider)
   ============================================================ */

/* ---------- 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: #0d0d0d;
  color: #ddd;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ---------- CONTAINER ---------- */
.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 ---------- */
.ts-topbar {
  background: #0a0a0a;
  border-bottom: 1px solid #1e1e1e;
  padding: 7px 0;
  font-size: 12px;
  color: #aaa;
}
.ts-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ts-topbar__left  { display: flex; gap: 20px; align-items: center; }
.ts-topbar__right { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.ts-topbar__left span { display: flex; align-items: center; gap: 6px; }
.ts-topbar__right a  {
  color: #aaa; font-size: 12px;
  display: flex; align-items: center; gap: 4px;
  transition: color .2s; text-decoration: none;
}
.ts-topbar__right a:hover { color: #9BEF00; }
.ts-topbar__right i { font-size: 15px; }

/* ---------- HEADER ---------- */
.ts-header {
  background: #111;
  border-bottom: 1px solid #222;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s, padding .3s;
}
.ts-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.7); }
.ts-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

/* 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-header__logo .custom-logo { max-height: 56px; width: auto; }

/* 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 #2e2e2e;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s;
}
.ts-search-form:focus-within { border-color: #9BEF00; }
.ts-search-input {
  flex: 1; min-width: 0;
  background: none; border: none;
  padding: 10px 16px; color: #fff; font-size: 14px; outline: none;
}
.ts-search-input::placeholder { color: #666; }
.ts-search-btn {
  background: #9BEF00; color: #000; border: none;
  padding: 0 18px; font-size: 18px;
  display: flex; align-items: center; cursor: pointer;
  transition: background .2s; flex-shrink: 0;
}
.ts-search-btn:hover { background: #b5ff1a; }

/* 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: #9BEF00; }
.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: #9BEF00; 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: #9BEF00; 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: #181818; border-bottom: 1px solid #222; }
.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: 13px 16px;
  color: #ddd; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .4px;
  text-decoration: none; transition: color .2s, border-bottom-color .2s;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.ts-nav__menu > li > a:hover,
.ts-nav__menu > li.current-menu-item > a { color: #9BEF00; border-bottom-color: #9BEF00; }

/* 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 #9BEF00;
  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: #9BEF00; }

/* ---------- 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(155,239,0,.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: #9BEF00; font-size: 15px; font-weight: 500;
  margin-bottom: 12px; letter-spacing: .5px;
}
.ts-hero__title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 18px;
}
.ts-hero__desc { color: #aaa; font-size: 15px; line-height: 1.7; margin-bottom: 32px; }
.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(155,239,0,.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: #9BEF00; 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: #9BEF00; color: #000; border-color: #9BEF00;
}
.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: 12px 26px; border-radius: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: all .2s; border: 2px solid transparent;
  white-space: nowrap;
}
.ts-btn--primary { background: #9BEF00; color: #000; border-color: #9BEF00; }
.ts-btn--primary:hover { background: #b5ff1a; color: #000; border-color: #b5ff1a; }
.ts-btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.ts-btn--ghost:hover { background: #fff; color: #000; }
.ts-btn--outline { background: transparent; color: #9BEF00; border-color: #9BEF00; }
.ts-btn--outline:hover { background: #9BEF00; color: #000; }
.ts-btn--cart {
  background: #1e1e1e; color: #fff; border-color: #333;
  width: 100%; justify-content: center;
  font-size: 12px; padding: 10px 16px;
}
.ts-btn--cart:hover { background: #9BEF00; color: #000; border-color: #9BEF00; }

/* ---------- SECTION ---------- */
.ts-section { padding: 60px 0; }
.ts-section-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800; text-align: center;
  margin-bottom: 40px; letter-spacing: 1px;
  color: #fff; text-transform: uppercase;
}
.ts-section-title span { color: #9BEF00; }
.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: #9BEF00; 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: #b5ff1a; }

/* ---------- 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: #9BEF00; color: #000; border-color: #9BEF00; }
.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: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 10px;
  padding: 18px 12px; text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ts-cat-card:hover {
  border-color: #9BEF00; transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(155,239,0,.15);
}
.ts-cat-card__img {
  width: 72px; height: 56px; display: flex; align-items: center;
  justify-content: center; overflow: hidden; border-radius: 6px; background: #111;
}
.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: #9BEF00; }

/* ---------- 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: #1a1a1a; border: 1px solid #252525; border-radius: 10px;
  overflow: hidden; position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.ts-product-card:hover {
  border-color: #9BEF00;
  box-shadow: 0 8px 32px rgba(155,239,0,.12);
  transform: translateY(-3px);
}
.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: #9BEF00; }
.ts-product-card__rating { display: flex; align-items: center; gap: 4px; color: #9BEF00; 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: #9BEF00; }
.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: #9BEF00; }
.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: 36px 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: #9BEF00; 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: #9BEF00; 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: #0d0d0d; 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: #9BEF00; border-color: #9BEF00; 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: #9BEF00; }
.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: #9BEF00; }
.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: #9BEF00; 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: #b5ff1a; }
.ts-newsletter-msg { font-size: 12px; margin-top: 8px; color: #9BEF00; }

/* 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: #9BEF00; }
.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: #9BEF00; }
.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: #9BEF00; border-color: #9BEF00; 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: #9BEF00; }
.ts-single-post__content img { border-radius: 8px; margin: 16px 0; }
.ts-single-post__content blockquote { border-left: 3px solid #9BEF00; 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: #9BEF00; }

/* 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: #9BEF00; 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: #9BEF00; }

/* 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: #9BEF00; }
.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(155,239,0,.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; }
