/* Palette only on inherited routes. Existing commerce markup and scripts stay active. */
body.sd-apple{--sd-action:#0071e3;--sd-link:#0066cc;--sd-ink:#1d1d1f;background:#f5f5f7;color:var(--sd-ink)}
body.sd-apple .button.bg,body.sd-apple .storedima-catalog-action,body.sd-apple .single_add_to_cart_button,body.sd-apple .woocommerce button.button.alt,body.sd-apple .woocommerce a.button.alt{background:#0071e3;color:#fff;border-color:#0071e3;border-radius:999px}
body.sd-apple .button.bg:hover,body.sd-apple .storedima-catalog-action:hover,body.sd-apple .single_add_to_cart_button:hover,body.sd-apple .woocommerce button.button.alt:hover{background:#0076df;border-color:#0076df}
body.sd-apple .custom-select-tab.active{border-color:#0071e3;color:#0066cc}
body.sd-apple a:focus-visible,body.sd-apple button:focus-visible,body.sd-apple input:focus-visible,body.sd-apple select:focus-visible{outline:3px solid #0071e3;outline-offset:3px}
/* Hand-written presentation layer for all existing shop and service templates. */
html.sd-apple-document{font-size:16px}
body.sd-apple{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased;--sd-accent:#0071e3;--sd-accent-hover:#0076df}
body.sd-apple #header{background:rgba(255,255,255,.97);color:#1d1d1f;border-bottom:1px solid #e5e5e7;height:68px;width:100%;box-shadow:none}
body.sd-apple #header a{color:#1d1d1f;font-size:14px;text-transform:none}
body.sd-apple #header .header-wrap{max-width:1440px}
body.sd-apple #header .header-logo img,body.sd-apple #footer .sd-brand-logo{display:block;width:156px;height:44px;object-fit:contain}
body.sd-apple #header .cart-count{background:#0071e3;color:#fff}
body.sd-apple #burger-menu,body.sd-apple #menu-iphone{background:#fff;color:#1d1d1f}
body.sd-apple #burger-menu a,body.sd-apple #menu-iphone a{color:#1d1d1f}
body.sd-apple .burger-btn .line,body.sd-apple .burger-btn .line::before,body.sd-apple .burger-btn .line::after{background:#1d1d1f}
body.sd-apple #footer,body.sd-apple #footer.black{background:#f5f5f7;color:#6e6e73;border-top:1px solid #d2d2d7;padding-top:48px;padding-bottom:24px}
body.sd-apple #footer a,body.sd-apple #footer.black a{color:#1d1d1f}
body.sd-apple #footer .footer-menu-item-title,body.sd-apple #footer .h3-style{font-size:14px;font-weight:600;color:#1d1d1f;text-transform:none}
body.sd-apple #footer .footer-sub{border-color:#d2d2d7}
body.sd-apple #footer .socials img{filter:brightness(0);opacity:.75}
body.sd-apple #catalog{padding-bottom:64px}
body.sd-apple .title h1,body.sd-apple h1.page-title,body.sd-apple .woocommerce-products-header__title{font-size:clamp(32px,4vw,56px);line-height:1.08;letter-spacing:-.035em;text-transform:none;font-weight:600;color:#1d1d1f}
body.sd-apple .title h2,body.sd-apple .title h3{letter-spacing:-.025em;text-transform:none;color:inherit}
body.sd-apple .breadcrumbs{font-size:13px;color:#6e6e73;margin-bottom:24px}
body.sd-apple .breadcrumbs a{color:#6e6e73}
body.sd-apple .catalog-tags{padding-top:24px}
body.sd-apple .catalog-tags .tag{font-size:14px;text-transform:none;border:1px solid #d2d2d7;background:#fff;color:#1d1d1f;padding:10px 18px}
body.sd-apple .catalog-tags .tag.active{background:#eaf4ff;color:#0066cc;border-color:#0071e3}
body.sd-apple ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;width:100%;margin:0;padding:0}
body.sd-apple ul.products::before,body.sd-apple ul.products::after{display:none}
body.sd-apple ul.products li.product{width:auto!important;margin:0!important;background:transparent;border:0;border-bottom:1px solid #d2d2d7;border-radius:0!important;float:none;min-width:0;transition:none}
body.sd-apple ul.products li.product .product-wrap{padding:12px 8px 28px;color:#1d1d1f}
body.sd-apple ul.products li.product .product-image{margin:12px 0 28px}
body.sd-apple ul.products li.product:hover .product-image img{transform:none}
body.sd-apple ul.products li.product .product-title-wrap{min-height:60px;justify-content:center;text-align:center}
body.sd-apple ul.products li.product .product-title h2{font-size:20px;line-height:1.25;font-weight:600;letter-spacing:-.025em;text-transform:none}
body.sd-apple ul.products li.product .product-price{font-size:17px;line-height:1.5;text-align:center;margin-top:12px}
body.sd-apple ul.products li.product .product-colors{justify-content:center;gap:5px}
body.sd-apple ul.products li.product .product-colors-item{width:12px;height:12px;box-shadow:inset 0 0 0 1px #00000018;margin:0}
body.sd-apple ul.products li.product .product-colors-more{color:#6e6e73;font-size:12px}
body.sd-apple .page-numbers{gap:8px;align-items:center;margin-top:32px}
body.sd-apple .page-numbers a,body.sd-apple .page-numbers span{min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:14px}
body.sd-apple .page-numbers .current{background:#0071e3;color:#fff}
body.sd-apple .single-header-slider{background:#fff;border-radius:28px;overflow:hidden}
body.sd-apple .single-header-info{padding-left:clamp(24px,4vw,64px)}
body.sd-apple .single-header-info .title,body.sd-apple .single-header-info h1{font-size:clamp(28px,3vw,44px);line-height:1.12;letter-spacing:-.03em;text-transform:none}
body.sd-apple .single-description{font-size:16px;color:#6e6e73}
body.sd-apple .custom-select-wrap .custom-select-tab:not(.color){border:1px solid #d2d2d7;background:#fff;color:#1d1d1f;padding:10px 18px;font-size:15px;min-height:44px}
body.sd-apple .custom-select-wrap .custom-select-tab.active:not(.color){border-color:#0071e3;box-shadow:0 0 0 1px #0071e3;background:#eaf4ff;color:#0066cc}
body.sd-apple .woocommerce-variation-price{font-size:32px;line-height:1.2;letter-spacing:-.025em;border-color:#d2d2d7;text-transform:none;padding:20px 0}
body.sd-apple .variations-item .attr{color:#6e6e73}
body.sd-apple .button,body.sd-apple .single_add_to_cart_button{font-size:16px;line-height:1.3;text-transform:none;letter-spacing:0;font-weight:500;min-height:44px}
body.sd-apple input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),body.sd-apple select,body.sd-apple textarea{font-family:inherit;font-size:16px;line-height:1.4;border:1px solid #d2d2d7;border-radius:12px;background:#fff;color:#1d1d1f;box-shadow:none}
body.sd-apple input[type=checkbox],body.sd-apple input[type=radio]{accent-color:#0071e3}
body.sd-apple .woocommerce-cart-form,body.sd-apple .cart_totals,body.sd-apple .woocommerce-checkout-review-order{border-radius:20px}
body.sd-apple .cart-item{border:1px solid #e5e5e7;border-radius:20px;background:#fff}
body.sd-apple .cart-item_title{font-weight:600;letter-spacing:-.02em}
body.sd-apple .page-cart_company-noties,body.sd-apple .page-cart_company-noties a{color:#6e6e73}
body.sd-apple .woocommerce-info,body.sd-apple .woocommerce-message{border-color:#0071e3;background:#eaf4ff;color:#1d1d1f;border-radius:12px}
body.sd-apple #seo-block{color:#6e6e73;font-size:14px;line-height:1.65}
body.sd-apple #seo-block a{color:#0066cc}
body.sd-apple #seo-block h2,body.sd-apple #seo-block h3{color:#1d1d1f}
@media(min-width:1600px){body.sd-apple .col-lg-11{max-width:1440px}}
@media(max-width:1024px){body.sd-apple ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}body.sd-apple #header .header-menu{font-size:13px}body.sd-apple #header .header-logo img{width:132px}}
@media(max-width:800px){body.sd-apple #header{height:64px}body.sd-apple:not(.sd-apple-home) #main{padding-top:64px}body.sd-apple ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}body.sd-apple ul.products li.product .product-wrap{padding:8px 0 24px}body.sd-apple ul.products li.product .product-title h2{font-size:17px}body.sd-apple ul.products li.product .product-price{font-size:15px}body.sd-apple .single-header-info{padding-left:0}body.sd-apple .single-header-slider{border-radius:20px}body.sd-apple #footer{padding-top:32px}body.sd-apple #header .header-logo img{width:120px}body.sd-apple .single-header .single-mobile-title{font-size:28px;line-height:1.2;letter-spacing:-.03em}body.sd-apple .woocommerce-variation-price{font-size:28px}}
@media(prefers-reduced-motion:reduce){body.sd-apple *,body.sd-apple *::before,body.sd-apple *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Native shop templates with the same navigation and visual rhythm as home. */
body.sd-apple #main.sd-content #catalog{padding-top:40px;padding-bottom:64px}
body.sd-apple #main.sd-content #catalog>.col-lg-11{width:calc(100% - 64px);max-width:1440px}
body.sd-apple .sd-archive-heading{background:transparent;margin:0;padding:0 0 28px;text-align:left}
body.sd-apple .sd-archive-heading h1{margin:22px 0 28px;font-size:clamp(36px,4vw,58px);letter-spacing:-.035em;line-height:1.08;text-transform:none;text-align:left}
body.sd-apple .sd-archive-heading .woocommerce-breadcrumb{font-size:13px;color:#6e6e73;margin:0;line-height:1.5}
body.sd-apple .sd-archive-heading .woocommerce-breadcrumb a{color:#6e6e73}
body.sd-apple .sd-category-list{display:flex;align-items:center;gap:10px;overflow-x:auto;scrollbar-width:thin;padding:0 0 12px;margin:0 0 8px;overscroll-behavior-x:contain}
body.sd-apple .sd-category-list a{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;padding:10px 18px;background:#fff;border:1px solid #d2d2d7;border-radius:999px;color:#1d1d1f;font-size:14px;line-height:1.3;text-decoration:none;white-space:nowrap}
body.sd-apple .sd-category-list a:hover,body.sd-apple .sd-category-list a[aria-current=page]{color:#0066cc;background:#eaf4ff;border-color:#0071e3}
body.sd-apple .sd-category-list .sd-category-back{background:transparent;border-color:transparent;color:#6e6e73;padding-left:0}
body.sd-apple .sd-shop-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:8px 0 28px;color:#6e6e73;font-size:14px}
body.sd-apple .sd-shop-toolbar .woocommerce-result-count,body.sd-apple .sd-shop-toolbar .woocommerce-ordering{float:none;margin:0;font-size:14px}
body.sd-apple .sd-shop-toolbar select{padding:10px 14px;max-width:100%;font-size:14px}
body.sd-apple .sd-shop-products ul.products{padding-top:4px}
body.sd-apple .sd-shop-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;min-height:44px;background:#0071e3;color:#fff;font-size:14px;padding:10px 20px;text-decoration:none;cursor:pointer}
body.sd-apple .sd-shop-button:hover{background:#0076df}
body.sd-apple .sd-attribute-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;margin:0 0 28px;padding:20px;background:#fff;border-radius:18px}
body.sd-apple .sd-attribute-filters label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:140px;color:#6e6e73;font-size:13px}
body.sd-apple .sd-attribute-filters select{width:100%;height:44px;padding:8px 12px}
body.sd-apple .sd-shop-products .woocommerce-info{display:block;padding:20px;margin-bottom:20px}
body.sd-apple .single-header{align-items:flex-start;gap:0}
body.sd-apple #main.sd-content .breadcrumbs{margin-top:0;margin-bottom:24px}
body.sd-apple #main.sd-content #page-default{padding-top:44px}
@media(max-width:750px){body.sd-apple #main.sd-content #catalog{padding-top:24px}body.sd-apple #main.sd-content #catalog>.col-lg-11{width:calc(100% - 32px)}body.sd-apple .sd-archive-heading h1{margin-top:18px;margin-bottom:22px;font-size:34px}body.sd-apple .sd-shop-toolbar{align-items:flex-start;flex-direction:column;gap:12px;padding-bottom:24px}body.sd-apple .sd-shop-toolbar .woocommerce-ordering{width:100%}body.sd-apple .sd-shop-toolbar select{width:100%}body.sd-apple .sd-attribute-filters{padding:16px;gap:12px}body.sd-apple .sd-attribute-filters label{min-width:calc(50% - 12px)}}
/* Consistent shop cards, useful filters and readable product pages. */
body.sd-apple .sd-filter-panel{margin:0 0 24px;border-top:1px solid #d2d2d7;border-bottom:1px solid #d2d2d7}
body.sd-apple .sd-filter-panel>summary{padding:16px 0;color:#0066cc;font-size:15px;cursor:pointer;list-style-position:inside;min-height:48px}
body.sd-apple .sd-filter-panel .sd-attribute-filters{margin:0 0 20px}
body.sd-apple .sd-filter-actions{display:flex;gap:18px;align-items:center;min-height:44px}
body.sd-apple .sd-filter-actions>a{color:#0066cc;font-size:14px}
body.sd-apple ul.products li.sd-product-card .product-wrap{display:flex;flex-direction:column;height:100%;align-items:center;padding:0 8px 32px}
body.sd-apple ul.products li.sd-product-card .product-image{height:clamp(180px,23vw,290px);width:100%;margin:8px 0 18px;display:flex;align-items:center;justify-content:center}
body.sd-apple ul.products li.sd-product-card .product-image img{width:100%;height:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply;transform:none}
body.sd-apple ul.products li.sd-product-card .product-colors{min-height:18px;margin:0 0 16px;display:flex;flex:none}
body.sd-apple ul.products li.sd-product-card .product-title-wrap{min-height:0;width:100%;margin:0 0 16px}
body.sd-apple ul.products li.sd-product-card .product-title{display:block;-webkit-line-clamp:unset;overflow:visible;min-height:0}
body.sd-apple ul.products li.sd-product-card .product-title h2{font-size:20px;line-height:1.28;margin:0}
body.sd-apple ul.products li.sd-product-card .product-price{margin-top:auto;padding-top:4px;color:#1d1d1f;font-size:16px;text-align:center}
body.sd-apple .product-price ins{text-decoration:none}
body.sd-apple .product-price del{color:#515154;font-size:14px}
body.sd-apple .sd-product-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 20px;margin-top:18px;background:#0071e3;color:#fff;border-radius:999px;font-size:14px;line-height:1.3}
body.sd-apple .product-wrap:hover .sd-product-cta{background:#0076df}
body.sd-apple .single-header-info .title{margin-bottom:24px}
body.sd-apple .single-header-info .woocommerce-product-details__short-description{font-size:16px;line-height:1.6;color:#515154;margin-bottom:24px}
body.sd-apple .single-header-info .stock{font-size:14px;color:#515154;margin:16px 0}
body.sd-apple .single-header-info form.cart{margin:24px 0}
body.sd-apple .single-header-info .product_meta{font-size:13px;line-height:1.8;color:#515154;margin-top:24px}
body.sd-apple .single-header-info .product_meta a{color:#0066cc}
body.sd-apple .single-header-slider .image{max-height:560px}
body.sd-apple .single-header-slider img{object-fit:contain}
body.sd-apple .sd-product-description{max-width:920px;margin:64px auto;font-size:17px;line-height:1.65;color:#515154}
body.sd-apple .sd-product-description h2{font-size:30px;font-weight:600;line-height:1.2;margin:36px 0 16px;letter-spacing:-.025em;color:#1d1d1f}
body.sd-apple .sd-product-description p{margin:0 0 18px}
body.sd-apple .sd-product-description ul{padding-left:24px;list-style:disc;margin:16px 0 24px}
body.sd-apple .sd-product-specs .woocommerce-product-attributes-item{display:grid;grid-template-columns:minmax(130px,1fr) 2fr;gap:20px;padding:20px 0;border-bottom:1px solid #d2d2d7;cursor:default;align-items:start}
body.sd-apple .sd-product-specs .woocommerce-product-attributes-item__label{font-size:15px;font-weight:600;color:#1d1d1f}
body.sd-apple .sd-product-specs .woocommerce-product-attributes-item__value{height:auto!important;font-size:15px;color:#515154;line-height:1.6;overflow:visible}
body.sd-apple .sd-product-specs .drop-arrow{display:none}
body.sd-apple .sd-product-specs p{margin:0}
body.sd-apple #main.sd-content .woocommerce-breadcrumb{font-size:13px;line-height:1.6;color:#515154;margin-bottom:28px}
body.sd-apple #main.sd-content .woocommerce-breadcrumb a{color:#515154}
body.sd-apple #compare{background:#ececef;border-radius:24px;padding:56px 24px;margin-top:64px;min-height:0;color:#1d1d1f}
body.sd-apple #compare .section-bg{display:none}
body.sd-apple #compare .title-desc{color:#515154;width:auto;max-width:520px;margin:18px auto 24px}
body.sd-apple #compare .button{width:auto;max-width:none;padding:14px 24px}
body.sd-apple #compare .title h2{font-size:30px;line-height:1.2}
@media(max-width:750px){body.sd-apple ul.products li.sd-product-card .product-image{height:180px}body.sd-apple ul.products li.sd-product-card .product-wrap{padding:0 0 24px}body.sd-apple ul.products li.sd-product-card .product-title h2{font-size:16px;line-height:1.3}body.sd-apple ul.products li.sd-product-card .product-price{font-size:14px}body.sd-apple .sd-product-cta{min-height:40px;padding:8px 16px;font-size:13px}body.sd-apple .single-header{display:flex;flex-direction:column}body.sd-apple .single-header-info,body.sd-apple .single-header-slider-wrap{width:100%;max-width:100%;flex-basis:auto}body.sd-apple .single-header-info{padding-top:28px}body.sd-apple .single-header-info .title{display:block!important}body.sd-apple .single-header-info .title h1{display:block!important;font-size:30px}body.sd-apple .single-header-slider .image{max-height:360px}body.sd-apple .sd-product-description{margin:40px auto;font-size:16px}body.sd-apple .sd-product-description h2{font-size:26px}body.sd-apple .sd-product-specs .woocommerce-product-attributes-item{grid-template-columns:1fr;gap:8px}body.sd-apple #compare{padding:32px 20px;margin-top:40px}body.sd-apple #compare .title h2{font-size:26px}}
body.sd-apple .single-header-info .title,body.sd-apple .single-header-info .title h1{display:block!important}
body.sd-apple .custom-select-tab[aria-disabled=true]{opacity:.4;cursor:not-allowed}
body.sd-apple .custom-select-tab:focus-visible{outline:3px solid #0071e3;outline-offset:4px}
/* Checkout keeps the existing WooCommerce fields and delivery calculation. */
body.sd-apple.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{background:#0071e3!important;border-radius:999px!important;font-weight:500;font-size:16px!important;min-height:48px}
body.sd-apple.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:#0076df!important}
body.sd-apple.woocommerce-cart ul#shipping_method input{accent-color:#0071e3}
body.sd-apple.woocommerce-cart table.shop_table th,body.sd-apple.woocommerce-cart dl.variation,body.sd-apple.woocommerce-cart .woocommerce-shipping-destination{color:#515154}
body.sd-apple.woocommerce-checkout #payment,body.sd-apple.woocommerce-checkout .woocommerce-checkout-review-order{background:#fff;border:1px solid #d2d2d7;border-radius:20px;padding:24px}
body.sd-apple.woocommerce-checkout .form-row label{font-size:14px;color:#515154}
body.sd-apple.woocommerce-checkout #place_order{background:#0071e3;color:#fff;border:0;border-radius:999px;padding:14px 26px;font-size:16px;min-height:48px}
body.sd-apple.woocommerce-cart a.button.wc-backward,body.sd-apple.woocommerce-cart button[name=update_cart]{background:#0071e3!important;color:#fff!important;border-radius:999px!important;font-weight:500}
body.sd-apple.woocommerce-checkout .sd-checkout-section-title,body.sd-apple.woocommerce-checkout #order_review>h2{font-size:28px;line-height:1.2;font-weight:600;letter-spacing:-.025em;margin:0 0 24px}
body.sd-apple #accessories .acc-header{margin-bottom:32px}
body.sd-apple #accessories .acc-header h2{font-size:32px;font-weight:600;line-height:1.15;letter-spacing:-.025em}
body.sd-apple #accessories .acc-arrows{display:none}

body.sd-apple .sd-preorder-note{font-size:13px;line-height:1.5;color:#515154;margin:0 0 10px;text-align:center}

body.sd-price-request .single_add_to_cart_button,body.sd-price-request .summary .quantity{display:none!important}
.sd-shipping-note{font-size:13px;line-height:1.5;color:#515154;margin:8px 0 12px}

body.sd-apple.woocommerce-cart .cart_totals>h2{font-size:28px!important;color:#1d1d1f!important;line-height:1.2!important}body.sd-apple.woocommerce-cart .cart_totals>h2::after{content:none!important}

body.sd-apple .sd-shipping-note{grid-column:1/-1;width:100%;min-width:0}
/* The native Woo password toggle is a span, so button focus rules miss it. */
body.sd-apple.woocommerce-account #main .show-password-input:focus-visible{outline:3px solid #0071e3;outline-offset:3px;border-radius:4px}
/* Only the published city-page CTA components use these inline button styles. */
body.sd-store-page #main a[style*="display:inline-flex"][style*="#151515"]{border-radius:999px!important;border-color:#0071e3!important;color:#0066cc!important;min-height:46px!important;padding:12px 22px!important}
body.sd-store-page #main a[style*="display:inline-flex"][style*="background:#151515"]{background:#0071e3!important;color:#fff!important}
body.sd-store-page #page-default{padding-top:48px!important;padding-bottom:56px!important}
body.sd-store-page #page-default .title{padding-top:0!important;padding-bottom:28px!important}
body.sd-store-page #page-default h1{font-size:clamp(30px,3.4vw,48px)!important;font-weight:600!important;line-height:1.15!important;text-transform:none!important;letter-spacing:-.03em}
/* Prose links remain recognizable without relying on blue alone. */
body.sd-apple #page-default .content :is(p,li,dd) a:not(.product-wrap):not(.woocommerce-loop-product__link):not(.button):not(.sd-service-button):not([style*="inline-flex"]){text-decoration:underline!important;text-decoration-thickness:from-font;text-underline-offset:.16em}

/* Append to child assets/legacy.css; native WP links differ from Woo's UL. */
body.sd-apple .navigation.pagination{width:calc(100% - 64px);max-width:1120px;margin:24px auto 40px}
body.sd-apple .navigation.pagination .nav-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}
body.sd-apple .navigation.pagination .nav-links>.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:8px 12px;border-radius:999px;font-size:14px;line-height:1.4}
body.sd-apple .navigation.pagination .nav-links>.page-numbers.current{background:#0071e3;color:#fff}
@media(max-width:750px){body.sd-apple .navigation.pagination{width:calc(100% - 32px)}}

/* Category photographs lead the store; product controls stay with their family. */
body.sd-apple .sd-category-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;margin:12px 0 24px}
body.sd-apple .sd-category-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-width:0;padding:24px 16px;background:#fff;border:1px solid #e8e8ed;border-radius:24px;color:#1d1d1f;text-align:center;text-decoration:none;transition:box-shadow .2s ease,transform .2s ease;aspect-ratio:1}
body.sd-apple .sd-category-tile:hover{box-shadow:0 8px 24px #00000009;transform:translateY(-3px);color:#0066cc}
body.sd-apple .sd-category-tile-image{display:flex;align-items:center;justify-content:center;min-height:0;width:100%;height:clamp(100px,12vw,175px)}
body.sd-apple .sd-category-tile-image img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
body.sd-apple .sd-category-tile-label{font-size:18px;line-height:1.3;font-weight:600;letter-spacing:-.02em}
body.sd-apple .sd-category-tile-label>.sd-category-tile-arrow{color:#0066cc}
body.sd-apple .sd-model-tiles{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:4px 0 16px;margin-bottom:8px;scroll-snap-type:x proximity}
body.sd-apple .sd-model-tiles>.sd-category-tile{flex:0 0 164px;padding:18px 12px;gap:12px;border-radius:20px;scroll-snap-align:start}
body.sd-apple .sd-model-tiles .sd-category-tile-image{height:100px}
body.sd-apple .sd-model-tiles .sd-category-tile-label{font-size:14px;line-height:1.3}
body.sd-apple .sd-products-section-title{font-size:30px;line-height:1.2;letter-spacing:-.025em;font-weight:600;margin:12px 0 22px}
body.sd-apple .sd-filter-panel{border-top:0;margin-bottom:20px}
body.sd-apple .sd-filter-panel>summary{display:list-item;width:fit-content;min-height:44px;padding:10px 18px;margin-bottom:12px;border:1px solid #d2d2d7;border-radius:999px;background:#fff;color:#1d1d1f;font-size:14px}
body.sd-apple .sd-filter-panel[open]>summary{color:#0066cc;border-color:#0071e3}
@media(max-width:1100px){body.sd-apple .sd-category-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}body.sd-apple .sd-category-tile-image{height:clamp(125px,17vw,175px)}}
@media(max-width:600px){body.sd-apple .sd-category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.sd-apple .sd-category-tile{padding:18px 12px;gap:14px;border-radius:20px}body.sd-apple .sd-category-tile-image{height:clamp(95px,27vw,145px)}body.sd-apple .sd-category-tile-label{font-size:16px}body.sd-apple .sd-model-tiles>.sd-category-tile{flex-basis:148px}body.sd-apple .sd-products-section-title{font-size:26px}}
/* No selectors apply to checkout or change native product form state. */
body.sd-apple.single-product .sd-product-intro{max-width:680px;font-size:17px;line-height:1.6;color:#515154}
body.sd-apple.single-product .sd-product-intro>p:first-child{margin-top:0}
body.sd-apple.single-product .sd-product-intro>p:last-child{margin-bottom:0}
body.sd-apple.single-product .sd-product-purchase-terms{margin:16px 0;padding:12px 16px;border:1px solid #d2d2d7;border-radius:12px;font-size:14px;line-height:1.5;color:#515154}
body.sd-apple.single-product .sd-product-purchase-terms summary{cursor:pointer;min-height:24px;color:#1d1d1f;font-weight:500}
body.sd-apple.single-product .sd-product-purchase-terms summary:focus-visible{outline:2px solid #0071e3;outline-offset:5px;border-radius:4px}
body.sd-apple.single-product .sd-product-purchase-terms>div{padding-top:10px}
body.sd-apple.single-product .sd-product-purchase-terms p:first-child{margin-top:0}
body.sd-apple.single-product .sd-product-purchase-terms p:last-child{margin-bottom:0}
body.sd-apple.single-product .sd-product-purchase-terms strong{font-weight:400}
body.sd-apple.single-product .stock.available-on-backorder{color:#515154}
body.sd-apple.single-product .sd-product-description:empty{display:none}
body.sd-apple.single-product .single_add_to_cart_button.disabled,
body.sd-apple.single-product .single_add_to_cart_button:disabled,
body.sd-apple.single-product .single_add_to_cart_button.disabled:hover,
body.sd-apple.single-product .single_add_to_cart_button:disabled:hover{background:#e5e5ea;color:#6e6e73;border-color:#e5e5ea;cursor:not-allowed;box-shadow:none}

form.variations_form.sd-tg-inquiry .single_add_to_cart_button,form.variations_form.sd-tg-inquiry .quantity{display:none!important}

body.sd-apple .sd-preorder-category-intro{max-width:880px;margin:24px auto 0;color:#515154;font-size:16px;line-height:1.6}body.sd-apple .sd-preorder-standard{max-width:880px;margin:24px auto 0;padding:24px;border:1px solid #d2d2d7;border-radius:20px;background:#fff;text-align:left}body.sd-apple .sd-preorder-standard h2{font-size:22px;letter-spacing:-.02em;margin:0 0 12px}body.sd-apple .sd-preorder-standard p{font-size:16px;line-height:1.6;color:#515154;margin:0}body.sd-apple .sd-preorder-standard a{color:#0066cc;text-decoration:underline}

body.sd-apple .storedima-contacts-page .sd-contact-section:first-child{margin-top:0;padding-top:0}body.sd-apple .storedima-contacts-page #sd-offices-title{font-size:clamp(32px,4vw,56px);line-height:1.1;letter-spacing:-.04em;margin:0;color:#1d1d1f}

body.sd-apple .sd-contact-card h2{margin:0 0 24px;font-size:clamp(30px,2.7vw,44px);font-weight:600;line-height:1.02;letter-spacing:-.045em;text-transform:none}body.sd-apple .sd-delivery-card h2{margin:0 0 8px;font-size:clamp(28px,3vw,44px);font-weight:600;line-height:1.05;letter-spacing:-.04em;text-transform:none}

/* Contacts start with useful store details after the former hero was removed. */
body.sd-apple #storedima-contacts{--sd-surface:#f5f5f7;--sd-muted:#515154;--sd-accent:#0071e3;padding:36px 28px 48px}
body.sd-apple #storedima-contacts .sd-contact-section__head{margin-bottom:28px}
body.sd-apple #storedima-contacts .sd-contact-card{min-height:0;padding:28px;border-radius:24px}
body.sd-apple #storedima-contacts .sd-contact-card__meta{margin-bottom:24px}
body.sd-apple #storedima-contacts .sd-contact-card h2{font-size:clamp(28px,2.5vw,36px);margin-bottom:20px;line-height:1.1}
body.sd-apple #storedima-contacts .sd-contact-card__route{min-height:0;margin-bottom:20px}
body.sd-apple #storedima-contacts .sd-contact-card__phone{padding:16px 0;gap:12px;flex-wrap:wrap}
body.sd-apple #storedima-contacts .sd-contact-card__actions a{min-height:48px}
body.sd-apple #storedima-contacts .sd-contact-about{padding-top:40px}
@media(max-width:900px){body.sd-apple #storedima-contacts .sd-contact-section__head{display:block}body.sd-apple #storedima-contacts .sd-contact-section__hint{margin-top:16px;max-width:580px}}
@media(max-width:750px){body.sd-apple #storedima-contacts{padding:24px 16px 36px}body.sd-apple #storedima-contacts .sd-contact-card{padding:24px 22px}body.sd-apple #storedima-contacts .sd-contact-card__meta{margin-bottom:20px}body.sd-apple #storedima-contacts .sd-contact-about{padding-top:32px}}

/* Entry pages use fixed, evenly aligned category grids. */
body.sd-apple .sd-category-hub .sd-hub-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:24px 0 0;overflow:visible}
body.sd-apple .sd-hub-tiles .sd-category-tile{aspect-ratio:auto;min-height:320px;padding:28px 20px;gap:14px;justify-content:flex-start}
body.sd-apple .sd-hub-tiles .sd-category-tile-image{height:clamp(160px,16vw,230px);flex:none}
body.sd-apple .sd-hub-tiles .sd-category-tile-image img{max-width:100%;max-height:100%;object-fit:contain;object-position:center}
body.sd-apple .sd-hub-tiles .sd-category-tile-label{font-size:20px;margin-top:auto}
body.sd-apple .sd-hub-note{display:block;font-size:13px;line-height:1.4;color:#515154;min-height:18px}
body.sd-apple .sd-model-pending{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:110px;font-weight:600;letter-spacing:-.06em;color:#86868b}
body.sd-apple .sd-category-hub .sd-preorder-category-intro{max-width:none;margin:28px 0 0;text-align:left}
body.sd-apple .sd-category-hub .sd-preorder-standard{max-width:none;margin:24px 0 0;scroll-margin-top:240px}
body.sd-apple .sd-category-hub>.term-description{margin:28px 0 0;text-align:left}
@media(max-width:1000px){body.sd-apple .sd-category-hub .sd-hub-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}body.sd-apple .sd-hub-tiles .sd-category-tile{min-height:290px}}
@media(max-width:600px){body.sd-apple .sd-category-hub .sd-hub-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.sd-apple .sd-hub-tiles .sd-category-tile{min-height:230px;padding:20px 12px;gap:12px}body.sd-apple .sd-hub-tiles .sd-category-tile-image{height:135px}body.sd-apple .sd-hub-tiles .sd-category-tile-label{font-size:17px}body.sd-apple .sd-hub-note{font-size:12px}body.sd-apple .sd-model-pending{font-size:78px}body.sd-apple .sd-category-hub .sd-preorder-standard{scroll-margin-top:190px}}

@media(min-width:601px) and (max-width:1099px){body.sd-apple .sd-category-hub .sd-hub-tiles.sd-hub-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.sd-apple #storedima-contacts .sd-contact-section__head{align-items:start}body.sd-apple #storedima-contacts #sd-offices-title{max-width:760px;text-wrap:balance;overflow-wrap:normal}

body.sd-apple .sd-catalog-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:16px;font-weight:500;color:#515154}
body.sd-apple .sd-category-hub .sd-hub-tiles .sd-category-tile{min-width:0}
body.sd-apple .sd-category-hub .sd-hub-tiles .sd-category-tile-label{overflow-wrap:anywhere}

/* Crop the verified Apple photograph in its viewport; retain the original media. */
body.sd-apple .single-header-slider .image.sd-official-pro-max-photo{overflow:hidden;background:rgb(246,245,248)}
body.sd-apple.single-product .single-header-slider .single-slider-item .image.sd-official-pro-max-photo img{transform:scale(2.35);transform-origin:center;object-fit:contain}
body.sd-apple ul.products li.sd-product-card .product-image.sd-official-pro-max-thumb{overflow:hidden}
body.sd-apple ul.products li.sd-product-card .product-image.sd-official-pro-max-thumb img{transform:scale(1.65)}

@media(min-width:801px){body.sd-apple.single-product .single-header-slider .single-slider-item .image.sd-official-pro-max-photo img{transform:translate(-50%,-50%) scale(2.35)}}

/* Shared category geometry and an arrow that stays beside the label. */
body.sd-apple .sd-category-tiles .sd-category-tile-label{
    display:inline-flex;
    align-items:flex-start;
    justify-content:center;
    gap:6px;
    max-width:100%;
}
body.sd-apple .sd-category-tile-label>.sd-category-tile-text{
    min-width:0;
    margin:0;
    color:inherit;
    white-space:normal;
    overflow-wrap:anywhere;
}
body.sd-apple .sd-category-tile-label>.sd-category-tile-arrow{
    flex:0 0 auto;
    margin:0;
    color:#0066cc;
    white-space:nowrap;
}
body.sd-apple .sd-hub-tiles .sd-category-tile-label{margin-top:0}

@supports(grid-template-rows:subgrid){
    body.sd-apple .sd-category-hub .sd-hub-tiles{
        --sd-hub-band-gap:24px;
        --sd-hub-image-gap:14px;
        row-gap:0;
        column-gap:var(--sd-hub-band-gap);
        /* Cancel only the final band's outside margin; descriptions keep their own spacing. */
        margin-bottom:calc(-1 * var(--sd-hub-band-gap));
    }
    body.sd-apple .sd-hub-tiles>.sd-category-tile{
        display:grid;
        grid-template-columns:minmax(0,1fr);
        grid-template-rows:subgrid;
        grid-row:span 3;
        row-gap:0;
        align-items:start;
        justify-items:center;
        min-height:0;
        margin-bottom:var(--sd-hub-band-gap);
    }
    body.sd-apple .sd-hub-tiles .sd-category-tile-image{
        grid-row:1;
        align-self:start;
        margin-bottom:var(--sd-hub-image-gap);
    }
    body.sd-apple .sd-hub-tiles .sd-category-tile-label{grid-row:2;align-self:start}
    body.sd-apple .sd-hub-tiles .sd-hub-note{grid-row:3;align-self:start;margin:8px 0 0}
    @media(max-width:1000px){
        body.sd-apple .sd-category-hub .sd-hub-tiles{--sd-hub-band-gap:18px}
    }
    @media(max-width:600px){
        body.sd-apple .sd-category-hub .sd-hub-tiles{--sd-hub-band-gap:12px;--sd-hub-image-gap:12px}
    }
}

/* 28px heading + 64px wrapper becomes 8px + 32px only on navigation-only hubs. */
body.sd-apple .sd-archive-heading.sd-category-hub{padding-bottom:8px}
body.sd-apple #main.sd-content #catalog:has(.sd-archive-heading.sd-category-hub){padding-bottom:32px}

@media(max-width:360px){
    body.sd-apple .sd-hub-tiles .sd-category-tile{padding-left:8px;padding-right:8px}
    body.sd-apple .sd-hub-tiles .sd-category-tile-label{font-size:15px;gap:4px}
}
