﻿:root {
  color-scheme: light;
  --font-body: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
  --color-primary: #0b8484;
  --color-accent: #c47c35;
  --color-dark: #123132;
  --color-text: #1f2c2c;
  --color-muted: #6c8181;
  --color-bg: #eef4f2;
  --color-success: #0b8484;
  --color-info: #2c6ecb;
  --color-warning: #c47c35;
  --color-error: #c13c3c;
  --wm-icon-size: 58px;
  --wm-gap: 34px;
  --wm-opacity: 0.05;
  --wm-tile-size: calc((var(--wm-icon-size) + var(--wm-gap)) * 2);
  --wm-background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%20width%3D'184'%20height%3D'184'%20viewBox%3D'0%200%20184%20184'%3E%3Cdefs%3E%3Cpattern%20id%3D'wm'%20patternUnits%3D'userSpaceOnUse'%20width%3D'184'%20height%3D'184'%3E%3Cg%20transform%3D'translate(17%2017)'%3E%3Cimage%20href%3D'%2Fimg%2Fisotiponegro.png'%20xlink%3Ahref%3D'%2Fimg%2Fisotiponegro.png'%20width%3D'58'%20height%3D'58'%20preserveAspectRatio%3D'xMidYMid%20meet'%20%2F%3E%3C%2Fg%3E%3Cg%20transform%3D'translate(138%2046)%20rotate(90)%20translate(-29%20-29)'%3E%3Cimage%20href%3D'%2Fimg%2Fisotiponegro.png'%20xlink%3Ahref%3D'%2Fimg%2Fisotiponegro.png'%20width%3D'58'%20height%3D'58'%20preserveAspectRatio%3D'xMidYMid%20meet'%20%2F%3E%3C%2Fg%3E%3Cg%20transform%3D'translate(138%20138)%20rotate(180)%20scale(-1%201)%20translate(-29%20-29)'%3E%3Cimage%20href%3D'%2Fimg%2Fisotiponegro.png'%20xlink%3Ahref%3D'%2Fimg%2Fisotiponegro.png'%20width%3D'58'%20height%3D'58'%20preserveAspectRatio%3D'xMidYMid%20meet'%20%2F%3E%3C%2Fg%3E%3Cg%20transform%3D'translate(46%20138)%20rotate(270)%20translate(-29%20-29)'%3E%3Cimage%20href%3D'%2Fimg%2Fisotiponegro.png'%20xlink%3Ahref%3D'%2Fimg%2Fisotiponegro.png'%20width%3D'58'%20height%3D'58'%20preserveAspectRatio%3D'xMidYMid%20meet'%20%2F%3E%3C%2Fg%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20fill%3D'url(%23wm)'%20%2F%3E%3C%2Fsvg%3E");
  --radius: 16px;
  --shadow: 0 20px 40px rgba(11, 132, 132, 0.15);
  /* Hero animation tuning: adjust durations, delays and easing centrally */
  --hero-radius: 20px;
  --hero-gradient: linear-gradient(120deg, rgba(11, 132, 132, 0.1) 0%, rgba(196, 124, 53, 0.08) 100%);
  --hero-shadow-soft: 0 26px 60px rgba(11, 132, 132, 0.16);
  --hero-shadow-sharp: 0 6px 20px rgba(12, 58, 58, 0.12);
  --hero-float-duration: 7s;
  --hero-stagger-interval: 0.14s;
  --hero-cta-glow: 0 0 0 rgba(11, 132, 132, 0);
  --glass-bg: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-border-soft: rgba(255, 255, 255, 0.28);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
  --glass-reflect: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 40%);
  --mint: #7bf6d0;
  --mint2: #34d3ad;
  --blue: #8ec7ff;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --txt-1: #0f1a1a;
  --txt-2: #2a3a3a;
  --txt-muted: #556666;
}

@property --hero-float-y {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  position: relative;
  z-index: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--wm-background, none);
  background-repeat: repeat;
  background-position: center;
  background-size: var(--wm-tile-size) var(--wm-tile-size);
  opacity: var(--wm-opacity);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Checkout themed overrides (visual only, no markup/JS changes) */
.page-checkout {
  /* soften watermark on checkout and switch to an orange accent like the brand */
  --wm-opacity: 0.02;
  --checkout-primary: #C47C35;
  /* keep existing palette globally; locally remap primary/info for components */
  --color-primary: var(--checkout-primary);
  --color-info: var(--checkout-primary);
}

.page-checkout .checkout-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* header with back arrow */
.page-checkout .checkout-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(1.1rem, 3vw, 1.9rem);
}

.page-checkout .checkout-back {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e7ecf3;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-checkout .checkout-back::before {
  content: '';
  width: 10px;
  height: 10px;
  border-left: 2px solid #0f172a;
  border-bottom: 2px solid #0f172a;
  transform: rotate(45deg);
  margin-left: 4px;
}

.page-checkout .checkout-layout {
  position: relative;
  z-index: 0;
}

.page-checkout .checkout-flow {
  position: relative;
}

.page-checkout .checkout-flow::before {
  content: '';
  position: absolute;
  left: -10%;
  top: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(50% 50% at 30% 30%, rgba(255, 204, 229, 0.22) 0%, rgba(196, 124, 53, 0.12) 40%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(4px);
}

/* soft radial glow behind the order summary column */
.page-checkout .checkout-layout::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -6%;
  width: 560px;
  height: 560px;
  background: radial-gradient(45% 45% at 70% 30%, rgba(196, 124, 53, 0.26) 0%, rgba(255, 119, 143, 0.16) 40%, rgba(255,255,255,0) 70%);
  filter: blur(4px);
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 960px) {
  .page-checkout .checkout-layout::after {
    right: -30%;
    top: -10%;
    width: 420px;
    height: 420px;
  }
}

/* Cards and summary visuals */
.page-checkout .checkout-card {
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.page-checkout .checkout-summary {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(196, 124, 53, 0.14);
  background: #ffffff;
}

.page-checkout .checkout-summary h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  color: #0f172a;
}

.page-checkout .summary-hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(239, 245, 255, 0.7);
  border: 1px solid #e7ecf3;
}

.page-checkout .summary-hero__image {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e7ecf3;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
}

.page-checkout .summary-hero__image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.page-checkout .summary-hero__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.page-checkout .summary-hero__attrs {
  margin: 0;
  display: flex;
  gap: 12px;
  color: #6b7280;
  font-size: 0.9rem;
}

.page-checkout .summary-sep {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.02));
}

.page-checkout .checkout-total strong {
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
}

/* Labels like "FIRST NAME" style */
.page-checkout .checkout-card label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7b8795;
  font-weight: 700;
}

.page-checkout .checkout-card label input,
.page-checkout .input-grid select,
.page-checkout .input-grid textarea,
.page-checkout form label input,
.page-checkout form label textarea {
  font-size: 1rem;
  font-weight: 500;
  color: var(--txt-1, #0f1a1a);
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  min-height: 48px;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03), 0 1px 2px rgba(16, 24, 40, 0.04);
}

.page-checkout .checkout-card input::placeholder,
.page-checkout .checkout-card textarea::placeholder {
  color: #98a2b3;
}

.page-checkout .checkout-card label input:focus,
.page-checkout .input-grid select:focus,
.page-checkout .input-grid textarea:focus {
  outline: none;
  border-color: rgba(196, 124, 53, 0.8);
  box-shadow: 0 0 0 4px rgba(196, 124, 53, 0.12);
}

/* Shipping options and note */
.page-checkout .shipping-option {
  border-radius: 16px;
  border: 1.5px solid #e7ecf3;
  background: #fff;
}

.page-checkout .shipping-options {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-checkout .shipping-option strong {
  font-weight: 700;
  color: #0f172a;
}

.page-checkout .shipping-option .option-meta {
  color: #6b7280;
}

.page-checkout .shipping-option .option-eta {
  color: #6b7280;
}

.page-checkout .shipping-option:has(input:checked) {
  border-color: var(--color-primary);
  box-shadow: none;
}

.page-checkout .shipping-note {
  background: rgba(196, 124, 53, 0.06);
  border-color: rgba(196, 124, 53, 0.18);
}

/* Payment cards behave like segmented options */
.page-checkout .payment-card {
  border-radius: 16px;
  border: 1.5px solid #e7ecf3;
}

.page-checkout .payment-card.is-active,
.page-checkout .payment-card:has(input:checked) {
  border-color: var(--color-primary);
  box-shadow: none;
  transform: translateY(0);
}

/* remove default rectangular focus on radios, move focus to card */
.page-checkout .payment-card input,
.page-checkout .shipping-option input {
  outline: none;
  box-shadow: none;
}

.page-checkout .payment-card input:focus,
.page-checkout .payment-card input:focus-visible,
.page-checkout .shipping-option input:focus,
.page-checkout .shipping-option input:focus-visible {
  outline: none;
  box-shadow: none;
}

.page-checkout .payment-card:has(input:focus-visible),
.page-checkout .shipping-option:has(input:focus-visible) {
  outline: none;
}

.page-checkout .payment-card__title {
  font-weight: 700;
}

/* Primary CTA identical to the mock */
.page-checkout .btn-primary {
  background: linear-gradient(180deg, #D89750 0%, #C47C35 100%);
  border: none;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(196, 124, 53, 0.36);
  min-height: 52px;
}

.page-checkout .btn-primary:hover,
.page-checkout .btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(196, 124, 53, 0.42);
}

.page-checkout .summary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-checkout .summary-cta::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}

/* Mercado Pago logo on submit when applicable */
.page-checkout .btn--mp {
  position: relative;
  padding-left: 3rem;
}
.page-checkout .btn--mp::before {
  content: '';
  position: absolute;
  left: 1rem;
  width: 24px;
  height: 24px;
  background: url('/img/icons/mercadopago.svg') no-repeat center/contain;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

.page-checkout .summary-terms {
  font-size: 0.85rem;
  color: #6b7280;
}

.page-checkout .btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  border-radius: 14px;
}

/* Summary rows refine spacing */
.page-checkout .checkout-summary dl div {
  padding-block: 6px;
}

.lc-glass {
  position: relative;
  border-radius: var(--radius-lg, 22px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-soft);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--glass-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.lc-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--glass-reflect);
  pointer-events: none;
  mix-blend-mode: screen;
}

@supports not (backdrop-filter: blur(1px)) {
  .lc-glass {
    background: rgba(255, 255, 255, 0.9);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --wm-opacity: 0.03;
  }
}

body.dark,
body.dark-mode,
body.theme-dark,
body[data-theme='dark'] {
  --wm-opacity: 0.03;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(11, 132, 132, 0.08);
}

.btn-block {
  width: 100%;
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-primary);
  cursor: pointer;
}

.btn-danger {
  color: #b20c33;
}

body.is-nav-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.brand,
.brand--with-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand--with-tagline {
  text-decoration: none;
  color: inherit;
}

.brand__mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

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

.brand__title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand__accent {
  color: #000;
}

.brand__subtitle {
  font-size: 0.75rem;
  color: #6b7280;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.header-nav {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  justify-self: end;
}

.header-maintenance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 190, 85, 0.18);
  border: 1px solid rgba(255, 190, 85, 0.45);
  color: #a35a0d;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(255, 190, 85, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-maintenance-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(255, 190, 85, 0.22);
}

.header-maintenance-pill__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffbe55, #ff7c81);
  box-shadow: 0 0 0 5px rgba(255, 190, 85, 0.25);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
}

.main-nav a,
.main-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a::after,
.main-nav__link::after {
  content: '';
  height: 2px;
  width: 0;
  background: var(--color-accent);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav__link:hover::after,
.main-nav a.is-active::after,
.main-nav__link.is-active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.is-active,
.main-nav__link:hover,
.main-nav__link.is-active {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-form__field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 49, 50, 0.18);
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 65, 65, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form__field:focus-within {
  border-color: rgba(11, 132, 132, 0.65);
  box-shadow: 0 10px 24px rgba(11, 132, 132, 0.18);
}

.search-form__field input {
  border: none;
  outline: none;
  background: transparent;
  width: 240px;
  font-size: 0.95rem;
}

.search-form__field input::placeholder {
  color: var(--color-muted);
}

.search-form__icon {
  width: 18px;
  height: 18px;
}

.autocomplete-results {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 132, 132, 0.12);
  display: none;
  overflow: hidden;
}

.autocomplete-results.active {
  display: block;
}

.autocomplete-results a {
  padding: 0.75rem 1rem;
  display: block;
  border-bottom: 1px solid rgba(11, 132, 132, 0.08);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.link-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 132, 132, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.link-cart:hover {
  background: rgba(11, 132, 132, 0.08);
  border-color: rgba(11, 132, 132, 0.32);
  transform: translateY(-2px);
}

.cart-icon {
  position: relative;
}

.cart-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.cart-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(11, 132, 132, 0.35) 0%,
    rgba(11, 132, 132, 0.25) 35%,
    rgba(11, 132, 132, 0) 70%
  );
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  pointer-events: none;
}

.cart-icon--suction::after {
  animation: cart-suction 0.5s ease-out forwards;
}

.cart-icon--shake {
  animation: cart-shake 0.3s ease-in-out;
}

.cart-fly-clone {
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

@keyframes cart-suction {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0.45;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.35;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.55);
    opacity: 0;
  }
}

@keyframes cart-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-2px);
  }
  40% {
    transform: translateX(2px);
  }
  60% {
    transform: translateX(-1px);
  }
  80% {
    transform: translateX(1px);
  }
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mobile-menu-toggle:focus-visible {
  outline: none;
  border-color: rgba(11, 132, 132, 0.55);
  box-shadow: 0 0 0 3px rgba(11, 132, 132, 0.2);
}

.mobile-menu-toggle__bar {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.mobile-menu-toggle[aria-expanded='true'] .mobile-menu-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded='true'] .mobile-menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded='true'] .mobile-menu-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-overlay {
  display: none;
}

body.has-nav-panel .mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 40;
  display: block;
}

body.has-nav-panel.is-nav-open .mobile-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.has-nav-panel .mobile-menu-toggle {
  display: none;
}

