/* ============================================================
   PATINLAB — Stylesheet industrial/urbano
   Taller de patinetes eléctricos · Valencia
   ============================================================ */

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

:root {
  --bg: #FAF8F5;
  --bg-2: #F2EFE9;
  --bg-3: #EAE6DE;
  --bg-4: #E2DDD4;
  --text: #1A1714;
  --text-muted: #6B6560;
  --text-dim: #9C978F;
  --orange: #FF6600;
  --orange-dk: #CC5200;
  --orange-lt: #FF8833;
  --border: #D6D0C6;
  --border-lt: #C5BFB2;

  --font-title: 'Bebas Neue', 'Oswald', sans-serif;
  --font-sub: 'Oswald', 'Fira Sans Condensed', sans-serif;
  --font-body: 'Fira Sans Condensed', 'Roboto Condensed', sans-serif;

  --nav-h: 80px;
  --header-total-h: 118px;
  --container: 1200px;
  --gap: 2rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.main-content {
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--orange-lt);
}

ul {
  list-style: none;
}

/* ─── UTILIDADES ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 800px;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--bg-2);
}

.section-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.section-header {
  margin-bottom: 3rem;
  border-left: 4px solid var(--orange);
  padding-left: 1.25rem;
}

.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-header--split .section-title {
  margin-bottom: 0;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

/* ─── BOTONES ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn--primary:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.btn--outline:hover {
  background: var(--orange);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-lt);
}

.btn--ghost:hover {
  border-color: var(--text);
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 0.9rem;
}

.btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.link-arrow {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  transition: letter-spacing .2s;
}

.link-arrow:hover {
  letter-spacing: 0.18em;
  color: var(--orange);
}

/* ─── CABECERA GLOBAL INTEGRADA ───────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}

.site-header--scrolled .nav {
  background: rgba(250, 248, 245, 0.98);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ─── NAVEGACIÓN ─────────────────────────────────────────────── */
.nav {
  position: relative;
  width: 100%;
  height: 80px;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.nav--scrolled {
  background: rgba(250, 248, 245, 0.98);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.75rem;
}

.nav__logo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.nav__logo-prefix {
  color: var(--orange);
  font-size: 1rem;
}

.nav__logo:hover {
  color: var(--orange);
}

.nav__logo-img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
  transition: filter .2s, transform .2s;
  display: block;
}

.nav__logo:hover .nav__logo-img {
  filter: brightness(1.1);
  transform: scale(1.03);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.nav__links li a {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.45rem 0.75rem;
  transition: color .2s;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav__links li a:hover,
.nav__links li a.active {
  color: var(--text);
  border-bottom-color: var(--orange);
}

.nav__account {
  color: var(--text);
  padding: 0.48rem 0.75rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color .2s, background .2s, border-color .2s;
  border: 1px solid transparent;
  flex-shrink: 0;
}

.nav__account:hover,
.nav__account.active {
  color: var(--orange);
  background: var(--bg-2);
  border-color: var(--border);
}

.nav__cart {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 0.5rem 1.1rem !important;
  border: 2px solid var(--orange) !important;
  border-radius: 6px;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background .2s, transform .15s, box-shadow .2s !important;
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.25);
  flex-shrink: 0;
}

.nav__cart:hover,
.nav__cart.active {
  background: var(--orange-dk) !important;
  border-color: var(--orange-dk) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35) !important;
}

.nav__cart:active {
  transform: translateY(0);
}

.nav__cart-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__cart-count {
  background: #fff;
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transition: transform .2s;
}

.nav__cart-count--active {
  transform: scale(1.2);
}

/* Botón toggle de búsqueda en móvil */
.nav__search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0.45rem;
  color: var(--text);
  border-radius: 6px;
  transition: color .2s, background .2s, border-color .2s;
  flex-shrink: 0;
}

.nav__search-toggle:hover,
.nav__search-toggle--active {
  color: var(--orange);
  background: var(--bg-2);
  border-color: var(--border);
}

/* Panel desplegable de búsqueda en móvil */
.nav__search-mobile-bar {
  display: none;
  width: 100%;
  background: var(--bg);
  padding: 0.6rem 1rem;
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 95;
  box-sizing: border-box;
}

.nav__search-mobile-bar--open {
  display: block;
  animation: searchBarSlide .18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchBarSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hamburguesa */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

/* ─── BUSCADOR DE TOPBAR ─────────────────────────────────── */
.nav__search {
  flex: 1;
  max-width: 460px;
  position: relative;
}

.nav__search-form {
  width: 100%;
  position: relative;
}

.nav__search-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.nav__search-wrap:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}

.nav__search-icon {
  display: flex;
  align-items: center;
  padding: 0 0.5rem 0 0.7rem;
  color: var(--text-muted);
  flex-shrink: 0;
  pointer-events: none;
  transition: color .2s;
}

.nav__search-wrap:focus-within .nav__search-icon {
  color: var(--orange);
}

.nav__search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.48rem 0.25rem;
  width: 100%;
}

.nav__search-input::placeholder {
  color: var(--text-dim);
}

.nav__search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0.55rem;
  color: var(--text-muted);
  transition: color .2s;
  flex-shrink: 0;
}

.nav__search-clear:hover {
  color: var(--orange);
}

.nav__search-clear--visible {
  display: flex;
}

