/* ============================================================================
   FC Suplementos — Page-Specific Styles
   Hero, catalog, product detail, checkout, promos, about, contact
   ============================================================================ */

/* ══════════════════════════════════════
   HOME — HERO
   ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-hero);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;   /* el gym a la derecha; texto sobre la zona oscura izquierda */
  opacity: 0.6;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
}

/* Scrim direccional: opaco a la izquierda (texto legible) → revela el gym a la derecha,
   + fundido inferior hacia el fondo de la página (sin corte duro). */
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,27,45,0.97) 0%, rgba(11,27,45,0.85) 32%, rgba(11,27,45,0.45) 68%, rgba(11,27,45,0.20) 100%);
}

/* Decorative glow orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: var(--c-primary);
  top: -100px;
  right: -50px;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: var(--c-accent);
  bottom: -50px;
  left: 10%;
  opacity: 0.15;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: var(--sp-16) 0;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-6);
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(3.25rem, 8.5vw, 5.75rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin-bottom: var(--sp-6);
  color: #FFFFFF;
}

.hero__title span {
  display: block;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero__actions .btn--outline {
  color: var(--c-text-inverse);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero__actions .btn--outline:hover {
  color: var(--c-accent-dark);
  border-color: var(--c-accent);
  background: var(--c-primary);
  box-shadow: 0 10px 25px var(--c-accent-glow);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: var(--sp-8);
    padding-bottom: var(--sp-8);
  }

  .hero__content {
    padding: var(--sp-8) 0;
  }

  .hero__title {
    font-size: clamp(2.75rem, 13vw, 3.75rem);
  }

  .hero__subtitle {
    font-size: var(--fs-base);
  }

  .hero__orb--1 {
    width: 200px;
    height: 200px;
  }
}

/* ── Hero Stats ── */
.hero__stats {
  margin-top: var(--sp-10);
  display: flex;
  gap: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--sp-6);
}

.hero__stat {
  color: #fff;
}

.hero__stat-number {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--c-accent);
}

.hero__stat-label {
  display: block;
  font-size: var(--fs-xs);
  opacity: 0.7;
  text-transform: uppercase;
}

/* ── Hero Trust ── */
.hero__trust {
  margin-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Category cards (home) ── */
.category-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  height: 100%;
  cursor: pointer;
  border: 1px solid var(--c-border);
  transition: all var(--tr-base);
  text-decoration: none;
  background: var(--c-surface);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--c-accent);
  box-shadow: 0 12px 32px var(--c-accent-glow);
}

.category-card__image-container {
  height: 160px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.category-card__bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--sp-4);
  transition: transform var(--tr-slow);
}

.category-card:hover .category-card__bg {
  transform: scale(1.05); /* Hover zoom */
}

.category-card__overlay {
  display: none;
}

.category-card__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.category-card__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-1);
  transition: color var(--tr-fast);
}

.category-card:hover .category-card__name {
  color: var(--c-promo);
}

.category-card__seo-text {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.category-card__count {
  font-size: var(--fs-xs);
  color: var(--c-text);
  font-weight: var(--fw-bold);
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Features Grid (Why Choose Us) ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sp-6);
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-6);
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-accent);
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  background: var(--c-success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
}

.feature-card__title {
  margin-bottom: var(--sp-2);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
}

.feature-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: 1.5;
}

/* ── Promotional Banner Middle ── */
.promo-banner-mid {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin: var(--sp-12) 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: var(--sp-10);
  background: #000;
}

.promo-banner-mid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.promo-banner-mid__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.promo-banner-mid__content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.promo-banner-mid__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: #FFF;
  margin-bottom: var(--sp-2);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.promo-banner-mid__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-6);
}

/* ── Lifestyle Grid ── */
.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}

.lifestyle-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 400px;
  display: flex;
  align-items: flex-end;
}

.lifestyle-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
  z-index: 0;
}

.lifestyle-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}

.lifestyle-card__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-6);
  color: #FFF;
  width: 100%;
}

.lifestyle-card__content h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-2);
  line-height: var(--lh-tight);
  text-shadow: 0 2px 10px rgba(15,23,42,0.8);
}

.lifestyle-card__content p {
  font-size: var(--fs-md);
  color: #FFF;
  font-weight: var(--fw-medium);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  margin: 0;
}

.lifestyle-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }
  .category-card {
    min-height: 0; /* altura por contenido (la caja fija de 200px cortaba el texto) */
  }
  .category-card__image-container {
    height: 130px;
  }
}

/* ── Home CTA Section ── */
.home-cta {
  text-align: center;
}

.home-cta__title {
  margin-bottom: var(--sp-4);
}

.home-cta__desc {
  color: var(--c-text-secondary);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── SEO Section ── */
.seo-section {
  background: var(--c-primary-dark);
  padding: var(--sp-16) 0;
  color: var(--c-text-inverse);
}

.seo-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.seo-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-10);
  justify-items: center;
}

.seo-card {
  text-align: left;
  max-width: 350px;
}

.seo-card__title {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  color: var(--c-text-inverse);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.seo-card__desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: var(--fs-sm);
}

