/* =============================================================
   TEKBIT CHILD — main.css
   Paleta: #0A0A0A base · #FFFFFF texto · #00D4FF acento
   ============================================================= */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Eliminar tap highlight de WebKit (borde lila/azul al tocar en móvil) */
a, button, input, select, textarea, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-dk); }
a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1em; color: var(--color-text-muted); }
p:last-child { margin-bottom: 0; }

input, textarea, select, button { font-family: inherit; }

/* ── CONTENEDOR ───────────────────────────────────────────── */
.tekbit-container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ── BOTONES ──────────────────────────────────────────────── */
.tekbit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.tekbit-btn--primary {
  background: var(--color-accent);
  color: #0A0A0A;
}
.tekbit-btn--primary:hover {
  background: var(--color-accent-dk);
  color: #0A0A0A;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4);
}

.tekbit-btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.tekbit-btn--outline:hover {
  background: var(--color-accent);
  color: #0A0A0A;
}

.tekbit-btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
}
.tekbit-btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.tekbit-btn--lg { padding: 1rem 2.5rem; font-size: 1.0625rem; }
.tekbit-btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* ── BARRA DE PROMO ───────────────────────────────────────── */
.tekbit-promo-bar {
  background: var(--color-accent);
  color: #0A0A0A;
  text-align: center;
  padding: 0.5rem 3rem;
  font-size: 0.875rem;
  font-weight: 600;
  position: relative;
  letter-spacing: 0.03em;
}
.tekbit-promo-bar p { color: #0A0A0A; margin: 0; }
.tekbit-promo-bar__close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: #0A0A0A;
  line-height: 1;
  padding: 0 0.25rem;
}
.tekbit-promo-bar.hidden { display: none; }

/* ── HEADER ───────────────────────────────────────────────── */
.tekbit-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.tekbit-header.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8); }

.tekbit-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  height: 68px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Logo */
.tekbit-header__logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.tekbit-header__logo svg { height: 40px; width: auto; }
.tekbit-header__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}
.tekbit-header__logo-text span { color: var(--color-accent); }

/* Navegación */
.tekbit-header__nav { display: flex; justify-content: center; }

.tekbit-nav {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.tekbit-nav li a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.tekbit-nav li a:hover {
  color: var(--color-text);
  background: rgba(255,255,255,0.06);
}
.tekbit-nav li.current-menu-item > a,
.tekbit-nav li.current-menu-ancestor > a {
  color: var(--color-accent);
  background: transparent;
}

/* Submenús */
.tekbit-nav li { position: relative; }
.tekbit-nav .sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 200px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  list-style: none;
  z-index: 100;
}
.tekbit-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tekbit-nav .sub-menu a {
  padding: 0.5rem 0.75rem;
  color: var(--color-text-muted);
  border-radius: 4px;
}
.tekbit-nav .sub-menu a:hover { color: var(--color-accent); background: rgba(0,212,255,0.06); }

/* Botones de acción */
.tekbit-header__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.tekbit-header__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.tekbit-header__btn:hover {
  color: var(--color-text);
  background: rgba(255,255,255,0.06);
}
.tekbit-header__btn svg { flex-shrink: 0; }

/* Badge carrito */
.tekbit-cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--color-accent);
  color: #0A0A0A;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1;
}
.tekbit-cart-count.has-items { display: flex; }

/* Hamburger */
.tekbit-header__btn--menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-is-open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Barra de búsqueda */
.tekbit-search-bar {
  border-top: 1px solid var(--color-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}
.tekbit-search-bar.is-open { max-height: 80px; padding: 0.75rem 0; }
.tekbit-search-bar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.tekbit-search-bar .search-form { flex: 1; display: flex; gap: 0.5rem; }
.tekbit-search-bar .search-field {
  flex: 1;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
}
.tekbit-search-bar .search-field:focus { border-color: var(--color-accent); outline: none; }
.tekbit-search-bar .search-submit {
  background: var(--color-accent);
  color: #0A0A0A;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}
.tekbit-search-bar__close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* Menú móvil */
.tekbit-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 80vw);
  height: 100dvh;
  height: 100vh;
  background: var(--color-bg-card);
  border-left: 1px solid var(--color-border);
  z-index: 1100;
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(110%);
  visibility: hidden;
  transition: transform var(--transition-slow), visibility var(--transition-slow);
  will-change: transform;
}
.tekbit-mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.tekbit-mobile-menu__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.tekbit-mobile-menu__close:hover { color: var(--color-text); border-color: var(--color-accent); }

