/* Páginas públicas (inicio, catálogo, detalle). Solo tokens de tokens.css. Mobile-first: 640 y 1024 px. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 15px/1.5 var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: var(--accent-primary);
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
[hidden] {
  display: none !important; /* utilidad: hidden debe ganarle a cualquier display */
}
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.icon,
[data-lucide],
svg.lucide {
  width: 18px;
  height: 18px;
  flex: none;
}
.mono {
  font-family: var(--font-mono);
}
.muted {
  color: var(--text-muted);
}
.small {
  font-size: 13px;
}
.num {
  font-variant-numeric: tabular-nums;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.wrap--foot {
  padding-top: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  text-decoration: none;
}
.btn--primary {
  background: var(--accent-primary);
  color: var(--accent-on);
}
.btn--light {
  background: var(--bg-surface);
  color: var(--bg-inverse);
  margin-top: 28px;
}
.pill {
  background: var(--bg-subtle);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 600;
  color: var(--text-secondary);
}
.warn {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--state-warning-dim);
  font-size: 13.5px;
  font-weight: 500;
}
.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  display: grid;
  gap: 20px;
  justify-items: center;
}
.empty h1 {
  font-size: 26px;
  color: var(--text-primary);
}

/* Espacios de imagen: vacío con borde punteado hasta que el equipo ponga el archivo */
.is-vacio {
  background: var(--bg-subtle);
  border: 1px dashed var(--border-strong);
}
.is-vacio img {
  display: none;
}

/* Header y footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-default);
}
.site-header__in {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 16px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.site-brand small {
  display: none;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 11px;
  color: var(--text-muted);
}
.brand-logo {
  display: inline-flex;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  overflow: hidden;
}
.brand-logo img {
  height: 36px;
  width: auto;
}
.site-nav {
  display: none;
  gap: 20px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}
.site-nav a[aria-current='page'] {
  color: var(--text-primary);
}
.site-footer {
  border-top: 1px solid var(--border-default);
  margin-top: 48px;
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer a {
  color: var(--text-secondary);
}

/* Inicio: banner */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--bg-inverse);
  color: var(--text-inverse);
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
}
.hero::before {
  background:
    radial-gradient(
      60% 80% at 85% 30%,
      color-mix(in srgb, var(--accent-primary) 55%, transparent),
      transparent 70%
    ),
    radial-gradient(
      40% 60% at 10% 100%,
      color-mix(in srgb, var(--accent-warm) 30%, transparent),
      transparent 70%
    );
}
.hero::after {
  background: repeating-linear-gradient(
    115deg,
    color-mix(in srgb, var(--text-inverse) 3.5%, transparent) 0 2px,
    transparent 2px 22px
  );
}
.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px 22px 44px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-inverse-muted);
  background: color-mix(in srgb, var(--text-inverse) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-inverse) 12%, transparent);
  padding: 6px 12px;
  border-radius: 999px;
}
.hero__eyebrow .lucide {
  width: 14px;
  height: 14px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 18px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  color: var(--text-inverse-muted);
  font-size: 17px;
  max-width: 520px;
  margin-top: 16px;
}
.hero__props {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  font-size: 13.5px;
  color: var(--text-inverse-muted);
}
.hero__props li {
  display: grid;
  grid-template-columns: 36px auto;
  column-gap: 10px;
  align-items: center;
}
.hero__props span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--text-inverse) 8%, transparent);
  display: grid;
  place-items: center;
}
.hero__props b {
  color: var(--text-inverse);
  font-size: 14.5px;
}
.hero-media {
  aspect-ratio: 16 / 10;
  max-width: 600px;
  width: 100%;
  justify-self: center;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-media.is-vacio {
  background: color-mix(in srgb, var(--text-inverse) 5%, transparent);
  border-color: color-mix(in srgb, var(--text-inverse) 25%, transparent);
}

/* Inicio: clientes */
.clients {
  margin-top: 44px;
  text-align: center;
}
.clients h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.clients__marquee {
  overflow: hidden;
  margin-top: 20px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    var(--text-primary) 8%,
    var(--text-primary) 92%,
    transparent
  );
}
.clients__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: clients-mq 38s linear infinite;
}
.clients__marquee:hover .clients__track {
  animation-play-state: paused;
}
@keyframes clients-mq {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}
.client-logo {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.2s;
}
.client-logo:hover {
  filter: none;
  opacity: 1;
}
.client-logo img {
  height: 40px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) {
  .clients__marquee {
    overflow-x: auto;
    mask-image: none;
  }
  .clients__track {
    animation: none;
  }
}