@media (max-width: 768px) {
  .seo-section__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Brand logos (home) ── */
.brands-section {
  padding: var(--sp-10) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.brands-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  flex-wrap: wrap;
}

.brand-logo {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text-muted);
  opacity: 0.5;
  transition: opacity var(--tr-base);
  cursor: pointer;
  white-space: nowrap;
}

.brand-logo:hover {
  opacity: 1;
  color: var(--c-text);
}

/* ── Promo banner strip (home) ── */
.promo-banner {
  background: var(--grad-accent);
  padding: var(--sp-4) var(--sp-6);
  text-align: center;
  color: var(--c-promo-text);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

.promo-banner__tag {
  background: rgba(0,0,0,0.1);
  color: var(--c-promo-text);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}

/* ══════════════════════════════════════
   CATALOG PAGE
   ══════════════════════════════════════ */
.catalog-layout {
  display: flex;
  gap: var(--sp-8);
  align-items: flex-start;
}

.catalog-content {
  flex: 1;
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

.catalog-toolbar__info {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
}

.catalog-toolbar__sort {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.catalog-toolbar__sort label {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  white-space: nowrap;
}

.catalog-toolbar__sort select {
  padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-3);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--c-text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23A0A0B8' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.catalog-toolbar__filter-btn {
  display: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* Variante de 4 columnas (destacados/ofertas/relacionados). Era un estilo inline
   repeat(4,1fr) que pisaba las media queries → 4 columnas hasta en un celular,
   con precios y botones cortados. Las reglas de abajo la achican con el viewport. */
.products-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .products-grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .products-grid,
  .products-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .catalog-layout {
    flex-direction: column;
  }

  .catalog-toolbar__filter-btn {
    display: flex;
  }

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

@media (max-width: 380px) {
  .products-grid,
  .products-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   PRODUCT DETAIL PAGE
   ══════════════════════════════════════ */
.product-detail {
  padding: var(--sp-10) 0;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: flex-start;
}

.product-detail__image-wrap {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
  background: var(--c-surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 1;
}

.product-detail__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--tr-slow);
}

.product-detail__image-wrap:hover .product-detail__image {
  transform: scale(1.02);
}

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.product-detail__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

.product-detail__breadcrumb a {
  color: var(--c-text-muted);
}

.product-detail__breadcrumb a:hover {
  color: var(--c-primary-light);
}

.product-detail__brand {
  font-size: var(--fs-sm);
  color: var(--c-primary-light);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-detail__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}

.product-detail__price-block {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
}

.product-detail__price {
  font-family: var(--ff-mono);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
}

.product-detail__price-old {
  font-family: var(--ff-mono);
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  text-decoration: line-through;
}

.product-detail__discount-badge {
  background: var(--c-accent-glow);
  color: var(--c-accent-light);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}

.product-detail__stock {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.product-detail__stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.product-detail__stock-dot--ok { background: var(--c-success); }
.product-detail__stock-dot--low { background: var(--c-warning); }
.product-detail__stock-dot--out { background: var(--c-danger); }

.product-detail__description {
  font-size: var(--fs-base);
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
}

.product-detail__actions {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}

.product-detail__actions-spacer {
  display: none;
}

.variant-pill {
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-text-secondary);
  transition: all var(--tr-fast);
  background: var(--c-surface);
  text-decoration: none;
  cursor: pointer;
}

.variant-pill:hover {
  border-color: var(--c-primary-light);
  color: var(--c-primary-light);
}

.variant-pill.active {
  border-color: var(--c-accent-dark);
  background: var(--c-accent);
  color: var(--c-primary-dark);
  font-weight: var(--fw-bold);
  pointer-events: none;
}

.product-detail__divider {
  border: none;
  border-top: 1px solid var(--c-border);
}

.product-detail__meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.product-detail__meta-item {
  display: flex;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
}

.product-detail__meta-item strong {
  color: var(--c-text);
  min-width: 100px;
}

/* Related products */
.related-products {
  padding: var(--sp-16) 0;
}

@media (max-width: 768px) {
  .product-detail__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .product-detail__image-wrap {
    position: static;
  }

  .product-detail__title {
    font-size: var(--fs-2xl);
  }

  .product-detail__actions-spacer {
    display: block;
    height: 80px;
  }

  .product-detail__actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--c-bg-elevated);
    padding: var(--sp-4) var(--sp-4) calc(var(--sp-4) + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
    z-index: 100;
    margin: 0;
    border-top: 1px solid var(--c-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .product-detail__price {
    font-size: var(--fs-2xl);
  }
}

/* ══════════════════════════════════════
   CHECKOUT PAGE
   ══════════════════════════════════════ */
.checkout {
  padding: var(--sp-10) 0 var(--sp-20);
}

.checkout__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-10);
  align-items: flex-start;
}

.checkout-confirm__details .confirm-row {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-sm);
}

.checkout-confirm__details .confirm-label {
  color: var(--c-text-secondary);
  font-weight: var(--fw-medium);
}

.checkout-confirm__summary {
  background: var(--c-surface-hover);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-6);
}

.checkout-confirm__summary .confirm-product {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-2);
}

.checkout-confirm__summary .confirm-total {
  display: flex;
  justify-content: space-between;
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* ── Checkout Specific ── */
.checkout-empty {
  text-align: center;
  padding: var(--sp-12) var(--sp-4);
}

.checkout-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-4);
  opacity: 0.4;
}

