/* Customer storefront only: open sections instead of nested bordered cards. */
.iphone-shop.public-modern { background:#fff; }
.iphone-shop.public-modern #products { scroll-margin-top:var(--shop-header-offset, 180px); }
.iphone-shop.public-modern .shop-search { flex-wrap:wrap; }
.iphone-shop.public-modern .shop-search input { flex:1; width:0; }
.iphone-shop.public-modern .shop-search-clear { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 14px; border-radius:10px; background:#fff; color:#18181b; font-size:.875rem; font-weight:600; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.iphone-shop.public-modern .shop-search-clear:hover { background:#e4e4e7; }
.iphone-shop.public-modern .shop-search-clear>span { font-size:1.25rem; font-weight:400; line-height:1; margin:0; }
.iphone-shop.public-modern .shop-results-clear { order:-1; }
@media(max-width:850px) {
 .iphone-shop.public-modern .shop-search>.shop-search-clear { flex-basis:100%; border-top:1px solid #e4e4e7; border-radius:0 0 10px 10px; }
 .iphone-shop.public-modern .shop-active-filters>.shop-results-clear { flex-basis:100%; }
}
.iphone-shop.public-modern :is(.shop-product-modern,.shop-full-details) :is(section,article,header,footer,div,span,dt,dd) { min-width:0; }
.iphone-shop.public-modern :is(.shop-product-modern,.shop-full-details) :is(a,b,strong,small,em,dt,dd,li) { overflow-wrap:anywhere; }
.iphone-shop.public-modern .shop-nav a { white-space:normal; text-align:center; }
.iphone-shop.public-modern .shop-breadcrumb { flex-wrap:wrap; }
.iphone-shop.public-modern .shop-nav { gap:8px; padding-top:6px; padding-bottom:12px; }
.iphone-shop.public-modern .shop-nav a { display:flex; align-items:center; justify-content:center; padding:10px 16px; border:0; border-radius:100px; color:#3f3f46; background:#fff; text-decoration:none; font-size:.9rem; }
.iphone-shop.public-modern .shop-nav a:is(:hover,:focus-visible) { color:#18181b; background:#f1f1f3; }
.iphone-shop.public-modern .shop-nav a[aria-current] { color:#fff; background:#18181b; }
.iphone-shop.public-modern :is(.shop-contact,.shop-brand,.shop-breadcrumb a) { color:#18181b; }
.iphone-shop.public-modern .shop-topline a { color:#fff; }
.iphone-shop.public-modern :is(.shop-search button,.shop-sort button,.shop-btn) { color:#fff; background:#18181b; }
.iphone-shop.public-modern :is(.shop-btn-outline,.shop-btn-white) { color:#18181b; background:#fff; }
.iphone-shop.public-modern .shop-btn:hover { color:#fff; background:#303036; }
.iphone-shop.public-modern :is(.shop-btn-outline,.shop-btn-white):hover { color:#18181b; background:#eeeef1; }
.iphone-shop.public-modern .shop-filter-panel { border:0; background:#f6f6f8; border-radius:18px; }
.iphone-shop.public-modern .shop-filter-details { border:0; }
.iphone-shop.public-modern .shop-card-specs { background:transparent; gap:10px; }
.iphone-shop.public-modern .shop-card-specs span { background:transparent; border:0; padding:0; }
.iphone-shop.public-modern .shop-card-meta>span { border:0; border-radius:100px; padding:4px 8px; background:#f1f1f3; color:#3f3f46; font-weight:600; }
.iphone-shop.public-modern .shop-card-cta { border-color:#eeeef1; }
.iphone-shop.public-modern .shop-card-cta i { border-radius:50%; }
.iphone-shop.public-modern .shop-pagination a { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; border:0; border-radius:12px; color:#18181b; background:#f1f1f3; }
.iphone-shop.public-modern .shop-pagination a[aria-current] { color:#fff; background:#18181b; }
.iphone-shop.public-modern :is(.shop-how article,.shop-market-promise article,.shop-visit-details article) { border:0; }
.iphone-shop.public-modern .shop-how article { padding:24px; background:#f6f6f8; }
.iphone-shop.public-modern :is(.shop-how article>b,.shop-visit-details article>span) { border:0; border-radius:50%; }
.iphone-shop.public-modern .shop-footer { border-top:1px solid #e4e4e7; }
/* Content-aware card rows: readable text, matching card heights, aligned actions. */
.iphone-shop.public-modern .shop-product-grid.shop-compact-grid { align-items:stretch; }
.iphone-shop.public-modern .shop-compact-grid .shop-card { display:flex; flex-direction:column; height:100%; }
.iphone-shop.public-modern .shop-compact-grid .shop-card-link { display:flex; flex:1; flex-direction:column; min-width:0; }
.iphone-shop.public-modern .shop-compact-grid .shop-card-image { aspect-ratio:4/3; height:auto; min-height:0; max-height:none; flex:none; }
.iphone-shop.public-modern .shop-compact-grid .shop-card-body { display:flex; flex:1; flex-direction:column; gap:4px; padding:10px 12px; grid-template-rows:none; }
.iphone-shop.public-modern .shop-compact-grid .shop-card-meta>span { display:inline-block; padding:0; background:transparent; border-radius:0; font-size:.72rem; line-height:1.4; overflow-wrap:anywhere; }
.iphone-shop.public-modern .shop-compact-grid .shop-card h3 { display:block; min-height:0; overflow:visible; -webkit-line-clamp:unset; font-size:.95rem; line-height:1.3; margin:0; }
.iphone-shop.public-modern .shop-compact-grid .shop-card-variant { min-height:0; white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; font-size:.78rem!important; line-height:1.4; }
.iphone-shop.public-modern .shop-compact-grid .shop-card-body>strong { white-space:normal; overflow-wrap:anywhere; font-size:clamp(1.1rem,2vw,1.4rem); line-height:1.25; }
.iphone-shop.public-modern .shop-compact-grid .shop-card-battery { font-size:.75rem; line-height:1.4; margin:0; }
.iphone-shop.public-modern .shop-compact-grid .shop-card-cta { margin-top:auto; min-height:28px; gap:6px; padding:6px 0 0; font-size:.78rem; line-height:1.4; }
.iphone-shop.public-modern .shop-compact-grid .shop-card-cta i { flex-shrink:0; }
.iphone-shop.public-modern .shop-card-warranty { padding:0; min-height:0; gap:0; margin-top:auto; }
.iphone-shop.public-modern .shop-card-warranty strong { display:block; min-height:0; font-size:.75rem; line-height:1.4; overflow-wrap:anywhere; }
.iphone-shop.public-modern .shop-card-warranty a { display:grid; align-content:center; gap:3px; padding:8px 12px; font-size:.75rem; min-height:60px; line-height:1.4; overflow-wrap:anywhere; text-decoration:none; }
.iphone-shop.public-modern .shop-card-warranty-more { font-size:.7rem; font-weight:500; text-decoration:underline; text-underline-offset:3px; }
.iphone-shop.public-modern .shop-compact-grid .shop-photo-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:12px 10px 42px; text-align:center; }
.iphone-shop.public-modern .shop-compact-grid .shop-photo-placeholder>span { font-size:2.6rem; line-height:1; }
.iphone-shop.public-modern .shop-compact-grid .shop-photo-placeholder small { font-size:.7rem; line-height:1.3; }
@media(min-width:360px) and (max-width:640px) {
 .iphone-shop.public-modern .shop-product-grid.shop-compact-grid { gap:12px; }
 .iphone-shop.public-modern .shop-compact-grid .shop-card-body { padding:10px; }
 .iphone-shop.public-modern .shop-card-warranty a { padding:8px 10px; }
 .iphone-shop.public-modern .shop-card-condition { font-size:.65rem; line-height:1.35; }
}

.iphone-shop.public-modern .shop-product-modern { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"gallery heading" "gallery info"; gap:0 48px; align-items:start; padding:12px 0 32px; border:0; box-shadow:none; background:#fff; }
.iphone-shop.public-modern .shop-product-heading { grid-area:heading; min-width:0; }
.iphone-shop.public-modern .shop-product-modern .shop-gallery { grid-area:gallery; position:static; min-width:0; scroll-margin-top:160px; }
.iphone-shop.public-modern .shop-product-modern .shop-product-info { grid-area:info; padding:0; min-width:0; }
.iphone-shop.public-modern .shop-product-labels { justify-content:flex-start; gap:8px; }
.iphone-shop.public-modern :is(.shop-product-labels .shop-label,.shop-product-labels .shop-item-condition) { border:0; border-radius:100px; padding:6px 12px; background:#f1f1f3; color:#3f3f46; font-size:.8rem; font-weight:600; letter-spacing:0; text-transform:none; }
.iphone-shop.public-modern .shop-product-heading h1 { font-size:clamp(2rem,3.2vw,3rem); line-height:1.15; margin:16px 0 6px; }
.iphone-shop.public-modern .shop-product-variant { color:#585860; font-size:1.05rem; margin:0 0 10px; }
.iphone-shop.public-modern .shop-product-heading .shop-listing-id { display:inline-flex; gap:6px; flex-wrap:wrap; width:auto; background:transparent; border:0; padding:0; font-size:.85rem; color:#585860; }
.iphone-shop.public-modern .shop-product-heading .shop-listing-id b { color:#18181b; font-size:inherit; }
.iphone-shop.public-modern .shop-product-price { font-weight:700; font-size:clamp(1.9rem,3vw,2.5rem); letter-spacing:-.04em; margin:20px 0 12px; }
.iphone-shop.public-modern .shop-product-price small { display:block; font-size:.8rem; font-weight:400; letter-spacing:0; color:#585860; }
.iphone-shop.public-modern .shop-product-shortcuts { display:flex; flex-wrap:wrap; gap:6px 16px; margin:8px 0 18px; }
.iphone-shop.public-modern .shop-product-shortcuts a { display:inline-flex; align-items:center; min-height:44px; color:#18181b; font-size:.85rem; text-underline-offset:4px; }
.iphone-shop.public-modern .shop-main-photo { border:0; border-radius:22px; overflow:hidden; background:#f6f6f8; }
.iphone-shop.public-modern .shop-main-photo img { display:block; width:100%; height:auto; aspect-ratio:1; max-height:none; object-fit:contain; background:#f6f6f8; }
.iphone-shop.public-modern .shop-main-photo>span { border:0; border-radius:100px; font-size:.8rem; }
.iphone-shop.public-modern .shop-gallery-arrow { width:44px; height:44px; border:0; border-radius:50%; background:#fff; color:#18181b; box-shadow:0 2px 12px #00000012; }
.iphone-shop.public-modern .shop-photo-counter { border:0; border-radius:100px; padding:6px 12px; font-size:.8rem; font-weight:600; }
.iphone-shop.public-modern .shop-thumbnails { gap:10px; padding:8px 4px; }
.iphone-shop.public-modern .shop-thumbnails button { border:2px solid transparent; border-radius:12px; overflow:hidden; padding:3px; background:#f6f6f8; flex-shrink:0; }
.iphone-shop.public-modern .shop-thumbnails button[aria-pressed=true] { border-color:#18181b; }
.iphone-shop.public-modern .shop-thumbnails img { border-radius:7px; object-fit:contain; }
.iphone-shop.public-modern .shop-gallery>.shop-muted { font-size:.8rem; line-height:1.6; }

.iphone-shop.public-modern .shop-warranty-highlight { border:0; background:#eef7f1; border-radius:18px; padding:20px; margin:0 0 16px; }
.iphone-shop.public-modern .shop-warranty-kicker { font-size:.7rem; font-weight:600; color:#315440; }
.iphone-shop.public-modern .shop-warranty-highlight h2 { font-size:1.35rem; color:#183d28; }
.iphone-shop.public-modern .shop-warranty-policy { border:0; border-radius:0; background:transparent; overflow:visible; }
.iphone-shop.public-modern .shop-warranty-policy summary { padding:14px 16px; font-weight:600; }
.iphone-shop.public-modern .shop-warranty-content { padding:16px; }
.iphone-shop.public-modern .shop-warranty-content>:first-child { margin-top:0; }
.iphone-shop.public-modern .shop-warranty-content>:last-child { margin-bottom:0; }
.iphone-shop.public-modern .listing-quality { border:0; border-radius:18px; padding:20px; }
.iphone-shop.public-modern .listing-quality.has-issues { box-shadow:inset 4px 0 #b4233a; }
.iphone-shop.public-modern .listing-quality.has-unknown { box-shadow:inset 4px 0 #a15c10; }
.iphone-shop.public-modern .listing-quality h2 { font-size:1.1rem!important; }
.iphone-shop.public-modern .listing-quality-results { gap:0 28px; }
.iphone-shop.public-modern .listing-quality-results>div { border:0; border-bottom:1px solid #dce5df; border-radius:0; background:transparent; padding:14px 0; }
.iphone-shop.public-modern .listing-quality-results .result-fail { border-bottom-color:#dfa5ac; color:#881337; }
.iphone-shop.public-modern .listing-quality-results dd { white-space:normal; text-align:right; }
.iphone-shop.public-modern .shop-specifications-primary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border:0; gap:0 24px; margin:24px 0; }
.iphone-shop.public-modern .shop-specifications-primary>div { padding:14px 0; border:0; border-bottom:1px solid #e4e4e7; }
.iphone-shop.public-modern .shop-specifications-primary dt { font-size:.82rem; font-weight:400; letter-spacing:0; text-transform:none; color:#585860; }
.iphone-shop.public-modern .shop-specifications-primary dd { font-size:1rem; line-height:1.5; font-weight:600; margin:4px 0 0; }
.iphone-shop.public-modern .shop-product-glance { border:0; border-radius:0; background:transparent; padding:16px; }
.iphone-shop.public-modern .shop-glance-heading { padding:0; background:transparent; color:#18181b; }
.iphone-shop.public-modern .shop-glance-heading h2 { font-size:1.2rem; text-align:left; margin:0 0 10px; }
.iphone-shop.public-modern .shop-glance-list { grid-template-columns:1fr; }
.iphone-shop.public-modern .shop-glance-list article { border:0; padding:12px 0; gap:12px; }
.iphone-shop.public-modern .shop-glance-list article>span { background:#f1f1f3; color:#18181b; border-radius:50%; }
.iphone-shop.public-modern .shop-glance-list small { font-size:.76rem; letter-spacing:0; font-weight:600; }
.iphone-shop.public-modern .shop-glance-list p { display:block; overflow:visible; -webkit-line-clamp:unset; margin:4px 0 0; font-size:.95rem; font-weight:400; line-height:1.6; }
.iphone-shop.public-modern .shop-inquiry-primary { scroll-margin-top:160px; border:0; background:#f6f6f8; padding:24px; border-radius:20px; margin-top:24px; }
.iphone-shop.public-modern .shop-inquiry-primary h2 { font-size:1.3rem; }
.iphone-shop.public-modern .shop-inquiry-primary>p { font-size:.95rem; line-height:1.65; margin:8px 0 16px; }
.iphone-shop.public-modern .shop-inquiry-primary>small { display:block; font-size:.8rem; line-height:1.5; color:#585860; margin-top:12px; }
.iphone-shop.public-modern .shop-inquiry-primary .shop-btn { min-height:48px; padding:12px 14px; font-size:.9rem; }
.iphone-shop.public-modern .shop-copy-status:not(:empty) { border:0; border-radius:12px; padding:14px; font-size:.9rem; background:#e8f3ec; color:#17492d; }
.iphone-shop.public-modern .shop-copy-status.is-error { color:#881337; background:#fff1f2; }
.iphone-shop.public-modern .shop-inquiry-copy-source.is-copy-fallback { font-size:16px; border-radius:12px; }
.iphone-shop.public-modern .shop-details-jump { min-height:44px; padding:12px 0; font-size:.85rem; }

.iphone-shop.public-modern .shop-full-details { margin:28px 0 48px; }
.iphone-shop.public-modern .shop-full-details-heading { border:0; margin:32px 0 0; padding:0; }
.iphone-shop.public-modern .shop-full-details-heading small { color:#585860; font-size:.75rem; font-weight:500; letter-spacing:.04em; }
.iphone-shop.public-modern .shop-full-details-heading h2 { font-size:clamp(1.5rem,3vw,2rem); line-height:1.25; }
.iphone-shop.public-modern .shop-full-details-heading>p { font-size:.95rem; }
.iphone-shop.public-modern .shop-full-details-grid { gap:28px; margin-top:24px; }
.iphone-shop.public-modern :is(.shop-condition-disclosure,.shop-included-items,.shop-service-history,.shop-product-notes-grid .shop-product-notes) { border:0; border-radius:0; background:transparent; padding:24px 0; border-top:1px solid #e4e4e7; overflow:visible; }
.iphone-shop.public-modern :is(.shop-condition-disclosure,.shop-included-items,.shop-service-history)>header { border:0; padding:0; margin:0 0 18px; background:transparent; color:#18181b; align-items:center; gap:12px; }
.iphone-shop.public-modern :is(.shop-included-items,.shop-service-history)>header { grid-template-columns:40px minmax(0,1fr); }
.iphone-shop.public-modern :is(.shop-condition-disclosure,.shop-included-items,.shop-service-history)>header>span { width:40px; height:40px; flex:0 0 40px; border:0; border-radius:50%; background:#f1f1f3; color:#18181b; font-size:1.15rem; }
.iphone-shop.public-modern :is(.shop-condition-disclosure,.shop-included-items,.shop-service-history)>header small { color:#585860; font-size:.7rem; letter-spacing:.04em; font-weight:500; }
.iphone-shop.public-modern :is(.shop-condition-disclosure,.shop-included-items,.shop-service-history) h2 { font-size:1.3rem; line-height:1.35; }
.iphone-shop.public-modern :is(.shop-condition-disclosure,.shop-included-items,.shop-service-history)>header p { color:#585860; font-size:.9rem; }
.iphone-shop.public-modern .shop-condition-disclosure>p { font-size:1rem; font-weight:400; }
.iphone-shop.public-modern .shop-condition-disclosure>small { border:0; padding:0; color:#585860; font-size:.85rem; }
.iphone-shop.public-modern :is(.shop-included-grid,.shop-replacement-list) { background:transparent; gap:20px; padding:0; }
.iphone-shop.public-modern :is(.shop-included-grid,.shop-replacement-list)>article { background:transparent; border:0; border-radius:0; padding:0; gap:12px; }
.iphone-shop.public-modern :is(.shop-included-grid,.shop-replacement-list)>article>i { background:#f6f6f8; color:#18181b; border:0; border-radius:12px; }
.iphone-shop.public-modern .shop-included-grid { grid-template-columns:1fr; }
.iphone-shop.public-modern .shop-included-grid :is(b,em) { font-size:.95rem; }
.iphone-shop.public-modern .shop-included-items>p { border:0; background:transparent; padding:16px 0 0; font-size:.85rem; color:#585860; }
.iphone-shop.public-modern .shop-no-replacements { padding:0; border:0; background:transparent; }
.iphone-shop.public-modern .shop-no-replacements>i { border:0; border-radius:50%; background:#f1f1f3; color:#18181b; }
.iphone-shop.public-modern .shop-declared-replacements { border:0; border-top:1px solid #e4e4e7; padding:20px 0 0; margin-top:20px; background:transparent; }
.iphone-shop.public-modern .shop-service-history>footer { border:0; background:transparent; padding:20px 0 0; }
.iphone-shop.public-modern .shop-service-history>footer>i { border:0; border-radius:50%; background:#f1f1f3; color:#18181b; }
.iphone-shop.public-modern .shop-service-history>footer p { font-size:.85rem; color:#585860; }
.iphone-shop.public-modern :is(.shop-replacement-list,.shop-no-replacements) small { font-size:.85rem; line-height:1.6; }
.iphone-shop.public-modern .shop-product-notes-grid { margin-top:0; gap:28px; }
.iphone-shop.public-modern .shop-product-notes-grid h2 { font-size:1.3rem; }
.iphone-shop.public-modern .shop-product-notes-grid p { font-size:1rem; line-height:1.7; color:#585860; }
.iphone-shop.public-modern .shop-product-notes-grid a { min-height:44px; display:inline-flex; align-items:center; color:#18181b; }
.iphone-shop.public-modern .shop-photo-dialog { border:0; border-radius:20px; }
.iphone-shop.public-modern .shop-photo-dialog { max-height:calc(100dvh - 16px); overflow-y:auto; }
.iphone-shop.public-modern .shop-photo-dialog header { position:sticky; top:0; z-index:2; background:#111; }
.iphone-shop.public-modern .shop-photo-dialog .shop-dialog-photo img { height:min(65dvh,760px); max-height:calc(100dvh - 180px); }
.iphone-shop.public-modern .shop-photo-dialog :is(.shop-dialog-close,.shop-dialog-arrow) { border:0; border-radius:12px; }

@media(max-width:900px) {
 .iphone-shop.public-modern .shop-product-modern { grid-template-columns:1fr; grid-template-areas:"heading" "gallery" "info"; gap:20px; }
 .iphone-shop.public-modern .shop-product-modern .shop-gallery { max-width:600px; width:100%; justify-self:center; }
 .iphone-shop.public-modern .shop-product-modern .shop-product-info { padding:0; }
 .iphone-shop.public-modern .shop-product-heading .shop-product-price { margin:14px 0 4px; }
 .iphone-shop.public-modern .shop-product-shortcuts { margin:4px 0 0; }
 .iphone-shop.public-modern .shop-full-details-grid,.iphone-shop.public-modern .shop-product-notes-grid { grid-template-columns:1fr; gap:0; }
 .iphone-shop.public-modern .shop-full-details-heading { display:block; }
 .iphone-shop.public-modern .shop-full-details-heading>p { text-align:left; margin-top:12px; }
}
@media(max-width:600px) {
 .iphone-shop.public-modern .shop-wrap { padding-left:18px; padding-right:18px; }
 .iphone-shop.public-modern .shop-nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
 .iphone-shop.public-modern .shop-nav a { padding:10px; font-size:.82rem; }
 .iphone-shop.public-modern .shop-breadcrumb { padding:18px 0; font-size:.85rem; }
 .iphone-shop.public-modern .shop-product-modern { padding-top:0; }
 .iphone-shop.public-modern .shop-product-heading h1 { margin-top:12px; }
 .iphone-shop.public-modern :is(.shop-product-modern .shop-gallery,.shop-inquiry-primary) { scroll-margin-top:20px; }
 .iphone-shop.public-modern .shop-main-photo img { max-height:none; }
 /* Keep photo controls below the picture, never over the customer's photo. */
 .iphone-shop.public-modern .shop-photo-stage { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; gap:10px; align-items:center; }
 .iphone-shop.public-modern .shop-main-photo { grid-column:1/-1; grid-row:1; }
 .iphone-shop.public-modern .shop-gallery-arrow { position:static; transform:none; grid-row:2; box-shadow:none; background:#f1f1f3; }
 .iphone-shop.public-modern .shop-gallery-prev { grid-column:1; }
 .iphone-shop.public-modern .shop-gallery-next { grid-column:3; }
 .iphone-shop.public-modern .shop-photo-counter { position:static; grid-column:2; grid-row:2; text-align:center; }
 .iphone-shop.public-modern .shop-thumbnails img { width:56px; height:56px; }
 .iphone-shop.public-modern :is(.shop-warranty-highlight,.listing-quality,.shop-inquiry-primary) { padding:18px; }
 .iphone-shop.public-modern .shop-inquiry-actions { display:flex; flex-direction:column; gap:10px; }
 .iphone-shop.public-modern .shop-inquiry-actions .shop-btn { width:100%; }
 .iphone-shop.public-modern .shop-specifications-primary { gap:0 16px; }
 .iphone-shop.public-modern .shop-replacement-list { grid-template-columns:1fr; }
 .iphone-shop.public-modern .shop-photo-dialog { width:calc(100vw - 16px); border-radius:16px; }
 .iphone-shop.public-modern .shop-dialog-photo { grid-template-columns:1fr 1fr; gap:10px; padding:12px; }
 .iphone-shop.public-modern .shop-photo-dialog .shop-dialog-photo img { grid-column:1/-1; grid-row:1; max-height:calc(100dvh - 230px); }
 .iphone-shop.public-modern .shop-photo-dialog .shop-dialog-arrow { grid-row:2; width:100%; height:44px; }
 .iphone-shop.public-modern .shop-dialog-arrow:first-child { grid-column:1; }
 .iphone-shop.public-modern .shop-dialog-arrow:last-child { grid-column:2; }
 .iphone-shop.public-modern .shop-photo-dialog header { flex-wrap:wrap; padding:10px 12px; }
 .iphone-shop.public-modern .listing-quality-results>div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.65fr); }
 .iphone-shop.public-modern .shop-warranty-policy summary { display:flex; align-items:center; justify-content:space-between; gap:12px; }
 .iphone-shop.public-modern .shop-warranty-policy summary span { float:none; flex-shrink:0; }
}
@media(max-width:380px) {
 .iphone-shop.public-modern .shop-header-row { flex-wrap:wrap; }
 /* The same Messenger action is available in the inquiry section and footer. */
 .iphone-shop.public-modern .shop-contact { display:none; }
 .iphone-shop.public-modern .shop-product-price { font-size:1.85rem; }
 .iphone-shop.public-modern .shop-specifications-primary { grid-template-columns:1fr; }
}

/* Product essentials stay visible; optional history opens on demand. */
.iphone-shop.public-modern .shop-product-heading h1 { margin:8px 0 4px; font-size:clamp(1.65rem,3vw,2.4rem); }
.iphone-shop.public-modern .shop-product-price { margin:10px 0 4px; }
.iphone-shop.public-modern .shop-product-shortcuts { margin:0 0 10px; }
.iphone-shop.public-modern .shop-product-modern { column-gap:32px; padding-bottom:16px; }
.iphone-shop.public-modern .shop-product-modern .shop-main-photo img { height:clamp(230px,38vw,480px); aspect-ratio:auto; }
.iphone-shop.public-modern .shop-gallery>.shop-muted { margin:0; line-height:1.4; }
.iphone-shop.public-modern .shop-product-info :is(.shop-warranty-highlight,.listing-quality) { padding:14px 16px; margin:0 0 12px; }
.iphone-shop.public-modern .shop-warranty-periods { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:8px 0; }
.iphone-shop.public-modern .shop-warranty-periods dt { font-size:.8rem; color:#315440; }
.iphone-shop.public-modern .shop-warranty-periods dd { margin:4px 0 0; font-size:1.1rem; font-weight:700; color:#183d28; line-height:1.3; }
.iphone-shop.public-modern .shop-product-info .shop-warranty-highlight>p { margin:6px 0 0; font-size:.8rem; line-height:1.45; }
.iphone-shop.public-modern .shop-product-info .shop-warranty-policy summary { min-height:44px; padding:14px 16px; font-size:.85rem; }
.iphone-shop.public-modern .shop-product-info .listing-quality header { gap:10px; }
.iphone-shop.public-modern .shop-product-info .listing-quality header>span { width:30px; height:30px; flex:0 0 30px; }
.iphone-shop.public-modern .shop-product-info .listing-quality h2 { font-size:1rem!important; }
.iphone-shop.public-modern .shop-product-info .listing-quality header p { font-size:.85rem; margin:4px 0 0; line-height:1.5; }
.iphone-shop.public-modern .shop-product-info .listing-quality-issues { margin:8px 0; padding:0; list-style:none; }
.iphone-shop.public-modern .shop-product-info .listing-quality-issues li { font-size:.9rem; padding:6px 10px; }
.iphone-shop.public-modern .shop-specifications-primary { grid-template-columns:repeat(2,minmax(0,1fr)); margin:8px 0 16px; gap:0 16px; }
.iphone-shop.public-modern .shop-specifications-primary>div { padding:8px 0; }
.iphone-shop.public-modern .shop-specifications-primary dd { font-size:.9rem; }
.iphone-shop.public-modern .shop-glance-heading h2 { margin:0; font-size:1.1rem; scroll-margin-top:24px; }
.iphone-shop.public-modern .shop-glance-list article { padding:8px 0; gap:10px; }
.iphone-shop.public-modern .shop-glance-list p { line-height:1.5; }
.iphone-shop.public-modern .shop-part-statuses:empty { display:none; }
.iphone-shop.public-modern .shop-inquiry-primary { margin-top:16px; padding:16px; }
.iphone-shop.public-modern .shop-inquiry-primary>p { font-size:.9rem; line-height:1.5; margin:8px 0 12px; }
.iphone-shop.public-modern .shop-full-details { margin:0 0 28px; }
.iphone-shop.public-modern .shop-full-details-heading { margin:0 0 8px; }
.iphone-shop.public-modern .shop-full-details-heading h2 { font-size:1.2rem; margin:0; }
.iphone-shop.public-modern .shop-full-details-heading>p { margin:4px 0; }
.iphone-shop.public-modern .shop-full-details-grid { display:block; margin:0; }
.iphone-shop.public-modern .shop-detail-fold { border:0; border-top:1px solid #e4e4e7; padding:0; background:transparent; }
.iphone-shop.public-modern :is(.shop-detail-fold,.shop-quality-fold)>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; list-style:none; min-height:48px; padding:12px 0; color:#18181b; font-size:.95rem; font-weight:600; }
.iphone-shop.public-modern :is(.shop-detail-fold,.shop-quality-fold)>summary::-webkit-details-marker { display:none; }
.iphone-shop.public-modern :is(.shop-detail-fold,.shop-quality-fold)>summary>span { flex:none; transition:transform .15s; }
.iphone-shop.public-modern :is(.shop-detail-fold,.shop-quality-fold)[open]>summary>span { transform:rotate(45deg); }
.iphone-shop.public-modern :is(.shop-detail-fold,.shop-quality-fold)>summary:focus-visible { outline:2px solid #18181b; outline-offset:2px; border-radius:8px; }
.iphone-shop.public-modern .shop-detail-fold :is(.shop-included-items,.shop-service-history,.shop-product-notes) { border:0; padding:8px 0 16px; }
.iphone-shop.public-modern .shop-quality-fold>summary { font-size:.85rem; padding:8px 0 0; min-height:44px; }
@media(max-width:900px) {
 .iphone-shop.public-modern .shop-product-modern { row-gap:12px; }
 .iphone-shop.public-modern .shop-product-modern .shop-main-photo img { height:clamp(230px,65vw,360px); }
}
@media(prefers-reduced-motion:reduce) {
 .iphone-shop.public-modern :is(.shop-detail-fold,.shop-quality-fold)>summary>span { transition:none; }
}