/* Inicio: deportes y cómo funciona */
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin: 52px 0 20px;
}
.section__head h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section__head p {
  color: var(--text-secondary);
  margin-top: 4px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.sport-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.sport-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  text-decoration: none;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.sport-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.sport-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
}
.sport-cover.is-vacio {
  border: 0;
}
.sport-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sport-card__fav {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-surface);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.sport-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sport-card__soon {
  position: absolute;
  right: 14px;
  top: 14px;
  background: var(--overlay);
  color: var(--text-inverse);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.sport-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
}
.sport-card h3 {
  font-size: 15px;
  font-weight: 800;
}
.sport-card__info .muted {
  font-size: 13px;
}
.sport-card__go {
  display: none;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-subtle);
  place-items: center;
  transition: 0.15s;
}
.sport-card:hover .sport-card__go {
  background: var(--text-primary);
  color: var(--text-inverse);
}
.how {
  margin-top: 56px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  scroll-margin-top: 80px;
}
.how b {
  display: block;
  font-size: 15px;
  margin-top: 10px;
}
.how span:not(.how__n) {
  color: var(--text-secondary);
  font-size: 14px;
}
.how__n {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-primary-dim);
  color: var(--accent-primary);
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* Catálogo */
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin: 8px 0 20px;
}
.page-head h1 {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-head p {
  color: var(--text-secondary);
  margin-top: 6px;
  max-width: 560px;
}
.page-head__count {
  display: none;
  white-space: nowrap;
  font-size: 14px;
}
.sport-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 0 16px;
  min-height: 44px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
}
.chip.on {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--text-inverse);
}
.sport-icon-slot {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.color-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 22px;
  flex-wrap: wrap;
}
.block-label {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.color-filter .block-label {
  margin: 0;
}
.block-label span {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--text-primary);
}
.swatches {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.swatch {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
  box-shadow: 0 0 0 1px var(--border-strong);
}
.swatch.on {
  box-shadow: 0 0 0 2px var(--text-primary);
}
.swatches--lg {
  gap: 12px;
}
.swatches--lg .swatch {
  width: 36px;
  height: 36px;
}
.swatch-all {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  font-size: 13px;
  font-weight: 600;
}
.swatch-all.on {
  background: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}
.design-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.card {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--text-primary);
  text-decoration: none;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, var(--bg-subtle), var(--border-default));
}
.card-media.is-vacio {
  border: 0;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card__body {
  padding: 14px 16px 16px;
}
.card h3 {
  font-size: 16px;
  font-weight: 700;
}
.card__code {
  font-size: 12px;
}
.card__from {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.card__from b {
  color: var(--text-primary);
  font-size: 16px;
}
.card__dots {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.card__dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
  box-shadow: 0 0 0 1px var(--border-strong);
}

/* Detalle */
.crumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.crumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}
.detail {
  display: grid;
  gap: 28px;
}
.gallery-main {
  aspect-ratio: 1;
  background: linear-gradient(180deg, var(--bg-subtle), var(--border-default));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}
.gallery-thumb {
  width: 76px;
  height: 76px;
  flex: none;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-default);
  background: var(--bg-subtle);
}
.gallery-thumb.on {
  border: 2px solid var(--text-primary);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.conf h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
}
.detail__from {
  margin-top: 10px;
  color: var(--text-secondary);
}
.detail__from b {
  color: var(--text-primary);
  font-size: 18px;
}
.desc {
  color: var(--text-secondary);
  margin-top: 12px;
}
.block {
  margin-top: 22px;
}
.seg {
  display: flex;
  flex-wrap: wrap;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
}
.seg button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 10px 8px;
  min-height: 44px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
}
.seg button.on {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}
.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 48px;
  cursor: pointer;
}
.check-row + .check-row {
  margin-top: 8px;
}
.check-row input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent-primary);
}
.check-row b {
  font-size: 14.5px;
}
.check-row__price {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}
.fabrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.fabric {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.fabric.on {
  border: 2px solid var(--text-primary);
  padding: 9px;
}
.fabric-swatch {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
}
.fabric-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fabric b {
  display: block;
  font-size: 14px;
}
.fabric small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.3;
}
.qty-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  overflow: hidden;
}
.qty button {
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--bg-subtle);
  display: grid;
  place-items: center;
}
.qty input {
  width: 90px;
  height: 48px;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  background: transparent;
}
.price {
  margin-top: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px;
}
.price__label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.price__big {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price__big small {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}
.price__range {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.price__lines {
  margin: 14px 0;
  border-top: 1px dashed var(--border-default);
  border-bottom: 1px dashed var(--border-default);
  padding: 12px 0;
  font-size: 14px;
}
.price__lines div,
.price__tot div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  color: var(--text-secondary);
}
.price__tot div {
  font-size: 14px;
}
.price__lines .strong,
.price__tot .strong {
  color: var(--text-primary);
  font-weight: 600;
}
.price__tot .total {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  padding-top: 8px;
}
.price__next {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  font-size: 13px;
  background: var(--accent-primary-dim);
  color: var(--accent-primary);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;
}
.price__note {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.price__note .lucide {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.price .warn {
  margin-top: 0;
}

/* Toggles de logos y comentario */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  text-align: left;
}
.toggle b {
  font-size: 14.5px;
}
.toggle__switch {
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background 0.15s;
}
.toggle__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  transition: left 0.15s;
}
.toggle[aria-checked='true'] .toggle__switch {
  background: var(--accent-primary);
}
.toggle[aria-checked='true'] .toggle__switch::after {
  left: 21px;
}
.toggle__body {
  margin-top: 10px;
}
.drop {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 18px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}
.drop.is-over,
.drop:focus-within {
  border-color: var(--accent-primary);
  background: var(--accent-primary-dim);
}
.drop b {
  color: var(--accent-primary);
}
.drop small {
  color: var(--text-muted);
  font-size: 12px;
}
.logo-errors p {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  color: var(--state-error);
  font-size: 13px;
}
.logo-errors .lucide {
  width: 16px;
  height: 16px;
  flex: none;
}
.logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}
.logo-item img {
  flex: none;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-subtle);
}
.logo-item__name {
  display: grid;
  min-width: 0;
  flex: 1;
}
.logo-item__name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.logo-item__name small {
  color: var(--text-muted);
}
.logo-item select {
  max-width: 44%;
  min-height: 36px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 4px 8px;
  background: var(--bg-subtle);
  font: inherit;
  font-size: 13px;
}
.logo-item__x {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text-muted);
}
.toggle__body textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  font: inherit;
  resize: vertical;
}
.counter {
  margin-top: 4px;
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
}
.mini-note {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.center {
  text-align: center;
}

/* Botón flotante */
.has-fab .wrap--foot {
  padding-bottom: 96px;
}
.fab-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.fab {
  pointer-events: auto;
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-primary);
  color: var(--accent-on);
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: var(--shadow-md);
}
.fab:disabled {
  background: var(--border-strong);
  box-shadow: none;
  cursor: not-allowed;
}
.fab__sub {
  display: none;
  font-weight: 500;
  font-size: 13px;
  opacity: 0.85;
}