.checkout-empty__desc {
  margin-top: var(--sp-3);
  color: var(--c-text-secondary);
}

.checkout-empty__btn {
  margin-top: var(--sp-6);
}

.checkout-shipping-progress-container {
  margin-bottom: var(--sp-6);
}

.checkout-shipping-header {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  margin-bottom: 6px;
  font-weight: var(--fw-bold);
}

.checkout-shipping-bar {
  height: 6px;
  background: var(--c-border);
  border-radius: 4px;
  overflow: hidden;
}

.checkout-shipping-fill {
  height: 100%;
  background: var(--c-primary-light);
  transition: width 0.3s ease;
}

.checkout-shipping-success {
  padding: var(--sp-3);
  background: var(--c-success-bg);
  border: 1px dashed var(--c-success);
  border-radius: var(--r-md);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-success);
}

.checkout-upsell {
  margin-top: var(--sp-8);
}

.checkout-upsell__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-4);
}

.checkout-upsell__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
}

.upsell-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: transform var(--tr-fast), border-color var(--tr-fast);
}

.upsell-card:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary-light);
}

.upsell-card__img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: var(--r-sm);
}

.upsell-card__info {
  flex: 1;
}

.upsell-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.upsell-card__price {
  font-size: var(--fs-xs);
  color: var(--c-primary-light);
  font-weight: var(--fw-bold);
  margin-top: 4px;
}

.upsell-card__btn {
  padding: var(--sp-2);
  min-width: auto;
  border-radius: 50%;
}

.checkout-address-select {
  margin-bottom: var(--sp-4);
}

.checkout-address-select select {
  cursor: pointer;
}

.checkout-warning {
  background: rgba(255,180,0,0.12);
  border: 1px solid rgba(255,180,0,0.5);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  max-width: 480px;
}

.checkout__section {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.checkout__section-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.checkout__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.checkout__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.checkout__summary {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
}

.checkout__summary-items {
  margin-bottom: var(--sp-6);
}

.checkout__summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-sm);
}

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

.checkout__summary-item-name {
  flex: 1;
  min-width: 0;
}

.checkout__summary-item-qty {
  color: var(--c-text-muted);
  margin: 0 var(--sp-4);
  white-space: nowrap;
}

.checkout__summary-item-price {
  font-family: var(--ff-mono);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.checkout__summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-4) 0;
  border-top: 2px solid var(--c-border);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
}

.checkout__summary-total-value {
  font-family: var(--ff-mono);
  font-size: var(--fs-2xl);
  color: var(--c-primary-light);
}

.checkout__payment-info {
  margin-top: var(--sp-6);
  padding: var(--sp-4);
  background: var(--c-bg-elevated);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

@media (max-width: 768px) {
  .checkout__grid {
    grid-template-columns: 1fr;
  }

  .checkout__form-row {
    grid-template-columns: 1fr;
  }

  .checkout__summary {
    position: static;
  }

  .checkout__section {
    padding: var(--sp-5) var(--sp-4);
  }

  .checkout-cart-item__img {
    width: 64px;
    height: 64px;
  }

  /* La fila qty/precio/borrar desbordaba la card en 320-390px */
  .checkout-cart-item .cart-item__qty button {
    width: 40px;
    height: 40px;
  }
  .checkout-cart-item__price {
    margin-left: auto;
  }
}

/* ══════════════════════════════════════
   PROMOS PAGE
   ══════════════════════════════════════ */
.promos-hero {
  text-align: center;
  padding: var(--sp-12) 0;
  background: linear-gradient(180deg, var(--c-accent-glow) 0%, transparent 100%);
  border-radius: var(--r-xl);
  margin-bottom: var(--sp-10);
}

.promos-hero__badge {
  font-size: var(--fs-5xl);
  margin-bottom: var(--sp-4);
}

.promos-hero h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-3);
}

.promos-hero p {
  color: var(--c-text-secondary);
  font-size: var(--fs-lg);
}

/* ══════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════ */
.about-hero {
  text-align: center;
  padding: var(--sp-16) 0 var(--sp-10);
}

.about-hero h1 {
  margin-bottom: var(--sp-4);
}

.about-hero p {
  font-size: var(--fs-lg);
  color: var(--c-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.value-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  text-align: center;
  transition: border-color var(--tr-base), transform var(--tr-base);
}

.value-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-4px);
}

.value-card__icon {
  font-size: 40px;
  margin-bottom: var(--sp-4);
}

.value-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}

.value-card p {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
}

@media (max-width: 768px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: flex-start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.contact-info-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary-glow);
  border-radius: var(--r-md);
  color: var(--c-primary-light);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-1);
}

.contact-info-card p {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
}

.contact-form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   HERO — PARTICLES CANVAS
   ══════════════════════════════════════ */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: var(--c-whatsapp);
  top: 40%;
  right: 15%;
  opacity: 0.08;
}

/* ── Hero stats counters ── */
.hero__stats {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-10);
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hero__stat-number {
  font-family: var(--ff-mono);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--c-accent);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--fw-medium);
}

@media (max-width: 768px) {
  .hero__stats {
    gap: var(--sp-6);
  }
  .hero__stat-number {
    font-size: var(--fs-2xl);
  }
}