.tekbit-mobile-nav { list-style: none; padding: 0; margin: 0; }
.tekbit-mobile-nav li a {
  display: block;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
  cursor: pointer;
}
.tekbit-mobile-nav li a:hover,
.tekbit-mobile-nav li a:active { color: var(--color-accent); }
.tekbit-mobile-nav li.current-menu-item > a { color: var(--color-accent); }
.tekbit-mobile-nav .sub-menu { list-style: none; padding: 0 0 0 1rem; margin: 0; }
.tekbit-mobile-nav .sub-menu a { font-size: 0.9375rem; color: var(--color-text-muted); border-bottom: none; padding: 0.5rem 0; }

/* Overlay */
.tekbit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}
.tekbit-overlay.is-active { opacity: 1; visibility: visible; }

/* ── HERO SECTION ─────────────────────────────────────────── */
.tekbit-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

.tekbit-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(0,212,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0,153,204,0.06) 0%, transparent 50%),
    var(--color-bg);
  z-index: 0;
}

/* Grid de líneas decorativas */
.tekbit-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.tekbit-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.tekbit-hero__text { max-width: 540px; }

.tekbit-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.tekbit-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.tekbit-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.tekbit-hero__title .tekbit-accent { color: var(--color-accent); }

.tekbit-hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.tekbit-hero__ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tekbit-hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.tekbit-hero__stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
}
.tekbit-hero__stat span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Imagen hero */
.tekbit-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tekbit-hero__visual img,
.tekbit-hero__visual svg { max-height: 480px; filter: drop-shadow(0 20px 60px rgba(0,212,255,0.2)); }

/* ── SECCIONES ────────────────────────────────────────────── */
.tekbit-section {
  padding: 5rem 0;
}
.tekbit-section--alt { background: var(--color-bg-card); }
.tekbit-section--sm { padding: 3rem 0; }
.tekbit-section--lg { padding: 7rem 0; }

.tekbit-section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.tekbit-section__eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.tekbit-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.tekbit-section__desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── GRID DE PRODUCTOS (home) ─────────────────────────────── */
.tekbit-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ── TARJETA DE PRODUCTO ──────────────────────────────────── */
.tekbit-product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}
.tekbit-product-card:hover {
  border-color: rgba(0,212,255,0.3);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-4px);
}

.tekbit-product-card__img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.tekbit-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.tekbit-product-card:hover .tekbit-product-card__img img { transform: scale(1.05); }

.tekbit-product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-accent);
  color: #0A0A0A;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tekbit-product-card__badge--sale { background: var(--color-error); color: #fff; }
