/* ==========================================================================
   SECURETECH — Tienda pública
   Paleta: navy técnico + teal señal + acero
   Tipografías: Rajdhani · IBM Plex Sans
   ========================================================================== */

:root {
  --s-bg: #eef2f6;
  --s-bg-elevated: #ffffff;
  --s-bg-panel: #f4f7fa;
  --s-navy: #0c1b2a;
  --s-navy-mid: #142a3f;
  --s-steel: #243b53;
  --s-teal: #0f766e;
  --s-teal-bright: #14b8a6;
  --s-amber: #c2410c;
  --s-ink: #0f172a;
  --s-ink-muted: #475569;
  --s-ink-dim: #64748b;
  --s-border: rgba(15, 27, 42, 0.12);
  --s-border-soft: rgba(15, 27, 42, 0.06);
  --s-shadow: 0 18px 40px rgba(12, 27, 42, 0.1);
  --s-shadow-hover: 0 22px 48px rgba(12, 27, 42, 0.16);
  --font-title: "Rajdhani", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --t-container: 1180px;
  --header-h: 78px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* aliases legacy (--l-*) para compatibilidad */
  --l-bg: var(--s-bg);
  --l-bg-elevated: var(--s-bg-elevated);
  --l-bg-card: var(--s-bg-elevated);
  --l-burgundy: var(--s-navy);
  --l-burgundy-light: var(--s-navy-mid);
  --l-crimson: var(--s-steel);
  --l-gold: var(--s-teal);
  --l-gold-bright: var(--s-teal-bright);
  --l-gold-soft: #5eead4;
  --l-ink: var(--s-ink);
  --l-ink-muted: var(--s-ink-muted);
  --l-ink-dim: var(--s-ink-dim);
  --l-border: var(--s-border);
  --l-border-soft: var(--s-border-soft);
  --l-shadow: var(--s-shadow);
  --l-glow-gold: 0 0 0 transparent;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--s-ink);
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(20, 184, 166, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(12, 27, 42, 0.06), transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, var(--s-bg) 40%, #e8eef4 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--s-teal); transition: color 0.2s; }
a:hover { color: var(--s-navy); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.t-container {
  width: min(100% - 2rem, var(--t-container));
  margin-inline: auto;
}

/* —— Announcement —— */
.t-announce {
  background: var(--s-navy);
  color: #cbd5e1;
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.t-announce a { color: var(--s-teal-bright); }

/* —— Header —— */
.t-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 27, 42, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 184, 166, 0.25);
  box-shadow: 0 8px 28px rgba(12, 27, 42, 0.22);
  transition: box-shadow 0.3s var(--ease);
}
.t-header.is-scrolled {
  --header-h: 64px;
  box-shadow: 0 10px 32px rgba(12, 27, 42, 0.3);
}
.t-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding: 0.4rem 0;
  padding-top: max(0.4rem, var(--safe-top));
  transition: min-height 0.35s var(--ease);
}
.t-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.t-header__mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--s-teal-bright), var(--s-teal));
  display: grid;
  place-items: center;
  color: #042f2e;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(20, 184, 166, 0.35);
  transition: transform 0.3s var(--ease);
}
.t-header__brand:hover .t-header__mark { transform: scale(1.05); }
.t-header__text { display: flex; flex-direction: column; gap: 0; line-height: 1.1; }
.t-header__name {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.t-header__tagline {
  display: none;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.04em;
  margin: 0.1rem 0 0;
}
@media (min-width: 640px) {
  .t-header__tagline { display: block; }
}

.t-header__logo,
.t-header__logo-video { display: none; }

.t-nav { display: none; align-items: center; gap: 0.2rem; }
@media (min-width: 900px) { .t-nav { display: flex; } }
.t-nav__link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  text-decoration: none;
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  position: relative;
  transition: color 0.25s, background 0.25s;
}
.t-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  left: 0.95rem;
  right: 0.95rem;
  height: 2px;
  background: var(--s-teal-bright);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.t-nav__link:hover,