/* ── Hero title animation ── */
.hero__title-animate {
  animation: glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0%   { filter: brightness(1) drop-shadow(0 0 0 transparent); }
  100% { filter: brightness(1.15) drop-shadow(0 0 20px rgba(59,141,189,0.3)); }
}

/* ── Promo banner responsive ── */
.promo-banner__text {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
}

.promo-banner__dot {
  color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .promo-banner {
    flex-direction: column;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
  }
  .promo-banner__text {
    flex-direction: column;
    gap: var(--sp-1);
  }
  .promo-banner__dot {
    display: none;
  }
}

/* ══════════════════════════════════════
   TESTIMONIALS CAROUSEL
   ══════════════════════════════════════ */
.testimonials-section {
  background: var(--c-bg-elevated);
}

.testimonials-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.testimonials-track {
  position: relative;
  min-height: 220px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-10);
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  position: relative;
}

.testimonial-card__icon {
  font-size: 40px;
  margin-bottom: var(--sp-4);
}

.testimonial-card__text {
  font-size: var(--fs-lg);
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
  font-style: italic;
  margin-bottom: var(--sp-6);
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.testimonial-card__author strong {
  font-size: var(--fs-base);
  color: var(--c-text);
}

.testimonial-card__author span {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}

.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border-light);
  transition: all var(--tr-base);
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

/* Área táctil ampliada (44px) sin cambiar el tamaño visual del punto */
.testimonials-dot::after {
  content: '';
  position: absolute;
  inset: -17px;
}

.testimonials-dot.active {
  background: var(--c-primary);
  box-shadow: 0 0 8px var(--c-primary-glow);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: var(--sp-6);
  }
  .testimonial-card__text {
    font-size: var(--fs-base);
  }
}

/* ══════════════════════════════════════
   PRODUCT TABS (detail page)
   ══════════════════════════════════════ */
.product-tabs {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.product-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}

.product-tabs__btn {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--tr-fast);
  position: relative;
}

.product-tabs__btn.active {
  color: var(--c-primary-light);
}

.product-tabs__btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-primary);
}

.product-tabs__btn:hover {
  color: var(--c-text);
}

.product-tabs__content {
  display: none;
  padding: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
}

.product-tabs__content.active {
  display: block;
  animation: fade-in 0.3s ease;
}

.product-tabs__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.product-tabs__list li {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-border);
}

.product-tabs__list li:last-child {
  border-bottom: none;
}

/* ── Product image zoom ── */
.product-detail__image-wrap {
  overflow: hidden;
  cursor: zoom-in;
}

.product-detail__image-wrap:hover .product-detail__image {
  transition: none;
}

.product-detail__zoom-hint {
  position: absolute;
  bottom: var(--sp-4);
  right: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.8);
  transition: opacity var(--tr-base);
  pointer-events: none;
}

.product-detail__badge-discount {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  background: var(--c-accent);
  color: var(--c-promo-text);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  z-index: 2;
}

/* ══════════════════════════════════════
   CATALOG — LIST VIEW
   ══════════════════════════════════════ */
.products-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.product-list-item {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  cursor: pointer;
  transition: all var(--tr-base);
}

.product-list-item:hover {
  border-color: var(--c-primary);
  box-shadow: var(--sh-sm);
}

.product-list-item__img-wrap {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-bg-elevated);
}

.product-list-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-list-item__info {
  flex: 1;
  min-width: 0;
}

.product-list-item__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-1);
}

.product-list-item__right {
  text-align: right;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .product-list-item {
    gap: var(--sp-3);
    padding: var(--sp-3);
  }
  .product-list-item__img-wrap {
    width: 60px;
    height: 60px;
  }
}

/* ══════════════════════════════════════
   CATALOG — SKELETON LOADING
   ══════════════════════════════════════ */
.product-skeleton {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.product-skeleton__img {
  aspect-ratio: 1;
  border-radius: 0;
}

.product-skeleton__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.product-skeleton__brand {
  width: 60px;
  height: 12px;
}

.product-skeleton__name {
  width: 80%;
  height: 16px;
}

.product-skeleton__cat {
  width: 50%;
  height: 12px;
}

.product-skeleton__footer {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-2);
}

.product-skeleton__price {
  width: 70px;
  height: 20px;
}

.product-skeleton__stock {
  width: 50px;
  height: 14px;
}

/* ══════════════════════════════════════
   CATALOG — VIEW TOGGLE
   ══════════════════════════════════════ */
.catalog-toolbar__right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.catalog-toolbar__view-toggle {
  display: flex;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.view-toggle-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.view-toggle-btn.active {
  background: var(--c-primary-glow);
  color: var(--c-primary-light);
}

.view-toggle-btn:hover:not(.active) {
  background: var(--c-surface);
  color: var(--c-text);
}

@media (max-width: 768px) {
  .catalog-toolbar__view-toggle {
    display: none;
  }
}

/* ══════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: calc(var(--sp-6) + 70px);
  right: var(--sp-6);
  z-index: var(--z-whatsapp);
  width: 44px;
  height: 44px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-secondary);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--tr-base);
  pointer-events: none;
  box-shadow: var(--sh-sm);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--sh-glow);
}


@media (max-width: 480px) {
  .back-to-top {
    bottom: calc(96px + 64px);
    right: var(--sp-4);
    width: 40px;
    height: 40px;
  }
}

/* ══════════════════════════════════════
   CHECKOUT — PROGRESS BAR
   ══════════════════════════════════════ */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--sp-10);
  padding: var(--sp-6) 0;
}