body.has-nav-panel .header-nav .header-maintenance-pill {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.6rem 1.1rem;
}

.hero {
  position: relative;
  max-width: min(1200px, 95%);
  margin: clamp(1.5rem, 4vw, 3.75rem) auto;
  padding: clamp(2.25rem, 4vw, 3.5rem);
  border-radius: var(--hero-radius);
  background: var(--hero-gradient);
  box-shadow: var(--hero-shadow-soft), var(--hero-shadow-sharp);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  z-index: 1;
}

.hero__content {
  display: grid;
  gap: 1.2rem;
  color: var(--color-dark);
}

.hero__title {
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  position: relative;
  line-height: 1.1;
  min-height: calc(var(--hero-title-lines, 2) * 1.1em + 0.4em);
}

.hero__title-typing {
  display: inline-flex;
  align-items: center;
  min-inline-size: min(100%, calc(var(--hero-typed-max, 32) * 1ch));
  white-space: normal;
  font-weight: inherit;
}

.hero__title-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 0.3rem;
  background: var(--color-primary);
  animation: heroCursorBlink 0.8s steps(1) infinite;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  color: rgba(18, 49, 50, 0.82);
  max-width: 42ch;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-actions .btn {
  position: relative;
  overflow: hidden;
  transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, 0), 0);
  box-shadow: var(--hero-cta-glow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.hero-actions .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
  transform: translate(var(--ripple-x, 0), var(--ripple-y, 0)) scale(0);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
}

.hero-actions .btn.has-ripple::after {
  animation: heroRipple 0.5s ease;
}

.hero-actions .btn.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #0f9d9d);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-actions .btn.btn-outline {
  border-color: rgba(11, 132, 132, 0.5);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(3px);
}

.hero-actions .btn:hover,
.hero-actions .btn:focus-visible {
  box-shadow: 0 14px 30px rgba(11, 132, 132, 0.2);
}

.hero-actions .btn:hover {
  --magnetic-y: -3px;
  border-color: rgba(11, 132, 132, 0.8);
}

.hero-actions .btn:focus-visible {
  outline: 2px solid rgba(12, 132, 132, 0.6);
  outline-offset: 3px;
}

.hero__graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__graphic-frame {
  --tilt-x: 0px;
  --tilt-y: 0px;
  --hero-graphic-scale: 0.96;
  --hero-float-y: 0px;
  width: clamp(220px, 35vw, 360px);
  aspect-ratio: 1;
  border-radius: 28px;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 60px rgba(12, 58, 58, 0.14);
  transform: translate3d(
      calc(var(--tilt-x) + 0px),
      calc(var(--tilt-y) + var(--hero-float-y)),
      0
    )
    scale(var(--hero-graphic-scale));
  transform-origin: center;
  animation: heroGraphicFloat var(--hero-float-duration) ease-in-out infinite alternate;
  will-change: transform;
}

.is-visible[data-animate='hero-graphic'] .hero__graphic-frame {
  --hero-graphic-scale: 1;
}

.hero__graphic-frame img {
  filter: drop-shadow(0 18px 28px rgba(11, 132, 132, 0.25));
}

@media (max-width: 960px) {
  .hero {
    padding: clamp(2rem, 6vw, 3rem);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .hero__content {
    align-items: center;
    justify-items: center;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__graphic-frame {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 1 1 240px;
    min-width: 0;
  }
}

[data-animate='hero-intro'],
[data-animate='hero-cta'],
[data-animate='hero-graphic'] {
  opacity: 0;
  transform: translateY(16px);
}

.is-visible[data-animate='hero-intro'] {
  animation: heroFadeSlide 0.5s ease forwards;
}

.is-visible[data-animate='hero-cta'] {
  animation: heroFadeSlide 0.65s ease forwards;
}

.is-visible[data-animate='hero-graphic'] {
  animation: heroGraphicIntro 0.4s ease forwards;
}

@keyframes heroFadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGraphicIntro {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroGraphicFloat {
  from {
    --hero-float-y: -4px;
  }
  to {
    --hero-float-y: 4px;
  }
}

@keyframes heroCursorBlink {
  from,
  to {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes heroRipple {
  0% {
    opacity: 0.25;
    transform: translate(var(--ripple-x, 0), var(--ripple-y, 0)) scale(0.05);
  }
  85% {
    opacity: 0.15;
  }
  100% {
    opacity: 0;
    transform: translate(var(--ripple-x, 0), var(--ripple-y, 0)) scale(2.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-cursor {
    animation: none;
  }

  .hero__graphic-frame {
    animation: none;
    transform: translate3d(0, 0, 0) scale(1);
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .hero-actions .btn {
    transition-duration: 0.15s;
  }
}

.promotions, .featured, .selling-points, .catalog-results, .catalog-filters {
  max-width: 1200px;
  margin: 0 auto;
}

.promo-grid,
.product-grid,
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .promo-grid,
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promo-grid,
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.promo-card,
.product-card,
.blog-card,
.cart-summary,
.cart-item,
.checkout-summary {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.5rem);
  box-shadow: 0 12px 28px rgba(10, 52, 52, 0.08);
}

.product-card {
  position: relative;
  overflow: hidden;
}

.btn-quick {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(19, 92, 92, 0.85);
  color: #fff;
  border: none;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

.product-card:hover .btn-quick {
  transform: translateY(0);
  opacity: 1;
}

.btn-add-cart {
  margin-top: 0;
}

.selling-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem auto;
}

.selling-points div {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 12px 32px rgba(11, 132, 132, 0.08);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 43, 43, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(6px);
  z-index: 30;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 640px;
  width: 100%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

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

.catalog-layout {
  max-width: min(1340px, 96vw);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem)
    clamp(0rem, 1.5vw, 0.75rem);
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(1.35rem, 2.75vw, 2.5rem);
  align-items: start;
}

.catalog-filters {
  position: sticky;
  top: 96px;
  align-self: start;
  margin-left: clamp(-1.75rem, -3vw, -1.25rem);
  z-index: 2;
}

.catalog-filters__scrim {
  display: none;
}

.filters-panel {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.filters {
  padding: 22px clamp(18px, 2.2vw, 26px);
  border-radius: var(--radius-lg);
  color: var(--txt-1);
}

.filters.lc-glass {
  overflow: hidden;
}

.filters-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.filters-panel__header .title {
  font-size: 1.125rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--txt-1);
}

.filters-panel__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.32);
  box-shadow: var(--glass-inner);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filters-panel__toggle img {
  width: 16px;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.6));
  transition: transform 0.24s ease;
}

.filters-panel[data-open='false'] .filters-panel__toggle img {
  transform: rotate(180deg);
}

.filters-panel__toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(123, 246, 208, 0.5);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.filters-panel__toggle:focus-visible {
  outline: 3px solid rgba(132, 215, 255, 0.55);
  outline-offset: 2px;
}

.filters-panel__body {
  overflow: hidden;
  transition: max-height 0.24s ease;
  max-height: 1200px;
  padding-top: 12px;
}

.filters-panel[data-open='false'] .filters-panel__body {
  max-height: 0;
  padding-top: 0;
}

.filters-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.filters .search {
  margin: 12px 0 18px;
}

.filters .search label {
  font-weight: 600;
  color: var(--txt-2);
}

.input-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-icon img {
  width: 18px;
  height: 18px;
  opacity: 0.75;
}

.input-icon input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  color: var(--txt-1);
}

.input-icon input::placeholder {
  color: rgba(15, 26, 26, 0.52);
}

.input-icon:focus-within {
  border-color: rgba(123, 246, 208, 0.6);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  background: rgba(255, 255, 255, 0.48);
}

.filters .group {
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

.filters .group > label:first-child,
.filters .group h4,
.filter-section__toggle span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--txt-muted);
}

.filter-section {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 16px;
}

.filter-section__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: none;
  border: none;
  padding: 0;
  color: var(--txt-2);
  font-weight: 600;
  cursor: pointer;
}

.filter-section__toggle img {
  width: 16px;
  transition: transform 0.22s ease;
}

.filter-section[data-open='false'] .filter-section__toggle img {
  transform: rotate(180deg);
}

.filter-section__content {
  overflow: hidden;
  transition: max-height 0.24s ease;
  max-height: 600px;
  display: grid;
  gap: 0.65rem;
  padding-top: 0.8rem;
}

.filter-section[data-open='false'] .filter-section__content {
  max-height: 0;
  padding-top: 0;
}

.filter-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--txt-2);
}

.filter-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid var(--glass-border-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.filter-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.filter-chip .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255, 255, 255, 0.4) 45%, rgba(255, 255, 255, 0) 60%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.filter-chip span:last-child {
  font-weight: 600;
}

.filter-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.filter-chip.is-active,
.filter-option.is-active .filter-chip,
.filter-chip:has(input:checked) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.22));
  border-color: rgba(123, 246, 208, 0.6);
  box-shadow: inset 0 0 0 1px rgba(123, 246, 208, 0.5), 0 10px 28px rgba(123, 246, 208, 0.18);
}

.filter-chip.is-active .dot,
.filter-chip:has(input:checked) .dot {
  border-color: rgba(123, 246, 208, 0.7);
  box-shadow: 0 0 10px rgba(123, 246, 208, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.filter-chip input:checked + .dot {
  border-color: rgba(123, 246, 208, 0.7);
  box-shadow: 0 0 10px rgba(123, 246, 208, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.filter-chip input:checked ~ span:last-child {
  color: var(--txt-1);
}

.category-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.category-tree__item {
  display: grid;
  gap: 0.4rem;
}

.category-tree__row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.category-tree__toggle,
.category-tree__spacer {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.category-tree__toggle {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-tree__toggle:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(123, 246, 208, 0.6);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.category-tree__toggle img {
  width: 14px;
  transition: transform 0.2s ease;
}

.category-tree__toggle[aria-expanded='true'] img {
  transform: rotate(180deg);
}

.category-tree__children {
  margin-left: 1.65rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  display: grid;
  gap: 0.45rem;
}

.category-tree__children[data-open='false'] {
  display: none;
}

.price-input {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.price-field {
  position: relative;
  flex: 1;
}

.price-field::before {
  content: '$';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15, 26, 26, 0.45);
  font-weight: 600;
}

.price-input input {
  width: 100%;
  padding: 10px 12px 10px 32px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid var(--glass-border);
  color: var(--txt-1);
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.price-input input:focus {
  border-color: rgba(132, 215, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 12px 24px rgba(132, 215, 255, 0.24);
  background: rgba(255, 255, 255, 0.42);
  outline: none;
}

.filters-actions {
  margin-top: 18px;
}

.btn-clear {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.24));
  border: 1px solid var(--glass-border);
  color: var(--txt-2);
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn-clear:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.28));
  border-color: rgba(123, 246, 208, 0.5);
}

.btn-clear:focus-visible {
  outline: 3px solid rgba(132, 215, 255, 0.55);
  outline-offset: 3px;
}

.category-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.category-tree__item {
  display: grid;
  gap: 0.4rem;
}

.category-tree__row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.category-tree__toggle,
.category-tree__spacer {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.category-tree__toggle {
  border: 1px solid rgba(18, 49, 50, 0.16);
  background: rgba(244, 249, 249, 0.85);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.category-tree__toggle:hover {
  background: rgba(11, 132, 132, 0.12);
  border-color: rgba(11, 132, 132, 0.35);
}

.category-tree__toggle img {
  width: 14px;
  transition: transform 0.2s ease;
}

.category-tree__toggle[aria-expanded='true'] img {
  transform: rotate(180deg);
}

.category-tree__spacer {
  background: transparent;
}

.category-tree__children {
  margin-left: 1.65rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(18, 49, 50, 0.08);
  display: grid;
  gap: 0.45rem;
}

.category-tree__children[data-open='false'] {
  display: none;
}

.price-range {
  display: flex;
  gap: 0.75rem;
}

.price-field {
  position: relative;
  flex: 1;
}

.price-field::before {
  content: '$';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  font-weight: 600;
}

.catalog-results {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.catalog-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.catalog-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}


.catalog-heading h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--txt-2);
}

.catalog-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: #6b7280;
  font-weight: 500;
}

.catalog-count {
  margin: 0;
  color: rgba(15, 26, 26, 0.55);
  font-weight: 500;
}

.catalog-actions {
  display: none;
  align-items: center;
}


.filters-mobile-trigger {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.38);
  font-weight: 600;
  color: var(--txt-1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.filters-mobile-trigger:focus-visible {
  outline: 3px solid rgba(132, 215, 255, 0.5);
  outline-offset: 2px;
}

.filters-mobile-trigger:hover {
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.filters-panel__close {
  display: none;
  margin-left: auto;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.34);
  color: var(--txt-1);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filters-panel__close:hover {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(123, 246, 208, 0.5);
  transform: translateY(-1px);
}

body.filters-mobile-open {
  overflow: hidden;
}

.product-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: stretch;
}

.catalog-results .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  justify-content: center;
}


.product-card {
  position: relative;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
  color: var(--txt-1);
  border-radius: var(--radius-lg);
}

.product-card.lc-glass {
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 55%);
  opacity: 0.6;
  pointer-events: none;
}

.product-card__link,
.product-card > a {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: inherit;
  flex: 1 1 auto;
  min-height: 0;
}

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(220px, 26vw, 240px);
  padding: clamp(8px, 2vw, 16px);
  margin-bottom: 6px;
  overflow: hidden;
}

.product-card__media::before {
  content: '';
  position: absolute;
  inset: 12% 18% 18%;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  opacity: 0.45;
}

.product-card__media img {
  width: min(100%, 320px);
  max-height: 85%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.18));
  transition: transform 0.18s ease;
}

.product-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: clamp(5.4rem, 6vw, 6.5rem);
}

.product-card__body h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 700;
  color: var(--txt-1);
}

.product-card__price {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #0f1a1a, #2a3a3a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-card__shipping {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mint2);
  letter-spacing: 0.02em;
}

