/* Startrascen MVP — responsive design system, 12 Nov 2026
   Fluid first; six QA viewports 320/390/768/1024/1440/1920.
   No fonts or images loaded from third parties.
*/
:root {
  color-scheme: dark;
  --bg:#101513; --surface:#1b231e; --surface-2:#263229;
  --cream:#f5f1e6; --gold:#d9bc7c; --muted:#c2c8be;
  --line:rgba(245,241,230,.17); --serif:Georgia,'Times New Roman',serif;
  --sans:ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  --page:min(100% - 2*clamp(1rem,4vw,5.5rem),1440px);
  --space:clamp(3.4rem,7vw,7rem); --radius:.2rem;
}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:5.5rem}
body {margin:0;min-width:280px;background:var(--bg);color:var(--cream);font-family:var(--sans);-webkit-font-smoothing:antialiased}
button,input,select {font:inherit} button {cursor:pointer} button:disabled {opacity:.5;cursor:not-allowed}
img {display:block;max-width:100%;height:auto}
a {color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #ffdf94; outline-offset:3px;
}
[hidden] {display:none!important}
.skip {position:absolute;top:-120px;left:1rem;z-index:1000;background:var(--cream);color:var(--bg);padding:1rem}
.skip:focus {top:1rem}
.eyebrow {font-size:.68rem;font-weight:750;letter-spacing:.24em;text-transform:uppercase;color:var(--gold)}
.small-line {display:inline-block;width:1.5rem;height:1px;background:var(--gold);vertical-align:middle;margin-right:.6rem}
.announcement {min-height:2rem;display:flex;justify-content:center;align-items:center;gap:1rem;background:var(--gold);color:#162019;font-size:.68rem;font-weight:750;letter-spacing:.09em;text-align:center;text-transform:uppercase;padding:.3rem .75rem}
.topbar {width:var(--page);margin:auto;min-height:5.5rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.brand {display:flex;align-items:center;gap:.65rem;white-space:nowrap;font-size:clamp(.82rem,1.1vw,1rem);font-weight:850;letter-spacing:.18em}
.brand-mark {font-size:2rem;color:var(--gold)}
.top-links {display:flex;flex-wrap:wrap;align-items:center;gap:clamp(.9rem,2.6vw,2.6rem);font-size:.84rem}
.top-links a:hover,.text-link:hover {color:var(--gold)}
.cart-toggle {background:transparent;border:1px solid var(--line);color:var(--cream);min-height:44px;padding:.5rem .7rem;display:flex;align-items:center;gap:.75rem;font-size:.82rem;white-space:nowrap}
.count {display:grid;place-items:center;min-width:1.65rem;height:1.65rem;border-radius:50%;background:var(--gold);color:#161c17;font-weight:850}
.button {border:0;min-height:50px;padding:1rem 1.35rem;display:inline-flex;justify-content:center;align-items:center;gap:1.4rem;font-size:.82rem;font-weight:800;text-align:center;transition:background .18s,transform .18s}
.button-primary {background:var(--gold);color:#182019}
.button-primary:hover {background:#f0d398}
.text-link {text-decoration:underline;text-underline-offset:.45rem;font-size:.87rem}
.hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:clamp(35rem,53vw,48rem);max-width:1920px;margin:auto;border-top:1px solid var(--line)}
.hero-copy {padding:clamp(3rem,7vw,7rem) max(1rem,calc((100vw - 1440px)/2)) clamp(2.5rem,5vw,4rem) max(1rem,calc((100vw - 1440px)/2));
  padding-left:max(clamp(1rem,4vw,5.5rem),calc((100vw - 1440px)/2));padding-right:clamp(1.5rem,4vw,4rem);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.hero h1 {font:normal clamp(4rem,7.4vw,9rem)/.97 var(--serif);letter-spacing:-.075em;margin:1rem 0 1.35rem}
.hero h1 em,.section-intro h2 em,.brand-story-copy h2 em,.steps h2 em {color:var(--gold);font-weight:400}
.hero-description {font-size:clamp(.95rem,1.1vw,1.18rem);line-height:1.75;max-width:30rem;color:var(--muted)}
.hero-actions {display:flex;align-items:center;flex-wrap:wrap;gap:clamp(.9rem,2vw,1.75rem);margin-top:1.4rem}
.hero-foot {display:flex;gap:clamp(1.4rem,4vw,4rem);margin-top:auto;padding-top:3.2rem}
.hero-foot span {display:flex;flex-direction:column;gap:.5rem}.hero-foot strong {letter-spacing:.13em}.hero-foot small {font-size:.62rem;letter-spacing:.13em;color:var(--muted)}
.hero-visual {position:relative;isolation:isolate;overflow:hidden;min-height:32rem;background:radial-gradient(ellipse at 56% 38%,#977148 0,#5a5942 28%,#334a3a 64%,#15231d 95%)}
.hero-circle {position:absolute;top:15%;left:22%;width:min(31vw,440px);aspect-ratio:1;border-radius:50%;background:linear-gradient(125deg,#f3d497,#bd8455);box-shadow:0 0 110px #eec98544}
.hero-dune {position:absolute;bottom:-29%;width:130%;height:62%;border-radius:60% 60% 0 0}
.hero-dune-back {left:-25%;transform:rotate(-13deg);background:linear-gradient(155deg,#576e56,#2c4738)}
.hero-dune-front {right:-25%;bottom:-43%;height:72%;transform:rotate(17deg);background:linear-gradient(160deg,#334c3e,#17261e)}
.hero-signature {position:absolute;z-index:2;left:12%;top:49%;font:italic clamp(1.7rem,4vw,4.5rem)/1.05 var(--serif);color:#ffefce;text-shadow:0 2px 14px #17251e99;transform:rotate(-9deg)}
.hero-vertical {position:absolute;top:1.6rem;right:1.5rem;writing-mode:vertical-rl;font-size:.65rem;letter-spacing:.16em}
.hero-corner {position:absolute;z-index:2;left:1.5rem;right:1.5rem;bottom:1.7rem;display:flex;justify-content:space-between;gap:1rem;color:#f7e3bc;font-size:.62rem;letter-spacing:.12em}
.benefits {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;border-block:1px solid var(--line);background:#1a211c;padding:1.35rem max(1.1rem,calc((100vw - 1440px)/2))}
.benefits>div {display:flex;justify-content:center;align-items:center;gap:1rem;text-align:center;font-size:.78rem;line-height:1.45}
.benefit-icon {font-size:1.65rem;color:var(--gold)}
.catalog-section {width:var(--page);margin:auto;padding-block:var(--space)}
.section-intro {display:flex;justify-content:space-between;align-items:end;gap:3rem;margin-bottom:2.2rem}
.section-intro h2,.brand-story-copy h2 {font:normal clamp(2.65rem,4.8vw,5.5rem)/1.08 var(--serif);letter-spacing:-.05em;margin:.75rem 0}
.section-intro>p {max-width:25rem;color:var(--muted);line-height:1.75;font-size:.9rem}
.catalog-toolbar {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:1.8rem}
.catalog-toolbar .filter-tabs {flex:1 1 340px}
.catalog-toolbar .product-count {margin-left:auto}
.filter-tabs {display:flex;gap:.5rem;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.filter-tabs button {background:none;border:1px solid var(--line);color:var(--cream);padding:.65rem 1rem;min-height:44px;white-space:nowrap}
.filter-tabs button[aria-pressed=true] {background:var(--gold);color:#172119;border-color:var(--gold)}
.product-count {color:var(--muted);font-size:.78rem;white-space:nowrap}
.notice {font-size:.83rem;line-height:1.6;color:var(--muted)}
#catalog-status {border:1px solid var(--line);background:var(--surface);padding:1rem 1.2rem;margin-bottom:1.4rem}
.product-grid {display:flex;flex-direction:column;gap:clamp(2.5rem,6vw,5rem)}
.catalog-collection {min-width:0}
.collection-intro {display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:0 0 1.4rem;border-bottom:1px solid var(--line);padding-bottom:1rem}
.collection-intro h3 {font:normal clamp(1.8rem,3vw,3rem)/1.15 var(--serif);margin:0}
.collection-intro p {color:var(--muted);font-size:.83rem;line-height:1.55;max-width:30rem;margin:0}
.collection-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.85rem,2vw,2rem)}
.catalog-collection--featured .collection-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
.catalog-collection--featured .product-media {aspect-ratio:4/5}
.catalog-collection--sports {padding:clamp(1rem,3vw,2.2rem);background:linear-gradient(145deg,#1c2620,#151d18);border:1px solid var(--line)}
.catalog-collection--sports .collection-intro {border-bottom-color:var(--gold)}
.catalog-collection--sports .product-media {background:radial-gradient(circle at 50% 35%,#566958,#26372c 74%,#15221a)}
.catalog-division {grid-column:1/-1;border-top:1px solid var(--gold);margin-top:clamp(1.5rem,4vw,3.5rem);padding:1.8rem 0 .4rem}
.catalog-division h3 {font:normal clamp(2rem,3vw,3.7rem)/1.1 var(--serif);margin:0 0 .5rem}
.catalog-division p {color:var(--muted);margin:0;font-size:.9rem}
.product-card.featured {grid-column:auto}
.product-card.featured .product-media {aspect-ratio:4/5}
.product-card.featured .product-media img {object-fit:cover}
.product-card.featured h4 {font-size:clamp(1.5rem,2.4vw,2.3rem)}
.product-card {min-width:0;container-type:inline-size}
.product-media {position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:4/5;background:radial-gradient(circle at 50% 40%,#4f6653,#263a2e 70%,#15241b);border:1px solid var(--line)}
.product-media::before {content:'STARTRASCEN';position:absolute;font-size:clamp(1rem,3vw,2rem);font-weight:850;letter-spacing:.13em;opacity:.09;transform:rotate(-40deg)}
.product-media img {position:relative;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.product-card:hover .product-media img {transform:scale(1.025)}
.product-card-info {display:flex;justify-content:space-between;gap:.75rem;padding:1.1rem .1rem}
.product-code {color:var(--gold);font-size:.64rem;letter-spacing:.16em}
.product-card h4 {font:normal clamp(1.25rem,2vw,1.7rem)/1.2 var(--serif);margin:.5rem 0}
.product-subtitle {font-size:.75rem;line-height:1.5;color:var(--muted)}
.product-card-price {font-weight:800;font-size:.9rem;white-space:nowrap;padding-top:1.3rem}
.product-card-buy {display:block;width:100%;min-height:46px;margin:.1rem 0 0;padding:.7rem 1rem;
  border:1px solid var(--gold);background:var(--gold);color:#182019;font-weight:800;
  text-align:center;font-size:.84rem;cursor:pointer}
.product-card-buy:not(:disabled):hover {background:#f0d398}
.product-card-buy:disabled {background:var(--surface);border-color:var(--line);color:var(--muted);
  cursor:not-allowed;opacity:.8}
@container (max-width:270px) {.product-card-info {display:block}.product-card-price {display:block;padding-top:.4rem}}
.brand-story {display:grid;grid-template-columns:1fr 1fr;min-height:30rem;background:var(--surface-2)}
.brand-story-art {position:relative;overflow:hidden;min-height:25rem;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 45% 44%,#758675,#304637 58%,#1b2b22)}
.brand-story-word {position:relative;z-index:1;font:normal clamp(5rem,10vw,12rem) var(--serif);letter-spacing:-.07em;color:#e9d39c}
.story-arc {position:absolute;width:72%;aspect-ratio:1;border-radius:50%;border:1px solid #d5b97895;transform:scale(1.25)}
.brand-story-art small {position:relative;z-index:1;letter-spacing:.3em}
.brand-story-copy {padding:clamp(2rem,6vw,6rem);display:flex;flex-direction:column;justify-content:center}
.brand-story-copy>p:not(.eyebrow) {color:var(--muted);line-height:1.8}
.steps {width:var(--page);margin:auto;padding-block:var(--space)}
.step-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,3vw,3rem)}
.step-grid article {border-top:1px solid var(--gold);padding-top:1.2rem}
.step-grid article>span {font:normal 2.5rem var(--serif);color:var(--gold)}
.step-grid h3 {font:normal 1.5rem var(--serif);margin:1.4rem 0 .65rem}
.step-grid p {font-size:.85rem;line-height:1.8;color:var(--muted)}
footer {display:grid;grid-template-columns:1fr 1fr auto;gap:1.5rem;padding:3rem max(1.2rem,calc((100vw - 1440px)/2));background:#1a251d}
footer>div {display:flex;flex-direction:column;gap:.55rem}footer strong {letter-spacing:.2em}footer small {color:var(--muted);line-height:1.5}

/* Native dialogs support Escape, built-in focus trapping and backdrop. */
dialog {border:1px solid var(--line);padding:0;background:var(--bg);color:var(--cream);box-shadow:0 18px 100px #000a}
dialog::backdrop {background:#020503c9}
.product-dialog {width:min(1100px,calc(100% - 2rem));max-width:none;max-height:min(94dvh,980px);overflow:auto}
.dialog-close {border:1px solid var(--line);background:var(--bg);color:var(--cream);display:grid;place-items:center;width:44px;height:44px;font-size:2rem;line-height:1}
.product-dialog>.dialog-close {position:sticky;top:.6rem;left:calc(100% - 3.2rem);margin-bottom:-44px;z-index:3}
.dialog-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:570px}
.dialog-media {background:#253429;padding:clamp(1rem,3vw,2rem)}
.dialog-primary-image {display:grid;place-items:center;aspect-ratio:4/5;max-height:640px;overflow:hidden;background:radial-gradient(circle,#526a59,#2c3b30);text-align:center;color:var(--gold);font:italic 2rem var(--serif)}
.dialog-primary-image img {width:100%;height:100%;object-fit:contain}
.dialog-thumbs {display:flex;flex-wrap:nowrap;gap:.5rem;margin-top:.7rem;overflow-x:auto;max-width:100%;padding-bottom:.45rem;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.dialog-thumbs button {flex:0 0 60px;width:60px;height:68px;border:1px solid var(--line);background:var(--surface);color:var(--cream);padding:0;scroll-snap-align:start}
.dialog-thumbs button[aria-pressed=true] {border:2px solid var(--gold)}
.dialog-thumbs img {width:100%;height:100%;object-fit:cover}
.dialog-info {display:flex;flex-direction:column;padding:clamp(1.5rem,4vw,3.6rem)}
.dialog-info h2 {font:normal clamp(2.1rem,3.5vw,3.8rem)/1.08 var(--serif);letter-spacing:-.05em;margin:1rem 0}
.dialog-info>p:not(.eyebrow) {color:var(--muted);line-height:1.65}
.dialog-price {color:var(--gold)!important;font-size:1.45rem!important;font-weight:800}
.choice-group {min-width:0;border:0;padding:0;margin:1.2rem 0 0}
.choice-group legend {font-size:.83rem;font-weight:750;margin-bottom:.7rem}
.selected-size {font-size:.77rem;color:var(--muted)}
.choice-list {display:flex;flex-wrap:wrap;gap:.5rem}
.choice-list button {border:1px solid #69746c;background:var(--surface);color:var(--cream);min-height:44px;min-width:46px;padding:.6rem .85rem}
.choice-list button[aria-pressed=true] {background:var(--gold);border-color:var(--gold);color:#132017;font-weight:850}
.detail-note {background:#263e30;padding:.85rem}
.dialog-buy {width:100%;margin-top:1rem}
.dialog-add {width:100%;margin-top:.65rem}
.dialog-buy:disabled {opacity:.55;cursor:not-allowed}
.detail-footnote {font-size:.76rem!important}
.cart-dialog {position:fixed;inset:0 0 0 auto;margin:0;width:min(490px,100vw);height:100dvh;max-width:none;max-height:none;overflow-y:auto}
.cart-panel {padding:clamp(1rem,3vw,2rem);min-height:100%;display:flex;flex-direction:column}
.cart-head {display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:1.2rem}
.cart-head h2 {font:normal 2.25rem var(--serif);margin:.65rem 0}
.cart-head h2 span {font:normal 1rem var(--sans);color:var(--muted)}
.cart-items {list-style:none;margin:0;padding:0}
.cart-items li {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.8rem;border-bottom:1px solid var(--line);padding:1.2rem 0}
.cart-item-heading {font:normal 1.1rem var(--serif);margin:0 0 .5rem}
.cart-item-detail {font-size:.8rem;color:var(--muted)}
.cart-item-amount {color:var(--gold);font-weight:800;margin-top:.5rem;display:block}
.cart-item-controls {display:flex;align-items:center;gap:.3rem}
.cart-item-controls button {width:34px;height:36px;background:transparent;color:var(--cream);border:1px solid var(--line)}
.cart-item-controls .remove-item {border:0;color:var(--gold);width:auto;font-size:.72rem}
.cart-bottom {margin-top:auto;padding-top:1.2rem}
.cart-total {display:flex;justify-content:space-between;gap:.8rem;align-items:center}
.cart-total strong {color:var(--gold);font-size:1.45rem}
.shipping-note {font-size:.78rem;color:var(--muted);line-height:1.6;border-bottom:1px solid var(--line);padding-bottom:1rem}
#request-form {display:grid;gap:1rem}
#request-form label:not(.consent) {display:grid;gap:.5rem;font-size:.83rem}
#request-form label>span {color:var(--muted)}
#request-form input:not([type=checkbox]) {background:var(--surface);color:var(--cream);border:1px solid #728075;min-height:46px;padding:.75rem}
#request-form .consent {display:flex;gap:.7rem;color:var(--muted);line-height:1.5;font-size:.75rem}
#request-form .consent input {accent-color:var(--gold)}
.submit-order {width:100%}
#order-status {margin:1rem 0 0}

/* Wide screens and large desktops (>= 1600px): keep lines readable. */
@media (min-width:1600px) {
  .hero {grid-template-columns:1.05fr .95fr}
  .hero-copy {padding-left:max(5rem,calc((100vw - 1440px)/2))}
  .collection-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
}
/* Laptops / compact desktops (1025–1599px) use the default three-column layout. */

/* Landscape tablets and small laptops (769–1024px) */
@media (max-width:1024px) {
  .topbar {gap:1rem}
  .top-links {gap:1rem}
  .hero {min-height:34rem}
  .hero-copy {padding-left:clamp(1.4rem,4vw,3rem);padding-right:1.4rem}
  .hero h1 {font-size:clamp(3.9rem,7vw,5.6rem)}
  .hero-visual {min-height:32rem}
  .hero-circle {width:38vw}
  .section-intro {gap:1.5rem}
  .collection-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  .brand-story-word {font-size:clamp(4.5rem,9vw,7rem)}
  .dialog-layout {min-height:0}
}
/* Portrait tablet (601–768px) */
@media (max-width:768px) {
  .top-links {display:none}
  .hero {grid-template-columns:1fr;min-height:0}
  .hero-copy {min-height:28rem;padding:3.7rem max(1.25rem,5vw) 2.5rem}
  .hero h1 {font-size:clamp(4.4rem,10vw,6rem)}
  .hero-foot {padding-top:2.5rem}
  .hero-visual {min-height:25rem}
  .hero-circle {width:min(52vw,360px);top:10%;left:28%}
  .benefits {grid-template-columns:1fr 1fr;gap:1rem}
  .benefits>div:last-child {grid-column:1/-1}
  .section-intro {display:block}
  .section-intro>p {max-width:42rem}
  .collection-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .brand-story {grid-template-columns:1fr}
  .brand-story-art {min-height:23rem}
  .brand-story-copy {padding:3.5rem 2rem}
  .step-grid {grid-template-columns:repeat(2,1fr)}
  footer {grid-template-columns:1fr 1fr}
  .dialog-layout {grid-template-columns:1fr 1fr}
  .dialog-info {padding:1.5rem}
  .dialog-primary-image {max-height:390px}
}
/* Large and standard mobiles (421–600px) */
@media (max-width:600px) {
  html {scroll-padding-top:1.5rem}
  .announcement {min-height:2.5rem;gap:.45rem;font-size:.57rem}
  .brand {font-size:.8rem;letter-spacing:.1em}
  .brand-mark {font-size:1.7rem}
  .cart-toggle {padding:.4rem .55rem;gap:.4rem}
  .cart-toggle>span:first-child {font-size:0}
  .cart-toggle>span:first-child::after {content:"Bolsa";font-size:.76rem}
  .hero-copy {min-height:28rem}
  .hero h1 {font-size:clamp(3.65rem,13vw,5.5rem)}
  .hero-visual {min-height:23rem}
  .hero-signature {font-size:2.1rem}
  .hero-foot {gap:1.4rem}
  .hero-corner {font-size:.52rem}
  .benefits {grid-template-columns:1fr;padding:1.2rem}
  .benefits>div {justify-content:flex-start;padding-left:1rem}
  .benefits>div:last-child {grid-column:auto}
  .catalog-section {padding-block:3.5rem}
  .section-intro h2,.brand-story-copy h2 {font-size:clamp(2.6rem,9vw,3.7rem)}
  .catalog-toolbar {display:block}
  .product-count {margin-bottom:.2rem}
  .collection-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
  .catalog-collection--featured .product-card {grid-column:auto}
  .product-card.featured .product-media {aspect-ratio:4/5}
  .product-card-info {display:block;padding:.9rem .1rem}
  .product-card h3 {font-size:1.2rem}
  .product-card-price {display:block;padding-top:.4rem}
  .step-grid {grid-template-columns:1fr;gap:.6rem}
  .brand-story-art {min-height:18rem}
  .brand-story-word {font-size:clamp(4.5rem,15vw,7rem)}
  .brand-story-copy {padding:2.7rem 1.2rem}
  .steps {padding-block:3.5rem}
  footer {grid-template-columns:1fr;padding:2.5rem 1.2rem}
  .product-dialog {width:100%;max-height:100dvh;height:100dvh;border:0}
  .product-dialog>.dialog-close {top:.7rem;left:calc(100% - 3.2rem)}
  .dialog-layout {grid-template-columns:1fr}
  .dialog-media {padding:1rem}
  .dialog-primary-image {max-height:min(55dvh,500px);aspect-ratio:4/4}
  .dialog-info {padding:1.25rem 1.4rem 2rem}
  .dialog-info h2 {font-size:2.35rem}
  .dialog-buy:not([hidden]) {position:sticky;bottom:0;z-index:2}
  .dialog-add {position:static}
  .cart-dialog {width:100vw}
}
/* Compact mobiles (320–420px) */
@media (max-width:420px) {
  .topbar {min-height:4.6rem}
  .announcement {font-size:.5rem}
  .hero-copy {min-height:26rem}
  .hero h1 {font-size:clamp(3.15rem,12.7vw,4.4rem)}
  .hero-actions {gap:1.15rem}
  .hero-description {font-size:.91rem}
  .hero-visual {min-height:20rem}
  .hero-circle {width:65vw}
  .collection-grid {gap:.6rem}
  .product-card h3 {font-size:1.05rem}
  .product-card-price {font-size:.79rem}
  .product-code {font-size:.55rem}
  .brand-story-word {font-size:17vw}
  .cart-panel {padding:1.1rem}
}
/* Landscape phones with short visual height */
@media (max-height:540px) and (orientation:landscape) {
  .hero {min-height:0}
  .hero-copy {min-height:20rem}
  .hero-visual {min-height:20rem}
  .product-dialog {max-height:100dvh}
  .dialog-layout {grid-template-columns:1fr 1fr}
  .dialog-primary-image {max-height:65dvh}
}
/* Accessibility and user preferences */
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}
@media (prefers-contrast:more) {
  :root {--muted:#f3f1e7;--line:#a9bcac}
  .product-card,.cart-toggle {border:1px solid var(--line)}
}
@media (hover:none) {
  .button,.product-media img {transition:none}
}

/* Vista previa editorial: etiquetas no interactivas y bloqueo visual de venta. */
[hidden] { display:none !important; }
.editorial-preview-banner {
  padding:.85rem clamp(1rem,4vw,5rem);
  background:#d9bc7c;
  color:#142017;
  font-weight:800;
  font-size:.8rem;
  text-align:center;
  letter-spacing:.025em;
}
.preview-option {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:.55rem .8rem;
  border:1px solid var(--line);
  border-radius:var(--radius);
  color:var(--cream);
  background:var(--surface);
  font-size:.84rem;
}

/* Experiencia de catálogo 2026-11: merchandising editorial y selector accesible. */
.garment-filter-label {display:flex;align-items:center;gap:.65rem;color:var(--muted);font-size:.82rem}
.garment-filter-label select,.model-select {border:1px solid var(--line);background:var(--surface);color:var(--cream);min-height:44px;padding:.65rem .8rem;border-radius:var(--radius)}
.garment-filter-label select {max-width:min(33vw,310px)}
.size-filter-label select {min-width:9.25rem}
.model-select {width:100%;min-width:0;white-space:normal}
.choice-list.sizes {gap:.55rem}
.choice-list.sizes .size-chip {width:auto;min-width:48px;min-height:46px;padding:.55rem .7rem;font-weight:750;border:1px solid #75847a}
.choice-list.sizes .size-chip[aria-pressed="true"] {background:var(--gold);border-color:var(--gold);color:#162016}
.pay-secure {width:100%;margin-top:1.2rem;min-height:52px}
.pay-secure:disabled {background:#758075;color:#1b221d;opacity:.8}
#payment-status {margin:.7rem 0 0;font-size:.8rem}
@media(min-width:1600px) {
  .catalog-collection--featured .collection-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1024px) {
  .catalog-collection--featured .collection-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:768px) {
  .collection-intro {display:block}
  .collection-intro p {margin-top:.65rem}
  .catalog-collection--featured .collection-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog-toolbar {display:flex;flex-wrap:wrap}
  .garment-filter-label select {max-width:min(55vw,320px)}
}
@media(max-width:600px) {
  .catalog-collection--featured .collection-grid {grid-template-columns:1fr}
  .catalog-collection--featured .product-media {aspect-ratio:4/5}
  .catalog-toolbar .garment-filter-label {flex:1 1 125px;width:calc(50% - .5rem);min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:.35rem}
  .catalog-toolbar .garment-filter-label select {width:100%;max-width:none;min-width:0}
  .catalog-toolbar .filter-tabs {flex-basis:100%}
}

/* Checkout completo desde esquema compartido: compra como invitado en Aruba */
.checkout-intro{line-height:1.65;color:var(--muted);font-size:.9rem;margin:1.1rem 0}
.checkout-form-fields{display:grid;gap:1.35rem}
.checkout-group{min-width:0;margin:0;padding:1rem;border:1px solid var(--line);border-radius:var(--radius)}
.checkout-group legend{padding:0 .3rem;font:normal 1.35rem/1.2 var(--serif)}
.checkout-group-description{margin:.1rem 0 1rem;color:var(--muted);font-size:.81rem;line-height:1.5}
.checkout-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}
.checkout-field{display:flex;flex-direction:column;gap:.35rem;min-width:0;font-size:.84rem;font-weight:650}
.checkout-field input:not([type="checkbox"]),.checkout-field select,.checkout-field textarea{width:100%;min-height:44px;max-width:100%;border:1px solid #879387;background:var(--surface);color:var(--cream);border-radius:var(--radius);padding:.65rem .75rem;font-weight:400;font-size:1rem}
.checkout-field textarea{min-height:6rem;resize:vertical}
.checkout-checkbox{grid-column:1/-1;display:flex;flex-direction:row;gap:.7rem;align-items:flex-start;font-size:.8rem;line-height:1.5;font-weight:500}
.checkout-checkbox input{width:19px;height:19px;flex-shrink:0;margin-top:.07rem;accent-color:var(--gold)}
.checkout-group [hidden]{display:none!important}
.tracking-section{width:var(--page);margin:0 auto;padding-block:var(--space)}
.tracking-form{display:grid;grid-template-columns:1fr 1fr auto;gap:.8rem;align-items:end}
.tracking-form label{display:flex;flex-direction:column;gap:.45rem;color:var(--muted);font-size:.83rem}
.tracking-form input{background:var(--surface);border:1px solid var(--line);color:var(--cream);min-height:46px;padding:.65rem .8rem;min-width:0}
.tracking-events{list-style:none;padding:0;margin:1.1rem 0;display:grid;gap:.75rem}
.tracking-events li{padding:.9rem;background:var(--surface);border-left:3px solid var(--gold);line-height:1.45}
@media(max-width:768px){.checkout-fields-grid{grid-template-columns:1fr}.tracking-form{grid-template-columns:1fr}}

/* CHECKOUT INTEGRAL: mismas reglas accesibles en móvil/tablet/desktop.
   La estructura de campos proviene de checkout-fields.mjs, no de CSS ad hoc. */
.checkout-intro {font-size:.86rem;line-height:1.6;color:var(--muted);margin:1.25rem 0}
.checkout-form-fields {display:grid;gap:1rem}
.checkout-group {border:1px solid var(--line);margin:0;min-width:0;padding:1rem;background:var(--surface)}
.checkout-group legend,.checkout-group summary {
  font-size:1.05rem;font-weight:750;color:var(--cream);padding:0 .3rem
}
.checkout-group summary {cursor:pointer;min-height:44px;padding:.55rem 0;list-style-position:inside}
.checkout-group-description {color:var(--muted);font-size:.78rem;line-height:1.55;margin:.4rem 0 1.15rem}
.checkout-fields-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.checkout-field {display:flex;flex-direction:column;gap:.4rem;font-size:.82rem;font-weight:650;min-width:0}
.checkout-field input,.checkout-field select,.checkout-field textarea {
  display:block;width:100%;min-width:0;min-height:46px;border-radius:0;border:1px solid #76887b;
  background:var(--bg);color:var(--cream);font-size:1rem;padding:.7rem .8rem;
}
.checkout-field input::placeholder,.checkout-field textarea::placeholder {color:#b6bdb4}
.checkout-field textarea {min-height:90px;resize:vertical}
.checkout-field:focus-within {color:var(--gold)}
.checkout-checkbox {flex-direction:row;align-items:start;gap:.75rem;line-height:1.55}
.checkout-checkbox input {flex:0 0 21px;width:21px;height:21px;min-height:21px;accent-color:var(--gold)}
.checkout-group-optional {padding-block:.5rem}
.checkout-group-optional:not([open]) {background:var(--surface-2)}
.checkout-group-optional:not([open]) .checkout-group-description {display:none}
.checkout-group-optional[open] .checkout-fields-grid {padding-bottom:.6rem}
.review-order {width:100%;min-height:48px;margin-top:1rem}
.button-secondary {background:var(--surface-2);color:var(--cream);border:1px solid var(--gold)}
.checkout-field[hidden] {display:none!important}
.tracking-section {width:var(--page);margin:0 auto;padding-block:var(--space)}
.tracking-form {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;align-items:end}
.tracking-form label {display:grid;gap:.5rem;color:var(--muted);font-size:.82rem}
.tracking-form input {min-height:48px;padding:.75rem .9rem;background:var(--surface);color:var(--cream);border:1px solid var(--line);min-width:0}
.tracking-form button {min-height:48px}
.tracking-events {list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.5rem}
.tracking-events li {padding:.85rem 1rem;border-left:2px solid var(--gold);background:var(--surface);font-size:.85rem}
@media(max-width:768px) {
  .tracking-form {grid-template-columns:minmax(0,1fr)}
}

/* Campañas CMS: se utilizan solo piezas publicadas y aprobadas.
   Imagen responsive, sin alterar tamaños de las fichas de producto. */
.hero-visual{position:relative;isolation:isolate;overflow:hidden}
.cms-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.cms-bottom-banner{width:var(--page);margin:clamp(2rem,5vw,5rem) auto;display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden;
  background:radial-gradient(circle at 70% 45%,#405c44,#1a281d 65%);border:1px solid var(--line)}
.cms-bottom-banner[hidden]{display:none!important}
.cms-bottom-copy{padding:clamp(1.5rem,5vw,4rem);display:flex;flex-direction:column;align-items:start;justify-content:center;min-width:0}
.cms-bottom-copy h2{font:normal clamp(1.6rem,4vw,3.6rem)/1.13 var(--serif);margin:.5rem 0 1rem}
.cms-bottom-copy p:not(.eyebrow){color:var(--cream);opacity:.84;line-height:1.6}
.cms-bottom-image-area{min-height:260px;position:relative;display:flex;align-items:center;justify-content:center}
.cms-bottom-image{width:100%;height:100%;max-height:560px;object-fit:cover}
@media(max-width:768px){.cms-bottom-banner{grid-template-columns:minmax(0,1fr)}
  .cms-bottom-image-area{min-height:220px;max-height:360px}
}

/* Selector de talla único, accesible y adaptable. Un molde no replica tallas. */
.choice-list.sizes{display:block}
.choice-list.sizes .size-select{display:block;width:100%;min-width:0;min-height:48px;
  padding:.75rem 2.4rem .75rem .85rem;background:var(--surface);color:var(--cream);
  border:1px solid #96a699;border-radius:var(--radius);font-size:1rem}
.choice-list.sizes .size-select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.cart-stock-note{color:var(--muted);font-size:.75rem;line-height:1.45;margin:.4rem 0 .25rem}
.cart-item-controls button:disabled{opacity:.4;cursor:not-allowed}

/* Selector nativo de idioma: sin widget ni servicio externo. */
.language-control{display:flex;align-items:center;gap:.45rem;font-size:.73rem;color:var(--muted);
  letter-spacing:.025em;white-space:nowrap;min-width:0}
.language-control select{min-height:44px;min-width:64px;padding:.5rem;
  border:1px solid var(--line);border-radius:var(--radius);
  background:var(--surface);color:var(--cream);font-size:.84rem}
@media(max-width:1050px){.language-control{margin-left:auto}.language-control span{position:absolute;
  width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0}}
@media(max-width:540px){.language-control select{min-width:58px;max-width:74px}}

/* Incidencia QA: tallas numéricas pendientes de clasificación por modelo.
   Sin inventar categorías ni exponer saldos de inventario. */
.size-review-notice{margin:.6rem 0 0;color:var(--muted);font-size:.76rem;
  line-height:1.5;max-width:42ch}

/* Checkout: mismo CTA SumUp después del pedido, en seguimiento.
   Se muestra solo después de GET /tracking verificado por backend. */
.tracking-payment-area[hidden],#tracking-pay-with-sumup[hidden],#tracking-return-notice[hidden]{display:none!important}
.tracking-payment-area{margin-top:1rem;padding:clamp(1rem,2.5vw,1.6rem);
  border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.tracking-payment-area .pay-secure{max-width:420px;margin-top:0}
#tracking-payment-status{margin-top:.75rem;font-size:.85rem;line-height:1.5}
#tracking-return-notice{margin-top:1rem}
@media(max-width:768px){.tracking-payment-area .pay-secure{max-width:none}}

/* STARTRASCEN MOBILE-UX-18: iOS modal containment and basket legibility. */
/* Explicit viewport-sized top layer: iOS Safari/Chrome was panning a dialog wider
   than the screen because grid min-content from long image galleries leaked out. */
@media (max-width:600px) and (orientation:portrait) {
  .product-dialog[open], .cart-dialog[open] {
    position:fixed;
    inset:0;
    margin:0;
    width:100vw;
    max-width:100vw;
    min-width:0;
    height:100dvh;
    max-height:100dvh;
    padding:0;
    border:0;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .product-dialog .dialog-layout {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    width:100%;
    max-width:100%;
    min-width:0;
    min-height:0;
    overflow:hidden;
  }
  .product-dialog .dialog-media,
  .product-dialog .dialog-info {
    width:100%;
    min-width:0;
    max-width:100%;
    overflow-wrap:anywhere;
  }
  .product-dialog .dialog-media {padding:clamp(.65rem,3vw,1rem)}
  .product-dialog .dialog-primary-image {
    width:100%;
    min-width:0;
    max-width:100%;
    max-height:none;
    height:auto;
    aspect-ratio:4/5;
    overflow:hidden;
  }
  .product-dialog .dialog-primary-image img {
    width:100%;
    max-width:100%;
    height:100%;
    object-fit:contain;
  }
  .product-dialog .dialog-thumbs {
    display:flex;
    flex-wrap:nowrap;
    width:100%;
    min-width:0;
    max-width:100%;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-padding-inline:.3rem;
  }
  .product-dialog>.dialog-close {
    position:sticky;
    top:max(.5rem,env(safe-area-inset-top));
    left:auto;
    right:.55rem;
    margin:0 .55rem -44px auto;
    z-index:4;
  }
  .product-dialog .dialog-info {
    padding:1.1rem clamp(.85rem,4vw,1.35rem) calc(1.8rem + env(safe-area-inset-bottom));
  }
  .product-dialog .dialog-info h2 {
    font-size:clamp(1.6rem,7vw,2.2rem);
    line-height:1.13;
    letter-spacing:-.035em;
    overflow-wrap:anywhere;
  }
  /* Do not overlay the title/description with a sticky purchase CTA. */
  .product-dialog .dialog-buy:not([hidden]) {position:static}
  .cart-dialog .cart-panel {
    width:100%;
    min-width:0;
    padding:1rem clamp(.9rem,4vw,1.2rem) calc(1.8rem + env(safe-area-inset-bottom));
  }
  .cart-dialog .cart-head,.cart-dialog .cart-bottom,
  .cart-dialog .cart-items {min-width:0;max-width:100%}
  .cart-dialog .cart-items li {
    grid-template-columns:minmax(0,1fr);
    gap:.6rem;
  }
  .cart-dialog .cart-item-heading {font-size:clamp(1.1rem,4.6vw,1.4rem);line-height:1.25;overflow-wrap:anywhere}
  .cart-dialog .cart-item-controls {
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:.5rem;
  }
  .cart-dialog .cart-item-controls button {min-width:44px;min-height:44px}
  .cart-dialog .cart-item-controls .remove-item {width:auto;min-width:62px;min-height:44px;padding:.3rem .55rem}
  .cart-dialog .cart-total {flex-wrap:wrap}
  .cart-dialog .review-order,.cart-dialog .pay-secure {min-height:50px}
}
@media (min-width:601px) and (max-width:768px) {
  .product-dialog .dialog-layout {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .product-dialog .dialog-media,.product-dialog .dialog-info {min-width:0}
}

/* PRODUCT-GALLERY-19: a single responsive product gallery for portrait,
   landscape, tablets and desktop; horizontal motion is internal to thumbs. */
.product-dialog[open] {overflow-x:hidden;overscroll-behavior-x:none}
.product-dialog .dialog-layout,
.product-dialog .dialog-media,
.product-dialog .dialog-info,
.product-dialog .dialog-gallery,
.product-dialog .dialog-primary-image,
.product-dialog .choice-group,
.product-dialog .choice-list {min-width:0;max-width:100%;box-sizing:border-box}
.product-dialog .dialog-gallery {width:100%}
.product-dialog .dialog-media {min-width:0}
.product-dialog .dialog-primary-image {touch-action:pan-y pinch-zoom;user-select:none}
.product-dialog .dialog-gallery-actions {
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:.45rem;padding-top:.7rem;max-width:100%;
}
.product-dialog .dialog-gallery-actions button {
  border:1px solid var(--line);background:var(--surface);color:var(--cream);
  min-width:44px;min-height:44px;padding:.35rem .7rem;font:inherit;cursor:pointer;
}
.product-dialog .dialog-gallery-actions button:not([hidden]):focus-visible,
.product-card .product-media-trigger:focus-visible {
  outline:3px solid var(--gold);outline-offset:3px;
}
.product-dialog .dialog-gallery-actions output {
  color:var(--cream);font-size:.85rem;min-width:4.1rem;text-align:center;
}
.product-dialog .dialog-thumbs {box-sizing:border-box;min-width:0;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden}
.product-dialog .model-select,.product-dialog .size-select {
  display:block;min-width:0;width:100%;max-width:100%;box-sizing:border-box;
}
.product-dialog .dialog-info,.product-dialog .dialog-info * {overflow-wrap:anywhere}
.product-card .product-media-trigger {
  width:100%;min-width:0;padding:0;color:inherit;cursor:pointer;font:inherit;
}
@media (max-width:900px) {
  .product-dialog[open] {width:min(100vw,680px);max-width:100vw;max-height:100dvh;box-sizing:border-box}
  .product-dialog .dialog-layout {grid-template-columns:minmax(0,1fr);min-height:0;width:100%;max-width:100%}
  .product-dialog .dialog-media,.product-dialog .dialog-info {min-width:0;width:100%;max-width:100%}
  .product-dialog .dialog-primary-image {
    height:auto;max-height:min(60dvh,560px);aspect-ratio:4/5;overflow:hidden;
  }
  .product-dialog .dialog-primary-image img {max-width:100%;width:100%;height:100%;object-fit:contain}
  .product-dialog .dialog-gallery-actions {padding-inline:.25rem}
}
@media (max-width:600px) {
  .product-dialog[open] {inset:0;margin:0;width:100vw;height:100dvh;max-height:100dvh;overflow-x:hidden}
  .product-dialog .dialog-primary-image {max-height:none;aspect-ratio:4/5}
  .product-dialog .dialog-gallery-actions {justify-content:space-between;gap:.3rem}
  .product-dialog .dialog-gallery-actions button {font-size:.9rem}
}
@media (max-width:900px) and (max-height:540px) and (orientation:landscape) {
  .product-dialog[open] {width:100vw;height:100dvh;max-height:100dvh;overflow-y:auto}
  .product-dialog .dialog-layout {grid-template-columns:minmax(0,1fr)}
  .product-dialog .dialog-primary-image {max-height:75dvh;aspect-ratio:4/3}
}