.checkout-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  position: relative;
  z-index: 1;
}

.checkout-progress__step span {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  font-weight: var(--fw-medium);
  transition: color var(--tr-base);
  white-space: nowrap;
}

.checkout-progress__step.active span {
  color: var(--c-text);
}

.checkout-progress__circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  transition: all var(--tr-base);
}

.checkout-progress__step.active .checkout-progress__circle {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 0 16px var(--c-primary-glow);
}

.checkout-progress__step.completed .checkout-progress__circle {
  background: var(--c-success);
  border-color: var(--c-success);
  color: #fff;
}

.checkout-progress__line {
  width: 80px;
  height: 2px;
  background: var(--c-border);
  transition: background var(--tr-base);
  margin: 0 var(--sp-2);
  margin-bottom: var(--sp-6);
}

.checkout-progress__line.active {
  background: var(--c-primary);
}

@media (max-width: 480px) {
  .checkout-progress__line { width: 24px; }
  .checkout-progress__step span { font-size: 12px; }
  .checkout-progress__circle { width: 36px; height: 36px; font-size: 14px; }
}

/* ── Checkout cart items (step 1) ── */
.checkout-cart-item {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border);
}

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

.checkout-cart-item__img {
  width: 80px;
  height: 80px;
  border-radius: var(--r-md);
  object-fit: cover;
  background: var(--c-bg-elevated);
  flex-shrink: 0;
}

.checkout-cart-item__info { flex: 1; min-width: 0; }

.checkout-cart-item__name {
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-1);
}

.checkout-cart-item__meta {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-3);
}

.checkout-cart-item__bottom {
  display: flex;
  align-items: center;
  gap: var(--sp-3) var(--sp-4);
  flex-wrap: wrap; /* en mobile chico qty+precio+borrar no entran en una línea */
}

.checkout-cart-item__price {
  font-family: var(--ff-mono);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  margin-left: auto;
}

.checkout-cart-item__remove {
  color: var(--c-text-muted);
  transition: color var(--tr-fast);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-1);
}

.checkout-cart-item__remove:hover { color: var(--c-danger); }

/* ── Shipping options ── */
.checkout-shipping-options {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.checkout-shipping-option {
  cursor: pointer;
}

.checkout-shipping-option input { display: none; }

.checkout-shipping-option__content {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: all var(--tr-base);
}

.checkout-shipping-option.selected .checkout-shipping-option__content,
.checkout-shipping-option input:checked + .checkout-shipping-option__content {
  border-color: var(--c-primary);
  background: var(--c-primary-glow);
  box-shadow: 0 0 0 3px rgba(59,141,189,0.1);
}

.checkout-shipping-option__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.checkout-shipping-option__content div {
  flex: 1;
}

.checkout-shipping-option__content strong {
  display: block;
  font-size: var(--fs-sm);
  margin-bottom: 2px;
}

.checkout-shipping-option__content span {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

.checkout-shipping-option__price {
  font-family: var(--ff-mono);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  color: var(--c-success);
  white-space: nowrap;
}

/* ── Confirmation step ── */
.checkout-confirm {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.checkout-confirm__header {
  margin-bottom: var(--sp-8);
}

.checkout-confirm__icon {
  width: 64px;
  height: 64px;
  background: var(--c-primary-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  color: var(--c-primary-light);
}

.checkout-confirm__header h2 { margin-bottom: var(--sp-2); }
.checkout-confirm__header p { color: var(--c-text-secondary); }

.checkout-confirm__details {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
  text-align: left;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-2) 0;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--c-border);
}

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

.confirm-label {
  color: var(--c-text-muted);
  flex-shrink: 0;
  margin-right: var(--sp-4);
}

.checkout-confirm__summary {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin-bottom: var(--sp-8);
  text-align: left;
}

.confirm-product {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-2) 0;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--c-border);
}

.confirm-product:last-of-type { border-bottom: none; }

.confirm-total {
  display: flex;
  justify-content: space-between;
  padding-top: var(--sp-3);
  margin-top: var(--sp-3);
  border-top: 2px solid var(--c-border);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
}

.checkout-confirm__actions {
  display: flex;
  gap: var(--sp-3);
}

/* ── Success animation ── */
.checkout-success {
  text-align: center;
  padding: var(--sp-16) 0;
}

.checkout-success__circle {
  width: 100px;
  height: 100px;
  background: var(--c-success-bg);
  border: 3px solid var(--c-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--c-success);
  animation: success-pop 0.5s ease;
}

.checkout-success__check {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: check-draw 0.6s ease 0.3s forwards;
}

@keyframes success-pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes check-draw {
  to { stroke-dashoffset: 0; }
}

/* ══════════════════════════════════════
   PROMOS — TIMER
   ══════════════════════════════════════ */
.promo-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.promo-timer__label {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.promo-timer__digits {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.promo-timer__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  min-width: 60px;
}

.promo-timer__block span {
  font-family: var(--ff-mono);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--c-accent-light);
  line-height: 1;
}