.product-card__cash-discount {
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.01em;
  border: 1px solid rgba(5, 150, 105, 0.15);
}

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #d7263d;
  color: #fff;
  box-shadow: 0 12px 22px rgba(215, 38, 61, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.product-card__badge--liquidacion {
  background: #b30f2b;
  box-shadow: 0 12px 22px rgba(179, 15, 43, 0.35);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #d7263d;
  color: #fff;
  margin-bottom: 0.85rem;
  box-shadow: 0 12px 22px rgba(215, 38, 61, 0.22);
}

.product-badge--liquidacion {
  background: #b30f2b;
  box-shadow: 0 12px 22px rgba(179, 15, 43, 0.28);
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
}

.badge-icon svg {
  width: 1rem;
  height: 1rem;
}

.product-card__shipping,
.product-free-shipping {
  margin: 0.25rem 0 0;
  color: #1fa67a;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-card__shipping {
  margin-top: auto;
  padding-top: 0.25rem;
}

.product-card__shipping::before,
.product-free-shipping::before {
  content: 'âœ“';
  font-size: 0.85rem;
}

.product-badge--liquidacion {
  background: rgba(196, 124, 53, 0.12);
  color: var(--color-accent);
}

.product-card__body h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--color-dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-accent);
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-cart,
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  border: none;
  background: #ff6b35;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  min-height: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.35);
}

.btn-cart {
  margin-top: auto;
}

.btn-cart::before {
  content: none;
}

.btn-cart:hover:not(:disabled),
.btn-add-cart:hover:not(:disabled) {
  background: #e85a24;
  box-shadow: 0 18px 36px rgba(232, 90, 36, 0.35);
  transform: translateY(-2px) scale(1.03);
}

.btn-cart:focus-visible,
.btn-add-cart:focus-visible {
  outline: 3px solid rgba(255, 140, 66, 0.5);
  outline-offset: 3px;
}

.btn-cart:disabled,
.btn-add-cart:disabled {
  background: rgba(255, 107, 53, 0.45);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.product-card:hover .product-card__media img {
  transform: translateY(-2px) scale(1.02);
}

.btn-cart:disabled {
  background: rgba(255, 107, 53, 0.45);
  cursor: not-allowed;
  box-shadow: none;
}


.catalog-empty {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(11, 132, 132, 0.08);
  padding: 2.5rem;
  text-align: center;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.pagination-link {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 132, 132, 0.2);
  font-weight: 600;
  color: var(--color-text);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pagination-link:hover {
  border-color: rgba(11, 132, 132, 0.5);
  background: rgba(11, 132, 132, 0.08);
}

.pagination-link.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}

.pagination-link--prev,
.pagination-link--next {
  font-size: 0.95rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

[data-animate='fade-up'] {
  opacity: 0;
  transform: translateY(12px);
}

[data-stagger] > [data-animate='fade-up'] {
  --stagger-delay: calc(var(--stagger-index, 0) * var(--hero-stagger-interval));
}

.is-visible[data-animate='fade-up'],
.product-card[data-animate='fade-up'] {
  opacity: 1;
  transform: translateY(0);
  animation: fade-up 0.4s ease both;
  animation-delay: var(--stagger-delay, 0s);
}

.product-page {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.product-detail {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  align-items: start;
}

.product-visual {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.4rem);
}

.product-gallery {
  --thumb-size: clamp(68px, 7vw, 108px);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: minmax(3.5rem, var(--thumb-size)) minmax(0, 1fr);
  grid-template-areas: 'thumbs stage';
  align-items: stretch;
}

.product-gallery::before,
.product-gallery::after {
  content: none !important;
  display: none !important;
}

.product-gallery.has-single-item {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'stage';
}

.product-gallery__stage {
  position: relative;
  grid-area: stage;
  border-radius: 20px;
  background: #fff;
  min-height: clamp(320px, 45vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.08);
  cursor: zoom-in;
  touch-action: pan-y;
}

.product-gallery__stage:focus-visible {
  outline: 3px solid rgba(11, 132, 132, 0.35);
  outline-offset: 4px;
}

.product-gallery.has-single-item .product-gallery__stage {
  margin: 0 auto;
}

.product-gallery__image {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  transition: opacity 220ms ease, transform 320ms ease;
}

.product-gallery__stage.is-loading .product-gallery__image {
  opacity: 0;
}

.product-gallery__stage.is-zoomed {
  cursor: zoom-out;
}

.product-gallery__skeleton {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #f6f7f8 0%, #eceff1 35%, #f6f7f8 65%);
  overflow: hidden;
}

.product-gallery__skeleton[hidden] {
  display: none !important;
}

.product-gallery__shimmer {
  width: 140%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(11, 132, 132, 0.08), transparent);
  animation: gallery-shimmer 1.4s ease-in-out infinite;
}

.product-gallery__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1rem;
  background: #fff;
  color: #475569;
  font-weight: 600;
}

.product-gallery__placeholder[hidden] {
  display: none !important;
}


.product-gallery__control {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.16);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease,
    color 180ms ease;
}

.product-gallery__control .fa {
  font-size: 1rem;
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: #fff;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  z-index: 2;
}

.product-gallery__nav--prev {
  left: 0.75rem;
}

.product-gallery__nav--next {
  right: 0.75rem;
}

.product-gallery__nav:focus-visible {
  outline: 3px solid rgba(11, 132, 132, 0.35);
  outline-offset: 3px;
  opacity: 1;
  pointer-events: auto;
}

.product-gallery__nav:hover:not(:disabled),
.product-gallery__nav:focus-visible {
  transform: translate3d(0, calc(-50% - 2px), 0);
  box-shadow: 0 24px 52px rgba(15, 118, 110, 0.22);
}

@media (hover: hover) {
  .product-gallery__stage:hover .product-gallery__nav {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (hover: none) {
  .product-gallery__nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.product-gallery__control:hover,
.product-gallery__control:focus-visible {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(15, 118, 110, 0.2);
}

.product-gallery__control:focus-visible {
  outline: 3px solid rgba(11, 132, 132, 0.35);
  outline-offset: 3px;
}

.product-gallery__thumbnails {
  grid-area: thumbs;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  max-height: clamp(320px, 45vw, 560px);
  padding-right: 0.25rem;
  scrollbar-width: thin;
}

.product-gallery.has-single-item .product-gallery__thumbnails {
  display: none !important;
}

.product-gallery__thumbnails[hidden] {
  display: none !important;
}

.product-gallery__thumbnails::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.product-gallery__thumbnails::-webkit-scrollbar-thumb {
  background: rgba(15, 118, 110, 0.25);
  border-radius: 999px;
}

.product-gallery__thumb {
  position: relative;
  width: 100%;
  max-width: var(--thumb-size);
  border-radius: 18px;
  padding: 0.35rem;
  background: #fff;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-gallery__thumb:focus-visible {
  outline: 3px solid rgba(11, 132, 132, 0.35);
  outline-offset: 2px;
}

.product-gallery__thumb::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: transparent;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.product-gallery__thumb picture {
  display: block;
}

.product-gallery__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 200ms ease;
}

.product-gallery__thumb:hover img,
.product-gallery__thumb:focus-visible img {
  transform: scale(1.02);
}

.product-gallery__thumb:hover::after,
.product-gallery__thumb:focus-visible::after {
  border-color: rgba(11, 132, 132, 0.35);
}

.product-gallery__thumb.is-active::after,
.product-gallery__thumb[aria-current='true']::after {
  border-color: rgba(11, 132, 132, 0.85);
  background-color: rgba(11, 132, 132, 0.12);
}

.product-gallery__thumb[hidden] {
  display: none !important;
}


.product-gallery__thumb-label {
  position: absolute;
  inset: auto 0 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.15rem 0.35rem;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  font-size: 0.7rem;
  border-radius: 0 0 12px 12px;
}

.product-gallery__thumb[data-has-video] .product-gallery__thumb-label {
  display: inline-flex;
}

.product-gallery__thumb[data-has-video] .product-gallery__thumb-label .icon {
  font-size: 0.75rem;
}

.product-gallery__thumb[data-has-video]::after {
  border-color: rgba(196, 124, 53, 0.6);
}

.product-gallery__thumb[aria-current='true'] {
  box-shadow: 0 10px 24px rgba(11, 132, 132, 0.14);
}

@media (max-width: 900px) {
  .product-gallery {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'stage'
      'thumbs';
  }

  .product-gallery__thumbnails {
    flex-direction: row;
    gap: 0.75rem;
    max-height: none;
    padding: 0.35rem 0 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
  }

  .product-gallery__thumb {
    min-width: clamp(72px, 24vw, 110px);
    scroll-snap-align: center;
  }

  .product-gallery__thumbnails::-webkit-scrollbar {
    width: 0;
    height: 6px;
  }
}

@media (max-width: 600px) {
  .product-gallery {
    padding: clamp(1rem, 4vw, 1.5rem);
    border-radius: 22px;
  }

  .product-gallery__stage {
    border-radius: 16px;
    min-height: clamp(260px, 65vw, 420px);
  }

  .product-gallery__control,
  .product-gallery__nav {
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.18);
  }
}

.product-description-block,
.product-quantity {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 18px 40px rgba(11, 132, 132, 0.08);
  display: grid;
  gap: 0.9rem;
}

.product-description-block h2,
.product-quantity__header h2,
.product-pricing h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--color-dark);
}

.product-description {
  font-family: 'Poppins', 'Inter', 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  white-space: pre-line;
}

.product-description p {
  margin: 0 0 1rem;
}

.product-description p:last-child {
  margin-bottom: 0;
}

.product-description strong {
  color: var(--color-primary);
}

.product-quantity__header {
  display: grid;
  gap: 0.35rem;
}

.product-quantity__header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.product-quantity.is-disabled {
  opacity: 0.6;
}

.quantity-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.6rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  background: #f8ffff;
  box-shadow: 0 16px 32px rgba(11, 132, 132, 0.08);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.quantity-selector:focus-within {
  box-shadow: 0 18px 40px rgba(11, 132, 132, 0.12);
  border-color: rgba(11, 132, 132, 0.3);
}

.product-quantity:not(.is-disabled) .quantity-selector:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(11, 132, 132, 0.14);
}

.quantity-selector input {
  width: 72px;
  text-align: center;
  padding: 0.45rem 0.4rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-selector input[type='number'] {
  -moz-appearance: textfield;
}

.quantity-selector input:focus {
  outline: none;
}

.quantity-selector input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quantity-button {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: #fff;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease,
    border-color 180ms ease;
}

.quantity-button:hover:not(:disabled) {
  background: #f0fffd;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(15, 118, 110, 0.2);
}

.quantity-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f1f5f9;
  box-shadow: none;
  transform: none;
}

.quantity-button:focus-visible {
  outline: 3px solid rgba(11, 132, 132, 0.35);
  outline-offset: 3px;
}

.quantity-button .fa {
  pointer-events: none;
}

.quantity-total {
  margin: 0;
  font-weight: 600;
  color: var(--color-dark);
}

.product-pricing {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.product-total {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.product-total span {
  font-weight: 600;
  color: var(--color-dark);
}

.product-stock {
  margin: 0;
  font-weight: 600;
  color: var(--color-primary);
}

.product-stock:not(:empty) {
  margin-top: 0.5rem;
}

.lightbox-arrow {
  font-size: 1.4rem;
  line-height: 1;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-family: inherit;
  line-height: 1;
  font-size: 1.05rem;
}

.icon::before {
  display: block;
}

.icon-search::before {
  content: '\1F50D';
}

.icon-close::before {
  content: '\2715';
}

.icon-play::before {
  content: '\25B6';
}

.icon-image-broken::before {
  content: '\1F5BC';
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.product-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product-lightbox[hidden] {
  display: none !important;
}

.product-lightbox__backdrop {
  position: absolute;
  inset: 0;
}

.product-lightbox__content {
  position: relative;
  width: min(960px, 100%);
  height: min(90vh, 720px);
  display: grid;
  align-items: center;
  justify-items: center;
}

.product-lightbox__stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y pinch-zoom;
}

.product-lightbox__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease;
  cursor: zoom-in;
}

.product-lightbox__stage img.is-zoomed {
  transform: scale(1.35);
  cursor: zoom-out;
}

.product-lightbox__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.product-lightbox__video[hidden] {
  display: none !important;
}

.product-lightbox__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1rem;
  background: #fff;
  color: #475569;
  font-weight: 600;
}

.product-lightbox__placeholder[hidden] {
  display: none !important;
}

.product-lightbox__control {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.35);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
  cursor: pointer;
  --lightbox-control-translate-x: 0;
  --lightbox-control-translate-y: 0;
  transform: translate3d(var(--lightbox-control-translate-x), var(--lightbox-control-translate-y), 0);
}

.product-lightbox__control:hover,
.product-lightbox__control:focus-visible {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translate3d(
    var(--lightbox-control-translate-x),
    calc(var(--lightbox-control-translate-y) - 2px),
    0
  );
  box-shadow: 0 28px 54px rgba(15, 23, 42, 0.4);
}

.product-lightbox__control:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.product-lightbox__control .fa {
  font-size: 1.05rem;
}

.product-lightbox__control--close {
  top: 1.25rem;
  right: 1.25rem;
}

.product-lightbox__control--prev,
.product-lightbox__control--next {
  top: 50%;
  --lightbox-control-translate-y: -50%;
}

.product-lightbox__control--prev {
  left: 1rem;
}

.product-lightbox__control--next {
  right: 1rem;
}

.product-lightbox__control--zoom {
  right: 1.25rem;
  bottom: 1.25rem;
  top: auto;
  background: rgba(15, 23, 42, 0.55);
}

.product-lightbox__control--zoom:hover,
.product-lightbox__control--zoom:focus-visible {
  background: rgba(15, 23, 42, 0.75);
}