.t-nav__link.is-active { color: #fff; }
.t-nav__link:hover::after,
.t-nav__link.is-active::after { transform: scaleX(1); }

.t-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
@media (min-width: 900px) { .t-header__actions { margin-left: 0; } }

.t-pedido-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  min-height: 44px;
  border: 1px solid rgba(20, 184, 166, 0.45);
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.12);
  color: #99f6e4;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.t-pedido-btn:hover,
.t-pedido-btn.is-open {
  border-color: var(--s-teal-bright);
  background: rgba(20, 184, 166, 0.22);
  color: #fff;
}
.t-pedido-btn__label { display: none; }
@media (min-width: 520px) { .t-pedido-btn__label { display: inline; } }
.t-pedido-btn__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--s-teal-bright);
  color: var(--s-navy);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}
.t-drawer-pedido-count {
  font-size: 0.85em;
  color: var(--s-teal-bright);
  margin-left: 0.25rem;
}

/* Pedido drawer */
.t-pedido-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(12, 27, 42, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.t-pedido-overlay.is-open { opacity: 1; visibility: visible; }
.t-pedido-drawer {
  position: fixed; top: 0; right: 0; z-index: 1101;
  width: min(100%, 400px); height: 100%; max-height: 100dvh;
  background: var(--s-bg-elevated);
  border-left: 1px solid var(--s-border);
  box-shadow: -12px 0 40px rgba(12, 27, 42, 0.2);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  padding-bottom: var(--safe-bottom);
}
.t-pedido-drawer.is-open { transform: translateX(0); }
.t-pedido-drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--s-border-soft);
}
.t-pedido-drawer__title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--s-navy);
  margin: 0;
  letter-spacing: 0.03em;
}
.t-pedido-drawer__close {
  border: none; background: transparent; color: var(--s-ink-muted);
  font-size: 1.75rem; line-height: 1; cursor: pointer; padding: 0.25rem;
}
.t-pedido-drawer__hint {
  margin: 0; padding: 0.75rem 1.25rem;
  font-size: 0.8rem; color: var(--s-ink-muted); line-height: 1.5;
}
.t-pedido-drawer__body { flex: 1; overflow-y: auto; padding: 0 1.25rem; }
.t-pedido-empty { color: var(--s-ink-muted); font-size: 0.9rem; line-height: 1.6; margin: 1rem 0; }
.t-pedido-list { list-style: none; margin: 0; padding: 0; }
.t-pedido-item {
  display: grid;
  grid-template-columns: 52px 1fr auto auto;
  gap: 0.65rem; align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--s-border-soft);
}
.t-pedido-item__img {
  width: 52px; height: 52px; object-fit: contain;
  background: var(--s-bg-panel); border-radius: 6px;
}
.t-pedido-item__name { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--s-ink); line-height: 1.35; }
.t-pedido-item__ref { margin: 0.15rem 0 0; font-size: 0.7rem; color: var(--s-ink-muted); }
.t-pedido-item__price { margin: 0.25rem 0 0; font-size: 0.8rem; color: var(--s-teal); font-weight: 700; }
.t-pedido-item__qty { display: flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; }
.t-pedido-qty {
  width: 28px; height: 28px; border: 1px solid var(--s-border); border-radius: 4px;
  background: var(--s-bg-panel); color: var(--s-navy); cursor: pointer; line-height: 1; padding: 0;
}
.t-pedido-remove { border: none; background: transparent; color: var(--s-ink-muted); font-size: 1.35rem; cursor: pointer; padding: 0.25rem; line-height: 1; }
.t-pedido-drawer__foot {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--s-border);
  display: flex; flex-direction: column; gap: 0.65rem;
}
.t-pedido-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0 0 0.25rem; font-size: 0.9rem; color: var(--s-ink-muted);
}
.t-pedido-total strong {
  font-family: var(--font-title); font-size: 1.45rem; font-weight: 700; color: var(--s-navy);
}
.btn-pedido-whatsapp {
  display: block; text-align: center; padding: 0.85rem 1rem;
  background: #25d366 !important; border: none !important; color: #fff !important;
  font-weight: 700; text-decoration: none !important; border-radius: 8px;
}
.btn-pedido-whatsapp.is-disabled { opacity: 0.45; pointer-events: none; }
.btn-pedido-vaciar,
.btn-pedido-seguir {
  display: block; width: 100%; text-align: center; padding: 0.65rem;
  border-radius: 8px; font-size: 0.8rem; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn-pedido-vaciar { background: transparent; border: 1px solid var(--s-border); color: var(--s-ink-muted); }
.btn-pedido-seguir { background: var(--s-bg-panel); border: 1px solid var(--s-border); color: var(--s-navy); }

.t-pedido-toast {
  position: fixed;
  bottom: calc(1.25rem + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1200;
  background: var(--s-navy);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--s-shadow);
  transition: transform 0.35s var(--ease);
  max-width: min(90vw, 360px);
  text-align: center;
}
.t-pedido-toast.is-visible { transform: translateX(-50%) translateY(0); }
body.pedido-open { overflow: hidden; }

.card-producto-pedido {
  padding: 0 1rem 1rem;
  background: var(--s-bg-panel);
  border-top: 1px solid var(--s-border-soft);
}
.btn-pedido-agregar {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  width: 100%; padding: 0.75rem 0.85rem;
  border: 1px solid var(--s-teal);
  border-radius: 8px;
  background: transparent;
  color: var(--s-teal);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-pedido-agregar:hover,
.btn-pedido-agregar.is-added {
  background: linear-gradient(135deg, var(--s-teal-bright), var(--s-teal));
  color: #042f2e;
  border-color: var(--s-teal-bright);
}
.btn-pedido-agregar--detail { margin-bottom: 0.65rem; }
.product-pedido-tienda { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.product-pedido-tienda .btn-pedido-agregar--detail { flex: 1 1 220px; margin-bottom: 0; }

.t-menu-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  cursor: pointer; padding: 0;
}
@media (min-width: 900px) { .t-menu-btn { display: none; } }
.t-menu-btn__bars { width: 20px; height: 14px; position: relative; }
.t-menu-btn__bars span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: #e2e8f0; border-radius: 1px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease), opacity 0.2s;
}
.t-menu-btn__bars span:nth-child(1) { top: 0; }
.t-menu-btn__bars span:nth-child(2) { top: 6px; }
.t-menu-btn__bars span:nth-child(3) { top: 12px; }
.t-menu-btn.is-open span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.t-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.t-menu-btn.is-open span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.t-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(12, 27, 42, 0.55);
  z-index: 1040;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.t-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.t-drawer {
  position: fixed; top: 0; left: 0;
  width: min(90vw, 340px); height: 100dvh;
  background: var(--s-navy);
  border-right: 1px solid rgba(20, 184, 166, 0.25);
  z-index: 1050;
  padding: max(1.5rem, var(--safe-top)) 1.5rem 2rem;
  transform: translateX(-105%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.t-drawer.is-open { transform: translateX(0); }
.t-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.t-drawer__title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0;
}
.t-drawer__close {
  width: 42px; height: 42px; border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent; color: #e2e8f0; border-radius: 8px;
  font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.t-drawer__nav { list-style: none; margin: 0; padding: 0; }
.t-drawer__nav a {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  text-decoration: none;
  font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #cbd5e1;
}
.t-drawer__nav a i { color: var(--s-teal-bright); width: 1.25rem; text-align: center; }
body.menu-open { overflow: hidden; }

.t-main { min-height: 40vh; }

/* —— Hero —— */
.t-hero-banner {
  position: relative;
  min-height: min(78vh, 620px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
  border-bottom: 1px solid var(--s-border);
}
.t-hero-banner__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(12, 27, 42, 0.92) 0%, rgba(20, 42, 63, 0.78) 45%, rgba(15, 118, 110, 0.55) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 48px),
    radial-gradient(circle at 78% 35%, rgba(20, 184, 166, 0.35), transparent 28%),
    linear-gradient(160deg, #0c1b2a 0%, #16324a 55%, #0f766e 100%);
  animation: heroPulse 12s ease-in-out infinite alternate;
}
.t-hero-banner__bg::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 18%;
  width: min(38vw, 320px);
  height: min(38vw, 320px);
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(20, 184, 166, 0.05);
  animation: ringFloat 8s var(--ease) infinite alternate;
  pointer-events: none;
}
.t-hero-banner__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(12, 27, 42, 0.55) 100%);
  pointer-events: none;
}
.t-hero-banner__content {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  width: min(100% - 2rem, var(--t-container));
  margin-inline: auto;
  max-width: 40rem;
  animation: heroIn 0.9s var(--ease) both;
}
.t-hero-banner__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--s-teal-bright);
  margin: 0 0 0.85rem;
}
.t-hero-banner__title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.85rem;
  line-height: 0.95;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.t-hero-banner__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #cbd5e1;
  margin: 0 0 1.75rem;
  line-height: 1.55;
  max-width: 32rem;
}
.t-hero-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #042f2e;
  background: linear-gradient(135deg, #5eead4, var(--s-teal-bright));
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(20, 184, 166, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.t-hero-banner__cta:hover {
  color: #042f2e;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(20, 184, 166, 0.45);
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroPulse {
  from { filter: saturate(1); }
  to { filter: saturate(1.15) brightness(1.05); }
}
@keyframes ringFloat {
  from { transform: translateY(0) scale(1); opacity: 0.7; }
  to { transform: translateY(-12px) scale(1.04); opacity: 1; }
}

/* Slider (si hay) */
.t-slider-section {
  position: relative; width: 100%; margin: 0;
  background: var(--s-navy);
  border-bottom: 1px solid var(--s-border);
}
.tienda-slider-wrap.t-slider,
.t-slider-wrap {
  position: relative; width: 100%;
  padding-bottom: min(48vh, 520px); height: 0;
  overflow: hidden; background: #0c1b2a;
}
.t-slider-wrap .carousel,
.tienda-slider-wrap .carousel { position: absolute; inset: 0; }
.t-slider-wrap .carousel-inner,
.t-slider-wrap .carousel-inner > .item,
.tienda-slider-wrap .carousel-inner,
.tienda-slider-wrap .carousel-inner > .item { height: 100%; }
.t-slider-wrap .item,
.tienda-slider-wrap .item { position: relative; background: #0c1b2a; }
.t-slider-wrap .slider-media-wrap,
.tienda-slider-wrap .item .slider-media-wrap { position: absolute; inset: 0; }
.t-slider-wrap .item img,
.t-slider-wrap .item video,
.tienda-slider-wrap .item img,
.tienda-slider-wrap .item video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.t-slider-wrap .slider-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,27,42,0.9) 0%, rgba(12,27,42,0.3) 50%, rgba(15,118,110,0.2) 100%);
  z-index: 2; pointer-events: none;
}
.t-slider-wrap .carousel-indicators { bottom: 18px; z-index: 4; }
.t-slider-wrap .carousel-indicators li {
  width: 10px; height: 10px; border: 1px solid var(--s-teal-bright);
  background: transparent; margin: 0 5px;
}
.t-slider-wrap .carousel-indicators .active { background: var(--s-teal-bright); }
.t-slider-wrap .carousel-control {
  width: 48px; background: rgba(12,27,42,0.45) !important; opacity: 0.85; z-index: 4;
}
.t-slider-wrap .carousel-control .fa { color: #fff; font-size: 1.25rem; }
.t-slider-wrap .tienda-slider-link { position: absolute; inset: 0; z-index: 2; }

/* —— Catálogo / pasarela —— */
.t-pasarela,
.t-inner { padding: 3rem 0 4rem; position: relative; }
.t-pasarela__head,
.t-page-head { text-align: left; margin-bottom: 2rem; }
.t-pasarela__title,
.page-header-tienda,
.t-page-head h1 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--s-navy);
  margin: 0 0 0.45rem;
}
.t-pasarela__sub,
.page-descripcion-tienda,
.t-page-head p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--s-ink-muted);
  margin: 0;
  max-width: 40rem;
}

