/* Storefront v10: saved data, one set of controls, and native fallbacks. */
.catalog-refresh .card-action-row { display:flex; align-items:stretch; gap:7px; min-width:0; }
.catalog-refresh .card-action-row .card-detail { flex:1; width:auto; min-width:0; }
.compare-button { display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; min-height:44px; padding:10px; color:#1745bf; background:#fff; border:1px solid #d4dfef; border-radius:10px; }
.compare-button svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.compare-button[aria-pressed="true"] { background:#1745bf; border-color:#1745bf; color:#fff; }
.compare-button:hover { border-color:#1745bf; }
.compare-button--detail { width:auto; gap:8px; font-size:13px; font-weight:750; margin:12px 0 0 6px; vertical-align:top; }
.catalog-refresh .home-content .brand-showcase a { display:flex; align-items:center; justify-content:flex-start; gap:12px; padding:16px; min-width:210px; min-height:94px; max-width:300px; text-align:left; }
.brand-showcase strong { display:block; font-size:17px; line-height:1.4; }
.brand-showcase small { display:block; margin-top:4px; font-size:12px; color:#52637a; font-weight:500; }
.brand-mark { display:flex; align-items:center; justify-content:center; width:88px; min-width:68px; height:54px; flex-shrink:0; }
.brand-mark img { display:block; width:100%; height:100%; object-fit:contain; }
.brand-monogram { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; font-size:23px; font-weight:800; color:#1745bf; border-radius:14px; background:#edf3ff; }
.brand-showcase .brand-arrow { color:#52637a; margin-left:auto; font-size:20px; padding-left:5px; }
.advanced-filters { margin:0 0 18px; border-block:1px solid #e1e8f3; }
.advanced-filters > summary { display:flex; align-items:center; gap:9px; cursor:pointer; min-height:48px; padding:12px 0; color:#263a54; font-size:14px; font-weight:750; list-style:none; }
.advanced-filters > summary::-webkit-details-marker { display:none; }
.advanced-filters > summary > svg { width:19px; height:19px; stroke:currentColor; fill:none; stroke-width:1.7; }
.advanced-filters > summary > span:last-child { margin-left:auto; }
.advanced-filter-fields { padding:2px 0 16px; }
.advanced-filter-fields fieldset { min-width:0; margin:0 0 14px; padding:0; border:0; }
.advanced-filter-fields legend { padding:0; margin-bottom:10px; font-size:13px; font-weight:750; color:#263a54; }
.advanced-filter-fields .filter-field { margin:0 0 12px; min-width:0; }
.advanced-filter-fields input, .advanced-filter-fields select { width:100%; min-width:0; min-height:44px; border:1px solid #ced9e9; border-radius:9px; padding:10px; color:#18283e; background:#fff; font:inherit; font-size:14px; }
.advanced-filter-fields input[aria-invalid="true"] { border-color:#aa2533; }
.filter-error { color:#a12532; font-size:13px; line-height:1.5; margin-top:7px; }
.filter-spec-note { color:#52637a; font-size:12px; line-height:1.6; }
.catalog-message { padding:13px 16px; margin-bottom:20px; color:#263a54; border:1px solid #ccdaf4; background:#f0f5ff; border-radius:12px; font-size:14px; }
.gallery-open { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:8px 12px; margin-bottom:10px; color:#1745bf; border:1px solid #d4dfef; border-radius:10px; background:#fff; font-size:13px; font-weight:700; }
.gallery-open svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.7; }
.gallery-dialog { width:min(1080px,calc(100% - 32px)); max-width:none; height:min(900px,calc(100vh - 32px)); height:min(900px,calc(100dvh - 32px)); max-height:none; padding:0; border:1px solid #d4dfef; border-radius:18px; background:#fff; color:#18283e; }
.gallery-dialog::backdrop { background:rgba(13,24,43,.82); }
.gallery-dialog-inner { height:100%; display:flex; flex-direction:column; }
.gallery-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 16px; flex-shrink:0; border-bottom:1px solid #e0e7f0; }
.gallery-dialog-header h2 { font-size:18px; line-height:1.4; overflow-wrap:anywhere; }
.gallery-dialog button { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; border:1px solid #d4dfef; border-radius:9px; background:#fff; color:#1745bf; font:inherit; font-size:14px; font-weight:700; padding:8px 12px; }
.gallery-dialog [data-gallery-close] { font-size:26px; }
.gallery-dialog button:disabled { opacity:.4; cursor:default; }
.gallery-dialog [data-gallery-zoom][aria-pressed="true"] { background:#1745bf; color:#fff; }
.gallery-zoom-canvas { flex:1; min-height:0; min-width:0; overflow:auto; background:#f7f9fd; overscroll-behavior:contain; }
.gallery-zoom-canvas img { display:block; width:100%; height:100%; object-fit:contain; padding:12px; }
.gallery-zoom-canvas.is-zoomed img { width:200%; height:200%; max-width:none; cursor:zoom-out; }
.gallery-zoom-canvas p { padding:24px; color:#52637a; font-size:15px; }
.gallery-dialog-toolbar { display:flex; align-items:center; justify-content:center; flex-shrink:0; gap:12px; padding:12px; border-top:1px solid #e0e7f0; }
.gallery-dialog-toolbar [data-gallery-count] { min-width:48px; text-align:center; color:#52637a; font-size:14px; }
body.gallery-is-open { overflow:hidden; }
.product-recommendations { margin-top:44px; }
.product-store-choice { margin-top:24px; padding:18px; border:1px solid #dce5f3; border-radius:14px; background:#f7faff; }
.product-store-choice h2 { font-size:17px; line-height:1.5; margin-bottom:12px; }
.product-store-choice label { display:block; font-size:13px; font-weight:700; margin-bottom:6px; }
.product-store-choice form > div { display:flex; gap:8px; align-items:stretch; }
.product-store-choice select { flex:1; min-width:0; width:100%; min-height:44px; border:1px solid #cbd8ee; border-radius:9px; padding:10px; font:inherit; font-size:14px; color:#18283e; background:#fff; }
.product-store-choice .button { min-height:44px; font-size:13px; padding:10px 14px; }
.product-store-address { margin-top:16px; border-top:1px solid #dce5f3; padding-top:14px; }
.product-store-address > strong { font-size:15px; }
.product-store-address > p { font-size:14px; color:#52637a; line-height:1.7; margin-top:5px; }
.product-store-links { display:flex; flex-wrap:wrap; gap:4px 18px; margin-top:6px; }
.product-store-links .text-link { min-height:44px; display:inline-flex; align-items:center; font-size:13px; }
.store-hours-details { margin-top:10px; border-top:1px solid #e0e7f0; }
.store-hours-details > summary { min-height:44px; padding:12px 0; font-weight:700; font-size:14px; cursor:pointer; color:#263a54; }
.store-hours-details .store-hours { margin-top:2px; }
.store-page-summary { color:#52637a; font-size:14px; margin:20px 0; }
.store-city-section + .store-city-section { margin-top:34px; }
.store-city-section > h2 { font-size:22px; margin-bottom:16px; }
.store-city-section .content-grid { align-items:start; }
.compare-content { padding-block:28px 48px; }
.compare-picker { padding:22px; background:#fff; border:1px solid #dce5f3; border-radius:16px; }
.compare-picker label { display:block; color:#263a54; font-size:13px; font-weight:750; margin-bottom:7px; }
.compare-picker :is(select,input[type="search"]) { width:100%; min-width:0; min-height:46px; padding:10px 12px; background:#fff; border:1px solid #cbd8ee; border-radius:9px; color:#18283e; font:inherit; font-size:14px; }
.compare-search { max-width:620px; }
.compare-search > div { display:flex; gap:8px; }
.compare-search > p { color:#52637a; font-size:12px; line-height:1.6; margin-top:8px; }
.compare-slots { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:22px; }
.compare-slot { min-width:0; }
.compare-slot select + label { margin-top:12px; }
.compare-picker-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:22px; }
.compare-picker-actions .text-link { min-height:44px; display:inline-flex; align-items:center; font-size:14px; }
.compare-table-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:28px 0 14px; font-size:14px; color:#263a54; }
.compare-table-heading p > span { color:#52637a; }
.compare-difference-toggle { display:flex; align-items:center; gap:8px; min-height:44px; font-size:13px; }
.compare-difference-toggle input { accent-color:#1745bf; width:18px; height:18px; }
.compare-table-scroll { max-width:100%; overflow-x:auto; border:1px solid #dce5f3; border-radius:14px; background:#fff; overscroll-behavior-x:contain; }
.compare-table { width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed; min-width:620px; }
.compare-table th, .compare-table td { text-align:left; vertical-align:top; padding:18px; font-size:14px; line-height:1.7; color:#263a54; overflow-wrap:anywhere; }
.compare-table th:first-child { width:172px; position:sticky; left:0; z-index:1; background:#f3f6fc; font-size:13px; font-weight:700; box-shadow:1px 0 #dce5f3; }
.compare-table th:not(:first-child), .compare-table td { min-width:210px; }
.compare-table tr > * + * { border-left:1px solid #e0e7f0; }
.compare-table tbody tr > * { border-top:1px solid #e0e7f0; }
.compare-table tbody tr[data-different="true"] td { background:#fbfcff; }
.compare-table-scroll:has(th:nth-child(4)) .compare-table { min-width:860px; }
.compare-product { display:flex; flex-direction:column; align-items:flex-start; gap:6px; color:#18283e; font-weight:400; }
.compare-product img { width:100%; height:150px; object-fit:contain; margin-bottom:8px; }
.compare-product > span { color:#52637a; font-size:12px; }
.compare-product > strong { font-size:19px; line-height:1.4; }
.compare-product > small { font-size:12px; color:#52637a; }
.compare-footnote { margin-top:18px; font-size:13px; color:#52637a; line-height:1.7; }
.compare-scroll-hint { display:none; }
.compare-tray { position:fixed; z-index:90; left:50%; bottom:18px; transform:translateX(-50%); display:flex; align-items:center; gap:16px; padding:10px 12px 10px 20px; width:max-content; max-width:calc(100% - 32px); background:#fff; color:#263a54; box-shadow:0 6px 30px #192f5633; border:1px solid #c8d7f1; border-radius:14px; font-size:14px; }
.compare-tray > span { white-space:nowrap; }
.compare-tray > button { min-height:44px; padding:10px; font:inherit; color:#52637a; border:0; background:none; cursor:pointer; }
.compare-tray > a { min-height:44px; padding:10px 16px; font-size:14px; }
.catalog-refresh.has-compare-tray { padding-bottom:100px; }
.has-compare-tray .visitor-notice { bottom:108px; }
@media(min-width:1200px) { .advanced-filter-fields .price-filter { display:block; } }
@media(max-width:1199px) {
 .catalog-refresh .filter-sort-field { grid-area:1 / 1; }
 .catalog-refresh .filter-actions { grid-area:1 / 2; }
 .advanced-filters { grid-column:1 / -1; margin:0; }
 .advanced-filters:not([open]) { border-bottom:0; }
 .advanced-filters > summary { padding-bottom:5px; }
 .advanced-filter-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding-top:15px; padding-bottom:4px; }
 .advanced-filter-fields .price-filter { grid-column:1 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; }
 .advanced-filter-fields legend { float:left; grid-column:1 / -1; width:100%; margin-bottom:0; }
 .filter-spec-note { grid-column:1 / -1; }
 .catalog-refresh.has-compare-tray { padding-bottom:calc(160px + env(safe-area-inset-bottom,0px)); }
 .compare-tray { bottom:calc(82px + env(safe-area-inset-bottom,0px)); }
 .has-compare-tray .visitor-notice { bottom:calc(164px + env(safe-area-inset-bottom,0px)); }
}
@media(max-width:760px) {
 .catalog-refresh .home-content .brand-showcase a { min-width:185px; min-height:84px; padding:13px; gap:10px; }
 .brand-showcase strong { font-size:16px; }
 .brand-mark { width:68px; }
 .brand-monogram { width:42px; height:42px; flex-basis:42px; border-radius:12px; font-size:21px; }
 .product-recommendations { margin-top:32px; }
 .product-store-choice { padding:15px; }
 .compare-content { padding-top:18px; }
 .compare-content .section-heading h1 { font-size:28px; }
 .compare-content .section-heading p:not(.eyebrow) { font-size:14px; }
 .compare-picker { padding:16px; }
 .compare-slots { grid-template-columns:1fr; gap:14px; margin-top:18px; }
 .compare-slot + .compare-slot { border-top:1px solid #e0e7f0; padding-top:14px; }
 .compare-picker-actions { gap:10px; }
 .compare-picker-actions .button { width:100%; }
 .compare-table th:first-child { width:108px; padding:12px; font-size:12px; }
 .compare-table th, .compare-table td { padding:14px; }
 .compare-table { min-width:540px; }
 .compare-table-scroll:has(th:nth-child(4)) .compare-table { min-width:740px; }
 .compare-product > strong { font-size:17px; }
 .compare-scroll-hint { display:block; color:#52637a; font-size:12px; margin-bottom:12px; }
 .compare-tray { gap:8px; padding:8px 8px 8px 13px; max-width:calc(100% - 24px); width:440px; justify-content:space-between; font-size:13px; }
 .compare-tray-label { display:none; }
 .compare-tray > a { font-size:13px; padding:10px 12px; }
 .compare-tray > button { font-size:12px; }
 .gallery-dialog { width:calc(100% - 16px); height:calc(100vh - 24px); height:calc(100dvh - 24px); border-radius:12px; }
 .gallery-dialog-header { padding:8px 10px; }
 .gallery-dialog-header h2 { font-size:16px; }
 .gallery-dialog-toolbar { gap:7px; padding:10px 7px; }
 .gallery-dialog-toolbar button { font-size:12px; padding:8px; }
}
@media(max-width:480px) { .advanced-filter-fields { grid-template-columns:repeat(2,minmax(0,1fr)); } .compare-button--detail { font-size:12px; margin-left:3px; padding-inline:10px; } }
@media(prefers-reduced-motion:reduce) { .compare-table-scroll { scroll-behavior:auto; } }
[hidden] { display:none !important; }

/* Keep disclosure titles upright and the chosen comparison immediately visible. */
.catalog-refresh .catalog-filters .advanced-filters > summary > span { display:inline; font-size:14px; transform:none; }
.catalog-refresh .catalog-filters .advanced-filters[open] > summary > span:not([aria-hidden="true"]) { transform:none; }
.catalog-refresh .catalog-filters .advanced-filters[open] > summary > span[aria-hidden="true"]:last-child { transform:rotate(180deg); }

/* Compact two-column cards keep both actions readable on a phone. */
@media(max-width:760px) {
 .catalog-refresh .product-grid { gap:12px; }
 .catalog-refresh .card-body h3,
 .catalog-refresh .card-body h3 a { font-size:16px; line-height:1.3; min-height:0; }
 .catalog-refresh .card-price { padding-top:6px; }
 .catalog-refresh .card-price strong { font-size:clamp(16px,4.3vw,20px); line-height:1.3; }
 .catalog-refresh .card-old-price:empty { display:none; }
 .catalog-refresh .card-bottom { padding-top:10px; gap:8px; }
 .catalog-refresh .card-options { gap:5px 6px; min-height:20px; }
 .catalog-refresh .card-action-row { flex-wrap:wrap; gap:6px; }
 .catalog-refresh .card-action-row .card-detail { flex:1 0 80px; min-width:80px; min-height:44px; padding:8px 6px; gap:4px; font-size:12px; line-height:1.25; white-space:nowrap; }
 .catalog-refresh .card-action-row .card-detail > span { display:none; }
 .catalog-refresh .card-action-row .compare-button { flex:0 0 44px; min-height:44px; }
 .catalog-refresh .catalog-filters .advanced-filters > summary { justify-content:flex-start; gap:9px; min-height:44px; padding-block:9px; }
 .catalog-refresh .catalog-filters .advanced-filters > summary > svg { flex:0 0 19px; }
 .catalog-refresh .advanced-filter-fields { gap:10px; padding-top:12px; }
 .catalog-refresh .advanced-filter-fields .filter-field { margin-bottom:0; }
 .catalog-refresh .advanced-filter-fields .price-filter { gap:8px 10px; }
}
.compare-selection { border:1px solid #dce5f3; border-radius:14px; background:#fff; }
.compare-selection > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; min-height:52px; list-style:none; cursor:pointer; color:#263a54; font-size:14px; font-weight:750; }
.compare-selection > summary::-webkit-details-marker { display:none; }
.compare-selection > summary > span:last-child { font-size:12px; font-weight:500; color:#52637a; white-space:nowrap; }
.compare-selection .compare-picker { border:0; border-top:1px solid #e0e7f0; border-radius:0 0 14px 14px; }
@media(max-width:760px) {
 .compare-table th:first-child { width:132px; }
 .compare-table { min-width:560px; }
 .compare-table-scroll:has(th:nth-child(4)) .compare-table { min-width:780px; }
}

/* Comparison 10.0.1: current variants, concise specification rows, native recovery. */
.compare-option-status { margin-top:8px; color:#52637a; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.compare-option-status:empty { display:none; }
.compare-native-help { margin-top:14px; color:#52637a; font-size:12px; line-height:1.6; }
.compare-picker [data-render-comparison]:disabled { background:#e4eaf5; color:#52637a; box-shadow:none; cursor:wait; }