.promo-timer__block small {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: var(--sp-1);
}

.promo-timer__sep {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-4);
}

@media (max-width: 480px) {
  .promo-timer__block { min-width: 50px; padding: var(--sp-2) var(--sp-3); }
  .promo-timer__block span { font-size: var(--fs-xl); }
}

/* ── Promo notice ── */
.promo-notice {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--c-info-bg);
  border: 1px solid rgba(59,141,189,0.2);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-8);
}

.promo-notice__icon {
  font-size: 28px;
  flex-shrink: 0;
}

.promo-notice strong { display: block; margin-bottom: var(--sp-1); }
.promo-notice p { font-size: var(--fs-sm); color: var(--c-text-secondary); }

@media (max-width: 768px) {
  .promo-notice { flex-direction: column; text-align: center; }
}

/* ── Combos grid ── */
.combos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.combo-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
  transition: all var(--tr-base);
}

.combo-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.combo-card__badge {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
}

.combo-card__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
}

.combo-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
}

.combo-card__items {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin: var(--sp-2) 0;
}

.combo-card__item-tag {
  padding: var(--sp-1) var(--sp-3);
  background: var(--c-primary-glow);
  color: var(--c-primary-light);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

.combo-card__plus {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  font-weight: var(--fw-bold);
}

@media (max-width: 768px) {
  .combos-grid { grid-template-columns: 1fr; }
}

/* ── Promo CTA ── */
.promo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-8);
  background: linear-gradient(135deg, var(--c-surface) 0%, rgba(59,141,189,0.08) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  margin-top: var(--sp-12);
}

.promo-cta__content h3 { margin-bottom: var(--sp-2); }
.promo-cta__content p { color: var(--c-text-secondary); font-size: var(--fs-sm); }

@media (max-width: 768px) {
  .promo-cta { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════
   ABOUT — TIMELINE
   ══════════════════════════════════════ */
.about-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-primary-glow);
  border: 1px solid rgba(59,141,189,0.2);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-6);
}

.timeline {
  position: relative;
  padding-left: var(--sp-10);
  max-width: 700px;
  margin: var(--sp-8) auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-border);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--sp-8);
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__marker {
  position: absolute;
  left: calc(-1 * var(--sp-10) + 4px);
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 3px solid var(--c-border-light);
  z-index: 1;
  transition: all var(--tr-base);
}

.timeline__item.visible .timeline__marker {
  border-color: var(--c-primary);
  background: var(--c-primary);
  box-shadow: 0 0 12px var(--c-primary-glow);
}

.timeline__marker--current {
  border-color: var(--c-accent) !important;
  background: var(--c-accent) !important;
  box-shadow: 0 0 16px var(--c-accent-glow) !important;
  animation: pulse-marker 2s infinite;
}

@keyframes pulse-marker {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255,107,53,0); }
}

.timeline__content {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: all var(--tr-base);
}

.timeline__item.visible .timeline__content {
  border-color: rgba(59,141,189,0.2);
}

.timeline__date {
  font-size: var(--fs-xs);
  color: var(--c-primary-light);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline__content h4 {
  font-size: var(--fs-base);
  margin: var(--sp-2) 0;
}

.timeline__content p {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
}

/* ── About animated stats ── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.about-stat {
  text-align: center;
  padding: var(--sp-6);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: all var(--tr-base);
}

.about-stat:hover {
  border-color: var(--c-primary);
  transform: translateY(-4px);
}

.about-stat__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: var(--c-primary-light);
  font-family: var(--ff-mono);
  line-height: 1;
}

.about-stat p {
  color: var(--c-text-secondary);
  font-size: var(--fs-sm);
  margin-top: var(--sp-2);
}

@media (max-width: 768px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── Trust badges ── */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4);
  min-width: 100px;
}

.trust-badge__icon {
  font-size: 28px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  transition: all var(--tr-base);
}

.trust-badge:hover .trust-badge__icon {
  border-color: var(--c-primary);
  transform: scale(1.1);
  box-shadow: var(--sh-glow);
}

.trust-badge span {
  font-size: var(--fs-xs);
  color: var(--c-text-secondary);
  font-weight: var(--fw-medium);
  text-align: center;
}

/* ══════════════════════════════════════
   CONTACT — FAQ ACCORDION
   ══════════════════════════════════════ */
.faq-section { max-width: 700px; margin-left: auto; margin-right: auto; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--tr-base);
}

.faq-item.open {
  border-color: var(--c-primary);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--sp-3);
}

.faq-item__question:hover {
  color: var(--c-primary-light);
}

.faq-item__chevron {
  flex-shrink: 0;
  color: var(--c-text-muted);
  transition: transform var(--tr-base);
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--c-primary);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--sp-5);
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
  padding: 0 var(--sp-5) var(--sp-5);
}

.faq-item__answer p {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
}

/* ── Contact response badge ── */
.contact-response-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--c-success-bg);
  color: var(--c-success);
  font-size: 11px;
  font-weight: var(--fw-bold);
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-left: var(--sp-2);
}

.contact-info-card--whatsapp {
  border-color: var(--c-whatsapp) !important;
  background: rgba(37,211,102,0.05) !important;
}