.tienda-filtros-wrapper {
  background: var(--s-bg-elevated);
  border: 1px solid var(--s-border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--s-shadow);
}
.tienda-filtros-header {
  display: none; justify-content: space-between; align-items: center;
  font-family: var(--font-title); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--s-navy); cursor: pointer;
}
@media (max-width: 767px) {
  .tienda-filtros-header { display: flex; }
  .tienda-filtros-row:not(.show) { max-height: 0; overflow: hidden; opacity: 0; margin: 0; }
  .tienda-filtros-row.show {
    max-height: 900px; opacity: 1; margin-top: 1rem;
    transition: max-height 0.4s var(--ease), opacity 0.3s;
  }
}
.tienda-filtros-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; }
.tienda-filtros-buscar { flex: 1; min-width: 200px; position: relative; }
.tienda-filtros-buscar .input-icon {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--s-teal); pointer-events: none;
}
.tienda-filtros-categoria,
.tienda-filtros-marca,
.tienda-filtros-orden,
.tienda-filtros-por-pagina { min-width: 140px; flex: 1; }
.tienda-filtros-buscar input,
.tienda-filtros-categoria select,
.tienda-filtros-marca select,
.tienda-filtros-orden select,
.tienda-filtros-por-pagina select,
.form-control {
  width: 100%; padding: 0.7rem 0.9rem;
  font-family: var(--font-body); font-size: 16px;
  border: 1px solid var(--s-border); border-radius: 8px;
  background: #fff; color: var(--s-ink);
}
.tienda-filtros-buscar input:focus,
select:focus {
  outline: none; border-color: var(--s-teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}
.tienda-filtros-acciones { display: flex; gap: 0.5rem; flex-shrink: 0; }
.btn-filtro-buscar {
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--s-teal-bright), var(--s-teal));
  color: #042f2e; border: none; border-radius: 8px; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-filtro-buscar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
  color: #042f2e;
}
.btn-filtro-limpiar {
  padding: 0.7rem 1rem; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--s-navy); border: 1px solid var(--s-border);
  background: transparent; border-radius: 8px; text-decoration: none;
  display: inline-flex; align-items: center;
}
.btn-filtro-limpiar:hover { background: var(--s-bg-panel); color: var(--s-teal); }

