.kstore-m5{background:#f5f5f7;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5}.kstore-m5 *{box-sizing:border-box}.kstore-m5__shell{max-width:1240px;margin:auto;padding:28px 24px 72px}.kstore-m5__trail{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:24px;color:#6e6e73;font-size:13px}.kstore-m5 a{color:inherit}.kstore-m5__trail a:hover,.kstore-m5__footer a:hover{text-decoration:underline}.kstore-m5__hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:40px;min-height:440px;padding:48px 56px;background:#fff;border-radius:28px;overflow:hidden}.kstore-m5__eyebrow{margin:0 0 12px;color:#77777f;font-size:12px;letter-spacing:.11em;text-transform:uppercase;font-weight:700}.kstore-m5 h1,.kstore-m5 h2,.kstore-m5 h3{color:#1d1d1f;letter-spacing:-.035em}.kstore-m5 h1{font-size:clamp(44px,5vw,72px);line-height:1.04;margin:0 0 20px;font-weight:700}.kstore-m5__hero-copy>p:not(.kstore-m5__eyebrow){max-width:530px;font-size:clamp(17px,1.6vw,21px);line-height:1.5;color:#56565b;margin:0 0 25px}.kstore-m5__hero-link,.kstore-m5__cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;background:#0071e3;color:#fff!important;font-size:15px;font-weight:600;padding:13px 22px;text-decoration:none!important;transition:background .18s ease,transform .18s ease}.kstore-m5__hero-link:hover,.kstore-m5__cta:hover{background:#005bb5;transform:translateY(-1px)}.kstore-m5__hero-image{display:flex;align-items:center;justify-content:center;min-width:0}.kstore-m5__hero-image img{display:block;max-width:100%;max-height:390px;object-fit:contain}.kstore-m5__config,.kstore-m5__editorial,.kstore-m5__faq{margin-top:36px;padding:48px 56px;border-radius:28px;background:#fff}.kstore-m5__section-head{max-width:690px}.kstore-m5 h2{font-size:clamp(30px,3vw,43px);line-height:1.14;margin:0 0 16px}.kstore-m5__section-head>p:last-child{margin:0;color:#6e6e73;font-size:16px}.kstore-m5__config-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:48px;margin-top:36px}.kstore-m5__steps{display:grid;gap:24px;align-content:start}.kstore-m5__step-title{font-size:17px;line-height:1.25;margin:0 0 11px;font-weight:700}.kstore-m5__choices{display:flex;flex-wrap:wrap;gap:9px}.kstore-m5__choice{border:1px solid #d2d2d7;border-radius:13px;background:#fff;color:#1d1d1f;padding:11px 15px;min-height:46px;font:600 14px/1.25 inherit;cursor:pointer;text-align:left}.kstore-m5__choice[aria-pressed="true"]{border:2px solid #0071e3;padding:10px 14px;background:#f0f7ff}.kstore-m5__choice:hover{border-color:#0071e3}.kstore-m5 :focus-visible{outline:3px solid #0066cc;outline-offset:3px}.kstore-m5__result{align-self:start;position:sticky;top:100px;background:#f5f5f7;border-radius:22px;padding:28px}.kstore-m5__result img{display:block;width:100%;height:210px;object-fit:contain;margin-bottom:18px}.kstore-m5__result-label{font-size:12px;font-weight:700;color:#6e6e73;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px}.kstore-m5__result h3{font-size:21px;line-height:1.3;margin:0 0 16px}.kstore-m5__price{font-size:33px;line-height:1.1;font-weight:700;margin:0 0 9px}.kstore-m5__price-note,.kstore-m5__message{font-size:13px;line-height:1.4;color:#6e6e73}.kstore-m5__price-note{margin:0 0 22px}.kstore-m5__message{margin:13px 0 0}.kstore-m5__editorial>p:not(.kstore-m5__eyebrow){max-width:760px;color:#56565b}.kstore-m5__editorial>h2:not(:first-of-type){font-size:28px;margin-top:40px}.kstore-m5__cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:30px 0}.kstore-m5__cards article{padding:28px;border:1px solid #e2e2e5;border-radius:20px;background:#fbfbfc}.kstore-m5__cards h3{font-size:23px;line-height:1.2;margin:0 0 12px}.kstore-m5__cards p{color:#56565b;font-size:15px;margin:0 0 20px}.kstore-m5__cards a{color:#0066cc;text-decoration:none;font-weight:600}.kstore-m5__cards a:hover{text-decoration:underline}.kstore-m5__faq details{border-top:1px solid #d2d2d7;padding:17px 0}.kstore-m5__faq details:last-child{border-bottom:1px solid #d2d2d7}.kstore-m5__faq summary{cursor:pointer;font-weight:650;font-size:17px}.kstore-m5__faq details p{max-width:760px;margin:14px 0 0;color:#56565b}.kstore-m5__footer{display:flex;flex-wrap:wrap;gap:15px;margin:24px 4px 0;color:#6e6e73;font-size:13px}
@media(max-width:800px){.kstore-m5__shell{padding:20px 16px 56px}.kstore-m5__hero{grid-template-columns:1fr;gap:22px;min-height:0;padding:34px 26px}.kstore-m5__hero-image{order:-1}.kstore-m5__hero-image img{max-height:250px}.kstore-m5__config,.kstore-m5__editorial,.kstore-m5__faq{padding:34px 26px;margin-top:18px}.kstore-m5__config-layout{grid-template-columns:1fr;gap:24px}.kstore-m5__result{position:static}.kstore-m5__result img{height:180px}}
@media(max-width:480px){.kstore-m5__shell{padding:12px 12px 40px}.kstore-m5__trail{margin:7px 5px 15px}.kstore-m5__hero,.kstore-m5__config,.kstore-m5__editorial,.kstore-m5__faq{border-radius:20px;padding:26px 20px}.kstore-m5 h1{font-size:43px}.kstore-m5__hero-copy>p:not(.kstore-m5__eyebrow){font-size:16px}.kstore-m5__hero-image img{max-height:205px}.kstore-m5__choice{font-size:13px}.kstore-m5__result{padding:21px}.kstore-m5__price{font-size:29px}}
@media(prefers-reduced-motion:reduce){.kstore-m5__hero-link,.kstore-m5__cta{transition:none}.kstore-m5__hero-link:hover,.kstore-m5__cta:hover{transform:none}}
.kstore-m5__feature{margin:28px 0 34px;border-radius:22px;overflow:hidden;background:#f5f5f7}
.kstore-m5__feature--dark{background:#070708;color:#f5f5f7}
.kstore-m5__feature img{display:block;width:100%;height:auto;object-fit:contain}
.kstore-m5__feature figcaption{padding:14px 19px 17px;font-size:14px;line-height:1.5;color:#626269}
.kstore-m5__feature--dark figcaption{color:#d5d5db}
.kstore-m5__hero .kstore-m5__main-title{font-size:clamp(44px,5vw,72px);line-height:1.04;margin:0 0 20px;font-weight:700}
.kstore-m5-teaser{margin:0 0 28px;padding:28px 32px;border-radius:22px;background:#f5f5f7;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.kstore-m5-teaser__eyebrow{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#6e6e73}
.kstore-m5-teaser h2{margin:0 0 10px;font-size:clamp(23px,3vw,34px);line-height:1.15;letter-spacing:-.03em;color:#1d1d1f}
.kstore-m5-teaser>p:not(.kstore-m5-teaser__eyebrow){margin:0 0 20px;color:#56565b}
.kstore-m5-teaser__links{display:flex;flex-wrap:wrap;gap:12px}
.kstore-m5-teaser__links a{display:inline-flex;align-items:center;gap:12px;padding:12px 17px;border-radius:999px;background:#0071e3;color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:650}
.kstore-m5-teaser__links a:hover{background:#005bb5}
@media(max-width:480px){.kstore-m5-teaser{padding:23px 20px}.kstore-m5-teaser__links a{width:100%;justify-content:space-between}}

/* Large product-first selector, matching the established iPhone configurator hierarchy. */
.kstore-m5{font-size:17px;line-height:1.6}
.kstore-m5__shell{max-width:1460px}
.kstore-m5__hero{min-height:530px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.kstore-m5__hero-image{min-height:420px;overflow:hidden;background:#fff}
.kstore-m5__hero-image img{width:138%;max-width:none;max-height:none;height:auto;flex:none}
.kstore-m5__config-layout{grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr);gap:clamp(26px,4vw,64px);align-items:start}
.kstore-m5__result{grid-column:1;grid-row:1;position:sticky;top:90px;padding:0 0 30px;border:1px solid #e5e5e9;background:#fff;overflow:hidden}
.kstore-m5__steps{grid-column:2;grid-row:1;gap:28px;padding:4px 0}
.kstore-m5__product-visual{height:clamp(410px,38vw,580px);position:relative;overflow:hidden;background:#fff}
.kstore-m5__product-visual img{position:absolute;display:block;left:50%;top:50%;transform:translate(-50%,-50%);width:138%;height:auto;max-width:none;max-height:none;margin:0;object-fit:contain}
.kstore-m5__result-label,.kstore-m5__result h3,.kstore-m5__availability,.kstore-m5__price,.kstore-m5__price-note,.kstore-m5__result .kstore-m5__cta,.kstore-m5__message{margin-left:32px;margin-right:32px}
.kstore-m5__result-label{font-size:13px}
.kstore-m5__result h3{font-size:clamp(21px,2vw,28px);line-height:1.3;margin-bottom:16px}
.kstore-m5__availability{margin-bottom:17px}
.kstore-m5__price{font-size:clamp(31px,3vw,44px);margin-bottom:10px}
.kstore-m5__price-note,.kstore-m5__message{font-size:15px;line-height:1.55}
.kstore-m5__step-title{font-size:21px;margin-bottom:12px}
.kstore-m5__choice{font-size:16px;min-height:56px;padding:15px 18px;border-radius:14px}
.kstore-m5__choice[aria-pressed="true"]{padding:14px 17px}
.kstore-m5__choice--color{display:inline-flex;align-items:center;gap:10px}
.kstore-m5__swatch{display:inline-block;width:22px;height:22px;border-radius:50%;border:1px solid #c7c7ce;flex:none}
.kstore-m5__swatch--skyblue{background:#b6cdd5}.kstore-m5__swatch--silver{background:#d9dce0}.kstore-m5__swatch--starlight{background:#eadfc5}.kstore-m5__swatch--midnight{background:#364356}.kstore-m5__swatch--spaceblack{background:#33353b}
.kstore-m5__editorial>p:not(.kstore-m5__eyebrow),.kstore-m5__cards p,.kstore-m5__faq details p{font-size:17px;line-height:1.65}
.kstore-m5__faq summary{font-size:19px}
.kstore-m5__highlights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:32px 0 38px}
.kstore-m5__highlights>div{padding:21px 19px;border-radius:18px;background:#f5f5f7;min-height:132px}
.kstore-m5__highlights strong{display:block;font-size:clamp(21px,2.2vw,30px);line-height:1.1;margin-bottom:11px;letter-spacing:-.04em}
.kstore-m5__highlights span{display:block;font-size:14px;color:#626269;line-height:1.45}
@media(max-width:920px){.kstore-m5__hero{grid-template-columns:1fr;gap:24px}.kstore-m5__hero-image{min-height:320px;order:-1}.kstore-m5__hero-image img{width:138%;max-width:none}.kstore-m5__config-layout{grid-template-columns:1fr}.kstore-m5__result,.kstore-m5__steps{grid-column:1;grid-row:auto}.kstore-m5__result{position:static}.kstore-m5__product-visual{height:380px}}
@media(max-width:600px){.kstore-m5__hero-image{min-height:235px}.kstore-m5__product-visual{height:300px}.kstore-m5__product-visual img{width:138%;left:50%}.kstore-m5__result-label,.kstore-m5__result h3,.kstore-m5__availability,.kstore-m5__price,.kstore-m5__price-note,.kstore-m5__result .kstore-m5__cta,.kstore-m5__message{margin-left:20px;margin-right:20px}.kstore-m5__step-title{font-size:19px}.kstore-m5__choice{font-size:15px;min-height:51px}.kstore-m5__config,.kstore-m5__editorial,.kstore-m5__faq{padding:28px 20px}.kstore-m5__highlights{grid-template-columns:repeat(2,minmax(0,1fr))}}
.kstore-m5__size-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.kstore-m5__size-links a{display:inline-flex;align-items:center;min-height:45px;padding:10px 17px;border:1px solid #d2d2d7;border-radius:999px;color:#1d1d1f;text-decoration:none;font-size:15px;font-weight:650}.kstore-m5__size-links a[aria-current=page]{border-color:#0071e3;background:#edf6ff;color:#005bb5}.kstore-m5__size-links a:hover{border-color:#0071e3;color:#005bb5}
.kstore-m5-model-nav{display:flex;flex-wrap:wrap;gap:10px;max-width:1460px;margin:0 auto 18px;padding:0 2px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.kstore-m5-model-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:1px solid #d2d2d7;border-radius:999px;background:#fff;color:#1d1d1f!important;font-size:16px;font-weight:650;line-height:1.2;text-decoration:none!important}
.kstore-m5-model-nav a:hover{border-color:#0071e3;color:#005bb5!important}
.kstore-m5-model-nav a[aria-current=page]{border-color:#0071e3;background:#0071e3;color:#fff!important}
.kstore-m5__hero-image img{width:100%;max-width:100%;max-height:450px;object-fit:contain}
.kstore-m5__product-visual img{width:100%;max-width:100%;max-height:100%;object-fit:contain}
@media(max-width:920px){.kstore-m5__hero-image img{width:100%;max-width:100%}}
@media(max-width:600px){.kstore-m5-model-nav{flex-wrap:nowrap;overflow-x:auto;padding:0 0 8px;scrollbar-width:thin}.kstore-m5-model-nav a{flex:none;font-size:14px;min-height:44px;padding:9px 14px}.kstore-m5__hero-image img,.kstore-m5__product-visual img{width:100%;max-width:100%}}
.kstore-m5[data-family="Pro"] .kstore-m5__hero-image img{width:118%;max-width:none}
.kstore-m5[data-family="Pro"] .kstore-m5__product-visual img{width:118%;max-width:none}
.kstore-m5--picker{margin:0 0 30px;border-radius:24px}
.kstore-m5--picker .kstore-m5__shell{padding-top:16px;padding-bottom:28px}
.kstore-m5--picker .kstore-m5__config{margin-top:0}
.kstore-m5__offers{margin-top:30px;border-top:1px solid #dedee3;padding-top:18px;color:#56565b}
.kstore-m5__offers summary{cursor:pointer;font-size:16px;font-weight:650;color:#0066cc}
.kstore-m5__offers ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px 18px;margin:18px 0 0;padding-left:22px}
.kstore-m5__offers li{font-size:14px;line-height:1.45}
.kstore-m5__offers a{color:#0066cc;text-decoration:underline;text-underline-offset:2px}
.kstore-m5__swatch--blush{background:#ebc7d8}
.kstore-m5__swatch--citrus{background:#e9d685}
.kstore-m5__swatch--indigo{background:#304274}
@media(max-width:600px){.kstore-m5--picker{border-radius:18px}.kstore-m5--picker .kstore-m5__shell{padding:10px}.kstore-m5__offers ul{grid-template-columns:1fr}}

/* Compact selector controls; the product visual remains the dominant element. */
.kstore-m5--picker .kstore-m5__config{padding:28px 32px}
.kstore-m5--picker .kstore-m5__section-head{max-width:760px}
.kstore-m5--picker .kstore-m5__section-head h2{font-size:clamp(25px,2.5vw,34px);margin-bottom:7px}
.kstore-m5--picker .kstore-m5__section-head>p:last-child{font-size:15px;line-height:1.45}
.kstore-m5--picker .kstore-m5__config-layout{gap:clamp(22px,3vw,42px);margin-top:19px}
.kstore-m5--picker .kstore-m5__steps{gap:13px;padding:0}
.kstore-m5--picker .kstore-m5__step-title{font-size:16px;margin:0 0 7px}
.kstore-m5--picker .kstore-m5__choices{gap:7px}
.kstore-m5--picker .kstore-m5__choice{min-height:44px;padding:9px 12px;font-size:14px;line-height:1.2;border-radius:11px}
.kstore-m5--picker .kstore-m5__choice[aria-pressed="true"]{padding:8px 11px}
.kstore-m5--picker .kstore-m5__swatch{width:18px;height:18px}
.kstore-m5--picker .kstore-m5__result{padding:0 0 22px}
.kstore-m5--picker .kstore-m5__product-visual{height:clamp(410px,37vw,550px)}
.kstore-m5--picker .kstore-m5__product-visual img{width:112%;max-width:none;max-height:none}
.kstore-m5--picker[data-family="Pro"] .kstore-m5__product-visual img{width:133%;max-width:none}
.kstore-m5--picker .kstore-m5__result-label,.kstore-m5--picker .kstore-m5__result h3,.kstore-m5--picker .kstore-m5__availability,.kstore-m5--picker .kstore-m5__price,.kstore-m5--picker .kstore-m5__result .kstore-m5__cta,.kstore-m5--picker .kstore-m5__message{margin-left:22px;margin-right:22px}
.kstore-m5--picker .kstore-m5__result h3{font-size:clamp(19px,1.8vw,24px);margin-bottom:9px}
.kstore-m5--picker .kstore-m5__availability{margin-bottom:10px}
.kstore-m5--picker .kstore-m5__price{font-size:clamp(29px,2.6vw,38px);margin-bottom:13px}
.kstore-m5--picker .kstore-m5__price-note{display:none}
.kstore-m5--picker [hidden]{display:none!important}
.kstore-m5--picker .kstore-m5__message:empty{display:none}
.kstore-m5--picker .kstore-m5__offers{margin-top:18px}
@media(max-width:920px){.kstore-m5--picker .kstore-m5__product-visual{height:390px}}
@media(max-width:600px){.kstore-m5--picker .kstore-m5__config{padding:22px 16px}.kstore-m5--picker .kstore-m5__config-layout{gap:17px}.kstore-m5--picker .kstore-m5__product-visual{height:310px}.kstore-m5--picker .kstore-m5__product-visual img{width:112%;max-width:none}.kstore-m5--picker[data-family="Pro"] .kstore-m5__product-visual img{width:132%;max-width:none}.kstore-m5--picker .kstore-m5__choice{min-height:44px;font-size:14px}.kstore-m5--picker .kstore-m5__result-label,.kstore-m5--picker .kstore-m5__result h3,.kstore-m5--picker .kstore-m5__availability,.kstore-m5--picker .kstore-m5__price,.kstore-m5--picker .kstore-m5__result .kstore-m5__cta,.kstore-m5--picker .kstore-m5__message{margin-left:18px;margin-right:18px}}

/* Editorial guides below the compact catalog: information first, no duplicate SKU specs. */
.ks-mac-guide{max-width:1220px;margin:18px auto 32px;padding:clamp(26px,4vw,56px);background:#f5f5f7;border-radius:26px;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.ks-mac-guide *{box-sizing:border-box}.ks-mac-guide h2{font-size:clamp(30px,3vw,44px);line-height:1.14;letter-spacing:-.035em;margin:0 0 17px}.ks-mac-guide h3{font-size:clamp(21px,2vw,29px);line-height:1.22;letter-spacing:-.025em;margin:0 0 10px}.ks-mac-guide p,.ks-mac-guide li{font-size:17px;line-height:1.65;color:#4d4d54}.ks-mac-guide p{margin:0 0 15px}.ks-mac-guide__lead{max-width:780px;font-size:19px!important}.ks-mac-guide__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0}.ks-mac-guide__card{background:#fff;border:1px solid #e4e4e8;border-radius:20px;padding:24px}.ks-mac-guide__card p{font-size:15px;margin-bottom:16px}.ks-mac-guide a{color:#005bb5;text-decoration:underline;text-underline-offset:3px}.ks-mac-guide__split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:30px;margin:42px 0}.ks-mac-guide__split--reverse>figure{order:-1}.ks-mac-guide figure{margin:0;background:#fff;border-radius:20px;overflow:hidden}.ks-mac-guide figure img{display:block;width:100%;height:auto;object-fit:contain}.ks-mac-guide figcaption{padding:10px 18px 17px;color:#626269;font-size:13px;line-height:1.45}.ks-mac-guide__faq{margin-top:35px}.ks-mac-guide__faq details{border-top:1px solid #d1d1d6;padding:15px 0}.ks-mac-guide__faq details:last-child{border-bottom:1px solid #d1d1d6}.ks-mac-guide__faq summary{cursor:pointer;font-size:17px;font-weight:650}.ks-mac-guide__faq details p{margin:10px 0 0;max-width:790px}
@media(max-width:800px){.ks-mac-guide__grid{grid-template-columns:1fr}.ks-mac-guide__split{grid-template-columns:1fr;gap:15px}.ks-mac-guide__split--reverse>figure{order:0}.ks-mac-guide{border-radius:20px}.ks-mac-guide p,.ks-mac-guide li{font-size:16px}}

/* The list stays terse; the delivery estimate remains on the full product page. */
body:has(.kstore-m5--picker) .ks-macbook-category .catalog_block .catalog_item .kstore-availability-badge__secondary{display:none!important}

/* Product gallery: keep the whole chassis visible, especially the Neo. */
.kstore-m5--picker .kstore-m5__product-visual{display:grid;place-items:center;height:clamp(400px,44vw,560px);padding:12px}
.kstore-m5--picker .kstore-m5__product-visual img,.kstore-m5--picker[data-family="Pro"] .kstore-m5__product-visual img{position:absolute;left:12px;top:12px;transform:none;width:calc(100% - 24px);max-width:calc(100% - 24px);height:calc(100% - 24px);max-height:calc(100% - 24px);margin:0;object-fit:contain}
.kstore-m5__gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;padding:12px 22px 4px;background:#fff}
.kstore-m5__gallery-thumb{display:grid;place-items:center;min-width:0;height:84px;padding:4px;border:1px solid #d5d5da;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.kstore-m5__gallery-thumb:hover{transform:translateY(-2px);border-color:#8c8c93}
.kstore-m5__gallery-thumb[aria-pressed="true"]{border:2px solid #0071e3;box-shadow:0 0 0 2px #e8f2ff}
.kstore-m5__gallery-thumb img,.kstore-m5--picker .kstore-m5__gallery-thumb img{position:static;transform:none;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;object-fit:contain}
.kstore-m5__gallery-caption{min-height:30px;margin:3px 22px 15px;color:#6e6e73;font-size:12px;line-height:1.4}
@media(max-width:600px){.kstore-m5--picker .kstore-m5__product-visual{height:310px;padding:8px}.kstore-m5--picker .kstore-m5__product-visual img,.kstore-m5--picker[data-family="Pro"] .kstore-m5__product-visual img{left:8px;top:8px;width:calc(100% - 16px);max-width:calc(100% - 16px);height:calc(100% - 16px);max-height:calc(100% - 16px)}.kstore-m5__gallery{gap:5px;padding:8px 14px 2px}.kstore-m5__gallery-thumb{height:59px;border-radius:9px}.kstore-m5__gallery-caption{margin:3px 14px 12px}}
@media(prefers-reduced-motion:reduce){.kstore-m5__gallery-thumb{transition:none}.kstore-m5__gallery-thumb:hover{transform:none}}

/* Long-form, model-specific guides below the catalog. */
.ks-mac-guide__chapter{margin:52px 0 0;padding:clamp(24px,3.8vw,46px);border-radius:24px;background:#fff}
.ks-mac-guide__chapter--dark{background:#161619;color:#f5f5f7}
.ks-mac-guide__chapter--dark h3,.ks-mac-guide__chapter--dark p{color:#f5f5f7}
.ks-mac-guide__chapter--dark p{color:#d6d6dc}
.ks-mac-guide__kicker{margin:0 0 9px!important;color:#0066cc!important;font-size:12px!important;line-height:1.4!important;letter-spacing:.12em;text-transform:uppercase;font-weight:750}
.ks-mac-guide__chapter--dark .ks-mac-guide__kicker{color:#90c5ff!important}
.ks-mac-guide__chapter h3{font-size:clamp(26px,2.8vw,40px);max-width:900px;margin-bottom:17px}
.ks-mac-guide__chapter>p:not(.ks-mac-guide__kicker){max-width:920px}
.ks-mac-guide__decision{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:27px}
.ks-mac-guide__decision>div{padding:22px;border-radius:17px;background:#f5f5f7}
.ks-mac-guide__decision b{display:block;margin-bottom:8px;color:#1d1d1f;font-size:20px;letter-spacing:-.025em}
.ks-mac-guide__decision span,.ks-mac-guide__specs span{display:block;color:#585861;font-size:15px;line-height:1.55}
.ks-mac-guide__specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0}
.ks-mac-guide__specs>div{padding:19px 21px;border:1px solid #e6e6ea;border-radius:15px}
.ks-mac-guide__specs strong{display:block;color:#1d1d1f;font-size:17px;margin-bottom:6px}
.ks-mac-guide__faq--extra{margin:46px 0 8px;padding:0 clamp(4px,1vw,12px)}
.ks-mac-guide__faq--extra h3{font-size:clamp(23px,2.3vw,32px)}
@media(min-width:801px) and (prefers-reduced-motion:no-preference){.ks-mac-guide--motion .ks-mac-guide__chapter:not(.is-visible){opacity:0;transform:translateY(24px)}.ks-mac-guide--motion .ks-mac-guide__chapter{transition:opacity .6s cubic-bezier(.23,1,.32,1),transform .6s cubic-bezier(.23,1,.32,1)}}
@media(max-width:800px){.ks-mac-guide__decision,.ks-mac-guide__specs{grid-template-columns:1fr}.ks-mac-guide__chapter{margin-top:28px;border-radius:19px}.ks-mac-guide__decision>div{padding:19px}}

.kstore-m5__zoom{display:inline-flex;align-items:center;gap:8px;margin:0 22px 17px;padding:7px 0;border:0;background:none;color:#0066cc;font:600 14px/1.3 inherit;cursor:pointer}
.kstore-m5__zoom:hover{text-decoration:underline;text-underline-offset:3px}
.kstore-m5__photo-dialog{width:min(94vw,1400px);max-width:none;max-height:94vh;margin:auto;padding:45px 22px 20px;border:0;border-radius:20px;background:#fff;box-shadow:0 24px 90px rgba(0,0,0,.3)}
.kstore-m5__photo-dialog::backdrop{background:rgba(0,0,0,.72)}
.kstore-m5 .kstore-m5__photo-dialog img{display:block;position:static;width:100%;max-width:100%;height:auto;max-height:calc(94vh - 70px);margin:0;object-fit:contain;transform:none}
.kstore-m5__photo-close{position:absolute;right:12px;top:9px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:#eeeef2;color:#1d1d1f;font:28px/1 Arial,sans-serif;cursor:pointer}
@media(max-width:600px){.kstore-m5__zoom{margin:0 14px 14px}.kstore-m5__photo-dialog{padding:44px 10px 10px;border-radius:14px}.kstore-m5 .kstore-m5__photo-dialog img{height:auto;max-height:calc(94vh - 60px)}}

/* The selected finish owns every slide. Controls stay clear of the caption. */
.kstore-m5--picker .kstore-m5__product-visual{touch-action:pan-y}
.kstore-m5__gallery-arrow{position:absolute;z-index:2;top:50%;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d2d2d7;border-radius:50%;background:rgba(255,255,255,.9);color:#1d1d1f;box-shadow:0 2px 12px rgba(0,0,0,.08);font:32px/1 Arial,sans-serif;cursor:pointer;transform:translateY(-50%)}
.kstore-m5__gallery-arrow--prev{left:14px}
.kstore-m5__gallery-arrow--next{right:14px}
.kstore-m5__gallery-arrow:hover{background:#fff;border-color:#86868b}
.kstore-m5__gallery-arrow[hidden]{display:none}
.kstore-m5__gallery{display:flex;align-items:center;justify-content:center;gap:2px;min-height:48px;padding:4px 22px 0;background:#fff}
.kstore-m5__gallery-dot{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.kstore-m5__gallery-dot span{display:block;width:8px;height:8px;border-radius:50%;background:#b7b7be;transition:background .18s ease,transform .18s ease}
.kstore-m5__gallery-dot[aria-pressed="true"] span{background:#1d1d1f;transform:scale(1.35)}
.kstore-m5__gallery-dot:hover span{background:#6e6e73}
.kstore-m5__gallery-caption{position:static;min-height:0;margin:0;padding:2px 22px 13px;color:#6e6e73;font-size:13px;line-height:1.5;text-align:center}
@media(max-width:600px){.kstore-m5__gallery-arrow{width:40px;height:40px;font-size:29px}.kstore-m5__gallery-arrow--prev{left:9px}.kstore-m5__gallery-arrow--next{right:9px}.kstore-m5__gallery{min-height:44px;padding:0 10px}.kstore-m5__gallery-dot{width:40px;height:40px}.kstore-m5__gallery-caption{padding:2px 14px 12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.kstore-m5__gallery-dot span{transition:none}}

/* Full-size Air 15 source photos already fill the frame; never scale past the laptop edges. */

/* Pro hero cutouts contain wide transparent margins; enlarge the pictured laptop without clipping its chassis. */
.kstore-m5--picker[data-family="Pro"] .kstore-m5__product-visual img[src*="/local/images/macbook-m5/pro-"][src$="-m5-cutout.png"]{transform:scale(1.25)}
@media(max-width:600px){
.kstore-m5--picker[data-family="Pro"] .kstore-m5__product-visual img[src*="/local/images/macbook-m5/pro-"][src$="-m5-cutout.png"]{transform:scale(1.14)}
}