.contact-info-card__arrow {
  color: var(--c-text-muted);
  flex-shrink: 0;
  margin-left: auto;
  transition: transform var(--tr-fast);
}

.contact-info-card:hover .contact-info-card__arrow {
  transform: translateX(4px);
  color: var(--c-primary-light);
}

/* ── Contact form success ── */
.contact-form-success {
  text-align: center;
  padding: var(--sp-10) var(--sp-6);
  animation: fade-in 0.4s ease;
}

.contact-form-success__icon {
  font-size: 48px;
  margin-bottom: var(--sp-4);
}

.contact-form-success h3 {
  margin-bottom: var(--sp-2);
}

.contact-form-success p {
  color: var(--c-text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-6);
}

/* ============================================================================
   Athletic refresh v2 — íconos SVG (reemplazo de emojis) · skill ui-ux-pro-max
   ============================================================================ */
/* Listas de envío/garantía en la página de producto */
.product-tabs__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}
.product-tabs__list li .li-ico {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--c-accent);
}
/* Íconos de testimonios y badges de ofertas → acento lima */
.testimonial-card__icon,
.promos-hero__badge,
.promo-notice__icon {
  color: var(--c-accent);
}
.testimonial-card__icon svg,
.promos-hero__badge svg,
.promo-notice__icon svg { display: inline-block; }

/* ============================================================================
   Hero premium — barra de confianza + indicador de scroll + ken-burns
   ============================================================================ */

/* ── SEO Features Grid ── */

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.85);
}
.hero__trust-item svg { color: var(--c-accent); flex-shrink: 0; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: var(--sp-5);
  transform: translateX(-50%);
  z-index: 1;
  color: var(--c-text-muted);
  transition: color var(--tr-fast);
  animation: heroBounce 2.2s ease-in-out infinite;
}
.hero__scroll:hover { color: var(--c-accent); }

@keyframes heroKenBurns { from { transform: scale(1.03); } to { transform: scale(1.13); } }
@keyframes heroBounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

@media (max-width: 768px) {
  .hero__scroll { display: none; }
  .hero__trust { gap: var(--sp-2) var(--sp-4); margin-top: var(--sp-6); }
  .hero__trust-item { font-size: var(--fs-xs); }
}

/* ── Floating Paths: líneas animadas detrás del hero (adaptación vanilla) ── */
.hero__paths {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: var(--c-accent);        /* trazos lima */
  pointer-events: none;
  opacity: 0.5;
}
.hero__paths .hero-paths-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-path {
  stroke-dasharray: 0.32 0.68;
  opacity: var(--op, 0.3);
  animation: heroPathFlow var(--dur, 26s) linear infinite;
  will-change: stroke-dashoffset;
}
@keyframes heroPathFlow {
  0%   { stroke-dashoffset: 1;  opacity: calc(var(--op) * 0.45); }
  50%  { opacity: var(--op); }
  100% { stroke-dashoffset: -1; opacity: calc(var(--op) * 0.45); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-path { animation: none; stroke-dasharray: none; opacity: calc(var(--op) * 0.7); }
}

/* ============================================================================
   FC SUPLEMENTOS — AUTH & MY ACCOUNT SYSTEM (Premium Custom CSS)
   ============================================================================ */

/* ── Verification Banner ── */
.email-banner {
  background: var(--c-warning-bg);
  border-bottom: 1px solid var(--c-warning);
  animation: slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slide-down {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ── Auth Forms ── */
.section--auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 200px);
  padding: var(--sp-12) 0;
}
.container--auth {
  max-width: 460px;
  width: 100%;
}
.auth-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--sh-lg);
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}
.auth-card__header {
  text-align: center;
  margin-bottom: var(--sp-6);
}
.auth-card__header h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  color: var(--c-primary);
  letter-spacing: 0.5px;
}
.auth-card__header p {
  color: var(--c-text-secondary);
  font-size: var(--fs-sm);
  margin-top: 4px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.auth-error-alert {
  background: var(--c-danger-bg);
  border: 1px solid var(--c-danger);
  color: var(--c-danger);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fade-in 0.3s ease;
}

.auth-success-alert {
  background: var(--c-success-bg);
  border: 1px solid var(--c-success);
  color: var(--c-success);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  animation: fade-in 0.3s ease;
}

/* ── Password Toggle ── */
.input-wrapper--pwd {
  position: relative;
}
.pwd-toggle-btn {
  position: absolute;
  right: var(--sp-1);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--c-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: var(--sp-1);
  transition: color var(--tr-fast);
}
.pwd-toggle-btn:hover {
  color: var(--c-primary);
}
.pwd-toggle-btn.visible {
  color: var(--c-primary);
}

/* ── Auth links (¿Olvidaste tu contraseña? / Registrate acá) — target táctil ── */
.auth-link {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) 0;
  min-height: 40px;
}

/* ── Password dynamic rules list ── */
.password-policy ul li {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--tr-fast);
}
.password-policy ul li .bullet {
  transition: background var(--tr-fast), transform var(--tr-fast);
}
.password-policy ul li[style*="success"] .bullet {
  transform: scale(1.2);
}

/* ── Auth Cards shake ── */
.shake {
  animation: shake-anim 0.4s ease;
}
@keyframes shake-anim {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* ── Account Dashboard Layout ── */
.account-page {
  padding: var(--sp-10) 0 var(--sp-16);
}
.account-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: var(--sp-8);
  align-items: flex-start;
}