/* Grid / cards */
.productos-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 520px) {
  .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
}
@media (min-width: 900px) {
  .productos-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
}

.card-producto {
  background: var(--s-bg-elevated);
  border: 1px solid var(--s-border);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.25s;
}
@media (hover: hover) {
  .card-producto:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: var(--s-shadow-hover);
  }
}
.card-producto-link {
  text-decoration: none; color: var(--s-ink);
  display: flex; flex-direction: column; flex: 1;
}
.card-img-wrap {
  aspect-ratio: 1;
  background:
    linear-gradient(160deg, #e8eef4 0%, #dbe7ef 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; position: relative; overflow: hidden;
}
.card-img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(12,27,42,0.06));
  pointer-events: none;
}
.card-img-wrap img {
  max-height: 100%; width: auto; max-width: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}
@media (hover: hover) {
  .card-producto:hover .card-img-wrap img { transform: scale(1.04); }
}
.card-body-tienda {
  padding: 1rem 1.1rem 0.85rem;
  display: flex; flex-direction: column; gap: 0.75rem; flex: 1;
}
.card-marca {
  margin: 0;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--s-teal);
}
.card-title-tienda {
  font-family: var(--font-title);
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.01em; line-height: 1.2;
  color: var(--s-navy); margin: 0.2rem 0 0;
}
.card-modelo {
  margin: 0.25rem 0 0;
  font-size: 0.75rem; color: var(--s-ink-dim);
}
.card-copy-foot { margin-top: auto; }
.precio-tienda {
  font-family: var(--font-title);
  font-size: 1.35rem; font-weight: 700;
  color: var(--s-navy); margin: 0 0 0.55rem;
}
.card-ref { margin: 0; font-size: 0.7rem; color: var(--s-ink-dim); }
.visually-hidden-ref { display: none; }
.card-cta {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--s-teal);
}
.tienda-reveal-item {
  opacity: 0; transform: translateY(16px);
  animation: cardReveal 0.55s var(--ease) forwards;
}
.tienda-reveal-item:nth-child(2) { animation-delay: 0.05s; }
.tienda-reveal-item:nth-child(3) { animation-delay: 0.1s; }
.tienda-reveal-item:nth-child(4) { animation-delay: 0.15s; }
@keyframes cardReveal {
  to { opacity: 1; transform: translateY(0); }
}