@keyframes gallery-shimmer {
  0% {
    transform: translateX(-20%);
  }
  50% {
    transform: translateX(20%);
  }
  100% {
    transform: translateX(60%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery__image,
  .product-gallery__thumb img,
  .product-lightbox__stage img {
    transition: none;
  }

  .product-gallery__shimmer {
    animation: none;
  }
}

@media (max-width: 768px) {
  .product-lightbox__content {
    height: min(88vh, 640px);
  }

  .product-lightbox__control {
    width: 40px;
    height: 40px;
  }

  .product-lightbox__control--close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .product-lightbox__control--prev {
    left: 0.5rem;
  }

  .product-lightbox__control--next {
    right: 0.5rem;
  }

  .product-lightbox__control--zoom {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (max-width: 600px) {
  .product-lightbox__control--zoom {
    left: 50%;
    right: auto;
    bottom: 0.5rem;
    --lightbox-control-translate-x: -50%;
  }
}

.product-summary {
  display: grid;
  gap: 1.6rem;
  align-content: start;
}

.product-summary__header h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin-bottom: 0.25rem;
}

.product-price {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--color-accent);
  font-weight: 700;
  margin: 0;
}

.product-variants label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.variant-pill {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.variant-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.variant-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 132, 132, 0.32);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  box-shadow: 0 4px 14px rgba(11, 132, 132, 0.1);
}

.variant-pill:hover span {
  border-color: rgba(11, 132, 132, 0.6);
  box-shadow: 0 6px 18px rgba(11, 132, 132, 0.16);
}

.variant-pill input:checked + span {
  background: linear-gradient(135deg, #0b8484, #0f5257);
  border-color: rgba(11, 132, 132, 0.75);
  box-shadow: 0 8px 20px rgba(11, 132, 132, 0.22);
  color: #fff;
  font-weight: 600;
}

.variant-pill[data-out-of-stock] span {
  opacity: 0.55;
  cursor: not-allowed;
  border-style: dashed;
  box-shadow: none;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.product-actions .btn-cart {
  min-width: 220px;
}

.product-payment {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 15px 30px rgba(11, 132, 132, 0.08);
}

.product-payment h2 {
  margin-top: 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.payment-icons {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.payment-icons li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.product-support {
  font-weight: 500;
  color: var(--color-muted);
  background: rgba(11, 132, 132, 0.08);
  border-radius: 16px;
  padding: 1rem 1.25rem;
}

.product-support--muted {
  background: rgba(15, 23, 42, 0.04);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: #475569;
}

.product-support--muted a {
  color: #0f766e;
  font-weight: 600;
}

@media (min-width: 881px) {
  .filters-panel__toggle {
    display: none;
  }
}

@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  }

  .catalog-results .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card__media {
    height: clamp(200px, 60vw, 280px);
  }

  .product-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-gallery {
    order: -1;
  }
}

@media (max-width: 880px) {
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
  }

  .catalog-actions {
    display: flex;
  }

  .filters-mobile-trigger {
    display: inline-flex;
  }

  .catalog-filters {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0 1.4rem 1.6rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 40;
  }

  .catalog-filters__scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(12, 35, 35, 0.48);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }

  .catalog-filters[data-open='true'] {
    opacity: 1;
    pointer-events: auto;
  }

  .catalog-filters[data-open='true'] .catalog-filters__scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .filters-panel {
    width: min(520px, 100%);
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
    padding: 1.5rem 1.25rem 2rem;
    box-shadow: 0 24px 52px rgba(12, 35, 35, 0.28);
    transform: translateY(36px);
    transition: transform 0.28s ease;
    position: relative;
    z-index: 41;
  }

  .catalog-filters[data-open='true'] .filters-panel {
    transform: translateY(0);
  }

  .filters-panel__close {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .catalog-layout {
    padding: 2rem 1.25rem 3rem;
  }

  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .catalog-actions {
    width: 100%;
    justify-content: center;
  }

  .filters-mobile-trigger {
    width: 100%;
    justify-content: center;
  }

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

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

  .product-card__link {
    align-items: center;
  }

  .product-card__media {
    height: auto;
    aspect-ratio: 4 / 5;
    width: min(100%, 320px);
    margin: 0 auto 12px;
    padding: clamp(14px, 6vw, 22px);
  }

  .product-card__media::before {
    inset: 14% 20% 18%;
  }

  .product-card__media img {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .product-card__body {
    align-items: center;
    text-align: center;
    min-height: unset;
    gap: 0.6rem;
  }

  .product-card__body h3 {
    text-align: center;
  }

  .product-card__price {
    font-size: 1.05rem;
  }

  .product-card__shipping {
    font-size: 0.9rem;
  }

  .product-detail {
    gap: clamp(1.75rem, 6vw, 2.5rem);
  }

  .product-gallery {
    padding: clamp(1.25rem, 5vw, 2rem);
  }

  .product-gallery__stage {
    min-height: clamp(260px, 80vw, 420px);
  }

  .product-gallery__control {
    top: 0.75rem;
    right: 0.75rem;
  }

  .product-gallery__thumbnails {
    grid-auto-columns: minmax(64px, 28vw);
    gap: 0.6rem;
  }
}

.cart-page,
.checkout-flow {
  max-width: 1240px;
  margin: clamp(2rem, 5vw, 3.5rem) auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.checkout-title {
  margin: 0 0 clamp(1.1rem, 3vw, 1.9rem);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--color-dark);
}

/* Eliminado: definiciones antiguas de .cart-grid y .cart-item movidas a líneas 6512+ */

/* Eliminados: estilos antiguos de .cart-item, .cart-controls, .quantity-stepper ya no usados */

.cart-summary dl,
.checkout-summary dl {
  margin: 1.5rem 0;
}

.cart-summary dl div,
.checkout-summary dl div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.checkout-summary .summary-discount.is-hidden {
  display: none;
}

.discount-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.discount-field__control {
  display: flex;
  gap: 0.5rem;
}

.discount-field__control input {
  flex: 1;
}

.discount-field__message {
  min-height: 1.2rem;
  color: var(--color-primary);
}

.discount-field__message.error {
  color: #c0392b;
}

.cart-total,
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.checkout-panels {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
}

.checkout-card {
  background: #fff;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  border-radius: 22px;
  box-shadow: 0 22px 46px rgba(18, 49, 50, 0.1);
  display: grid;
  gap: 1.4rem;
  border: 1px solid rgba(18, 49, 50, 0.08);
}

.checkout-card__header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.checkout-card__index {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(11, 132, 132, 0.1);
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.checkout-card__header h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--color-dark);
}

.checkout-card__header p {
  margin: 0.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.checkout-card__body {
  display: grid;
  gap: 1.25rem;
}

.checkout-card__extras {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.input-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.input-grid input,
.input-grid select,
.input-grid textarea,
form label input,
form label textarea {
  width: 100%;
  padding: 0.75rem;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(18, 49, 50, 0.16);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-grid input:focus,
.input-grid select:focus,
.input-grid textarea:focus,
form label input:not([type='radio']):not([type='checkbox']):focus,
form label textarea:focus {
  border-color: rgba(11, 132, 132, 0.6);
  box-shadow: 0 0 0 4px rgba(11, 132, 132, 0.12);
}

.checkbox {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.shipping-options {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.shipping-address {
  transition: opacity 0.2s ease;
}

.shipping-address.is-collapsed {
  display: none;
}

.shipping-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(18, 49, 50, 0.16);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shipping-option:hover {
  border-color: rgba(11, 132, 132, 0.45);
  box-shadow: 0 10px 24px rgba(11, 132, 132, 0.12);
}

.shipping-option input {
  accent-color: var(--color-primary);
}

.shipping-option span strong {
  display: block;
}

.shipping-note {
  margin-top: 1.2rem;
  background: rgba(11, 132, 132, 0.06);
  border: 1px solid rgba(11, 132, 132, 0.2);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  transition: opacity 0.25s ease;
}

.shipping-note__label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 600;
  color: #0b5565;
}

.shipping-note__label textarea {
  resize: vertical;
  min-height: 90px;
  border-radius: 12px;
  border: 1px solid rgba(11, 132, 132, 0.2);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: #0f172a;
}

.shipping-note__label textarea:focus {
  outline: none;
  border-color: #0b8484;
  box-shadow: 0 0 0 3px rgba(11, 132, 132, 0.16);
}

.shipping-note__hint {
  margin: 0.6rem 0 0;
  color: #0b5565;
  font-size: 0.85rem;
}

.pickup-info {
  margin-top: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(11, 132, 132, 0.08);
  border: 1px solid rgba(11, 132, 132, 0.18);
  color: #0b5565;
  font-weight: 600;
  font-size: 0.95rem;
}

.pickup-info__instructions {
  margin: 0.35rem 0 0;
  color: rgba(11, 85, 101, 0.85);
  font-size: 0.9rem;
  white-space: pre-line;
}

.pickup-info__instructions:empty {
  display: none;
}

.checkout-summary {
  background: #fff;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(18, 49, 50, 0.1);
  display: grid;
  gap: 1.25rem;
}

.summary-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.summary-items li {
  display: flex;
  justify-content: space-between;
  color: var(--color-muted);
}

.installments {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.payment-methods {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.payment-card {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border: 2px solid rgba(18, 49, 50, 0.12);
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.payment-card input {
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
  accent-color: var(--color-primary);
}

.payment-card label {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  cursor: pointer;
}

.payment-card__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--color-dark);
}

.payment-card__icon {
  font-size: 1.35rem;
  line-height: 1;
}

.payment-card__desc {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.payment-amount {
  margin-bottom: 1.2rem;
}

.payment-amount label {
  display: block;
  font-weight: 500;
  color: var(--color-dark);
}

.payment-amount input {
  margin-top: 0.35rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(18, 49, 50, 0.2);
  border-radius: 12px;
  font-size: 1rem;
}

.payment-amount small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.payment-card.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 16px 32px rgba(11, 132, 132, 0.18);
  transform: translateY(-2px);
}

@media (min-width: 961px) {
  .checkout-summary {
    position: sticky;
    top: clamp(1rem, 4vw, 2rem);
  }
}

.payment-transfer {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(11, 132, 132, 0.05);
  border: 1px dashed rgba(11, 132, 132, 0.4);
  margin: 1rem 0 1.25rem;
}

.payment-transfer h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-dark);
}

.payment-transfer dl {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.payment-transfer dl div {
  display: flex;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--color-dark);
}

.payment-transfer dl dt {
  font-weight: 600;
}

.payment-transfer dl dd {
  margin: 0;
}

.payment-transfer__instructions {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.4;
}

.payment-transfer__amount {
  margin: 0;
  font-weight: 600;
  color: var(--color-primary);
}


.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  box-shadow: var(--shadow);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg, var(--shadow));
}

.btn-whatsapp.is-disabled {
  opacity: 0.65;
  pointer-events: none;
  transform: none;
}

.payment-hint {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.payment-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.payment-message {
  min-height: 1.5rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.payment-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 49, 50, 0.32);
  padding: 1.5rem;
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.payment-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.payment-modal__dialog {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 46px rgba(18, 49, 50, 0.18);
  width: min(520px, 100%);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.25rem;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.2s ease;
}

.payment-modal.is-open .payment-modal__dialog {
  transform: translateY(0);
}

.payment-modal__header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.payment-modal__header img {
  width: 36px;
  height: 36px;
}

.payment-modal__header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.payment-modal__header p {
  margin: 0.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.payment-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: rgba(18, 49, 50, 0.08);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--color-dark);
  cursor: pointer;
}

.payment-modal__close:hover {
  background: rgba(18, 49, 50, 0.16);
}

.payment-processing {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18, 49, 50, 0.38);
  z-index: 150;
}

.payment-processing.is-active {
  display: flex;
}

.payment-processing__content {
  position: relative;
  background: #fff;
  padding: 2rem 2.25rem 2.25rem;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(18, 49, 50, 0.2);
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  min-width: min(320px, 90vw);
}

.payment-processing__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: rgba(11, 132, 132, 0.12);
  color: var(--color-dark);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.payment-processing__close:hover,
.payment-processing__close:focus-visible {
  background: rgba(11, 132, 132, 0.24);
  transform: scale(1.05);
}

.payment-processing__close:focus {
  outline: none;
}

.payment-processing__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 132, 132, 0.12);
  color: var(--color-primary);
}

.payment-processing__text {
  display: grid;
  gap: 0.35rem;
}

.processing-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-dark);
}

.processing-subtitle {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.payment-processing__details {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  width: 100%;
}

.payment-processing__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.75rem;
  text-decoration: none;
  font-weight: 600;
}

.payment-processing__whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}

.payment-processing__whatsapp-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.payment-processing__details div {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--color-dark);
}

.payment-processing__details dt {
  font-weight: 600;
}

.payment-processing__details dd {
  margin: 0;
}

.processing-check {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #16a34a;
}

.processing-check svg {
  width: 36px;
  height: 36px;
}

[data-processing-check][hidden],
[data-processing-spinner][hidden] {
  display: none !important;
}

.payment-processing.is-success .payment-processing__content {
  background: #ecfdf5;
  box-shadow: 0 22px 45px rgba(22, 163, 74, 0.22);
}

.payment-processing.is-success .payment-processing__icon {
  background: rgba(22, 163, 74, 0.18);
  color: #16a34a;
}

.payment-processing.is-success .processing-title {
  color: #0f5132;
}

.payment-processing.is-success .processing-subtitle {
  color: #14532d;
}

.spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(11, 132, 132, 0.25);
  border-top-color: var(--color-primary);
  animation: spin 0.8s linear infinite;
}

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

.payment-icons__graphic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(11, 132, 132, 0.08);
  margin-right: 0.5rem;
}

.payment-icons__graphic img {
  width: 20px;
  height: 20px;
}

.site-footer {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: #ffffff;
  color: #111827;
}