/* Dropdown de sugerencias */
.nav__search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  min-width: 440px;
  width: 100%;
  max-width: 90vw;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  z-index: 200;
  display: none;
  max-height: 440px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .nav__search {
    max-width: 100%;
  }
  .nav__search-dropdown {
    left: 0;
    right: 0;
    min-width: 0;
    width: 100%;
  }
}

.nav__search-dropdown--open {
  display: block;
  animation: dropIn .18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav__search-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  transition: background .15s ease;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav__search-item:last-child {
  border-bottom: none;
}

.nav__search-item:hover,
.nav__search-item--focus {
  background: var(--bg-2);
}

.nav__search-thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--bg-3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nav__search-info {
  flex: 1;
  min-width: 0;
}

.nav__search-name {
  font-family: var(--font-sub);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.nav__search-name mark {
  background: none;
  color: var(--orange);
  font-weight: 700;
}

.nav__search-cat {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
  display: inline-block;
  background: var(--bg-3);
  padding: 2px 6px;
  border-radius: 4px;
}

.nav__search-price {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.nav__search-footer {
  padding: 0.75rem 1.15rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
  background: var(--bg-2);
}

.nav__search-see-all {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: gap .2s;
}

.nav__search-see-all:hover {
  gap: 0.65rem;
  color: var(--orange-dk);
}

.nav__search-empty {
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}

.nav__hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ─────────────────────────────────── */
.page-inicio {
  /* El body tiene el padding-top del nav, pero en la home lo quitamos
     porque el hero ocupa toda la pantalla y el nav va por encima. */
  padding-top: 0;
}

.hero {
  position: relative;
  height: 100vh;
  /* Full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero__background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero__content {
  position: relative;
  /* Relative to hero, above overlay */
  z-index: 3;
  padding: 1rem;
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.03em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    /* Shorter height on mobile */
  }

  .hero__title {
    font-size: clamp(3rem, 15vw, 5rem);
  }
}

/* ─── STATS BAR ─────────────────────────────────────────────── */
.stats {
  background: var(--bg-3);
  border-top: 3px solid var(--orange);
  border-bottom: 1px solid var(--border);
}

.stats__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 2rem;
  gap: 0.2rem;
}

.stat__num {
  font-family: var(--font-title);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--orange);
  line-height: 1;
}

.stat__label {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat__sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── SERVICES PREVIEW (home) ────────────────────────────────── */
.services-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.service-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-left: 4px solid transparent;
  transition: border-left-color .2s, background .2s;
}

.service-card:last-child {
  border-right: none;
}

.service-card:hover {
  border-left-color: var(--orange);
  background: var(--bg-3);
}

.service-card__num {
  font-family: var(--font-title);
  font-size: 3.5rem;
  color: var(--border-lt);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color .2s;
}

.service-card:hover .service-card__num {
  color: var(--orange);
}

.service-card__body h3 {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.service-card__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ─── PRODUCTS GRID ──────────────────────────────────────────── */
.products-grid {
  display: grid;
  align-items: stretch;
  gap: 1px;
  border: 1px solid var(--border);
}

.products-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.products-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  background: var(--bg-2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .2s;
}

.product-card:hover {
  background: var(--bg-3);
}

.product-card__img-wrap {
  position: relative;
  overflow: hidden;
  display: block;
}

.product-card__img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  transition: transform .4s ease;
}

.product-card:hover .product-card__img-wrap img {
  transform: scale(1.04);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 102, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}

