/* Public storefront only: keep checkout, admin, and register styles intact. */
.storefront{--catalog-border:#e3e5e8;--catalog-well:#f4f5f7;--catalog-pink:#fff0f3;--rail:240px;--store-gap:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.storefront .container{max-width:1512px;width:calc(100% - 80px)}
.storefront-head{background:#fff;border-bottom:1px solid var(--catalog-border);position:sticky;top:0;z-index:10}
.storefront .header{min-height:64px;gap:20px;padding:0}
.storefront .header>a:first-child{flex:0 0 var(--rail)}
.storefront .header .logo{font-size:34px;letter-spacing:-1.7px}
.storefront .header-actions{gap:14px;margin-left:16px}
.storefront .header-actions .icon-btn{border-radius:10px;color:#17181d}
.storefront .header-actions .icon-btn:hover{background:var(--catalog-well)}
.storefront .header-actions #favorites[aria-pressed=true]{color:var(--red);background:#fff1f3}
.storefront .header .search{height:42px;background:#fff;border:1px solid #d6d8dc;gap:12px;padding-inline:14px}
.storefront .header .search:focus-within{border-color:var(--red)}
.storefront .header .search svg{width:20px;height:20px;color:#65666d;flex:none}
.storefront .header .search input{outline:0;font-size:14px}
.storefront #catalogToggle{display:none}
.storefront.product-view .header>a:first-child{flex:0 0 auto}
.storefront.product-view #catalogToggle{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--catalog-border);border-radius:9px;font-size:13px;min-height:42px;padding:6px 14px}
.storefront.product-view #catalogToggle svg{width:19px;height:19px}
.storefront-frame{display:grid;grid-template-columns:var(--rail) minmax(0,1fr);column-gap:var(--store-gap);min-height:65vh}
.storefront.product-view .storefront-frame{display:block}
.storefront-main{min-width:0;padding:18px 0 32px}
.storefront.product-view .storefront-main{padding-top:0}
.storefront-side{border-right:1px solid var(--catalog-border);padding:27px 11px 24px 0}
.side-nav{display:grid;align-content:start;gap:4px}
.storefront-side .side-nav{position:sticky;top:91px;max-height:calc(100dvh - 111px);overflow-y:auto;scrollbar-width:thin}
.side-nav>a{display:grid;grid-template-columns:22px minmax(0,1fr) 12px;align-items:center;gap:14px;min-height:43px;padding:9px 11px 9px 14px;border-left:3px solid transparent;border-radius:8px;font-size:14px;font-weight:600;line-height:1.25}
.side-nav>a svg:first-child{width:21px;height:21px}.side-nav>a svg:last-child{width:12px;height:12px;color:#797c82}
.side-nav>a:hover{background:var(--catalog-well)}
.side-nav>a[aria-current=page]{border-color:var(--red);background:var(--catalog-pink);font-weight:700}
.side-nav>a[aria-current=page] svg:first-child{color:var(--red)}
.side-nav .category-retry{color:#a60014;text-align:left;padding:10px;font-size:13px}
.storefront #catalogDrawer{position:fixed;inset:0 auto 0 0;margin:0;width:min(340px,calc(100vw - 28px));height:100dvh;max-height:100dvh;max-width:none;border:0;border-radius:0 18px 18px 0;padding:15px;overflow:auto}
.storefront #catalogDrawer h2{font-size:25px;margin:0;letter-spacing:-.7px}
.drawer-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px;padding:0 0 10px;border-bottom:1px solid var(--catalog-border)}
.drawer-account{display:flex;align-items:center;gap:12px;padding:12px;margin-top:12px;border-top:1px solid var(--catalog-border);font-size:14px;font-weight:600}
body:has(#catalogDrawer[open]){overflow:hidden}
.iphone-hero{position:relative;isolation:isolate;min-height:236px;border-radius:20px;overflow:hidden;display:flex;align-items:center;background:var(--catalog-pink);padding:30px clamp(24px,4vw,60px)}
.iphone-hero-copy{position:relative;z-index:1;max-width:58%}
.iphone-hero h1{color:#0b0c0e;font-size:clamp(35px,4.2vw,54px);line-height:1.04;font-weight:800;letter-spacing:-.05em;margin:0 0 12px}
.iphone-hero p{font-size:clamp(15px,1.4vw,20px);color:#343640;line-height:1.4;margin:0 0 20px}
.iphone-hero .primary{min-height:44px;padding:10px 22px;border-radius:9px;font-size:15px;font-weight:700;white-space:nowrap}
.iphone-hero .primary:hover{background:#d80823}
.iphone-hero img{position:absolute;z-index:0;right:13%;top:-23px;width:clamp(215px,24vw,371px);height:auto;max-width:43%;pointer-events:none}
.storefront-frame .section-heading{margin:15px 0 11px}
.storefront-frame .section-heading h1,.storefront-frame .section-heading h2{font-size:clamp(24px,2.3vw,33px);font-weight:810;line-height:1.15;letter-spacing:-.05em}
.storefront .catalog-section{scroll-margin-top:88px}
.iphone-models{display:flex;gap:8px;overflow:auto;padding:2px 2px 7px;margin:0 0 9px;scrollbar-width:thin;scrollbar-color:#d7dade transparent}
.iphone-models a{display:inline-flex;align-items:center;min-height:37px;white-space:nowrap;border:1px solid var(--catalog-border);padding:6px 16px;border-radius:999px;font-size:13px;font-weight:650}
.iphone-models a:hover{border-color:#d6283d;color:#bc081d}
.iphone-models a[aria-current=page]{background:#dd0624;color:#fff;border-color:#dd0624}
.storefront-frame .catalog-section .filter-row{margin:0 0 12px}
.storefront-frame .catalog-section .filter-row select{padding:8px 12px;min-height:38px}
.storefront-frame :is(.catalog-section,.more-products) .product-grid,.storefront-frame .catalog-skeleton{gap:10px}
.storefront-frame :is(.catalog-section,.more-products) .product-card{
 padding:0 0 12px;border:1px solid #dedfe3;border-radius:15px;overflow:hidden;gap:10px;
 transition:border-color .18s ease,box-shadow .18s ease;
}
.storefront-frame :is(.catalog-section,.more-products) .product-card:hover{border-color:#c5c7cd;box-shadow:0 4px 14px #1315200a}
.storefront-frame :is(.catalog-section,.more-products) .product-open{text-align:center}
.storefront-frame :is(.catalog-section,.more-products) .product-open:focus-visible{outline-offset:-3px}
.storefront-frame :is(.catalog-section,.more-products) .product-open .product-photo{
 aspect-ratio:1;max-height:none;object-fit:contain;background:var(--catalog-well);border-radius:0;
 mix-blend-mode:multiply;margin:0 0 10px;
}
.storefront-frame :is(.catalog-section,.more-products) .product-open h3{font-weight:730;font-size:16px;line-height:1.3;margin:0 10px;min-height:2.6em;-webkit-line-clamp:2;overflow-wrap:anywhere}
.storefront-frame :is(.catalog-section,.more-products) .product-meta{font-size:12px;line-height:1.4;color:#595d66;margin:4px 10px 0;overflow-wrap:anywhere}
.storefront-frame :is(.catalog-section,.more-products) .product-bottom{padding:0 10px;flex-flow:row-reverse wrap;align-items:flex-end;gap:6px;text-align:right}
.storefront-frame :is(.catalog-section,.more-products) .product-bottom>div{flex:1;min-width:max-content}
.storefront-frame :is(.catalog-section,.more-products) .product-bottom strong{font-size:clamp(17px,1.5vw,23px);font-weight:800;letter-spacing:-.045em}
.storefront-frame :is(.catalog-section,.more-products) .availability{font-size:11px;margin:4px 0 3px}.storefront-frame :is(.catalog-section,.more-products) .availability.in-stock{color:#156439}
.storefront-frame :is(.catalog-section,.more-products) .add{
 flex:0 0 auto;width:auto;min-height:40px;height:auto;padding:8px 13px;border-radius:8px;
 background:var(--red);color:#fff;font-size:13px;font-weight:700;white-space:nowrap;
}
.storefront-frame :is(.catalog-section,.more-products) .add:hover:not(:disabled){background:#d80823}
.storefront-frame :is(.catalog-section,.more-products) .favorite{background:#fff;min-width:36px;min-height:36px;padding:7px;right:11px;top:11px}
.storefront-frame :is(.catalog-section,.more-products) .favorite svg{width:19px;height:19px}
.storefront-frame .skeleton-card{padding:0 0 12px;overflow:hidden}
.storefront-frame .skeleton-card span{border-radius:0;margin-bottom:10px}
.storefront-frame .skeleton-card :is(i,b){margin-inline:10px}
.storefront-frame .more-products{margin-top:14px}
.storefront-frame .more-products .section-heading h2{font-size:26px}
.storefront-frame .more-products .section-heading .text-link{min-height:32px}
.storefront .iphone-purchase-facts{display:flex;flex-wrap:wrap;gap:6px 12px;color:#4e525c;font-size:13px;margin:14px 0 0}
.storefront .iphone-purchase-facts span+span::before{content:'·';margin-right:12px;color:#9499a4}
@media(max-width:1150px){.storefront{--rail:202px;--store-gap:16px}.storefront .container{width:calc(100% - 40px)}.storefront .header .logo{font-size:30px}.storefront-frame :is(.catalog-section,.more-products) .product-grid,.storefront-frame .catalog-skeleton{grid-template-columns:repeat(3,minmax(0,1fr))}.iphone-hero img{right:7%}}
@media(max-width:900px){.storefront-frame{display:block}.storefront-side{display:none}.storefront .header>a:first-child{flex:0 0 auto}.storefront #catalogToggle{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--catalog-border);border-radius:9px;font-size:13px;min-height:42px;padding:6px 12px}.storefront #catalogToggle svg{width:20px;height:20px}.iphone-hero img{right:12%}}
@media(max-width:760px){
 .storefront .container{width:calc(100% - 28px)}.storefront .header{grid-template-columns:82px minmax(0,1fr) 82px;gap:7px;padding:6px 0 9px}.storefront .header .logo{font-size:29px}.storefront .header-actions{margin:0;gap:1px}.storefront .header-actions .account-link{display:none}.storefront .header-actions .icon-btn{min-width:40px;min-height:40px}.storefront .header #catalogToggle{justify-self:start;display:inline-flex;align-items:center;justify-content:center;border:0;padding:8px;min-width:44px;min-height:44px}.storefront .header #catalogToggle svg{width:24px;height:24px}
 .storefront .header .search{height:43px}.storefront .header .search input{font-size:16px}.storefront .storefront-main{padding-top:12px}.storefront.product-view .storefront-main{padding-top:0}.storefront .catalog-section{scroll-margin-top:120px}
 .iphone-hero{min-height:167px;border-radius:13px;padding:18px 15px}.iphone-hero-copy{max-width:68%}.iphone-hero h1{font-size:clamp(23px,6.8vw,35px);letter-spacing:-.05em;margin-bottom:7px}.iphone-hero p{font-size:13px;margin-bottom:13px;max-width:174px}.iphone-hero .primary{font-size:12px;min-height:42px;padding:9px 12px;border-radius:8px}.iphone-hero img{right:0;top:auto;bottom:0;width:42%;max-width:170px}
 .storefront-frame .section-heading{margin:13px 0 9px}.storefront-frame .section-heading h1,.storefront-frame .section-heading h2{font-size:23px}.iphone-models{margin-bottom:7px;gap:7px}.iphone-models a{min-height:39px;font-size:12px;padding:6px 12px;border-radius:9px}.iphone-models a[aria-current=page]{background:var(--catalog-pink);color:#b00019;border-color:var(--red)}
 .storefront-frame :is(.catalog-section,.more-products) .product-grid,.storefront-frame .catalog-skeleton{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .storefront-frame :is(.catalog-section,.more-products) .product-grid{margin-inline:-5px}
 .storefront-frame :is(.catalog-section,.more-products) .product-card{padding-bottom:8px;border-radius:12px;gap:6px}
 .storefront-frame :is(.catalog-section,.more-products) .product-open .product-photo{margin-bottom:8px}
 .storefront-frame :is(.catalog-section,.more-products) .product-open h3{font-size:14px;margin-inline:6px}
 .storefront-frame :is(.catalog-section,.more-products) .product-meta{font-size:11px;margin-inline:6px}
 .storefront-frame :is(.catalog-section,.more-products) .product-bottom{padding:0 7px;flex-flow:column nowrap;align-items:stretch;text-align:center}
 .storefront-frame :is(.catalog-section,.more-products) .product-bottom strong{font-size:clamp(16px,4.6vw,20px)}
 .storefront-frame :is(.catalog-section,.more-products) .add{min-height:44px}
 .storefront-frame :is(.catalog-section,.more-products) .favorite{right:7px;top:7px;padding:6px}
 .storefront-frame .more-products .section-heading h2{font-size:23px}
}
@media(max-width:365px){.iphone-hero h1{font-size:23px}.iphone-hero img{width:39%}}
@media(prefers-reduced-motion:reduce){.storefront-frame .product-card{transition:none}}
