/* Scoped Magic 9 purchase-page gallery and English highlights. */
.purchase-page .purchase-gallery{overflow:hidden;background:#f5f5f5}
.purchase-gallery-track{display:flex;width:100%;aspect-ratio:1;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.purchase-gallery-track::-webkit-scrollbar{display:none}
.purchase-gallery-slide{flex:0 0 100%;height:100%;min-width:0;margin:0;padding:25px 28px 12px;scroll-snap-align:start;scroll-snap-stop:always;display:grid;place-items:center}
.purchase-gallery-slide img{width:100%;height:100%;object-fit:contain;max-height:100%;user-select:none;-webkit-user-drag:none}
.purchase-gallery-navigation{display:flex;justify-content:center;align-items:center;padding-bottom:12px}
.purchase-page .gallery-controls{gap:0;height:34px}
.purchase-page .gallery-controls button{display:grid;place-items:center;width:28px;height:32px;position:relative;background:transparent;border-radius:0;cursor:pointer}
.purchase-page .gallery-controls button:after{content:"";width:5px;height:5px;border-radius:50%;background:#bbb}
.purchase-page .gallery-controls button.active:after{background:#111}
.purchase-page .purchase-info{padding-top:22px}
.purchase-page .purchase-memory{font-size:12px}
.purchase-page .purchase-memory span{margin:0}
.purchase-page .purchase-memory>span:nth-child(2){margin:0 6px}
.purchase-page .purchase-service{font-size:9px;line-height:1.6}
.purchase-page .purchase-service span{margin:0 3px}
.purchase-page .colour-options{gap:14px;padding:4px 2px}
.purchase-page .colour-options button{position:relative;cursor:pointer}
.purchase-page .colour-options button:before{content:"";position:absolute;inset:-8px;border-radius:50%}
.purchase-page .colour-options button[data-colour=green]{background:linear-gradient(135deg,#bdcb77,#627b35)}
.purchase-page .colour-options button[data-colour=black]{background:linear-gradient(135deg,#555b69,#252a36)}
.purchase-page .colour-options button[data-colour=silver]{background:linear-gradient(135deg,#f3f4f6,#a4a9b1)}
.purchase-page .memory-options button{cursor:pointer}
.purchase-page button:focus-visible,.purchase-page a:focus-visible,.purchase-gallery-track:focus-visible{outline:2px solid #537bcd;outline-offset:3px}
.purchase-page .purchase-note{position:fixed;z-index:36;bottom:calc(77px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(min(100vw,480px) - 32px);min-height:0;padding:12px 16px;margin:0;border-radius:4px;line-height:1.5;font-size:12px;color:#fff;background:#111e;box-shadow:0 4px 24px #0002;opacity:0;pointer-events:none;transition:opacity .2s}
.purchase-page .purchase-note:not(:empty){opacity:1}
.purchase-english-details{background:#080b07;color:#fff}
.purchase-feature{overflow:hidden;padding:40px 24px 0;background:radial-gradient(ellipse at 70% 100%,#374b22 0%,#10180d 45%,#080b07 90%)}
.purchase-feature-copy{position:relative;z-index:1}
.purchase-feature .feature-eyebrow{color:#b8c993;letter-spacing:.15em;font-size:9px;line-height:1.4;margin:0 0 14px}
.purchase-feature h2{font-size:34px;line-height:1.1;letter-spacing:-.045em;font-weight:400;margin:0 0 18px}
.purchase-feature-copy>p:not(.feature-eyebrow){font-size:13px;color:#c2c8bb;line-height:1.65;margin:0;max-width:33ch}
.purchase-detail .purchase-feature>img{display:block;width:100%;height:320px;object-fit:contain;margin-top:25px}
.purchase-feature-grid{padding:10px 24px 32px;display:grid;grid-template-columns:1fr 1fr;gap:24px 18px;background:#10170d}
.purchase-feature-grid article{padding-top:22px;border-top:1px solid #ffffff26}
.purchase-feature-grid article>span{display:block;color:#c2d795;font-size:24px;letter-spacing:-.035em;margin-bottom:9px}
.purchase-feature-grid h3{font-size:15px;line-height:1.3;font-weight:400;margin:0 0 10px;letter-spacing:-.02em}
.purchase-feature-grid p{font-size:11px;color:#aab3a2;line-height:1.65;margin:0}
.purchase-feature-performance{padding-top:38px;background:#080b07}
.purchase-feature-metric{margin-top:25px}
.purchase-feature-metric strong{font-size:48px;line-height:1;font-weight:400;letter-spacing:-.05em;color:#c2d795}
.purchase-feature-metric strong span{font-size:17px;margin-left:3px;letter-spacing:-.02em}
.purchase-feature-metric p{font-size:12px;line-height:1.6;color:#aab3a2;max-width:28ch}
.purchase-detail .purchase-feature-performance>img{height:300px}
.purchase-feature-grid-last{background:#080b07}
.purchase-footer{padding:28px 24px;color:#aab3a2;border-top:1px solid #ffffff26}
.purchase-footer a{font-size:11px;color:#fff}
.purchase-footer p{font-size:9px;margin:22px 0 0}
@media(prefers-reduced-motion:reduce){.purchase-gallery-track{scroll-behavior:auto}.purchase-page .purchase-note{transition:none}}

.purchase-specs-disclosure{margin:23px 0 0;border:1px solid #e7e7e7;background:#fafafa}
.purchase-spec-summary{display:block;width:100%;background:none;border:0;text-align:left;padding:17px 12px 12px;cursor:pointer}
.purchase-spec-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.purchase-spec-metrics>span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:68px;padding:5px 2px;border:1px solid #bababa;border-radius:7px;font-size:18px;line-height:1.15;text-align:center;font-weight:400;letter-spacing:-.035em}
.purchase-spec-toggle{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:12px;font-size:12px;line-height:1.3;color:#555}
.purchase-spec-toggle b{font-size:20px;font-weight:400;line-height:1;transition:transform .2s}
.purchase-spec-summary[aria-expanded=true] .purchase-spec-toggle b{transform:rotate(180deg)}
.purchase-spec-details[hidden]{display:none}
.purchase-spec-details article{display:grid;grid-template-columns:20px minmax(0,1fr);gap:9px;padding:19px 14px;border-top:1px solid #e2e2e2}
.purchase-spec-number{font-size:10px;line-height:1.5;padding-top:3px;color:#999}
.purchase-page .purchase-spec-details h2{margin:0 0 8px;font-size:20px;line-height:1.3;font-weight:400;letter-spacing:-.025em}
.purchase-spec-details p{margin:0;font-size:14px;line-height:1.55;color:#666}
@media(prefers-reduced-motion:reduce){.purchase-spec-toggle b{transition:none}}

/* Shared purchase layout uses each product's own imagery and finish palette. */
.purchase-spec-metrics>span{font-size:clamp(14px,4.6vw,18px);overflow-wrap:anywhere}
.purchase-english-details[style] .purchase-feature{background:radial-gradient(ellipse at 70% 100%,var(--product-surface) 0%,#101112 50%,#080a0c 95%)}
.purchase-english-details[style] .feature-eyebrow,.purchase-english-details[style] .purchase-feature-grid article>span{color:var(--product-accent)}
.purchase-english-details[style] .purchase-feature-grid{background:var(--product-surface)}
.purchase-feature-finish{padding-bottom:30px}
.purchase-finish-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;margin-top:26px}
.purchase-finish-grid figure{margin:0;min-width:0}
.purchase-finish-grid img{width:100%;height:170px;object-fit:contain}
.purchase-finish-grid figcaption{text-align:center;color:#c6c6c6;font-size:10px;line-height:1.3;margin-top:12px}
.purchase-family-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.purchase-family-links a{font-size:10px;color:#bdbdbd}

/* Purchase CTAs keep the existing size and now navigate to product configuration. */
.purchase-page .purchase-bar a{display:flex;align-items:center;justify-content:center;height:39px;border:1px solid #111;background:#fff;font-size:9px;text-align:center}
.purchase-page .purchase-bar .buy-action{background:#050505;color:#fff}
#purchase-configuration{scroll-margin-top:80px}