/* ── Account Sidebar ── */
.account-sidebar {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-md);
}
.account-user-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--c-border);
}
.account-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  box-shadow: 0 4px 12px var(--c-primary-glow);
}
.account-user-info h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  line-height: 1.2;
}
.account-user-info p {
  font-size: var(--fs-xs);
  color: var(--c-text-secondary);
  margin-top: 2px;
}
.account-role-tag {
  display: inline-block;
  font-size: 9px;
  background: var(--c-accent-glow);
  color: var(--c-primary-light);
  padding: 1px 6px;
  border-radius: var(--r-sm);
  font-weight: var(--fw-semibold);
  margin-top: 4px;
}
.account-menu {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.account-menu-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: none;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  text-align: left;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.account-menu-item svg {
  color: var(--c-text-muted);
  transition: color var(--tr-fast);
}
.account-menu-item:hover {
  background: var(--c-surface-hover);
  color: var(--c-primary);
}
.account-menu-item.active {
  background: var(--c-primary);
  color: #fff;
  font-weight: var(--fw-bold);
  box-shadow: 0 4px 12px var(--c-primary-glow);
}
.account-menu-item.active svg {
  color: #fff;
}

/* ── Mobile Tab Bar ── */
.account-tabs-mobile {
  display: none;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 4px;
  overflow-x: auto;
  white-space: nowrap;
  gap: 4px;
  scrollbar-width: none;
  margin-bottom: var(--sp-6);
}
.account-tabs-mobile::-webkit-scrollbar {
  display: none;
}
.account-tab-btn {
  flex: 1;
  padding: var(--sp-2) var(--sp-4);
  background: none;
  border: none;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.account-tab-btn.active {
  background: var(--c-primary);
  color: #fff;
}

/* ── Content Panel & Cards ── */
.account-content {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--sh-md);
  min-height: 480px;
}
.account-pane__title {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--c-border-light);
  padding-bottom: var(--sp-2);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.profile-card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.profile-card__header {
  background: var(--c-surface-hover);
  padding: var(--sp-3) var(--sp-4);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  color: var(--c-primary);
  border-bottom: 1px solid var(--c-border);
}
.profile-card__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.profile-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profile-field .label {
  font-size: 12px;
  color: var(--c-text-muted);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
}
.profile-field .value {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
}

/* ── Orders table inside dashboard ── */
.orders-table-container {
  overflow-x: auto;
}
.orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.orders-table th, .orders-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-border-light);
}
.orders-table th {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--c-text-muted);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.5px;
}
.orders-table tbody tr:hover {
  background: var(--c-surface-hover);
}

/* ── Modals & Backdrop ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  animation: fade-in 0.3s ease;
}
.modal-card {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  animation: pop-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes pop-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-card__header {
  background: var(--c-primary);
  color: #fff;
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-card__header h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
.modal-card__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  padding: var(--sp-1);
  transition: color var(--tr-fast);
  line-height: 1;
}
.modal-card__close:hover {
  color: #fff;
}

/* ── Skeleton Loaders ── */
.skeleton-panel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.skeleton-line {
  background: linear-gradient(90deg, var(--c-surface-light) 25%, var(--c-border-light) 50%, var(--c-surface-light) 75%);
  background-size: 200% 100%;
  animation: pulse-skeletons 1.5s infinite;
  border-radius: var(--r-sm);
}
@keyframes pulse-skeletons {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── User Dropdown inside Header ── */
.user-dropdown {
  position: relative;
}
.user-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--c-text);
  font-family: inherit;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: var(--tr-fast);
}
.user-dropdown__trigger:hover {
  background: var(--c-surface-hover);
}
.user-dropdown__trigger .chevron {
  transition: transform var(--tr-fast);
}
@media (max-width: 768px) {
  .user-dropdown__name,
  .user-dropdown__trigger .chevron {
    display: none !important;
  }
  .user-dropdown__trigger {
    padding: 6px;
  }
}
.user-dropdown.open .user-dropdown__trigger .chevron {
  transform: rotate(180deg);
}
.user-dropdown__menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  width: 180px;
  display: none;
  flex-direction: column;
  padding: 4px;
  z-index: var(--z-dropdown);
}
.user-dropdown.open .user-dropdown__menu {
  display: flex;
  animation: slide-up 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.user-dropdown__menu a, .user-dropdown__menu button {
  display: flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--c-text-secondary);
  border-radius: var(--r-sm);
  transition: var(--tr-fast);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.user-dropdown__menu a:hover, .user-dropdown__menu button:hover {
  background: var(--c-surface-hover);
  color: var(--c-primary);
}
.user-dropdown__menu .user-dropdown__logout {
  color: var(--c-danger);
}
.user-dropdown__menu .user-dropdown__logout:hover {
  background: var(--c-danger-bg);
  color: var(--c-danger);
}

/* ── Responsive adjustments ── */
@media (max-width: 992px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    display: none;
  }
  .account-tabs-mobile {
    display: flex;
  }
  .account-content {
    padding: var(--sp-5);
  }
}

@media (max-width: 576px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .auth-card {
    padding: var(--sp-5);
  }
}