.footer-primary {
  padding: 24px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.footer-brand {
  display: grid;
  gap: 16px;
  max-width: 360px;
}

.footer-brand p {
  margin: 0;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-social {
  display: grid;
  gap: 12px;
}

.footer-social__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.footer-social__icon svg {
  width: 100%;
  height: 100%;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  color: #0b8484;
  text-decoration: underline;
  text-decoration-color: #0b8484;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-links {
  display: grid;
  gap: 24px;
}

.footer-links__block h6 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b8484;
}

.footer-links__block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links__block a {
  color: #111827;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links__block a:hover,
.footer-links__block a:focus-visible {
  color: #0b8484;
  text-decoration: underline;
  text-decoration-color: #0b8484;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer a:focus-visible {
  outline: 2px solid #0b8484;
  outline-offset: 4px;
}

.footer-secondary {
  border-top: 1px solid #eaeaea;
  padding: 20px 0;
}

.footer-secondary__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  color: #4b5563;
  font-size: 0.9rem;
}

.footer-secondary__inner a {
  color: #111827;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-secondary__inner a:hover,
.footer-secondary__inner a:focus-visible {
  color: #0b8484;
  text-decoration: underline;
  text-decoration-color: #0b8484;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (min-width: 640px) {
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .footer-container {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-links {
    grid-column: 2 / span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-secondary__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.alert {
  padding: 1rem;
  border-radius: 12px;
  margin: 0.75rem 0;
}

.alert-info {
  background: rgba(11, 132, 132, 0.15);
  color: var(--color-dark);
}

.alert-error {
  background: rgba(196, 45, 75, 0.12);
  color: #8f1b2e;
}

.page-account .account-layout,
.account-layout {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.account-menu {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(11, 132, 132, 0.08);
}

.account-menu nav {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.account-menu a {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.account-menu a.active,
.account-menu a:hover {
  background: rgba(11, 132, 132, 0.12);
  color: var(--color-primary);
}

.account-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(11, 132, 132, 0.08);
}

.account-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.account-cards article {
  border: 1px solid rgba(11, 132, 132, 0.12);
  border-radius: 12px;
  padding: 1rem;
}

.orders-list article {
  border: 1px solid rgba(11, 132, 132, 0.12);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.orders-list header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(11, 132, 132, 0.15);
  color: var(--color-primary);
}

.status-paid {
  background: rgba(61, 186, 118, 0.2);
  color: #1c8443;
}

.status-pending {
  background: rgba(196, 124, 53, 0.15);
  color: var(--color-accent);
}

.faq-accordion details {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 12px 30px rgba(11, 132, 132, 0.08);
}

.faq-accordion summary {
  font-weight: 600;
  cursor: pointer;
}

.blog-grid {
  margin-top: 2rem;
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.blog-content {
  margin-top: 1rem;
}

.link {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-page {
  max-width: 1080px;
  margin: 2rem auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 0 1.5rem;
}

.contact-info, .contact-form-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(11, 132, 132, 0.08);
}

.contact-info ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.auth-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
}

.auth-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(11, 132, 132, 0.12);
  width: min(420px, 100%);
}

.auth-card form label {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-links {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 1rem;
}

.error-page h1 {
  font-size: clamp(4rem, 10vw, 6rem);
  color: var(--color-primary);
}

.page-order-confirmation .confirmation-card {
  max-width: 500px;
  margin: 3rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 20px 40px rgba(11, 132, 132, 0.08);
}

.transfer-reminder {
  max-width: 620px;
  margin: 1rem auto 3rem;
  background: #fff;
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(215, 38, 61, 0.12);
  border: 1px solid rgba(215, 38, 61, 0.18);
  position: relative;
  transition: opacity 0.28s ease, transform 0.28s ease;
  transform: translateY(0);
}

.transfer-reminder[data-dismissed='true'] {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  visibility: hidden;
}

.transfer-reminder__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
}

.transfer-reminder h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #b30f2b;
}

.transfer-reminder__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(215, 38, 61, 0.25);
  background: transparent;
  color: #b30f2b;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.transfer-reminder__close:hover {
  background: rgba(215, 38, 61, 0.1);
  color: #8b0c22;
  transform: translateY(-1px);
}

.transfer-reminder__close:focus-visible {
  outline: 3px solid rgba(215, 38, 61, 0.35);
  outline-offset: 2px;
}

.transfer-reminder p {
  margin: 0.35rem 0;
  color: var(--color-text-secondary);
}

.transfer-reminder__list {
  margin: 1rem 0;
  display: grid;
  gap: 0.6rem;
}

.transfer-reminder__list div {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.transfer-reminder__list dt {
  font-weight: 700;
  color: var(--color-text);
}

.transfer-reminder__list dd {
  margin: 0;
  color: var(--color-text-secondary);
}

.transfer-reminder__instructions {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(215, 38, 61, 0.08);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(215, 38, 61, 0.25);
  color: #8b0c22;
}

.transfer-reminder__actions {
  margin-top: 1.5rem;
}

.transfer-reminder__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  padding-inline: 1.25rem;
}

.transfer-reminder__action-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.page-blog-post .blog-post {
  max-width: 860px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(11, 132, 132, 0.08);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.blog-tags .tag {
  background: rgba(11, 132, 132, 0.15);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

@media (max-width: 960px) {
  .header-inner {
    gap: 0.75rem;
  }

  .header-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header-links {
    gap: 0.75rem;
  }

  body.has-nav-panel .mobile-menu-toggle {
    display: flex;
  }

  body.has-nav-panel .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    padding: 5.5rem 1.5rem 2.5rem;
    background: #ffffff;
    box-shadow: -24px 0 48px rgba(15, 23, 42, 0.18);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 60;
  }

  body.has-nav-panel.is-nav-open .header-nav {
    transform: translateX(0);
  }

  body.has-nav-panel .header-nav .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
  }

  body.has-nav-panel .header-nav .main-nav a {
    font-size: 1.05rem;
  }

  body.has-nav-panel .header-nav .header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 1.5rem;
  }

  body.has-nav-panel .header-actions form {
    width: 100%;
  }

  body.has-nav-panel .header-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  body.has-nav-panel .header-links a {
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  body.has-nav-panel .link-cart {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
  }

  .catalog-filters {
    position: static;
    margin-left: 0;
  }

  .catalog-layout,
  .checkout-layout,
  .account-layout {
    grid-template-columns: 1fr;
  }

  /* Eliminado: .cart-grid, .cart-item, .cart-controls ya no usados */
}

@media (max-width: 640px) {
  .hero {
    padding: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .promo-card,
  .product-card,
  .cart-summary,
  .cart-item,
  .checkout-summary {
    padding: 1.25rem;
  }

  .admin-role-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    margin: 1rem auto 1.5rem;
    gap: 1rem;
  }

  .admin-role-callout__info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .admin-role-callout__actions {
    width: 100%;
    justify-content: stretch;
    gap: 0.625rem;
  }

  .admin-role-callout__actions .btn {
    flex: 1;
    justify-content: center;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
  }

}


.ui-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  backdrop-filter: blur(6px);
  z-index: 80;
}

.ui-modal-backdrop.is-visible {
  display: flex;
}

.ui-modal {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.18);
  width: min(440px, 100%);
  border: 1px solid #e5e7eb;
  color: #1f2937;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  position: relative;
  transform: translateY(24px) scale(0.95);
  opacity: 0;
  animation: modal-in 0.3s ease forwards;
}

.ui-modal__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  background: rgba(15, 23, 42, 0.08);
  color: #1f2937;
}

.ui-modal__icon svg {
  width: 30px;
  height: 30px;
}

.ui-modal__icon[data-variant='info'] {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.ui-modal__icon[data-variant='success'] {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.ui-modal__icon[data-variant='danger'] {
  background: rgba(248, 113, 113, 0.14);
  color: #dc2626;
}

.ui-modal__icon[data-variant='warning'] {
  background: rgba(251, 191, 36, 0.16);
  color: #b45309;
}

.ui-modal__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: #9ca3af;
  margin: 0 0 0.75rem;
}

.ui-modal__title {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #1b1f24;
}

.ui-modal__message {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
  color: #4b5563;
}

.ui-modal__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ui-modal__input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ui-modal__input:focus {
  outline: none;
  border-color: #ff4d4f;
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.25);
}

.modal-btn {
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}

.modal-btn:focus-visible {
  outline: 2px solid rgba(255, 77, 79, 0.35);
  outline-offset: 2px;
}

.modal-btn:hover {
  transform: translateY(-1px);
}

.modal-btn--confirm {
  background: #ff4d4f;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(255, 77, 79, 0.25);
}

.modal-btn--confirm:hover {
  background: #e64648;
}

.modal-btn--cancel {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}

.modal-btn--cancel:hover {
  background: #e5e7eb;
}

.modal-btn--neutral {
  background: rgba(59, 130, 246, 0.08);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.16);
}

.ui-modal__choices {
  width: 100%;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.ui-modal__choices label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ui-modal__choices input[type='radio'] {
  accent-color: #ff4d4f;
}

.ui-modal__choices label:hover,
.ui-modal__choices input[type='radio']:checked + span {
  border-color: #ff4d4f;
  background: rgba(255, 77, 79, 0.08);
  box-shadow: 0 6px 18px rgba(255, 77, 79, 0.12);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
}

.role-badge--ceo {
  background: rgba(11, 132, 132, 0.16);
  color: #0b8484;
}

.role-badge--developer {
  background: rgba(22, 163, 74, 0.16);
  color: #16a34a;
}

.role-badge--staff {
  background: rgba(196, 124, 53, 0.18);
  color: #c47c35;
}

.role-badge--customer {
  background: rgba(108, 129, 129, 0.2);
  color: var(--color-muted);
}

.text-muted {
  color: var(--color-muted);
  font-size: 0.875rem;
}

/* Admin Role Callout - Professional White Design */
.admin-role-callout {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  margin: 1.5rem auto 2.5rem;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 6px 16px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-role-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  opacity: 0.8;
}

.admin-role-callout:hover {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
}

.admin-role-callout__info {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-weight: 500;
  color: #1f2937;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.admin-role-callout__info svg {
  width: 20px;
  height: 20px;
  color: #6b7280;
}

.admin-role-callout__actions {
  display: flex;
  gap: 0.75rem;
}

.admin-role-callout__actions .btn {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.admin-role-callout__actions .btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  box-shadow:
    0 4px 12px rgba(59, 130, 246, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.admin-role-callout__actions .btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow:
    0 6px 16px rgba(59, 130, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.admin-role-callout__actions .btn-primary:active {
  transform: translateY(0);
}

.admin-role-callout__actions .btn-outline {
  border: 1.5px solid #e5e7eb;
  color: #6b7280;
  background: white;
}

.admin-role-callout__actions .btn-outline:hover {
  border-color: #d1d5db;
  background: #f9fafb;
  color: #374151;
}

.admin-role-callout__badge {
  padding: 0.375rem 0.875rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e40af;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  border: 1px solid #bfdbfe;
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.12);
}

.admin-role-callout[data-role='ceo'] {
  border-color: rgba(139, 92, 246, 0.15);
}

.admin-role-callout[data-role='ceo']::before {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.admin-role-callout[data-role='ceo'] .admin-role-callout__badge {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #6b21a8;
  border-color: #ddd6fe;
}

.admin-role-callout[data-role='developer'] {
  border-color: rgba(16, 185, 129, 0.15);
}

.admin-role-callout[data-role='developer']::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.admin-role-callout[data-role='developer'] .admin-role-callout__badge {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #065f46;
  border-color: #a7f3d0;
}

.admin-role-callout[data-role='staff'] {
  border-color: rgba(249, 115, 22, 0.15);
}

.admin-role-callout[data-role='staff']::before {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.admin-role-callout[data-role='staff'] .admin-role-callout__badge {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #9a3412;
  border-color: #fed7aa;
}

.celebration-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
}

.celebration-overlay.is-active {
  display: flex;
}

.celebration-confetti {
  position: absolute;
  width: 12px;
  height: 24px;
  border-radius: 6px;
  opacity: 0;
  animation: confetti-fall 1.8s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -40vh, 0) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 60vh, 0) rotate(360deg);
  }
}

/* Modern auth shells */
.page-auth {
  background: radial-gradient(circle at top right, rgba(11, 132, 132, 0.12), transparent 55%), #f8fafc;
}

.auth-shell {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 3rem);
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-panel {
  width: min(520px, 100%);
  display: grid;
  gap: 1.6rem;
  padding: clamp(2.6rem, 5vw, 3.4rem);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  border: 1px solid rgba(11, 132, 132, 0.14);
  box-shadow: 0 32px 64px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(18px);
}

.auth-panel__header {
  display: grid;
  gap: 0.9rem;
}

.auth-panel__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 132, 132, 0.16);
  font-size: 1.4rem;
}

.auth-panel__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #0b8484;
  margin: 0;
}

.auth-panel__lead {
  margin: 0;
  color: #475569;
}

.auth-panel__lead .highlight {
  color: #0b8484;
}

.auth-form {
  display: grid;
  gap: 1.1rem;
}

.auth-field {
  display: grid;
  gap: 0.4rem;
}

.auth-field span {
  font-size: 0.9rem;
  color: #1f2937;
  font-weight: 600;
}

.auth-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus {
  outline: none;
  border-color: rgba(11, 132, 132, 0.65);
  box-shadow: 0 0 0 3px rgba(11, 132, 132, 0.2);
}

.auth-panel__alert {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(11, 132, 132, 0.08);
  color: #0b5565;
  border: 1px solid rgba(11, 132, 132, 0.16);
}

.auth-panel__alert--error {
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
  border-color: rgba(220, 38, 38, 0.25);
}

.auth-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.auth-panel__footnote {
  margin: 0;
  font-size: 0.85rem;
  color: #475569;
  min-height: 1.4rem;
}

.auth-panel__footnote[data-variant='error'] {
  color: #b91c1c;
}

.code-input {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem;
}

.code-input input {
  padding: 0.8rem 0;
  text-align: center;
  font-size: 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.95);
}

.code-input input:focus {
  outline: none;
  border-color: rgba(11, 132, 132, 0.6);
  box-shadow: 0 0 0 3px rgba(11, 132, 132, 0.18);
}

.code-hint {
  margin: 0 0 1.2rem;
  color: #64748b;
  font-size: 0.9rem;
}

/* Account portal */
.account-portal {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) 4.5rem;
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.account-portal__hero {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  background: #f8fafc;
  border-radius: 20px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.account-portal__hero-text {
  display: grid;
  gap: 0.9rem;
}

.account-portal__hero-text h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  color: #0f172a;
}