.product-card__overlay span {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

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

.product-card__cat {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.product-card__name {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.product-card__name a {
  color: var(--text);
}

.product-card__name a:hover {
  color: var(--orange);
}

.product-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.46em;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.product-card__price {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--orange);
  letter-spacing: 0.03em;
}

.product-card__price--consultar {
  font-size: 1.1rem;
  color: var(--text-muted, #8a8a8a);
  font-style: italic;
  letter-spacing: 0.02em;
}

.product-detail__price--consultar {
  font-size: 1.6rem;
  color: var(--text-muted, #8a8a8a);
  font-style: italic;
}

.product-card__actions {
  display: flex;
  gap: 0.5rem;
}

/* ─── ABOUT STRIP (home) ────────────────────────────────────── */
.about-strip {
  height: 200vh; /* creates scrollable area */
  background: var(--bg-1, #fff);
  position: relative;
}

.about-strip__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; /* centers the text in its column */
}

.about-strip__img {
  height: 100vh;
  overflow: hidden;
}

.about-strip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-strip__content {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 5rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-strip__content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ─── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  background: var(--bg-3);
  border-top: 3px solid var(--orange);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
}

.cta-section__title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cta-section__sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-section__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── PAGE HERO (páginas internas) ──────────────────────────── */
.page-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.page-hero--short .page-hero__content {
  padding: 3rem 1.5rem 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
  border-left: 4px solid var(--orange);
  padding-left: calc(1.5rem + 1.25rem);
}

.page-hero__title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

/* ─── BODY PADDING GLOBAL ────────────────────────────────────── */
body {
  padding-top: var(--header-total-h, var(--nav-h));
}

.about-block {
  padding: 2rem 0;
}

.about-block__text {}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}

.about-detail {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-detail:nth-child(even) {
  border-right: none;
}

.about-detail:nth-last-child(-n+2) {
  border-bottom: none;
}

.about-detail__label {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
}

.about-detail__val {
  font-size: 0.95rem;
  color: var(--text);
}

.full-img-strip {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.full-img-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-img-strip__caption {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.value-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: border-left-color .2s;
}

.value-item:hover {
  border-left-color: var(--orange);
}

.value-item:nth-child(even) {
  border-right: none;
}

.value-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.value-item__mark {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.value-item h3 {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ─── SERVICIOS PAGE ─────────────────────────────────────────── */
.main-services {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.main-service {
  display: grid;
  grid-template-columns: 80px 1fr 400px;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: -1px;
  align-items: stretch;
}

.main-service--reverse {
  grid-template-columns: 80px 1fr 400px;
}

.main-service__num {
  font-family: var(--font-title);
  font-size: 4rem;
  color: var(--border-lt);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  background: var(--bg-2);
  transition: color .2s, background .2s;
}

.main-service:hover .main-service__num {
  color: var(--orange);
  background: var(--bg-3);
}

.main-service__content {
  padding: 2.5rem 2.5rem;
  border-right: 1px solid var(--border);
}

.main-service__title {
  font-family: var(--font-sub);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--orange);
}

.main-service__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.main-service__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.main-service__list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1rem;
  border-left: 2px solid var(--orange);
}

.main-service__img {
  overflow: hidden;
}

.main-service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2) contrast(1.1);
  transition: filter .3s, transform .4s;
}

.main-service:hover .main-service__img img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.03);
}

/* Todos los servicios */
.all-services-toggle {
  margin-bottom: 1.5rem;
}

.all-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.service-tag {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  transition: color .2s, border-color .2s;
}

.service-tag:hover {
  color: var(--text);
  border-color: var(--orange);
}

/* Tabla de precios */
.pricing-table {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

.pricing-col__header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.pricing-col__badge {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.3rem;
}

.pricing-col__badge--orange {
  color: var(--orange);
}

.pricing-col__title {
  font-family: var(--font-title);
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-col--premium .pricing-col__title {
  color: var(--orange);
}

.pricing-divider {
  background: var(--border);
}

.pricing-list {
  padding: 1.5rem 2rem;
}

.pricing-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list__item {
  color: var(--text-muted);
}

.pricing-list__price {
  font-family: var(--font-sub);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.pricing-list__price--hl {
  color: var(--orange);
}

.pricing-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}

/* ─── METODO DE TRABAJO PAGE ─────────────────────────────────── */
.team-container {
  display: flex;
  justify-content: center;
}

.team-member--single {
  width: 33.333%;
  max-width: 400px;
}

.team-member {
  background: var(--bg-2);
}

.team-member__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.team-member__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) contrast(1.1);
  transition: filter .4s, transform .4s;
}

.team-member:hover .team-member__img-wrap img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.03);
}

.team-member__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.5rem;
  border-radius: 1px;
}

.team-member__info {
  padding: 1.5rem;
  border-top: 3px solid var(--orange);
}

.team-member__name {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.team-member__role {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.75rem;
}

.team-member__bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Work steps */
.work-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.work-step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  border-top: 3px solid transparent;
  transition: border-top-color .2s;
}

.work-step:hover {
  border-top-color: var(--orange);
}

.work-step:last-child {
  border-right: none;
}

.work-step__line {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 40%;
  transform: translateY(-50%);
}

.work-step__num {
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--border-lt);
  line-height: 1;
  margin-bottom: 1rem;
}

.work-step h4 {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.work-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── TIENDA PAGE ────────────────────────────────────────────── */
/* ─── TIENDA: LAYOUT SIDEBAR ─────────────────────────────────── */
.shop-section {
  padding-top: 3rem;
}

.shop-images-disclaimer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.shop-images-disclaimer svg {
  flex-shrink: 0;
  color: var(--orange);
}

.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Sidebar izquierdo */
.shop-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
}

.shop-sidebar__section {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.shop-sidebar__section:last-child {
  border-bottom: none;
}

.shop-sidebar__label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}

.shop-sidebar__filters {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Zona de productos */
.shop-main {
  min-width: 0;
}

/* Filter tags — ahora verticales en sidebar */
.filter-tag {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.55rem 0.75rem;
  border-left: 3px solid transparent;
  border-radius: 0;
  transition: color .2s, border-left-color .2s, background .2s;
  text-decoration: none;
  background: transparent;
}

.filter-tag:hover {
  color: var(--text);
  border-left-color: var(--border-lt);
  background: var(--bg-3);
}

.filter-tag--active {
  color: var(--orange);
  border-left-color: var(--orange);
  background: rgba(255, 102, 0, 0.06);
}

/* Barra de estado de búsqueda */
.search-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: rgba(255, 102, 0, 0.07);
  border: 1px solid rgba(255, 102, 0, 0.2);
  border-radius: 4px;
  flex-wrap: wrap;
}

