:root{
  color-scheme:light;--bg:#fff;--panel:#fff;--line:#cbd7ea;--text:#111d32;
  --muted:#475975;--blue:#1748b2;--accent:#134cdb;
  --commerce-heading:clamp(1.95rem,3vw,2.65rem);
  --commerce-subheading:1.2rem;
  --commerce-copy:.95rem;
  --commerce-meta:.875rem;
}
body{background:var(--bg);color:var(--text)}
.bar{background:#ffffffed;backdrop-filter:blur(14px);border-color:#dae3f2}
.brand{color:#10244b}
.brand img{width:44px;height:44px;flex-shrink:0}
@media(max-width:720px){.brand img{width:35.2px;height:35.2px}}
.bar:has(.site-menu){flex-wrap:nowrap}
.site-header-actions{display:flex;align-items:center;gap:.55rem;margin-inline-start:auto}
.site-header-actions>a{min-height:44px;white-space:nowrap}
.site-header-actions>a[aria-current="page"]{background-color:#e8f0ff;border-color:#a8bfea}
.site-menu{position:relative;flex:0 0 auto}
.site-menu summary.button{
  width:48px;height:48px;padding:0;list-style:none;border-radius:50%;
  background:#0c1318ed;color:#f4f4ee;border-color:#78a7bc;
}
.site-menu summary::-webkit-details-marker{display:none}
.site-menu summary.button:is(:hover,:focus-visible),.site-menu[open] summary.button{border-color:#9cd9ff;color:#fff}
.bar .site-menu nav{
  position:absolute;inset-block-start:calc(100% + .55rem);inset-inline-end:0;
  display:grid;gap:.2rem;width:min(16.25rem,calc(100vw - 1.5rem));padding:.6rem;
  max-height:calc(100svh - 5.5rem);overflow:auto;
  border:1px solid #b3cbd044;border-radius:.8rem;background:#0c1318f2;
  backdrop-filter:blur(12px);box-shadow:0 18px 48px #07121b66;
}
.site-menu:not([open]) nav{display:none}
.bar .site-menu nav a{
  display:flex;align-items:center;gap:.5rem;min-height:48px;
  padding:.5rem .85rem;border-radius:.5rem;color:#e8efef;font-size:1rem;line-height:1.3;
}
.bar .site-menu nav a:is(:hover,:focus-visible){background:#ffffff14;color:#b8eaff}
.bar .site-menu nav a:focus-visible{outline:2px solid #a7d9ff;outline-offset:-2px}
@media(prefers-reduced-motion:no-preference){
  .site-menu[open] nav{animation:site-menu-enter .18s ease-out both}
}
@keyframes site-menu-enter{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
#inicio,#nosotros{scroll-margin-top:var(--header,4.5rem)}
nav a:hover,.footer a:hover{color:#103da2}
button,.button{background:#fff;color:#17315c;border-color:#c6d6ee;font-weight:600}
button:hover,.button:hover{border-color:#315fe0}
.primary{background:var(--accent);border-color:var(--accent);color:white}
:focus-visible{outline-color:#2157dc}
.stage,.mobility .stage{background:#f3f6fc url("assets/estudio-blanco-ax.webp") center right/cover}
.sequence .art{height:min(67svh,680px)}
.assembly-canvas,.assembly-poster{display:block;position:absolute;inset:0;width:100%;height:100%}
.assembly-poster{object-fit:contain}
.has-assembly .assembly-poster{visibility:hidden}
.sequence .stage{top:var(--header,65px);height:calc(100svh - var(--header,65px))}
@media(max-width:720px){
  .sequence .art{height:min(53svh,480px);align-self:center}
  .sequence .stage-inner{padding-bottom:1rem}
}
@media(prefers-reduced-motion:reduce),(max-height:570px){
  .sequence .stage{top:auto;height:auto}
  .sequence .art{height:min(55svh,560px)}
}
.stage .grid{opacity:.15}
.hero-copy h1,.hero-copy h2{text-shadow:none;color:#111d32}
.hero-copy>p:not(.eyebrow){color:#354b6d}
.assembly-percent{color:#1748b2}
.assembly-heading{border-color:#8aa8df}
.assembly-scrub{color:#344c75}
.assembly-scrub input{accent-color:#1c51e3}
.scene-progress{background:#ccd9ef}
.about-grid article,.card{border-color:#d9e3f3;box-shadow:0 12px 30px #244f8e0b}
.shop-intro{padding:clamp(1.35rem,4vw,3.7rem);background:#f4f7ff url("assets/estudio-blanco-ax.webp") right center/cover;border-radius:16px}
.category-phone,.category-scooter{background:radial-gradient(ellipse at 52% 35%,#f6faff,#c9daf4)}
.category::before{background-image:linear-gradient(0deg,#071d42ee,transparent 68%),var(--photo)}
.category span,.category small{color:#fff}
.guide{background:linear-gradient(120deg,#edf4ff,#fff);border-color:#ccd9ef}
.guide button[aria-pressed=true],.filters button[aria-pressed=true]{background:#dce8ff;color:#173980;border-color:#5680e5}
.catalog-refine{display:flex;align-items:end;flex-wrap:wrap;gap:.65rem;margin-top:1rem}
.catalog-refine label,.catalog-heading label{font-size:.84rem;font-weight:650}
.catalog-heading h2{font-size:var(--commerce-heading);line-height:1.08;letter-spacing:-.04em}
.catalog-heading p{font-size:var(--commerce-copy)}
.catalog-refine{padding:1rem;border:1px solid #d3e1f6;border-radius:.8rem;background:#f8fbffdb}
.catalog-refine [hidden]{display:none}
.catalog-refine select{min-height:2.75rem;min-width:9rem;padding-inline:.65rem}
.catalog-refine .stock-filter{display:flex;align-items:center;gap:.4rem;min-height:2.75rem;padding-inline:.4rem}
.catalog-refine label:not(.stock-filter){flex:1 1 9rem;min-width:0}
.catalog-refine select{width:100%;min-width:0}
.stock-filter input{width:1rem;height:1rem;accent-color:var(--accent)}
.clear-filters{min-height:2.75rem}
input,textarea,select{background:#fff;color:#1b3155;border-color:#bacce9}
.product-art{height:225px;background:radial-gradient(ellipse at center,#fff,#f0f5fc)}
.product-art img{object-fit:contain;padding:1rem}
.product-placeholder{display:grid;place-items:center;width:100%;min-height:8rem;color:#536886;font-size:.85rem}
.cards{gap:clamp(.75rem,1.65vw,1.35rem)}
.card{display:flex;flex-direction:column;border-radius:1.15rem;background:linear-gradient(155deg,#fff 45%,#edf4ff);transition:box-shadow .25s ease,border-color .25s ease}
.card .product-art{height:clamp(170px,22vw,235px);margin:.48rem;border:1px solid #e0eafa;background:#edf4ff;border-radius:.82rem}
.card .product-orbit,.card .product-preview{background:radial-gradient(ellipse at 46% 27%,#fff 15%,#f4f8ff 54%,#dfeafc 100%)}
.card .card-body{flex:1;padding:clamp(.88rem,1.7vw,1.25rem)}
.card-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.15rem .6rem}
.card-heading h3{margin:0;color:#111f3a;font-size:clamp(1.15rem,1.65vw,1.5rem);line-height:1.08;overflow-wrap:anywhere}
.card .card-condition{margin:0;padding:.18rem .62rem;border-radius:999px;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border:1.5px solid currentColor}
/* Nuevo y usado se distinguen a primera vista, con colores de la paleta del sitio. */
.card-condition[data-condition=Nuevo]{background:var(--accent);border-color:var(--accent);color:#fff}
.card-condition[data-condition=Usado]{background:#eef3fb;color:#10244b;border-color:#8ea4c8}
.condition-switch{display:inline-grid;grid-template-columns:repeat(2,minmax(0,auto));gap:0;border:1.5px solid #8ea4c8;border-radius:999px;overflow:hidden}
.condition-switch button{min-height:2rem;padding:.15rem .8rem;border:0;border-radius:0;background:#fff;color:#10244b;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.condition-switch button[aria-pressed=true][data-condition=Nuevo]{background:var(--accent);color:#fff}
.condition-switch button[aria-pressed=true][data-condition=Usado]{background:#10244b;color:#fff}
.detail-info .condition-switch{margin-bottom:.7rem}
.card-specs{display:grid;gap:.38rem;margin:.95rem 0 1rem}
.card-specs div{display:grid;grid-template-columns:minmax(4rem,.75fr) minmax(0,1.35fr);gap:.45rem;align-items:baseline}
.card-specs dt{font-size:var(--commerce-meta);color:#465c7b}
.card-specs dd{margin:0;color:#14294b;font-size:var(--commerce-copy);font-weight:650;line-height:1.22;overflow-wrap:anywhere}
.card .card-summary{margin:.95rem 0 1rem;color:#465c7b;font-size:.9rem;line-height:1.42;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card-purchase{margin-top:auto;padding-top:.72rem;border-top:1px solid #cdddf4}
.card-purchase .product-price{margin:0;font-size:clamp(1.18rem,2.15vw,1.7rem);letter-spacing:-.025em;line-height:1.12}
.card .card-availability{margin:.35rem 0 .72rem;font-size:var(--commerce-meta);color:#3c5170}
.card .card-availability.available{color:#145f45}
@media(hover:hover){.card:hover{border-color:#9ab9ee;box-shadow:0 14px 32px #24529b20}}
@media(prefers-reduced-motion:reduce){.card{transition:none}}
#catalog-more{display:block;margin:1.25rem auto 0}
#catalog-more[hidden]{display:none}
.quote{background:#f0f5ff}
dialog{background:#fff;color:var(--text);border-color:#d5e0f3;box-shadow:0 32px 80px #132c6850}
dialog[open]{animation:ax-ficha-entrada .26s cubic-bezier(.22,.8,.24,1) both}
dialog::backdrop{background:#12254d78}
.detail-image{object-fit:contain;background:#f4f7fd}
@keyframes ax-ficha-entrada{
  from{opacity:0;transform:translateY(16px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media(max-width:720px){.stage,.mobility .stage{background-position:68% center}}
@media(prefers-reduced-motion:reduce){dialog[open]{animation:none}}

body{background:#fff url("assets/estudio-blanco-ax.webp") right top/cover fixed}
@media(max-width:370px){
  .bar{flex-wrap:wrap;gap:.4rem .6rem}
  .bar nav{order:1;flex-basis:100%;justify-content:center;flex-wrap:wrap}
}
.welcome,.store-invite{background:#f7f9ff url("assets/estudio-blanco-ax.webp") right center/cover}
.welcome-inner{min-height:72svh;display:grid;grid-template-columns:1.1fr 1fr;gap:2rem;align-items:center;padding-block:3rem}
.welcome h1,.shop-intro h1{font-size:clamp(2.25rem,5.4vw,5.2rem);letter-spacing:-.055em;line-height:1.02}
.welcome p,.about-intro,.store-invite p{max-width:65ch}
.welcome-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.15rem,.8vw,.75rem);margin-inline-end:clamp(-8rem,(1170px - 100vw)/2,0px)}
.welcome-product{position:relative;height:clamp(5rem,10.7vw,10.5rem);overflow:hidden}
.welcome-product img{
  position:absolute;left:50%;top:calc(2% - 96% * var(--subject-top) / var(--subject-height));
  height:calc(96% * var(--source-height) / var(--subject-height));width:auto;max-width:none;
  transform:translateX(-50%);mix-blend-mode:multiply;
}
.welcome-phone{--source-height:760;--subject-top:108;--subject-height:650}
.welcome-phone img{mix-blend-mode:normal;clip-path:inset(14.3% 7.35% .4% round 6% / 4%)}
.welcome-scooter{--source-height:445;--subject-top:29;--subject-height:385}
.welcome-scooter img{mix-blend-mode:normal}
.welcome-earbuds{--source-height:430;--subject-top:76;--subject-height:278}
.store-invite{padding-block:5rem}
.footer a.footer-instagram{
  width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:12px;color:#fff;
  background:radial-gradient(circle at 12% 100%,#f9cf62 0%,#f07933 32%,#d22a8b 62%,#6943c6 100%);
}
.footer-instagram svg{display:block;filter:drop-shadow(0 1px 2px #2a14337a)}
.footer a.footer-instagram:hover{background:radial-gradient(circle at 12% 100%,#ffda76 0%,#f6823b 32%,#df3093 62%,#754cd2 100%)}
.product-price{font-weight:750;font-size:clamp(1.05rem,2vw,1.5rem);color:#102a55}
.product-detail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:1.5rem;align-items:start}
dialog:has(.product-detail){width:min(940px,calc(100% - 1.25rem))}
.detail-gallery,.product-art{background:radial-gradient(ellipse,#fff,#e9f1ff);border-radius:12px;overflow:hidden}
.detail-gallery img,.product-art img{mix-blend-mode:multiply;transition:transform 1.1s ease;transform-origin:center}
.detail-gallery img{display:block;width:100%;aspect-ratio:4/3;max-height:none;background:none;margin:0;padding:.6rem}
.detail-info h3{margin-top:1.4rem}
.detail-info>a{color:var(--blue);font-size:.86rem}
.technical-details{display:grid;grid-template-columns:minmax(5rem,.65fr) 1.35fr;gap:.65rem;font-size:.9rem}
.technical-details dt{font-weight:650}
.technical-details dd{margin:0;color:var(--muted)}
.control-orders{display:grid;gap:1rem}
.control-orders article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.25rem}
.control-orders button{margin:.35rem .35rem 0 0}
#control-status{margin-top:1rem}
:root{font-family:Barlow,"Segoe UI",sans-serif;hyphens:none}
button,input,textarea,select{font-family:inherit}
p{text-align:justify;word-break:normal;overflow-wrap:normal}
.stage-inner{grid-template-columns:minmax(260px,.95fr) minmax(0,1.4fr)}
.hero-copy h2{font-size:clamp(2.35rem,4.8vw,4.8rem);letter-spacing:-.045em}
.hero-copy>p:not(.eyebrow){max-width:48ch;font-size:clamp(.96rem,1.35vw,1.2rem)}
.product-detail{gap:0;border:1px solid #c8dbf6;border-radius:1rem;overflow:hidden;background:linear-gradient(135deg,#f9fbffed,#e8f1ffdb),url("assets/estudio-blanco-ax.webp") center/cover}
.detail-gallery{padding:1rem;border-radius:0;background:radial-gradient(ellipse at 48% 38%,#fff,#e5eeff 86%);border-right:1px solid #cdddf5}
.detail-info{padding:clamp(.95rem,2.3vw,1.6rem);align-self:stretch;background:linear-gradient(140deg,#fafcff,#eaf2ff)}
.product-specification{grid-column:1/-1;background:#f3f7ffcc;padding:1.15rem clamp(.95rem,2.3vw,1.6rem);border-top:1px solid #cdddf5}
.product-specification h3{margin:0 0 .6rem}
.specs-shortcut{margin-top:.65rem}
.product-specification{scroll-margin-block-start:1rem}
.product-specification a{color:var(--blue)}
.variant-controls,.purchase-actions,.orbit-controls,.card .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.variant-controls label:only-child{grid-column:1/-1}
.purchase-actions button,.orbit-controls button,.card .actions button{width:100%;min-height:2.75rem;justify-content:center;text-align:center}
.orbit-controls{margin-top:.75rem}
.orbit-controls button{font-size:.88rem;padding:.4rem}
.product-detail .product-price{font-size:clamp(1.55rem,3vw,2.05rem)}
.product-orbit{position:relative;display:grid;place-items:center;min-height:330px;perspective:850px;overflow:hidden}
.product-orbit-compact{height:100%;min-height:0;width:100%;contain:layout}
.product-orbit-compact>img{width:100%;height:100%;max-width:100%;max-height:100%;min-height:0}
.product-orbit>img{grid-area:1/1;margin:auto;transition:transform .55s ease,opacity .38s ease}
.orbit-show>img{opacity:0;transform:translateY(43%) scale(.78);pointer-events:none}
.phone-mount{position:absolute;inset:0;width:122px;height:250px;margin:auto;transform-style:preserve-3d;pointer-events:none}
.product-orbit-compact .phone-mount{transform:scale(.7)}
.phone-solid{position:absolute;inset:50% auto auto 50%;width:var(--phone-width);height:var(--phone-height);margin-left:calc(var(--phone-width) / -2);margin-top:calc(var(--phone-height) / -2);transform-style:preserve-3d;visibility:hidden}
.orbit-show .phone-solid{visibility:visible}
@media(prefers-reduced-motion:no-preference){.product-orbit-compact.orbit-show .phone-mount{animation:ax-reveal-model .3s .13s both}}
@keyframes ax-reveal-model{from{opacity:0}to{opacity:1}}
[data-view="rear"] .phone-solid{transform:rotateY(180deg)}
[data-view="left"] .phone-solid{transform:rotateY(83deg)}
[data-view="right"] .phone-solid{transform:rotateY(-83deg)}
.orbit-moving .phone-solid{animation:ax-turn-360 8s linear infinite}
@keyframes ax-turn-360{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}
.phone-face{position:absolute;inset:0;border-radius:var(--phone-corner);overflow:hidden;backface-visibility:hidden;outline:1px solid #23324d55}
.phone-front{transform:translateZ(calc(var(--phone-depth) / 2));background:#141a27}
.phone-front img{width:100%;height:100%;min-height:0;aspect-ratio:auto;max-height:none;object-fit:fill;padding:0!important;mix-blend-mode:normal;display:block}
.phone-rear{transform:rotateY(180deg) translateZ(calc(var(--phone-depth) / 2));background:linear-gradient(160deg,#fff3,transparent 50%,#10192832),var(--phone-tone);box-shadow:inset 0 0 0 2px #fff3}
.phone-solid:not(.galaxy) .phone-rear{transform-style:preserve-3d;overflow:visible}
.apple-surface{position:absolute;inset:0;overflow:hidden}
.apple-surface img{position:absolute;max-width:none;max-height:none;aspect-ratio:auto;object-fit:fill;padding:0!important;margin:0;mix-blend-mode:normal;display:block}
.apple-glass{border-radius:inherit;mask-image:linear-gradient(90deg,#000 calc(var(--rear-photo-edge) - 8%),transparent var(--rear-photo-edge))}
.apple-camera{transform:translateZ(2.5px);backface-visibility:hidden}
.phone-edge{position:absolute;top:50%;left:50%;height:var(--phone-depth);background:linear-gradient(0deg,#16243f65,var(--phone-tone) 23%,#fff8 65%,var(--phone-tone));backface-visibility:visible}
.phone-port{position:absolute;left:43%;top:100%;width:14%;height:4px;border-radius:4px;background:#182033;transform:rotateX(90deg)}
.phone-key,.phone-key-rim{position:absolute;left:50%;top:50%;width:7px;border-radius:2px;background:linear-gradient(90deg,#26344b,var(--phone-tone) 26%,#fff9 65%,#283549);box-shadow:0 0 0 .55px #36425a}
.phone-key-rim{width:3px;background:var(--phone-tone)}
.phone-key.switch{border-top:3px solid #db7941}
.phone-key.camera-control{filter:brightness(.87)}
.phone-key.sim-tray{background:var(--phone-tone);box-shadow:0 0 0 .55px #1b253a95}
.phone-key.sim-tray::after{content:"";position:absolute;left:calc(50% - .7px);bottom:2px;width:1.4px;height:1.4px;background:#1d2739;border-radius:50%}
.orbit-view-info{min-height:1.4rem;margin-top:.7rem;color:var(--muted);font-size:.85rem}
.orbit-controls button[aria-pressed=true]{color:#153c98;background:#deebff;border-color:#668be0}
.phone-cameras{position:absolute;top:10px;left:10px;display:grid;gap:3px;width:34px;padding:3px;background:linear-gradient(145deg,#fff7,#1c284555),var(--phone-tone);border:1px solid #16274855;border-radius:9px}
.phone-lens{width:13px;height:13px;border-radius:100%;background:radial-gradient(circle at 43% 38%,#688bbe,#13253c 28%,#080c16 42%,#2e3a49 62%,#0a101b 70%);box-shadow:0 0 0 1px #10213590}
.phone-flash{position:absolute;right:4px;top:5px;width:4px;height:4px;border-radius:50%;background:#fbf5de}
.camera-free{background:none;border:0;grid-template-columns:1fr 1fr;width:37px}
.camera-free .phone-lens:nth-child(3){grid-column:1;grid-row:2}
.camera-free .phone-lens:nth-child(4){grid-column:2;grid-row:2;width:8px;height:8px}
.camera-free .phone-lens:nth-child(5){grid-column:1;grid-row:3}
.product-preview{position:relative;width:100%;overflow:hidden;border-radius:inherit}
.product-art .product-preview{height:100%}
.product-preview>img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .6s cubic-bezier(.25,.8,.25,1)}
:is(.product-art,.detail-gallery) img:is([src*="/cc-9-1.webp"],[src*="/cc-10-1.webp"],[src*="/cc-11-1.webp"]){filter:brightness(1.055)}
.detail-gallery .product-tour{height:clamp(220px,39svh,390px);touch-action:pan-y pinch-zoom}
.detail-gallery .tour-scooter{height:clamp(265px,45svh,450px)}
.card .product-art:has(.tour-scooter){height:clamp(210px,27vw,275px)}
:is(.product-art,.detail-gallery) .product-tour>img.tour-image{
  position:absolute;inset:0;width:100%;height:100%;max-height:none;padding:.5rem;object-fit:scale-down;
  opacity:0;transform-origin:center;user-select:none;-webkit-user-drag:none;
  transition:transform .72s cubic-bezier(.25,.8,.3,1),opacity .26s ease;
}
:is(.product-art,.detail-gallery) .product-tour>img.tour-visible{opacity:1}
.product-tour>video:not([hidden]){position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#131923}
.tour-controls{display:grid;gap:.6rem;margin-top:.75rem}
.tour-status{margin:0;color:var(--muted);font-size:.9rem;font-weight:600}
.tour-options{display:flex;flex-wrap:wrap;gap:.45rem}
.tour-options button{min-height:44px;white-space:normal}
.tour-options button[aria-pressed=true]{background:#dbe9ff;border-color:#7396db;color:#153d85}
.detail-gallery .model-preview{height:clamp(240px,48svh,460px)}
.model-preview>canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .35s ease}
.model-preview:not(.model-ready)>canvas{visibility:hidden}
.model-preview>img{transition:opacity .35s ease,transform .5s cubic-bezier(.2,.7,.3,1)}
.model-preview.model-ready>img{opacity:0;transform:translateY(24%);pointer-events:none}
.model-preview.model-ready>canvas{opacity:1}
.model-preview[aria-busy=true]{cursor:progress}
@media(prefers-reduced-motion:reduce){.model-preview>img,.model-preview>canvas{transition:none}.model-preview.model-ready>img{transform:none}}
.model-controls{grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr))}
@media(prefers-reduced-motion:reduce){
  :is(.product-art,.detail-gallery) .product-tour>img.tour-image{transition:none}
}
.cart-section{padding-block:clamp(1.25rem,3vw,2.25rem) 1.75rem;font-size:var(--commerce-copy)}
.cart-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.65rem;margin-bottom:1rem}
.cart-heading h1{margin:0;font-size:var(--commerce-heading);line-height:1.08;letter-spacing:-.04em}
.cart-summary h2,.checkout-form h3{margin:0;font-size:var(--commerce-subheading);line-height:1.2;letter-spacing:-.015em}
.checkout-form p a,.legal-page a{color:#153c98;text-decoration:underline;text-underline-offset:.18em}
.cart-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(14rem,1fr);gap:1rem;align-items:start}
.cart-layout[hidden],.checkout-form[hidden]{display:none}
.cart-items,.cart-summary,.checkout-form,.cart-empty,.legal-page{border:1px solid #cadbf3;border-radius:1rem;background:linear-gradient(145deg,#fffffffa,#eff5ffed)}
.cart-items{list-style:none;margin:0;padding:0;overflow:hidden}
.cart-line{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:.35rem .8rem;align-items:center;padding:.75rem}
.cart-line+.cart-line{border-top:1px solid #d4e0f6}
.cart-media{width:100%;aspect-ratio:1;display:grid;place-items:center;background:#edf3ff;border-radius:.65rem;padding:.35rem;grid-row:span 2;isolation:isolate}
.cart-photo{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.cart-media .product-placeholder{min-height:0;font-size:.7rem;text-align:center}
.cart-line h3{margin:0;font-size:var(--commerce-copy);font-weight:700}
.cart-line p{margin:.12rem 0;color:var(--muted);font-size:var(--commerce-meta)}
.cart-line-total{grid-column:3;grid-row:1;justify-self:end;align-self:start;text-align:end}
.cart-quantity{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem;grid-column:2/-1;grid-row:2}
.cart-quantity .small{min-width:2rem;min-height:2rem;padding:.2rem .42rem}
.cart-quantity span{min-width:1.4ch;text-align:center;font-weight:650}
.cart-quantity .cart-remove{margin-left:.25rem}
.cart-summary,.checkout-form{padding:1rem}
.cart-summary dl{margin:.55rem 0 .75rem}
.cart-summary dl div{display:flex;justify-content:space-between;gap:.6rem;padding:.48rem 0;border-bottom:1px solid #d4e0f6}
.cart-summary dd{margin:0;font-weight:700;text-align:right}
.cart-summary p{font-size:var(--commerce-meta);margin:.65rem 0 .4rem}
.cart-summary button{width:100%;min-height:2.6rem;padding:.55rem .75rem;margin-top:.4rem}
.cart-empty,#cart-feedback:not([hidden]){padding:1rem}
#cart-feedback:not([hidden]){color:#14417e;background:#e3efff;border-radius:.65rem}
.checkout-form{margin-top:1rem;scroll-margin-block-start:5.5rem}
.checkout-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr));gap:.75rem}
.quote{min-height:calc(100svh - 9rem)}
.quote .order-consent{margin-block:0}
.order-consent{display:flex;align-items:baseline;gap:.5rem;margin-block:.8rem 1rem}
.order-consent input{width:auto;min-height:0}
#checkout-status:empty{display:none}
.legal-page{margin-block:2rem;padding:clamp(1.2rem,4vw,3rem)}
.legal-page h2{font-size:clamp(1.2rem,3vw,1.65rem);margin-top:1.75rem}
.legal-page dt{font-weight:650;margin-top:.75rem}
.legal-page dd{margin-inline-start:0;color:var(--muted)}
@media(max-width:720px){
  .cart-layout{grid-template-columns:1fr}
  .cart-line{grid-template-columns:70px minmax(0,1fr) auto;padding:.75rem;gap:.35rem .65rem}
}
@media(max-width:420px){
  .cart-line{grid-template-columns:60px minmax(0,1fr) auto}
  .cart-line-total{font-size:var(--commerce-meta)}
  .cart-quantity .cart-remove{margin-left:0}
}
@media(prefers-reduced-motion:reduce){.product-preview>img{transition:none}}
button:not(:disabled),a.button,.category{transition:transform .24s cubic-bezier(.2,.8,.2,1),background-color .22s ease,border-color .22s ease,box-shadow .22s ease}
button:disabled{opacity:.6;cursor:not-allowed}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  button:not(:disabled):hover,a.button:hover,.category:hover{transform:translateY(-3px);box-shadow:0 7px 16px #143d8540}
  button:not(:disabled):hover,a.button:hover{
    --button-light:#5395ff38;
    background-image:linear-gradient(110deg,transparent 42%,var(--button-light) 50%,transparent 58%);
    background-size:260% 100%;
    background-repeat:no-repeat;
    animation:button-light-sweep .55s ease-out both;
  }
  button.primary:hover,a.button.primary:hover{--button-light:#ffffff58}
}
@keyframes button-light-sweep{from{background-position:100% 50%}to{background-position:0 50%}}
@media(prefers-reduced-motion:no-preference){
  button:not(:disabled):active,a.button:active,.category:active{transform:scale(.97)}
}
@media(prefers-reduced-motion:reduce){button,a.button,.category,.product-orbit>img{transition:none}}
@media(max-width:720px){
  .welcome-inner,.product-detail{grid-template-columns:1fr}
  .stage-inner{grid-template-columns:1fr}
  .detail-gallery{border-right:0;border-bottom:1px solid #cdddf5}
  .product-orbit{min-height:275px}
  .product-orbit-compact{min-height:0}
  .welcome-inner{gap:1rem;padding-block:2rem}
}
@font-face{font-family:Barlow;src:url("assets/fonts/barlow-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Barlow;src:url("assets/fonts/barlow-500.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:Barlow;src:url("assets/fonts/barlow-600.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Barlow;src:url("assets/fonts/barlow-700.woff2") format("woff2");font-weight:700;font-display:swap}

@media(max-width:720px){
  button,.button,.cart-quantity .small,.cart-summary button{min-height:44px}
  .cart-quantity .small{min-width:44px}
  input:not([type=checkbox]):not([type=radio]),textarea,select{font-size:16px;min-height:44px}
  .order-consent,.stock-filter{min-height:44px;align-items:center}
  .order-consent input,.stock-filter input{width:20px;height:20px;flex:0 0 20px;margin:0}
  .order-consent{padding-block:.4rem}
  .detail-gallery{padding:.65rem}
  .detail-gallery .product-orbit{height:260px;min-height:260px}
  .detail-gallery .product-orbit>img{height:100%;max-height:260px;aspect-ratio:auto;object-fit:contain}
  .detail-gallery .phone-mount{transform:scale(.88)}
  .detail-gallery .model-preview{height:clamp(230px,32svh,280px)}
  .orbit-panel>p{font-size:.875rem;margin:.45rem 0 0;line-height:1.35}
  .dialog-head{position:sticky;top:-1.25rem;z-index:5;background:#fff;padding-block:.5rem}
  .dialog-head button{min-width:44px;flex-shrink:0}
}
/* Aviso de cookies (cookies-banner.js) y estado del formulario de derechos. */
#cookieBanner{position:fixed;inset:auto 1rem 1rem 1rem;max-width:44rem;margin-inline:auto;z-index:60;display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:.9rem 1.1rem;border:1px solid #bacce9;border-radius:1rem;background:#fff;color:#10244b;box-shadow:0 12px 40px rgba(16,36,75,.18);animation:cookie-entra .35s both}
#cookieBanner p{margin:0;flex:1 1 18rem;font-size:.92rem;text-align:justify;hyphens:manual}
#cookieBanner a{font-weight:700}
#cookieBanner button{min-height:2.5rem;padding:0 1.1rem;border:0;border-radius:.7rem;background:var(--accent);color:#fff;font-weight:800}
@keyframes cookie-entra{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
#rights-status.exito{color:#0f5537;font-weight:700}
#rights-status.error{color:#a10f16;font-weight:700}
@media (prefers-reduced-motion:reduce){#cookieBanner{animation:none}}
/* Seguimiento por WhatsApp al terminar una cotización o un pedido (whatsapp-seguimiento.js). */
.seguimiento{display:grid;gap:.7rem;padding:1rem 1.1rem;margin-top:1rem;border:1px solid #9fd8b8;border-radius:1rem;background:#effaf4;color:#0f3d28;animation:cookie-entra .35s both}
.seguimiento p{margin:0;text-align:justify;hyphens:manual}
.seguimiento a.button{justify-self:start;text-decoration:none}
.seguimiento button.small{justify-self:start}
.seguimiento-texto{width:100%;min-height:5.5rem;padding:.6rem .8rem;border:1px solid #bacce9;border-radius:.7rem;background:#fff;color:#1b3155;font:inherit;resize:vertical}
@media (prefers-reduced-motion:reduce){.seguimiento{animation:none}}

/* ---------- movimiento de la tienda (20-11-2026): entrada escalonada, tarjetas que llegan, carrito que salta.
   Todo son animaciones CSS con relleno «both»: si algo falla la página queda entera, y «reducir movimiento» las apaga. */
@media(prefers-reduced-motion:no-preference){
  @keyframes ax-sube{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
  @keyframes ax-llega{from{opacity:0;transform:translateY(26px) scale(.97)}to{opacity:1;transform:none}}
  @keyframes ax-salto{0%{transform:scale(1)}35%{transform:scale(1.55)}70%{transform:scale(.92)}100%{transform:scale(1)}}
  .shop-intro h1{animation:ax-sube .5s cubic-bezier(.2,.8,.2,1) both}
  .shop-intro p{animation:ax-sube .5s .08s cubic-bezier(.2,.8,.2,1) both}
  .shop-intro .actions{animation:ax-sube .5s .16s cubic-bezier(.2,.8,.2,1) both}
  .shop-categories .category{animation:ax-llega .55s cubic-bezier(.2,.8,.2,1) both}
  .shop-categories .category:nth-child(1){animation-delay:.22s}
  .shop-categories .category:nth-child(2){animation-delay:.3s}
  .shop-categories .category:nth-child(3){animation-delay:.38s}
  .cards .card{animation:ax-llega .45s cubic-bezier(.2,.8,.2,1) both;transition:transform .2s,box-shadow .2s}
  .cards .card:nth-child(2){animation-delay:.05s}.cards .card:nth-child(3){animation-delay:.1s}
  .cards .card:nth-child(4){animation-delay:.15s}.cards .card:nth-child(5){animation-delay:.2s}
  .cards .card:nth-child(6){animation-delay:.25s}.cards .card:nth-child(7){animation-delay:.3s}
  .cards .card:nth-child(8){animation-delay:.35s}.cards .card:nth-child(9){animation-delay:.4s}
  .cards .card:nth-child(10){animation-delay:.45s}.cards .card:nth-child(11){animation-delay:.5s}
  .cards .card:nth-child(12){animation-delay:.55s}
  .cards .card:hover{transform:translateY(-4px);box-shadow:0 18px 38px #132c6828}
  #cart-count.salto{display:inline-block;animation:ax-salto .45s cubic-bezier(.3,1.4,.5,1)}
}

/* ---------- ficha, carrito y cotización (20-11-2026) */
@media(prefers-reduced-motion:no-preference){
  @keyframes ax-izq{from{opacity:0;transform:translateX(-28px)}to{opacity:1;transform:none}}
  @keyframes ax-der{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
  @keyframes ax-pop{from{opacity:0;transform:translateY(12px) scale(.93)}to{opacity:1;transform:none}}
  dialog[open] .detail-gallery{animation:ax-izq .5s .08s cubic-bezier(.2,.8,.2,1) both}
  dialog[open] .detail-info>*{animation:ax-sube .42s cubic-bezier(.2,.8,.2,1) both}
  dialog[open] .detail-info>*:nth-child(1){animation-delay:.14s}dialog[open] .detail-info>*:nth-child(2){animation-delay:.2s}
  dialog[open] .detail-info>*:nth-child(3){animation-delay:.26s}dialog[open] .detail-info>*:nth-child(4){animation-delay:.32s}
  dialog[open] .detail-info>*:nth-child(5){animation-delay:.38s}dialog[open] .detail-info>*:nth-child(6){animation-delay:.44s}
  .cart-items.entrando .cart-line{animation:ax-izq .45s cubic-bezier(.2,.8,.2,1) both}
  .cart-items.entrando .cart-line:nth-child(2){animation-delay:.07s}.cart-items.entrando .cart-line:nth-child(3){animation-delay:.14s}
  .cart-items.entrando .cart-line:nth-child(4){animation-delay:.21s}.cart-items.entrando .cart-line:nth-child(5){animation-delay:.28s}
  .cart-summary{animation:ax-der .5s .12s cubic-bezier(.2,.8,.2,1) both}
  .checkout-form:not([hidden]){animation:ax-sube .45s cubic-bezier(.2,.8,.2,1) both}
  .seguimiento:not([hidden]){animation:ax-pop .5s cubic-bezier(.3,1.3,.5,1) both}
  .quote-inner>div:first-child{animation:ax-izq .5s cubic-bezier(.2,.8,.2,1) both}
  #quote-form>*{animation:ax-sube .42s cubic-bezier(.2,.8,.2,1) both}
  #quote-form>*:nth-child(1){animation-delay:.1s}#quote-form>*:nth-child(2){animation-delay:.16s}
  #quote-form>*:nth-child(3){animation-delay:.22s}#quote-form>*:nth-child(4){animation-delay:.28s}
  #quote-form>*:nth-child(5){animation-delay:.34s}#quote-form>*:nth-child(6){animation-delay:.4s}
  #quote-form>*:nth-child(7){animation-delay:.46s}#quote-form>*:nth-child(8){animation-delay:.52s}
}