.account-portal__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #0b8484;
  margin: 0;
}

.account-portal__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.account-banner {
  position: relative;
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3rem);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.account-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.account-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.account-banner__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.account-banner h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: #ffffff;
  font-weight: 800;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.account-banner__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.account-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.account-banner__actions form,
.account-portal__hero-actions form {
  margin: 0;
}

.account-banner__actions .btn {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.account-banner__actions .btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.account-banner__actions .btn-primary {
  background: #ffffff;
  color: #667eea;
}

.account-banner__actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
}

.account-logout {
  display: inline-flex;
}

.account-logout__button {
  white-space: nowrap;
}

.account-portal__hero-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.4rem;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.account-quicklinks {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  margin: 0 0 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.account-quicklinks::-webkit-scrollbar {
  display: none;
}

.account-quicklinks a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #ffffff;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.account-quicklinks a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.account-quicklinks a:focus-visible,
.account-quicklinks a:hover {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
  color: #ffffff;
  border-color: transparent;
}

.account-quicklinks a:hover::before {
  opacity: 1;
}

.account-quicklinks a span {
  position: relative;
  z-index: 1;
}

.account-dashboard {
  display: grid;
  gap: 1.5rem;
}

.account-dashboard__card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.account-dashboard__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.account-dashboard__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(15, 23, 42, 0.08);
  border-color: rgba(102, 126, 234, 0.3);
}

.account-dashboard__card:hover::before {
  transform: scaleX(1);
}

.account-dashboard__header {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.account-dashboard__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin: 0;
}

.account-dashboard__header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: #0f172a;
  font-weight: 700;
}

.account-dashboard__list {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.account-dashboard__list > div {
  display: grid;
  gap: 0.25rem;
}

.account-dashboard__list dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0;
}

.account-dashboard__list dd {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
}

.account-dashboard__list--stack {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.account-dashboard__list--stack li {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.26);
  color: #475569;
}

.account-dashboard__list--stack li:first-child {
  border-top: none;
  padding-top: 0;
}

.account-dashboard__list--stack strong {
  font-weight: 700;
  color: #0f172a;
}

.account-dashboard__list--stack small {
  color: #94a3b8;
  font-size: 0.85rem;
}

.account-dashboard__meta {
  font-size: 0.9rem;
  color: #64748b;
  padding-top: 0.25rem;
}

.account-dashboard__copy {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.account-dashboard__lead {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
}

.account-dashboard__highlight {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.account-dashboard__highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.account-dashboard__highlight .account-timeline {
  margin: 0;
  gap: 0.75rem;
}

.account-dashboard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.account-dashboard__cta {
  min-height: 44px;
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border: none;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.875rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
  position: relative;
  overflow: hidden;
}

.account-dashboard__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.account-dashboard__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.35);
}

.account-dashboard__cta:hover::before {
  opacity: 1;
}

.account-dashboard__cta:active {
  transform: translateY(0);
}

.account-dashboard__cta span {
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .account-quicklinks {
    justify-content: flex-start;
  }

  .account-quicklinks a {
    flex: 0 0 auto;
  }
}

@media (min-width: 768px) {
  .account-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-dashboard__card {
    padding: clamp(1.6rem, 3vw, 2.2rem);
  }

  .account-dashboard__cta {
    width: auto;
  }

  .account-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .account-banner__actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .account-dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-dashboard__card:first-child {
    grid-column: 1 / -1;
  }
}

.account-portal__layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.account-portal__sidebar {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 20px;
}

.account-portal__sidebar nav {
  display: grid;
  gap: 0.5rem;
}

.account-portal__sidebar a {
  padding: 0.875rem 1.125rem;
  border-radius: 12px;
  color: #475569;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.account-portal__sidebar a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.account-portal__sidebar a:hover {
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
  transform: translateX(4px);
}

.account-portal__sidebar a.is-active {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
  color: #667eea;
}

.account-portal__sidebar a.is-active::before {
  transform: scaleY(1);
}

.account-portal__content {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.account-portal__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.3rem);
}

.account-portal__grid--two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.account-portal__stack {
  display: grid;
  gap: 1.75rem;
}

.account-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin: 0;
}

.account-metrics dt {
  font-size: 0.85rem;
  color: #475569;
  margin: 0 0 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.account-metrics dd {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.account-metrics__note {
  margin: 1.1rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.account-card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(1.6rem, 4vw, 2.1rem);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.account-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.account-card__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin: 0;
}

.account-card__lead {
  margin: 0;
  color: #1f2937;
  font-weight: 600;
}

.account-card__list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #475569;
}

.account-card__bullets {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #475569;
}

.account-card__note {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.25rem 0;
}

.preference-row__title {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
}

.preference-row__desc {
  margin: 0.2rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
}

.preference-toggle {
  position: relative;
  width: 70px;
  height: 36px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.preference-toggle:hover {
  transform: scale(1.05);
}

.preference-toggle__track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.1);
}

.preference-toggle__thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.preference-toggle.is-active .preference-toggle__track {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.preference-toggle.is-active .preference-toggle__thumb {
  transform: translateX(34px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.8);
}

.account-order-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  display: grid;
  gap: 1.4rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.account-order-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.account-order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  border-color: rgba(102, 126, 234, 0.3);
}

.account-order-card:hover::before {
  transform: scaleX(1);
}

.account-order-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.account-order-card h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.account-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  border: 1px solid;
}

.account-status--pending,
.account-status--pending_payment {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(245, 158, 11, 0.12) 100%);
  color: #92400e;
  border-color: rgba(251, 191, 36, 0.3);
}

.account-status--paid,
.account-status--shipped {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
  color: #667eea;
  border-color: rgba(102, 126, 234, 0.3);
}

.account-status--delivered {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(22, 163, 74, 0.12) 100%);
  color: #15803d;
  border-color: rgba(34, 197, 94, 0.3);
}

.account-status--cancelled {
  background: rgba(220, 38, 38, 0.14);
  color: #991b1b;
}

.account-order-card__body {
  display: grid;
  gap: 1.6rem;
}

.account-order-card__items ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: #475569;
}

.account-timeline {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 1.25rem;
  position: relative;
}

.account-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin-right: 0.75rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.account-timeline li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  position: relative;
  padding-left: 0.5rem;
  transition: all 0.3s ease;
}

.account-timeline li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 20px;
  width: 2px;
  height: calc(100% + 0.5rem);
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.15) 100%);
  z-index: 1;
}

.account-timeline li:hover .account-timeline__dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.25);
}

.account-timeline time {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0.1rem 0;
  font-weight: 500;
}

.account-form {
  display: grid;
  gap: 1rem;
}

@media (max-width: 960px) {
  .account-portal__layout {
    grid-template-columns: 1fr;
  }

  .account-portal__sidebar {
    position: sticky;
    top: 1rem;
  }
}

@media (max-width: 720px) {
  .account-portal__hero {
    grid-template-columns: 1fr;
  }

  .account-order-card header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .account-order-card__body {
    gap: 1.2rem;
  }

  .code-input {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-panel {
    padding: clamp(2rem, 8vw, 2.8rem);
  }
}

/* About page */
.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) 5rem;
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
}

.about__hero {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.8rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  background: linear-gradient(135deg, rgba(11, 132, 132, 0.18), rgba(196, 124, 53, 0.12));
  border-radius: 32px;
  padding: clamp(2.4rem, 6vw, 3.6rem);
  border: 1px solid rgba(11, 132, 132, 0.2);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.about__hero-content p {
  color: #1f2937;
}

.about__hero-graphic {
  width: 100%;
  min-height: 220px;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), transparent 60%),
    linear-gradient(135deg, rgba(11, 132, 132, 0.35), rgba(12, 74, 110, 0.4));
  filter: drop-shadow(0 24px 40px rgba(15, 23, 42, 0.18));
}

.about__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #0b8484;
  margin-bottom: 0.75rem;
}

.about__dna h2,
.about__timeline h2,
.about__vision h2,
.about__cta h2 {
  margin: 0 0 1rem;
  color: #0f172a;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.about__dna-grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.about-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.9rem;
}

.about-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(11, 132, 132, 0.12);
}

.about-card p {
  margin: 0;
  color: #475569;
}

.about__section-heading {
  max-width: 540px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(11, 132, 132, 0.25), rgba(196, 124, 53, 0.2));
}

.timeline li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  padding-left: 2.5rem;
}

.timeline__dot {
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0b8484;
  box-shadow: 0 0 0 4px rgba(11, 132, 132, 0.15);
}

.timeline h3 {
  margin: 0 0 0.35rem;
  color: #0f172a;
}

.timeline p {
  margin: 0;
  color: #475569;
}

.about__vision {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.about-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
}

.about-list span {
  font-size: 1.2rem;
}

.about__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.about__metrics article {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.4rem 1.6rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  text-align: center;
  display: grid;
  gap: 0.5rem;
}

.about__metrics strong {
  font-size: 1.8rem;
  color: #0f172a;
}

.about__metrics span {
  color: #64748b;
  font-size: 0.9rem;
}

.about__logo img {
  width: 120px;
  height: auto;
  margin-top: 1rem;
}

.about__cta {
  background: rgba(11, 132, 132, 0.08);
  border-radius: 26px;
  border: 1px solid rgba(11, 132, 132, 0.18);
}

.about__cta-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1.6rem, 4vw, 2.4rem);
}

.about__cta p {
  margin: 0;
  color: #1f2937;
}

























.input-addon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(11, 132, 132, 0.25);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.input-addon input {
  border: none;
  padding: 0;
  flex: 1;
}



















@media (max-width: 720px) {
  .timeline::before {
    left: 0.35rem;
  }

  .timeline li {
    padding-left: 2rem;
  }
}

.payment-alert {
  font-size: 0.9rem;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  line-height: 1.45;
}

.payment-alert--info {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: #1d4ed8;
}

.payment-alert--success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: #047857;
}

.summary-discount--method {
  color: #047857;
}
/* Cart 2024 redesign */
body.page-cart {
  --cart-bg: #f5f6f7;
  --cart-card: #ffffff;
  --cart-text: #111827;
  --cart-muted: #6b7280;
  --cart-line: #e5e7eb;
  --cart-primary: var(--color-accent);
  --cart-primary-600: #a7692d;
  --cart-radius: 14px;
  --cart-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  --cart-shadow-soft: 0 6px 18px rgba(17, 24, 39, 0.06);
  background: var(--cart-bg);
  color: var(--cart-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
}

body.page-cart :focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.25);
  outline-offset: 2px;
}

.cart,
.cart-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
  overflow-x: hidden; /* Evita scroll horizontal */
}

.cart__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.cart__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart__eyebrow {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--cart-muted);
  font-weight: 600;
}

.cart__title {
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 0;
}

.cart__subtitle {
  margin: 0;
  max-width: 540px;
  color: var(--cart-muted);
  line-height: 1.5;
}

.cart__link-back {
  color: var(--cart-muted);
  text-decoration: none;
  font-weight: 600;
  align-self: center;
  transition: color 0.2s ease;
}

.cart__link-back:hover {
  color: var(--cart-text);
}

.cart-progress {
  margin-bottom: 24px;
}

.cart-progress__list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Alineado a la izquierda */
  gap: 12px;
  list-style: none;
  flex-wrap: wrap;
}

.cart-progress__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: var(--cart-muted);
}

.cart-progress__item:not(:last-child)::after {
  content: '→';
  margin-left: 12px;
  color: var(--cart-line);
  font-size: 16px;
}

.cart-progress__item.is-active {
  color: var(--cart-text);
}

.cart-progress__item.is-active .cart-progress__bullet {
  background: var(--cart-primary);
  color: #fff;
}

.cart-progress__bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cart-line);
  color: var(--cart-muted);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.cart-progress__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-progress__text strong {
  font-size: 14px;
  font-weight: 600;
}

.cart-progress__text small {
  font-size: 12px;
  color: var(--cart-muted);
}

.cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 40px; /* Aumentado para más separación */
  align-items: start;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
}

.cart__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0; /* Evita overflow */
  grid-column: 1; /* Fuerza que esté en la primera columna del grid */
}

.cart__list {
  display: grid;
  gap: 20px;
  padding: 0;
  background: transparent;
  min-width: 0; /* Evita overflow */
}

/* ============================================
   CART ITEM - LAYOUT HORIZONTAL
   ============================================ */

/* ============================================
   Cart Item - Mobile First Layout
   ============================================ */
.cart-item {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
  transition: all 0.2s ease;
}

.cart-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Botón eliminar - arriba a la derecha */
.cart-item__remove {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: #ffe4d5;
  color: #f97316;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.cart-item__remove:hover {
  background: #fed7aa;
  transform: scale(1.1);
}

/* Fila superior: imagen + nombre */
.cart-item__top {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-right: 30px; /* Espacio para el botón eliminar */
}

.cart-item__img {
  width: 55px;
  height: auto;
  flex: 0 0 55px;
  object-fit: contain;
  border-radius: 8px;
}

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

.cart-item__title {
  font-size: 0.85rem;
  line-height: 1.2;
  color: #0f172a;
  word-break: break-word;
  margin: 0;
  font-weight: 600;
}

.cart-item__variant {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.25rem 0 0 0;
}

/* Label compartido */
.label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.25rem;
}