.search-results-bar__info {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-results-bar__info svg {
  color: var(--orange);
  flex-shrink: 0;
}

.search-results-bar__clear {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

.search-results-bar__clear:hover {
  color: var(--orange);
}

.info-strip {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.info-strip__items {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}

.info-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-strip__item strong {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.info-strip__item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.info-strip__sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.empty-state {
  text-align: center;
  padding: 5rem 1rem;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ─── PRODUCTO DETALLE ───────────────────────────────────────── */
.breadcrumb {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb span {
  margin: 0 0.5rem;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  align-items: start;
}

.product-detail__img-col {
  position: relative;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.product-detail__img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.product-detail__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.product-detail__img-wrap:hover img {
  transform: scale(1.03);
}

.product-detail__cat-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
}

.product-detail__info {
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}

.product-detail__title {
  font-family: var(--font-sub);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.product-detail__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-bottom: 1.25rem;
}

.product-detail__price {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.product-detail__iva {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-sub);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail__sep {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

.product-detail__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Variant selector */
.product-detail__variants {
  margin-bottom: 0.25rem;
}

.product-detail__variants-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.variant-selector {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.variant-btn {
  padding: 0.6rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.variant-btn:hover {
  border-color: var(--text);
  color: var(--text);
}

.variant-btn--active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
  font-weight: 600;
}

.variant-btn--active:hover {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

/* Qty control */
.product-detail__qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-detail__qty-label {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
}

.qty-btn {
  background: var(--bg-3);
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font-sub);
}

.qty-btn:hover {
  background: var(--orange);
}

.qty-input {
  background: var(--bg-2);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  width: 52px;
  height: 36px;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.product-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-detail__meta {
  border: 1px solid var(--border);
}

.product-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.product-meta-item:last-child {
  border-bottom: none;
}

.product-meta-item__label {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-meta-item__val {
  color: var(--text);
}

.product-meta-item__val--ok {
  color: #4CAF50;
  font-weight: 600;
}

.product-meta-item__val a {
  color: var(--orange);
}

/* ─── CARRITO PAGE ───────────────────────────────────────────── */
.cart-empty {
  text-align: center;
  padding: 6rem 1rem;
}

.cart-empty__icon {
  font-family: var(--font-title);
  font-size: 5rem;
  color: var(--border-lt);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.cart-empty h2 {
  font-family: var(--font-sub);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.cart-empty p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.cart-items {
  border: 1px solid var(--border);
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item:hover {
  background: var(--bg-2);
}

.cart-item__img {
  width: 90px;
  height: 65px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__name {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.cart-item__unit {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
}

.cart-item__qty-num {
  font-family: var(--font-sub);
  font-weight: 700;
  padding: 0 0.75rem;
  min-width: 36px;
  text-align: center;
  line-height: 34px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.cart-item__total {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--orange);
  min-width: 70px;
  text-align: right;
}

.cart-item__remove {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: background .2s, color .2s;
  border-radius: 1px;
}

.cart-item__remove:hover {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.cart-summary {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 2rem;
}

.cart-summary__title {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--orange);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-summary__row--total {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 0.75rem;
}

.cart-summary__row--total span:last-child {
  color: var(--orange);
  font-family: var(--font-title);
  font-size: 1.6rem;
}

.cart-summary__sep {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.cart-summary__note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin: 0.75rem 0 1.5rem;
  padding: 0.5rem 0.75rem;
  border-left: 2px solid var(--orange);
}

.cart-secure {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

.checkout-msg {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  border-left: 3px solid;
}

.checkout-msg--error {
  color: #ff6b6b;
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}

.checkout-msg--success {
  color: #69db7c;
  border-color: #69db7c;
  background: rgba(105, 219, 124, 0.08);
}

/* ─── PANEL DE PAGO EMBEBIDO ─────────────────────────────────── */
.pago-panel {
  display: none;
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  background: var(--bg);
  animation: pagoFadeIn .3s ease;
}

.pago-panel--open {
  display: block;
}

@keyframes pagoFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pago-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.pago-panel__head-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pago-panel__label {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.pago-panel__subtitle {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.pago-panel__close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  border-radius: 1px;
  flex-shrink: 0;
}

.pago-panel__close:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* Métodos de pago aceptados */
.pago-panel__metodos {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  background: var(--bg-2);
}

.metodo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  background: var(--bg);
}

.metodo-badge--bizum {
  color: var(--orange);
  border-color: rgba(255, 102, 0, 0.3);
  background: rgba(255, 102, 0, 0.05);
}

.metodo-badge--more {
  color: var(--text-dim);
  border-style: dashed;
}

/* Contenedor del elemento de Stripe */
.pago-panel__stripe-wrap {
  padding: 1.75rem 1.75rem 0.5rem;
}

/* Mensaje de error dentro del panel */
.pago-msg {
  margin: 0 1.75rem 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  border-left: 3px solid;
}

.pago-msg--error {
  color: #ff6b6b;
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}

.pago-msg--success {
  color: #69db7c;
  border-color: #69db7c;
  background: rgba(105, 219, 124, 0.08);
}

/* Botón de confirmar pago */
.pago-submit {
  margin: 1rem 1.75rem 1.5rem;
  width: calc(100% - 3.5rem);
  position: relative;
}

/* Footer de confianza */
.pago-panel__trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.75rem;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.pago-panel__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.pago-panel__trust-sep {
  color: var(--border-lt);
}

/* Spinner del botón */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive del panel */
@media (max-width: 600px) {
  .pago-panel__head,
  .pago-panel__metodos,
  .pago-panel__stripe-wrap,
  .pago-panel__trust {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .pago-submit {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    width: calc(100% - 2.5rem);
  }
}


.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}

/* Formulario */
.contact-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg-2);
  color: var(--text);
  border: none;
  border-bottom: 2px solid var(--border);
  border-radius: 0;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--orange);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-msg {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  border-left: 3px solid;
}

.form-msg--error {
  color: #ff6b6b;
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}

.form-msg--success {
  color: #69db7c;
  border-color: #69db7c;
  background: rgba(105, 219, 124, 0.08);
}

/* Contact info */
.contact-info-block {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info-block__title {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item__label {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-info-item__val {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-info-item__val--link {
  color: var(--text);
}

.contact-info-item__val--link:hover {
  color: var(--orange);
}

.contact-info-item__val--wa {
  color: #25D366 !important;
}

.contact-map {
  border: 1px solid var(--border);
  overflow: hidden;
}

.contact-map iframe {
  display: block;
}

/* ─── STATUS PAGES (éxito/cancelado) ────────────────────────── */
.status-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.status-card {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.status-card__icon {
  font-family: var(--font-title);
  font-size: 5rem;
  line-height: 1;
  width: 100px;
  height: 100px;
  border: 3px solid;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.status-card__icon--success {
  color: #4CAF50;
  border-color: #4CAF50;
}

.status-card__icon--cancel {
  color: #ff6b6b;
  border-color: #ff6b6b;
}

.status-card__title {
  font-family: var(--font-title);
  font-size: 3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.status-card__msg {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.status-card__detail {
  background: var(--bg-2);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  text-align: left;
}

.status-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.status-detail-row:last-child {
  border-bottom: none;
}

.status-detail-row span:first-child {
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-card__next p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.status-card__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── CART TOAST ─────────────────────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  max-width: 320px;
  transform: translateX(120%);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}

.cart-toast--visible {
  transform: translateX(0);
}

.cart-toast__check {
  color: var(--orange);
  margin-right: 0.4rem;
}

/* ─── ANIMACIONES FADE-IN ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-left img {
  transform: scale(1.15);
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.is-visible img {
  transform: scale(1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 3px solid var(--orange);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__logo {
  font-family: var(--font-title);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__nav ul a,
.footer__contact a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

.footer__nav ul a:hover,
.footer__contact a:hover {
  color: var(--orange);
}

.footer__contact p,
.footer__hours p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__divider {
  color: var(--border-lt);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .shop-layout {
    grid-template-columns: 180px 1fr;
    gap: 1.75rem;
  }

  .products-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }


  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .main-service {
    grid-template-columns: 60px 1fr;
  }

  .main-service__img {
    display: none;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-step:nth-child(2) {
    border-right: none;
  }

  .work-step:nth-child(3) {
    border-right: 1px solid var(--border);
  }

  .cart-layout {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --header-total-h: 104px;
  }

  .nav {
    height: 64px;
  }

  .nav__inner {
    padding: 0 0.85rem;
    gap: 0.45rem;
  }

  .nav__logo {
    flex-shrink: 0;
    min-width: 100px;
    max-width: 135px;
    display: flex;
    align-items: center;
  }

  .nav__logo-img {
    height: 34px;
    max-height: 36px;
    width: auto;
    object-fit: contain;
  }

  /* Ocultar el buscador inline de escritorio en móvil y mostrar el botón toggle */
  .nav__search {
    display: none !important;
  }

  .nav__search-toggle {
    display: inline-flex;
  }

  .nav__action-text {
    display: none;
  }

  .nav__actions {
    gap: 0.35rem;
    margin-left: auto;
  }

  .nav__account {
    padding: 0.45rem;
  }

  .nav__account svg {
    width: 19px;
    height: 19px;
  }
  
  .nav__cart {
    padding: 0.45rem 0.65rem !important;
    gap: 0.35rem;
  }

  /* Shop sidebar stacks above grid on mobile */
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: flex;
    position: absolute;
    top: var(--header-total-h, 104px);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-total-h, 104px));
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    z-index: 99;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s;
  }

  .nav__links--open {
    opacity: 1;
    visibility: visible;
  }

  .nav__links li {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav__links li::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: -1;
    clip-path: inset(0 0 0 calc(100% + 50px));
  }
  
  .nav__links--open li::before {
    animation: stripDrag 0.6s forwards linear;
  }

  .nav__links li a {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    opacity: 0;
  }

  .nav__links--open li a {
    animation: textDragIn 0.6s forwards linear;
  }

  .nav__links li::after {
    content: "";
    position: absolute;
    right: -150px;
    width: 150px;
    height: 100%;
    background-image: url('/img/PATINETE MENU.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
  }
  
  .nav__links--open li::after {
    animation: scooterPass 0.6s forwards linear;
  }

  .nav__links--open li:nth-child(1),
  .nav__links--open li:nth-child(1) a,
  .nav__links--open li:nth-child(1)::before,
  .nav__links--open li:nth-child(1)::after { animation-delay: 0.1s; }

  .nav__links--open li:nth-child(2),
  .nav__links--open li:nth-child(2) a,
  .nav__links--open li:nth-child(2)::before,
  .nav__links--open li:nth-child(2)::after { animation-delay: 0.2s; }

  .nav__links--open li:nth-child(3),
  .nav__links--open li:nth-child(3) a,
  .nav__links--open li:nth-child(3)::before,
  .nav__links--open li:nth-child(3)::after { animation-delay: 0.3s; }

  .nav__links--open li:nth-child(4),
  .nav__links--open li:nth-child(4) a,
  .nav__links--open li:nth-child(4)::before,
  .nav__links--open li:nth-child(4)::after { animation-delay: 0.4s; }

  .nav__links--open li:nth-child(5),
  .nav__links--open li:nth-child(5) a,
  .nav__links--open li:nth-child(5)::before,
  .nav__links--open li:nth-child(5)::after { animation-delay: 0.5s; }

  @keyframes stripDrag {
    0% { clip-path: inset(0 0 0 100%); }
    100% { clip-path: inset(0 0 0 -300px); }
  }

  @keyframes scooterPass {
    0% { right: -150px; opacity: 1; }
    100% { right: calc(100% + 150px); opacity: 1; }
  }

  @keyframes textDragIn {
    0% { transform: translateX(50vw); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(0); opacity: 1; }
  }

  .hero__title {
    font-size: clamp(2.6rem, 12vw, 4.5rem);
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
  }

  .carousel-btn.prev {
    left: 8px;
  }

  .carousel-btn.next {
    right: 8px;
  }

  .stats__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat {
    padding: 1rem 1.25rem;
  }

  .stat__sep {
    display: none;
  }

  .services-preview {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .products-grid--3,
  .products-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-strip {
    height: auto;
    padding: 2.5rem 0;
  }

  .about-strip__inner {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .about-strip__img {
    height: 250px;
    width: 100%;
  }

  .about-strip__content {
    padding: 2rem 1.5rem 0.5rem;
    background: transparent;
    opacity: 1 !important;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .product-detail__grid {
    grid-template-columns: 1fr;
  }

  .product-detail__img-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }



  .pricing-table {
    grid-template-columns: 1fr;
  }

  .pricing-divider {
    display: none;
  }

  .work-steps {
    grid-template-columns: 1fr;
  }

  .work-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .work-step:last-child {
    border-bottom: none;
  }

  .main-service {
    grid-template-columns: 1fr;
  }

  .main-service__num {
    writing-mode: horizontal-tb;
    font-size: 2.5rem;
    padding: 1.25rem 2rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    border-right: none;
  }

  .value-item:nth-child(even) {
    border-right: none;
  }

  .about-details {
    grid-template-columns: 1fr;
  }

  .about-detail:nth-child(even) {
    border-right: none;
  }

  .about-detail:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .about-detail:last-child {
    border-bottom: none;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-header--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item {
    grid-template-columns: 70px 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.75rem 1rem;
    align-items: start;
  }

  .cart-item__img {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 70px;
    height: 70px;
  }

  .cart-item__info {
    grid-column: 2;
    grid-row: 1;
  }

  .cart-item__remove {
    grid-column: 3;
    grid-row: 1;
    margin-left: auto;
  }

  .cart-item__qty {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }

  .cart-item__total {
    grid-column: 3;
    grid-row: 2;
    align-self: center;
    text-align: right;
  }
}

@media (max-width: 480px) {

  .products-grid--3,
  .products-grid--4 {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }

  .status-card__actions {
    flex-direction: column;
  }
}

/* ─── PAYMENT ELEMENT PANEL ──────────────────────────────────── */
.cart-main-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.payment-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.4, 0, .2, 1), opacity .4s ease;
  opacity: 0;
  border: 1px solid var(--border);
  border-top: none;
  background: var(--bg-2);
}

.payment-panel--open {
  max-height: 800px;
  opacity: 1;
}

.payment-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  border-left: 4px solid var(--orange);
}

.payment-panel__title {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.payment-panel__close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 0.75rem;
  border-radius: 1px;
  transition: background .2s, color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-panel__close:hover {
  background: var(--bg-3);
  color: var(--text);
}

/* Badges de métodos */
.payment-panel__methods-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.method-badge {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border-lt);
  color: var(--text-muted);
  border-radius: 1px;
  background: var(--bg-3);
}

.method-badge--blue {
  border-color: #4A90D9;
  color: #7ab8f5;
}

/* Contenedor del Payment Element */
#stripePaymentElement {
  padding: 1.5rem;
}

/* Botón de confirmación de pago */
.payment-submit {
  margin: 0 1.5rem 1.5rem;
  width: calc(100% - 3rem);
  position: relative;
  letter-spacing: 0.12em;
}

/* Spinner dentro del botón */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mensaje de error dentro del panel */
.payment-msg {
  margin: 0 1.5rem 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  border-left: 3px solid;
}

.payment-msg--error {
  color: #ff6b6b;
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}

.payment-msg--success {
  color: #69db7c;
  border-color: #69db7c;
  background: rgba(105, 219, 124, 0.08);
}

/* Ajuste del layout cuando hay columna principal */
.cart-layout {
  grid-template-columns: 1fr 380px;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-sidebar {
    order: -1;
  }

  .payment-panel--open {
    max-height: 1000px;
  }
}

/* --- HERO CAROUSEL --- */
.hero-carousel {
  position: relative;
  overflow: hidden;
  /* Adjust height based on existing hero styling */
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s, transform 0.2s;
  border-radius: 4px;
}

.carousel-btn:hover {
  background: var(--orange, #ff5722);
  color: #111;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 50px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dots .dot.active {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-dots .dot .progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--orange, #ff5722);
  border-radius: 3px;
}

.carousel-dots .dot.filled .progress {
  width: 100%;
  animation: none;
}

.carousel-dots .dot.active .progress {
  animation: fillProgress 5s linear forwards;
}

@keyframes fillProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

@media (max-width: 768px) {
  .carousel-btn {
    font-size: 1.5rem;
    padding: 0.8rem;
  }
}
/* ─── GALERÍA DE PRODUCTO ────────────────────────────────────── */
.product-detail__thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}

.product-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: var(--bg-2);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s;
}

.product-thumb:hover { border-color: var(--border-lt); }
.product-thumb--active { border-color: var(--orange); }

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Aviso de stock en las tarjetas del catálogo */
.product-card__stock {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-top: .25rem;
}

.product-card__stock--low  { color: var(--orange-dk); }
.product-card__stock--none { color: var(--text-dim); }

.filter-tag__n {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  opacity: .55;
  margin-left: .25rem;
}

/* ─── PAGINACIÓN Y CONTADOR DE LA TIENDA ─────────────────────── */
.shop-count {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.shop-pager {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.shop-pager__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sub);
  font-size: .9rem;
  font-weight: 500;
  transition: background .15s, border-color .15s, color .15s;
}

.shop-pager__link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.shop-pager__link--active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.shop-pager__link--active:hover { color: var(--bg); }

.shop-pager__link--off {
  opacity: .4;
  pointer-events: none;
}
/* Ofertas Flash y Cupones */
.product-card__price--old { text-decoration: line-through; color: #a0aec0; font-size: 0.85em; margin-right: 0.3rem; }
.product-card__price--flash { color: #e53e3e; font-weight: 700; }
.product-card__flash-badge { background: #e53e3e; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 2px 4px; border-radius: 2px; margin-left: 0.4rem; vertical-align: middle; }

.product-detail__price--old { text-decoration: line-through; color: #a0aec0; font-size: 1.2rem; margin-right: 0.5rem; }
.product-detail__flash-badge { display: inline-flex; align-items: center; background: #fff5f5; border: 1px solid #feb2b2; color: #c53030; font-size: 0.75rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-left: 1rem; vertical-align: text-bottom; }
.flash-badge__label { margin-right: 4px; }
.flash-badge__pct { background: #c53030; color: #fff; padding: 1px 4px; border-radius: 2px; }

.flash-countdown { margin-top: 1rem; background: #fff5f5; border-left: 3px solid #e53e3e; padding: 0.75rem 1rem; display: inline-block; border-radius: 0 4px 4px 0; }
.flash-countdown__label { font-size: 0.85rem; color: #c53030; text-transform: uppercase; font-weight: 600; display: block; margin-bottom: 0.2rem; }
.flash-countdown__timer { font-size: 1.4rem; font-weight: 700; color: #e53e3e; font-variant-numeric: tabular-nums; }

.cart-summary__coupon { margin-top: 1.5rem; background: #f9f9f9; padding: 1rem; border-radius: 6px; }
.cart-summary__coupon-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.cart-summary__coupon-row { display: flex; gap: 0.5rem; }
.cart-summary__coupon-input { flex: 1; min-width: 0; text-transform: uppercase; border: 1px solid #ddd; padding: 0.4rem 0.5rem; border-radius: 4px; font-family: monospace; }
.cart-summary__coupon-msg { font-size: 0.85rem; margin-top: 0.5rem; color: #e53e3e; }
.cart-summary__coupon-applied { display: flex; align-items: center; justify-content: space-between; background: #f0fff4; border: 1px solid #9ae6b4; padding: 0.5rem 0.75rem; border-radius: 4px; color: #276749; font-weight: 600; }
.cart-summary__coupon-remove { background: none; border: none; color: #2f855a; cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 4px; }
.cart-summary__coupon-remove:hover { color: #22543d; }
.cart-summary__row--discount { color: #38a169; font-weight: 600; }

/* ═══ FLASH DISCOUNT BADGE (top-right corner) ═══ */
.product-card__discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e53e3e;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 6px;
  z-index: 2;
  line-height: 1;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(229, 62, 62, 0.4);
  pointer-events: none;
}

/* ═══ LANGUAGE SELECTOR ═══ */
.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-right: 0.5rem;
}
.lang-selector__btn {
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FF6600;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  font-family: inherit;
  line-height: 1.2;
}
.lang-selector__btn:hover {
  border-color: rgba(255, 102, 0, 0.4);
}
.lang-selector__btn--active,
.lang-selector__btn--active:hover {
  color: #FFFFFF !important;
  background-color: #FF6600 !important;
  border: 1.5px solid #FF6600 !important;
  box-shadow: 0 0 0 1px #FF6600, 0 2px 4px rgba(255, 102, 0, 0.25);
}
@media (max-width: 768px) {
  .lang-selector {
    gap: 2px;
    margin-right: 0.25rem;
  }
  .lang-selector__btn {
    font-size: 0.65rem;
    padding: 2px 4px;
  }
}

/* ═══ SHIPPING METHOD TOGGLE ═══ */
.shipping-method-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.shipping-method-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.shipping-method-option--active {
  border-color: #FF6600;
  background: rgba(255,102,0,0.05);
}
.shipping-method-option input[type="radio"] { accent-color: #FF6600; }
.shipping-method-option__sub { font-weight: 400; font-size: 0.75rem; color: #6b7280; display: block; }
.shipping-form { background: #f9fafb; padding: 1rem; border-radius: 6px; border: 1px solid #e5e7eb; }
.shipping-form__title { font-size: 0.95rem; margin: 0 0 1rem 0; }
.shipping-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.shipping-form__full { grid-column: 1 / -1; }
.shipping-form label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.2rem; }
.shipping-form input, .shipping-form select {
  width: 100%; padding: 0.5rem; border: 1px solid #d1d5db; border-radius: 4px;
  font-family: inherit; font-size: 0.85rem;
}
@media (max-width: 480px) {
  .shipping-method-group { flex-direction: column; }
  .shipping-form__grid { grid-template-columns: 1fr; }
}

/* ═══ TIRA SUPERIOR DE PRUEBAS ═══ */
.test-notice-banner {
  position: relative;
  width: 100%;
  min-height: 38px;
  background: linear-gradient(90deg, #161412 0%, #221a14 50%, #161412 100%);
  border-bottom: 1.5px solid rgba(255, 102, 0, 0.45);
  color: #FAF8F5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 1rem;
  font-size: 0.84rem;
  box-sizing: border-box;
}

.test-notice-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.9rem;
  flex-wrap: wrap;
  max-width: var(--container, 1200px);
  width: 100%;
  text-align: center;
}

.test-notice-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 102, 0, 0.2);
  color: #FFA347;
  border: 1px solid rgba(255, 102, 0, 0.55);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 0 8px rgba(255, 102, 0, 0.18);
}

.test-notice-banner__badge svg {
  color: #FFA347;
  animation: bannerPulse 2s infinite ease-in-out;
}

@keyframes bannerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

.test-notice-banner__text {
  font-weight: 500;
  color: #F7F4EE;
  letter-spacing: 0.01em;
}

.test-notice-banner__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--orange, #FF6600);
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.test-notice-banner__tel:hover {
  background: var(--orange-dk, #CC5200);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.5);
}

.test-notice-banner__tel:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .test-notice-banner {
    padding: 5px 0.5rem;
    font-size: 0.76rem;
    min-height: 32px;
  }
  .test-notice-banner__inner {
    gap: 0.3rem 0.5rem;
    line-height: 1.35;
  }
  .test-notice-banner__badge {
    padding: 1px 7px;
    font-size: 0.68rem;
  }
  .test-notice-banner__tel {
    font-size: 0.75rem;
    padding: 2px 8px;
  }
}

/* ═══ TIRA LLAMATIVA OFERTA FLASH ═══ */
.flash-banner {
  position: relative;
  width: 100%;
  min-height: 44px;
  background: linear-gradient(135deg, #d84315 0%, #ff5722 40%, #f4511e 75%, #ff8f00 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(216, 67, 21, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 1rem;
  font-size: 0.88rem;
  box-sizing: border-box;
}

.flash-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  max-width: 1240px;
  width: 100%;
}

.flash-banner__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.28);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.flash-banner__tag-pulse {
  width: 8px;
  height: 8px;
  background: #ffeb3b;
  border-radius: 50%;
  animation: flashPulse 1.2s infinite ease-in-out;
}

@keyframes flashPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.7); }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 0 6px rgba(255, 235, 59, 0); }
}

.flash-banner__text {
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.flash-banner__sep {
  opacity: 0.6;
}

.flash-banner__countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.flash-banner__countdown-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffe0b2;
}

.flash-banner__countdown-timer {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #ffffff;
  font-family: monospace, monospace;
}

.flash-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  color: #d84315;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.flash-banner__btn:hover {
  background: #fff8e1;
  color: #bf360c;
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
  .flash-banner {
    padding: 8px 0.5rem;
  }
  .flash-banner__inner {
    gap: 0.4rem 0.6rem;
  }
  .flash-banner__text {
    font-size: 0.8rem;
  }
  .flash-banner__countdown {
    font-size: 0.8rem;
  }
}

/* ═══ SELECTOR DE IDIOMA DESPLEGABLE ═══ */
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 0.5rem;
}

.lang-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.lang-dropdown__trigger:hover,
.lang-dropdown--open .lang-dropdown__trigger {
  border-color: var(--orange);
  background: var(--bg-3);
  color: var(--orange);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.15);
}

.lang-dropdown__flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-dropdown__name {
  line-height: 1;
}

.lang-dropdown__chevron {
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.lang-dropdown--open .lang-dropdown__chevron {
  transform: rotate(180deg);
  color: var(--orange);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  min-width: 150px;
  padding: 6px;
  z-index: 250;
  display: none;
  animation: dropIn 0.15s ease;
}

.lang-dropdown--open .lang-dropdown__menu {
  display: block;
}

.lang-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-dropdown__option:hover {
  background: var(--bg-2);
  color: var(--orange);
}

.lang-dropdown__option--active {
  background: rgba(255, 102, 0, 0.1) !important;
  color: var(--orange) !important;
  font-weight: 700;
}

.lang-dropdown__check {
  margin-left: auto;
  color: var(--orange);
}

@media (max-width: 768px) {
  .lang-dropdown__name {
    display: none;
  }
  .lang-dropdown__trigger {
    padding: 5px 8px;
  }
}