/* Modal de solicitud */
.modal {
  width: min(580px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 24px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}
.modal::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(3px);
}
.modal h2 {
  font-size: 21px;
  font-weight: 800;
  padding-right: 40px;
}
.modal .lead {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 14px;
}
.modal__close {
  float: right;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-subtle);
}
.modal__form {
  margin-top: 8px;
}
.modal .field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}
.modal .field > label {
  font-size: 13px;
  font-weight: 600;
}
.modal input:not([type='checkbox']),
.modal select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  font: inherit;
}
.modal .has-error input,
.modal .has-error select {
  border-color: var(--state-error);
}
.field__help {
  font-size: 12.5px;
  color: var(--text-muted);
}
.field__help.is-warn {
  color: var(--state-warning);
  font-weight: 600;
}
.field__error,
.form-error {
  margin: 0;
  color: var(--state-error);
  font-size: 13px;
}
.field__error:empty,
.form-error:empty {
  display: none;
}
.form-error {
  margin-top: 12px;
}
.row2 {
  display: grid;
  gap: 0 12px;
}
.sum {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  font-size: 13.5px;
}
.sum div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  color: var(--text-secondary);
}
.sum b {
  color: var(--text-primary);
  text-align: right;
}
.sum__dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--border-strong);
  vertical-align: -1px;
}
.sum .sum__total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border-default);
  font-size: 15px;
}
.modal .consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
}
.hp {
  position: absolute;
  left: -9999px;
}
.btn--block {
  width: 100%;
  margin-top: 16px;
}
.btn--ghost {
  background: var(--accent-primary-dim);
  color: var(--accent-primary);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.btn--text {
  background: none;
  color: var(--text-secondary);
  font-weight: 600;
}
.is-loading .lucide {
  animation: girar 0.9s linear infinite;
}
@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-loading .lucide {
    animation: none;
  }
}
.modal__ok {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 12px 0 4px;
  text-align: center;
}
.modal__ok h2 {
  padding-right: 0;
}
.modal__ok-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--state-success-dim);
  color: var(--state-success);
}
.modal__ok-icon .lucide {
  width: 32px;
  height: 32px;
}
.modal__ok code {
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .row2 {
    grid-template-columns: 1fr 1fr;
  }
  .fab {
    font-size: 15.5px;
    padding: 16px 22px;
  }
  .fab__sub {
    display: inline;
  }
  .site-brand small {
    display: block;
  }
  .hero__in {
    padding: 64px 32px 72px;
  }
  .sport-grid {
    gap: 16px;
  }
  .sport-card h3 {
    font-size: 17px;
  }
  .sport-card__info {
    padding: 14px 16px;
  }
  .sport-card__go {
    display: grid;
  }
  .page-head h1 {
    font-size: 32px;
  }
  .page-head__count {
    display: block;
  }
  .design-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fabrics {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .wrap {
    padding: 24px 20px 48px;
  }
  .hero__in {
    grid-template-columns: 1.1fr 1fr;
    padding: 76px 56px 84px;
  }
  .sport-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .design-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .detail {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }
  .gallery {
    position: sticky;
    top: 90px;
  }
}