/* Bloques de información */
.cart-item__price-block,
.cart-item__qty-block,
.cart-item__total-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Precio unitario */
.price {
  color: #f97316;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Controles de cantidad */
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.qty-control .qty-btn {
  background: #fff;
  border: none;
  width: 28px;
  height: 26px;
  cursor: pointer;
  font-size: 1rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.qty-control .qty-btn:hover {
  background: #f1f5f9;
}

.qty-display {
  width: 28px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: #0f172a;
}

/* Input oculto para mantener compatibilidad */
.qty-input {
  width: 64px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  background: transparent;
  -moz-appearance: textfield;
}

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

/* Total */
.total-price {
  color: #f97316;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Versiones más anchas - Desktop */
@media (min-width: 768px) {
  .cart-item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.25rem;
    gap: 1rem;
  }

  .cart-item__top {
    flex: 1 1 40%;
    padding-right: 1rem;
  }

  .cart-item__img {
    width: 80px;
    height: auto;
    flex: 0 0 80px;
  }

  .cart-item__title {
    font-size: 1rem;
  }

  .cart-item__variant {
    font-size: 0.875rem;
  }

  .cart-item__price-block,
  .cart-item__qty-block,
  .cart-item__total-block {
    flex: 1 1 20%;
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item__total-block {
    align-items: flex-end;
  }

  .label {
    font-size: 0.7rem;
  }

  .price,
  .total-price {
    font-size: 1.1rem;
  }

  .cart-item__remove {
    position: static;
    width: 36px;
    height: 36px;
  }
}

.cart__sidebar,
.cart-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: flex-start;
  width: 100%;
  max-width: 380px;
  grid-column: 2; /* Fuerza que esté en la segunda columna del grid */
}

.summary-card,
.cart-summary,
.benefits-card,
.cart-benefits {
  background: var(--cart-card);
  border: 1px solid var(--cart-line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--cart-shadow);
  width: 100%;
  box-sizing: border-box;
}

.summary-card,
.cart-summary {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-title,
.cart-summary__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--cart-text);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.summary-row.total {
  margin-bottom: 0;
}

.summary-label {
  font-size: 15px;
  color: var(--cart-muted);
}

.summary-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--cart-text);
}

.summary-value.free {
  color: #10b981;
}

.summary-divider {
  height: 1px;
  background: var(--cart-line);
  margin: 8px 0 12px;
}

.summary-row.total .summary-label,
.summary-row.total .summary-value,
.cart-summary__row--total .summary-label,
.cart-summary__row--total .summary-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--cart-text);
}

.free-shipping-note,
.cart-summary__note {
  font-size: 13px;
  color: var(--cart-muted);
  margin: 12px 0 20px;
  line-height: 1.5;
}

.btn-checkout,
.cart-summary__cta {
  width: 100%;
  background: var(--cart-primary);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-checkout:hover,
.cart-summary__cta:hover {
  background: var(--cart-primary-600);
}

.cart-summary__cta.is-loading {
  background: #e0a36b;
}

.benefits-card,
.cart-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefits-title,
.cart-benefits__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--cart-text);
  margin: 0;
}

.cart-benefits__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item,
.cart-benefits__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.benefit-icon,
.cart-benefits__icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(196, 124, 53, 0.12);
  color: var(--cart-primary);
}

.benefit-content strong,
.cart-benefits__list strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--cart-text);
  margin: 0 0 4px;
  display: block;
}

.benefit-content p,
.cart-benefits__list p {
  font-size: 14px;
  color: var(--cart-muted);
  margin: 0;
  line-height: 1.5;
}


.cart-summary__cta:focus-visible,
.btn-checkout:focus-visible,
.cart-item__remove:focus-visible,
.qty__btn:focus-visible,
.qty-btn:focus-visible,
.qty__input:focus-visible,
.qty-input:focus-visible {
  outline: 3px solid rgba(196, 124, 53, 0.35);
  outline-offset: 2px;
}

.cart-empty {
  margin-top: 18px;
  background: var(--cart-card);
  border-radius: var(--cart-radius);
  box-shadow: var(--cart-shadow);
  padding: 40px 24px;
  text-align: center;
  color: var(--cart-muted);
}

.cart-empty__icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.cart-empty h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--cart-text);
}

.cart-empty p {
  margin: 0 0 16px;
}

.cart-empty .cart__link-back {
  font-weight: 600;
}