.tekbit-product-card__badge--new  { background: var(--color-success); color: #0A0A0A; }

.tekbit-product-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tekbit-product-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.tekbit-product-card__name a { color: inherit; text-decoration: none; }
.tekbit-product-card__name a:hover { color: var(--color-accent); }

.tekbit-product-card__rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.tekbit-product-card__stars { color: #FFB300; font-size: 0.875rem; letter-spacing: 1px; }
.tekbit-product-card__count { font-size: 0.8125rem; color: var(--color-text-muted); }

.tekbit-product-card__price {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tekbit-product-card__price .price-current {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
}
.tekbit-product-card__price .price-original {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.tekbit-product-card__price .price-discount {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-error);
  background: rgba(255,82,82,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.tekbit-product-card__footer {
  padding: 0 1.25rem 1.25rem;
}
.tekbit-product-card__footer .tekbit-btn { width: 100%; justify-content: center; }

/* ── SECCIÓN BENEFICIOS ───────────────────────────────────── */
.tekbit-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.tekbit-benefit-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.tekbit-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.tekbit-benefit-card:hover::before { opacity: 1; }
.tekbit-benefit-card:hover { border-color: rgba(0,212,255,0.2); }

.tekbit-benefit-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}
.tekbit-benefit-card__icon svg { color: var(--color-accent); }

.tekbit-benefit-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.tekbit-benefit-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── BANNER PROMOCIONAL ───────────────────────────────────── */
.tekbit-promo-banner {
  background: linear-gradient(135deg, #0A0A0A 0%, #0D1A1F 50%, #0A0A0A 100%);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.tekbit-promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.tekbit-promo-banner__tag {
  display: inline-block;
  background: var(--color-accent);
  color: #0A0A0A;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}
.tekbit-promo-banner__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.tekbit-promo-banner__desc { color: var(--color-text-muted); margin: 0; }
.tekbit-promo-banner__cta { flex-shrink: 0; }

/* ── CATEGORÍAS ───────────────────────────────────────────── */
.tekbit-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.tekbit-cat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.tekbit-cat-card:hover {
  border-color: var(--color-accent);
  background: rgba(0,212,255,0.04);
  transform: translateY(-3px);
}
.tekbit-cat-card__icon {
  font-size: 2rem;
  line-height: 1;
}
.tekbit-cat-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}
.tekbit-cat-card__count {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.tekbit-footer { background: var(--color-bg-card); border-top: 1px solid var(--color-border); }

.tekbit-footer__trust {
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}
.tekbit-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.tekbit-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.tekbit-trust-item__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.tekbit-trust-item strong { display: block; color: var(--color-text); font-size: 0.9375rem; font-weight: 600; }
.tekbit-trust-item span { font-size: 0.8125rem; color: var(--color-text-muted); }

.tekbit-footer__body { padding: 3.5rem 0 3rem; }
.tekbit-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.75fr;
  gap: 2.5rem;
}

.tekbit-footer__logo svg { height: 36px; width: auto; margin-bottom: 1rem; }
.tekbit-footer__tagline { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 1.5rem; }

.tekbit-footer__social { display: flex; gap: 0.5rem; }
.tekbit-social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.tekbit-social-link:hover { border-color: var(--color-accent); color: var(--color-accent); }

.tekbit-footer__title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.tekbit-footer__links { list-style: none; padding: 0; margin: 0; }
.tekbit-footer__links li { margin-bottom: 0.625rem; }
.tekbit-footer__links a { color: var(--color-text-muted); font-size: 0.9375rem; transition: color var(--transition); }
.tekbit-footer__links a:hover { color: var(--color-accent); }

/* Newsletter */
.tekbit-newsletter-form__row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.tekbit-newsletter-form input[type="email"] {
  flex: 1;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}
.tekbit-newsletter-form input[type="email"]:focus { border-color: var(--color-accent); outline: none; }
.tekbit-newsletter-form__msg { font-size: 0.875rem; color: var(--color-success); margin: 0; }
.tekbit-newsletter-form__msg.error { color: var(--color-error); }

/* Footer bottom */
.tekbit-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.tekbit-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tekbit-footer__copyright { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; }
.tekbit-footer__payment-icons { display: flex; gap: 0.5rem; }
.tekbit-payment-badge {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.625rem;
  border-radius: 4px;
}

/* ── SHIPPING / SECURE BADGES ─────────────────────────────── */
.tekbit-shipping-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0,230,118,0.06);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.tekbit-secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ── PÁGINAS LEGALES ──────────────────────────────────────── */
.tekbit-legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.tekbit-legal-page h1 { margin-bottom: 1rem; }
.tekbit-legal-page .tekbit-legal-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}
.tekbit-legal-page h2 { font-size: 1.375rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--color-text); }
.tekbit-legal-page h3 { font-size: 1.125rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.tekbit-legal-page p, .tekbit-legal-page li { color: var(--color-text-muted); line-height: 1.8; }
.tekbit-legal-page ul, .tekbit-legal-page ol { padding-left: 1.5rem; margin-bottom: 1em; }
.tekbit-legal-page a { color: var(--color-accent); }
.tekbit-legal-page a:hover { text-decoration: underline; }
.tekbit-legal-page table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9375rem; }
.tekbit-legal-page th, .tekbit-legal-page td { padding: 0.75rem 1rem; border: 1px solid var(--color-border); text-align: left; }
.tekbit-legal-page th { background: var(--color-bg-alt); color: var(--color-text); font-weight: 600; }
.tekbit-legal-page td { color: var(--color-text-muted); }

/* ── BREADCRUMBS ──────────────────────────────────────────── */
.tekbit-breadcrumbs {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.tekbit-breadcrumbs a { color: var(--color-text-muted); }
.tekbit-breadcrumbs a:hover { color: var(--color-accent); }
.tekbit-breadcrumbs span { color: var(--color-accent); }

/* ── FORMULARIOS GENERALES ────────────────────────────────── */
.tekbit-form-group { margin-bottom: 1.25rem; }
.tekbit-form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--color-text); margin-bottom: 0.5rem; }
.tekbit-form-group input,
.tekbit-form-group textarea,
.tekbit-form-group select {
  width: 100%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}
.tekbit-form-group input:focus,
.tekbit-form-group textarea:focus,
.tekbit-form-group select:focus { border-color: var(--color-accent); outline: none; }

/* ── ANIMACIONES ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
  50%       { box-shadow: 0 0 0 8px rgba(0,212,255,0.15); }
}

.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
.tekbit-btn--primary:focus-visible { animation: pulse-glow 1.5s ease infinite; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tekbit-hero__content { grid-template-columns: 1fr; text-align: center; }
  .tekbit-hero__text { max-width: 100%; }
  .tekbit-hero__ctas { justify-content: center; }
  .tekbit-hero__stats { justify-content: center; }
  .tekbit-hero__visual { display: none; }
  .tekbit-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .tekbit-header__nav { display: none; }
  .tekbit-header__btn--menu { display: flex; }
  .tekbit-footer__grid { grid-template-columns: 1fr; }
  .tekbit-trust-grid { grid-template-columns: 1fr 1fr; }
  .tekbit-promo-banner { flex-direction: column; text-align: center; }
  .tekbit-promo-banner__cta { width: 100%; }
  .tekbit-promo-banner__cta .tekbit-btn { width: 100%; justify-content: center; }
  .tekbit-footer__bottom-inner { flex-direction: column; text-align: center; }
  .tekbit-newsletter-form__row { flex-direction: column; }
}

@media (max-width: 480px) {
  .tekbit-trust-grid { grid-template-columns: 1fr; }
  .tekbit-hero__stats { flex-direction: column; gap: 1rem; }
  .tekbit-header__inner { gap: 0.75rem; }
}

/* ── STOREFRONT OVERRIDES (estilos del padre eliminados) ─── */
.storefront-primary-navigation { display: none; }
.site-header { display: none !important; }
.site-footer { display: none !important; }

/* ── LAYOUT FULL-WIDTH — sidebar eliminado en todas las vistas ── */

/* Ocultar sidebar de WordPress en todas las páginas */
#secondary,
.widget-area,
aside.widget-area {
  display: none !important;
}

/* Contenido principal siempre a ancho completo */
#primary,
#main,
.site-main,
.content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-right: 0 !important;
}