.tienda-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--s-bg-elevated);
  border: 1px dashed rgba(15, 118, 110, 0.35);
  border-radius: 14px;
}
.tienda-empty-state__icon {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  border-radius: 16px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--s-teal);
  display: grid; place-items: center;
  font-size: 1.6rem;
}
.tienda-empty-state h3 {
  font-family: var(--font-title);
  font-size: 1.6rem; font-weight: 700;
  color: var(--s-navy); margin: 0 0 0.5rem;
}
.tienda-empty-state p { color: var(--s-ink-muted); margin: 0; max-width: 28rem; margin-inline: auto; }

/* Paginación */
.tienda-paginacion { margin-top: 2.5rem; text-align: center; }
.tienda-paginacion-info { color: var(--s-ink-muted); font-size: 0.85rem; margin-bottom: 0.85rem; }
.tienda-paginacion-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center;
}
.tienda-paginacion-btn,
.tienda-paginacion-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 0.75rem;
  border-radius: 8px; border: 1px solid var(--s-border);
  background: #fff; color: var(--s-navy); text-decoration: none;
  font-weight: 600; font-size: 0.85rem;
}
.tienda-paginacion-num.active,
.tienda-paginacion-btn:hover,
.tienda-paginacion-num:hover {
  background: var(--s-navy); color: #fff; border-color: var(--s-navy);
}