@media (max-width: 1024px) {
  .cart__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cart__main {
    grid-column: 1;
    order: 1;
  }

  .cart__sidebar,
  .cart-sidebar {
    grid-column: 1;
    order: 2;
    max-width: 100%;
  }

  .summary-card,
  .cart-summary {
    position: static;
    top: auto;
  }

  .cart__list {
    gap: 18px;
  }

  .cart-progress__list {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-progress__item:not(:last-child)::after {
    content: '↓';
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .cart {
    padding-bottom: 32px;
  }

  .cart__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cart__link-back {
    align-self: flex-start;
  }

  .cart-progress {
    margin-bottom: 20px;
  }

  .cart-progress__text strong {
    font-size: 13px;
  }

  .cart-progress__text small {
    display: none;
  }

  .cart-sidebar {
    gap: 20px;
  }

  .summary-card,
  .cart-summary,
  .benefits-card,
  .cart-benefits {
    padding: 20px;
  }

  .cart-item-content {
    flex-direction: column;
  }

  .cart-item-image {
    width: 100%;
    height: 150px;
  }

  .cart-item-actions,
  .cart-item__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .quantity-controls,
  .cart-item__qty {
    width: 100%;
    justify-content: space-between;
  }

  .cart-item-total,
  .cart-item__total {
    margin-left: 0;
    justify-content: space-between;
    width: 100%;
  }

  .summary-card,
  .cart-summary {
    border-radius: 18px;
    padding: 18px 18px 24px;
    box-shadow: 0 14px 30px rgba(15, 30, 30, 0.14);
  }

  .cart-summary__title {
    font-size: 1.1rem;
    text-align: center;
  }

  .summary-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 6px;
  }

  .cart-summary__row--total .summary-label,
  .cart-summary__row--total .summary-value {
    font-size: 1.15rem;
  }

  .cart-summary__note {
    text-align: center;
    margin: 16px 0;
  }

  .cart-summary__cta {
    font-size: 1.05rem;
    padding: 14px;
  }

  .cart-benefits {
    gap: 16px;
  }
}

/* Mejoras específicas para iPhone (375px - 428px) */
@media (max-width: 430px) {
  /* Carrito - Optimizaciones para iPhone */
  .cart,
  .cart-container {
    padding: 24px 16px;
  }

  .cart__title {
    font-size: 1.75rem;
  }

  .cart__subtitle {
    font-size: 0.9rem;
  }

  .cart__layout {
    gap: 20px;
  }

  /* Items del carrito más compactos */
  .cart-item {
    padding: 1rem;
    gap: 1rem;
  }

  /* Imagen del producto más pequeña y centrada */
  .cart-item__image {
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9fafb;
    border-radius: 8px;
  }

  .cart-item__image img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  /* Info del producto */
  .cart-item__title {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .cart-item__variant {
    font-size: 0.8rem;
  }

  /* Controles de cantidad más compactos */
  .quantity-controls {
    height: 40px;
  }

  .qty-btn,
  .qty__btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .qty-input,
  .qty__input {
    width: 60px;
    height: 40px;
    font-size: 15px;
  }

  /* Total del item */
  .cart-item__total {
    font-size: 1.1rem;
  }

  /* Botón eliminar */
  .cart-item__remove {
    width: 36px;
    height: 36px;
  }

  /* Summary más compacto */
  .summary-card,
  .cart-summary {
    padding: 16px;
    border-radius: 16px;
  }

  .cart-summary__title {
    font-size: 1rem;
  }

  .summary-row {
    margin-bottom: 10px;
  }

  .summary-label {
    font-size: 14px;
  }

  .summary-value {
    font-size: 15px;
  }

  .cart-summary__row--total .summary-label,
  .cart-summary__row--total .summary-value {
    font-size: 1.05rem;
  }

  .cart-summary__note {
    font-size: 12px;
    margin: 12px 0 16px;
  }

  .cart-summary__cta {
    padding: 13px;
    font-size: 1rem;
  }

  /* Benefits más compactos */
  .cart-benefits {
    padding: 16px;
  }

  .cart-benefits__title {
    font-size: 1rem;
  }

  .cart-benefits__icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .cart-benefits__list strong {
    font-size: 14px;
  }

  .cart-benefits__list p {
    font-size: 13px;
  }

  /* Progress bar más compacto */
  .cart-progress__bullet {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .cart-progress__text strong {
    font-size: 12px;
  }
}

.page-maintenance{background:radial-gradient(circle at top,#0e1630,#050912 65%);color:#f5f7ff;min-height:100vh}
.maintenance{position:relative;min-height:100vh;padding:96px 24px 72px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.maintenance__background{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.maintenance__glow{position:absolute;border-radius:50%;filter:blur(90px);opacity:.6}
.maintenance__glow--primary{width:420px;height:420px;background:rgba(88,128,255,.42);top:-120px;right:-80px}
.maintenance__glow--secondary{width:360px;height:360px;background:rgba(255,126,216,.32);bottom:-140px;left:-60px}
.maintenance__grid-lines{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:120px 120px;opacity:.18;transform:skewY(-4deg)}
.maintenance__container{position:relative;max-width:1080px;width:100%;display:grid;gap:40px;z-index:1}
.maintenance__header{display:grid;gap:20px;text-align:left}
.maintenance__brand{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.maintenance__badge{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;padding:6px 14px;border-radius:999px;background:rgba(98,215,255,.16);border:1px solid rgba(98,215,255,.3);color:#bde8ff}
.maintenance__highlight{font-size:.9rem;color:#ffd599;background:rgba(255,214,153,.12);border-radius:999px;padding:6px 14px;border:1px solid rgba(255,214,153,.2)}
.maintenance__header h1{font-size:2.75rem;font-weight:700;line-height:1.1;margin:0}
.maintenance__subtitle{font-size:1.1rem;color:#c7d7ff;max-width:720px;margin:0}
.maintenance__grid{display:grid;gap:32px;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr)}
.maintenance__panel{background:rgba(9,14,28,.72);border:1px solid rgba(108,152,255,.22);border-radius:28px;padding:34px 38px;display:grid;gap:22px;box-shadow:0 40px 80px rgba(8,12,24,.35)}
.maintenance__panel-header{display:flex;align-items:center;gap:12px}
.maintenance__status-dot{width:14px;height:14px;border-radius:999px;background:linear-gradient(135deg,#7bf6d0,#62d7ff);box-shadow:0 0 0 6px rgba(123,246,208,.25)}
.maintenance__panel h2{margin:0;font-size:1.4rem;font-weight:600}
.maintenance__message{margin:0;font-size:1.05rem;line-height:1.6;color:#e5edff}
.maintenance__list{margin:0;display:grid;gap:12px;padding-left:0}
.maintenance__list li{list-style:none;display:flex;gap:12px;align-items:flex-start;font-size:1rem;color:#dfe6ff}
.maintenance__check{width:22px;height:22px;border-radius:8px;background:rgba(123,246,208,.18);color:#7bf6d0;display:grid;place-items:center;border:1px solid rgba(123,246,208,.35)}
.maintenance__check svg{width:14px;height:14px}
.maintenance__sidebar{display:grid;gap:22px}
.maintenance__card{background:rgba(9,14,28,.68);border-radius:24px;border:1px solid rgba(113,170,255,.18);padding:28px;display:grid;gap:14px;box-shadow:0 28px 60px rgba(7,11,24,.3)}
.maintenance__card h3{margin:0;font-size:1.2rem}
.maintenance__eta{margin:0;font-size:1rem;color:#ffdca8}
.maintenance__meta{display:grid;gap:12px;font-size:.95rem;color:#c8d4ff}
.maintenance__meta div{display:grid;gap:2px}
.maintenance__meta dt{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#9eb4ff}
.maintenance__meta dd{margin:0}
.maintenance__card--contact p{margin:0;color:#dce5ff}
.maintenance__contact{display:grid;gap:12px}
.maintenance__contact-link{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:16px;border:1px solid rgba(98,215,255,.24);color:#f5f7ff;text-decoration:none;background:rgba(98,215,255,.08);transition:border .2s ease,transform .2s ease}
.maintenance__contact-link:hover{border-color:rgba(123,246,208,.5);transform:translateY(-2px)}
.maintenance__contact-icon{width:36px;height:36px;border-radius:14px;background:rgba(98,215,255,.14);display:grid;place-items:center;color:#a9ddff}
.maintenance__contact-icon svg{width:18px;height:18px}
.maintenance__footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;border-radius:20px;background:rgba(9,14,28,.6);border:1px solid rgba(113,170,255,.14);color:#dfe6ff}
.maintenance__footer-meta strong{color:#7bf6d0}

@media (max-width:960px){
  .maintenance{padding:80px 20px 60px}
  .maintenance__grid{grid-template-columns:1fr}
  .maintenance__panel{padding:28px}
}

@media (max-width:640px){
  .maintenance__header h1{font-size:2.2rem}
  .maintenance__subtitle{font-size:1rem}
  .maintenance__panel{padding:24px}
  .maintenance__contact-link{flex-direction:column;align-items:flex-start}
  .maintenance__contact-icon{width:32px;height:32px;border-radius:12px}
}

/* Product detail redesign */
.page-product {
  background: #fff;
}

.product-page {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.product-breadcrumb {
  font-size: 0.875rem;
  color: #8c8c8c;
}

.product-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-breadcrumb li::after {
  content: '\203A';
  margin-left: 0.75rem;
  color: #c2c2c2;
}

.product-breadcrumb li:last-child::after {
  content: '';
}

.product-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
  color: #1a1a1a;
}

.product-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: start;
}

.product-gallery-column {
  display: flex;
  justify-content: center;
}

.product-gallery {
  position: sticky;
  top: 120px;
  width: 100%;
  max-width: 560px;
}

.main-image-container {
  position: relative;
  background: #f8f8f8;
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.product-gallery__stage {
  position: relative;
  background: transparent;
  padding: 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__image {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.main-image-container:hover .product-gallery__image {
  transform: scale(1.04);
}

.zoom-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-image-container:hover .zoom-icon {
  opacity: 1;
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery__nav:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.product-gallery__nav--prev {
  left: 18px;
}

.product-gallery__nav--next {
  right: 18px;
}

.thumbnail-gallery {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0.5rem;
  scrollbar-width: thin;
}

.thumbnail-gallery::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}

.thumbnail {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 14px;
  border: 2px solid transparent;
  overflow: hidden;
  background: #f8f8f8;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.thumbnail picture,
.thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.thumbnail:hover {
  border-color: #e5e5e5;
  transform: translateY(-2px);
}

.thumbnail.is-active {
  border-color: #1a1a1a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-info {
  padding-right: clamp(0rem, 2vw, 1.5rem);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: #f8f8f8;
  border-radius: 999px;
  font-weight: 600;
  color: #1a1a1a;
}

.brand-initials {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.product-sku {
  color: #9c9c9c;
  font-size: 0.85rem;
}

.product-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  color: #666;
}

.product-rating .stars {
  display: inline-flex;
  gap: 0.35rem;
}

.product-rating .star {
  font-size: 1.1rem;
  color: #e5e5e5;
}

.product-rating .star.filled {
  color: #ffc107;
}

.rating-value {
  font-weight: 600;
  color: #1a1a1a;
}

.review-count {
  font-size: 0.875rem;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ededed;
}

.current-price {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  color: #1a1a1a;
}

.old-price {
  font-size: 1.25rem;
  color: #9c9c9c;
  text-decoration: line-through;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: #ff4444;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-variants {
  margin-bottom: 2rem;
}

.variant-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.variant-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 2px solid #ededed;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  font-weight: 600;
}

.variant-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.variant-option:hover {
  border-color: #c9c9c9;
}

.variant-option.is-active {
  border-color: #1a1a1a;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.variant-option[data-out-of-stock] {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-selector {
  margin-bottom: 1.75rem;
}

.quantity-label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #1a1a1a;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  border: 2px solid #ededed;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.qty-btn:hover {
  background: #f5f5f5;
}

[data-quantity-input] {
  width: 64px;
  height: 48px;
  border: none;
  border-left: 2px solid #ededed;
  border-right: 2px solid #ededed;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  background: none;
}

.stock-info {
  display: inline-block;
  margin-left: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #28a745;
}

.stock-info.is-out-of-stock {
  color: #ff4444;
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-add-cart {
  flex: 1;
  gap: 0.6rem;
  height: 56px;
  font-size: 1rem;
}

.btn-favorite {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 2px solid #ededed;
  background: #fff;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-favorite:hover {
  border-color: #ff4444;
  color: #ff4444;
}

.btn-favorite.is-active,
.btn-favorite.active {
  background: #ff4444;
  border-color: #ff4444;
  color: #fff;
}

.shipping-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f8f8f8;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  color: #666;
}

.payment-methods h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.payment-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.payment-icons img {
  height: 32px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.payment-icons img:hover {
  opacity: 1;
}

.product-support {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #f8f8f8;
  border-radius: 14px;
  color: #666;
}

.product-support a {
  color: #1a1a1a;
  font-weight: 600;
}

.product-tabs {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #ededed;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabs-header {
  display: flex;
  gap: 2rem;
  border-bottom: 2px solid #ededed;
  margin-bottom: 2.5rem;
}

.tab-btn {
  position: relative;
  padding: 1rem 0;
  border: none;
  background: none;
  font-weight: 600;
  font-size: 1rem;
  color: #9c9c9c;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tab-btn:hover {
  color: #666;
}

.tab-btn.active {
  color: #1a1a1a;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #1a1a1a;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease both;
}

.description-content {
  max-width: 760px;
  color: #666;
  line-height: 1.8;
}

.specs-table {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid #ededed;
}

.spec-label {
  width: 40%;
  padding: 0.85rem 0;
  font-weight: 600;
  color: #1a1a1a;
}

.spec-value {
  padding: 0.85rem 0;
  color: #666;
}

.empty-specs {
  color: #9c9c9c;
}

.reviews-summary {
  background: #f8f8f8;
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.big-rating {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.stars-large {
  display: inline-flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.stars-large .star {
  font-size: 1.5rem;
  color: #e5e5e5;
}

.stars-large .star.filled {
  color: #ffc107;
}

.reviews-list {
  display: grid;
  gap: 1.75rem;
}

.review-item {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #ededed;
}

.review-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.reviewer-info strong {
  color: #1a1a1a;
}

.review-date {
  margin-left: 0.75rem;
  color: #9c9c9c;
  font-size: 0.85rem;
}

.review-stars {
  display: inline-flex;
  gap: 0.2rem;
  color: #ffc107;
}

.review-text {
  color: #666;
  line-height: 1.7;
}

.reviews-empty {
  text-align: center;
  padding: 3rem 1rem;
  background: #f8f8f8;
  border-radius: 18px;
  color: #9c9c9c;
}

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

  .product-gallery {
    position: static;
    max-width: 100%;
  }

  .product-info {
    padding-right: 0;
  }

  .product-title {
    font-size: 2rem;
  }

  .current-price {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .product-page {
    padding: clamp(2.5rem, 8vw, 3rem) 0;
  }

  .product-breadcrumb {
    font-size: 0.8rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-favorite {
    width: 100%;
  }

  .tabs-header {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs-header::-webkit-scrollbar {
    display: none;
  }
}


/* --------------------------------------------------
 * Ficha de producto - rediseño 2025
 * -------------------------------------------------- */
.page-product {
  background-color: #f9fafb;
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #111827;
}

.page-product .product-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3.5rem) 4rem;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.page-product .product-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.page-product .product-header__brand {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-product .product-header__search {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #f3f4f6;
  padding: 0.5rem 1rem;
}

.page-product .product-header__search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  padding: 0.4rem 0.5rem;
  outline: none;
}

.page-product .product-header__search button {
  border: none;
  background: none;
  color: #6b7280;
  font-size: 1rem;
  cursor: pointer;
}

.page-product .product-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-product .product-header__icon,
.page-product .product-header__avatar {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111827;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.page-product .product-header__icon:hover,
.page-product .product-header__avatar:hover,
.page-product .product-header__icon:focus-visible,
.page-product .product-header__avatar:focus-visible {
  transform: translateY(-2px);
  background: #111827;
  color: #ffffff;
}

.page-product .product-header__badge {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  padding: 0 0.25rem;
  font-weight: 600;
}

.page-product .product-primary-nav {
  background: transparent;
}

.page-product .product-primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  margin: 0;
  padding: 0 0.5rem;
  list-style: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.page-product .product-primary-nav a {
  color: #4b5563;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.35rem;
  transition: color 160ms ease;
}

.page-product .product-primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background-color 160ms ease;
}

.page-product .product-primary-nav a:hover,
.page-product .product-primary-nav a:focus {
  color: #111827;
}

.page-product .product-primary-nav a:hover::after,
.page-product .product-primary-nav a:focus::after {
  background: #111827;
}

.page-product .product-primary-nav__sale {
  color: #ef4444;
}

.page-product .product-breadcrumb {
  font-size: 0.9rem;
  color: #6b7280;
}

.page-product .product-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-product .product-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-product .product-breadcrumb li::after {
  content: '›';
  color: #d1d5db;
}

.page-product .product-breadcrumb li:last-child::after {
  content: none;
}

.page-product .product-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.page-product .product-main {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.page-product .product-main__gallery {
  position: relative;
}

.page-product .product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-product .product-gallery__stage {
  position: relative;
  border-radius: 30px;
  background: #f5f5f5;
  min-height: clamp(360px, 45vw, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-product .product-gallery__canvas {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.page-product .product-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  max-width: 520px;
}

.page-product .product-gallery__zoom {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.08);
  color: #111827;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.page-product .product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.85);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 160ms ease, background-color 160ms ease;
}

.page-product .product-gallery__nav:hover,
.page-product .product-gallery__nav:focus-visible {
  transform: translateY(-50%) scale(1.05);
  background: #111827;
}

.page-product .product-gallery__nav--prev {
  left: 1rem;
}

.page-product .product-gallery__nav--next {
  right: 1rem;
}

.page-product .product-gallery__zoom-button {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  background: #111827;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.page-product .product-gallery__zoom-button:hover,
.page-product .product-gallery__zoom-button:focus-visible {
  transform: translateY(-2px);
  background: #000000;
}

.page-product .product-gallery__thumbnails {
  display: flex !important;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.page-product .product-gallery__thumb {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  border: 2px solid transparent;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  transition: transform 160ms ease, border-color 160ms ease;
}

.page-product .product-gallery__thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px;
}

.page-product .product-gallery__thumb.is-active,
.page-product .product-gallery__thumb:hover,
.page-product .product-gallery__thumb:focus-visible {
  border-color: #111827;
  transform: translateY(-4px);
}

.page-product .product-gallery__thumb--more {
  font-weight: 600;
  font-size: 0.85rem;
  color: #111827;
}

.page-product .product-main__summary {
  background: #ffffff;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-product .product-summary__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.page-product .product-brand-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.page-product .product-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.page-product .product-summary__brand {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.page-product .product-summary__sku {
  margin: 0;
  color: #9ca3af;
  font-size: 0.85rem;
}

.page-product .product-summary__sku span {
  color: #111827;
  font-weight: 600;
}

.page-product .product-summary__code {
  font-size: 0.8rem;
  color: #9ca3af;
  letter-spacing: 0.1em;
}

.page-product .product-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
}

.page-product .product-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.page-product .product-rating__stars .star {
  color: #eab308;
  font-size: 1rem;
}

.page-product .product-rating__stars .star:not(.filled) {
  color: #e5e7eb;
}

.page-product .product-rating__value {
  font-weight: 600;
  color: #111827;
}

.page-product .product-price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.page-product .product-price__current {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #111827;
}

.page-product .product-price__old {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.page-product .product-price__discount {
  background: #fef3c7;
  color: #f59e0b;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.page-product .product-option {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.page-product .product-option__header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.page-product .product-option__value {
  color: #111827;
  font-weight: 600;
}

.page-product .product-option__hint {
  margin-left: auto;
  color: #eab308;
  font-weight: 600;
}

.page-product .product-color-swatches {
  display: flex;
  gap: 0.75rem;
}

.page-product .product-color-swatch {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  border: 2px solid transparent;
  padding: 4px;
  background: #f3f4f6;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.page-product .product-color-swatch__preview {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
}

.page-product .product-color-swatch.is-active,
.page-product .product-color-swatch:hover,
.page-product .product-color-swatch:focus-visible {
  border-color: #111827;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

.page-product .product-size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 0.75rem;
}

.page-product .product-size-button {
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 0;
  cursor: pointer;
  transition: all 160ms ease;
}

.page-product .product-size-button span {
  pointer-events: none;
}

.page-product .product-size-button.is-active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.page-product .product-size-button.is-disabled {
  color: #d1d5db;
  cursor: not-allowed;
  position: relative;
}

.page-product .product-size-button.is-disabled::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.page-product .product-option__guide {
  font-size: 0.85rem;
  color: #eab308;
  text-decoration: none;
  font-weight: 600;
}

.page-product .product-variant-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}

.page-product .product-variant-inputs .variant-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  background: #ffffff;
  cursor: pointer;
  transition: all 160ms ease;
}

.page-product .product-variant-inputs .variant-option__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
}

.page-product .product-variant-inputs .variant-option.is-active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.page-product .product-variant-inputs .variant-option[data-out-of-stock] {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-product .product-variant-inputs input[type='radio'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.page-product .product-quantity {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-product .product-quantity__label {
  font-weight: 600;
  color: #111827;
}

.page-product .product-quantity__controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  overflow: hidden;
  max-width: 220px;
}

.page-product .product-quantity__btn {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border: none;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.page-product .product-quantity__btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.page-product .product-quantity__controls input {
  width: 70px;
  border: none;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.page-product .product-stock {
  font-size: 0.85rem;
  color: #16a34a;
  font-weight: 600;
}

.page-product .product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.page-product .product-actions__add {
  border: none;
  background: #111827;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.page-product .product-actions__add:hover,
.page-product .product-actions__add:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(17, 24, 39, 0.25);
}

.page-product .product-actions__favorite {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 160ms ease;
}

.page-product .product-actions__favorite:hover,
.page-product .product-actions__favorite:focus-visible {
  border-color: #111827;
  color: #111827;
}

.page-product .product-delivery {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f3f4f6;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  color: #4b5563;
}

.page-product .product-delivery i {
  color: #111827;
}

.page-product .product-support {
  font-size: 0.85rem;
  color: #6b7280;
}

.page-product .product-support a {
  color: #111827;
  font-weight: 600;
}

.page-product .product-tabs {
  margin-top: 2rem;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  padding: 2rem;
}

.page-product .tabs-header {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
}

.page-product .tab-btn {
  border: none;
  background: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease;
}

.page-product .tab-btn.active {
  background: #111827;
  color: #ffffff;
}

.page-product .tabs-content {
  padding-top: 1.5rem;
}

.page-product .tab-panel {
  display: none;
}

.page-product .tab-panel.active {
  display: block;
}

.page-product .description-content {
  color: #4b5563;
  line-height: 1.7;
}

.page-product .specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.page-product .specs-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.page-product .spec-label {
  color: #9ca3af;
  width: 30%;
}

.page-product .spec-value {
  color: #111827;
  font-weight: 600;
}

.page-product .reviews-summary,
.page-product .reviews-list {
  display: grid;
  gap: 1.5rem;
}

.page-product .rating-overview {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.page-product .big-rating {
  font-size: 2.5rem;
  font-weight: 700;
}

.page-product .review-item {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.page-product .review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.page-product .review-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.page-product .review-text {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

.page-product .reviews-empty {
  text-align: center;
  padding: 2rem;
  color: #9ca3af;
}

@media (max-width: 1024px) {
  .page-product .product-detail {
    padding: 1.5rem;
  }

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

  .page-product .product-header {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .page-product .product-header__actions {
    justify-content: flex-start;
  }

  .page-product .product-primary-nav ul {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .page-product .product-detail {
    padding: 1rem 1rem 2.5rem;
  }

  .page-product .product-main__summary {
    padding: 1.5rem;
  }

  .page-product .product-gallery__stage {
    border-radius: 24px;
  }

  .page-product .product-gallery__thumb {
    width: 80px;
    height: 80px;
  }

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

  .page-product .product-actions__favorite {
    width: 100%;
    height: 48px;
  }
}
