/* Propósito: sistema visual responsive y accesible de Ontek Shop.
   Autor: equipo Ontek Shop.
   Fecha: 2026-10-20.
   Versión: 1.0. */
:root {
  color-scheme: light dark;
  --color-primary: #2563EB;
  --color-primary-hover: #1D4ED8;
  --color-primary-active: #1E40AF;
  --color-secondary: #1E293B;
  --color-accent: #A3E635;
  --color-accent-ink: #0B1220;
  --color-bg: #FFFFFF;
  --color-bg-subtle: #F5F7FA;
  --color-border: #E2E8F0;
  --color-text: #0B1220;
  --color-text-body: #475569;
  --color-text-muted: #64748B;
  --color-success: #15803D;
  --color-error: #DC2626;
  --color-warning: #B45309;
  --color-info: #0369A1;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Inter', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --page-bg: #F5F7FA;
  --surface: #FFFFFF;
  --ink: #0B1220;
  --muted: #64748B;
  --line: #E2E8F0;
  --ease: 180ms ease;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--page-bg);
}
:root[data-theme='dark'] { color-scheme: dark; --page-bg: #0B1220; --surface: #111B2C; --ink: #F8FAFC; --muted: #A8B4C5; --line: #28364A; --color-bg-subtle: #111B2C; --color-text-body: #CBD5E1; --color-text-muted: #A8B4C5; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) { color-scheme: dark; --page-bg: #0B1220; --surface: #111B2C; --ink: #F8FAFC; --muted: #A8B4C5; --line: #28364A; --color-bg-subtle: #111B2C; --color-text-body: #CBD5E1; --color-text-muted: #A8B4C5; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--page-bg); color: var(--ink); font-family: var(--font-sans); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 12px 16px; background: var(--color-accent); color: var(--color-accent-ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.announcement { min-height: 32px; display: flex; justify-content: center; align-items: center; gap: 9px; background: var(--color-accent); color: var(--color-accent-ink); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 5.5%; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 23px; font-weight: 700; letter-spacing: -.06em; }
.brand__mark { display: grid; place-items: center; width: 31px; height: 31px; background: var(--color-primary); color: white; border-radius: 9px; font-size: 19px; letter-spacing: 0; }
.brand__dot, h2 > span { color: var(--color-primary); }
.main-nav, .header-actions { display: flex; align-items: center; gap: 30px; }
.main-nav a, .account-link { color: var(--muted); font-size: 13px; font-weight: 600; transition: color var(--ease); }
.main-nav a:hover, .account-link:hover { color: var(--color-primary); }
.header-actions { gap: 18px; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); background: transparent; border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--ease), background var(--ease); }
.icon-button:hover { background: var(--color-bg-subtle); border-color: var(--color-primary); }
.theme-toggle { font-size: 20px; }
.cart-link { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--color-primary); color: #fff; }
.cart-link > span:first-child { font-size: 25px; line-height: 1; }
.cart-count { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; width: 17px; height: 17px; border: 2px solid var(--surface); border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-size: 9px; font-weight: 700; }
.menu-toggle { display: none; }
.hero { position: relative; display: grid; grid-template-columns: .94fr 1.06fr; min-height: 520px; overflow: hidden; background: #0B1220; color: white; }
.hero__copy { z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 54px 8% 52px 11.5%; }
.eyebrow { margin: 0 0 16px; color: var(--color-primary); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; color: var(--color-accent); }
.status-dot, .ai-status { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px #a3e63524; }
.hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(45px, 5.1vw, 72px); line-height: .99; letter-spacing: -.055em; }
.hero h1 span { color: var(--color-accent); }
.hero__description { max-width: 390px; margin: 23px 0 27px; color: #B5C1D1; font-size: 14px; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 47px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; transition: background var(--ease), color var(--ease), transform var(--ease); }
.button:hover { transform: translateY(-2px); }
.button--lime { background: var(--color-accent); color: var(--color-accent-ink); }
.button--lime:hover { background: #bef264; }
.hero__controls { display: flex; align-items: center; gap: 12px; margin-top: 49px; }
.hero-arrow { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #ffffff52; border-radius: 50%; background: transparent; color: white; cursor: pointer; }
.hero-arrow:hover { background: #ffffff20; }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { width: 16px; height: 4px; padding: 0; border: 0; background: #ffffff54; cursor: pointer; }
.hero-dot.is-active { width: 27px; background: var(--color-accent); }
.hero-count { margin-left: 10px; color: #9AA7B8; font-family: var(--font-mono); font-size: 10px; }
.hero-count b { color: white; }
.hero__visual { position: relative; min-height: 520px; overflow: hidden; background: #192332; }
.hero__image { position: absolute; inset: 0; background-image: var(--slide-image); background-position: center; background-size: cover; opacity: 0; transform: scale(1.035); transition: opacity 700ms ease, transform 6s ease; }
.hero__image--active { opacity: 1; transform: scale(1); }
.hero__image-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0b1220 0%, #0b12204a 34%, #0b122000 75%), linear-gradient(0deg, #0b1220a6, transparent 45%); }
.hero__tag { position: absolute; right: 9%; bottom: 11%; display: flex; flex-direction: column; gap: 6px; padding-left: 14px; border-left: 2px solid var(--color-accent); }
.hero__tag span, .hero__tag small { color: #C5CFDC; font-family: var(--font-mono); font-size: 9px; }
.hero__tag b { font-family: var(--font-display); font-size: 17px; }
.hero__vertical { position: absolute; top: 50%; right: 17px; color: #ffffff9c; font-family: var(--font-mono); font-size: 8px; writing-mode: vertical-rl; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 23px 11%; border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-strip > div { display: flex; align-items: center; justify-content: center; gap: 12px; }
.trust-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--color-primary); font-size: 15px; font-weight: 700; }
.trust-strip b, .trust-strip small { display: block; }
.trust-strip b { font-size: 11px; }
.trust-strip small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.product-section { padding: 67px 8% 73px; background: var(--page-bg); }
.product-section--light { background: var(--surface); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; max-width: 1200px; margin: 0 auto 24px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2, .service-band h2 { margin: 0; font-family: var(--font-display); font-size: 31px; letter-spacing: -.04em; }
.text-link { display: flex; align-items: center; gap: 10px; padding-bottom: 5px; color: var(--color-primary); font-size: 11px; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1200px; margin: auto; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color var(--ease), transform var(--ease); }
.product-card:hover { transform: translateY(-3px); border-color: #94A3B8; }
.product-card__image { position: relative; display: block; aspect-ratio: 1.16; overflow: hidden; background: #E9EDF3; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__badge { position: absolute; top: 11px; left: 11px; padding: 5px 8px; border-radius: 3px; background: var(--color-accent); color: var(--color-accent-ink); font-size: 9px; font-weight: 700; }
.product-card__content { padding: 13px; }
.product-card__sku { color: var(--muted); font-family: var(--font-mono); font-size: 9px; }
.product-card h3 { min-height: 36px; margin: 7px 0 13px; font-family: var(--font-display); font-size: 13px; line-height: 1.4; }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card__price { display: flex; flex-direction: column; gap: 2px; font-family: var(--font-mono); }
.product-card__price strong { font-size: 13px; }
.product-card__old-price { color: var(--muted); font-size: 9px; text-decoration: line-through; }
.product-card__whatsapp { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--color-primary); }
.product-card__whatsapp:hover { background: var(--color-primary); color: white; }
.product-card__stock { display: block; margin-top: 10px; color: var(--color-success); font-size: 9px; }
.skeleton { aspect-ratio: .86; border-radius: var(--radius-sm); background: linear-gradient(100deg, var(--line) 25%, #ffffff18 40%, var(--line) 60%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.empty-state { grid-column: 1 / -1; padding: 25px 0; color: var(--muted); font-size: 13px; }
@keyframes shimmer { to { background-position-x: -200%; } }
.service-band { display: flex; align-items: center; gap: 24px; padding: 43px 10%; background: #EAF1FC; color: #0B1220; }
.service-band__mark { display: grid; flex: 0 0 58px; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: var(--color-primary); color: white; font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.service-band > div:nth-child(2) { flex: 1; }
.service-band .eyebrow { margin-bottom: 8px; }
.service-band h2 { font-size: 23px; }
.service-band p:not(.eyebrow) { margin: 7px 0 0; color: #475569; font-size: 12px; }
.button--outline { border-color: #0B1220; color: #0B1220; }
.button--outline:hover { background: #0B1220; color: white; }
.site-footer { padding: 47px 8% 0; background: #0B1220; color: white; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 35px; max-width: 1200px; margin: auto; padding-bottom: 39px; }
.footer-brand .brand { font-size: 21px; }
.footer-brand p { margin-top: 15px; color: #A8B4C5; font-size: 12px; line-height: 1.7; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h2 { margin: 3px 0 7px; font-family: var(--font-display); font-size: 12px; }
.footer-column a { color: #A8B4C5; font-size: 11px; transition: color var(--ease); }
.footer-column a:hover { color: var(--color-accent); }
.footer-bottom { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid #ffffff26; color: #A8B4C5; font-size: 10px; }
.whatsapp-float, .ai-float { position: fixed; z-index: 8; right: 22px; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; box-shadow: 0 5px 20px #0003; cursor: pointer; transition: transform var(--ease); }
.whatsapp-float { bottom: 22px; background: #20C765; color: #0B1220; font-size: 12px; font-weight: 700; }
.ai-float { right: 27px; bottom: 83px; width: 40px; height: 40px; background: var(--color-primary); color: white; font-size: 21px; }
.whatsapp-float:hover, .ai-float:hover { transform: translateY(-3px); }
.ai-dialog { width: min(370px, calc(100vw - 32px)); margin: auto 24px 137px auto; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); box-shadow: 0 15px 45px #0003; }
.ai-dialog::backdrop { background: #0b122055; }
.ai-dialog__head, .ai-dialog__head > div { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.ai-dialog__head h2 { margin: 0; font-family: var(--font-display); font-size: 16px; }
.ai-status { background: #22C55E; }
.ai-dialog p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.privacy-page { max-width: 900px; margin: auto; line-height: 1.8; }
.catalog-page, .product-detail-page { min-height: 65vh; }
.catalog-title { display: flex; align-items: flex-end; justify-content: space-between; padding: 54px 8% 35px; border-bottom: 1px solid var(--line); background: var(--surface); }
.catalog-title .eyebrow { margin-bottom: 9px; }
.catalog-title h1, .product-not-found h1 { margin: 0; font-family: var(--font-display); font-size: 42px; line-height: 1.08; }
.catalog-title h1 span, .product-not-found h1 span { color: var(--color-primary); }
.catalog-title p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.catalog-title__index { padding-bottom: 5px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.catalog-filters { display: grid; grid-template-columns: minmax(200px, 1.5fr) repeat(2, minmax(130px, 1fr)) repeat(2, minmax(110px, .8fr)) minmax(135px, 1fr) auto; align-items: end; gap: 12px; padding: 22px 8%; border-bottom: 1px solid var(--line); background: var(--surface); }
.catalog-filters label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 600; }
.catalog-filters input, .catalog-filters select { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--page-bg); color: var(--ink); font: 500 11px var(--font-sans); }
.catalog-filters input:focus, .catalog-filters select:focus { border-color: var(--color-primary); outline: 2px solid #2563eb3d; }
.filter-search { position: relative; }
.filter-search input { padding-right: 34px; }
.filter-search__icon { position: absolute; right: 11px; bottom: 7px; color: var(--muted); font-size: 20px; }
.filter-reset { height: 40px; padding: 0 7px; border: 0; background: transparent; color: var(--color-primary); font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.filter-reset:hover { text-decoration: underline; }
.catalog-results { padding: 29px 8% 66px; }
.catalog-results__heading { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto 17px; }
.catalog-results__heading h2 { margin: 0; font-family: var(--font-display); font-size: 15px; }
.result-count, .catalog-page-number { color: var(--muted); font-family: var(--font-mono); font-size: 10px; font-weight: 500; }
.catalog-grid { min-height: 200px; }
.product-card__category { display: block; min-height: 14px; margin: -8px 0 10px; color: var(--muted); font-size: 9px; }
.product-card__stock--empty { color: var(--color-warning); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 27px 0 0; }
.pagination__button { min-width: 35px; height: 35px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 10px; cursor: pointer; }
.pagination__button:hover:not(:disabled), .pagination__button.is-current { border-color: var(--color-primary); background: var(--color-primary); color: white; }
.pagination__button:disabled { color: var(--muted); cursor: not-allowed; opacity: .55; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 20px 8%; color: var(--muted); font-size: 10px; }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs [aria-current='page'] { max-width: 50vw; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: clamp(30px, 6vw, 85px); padding: 10px 10% 65px; }
.product-detail__gallery { min-width: 0; }
.product-detail__main-image { display: grid; aspect-ratio: 1.15; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.product-detail__main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__thumbnails { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.product-thumbnail { flex: 0 0 69px; width: 69px; height: 61px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.product-thumbnail.is-active { border: 2px solid var(--color-primary); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__info { align-self: center; min-width: 0; }
.product-detail__info > .eyebrow { margin-bottom: 12px; }
.product-detail__info h1 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3vw, 39px); line-height: 1.13; }
.product-detail__sku { display: block; margin-top: 13px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.product-detail__price { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 24px; font-family: var(--font-mono); }
.product-detail__price strong { font-size: 26px; }
.product-detail__price small { margin-top: 3px; color: var(--muted); font-family: var(--font-sans); font-size: 10px; }
.product-detail__old-price { color: var(--muted); font-size: 12px; text-decoration: line-through; }
.stock-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--color-success); font-size: 11px; font-weight: 600; }
.stock-status > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-status--empty { color: var(--color-warning); }
.product-detail__description { margin: 18px 0 23px; color: var(--color-text-body); font-size: 12px; line-height: 1.75; white-space: pre-line; }
.product-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button--primary { background: var(--color-primary); color: white; }
.button--primary:hover:not(:disabled) { background: var(--color-primary-hover); }
.button--primary:disabled { cursor: not-allowed; opacity: .55; }
.button--whatsapp { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button--whatsapp:hover { border-color: #20C765; background: #20C765; color: #0B1220; }
.product-detail__note { margin: 9px 0 0; color: var(--muted); font-size: 9px; }
.product-detail__benefits { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.product-specifications { padding: 44px 10% 60px; background: var(--surface); }
.product-specifications__heading { margin-bottom: 20px; }
.product-specifications__heading .eyebrow { margin-bottom: 7px; }
.product-specifications__heading h2 { margin: 0; font-family: var(--font-display); font-size: 25px; }
.product-specifications__heading h2 span { color: var(--color-primary); }
.specifications-list { display: grid; grid-template-columns: minmax(130px, .4fr) 1fr; max-width: 850px; margin: 0; border-top: 1px solid var(--line); }
.specifications-list dt, .specifications-list dd { margin: 0; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 11px; }
.specifications-list dt { color: var(--muted); }
.specifications-list dd { color: var(--ink); font-weight: 600; }
.related-products { padding: 45px 8% 60px; }
.product-detail__skeleton { height: 28px; margin: 15px 0; border-radius: var(--radius-sm); }
.product-not-found { grid-column: 1 / -1; padding: 80px 10%; }
.product-not-found p:not(.eyebrow) { max-width: 500px; margin: 15px 0 25px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.product-not-found .button { display: inline-flex; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.auth-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 620px; background: var(--surface); }
.auth-panel { width: min(440px, 100%); justify-self: center; align-self: center; padding: 55px 35px; }
.auth-panel h1, .checkout-title h1, .confirmation-page h1 { margin: 0; font-family: var(--font-display); font-size: 35px; line-height: 1.13; }
.auth-panel h1 span, .checkout-title h1 span, .confirmation-page h1 span { color: var(--color-primary); }
.auth-switch { display: flex; gap: 4px; margin: 27px 0 22px; padding: 4px; border-radius: var(--radius-sm); background: var(--color-bg-subtle); }
.auth-switch button { flex: 1; min-height: 38px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
.auth-switch button.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px #0b12201a; }
.auth-page form, .auth-page form label { display: flex; flex-direction: column; }
.auth-page form { gap: 15px; }
.auth-page form > label:not(.consent-check) { gap: 7px; color: var(--ink); font-size: 11px; font-weight: 600; }
.auth-page input:not([type='checkbox']) { min-height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--page-bg); color: var(--ink); font: 12px var(--font-sans); }
.auth-page input:focus, .checkout-fields input:focus, .payment-fields input:focus, .payment-fields select:focus { border-color: var(--color-primary); outline: 2px solid #2563eb40; }
.auth-page form small { color: var(--muted); font-size: 9px; font-weight: 400; }
.consent-check { display: flex; align-items: flex-start; gap: 9px; color: var(--color-text-body); font-size: 10px; line-height: 1.55; }
.consent-check input { flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--color-primary); }
.consent-check a { color: var(--color-primary); text-decoration: underline; }
.form-feedback { min-height: 18px; margin: 5px 0; color: var(--color-error); font-size: 11px; line-height: 1.5; }
.auth-submit { width: 100%; }
.auth-aside { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 500px; padding: 50px; overflow: hidden; background: #0B1220; color: white; }
.auth-aside::before { position: absolute; inset: 0; background: linear-gradient(0deg, #0b1220 3%, #0b1220a8 55%, #0b122048), url('https://images.unsplash.com/photo-1593640408182-31c70c8268f5?auto=format&fit=crop&w=1200&q=85') center / cover; content: ''; }
.auth-aside > * { position: relative; }
.auth-aside .eyebrow { color: var(--color-accent); }
.auth-aside h2 { margin: 0; font-family: var(--font-display); font-size: 31px; line-height: 1.25; }
.auth-aside__mark { position: absolute; top: 30px; right: 35px; color: var(--color-accent); font-family: var(--font-display); font-size: 44px; font-weight: 700; }
.cart-page, .checkout-page { min-height: 65vh; padding-bottom: 55px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 350px); align-items: start; gap: 25px; padding: 30px 8% 0; }
.cart-items-panel, .cart-summary, .checkout-step, .checkout-summary { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.cart-items-panel { padding: 20px; }
.cart-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-list-heading h2, .cart-summary h2, .checkout-summary h2 { margin: 0; font-family: var(--font-display); font-size: 15px; }
.cart-list-heading > span { color: var(--muted); font-size: 9px; }
.cart-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) 74px auto 27px; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-item__image { display: block; width: 76px; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--color-bg-subtle); }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__details h2 { margin: 5px 0; font-family: var(--font-display); font-size: 12px; }
.cart-item__unit { color: var(--muted); font-family: var(--font-mono); font-size: 9px; }
.cart-quantity input { width: 65px; height: 34px; padding: 0 7px; border: 1px solid var(--line); border-radius: 4px; background: var(--page-bg); color: var(--ink); font: 11px var(--font-mono); }
.cart-item__total { font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
.cart-remove { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.cart-remove:hover { border-color: var(--color-error); color: var(--color-error); }
.cart-empty { margin: 15px 0; }
.cart-summary, .checkout-summary { position: sticky; top: 20px; padding: 20px; }
.cart-summary__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; color: var(--muted); font-size: 10px; }
.cart-summary__row strong { color: var(--ink); font-family: var(--font-mono); font-size: 12px; }
.cart-summary .button { width: 100%; margin-top: 22px; }
.cart-summary > p, .checkout-summary > p { margin: 13px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.cart-summary .button:disabled { cursor: not-allowed; opacity: .5; }
.checkout-secure { color: var(--color-success); font-size: 11px; font-weight: 700; }
.checkout-title { display: flex; align-items: flex-end; justify-content: space-between; padding: 43px 8% 20px; }
.checkout-title .eyebrow { margin-bottom: 8px; }
.checkout-steps { display: flex; max-width: 680px; justify-content: space-between; margin: 0 8%; padding: 14px 0; border-bottom: 1px solid var(--line); list-style: none; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.checkout-steps li > span { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: var(--font-mono); }
.checkout-steps li.is-active { color: var(--color-primary); }
.checkout-steps li.is-active > span { border-color: var(--color-primary); background: var(--color-primary); color: white; }
.checkout-step { padding: 23px; }
.checkout-step .eyebrow { margin-bottom: 7px; }
.checkout-step h2 { margin: 0 0 19px; font-family: var(--font-display); font-size: 20px; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.checkout-fields label, .payment-fields label { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: var(--ink); font-size: 10px; font-weight: 600; }
.checkout-fields input, .payment-fields input, .payment-fields select { width: 100%; min-height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--page-bg); color: var(--ink); font: 11px var(--font-sans); }
.checkout-fields input[readonly] { color: var(--muted); }
.checkout-fields small { color: var(--muted); font-size: 8px; font-weight: 400; }
.field-wide { grid-column: 1 / -1; }
.checkout-copy { color: var(--color-text-body); font-size: 11px; line-height: 1.65; }
.terms-link { display: inline-flex; margin: 8px 0 18px; color: var(--color-primary); font-size: 11px; font-weight: 700; text-decoration: underline; }
.checkout-consent { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--page-bg); }
.checkout-step__actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; padding: 0; border: 0; }
.payment-options label { display: flex; align-items: flex-start; gap: 9px; min-height: 57px; padding: 11px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.payment-options input { accent-color: var(--color-primary); }
.payment-options span { font-size: 10px; font-weight: 700; }
.payment-options small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 400; }
.payment-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 4px; background: var(--page-bg); }
.payment-fields[hidden] { display: none; }
.payment-fields > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.card-expiry-fields { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checkout-summary ul { display: flex; flex-direction: column; gap: 12px; margin: 17px 0; padding: 0 0 15px; border-bottom: 1px solid var(--line); list-style: none; }
.checkout-summary li { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; }
.checkout-summary li small { color: var(--muted); }
.checkout-summary li strong { font-family: var(--font-mono); font-size: 9px; white-space: nowrap; }
.checkout-total { padding-top: 13px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.confirmation-page { display: flex; min-height: 550px; flex-direction: column; align-items: center; justify-content: center; padding: 50px 20px; text-align: center; }
.confirmation-page > p:not(.eyebrow) { max-width: 510px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.confirmation-mark { display: grid; width: 57px; height: 57px; place-items: center; margin-bottom: 22px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-size: 26px; font-weight: 700; }
.confirmation-details { display: grid; grid-template-columns: auto auto; gap: 12px 25px; margin: 20px 0 25px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: left; }
.confirmation-details span { color: var(--muted); font-size: 10px; }
.confirmation-details strong { font-family: var(--font-mono); font-size: 10px; }
@media (max-width: 1024px) {
  .hero { min-height: 460px; }
  .hero__copy, .hero__visual { min-height: 460px; }
  .product-section { padding-right: 5%; padding-left: 5%; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
  .product-card__content { padding: 10px; }
  .catalog-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-right: 5%; padding-left: 5%; }
  .filter-search { grid-column: span 2; }
  .filter-reset { justify-self: start; }
  .product-detail { padding-right: 6%; padding-left: 6%; }
  .cart-layout, .checkout-layout { padding-right: 5%; padding-left: 5%; }
}
@media (max-width: 768px) {
  .site-header { min-height: 64px; padding: 0 5%; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; order: 2; }
  .menu-toggle span { width: 15px; height: 1px; background: var(--ink); }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 5% 15px; border-bottom: 1px solid var(--line); background: var(--surface); }
  .main-nav--open { display: flex; flex-direction: column; }
  .main-nav a { padding: 12px 0; }
  .header-actions { order: 3; gap: 9px; }
  .theme-toggle { display: grid; }
  .account-link { font-size: 11px; }
  .hero { grid-template-columns: 1fr; }
  .hero__copy { min-height: 400px; padding: 45px 8%; }
  .hero__visual { position: absolute; inset: 0; min-height: 100%; opacity: .33; }
  .hero__image-shade { background: linear-gradient(90deg, #0b1220 0%, #0b1220ba 65%, #0b122060 100%); }
  .hero__tag, .hero__vertical { display: none; }
  .hero h1 { font-size: clamp(48px, 10vw, 68px); }
  .trust-strip { padding: 19px 4%; }
  .trust-strip > div { gap: 7px; }
  .trust-icon { width: 29px; height: 29px; }
  .trust-strip b { font-size: 9px; }
  .trust-strip small { font-size: 8px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-section { padding: 48px 5%; }
  .catalog-title { padding: 40px 5% 27px; }
  .catalog-title h1 { font-size: 35px; }
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding: 18px 5%; }
  .filter-search { grid-column: 1 / -1; }
  .filter-reset { min-height: 40px; }
  .catalog-results { padding: 24px 5% 48px; }
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 27px; padding: 0 5% 42px; }
  .product-detail__main-image { aspect-ratio: 1.2; }
  .product-detail__info { max-width: 650px; }
  .product-specifications { padding: 35px 5% 45px; }
  .related-products { padding: 38px 5% 48px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-panel { padding: 45px 7%; }
  .auth-aside { min-height: 300px; padding: 35px 7%; }
  .auth-aside h2 { font-size: 25px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; padding: 22px 5% 0; }
  .cart-summary, .checkout-summary { position: static; }
  .checkout-title { padding: 35px 5% 17px; }
  .checkout-steps { margin: 0 5%; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-panel { padding: 45px 7%; }
  .auth-aside { min-height: 300px; padding: 35px 7%; }
  .auth-aside h2 { font-size: 25px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; padding: 22px 5% 0; }
  .cart-summary, .checkout-summary { position: static; }
  .checkout-title { padding: 35px 5% 17px; }
  .checkout-steps { margin: 0 5%; }
  .breadcrumbs { padding: 17px 5%; }
  .section-heading h2 { font-size: 26px; }
  .service-band { flex-wrap: wrap; padding: 30px 6%; }
  .service-band > div:nth-child(2) { flex-basis: calc(100% - 82px); }
  .service-band .button { margin-left: 82px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .announcement { font-size: 9px; }
  .site-header { padding: 0 4%; }
  .brand { gap: 6px; font-size: 20px; }
  .brand__mark { width: 28px; height: 28px; }
  .header-actions { gap: 7px; }
  .cart-link, .icon-button { width: 34px; height: 34px; }
  .hero__copy { min-height: 390px; padding-right: 7%; padding-left: 7%; }
  .hero h1 { font-size: 47px; }
  .hero__description { max-width: 310px; font-size: 12px; }
  .hero__controls { margin-top: 38px; }
  .trust-strip { grid-template-columns: 1fr; gap: 14px; align-items: start; padding: 18px 12%; }
  .trust-strip > div { justify-content: flex-start; }
  .trust-strip b { font-size: 10px; }
  .trust-strip small { font-size: 9px; }
  .section-heading { align-items: flex-end; gap: 8px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading .eyebrow { font-size: 8px; }
  .catalog-filters { grid-template-columns: 1fr 1fr; }
  .catalog-filters label { font-size: 9px; }
  .catalog-filters input, .catalog-filters select { font-size: 10px; }
  .catalog-title__index { font-size: 8px; }
  .catalog-page-number { font-size: 8px; }
  .product-detail__actions { flex-direction: column; align-items: stretch; }
  .product-detail__actions .button { width: 100%; }
  .cart-items-panel { padding: 13px; }
  .cart-item { grid-template-columns: 58px minmax(0, 1fr) 57px 26px; gap: 8px; }
  .cart-item__image { width: 58px; }
  .cart-item__total { grid-column: 2; grid-row: 2; }
  .cart-remove { grid-column: 4; grid-row: 1; }
  .cart-quantity input { width: 53px; }
  .checkout-fields, .payment-fields { grid-template-columns: 1fr; }
  .field-wide, .payment-fields > p, .card-expiry-fields { grid-column: auto; }
  .card-expiry-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .checkout-step { padding: 17px; }
  .checkout-steps li { gap: 5px; font-size: 8px; }
  .checkout-steps li > span { width: 22px; height: 22px; }
  .checkout-step__actions .button { padding: 0 12px; font-size: 10px; }
  .confirmation-details { width: 100%; max-width: 360px; gap: 11px 14px; padding: 15px; }
  .cart-items-panel { padding: 13px; }
  .cart-item { grid-template-columns: 58px minmax(0, 1fr) 57px 26px; gap: 8px; }
  .cart-item__image { width: 58px; }
  .cart-item__total { grid-column: 2; grid-row: 2; }
  .cart-remove { grid-column: 4; grid-row: 1; }
  .cart-quantity input { width: 53px; }
  .checkout-fields, .payment-fields { grid-template-columns: 1fr; }
  .field-wide, .payment-fields > p, .card-expiry-fields { grid-column: auto; }
  .card-expiry-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .checkout-step { padding: 17px; }
  .checkout-steps li { gap: 5px; font-size: 8px; }
  .checkout-steps li > span { width: 22px; height: 22px; }
  .checkout-step__actions .button { padding: 0 12px; font-size: 10px; }
  .confirmation-details { width: 100%; max-width: 360px; gap: 11px 14px; padding: 15px; }
  .product-detail__benefits { gap: 9px; font-size: 8px; }
  .specifications-list { grid-template-columns: minmax(95px, .4fr) 1fr; }
  .specifications-list dt, .specifications-list dd { padding: 10px 7px; font-size: 10px; overflow-wrap: anywhere; }
  .text-link { gap: 4px; font-size: 9px; white-space: nowrap; }
  .product-card h3 { font-size: 11px; }
  .product-card__price strong { font-size: 11px; }
  .service-band h2 { font-size: 19px; }
  .service-band p:not(.eyebrow) { font-size: 11px; }
  .footer-main { gap: 25px 15px; }
  .footer-bottom { gap: 10px; font-size: 8px; }
  .whatsapp-float { right: 15px; bottom: 15px; }
  .ai-float { right: 20px; bottom: 73px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ===== Página de Servicios (/pages/services) ===== */
.services-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 58px 8% 40px; border-bottom: 1px solid var(--line); background: var(--surface); }
.services-hero__copy { max-width: 720px; }
.services-hero .eyebrow { margin-bottom: 12px; }
.services-hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.05em; }
.services-hero h1 span { color: var(--color-primary); }
.services-hero__intro { margin: 18px 0 0; color: var(--color-text-body); font-size: 14px; line-height: 1.75; }
.services-hero__index { flex: 0 0 auto; padding-bottom: 6px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
.services-body { padding: 60px 8% 72px; background: var(--page-bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1200px; margin: 0 auto; }
.services-grid--preview { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.services-section { padding: 67px 8% 73px; background: var(--page-bg); }
.services-section .section-heading { margin-bottom: 28px; }
.service-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.service-card:hover { transform: translateY(-4px); border-color: var(--color-primary); box-shadow: 0 14px 34px #0b122017; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__index { color: var(--color-primary); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.service-card h2 { margin: 0; font-family: var(--font-display); font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.service-card p { margin: 0; color: var(--color-text-body); font-size: 13px; line-height: 1.65; }
.services-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; padding: 44px 10%; background: #EAF1FC; color: #0B1220; }
.services-cta__mark { display: grid; flex: 0 0 58px; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: var(--color-primary); color: white; font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.services-cta__copy { flex: 1; min-width: 220px; }
.services-cta__copy .eyebrow { margin-bottom: 8px; }
.services-cta__copy h2 { margin: 0; font-family: var(--font-display); font-size: 24px; letter-spacing: -.03em; }
.services-cta__copy p { margin: 7px 0 0; color: #475569; font-size: 12px; }
@media (max-width: 1024px) {
  .services-hero { padding-right: 5%; padding-left: 5%; }
  .services-body { padding-right: 5%; padding-left: 5%; }
    .services-grid { gap: 13px; }
  .services-grid--preview { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
}
@media (max-width: 768px) {
  .services-hero { align-items: flex-start; flex-direction: column; padding: 42px 5% 30px; }
  .services-hero__index { display: none; }
  .services-body { padding: 40px 5% 48px; }
  .services-section { padding: 48px 5%; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .services-grid--preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-card { padding: 20px 18px 22px; }
  .services-cta { padding: 32px 6%; }
  .services-cta__copy { flex-basis: calc(100% - 82px); }
  .services-cta .button { margin-left: 84px; }
}
@media (max-width: 480px) {
  .services-hero { padding: 34px 5% 26px; }
  .services-hero h1 { font-size: 36px; }
  .services-hero__intro { font-size: 12px; }
  .services-grid { grid-template-columns: 1fr; gap: 11px; }
  .service-card h2 { font-size: 16px; }
  .service-card p { font-size: 12px; }
  .services-cta { align-items: flex-start; gap: 14px; padding: 26px 6%; }
  .services-cta__copy { flex-basis: 100%; }
  .services-cta .button { margin-left: 0; }
  .services-cta__copy h2 { font-size: 19px; }
}