/* Detalle producto */
.breadcrumb-tienda-list {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center;
  font-size: 0.85rem; color: var(--s-ink-muted);
}
.breadcrumb-tienda-list a { color: var(--s-teal); text-decoration: none; }
.breadcrumb-tienda-list .active { color: var(--s-navy); font-weight: 600; }
.product-image-container {
  background: #fff; border: 1px solid var(--s-border);
  border-radius: 14px; padding: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.product-main-image { max-height: 420px; width: auto; margin: 0 auto; object-fit: contain; }
.product-gallery-grid { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.gallery-thumbnail-tienda {
  width: 72px; height: 72px; padding: 0.35rem;
  border: 1px solid var(--s-border); border-radius: 8px;
  background: #fff; cursor: pointer; overflow: hidden;
}
.gallery-thumbnail-tienda.active,
.gallery-thumbnail-tienda:hover { border-color: var(--s-teal); }
.gallery-thumbnail-tienda img { width: 100%; height: 100%; object-fit: contain; }
.product-title-tienda {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700; color: var(--s-navy); letter-spacing: 0.02em;
}
.badge-tienda {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.35rem 0.65rem; margin: 0 0.35rem 0.35rem 0;
  border-radius: 999px; background: rgba(15, 118, 110, 0.1);
  color: var(--s-teal); font-size: 0.75rem; font-weight: 600;
}
.badge-tienda-info { background: rgba(12, 27, 42, 0.06); color: var(--s-steel); }
.product-price-large .price-amount {
  font-family: var(--font-title);
  font-size: 2.2rem; font-weight: 700; color: var(--s-navy);
}
.product-price-large .price-label {
  display: block; font-size: 0.75rem; color: var(--s-ink-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.product-pago-tienda h3,
.product-desc-title {
  font-family: var(--font-title);
  font-weight: 700; color: var(--s-navy); letter-spacing: 0.02em;
}
.btn-pago-transferencia,
.btn-primary-tienda {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.2rem; border-radius: 10px;
  background: linear-gradient(135deg, var(--s-teal-bright), var(--s-teal));
  color: #042f2e !important; font-weight: 700; text-decoration: none;
  border: none;
}
.btn-outline-tienda,
.btn-tienda-admin {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.2rem; border-radius: 10px;
  background: transparent; border: 1px solid var(--s-border);
  color: var(--s-navy) !important; font-weight: 700; text-decoration: none;
}
.product-description-texto {
  color: var(--s-ink-muted); line-height: 1.7;
  background: var(--s-bg-elevated); border: 1px solid var(--s-border);
  border-radius: 12px; padding: 1rem 1.15rem;
}

/* Footer */
.t-footer {
  background: var(--s-navy);
  color: #94a3b8;
  margin-top: 2rem;
  border-top: 1px solid rgba(20, 184, 166, 0.25);
}
.tienda-footer-inner { padding: 3rem 0 1.5rem; }
.tienda-footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .tienda-footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
}
.tienda-footer-logo-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: #fff;
}
.tienda-footer-logo { display: none; }
.tienda-footer-brand-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(145deg, var(--s-teal-bright), var(--s-teal));
  display: grid; place-items: center; color: #042f2e; font-size: 1.25rem;
}
.tienda-footer-brand-name {
  font-family: var(--font-title);
  font-size: 1.45rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; margin: 0;
}
.tienda-footer-tagline {
  margin: 0 0 1.25rem;
  font-size: 1rem; color: #cbd5e1;
  border: none; padding: 0;
}
.tienda-footer-title {
  font-family: var(--font-title);
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; margin: 0 0 0.75rem;
}
.tienda-footer-links { list-style: none; margin: 0; padding: 0; }
.tienda-footer-links a {
  color: #94a3b8; text-decoration: none;
  display: inline-block; padding: 0.3rem 0; font-weight: 500;
}
.tienda-footer-links a:hover { color: var(--s-teal-bright); }
.tienda-footer-redes { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.tienda-redes-link {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(148,163,184,0.2);
  color: #e2e8f0 !important; text-decoration: none; font-size: 1.1rem;
}
.tienda-redes-link:hover {
  background: rgba(20, 184, 166, 0.18);
  color: var(--s-teal-bright) !important;
  border-color: rgba(20, 184, 166, 0.4);
}
.tienda-footer-sin-redes { font-size: 0.8rem; color: #64748b; }
.tienda-footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: space-between; align-items: center;
}
.tienda-footer-texto { margin: 0; font-size: 0.8rem; }
.tienda-footer-credit { margin: 0; font-size: 0.8rem; }
.tienda-footer-credit a { color: var(--s-teal-bright); text-decoration: none; }

/* Utilidades bootstrap override en contexto tienda */
.lead.text-muted { color: var(--s-ink-muted) !important; }
.text-info { color: var(--s-teal) !important; }
.detalle-producto-vacio { padding: 2rem 0 3rem; }

@media (max-width: 520px) {
  .t-hero-banner { min-height: min(72vh, 520px); }
  .t-header__mark { width: 38px; height: 38px; }
}