/* Storefront usa float interno — resetear */
.site-content { display: block !important; }
.site-content > .col-full { display: block !important; }

/* Evitar overflow horizontal por contenedores de Storefront */
.col-full,
.storefront-handheld-footer-bar,
.woocommerce-page .col-full {
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.storefront-handheld-footer-bar { display: none !important; }

/* ── PÁGINAS ESTÁNDAR (Sobre nosotros, Legal, Contacto) ──── */
.page .entry-content,
.page .entry-header,
.singular .entry-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}
.page .entry-header { padding-bottom: 0; }

.page .entry-title,
.singular .entry-title,
h1.entry-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text) !important;
  margin-bottom: 1rem;
}

/* Tipografía del contenido de páginas */
.entry-content h2 {
  font-size: 1.375rem;
  color: var(--color-text);
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.entry-content h3 {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
}
.entry-content p,
.entry-content li {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.entry-content ul,
.entry-content ol { padding-left: 1.5rem; margin-bottom: 1em; }
.entry-content a { color: var(--color-accent); }
.entry-content a:hover { text-decoration: underline; }
.entry-content strong { color: var(--color-text); }
.entry-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(0,212,255,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text-muted);
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}
.entry-content th,
.entry-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
}
.entry-content th { background: var(--color-bg-alt); color: var(--color-text); font-weight: 600; }
.entry-content td { color: var(--color-text-muted); }

/* Título de la tienda / archivos WooCommerce */
h1.page-title,
.woocommerce-products-header__title {
  color: var(--color-text) !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  margin-bottom: 1.5rem !important;
}

/* Botón Back-to-top */
.tekbit-btt {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: #0A0A0A;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,212,255,0.4);
}
.tekbit-btt.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.tekbit-btt:hover { background: var(--color-accent-dk); transform: translateY(-2px); }
