/* A single official action stays visible outside the collapsible navigation. */
.header-inner{gap:28px}.site-header nav{margin-left:auto;gap:24px}.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.header-actions .official-cta{font-size:13px;min-height:44px;padding-inline:16px;white-space:nowrap}.official-cta .icon{width:17px;height:17px}.brand{gap:8px}.brand-wordmark{display:inline-flex;align-items:center;gap:7px}.brand-name{color:#1264d5;font-size:25px;font-weight:800;font-style:italic;letter-spacing:-1.3px;line-height:1.2}.brand-sheet{font-size:11px;letter-spacing:.015em;font-weight:700;line-height:1.3;background:#eaf4ff;color:#174d91;border-radius:5px;padding:5px 6px;margin-top:3px}.brand-mark{width:35px;height:35px}.journey-nav{display:flex;align-items:center;gap:15px;margin:-10px 0 27px;padding:12px 0;border-block:1px solid var(--border);flex-wrap:wrap}.journey-nav a{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#526680;min-height:32px}.journey-nav a>.journey-number{display:inline-flex;align-items:center;justify-content:center;height:23px;min-width:23px;border:1px solid #d6e2f3;border-radius:6px;font-size:10px;color:#526680;background:#fff}.journey-nav a[aria-current],.journey-nav a:last-child{color:var(--brand-primary);font-weight:650}.journey-nav a[aria-current]>.journey-number{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}.journey-nav>.icon{transform:rotate(-90deg);height:13px;width:13px;color:#7a8ea9}.journey-nav a .icon{height:13px;width:13px}.catalog-handoff{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border:1px solid #d6e4f7;border-radius:10px;background:#eaf4ff;margin-bottom:20px}.catalog-handoff>div{display:flex;align-items:center;gap:12px}.catalog-handoff>div>.icon{color:var(--brand-primary);height:22px;width:22px}.catalog-handoff p{font-size:13px;line-height:1.6;color:#526680}.catalog-handoff strong{color:#10346b;font-weight:650;margin-right:7px}.catalog-handoff .button{flex-shrink:0;white-space:nowrap;min-height:44px;font-size:13px}.closing-actions,.footer-conversion-actions{display:flex;gap:12px;flex-wrap:wrap;flex-shrink:0}.closing-cta{gap:24px}.closing-cta>div:first-child{min-width:0}.closing-cta h2{font-size:23px}.footer-conversion{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:0 0 32px;margin-bottom:34px;border-bottom:1px solid var(--border)}.footer-conversion h2{font-size:22px}.footer-conversion p{font-size:13px;line-height:1.7;color:#526680;margin-top:9px;max-width:480px}.footer-main{grid-template-columns:1.25fr 1fr 1fr 1fr 1fr;gap:24px}.footer-main>div:not(:first-child)>a{font-size:11px}.footer-main>div:not(:first-child)>a>.icon{width:12px;height:12px;margin-left:5px}.footer-brand .brand-name{font-size:23px}.footer-brand .brand-sheet{font-size:10px}.footer-brand .brand-mark{width:31px;height:31px}.seller-link-block{margin-top:22px;padding:17px 18px;background:#eaf4ff;border:1px solid #d7e6f8;border-radius:10px}.seller-link-block label{display:block;font-size:13px;font-weight:650;color:#10346b;margin-bottom:9px}.seller-copy-row{display:flex;gap:9px}.seller-copy-row input{flex:1;min-width:0;font-size:12px;padding-inline:11px;min-height:44px}.seller-copy-row button{flex-shrink:0;min-height:44px;font-size:13px}.copy-result{font-size:12px!important;line-height:1.65;color:#526680;margin-top:10px;min-height:20px}.product-actions .official-cta{flex:1}.product-actions>.button:not(.official-cta){flex:1}.product-next-step{font-size:13px;color:#526680;margin-top:12px}.product-next-step a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1100px){.site-header nav{gap:18px}.header-inner{gap:20px}.brand-name{font-size:24px}.header-actions .official-cta{padding-inline:13px}}
@media(max-width:1199px){.site-header{height:68px}.header-inner{gap:16px}.site-header nav{display:none;position:absolute;top:67px;left:0;right:0;padding:18px 24px;background:#fff;height:auto;max-height:calc(100dvh - 68px);overflow-y:auto;border-bottom:1px solid var(--border);box-shadow:0 10px 22px #10346b13;align-items:stretch;gap:4px;margin:0}.site-header nav.open{display:flex;flex-direction:column}.site-header nav>a,.site-header .nav-trigger{font-size:14px;min-height:46px;padding:11px 14px;display:flex;justify-content:space-between;width:100%;border-radius:7px}.site-header nav>a:hover,.site-header .nav-trigger:hover{background:var(--brand-light);text-decoration:none}.site-header .nav-panel{position:static;min-width:0;box-shadow:none;border:0;background:var(--brand-soft);margin:3px 0 10px;padding:12px;border-radius:8px}.site-header .nav-panel a{font-size:13px;padding:10px;min-height:46px}.site-header .nav-categories{column-gap:10px;grid-template-columns:1fr 1fr}.mobile-toggle{display:inline-flex!important;border:1px solid var(--border)}.header-actions .official-cta{min-height:44px;padding-inline:16px}.footer-main{grid-template-columns:1.25fr 1fr 1fr}.footer-main>div:last-child{grid-column:auto;display:block}.footer-conversion{align-items:flex-start;flex-direction:column;gap:20px}.closing-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.site-header{height:64px}.site-header nav{top:63px;max-height:calc(100dvh - 64px);padding:15px 18px}.header-inner{gap:8px;padding-inline:16px}.brand{gap:5px;min-width:0}.brand-mark{width:28px;height:28px}.brand-wordmark{gap:5px}.brand-name{font-size:21px;letter-spacing:-1.1px}.brand-sheet{font-size:9px;padding:4px 5px;border-radius:4px;margin-top:2px}.header-actions{gap:6px}.header-actions .official-cta{font-size:11px;min-height:44px;padding-inline:10px;gap:7px}.header-actions .official-cta .icon{width:14px;height:14px}.header-actions .mobile-toggle{width:40px;min-width:40px;height:44px}.journey-nav{display:grid;grid-template-columns:1fr;gap:2px;padding:10px 0;margin-bottom:23px}.journey-nav>a{font-size:12px;min-height:32px}.journey-nav>.icon{display:none}.catalog-handoff{padding:16px;gap:15px;align-items:stretch;flex-direction:column}.catalog-handoff>div{align-items:flex-start;gap:10px}.catalog-handoff>div>.icon{margin-top:3px}.catalog-handoff p{font-size:13px}.catalog-handoff strong,.catalog-handoff span{display:block}.catalog-handoff strong{margin-bottom:3px}.catalog-handoff .button{width:100%}.closing-actions,.footer-conversion-actions{display:grid;width:100%;gap:10px;grid-template-columns:1fr}.closing-actions .button,.footer-conversion-actions .button{width:100%}.closing-cta{padding:23px;gap:20px}.footer-conversion{padding-bottom:26px;margin-bottom:28px;gap:20px}.footer-conversion h2{font-size:21px}.footer-conversion p{font-size:14px}.footer-main{grid-template-columns:1fr 1fr;gap:28px 18px}.footer-main>div:first-child{grid-column:1/-1}.footer-main>div:last-child{grid-column:auto;display:block}.footer-main>div:not(:first-child)>a{font-size:12px;line-height:1.7;min-height:36px}.footer-brand .brand-name{font-size:24px}.footer-brand .brand-sheet{font-size:11px}.footer-brand .brand-mark{width:32px;height:32px}.footer-bottom{margin-top:27px}.seller-link-block{padding:16px}.seller-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.seller-copy-row input{font-size:12px;padding-inline:9px}.seller-copy-row button{padding-inline:12px;font-size:12px}.product-actions{display:grid;grid-template-columns:1fr}.product-next-step{font-size:13px;line-height:1.75}}

.journey-short{display:none}
@media(max-width:640px){.header-actions{gap:10px}.header-actions .official-cta{font-size:12px}.header-actions .official-cta:focus-visible,.header-actions .mobile-toggle:focus-visible{outline-offset:2px}.journey-nav{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:7px;padding-block:9px}.journey-nav a{font-size:12px;gap:6px;white-space:nowrap;min-height:36px}.journey-nav .journey-label{display:none}.journey-nav .journey-short{display:inline}.journey-nav a>.journey-number{height:21px;min-width:21px;font-size:9px}.journey-nav a .icon{width:12px;height:12px}}

/* 1440 Spreadsheet Responsive Standard: layout only.
   Wide browsing: 1440. Supporting modules: 1160. Reading measure: 860.
   The border-box wide container includes its responsive horizontal padding. */
:root {
 --layout-wide:1440px;
 --layout-standard:1160px;
 --layout-reading:860px;
 --layout-gutter:32px;
}
.container,.container.header-inner {
 width:100%;
 max-width:var(--layout-wide);
 margin-inline:auto;
 padding-inline:var(--layout-gutter);
}
.product-grid {
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:20px;
}
.product-body h3 {
 -webkit-line-clamp:2;
 min-height:2.8em;
 max-height:2.8em;
}
.category-grid {
 grid-template-columns:repeat(6,minmax(0,1fr));
}
.category-directory {
 grid-template-columns:repeat(4,minmax(0,1fr));
}
.hero-layout {
 grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
 gap:56px;
}
.hero .supporting,.hero .hero-description {max-width:560px}
.hero-search {max-width:500px}
.article-content,.catalog,.catalog-filters,.field{min-width:0}
.catalog-filters {
 grid-template-columns:minmax(220px,600px) minmax(160px,240px) minmax(180px,240px) max-content;
 gap:16px;
}
.home-main>.section:has(>.steps-four),
.home-main>.section:has(>.faq-list),
.home-main>.closing-cta,
.page-main:has(>.finds-band)>.section,
.page-main>.finds-band,
.page-main>.source-note,
.page-main>.closing-cta,
.page-main>.section:not(:has(.catalog)):not(:has(.product-grid)),
.page-main>.two-column{
 max-width:var(--layout-standard);
 margin-inline:auto;
}
/* Keep the grouped selections on the finds page distinct from the catalog. */
.page-main:has(>.finds-band) .product-grid {
 grid-template-columns:repeat(4,minmax(0,1fr));
}
.article-layout {
 max-width:var(--layout-standard);
 margin-inline:auto;
 grid-template-columns:minmax(0,860px) 260px;
 gap:40px;
}
.article-content,.text-panel,.faq-answer p,.payment-method p {
 max-width:var(--layout-reading);
}
.text-panel {margin-inline:auto}
.page-main:has(>.article-layout)>.page-intro,
.page-main:has(>.faq-list)>.page-intro,
.page-main:has(>.faq-list)>.faq-list,
.page-main:has(>.payment-methods)>.page-intro,
.page-main:has(>.payment-methods)>.callout,
.page-main>.payment-methods {
 max-width:var(--layout-standard);
 margin-inline:auto;
}
.page-main:has(>.text-panel)>.page-intro {
 max-width:var(--layout-reading);
 margin-inline:auto;
}
.page-intro .lead {max-width:var(--layout-reading)}

@media(max-width:1439px) {
 :root {--layout-gutter:24px}
 .product-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
 .category-grid {grid-template-columns:repeat(6,minmax(0,1fr))}
 .hero-layout {gap:48px}
}
@media(max-width:1279px) {
 .product-grid,.page-main:has(>.finds-band) .product-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
 }
 .category-directory {grid-template-columns:repeat(3,minmax(0,1fr))}
 .article-layout {grid-template-columns:minmax(0,1fr) 220px;gap:32px}
}
@media(max-width:1023px) {
 .product-grid {gap:16px}
 .category-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
 .category-directory {grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero-layout {grid-template-columns:minmax(0,1fr);gap:32px}
 .catalog-filters {grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px}
 .article-layout {grid-template-columns:minmax(0,1fr);gap:28px}
 .article-content {width:100%;margin-inline:auto}
 .article-sidebar {
  position:static;order:-1;border-left:0;border-bottom:1px solid var(--border);
  padding:0 0 16px;display:flex;gap:6px 20px;flex-wrap:wrap;
 }
 .article-sidebar h2 {width:100%;margin-bottom:0}
 .article-sidebar a {padding:4px 0}
}
@media(max-width:767px) {
 :root {--layout-gutter:16px}
 .product-grid,.page-main:has(>.finds-band) .product-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
 }
 .product-body h3 {-webkit-line-clamp:2;min-height:2.8em;max-height:2.8em}
 .category-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;
  grid-template-rows:none;max-width:100%;overflow:visible;
  gap:10px;padding:0;scroll-snap-type:none;overscroll-behavior-x:auto;
 }
 .category-tile {scroll-snap-align:start}
 .category-directory {grid-template-columns:minmax(0,1fr)}
 .hero-layout {gap:26px}
 .catalog-filters {grid-template-columns:minmax(0,1fr);gap:19px}
 .filter-submit {width:100%}
 .two-column,.qc-teaching,.product-detail{grid-template-columns:minmax(0,1fr)}
 .article-layout {gap:24px}
 .article-sidebar {gap:5px 15px}
}

/* Shared Inter type scale. Keep these tokens after the legacy component styles
   so every page and responsive composition uses the same reading hierarchy. */
:root {
 --font-sans:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 --type-h1-size:48px;
 --type-h1-leading:1.15;
 --type-h2-size:28px;
 --type-h3-size:18px;
 --type-body-size:16px;
 --type-body-leading:1.7;
 --type-small-size:14px;
 --type-nav-size:14px;
 --type-button-size:15px;
}
:root body {
 font-family:var(--font-sans);
 font-size:var(--type-body-size);
 font-weight:400;
 line-height:var(--type-body-leading);
}
button,input,select,textarea {font-family:var(--font-sans)}
:root h1 {
 font-size:var(--type-h1-size);font-weight:800;
 line-height:var(--type-h1-leading);letter-spacing:-.02em;
 text-wrap:balance;overflow-wrap:break-word;
}
:root h2 {
 font-size:var(--type-h2-size);font-weight:700;line-height:1.3;letter-spacing:-.02em;
 text-wrap:balance;
}
:root h3 {
 font-size:var(--type-h3-size);font-weight:600;line-height:1.4;letter-spacing:0;
}
:root :is(.lead, .hero .supporting, .hero .hero-description, .step-compact p, .two-column p, .qc-home p, .shipping-home p, .shipping-home li, .sheet-check-copy p:not(.eyebrow), .closing-cta p:not(.eyebrow), .article-content p, .article-content li, .text-panel p, .text-panel li, .qc-teaching p, .payment-method p, .order-step p, .callout p, .category-directory p, .category-advice p, .category-advice ul, .faq-answer, .check-row, .finds-band p, .footer-conversion p) { font-size: var(--type-body-size); font-weight: 400; line-height: var(--type-body-leading); letter-spacing: normal; }
:root :is(small, .small, .eyebrow, .section-heading p, .update-line, .workspace-title, .workspace-pill, .workspace-tools, .workspace-tools a, .workspace table, .workspace th, .workspace .muted-cell, .workspace-bottom, .intro-strip span, .step-number, .reference-label, .product-category, .product-meta, .check-date, .image-missing, .sheet-check-row, .process-line p, .payment-badge, .footer-brand p, .footer-bottom, .catalog-summary p, .catalog-handoff p, .hero-official-note, .source-note p, .source-note > div:first-child, .check-progress, .qc-figure figcaption, .order-step .mistake, .order-step .next-step, .catalog-table, .info-table, .info-table th, .info-table td, .category-directory .directory-bottom, .detail-facts dt, .detail-facts dd, .report-form .field small, .report-status, .empty-note, .product-next-step) { font-size: var(--type-small-size); font-weight: 400; line-height: 1.6; }
:root :is(.site-header nav, .site-header nav > a, .site-header .nav-trigger, .site-header .nav-panel a, .all-categories, .journey-nav a, .journey-nav a[aria-current], .journey-nav a:last-child, .journey-nav a > .journey-number, .category-tile, .article-sidebar a, .breadcrumbs, .source-links a, .sheet-check-copy a, .footer-main > div:not(:first-child) > a, .workspace-tabs span, .workspace-tabs a) { font-size: var(--type-nav-size); font-weight: 500; line-height: 1.5; }
:root :is(.button, .text-button, .text-link, .detail-link, .header-actions .official-cta, .hero-search .button, .hero .button-row .text-link, .hero-official-actions .text-link, .hero-official-actions .official-cta, .catalog-handoff .button, .product-detail .button-row .button, .load-more-wrap .button, .seller-copy-row button) { font-size: var(--type-button-size); font-weight: 600; line-height: 1.5; }
:root .hero h1 {max-width:560px}
/* A legacy payment paragraph has an inline size; it follows the body token too. */
.page-main .lead[style] {font-size:var(--type-body-size)!important}
.copy-result {font-size:var(--type-small-size)!important;line-height:1.6}
:root :is(input,textarea,select,.field input,.field textarea,.field select,
 .hero-search input,.seller-copy-row input) {
 font-size:16px;font-weight:400;line-height:1.5;
}
:root :is(.field label,.seller-link-block label) {font-size:14px;font-weight:500;line-height:1.5}
:root .faq-list summary {font-size:var(--type-body-size);font-weight:600;line-height:1.5}
.product-body h3 {min-height:2.8em;max-height:2.8em}
.journey-nav a>.journey-number {min-width:26px;height:26px}
.payment-method {grid-template-columns:210px minmax(0,1fr)}
.footer-main h2 {min-height:2.6em}
@media(max-width:1279px) and (min-width:1200px) {
 .header-inner {gap:16px}
 .site-header nav {gap:14px}
}
@media(max-width:767px) {
 :root {
  --type-h1-size:32px;
  --type-h1-leading:1.2;
  --type-h2-size:22px;
  --type-h3-size:16px;
  --type-body-size:15px;
  --type-body-leading:1.6;
  --type-button-size:14px;
 }
 .payment-method {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px) {
 /* Retain the complete wordmark and official CTA with readable button text. */
 .site-header .brand-name {font-size:19px;letter-spacing:-1px}
 .site-header .brand-mark {width:26px;height:26px}
 .site-header .brand-wordmark {gap:4px}
 .site-header .brand-sheet {padding-inline:4px}
 .header-actions {gap:8px}
 .header-actions .official-cta {padding-inline:9px;gap:6px}
 .header-actions .mobile-toggle {width:44px;min-width:44px}
 .journey-nav {gap:5px;flex-wrap:wrap}
 .journey-nav a {gap:5px;min-height:44px}
}
@media(max-width:389px) {
 .site-header .brand {gap:4px}
 .site-header .brand-name {font-size:17px;letter-spacing:-.8px}
 .site-header .brand-wordmark {gap:3px}
 .header-actions .official-cta {padding-inline:8px}
}
@media(max-width:359px) {
 .site-header {height:108px}
 .header-inner {flex-wrap:wrap;justify-content:center;align-content:center;gap:6px}
 .site-header .brand {width:100%;justify-content:center;flex-shrink:0}
 .site-header nav {top:107px;max-height:calc(100dvh - 108px)}
}

/* The homepage preview pairs a featured listing with a short list. */
.reference-board {
 min-width:0;padding:clamp(16px,1.6vw,24px);
 background:#fff;border:1px solid var(--border);border-radius:16px;
}
.reference-board-heading {
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
 gap:0 12px;margin-bottom:12px;
}
.reference-board-heading h2 {margin:0;text-wrap:normal}
.reference-category-link {
 display:inline-flex;align-items:center;gap:8px;min-height:44px;
 flex-shrink:0;font-size:var(--type-nav-size);font-weight:500;line-height:1.5;
}
.reference-category-link .icon {width:16px;height:16px}
.reference-board-grid {
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 align-items:start;gap:clamp(14px,1.6vw,24px);
}
.reference-board-grid:not(:has(.reference-board-side)) {grid-template-columns:minmax(0,1fr)}
.reference-item {display:grid;min-width:0;align-items:center;gap:12px;border-radius:8px}
.reference-visual {
 display:grid;place-items:center;aspect-ratio:1;min-width:0;overflow:hidden;
 border-radius:8px;background:#f1f4f8;
 outline:1px solid var(--border);outline-offset:-1px;
}
.reference-visual img {
 width:100%;height:100%;min-height:0;object-fit:contain;
}
.reference-board-feature .reference-visual {aspect-ratio:1.5;max-height:240px}
.reference-board-side {display:grid;grid-auto-rows:1fr;align-self:stretch;gap:16px;min-width:0}
.reference-board-side .reference-item {grid-template-columns:clamp(64px,6vw,88px) minmax(0,1fr)}
.reference-board-side .reference-item+.reference-item {
 border-top:1px solid var(--border);padding-top:16px;border-radius:0 0 8px 8px;
}
.reference-item-copy {display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.reference-category {
 font-size:var(--type-small-size);font-weight:400;
 line-height:1.6;color:var(--text-secondary);
}
.reference-item:hover {text-decoration:none}
.reference-item:hover h3 {text-decoration:underline;text-underline-offset:3px}
.reference-item:hover .reference-visual {outline-color:var(--brand-primary)}
.reference-board-note {
 margin-top:16px;padding-top:12px;border-top:1px solid var(--border);
 font-size:var(--type-small-size);font-weight:400;
 line-height:1.6;color:var(--text-secondary);
}
@media(max-width:1023px) {
 .reference-board {width:100%;max-width:720px;margin-inline:auto}
}
@media(max-width:639px) {
 .reference-board-grid {grid-template-columns:minmax(0,1fr)}
 .reference-board-side {grid-auto-rows:auto;gap:14px}
 .reference-board-side .reference-item,.reference-board-feature {grid-template-columns:80px minmax(0,1fr)}
 .reference-board-feature .reference-visual {aspect-ratio:1}
 .reference-board-side {border-top:1px solid var(--border);padding-top:14px}
 .reference-board-side .reference-item+.reference-item {padding-top:14px}
}

/* FansSheets owns the complete discovery flow; Superbuy remains the agent. */
.mainsite-compact {display:none}
.header-actions .mainsite-cta {min-height:44px;padding:10px 16px;gap:8px;white-space:nowrap}
.mainsite-cta .icon {width:17px;height:17px;flex-shrink:0}
.site-header nav>.official-nav-link {display:inline-flex;align-items:center;gap:7px;white-space:nowrap;min-height:44px}
.catalog-handoff .handoff-actions {gap:10px;flex-shrink:0;flex-wrap:wrap}
.catalog-handoff>div:first-child {min-width:0}
.catalog:has(.search-empty:not([hidden]))>.catalog-handoff {display:none}
.search-empty {
 padding:32px;margin-top:24px;background:#fff;border:1px solid var(--border);
 border-radius:12px;text-align:center;
}
.search-empty[hidden] {display:none}
.search-empty-icon {
 display:grid;place-items:center;width:52px;height:52px;margin:0 auto 16px;
 background:var(--brand-light);color:var(--brand-primary);border-radius:12px;
}
.search-empty-icon .icon {width:24px;height:24px}
.search-empty h2 {margin:0 auto;max-width:720px}
.search-empty p {max-width:640px;margin:12px auto 0;color:var(--text-secondary);overflow-wrap:anywhere}
.search-empty .button-row {justify-content:center;margin-top:22px}
.search-empty .button {min-height:46px}
@media(max-width:767px) {
 .search-empty {padding:24px 18px}
 .search-empty .button-row,.search-empty .button {width:100%}
 .catalog-handoff .handoff-actions {align-items:stretch}
}
@media(max-width:640px) {
 .header-actions .mainsite-cta {padding-inline:9px;gap:6px}
 .header-actions .mainsite-label {display:none}
 .header-actions .mainsite-compact {display:inline}
 .header-actions .mainsite-cta .icon {width:14px;height:14px}
 .header-actions .mainsite-cta:focus-visible {outline-offset:2px}
 .catalog-handoff .handoff-actions {gap:10px;width:100%}
}

/* A manual fallback for third-party access refusals; no cross-origin probing. */
.official-access-help {max-width:560px;margin-top:12px}
.official-access-help summary {
 display:flex;align-items:center;justify-content:space-between;gap:16px;
 min-height:44px;padding:10px 16px;border:1px solid var(--border);border-radius:8px;
 font-size:var(--type-small-size);font-weight:500;line-height:1.5;
 list-style:none;cursor:pointer;color:var(--brand-deep);background:#fff;
}
.official-access-help summary::-webkit-details-marker {display:none}
.official-access-help summary>.icon {width:16px;height:16px;flex-shrink:0}
.official-access-help summary:hover {background:var(--brand-soft)}
.official-access-help[open] summary {background:var(--brand-soft);border-radius:8px 8px 0 0}
.official-access-help[open] summary>.icon {transform:rotate(180deg)}
.official-access-body {padding:16px;border:1px solid var(--border);border-top:0;border-radius:0 0 8px 8px;background:#fff}
:root .official-access-help .official-access-body>p {font-size:var(--type-small-size);line-height:1.6;color:var(--text-secondary);margin:0}
.official-address-row {display:flex;gap:12px;margin-top:14px}
.official-address-row input {width:100%;min-width:0;flex:1;min-height:44px;padding:10px 12px}
.official-address-row .button {flex-shrink:0;white-space:nowrap;min-height:44px}
.official-access-body .official-copy-status {margin-top:10px}
.official-copy-status:empty {display:none}
.official-access-body>.text-link {min-height:44px;margin-top:8px}
@media(max-width:767px) {
 .official-access-help {width:100%;max-width:100%}
 .official-address-row {gap:10px}
 .official-address-row .button {padding-inline:12px}
}

/* A focused homepage: local search, one main-site action, and real finds. */
.hero-shell .hero {padding-block:clamp(28px,3.3vw,48px)}
.hero-shell .hero-layout {column-gap:clamp(24px,3.8vw,60px)}
.hero-copy {min-width:0}
.hero-shell .hero .supporting {max-width:520px;color:var(--text-secondary)}
.hero-shell .hero-search {
 display:grid;grid-template-columns:minmax(0,1fr) auto;
 gap:10px;max-width:520px;margin-top:26px;
}
.hero-shell .hero-search input {
 width:100%;min-height:50px;padding-right:40px;
}
.hero-shell .hero-search>.icon {top:16px}
.hero-shell .hero-search .button {min-height:50px;padding-inline:20px}
.hero-actions {display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:18px}
.hero-actions>.button {min-height:48px}
.hero-actions>.text-link {min-height:44px}
.hero-updated {
 display:flex;align-items:center;gap:8px;margin-top:22px;
 font-size:var(--type-small-size);line-height:1.6;color:var(--text-secondary);
}
.hero-updated>.icon {width:15px;height:15px;flex-shrink:0}
@media(max-width:1023px) and (min-width:768px) {
 .hero-copy {width:100%;max-width:720px;margin-inline:auto}
 .hero-shell .hero h1 {max-width:none}
 .hero-shell .hero .supporting {max-width:620px}
}
@media(max-width:767px) {
 .hero-shell .hero-search {gap:10px;margin-top:20px}
 .hero-shell .hero-search .button {padding-inline:16px;width:auto}
 .hero-actions {gap:8px 20px;margin-top:16px}
 .hero-actions>.mainsite-cta {width:100%;padding-inline:12px}
 .hero-updated {margin-top:14px}
}

/* Align the five home finds with the hero and keep their actions in one row. */
.home-finds {padding-top:12px}
.home-finds .product-grid {gap:clamp(12px,1.3vw,20px)}
.home-finds .product-card {display:grid;grid-template-rows:auto 1fr}
.home-finds .product-body {display:flex;flex-direction:column}
.home-finds .product-body h3 {display:block;min-height:0;max-height:none;overflow:visible;overflow-wrap:anywhere}
.home-finds .product-meta {margin-top:auto;padding-top:12px}
.home-finds .detail-link {margin-top:12px}
.product-picture:focus-visible {outline-offset:-4px}
@media(min-width:1280px) {
 .home-finds .product-grid {grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* Category discovery and the buying sequence share the same content edges. */
.home-main>.home-categories,.home-main>.home-how {
 max-width:var(--layout-standard);margin-inline:auto;
}
.home-categories {padding-bottom:24px}
.home-categories .section-heading {margin-bottom:20px}
.category-tile {min-width:0;min-height:76px;gap:12px}
.category-tile>span {min-width:0}
.category-tile>.icon {flex-shrink:0}
.home-how .section-heading {margin-bottom:24px}
.home-how .steps-four {
 grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;
 list-style:none;border:0;margin:0;padding:0;
}
.home-how .step-compact {position:relative;min-width:0;margin:0;padding:0;border:0}
.home-how .step-number {
 display:flex;align-items:center;justify-content:center;
 width:36px;height:36px;margin-bottom:16px;
 border:1px solid #cbdcf4;border-radius:50%;background:var(--brand-light);
}
.home-how .step-compact:not(:last-child)::after {
 content:"";position:absolute;left:48px;right:-16px;top:18px;
 height:1px;background:#cbdcf4;
}
.home-how .step-compact h3 {margin-bottom:10px}
@media(max-width:1023px) {
 .home-how .steps-four {grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px}
 .home-how .step-compact:nth-child(2)::after {display:none}
}
@media(max-width:639px) {
 .category-tile {min-height:72px;padding:12px;gap:10px}
 .category-tile>.icon {width:22px;height:22px}
 .home-categories {padding-bottom:16px}
 .home-how .steps-four {grid-template-columns:minmax(0,1fr);gap:24px}
 .home-how .step-compact {display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:14px}
 .home-how .step-number {grid-column:1;grid-row:1 / span 2;margin:0}
 .home-how .step-compact h3 {grid-column:2;margin-top:5px;margin-bottom:6px}
 .home-how .step-compact p {grid-column:2}
 .home-how .step-compact:not(:last-child)::after {
  display:block;left:17.5px;top:48px;bottom:-12px;right:auto;width:1px;height:auto;
 }
}

/* Keep the full main-site range distinct from the curated local references. */
.hero-copy .supporting strong {color:var(--brand-deep);font-weight:600}
.catalog-handoff p>strong {display:block;margin:0 0 4px}
.catalog-handoff p>span {display:block}
.product-style-count {font-weight:600;color:var(--brand-deep)}
.reference-style-count {font-size:var(--type-small-size);line-height:1.6;color:var(--text-secondary)}
.table-product-label {min-width:0;display:block}
.table-product-label>small {display:block;margin-top:4px;font-size:var(--type-small-size);line-height:1.5;color:var(--text-secondary);font-weight:400}
.reference-checks {margin:0 0 16px;padding-left:22px}
:root .reference-checks li {font-size:var(--type-body-size);font-weight:400;line-height:var(--type-body-leading)}
.reference-checks li+li {margin-top:10px}
.product-discovery {display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:32px;padding:24px;background:var(--brand-soft);border:1px solid var(--border);border-radius:12px}
.product-discovery>div {min-width:0;max-width:72ch}
.product-discovery h2 {margin-bottom:10px}
.product-discovery p {color:var(--text-secondary)}
.product-discovery [data-product-search-term] {margin-top:10px;overflow-wrap:anywhere}
.product-discovery>.button {flex-shrink:0;min-height:46px}
@media(max-width:767px) {
 .product-discovery {flex-direction:column;align-items:stretch;gap:18px;padding:20px;margin-top:24px}
 .product-discovery>.button {width:100%;white-space:normal;text-align:center}
}
.catalog-recovery[hidden] {display:none}
.catalog-handoff[hidden],.view-switch[hidden] {display:none}
.not-found-page .footer-conversion {display:none}
.catalog-recovery {display:flex;align-items:center;justify-content:space-between;gap:24px;margin:20px 0;padding:20px;border:1px solid #b6cbed;border-radius:12px;background:#fff}
.catalog-recovery h2 {font-size:var(--type-h3-size);line-height:1.4;margin:0 0 6px}
.catalog-recovery p {margin:0;color:var(--text-secondary)}
.catalog-recovery .small:not([hidden]) {margin-top:8px;overflow-wrap:anywhere}
.recovery-actions {display:flex;flex-wrap:wrap;gap:12px;flex-shrink:0;max-width:100%}
.catalog-recovery button:disabled {opacity:.65;cursor:progress}
@media(max-width:1199px) {
 .catalog-recovery {align-items:stretch;flex-direction:column;gap:16px}
}
@media(max-width:639px) {
 .catalog-recovery {padding:16px}
 .recovery-actions {display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .recovery-actions .button {white-space:normal;text-align:center}
}
@media(max-width:1023px) {
 .catalog-handoff {flex-direction:column;align-items:stretch;gap:16px}
 .catalog-handoff>div:first-child {align-items:flex-start}
 .catalog-handoff>div:first-child>.icon {margin-top:2px}
}

/* Short homepage guides route detailed reading to their dedicated pages. */
.home-main>.home-guides {max-width:var(--layout-standard);margin-inline:auto}
.guide-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.guide-card {display:flex;flex-direction:column;min-width:0;padding:22px;background:#fff;border:1px solid var(--border);border-radius:12px;color:var(--text-secondary)}
.guide-card>.icon {width:25px;height:25px;color:var(--brand-primary);margin-bottom:16px}
.guide-card h3 {margin-bottom:10px}
.guide-card p {font-size:var(--type-body-size);line-height:var(--type-body-leading);margin-bottom:16px}
.guide-card>span {display:inline-flex;align-items:center;gap:10px;color:var(--brand-primary);font-size:var(--type-button-size);font-weight:600;margin-top:auto;min-height:44px}
.guide-card>span>.icon {width:17px;height:17px}
.guide-card:hover {text-decoration:none;border-color:#a8c9f8;background:var(--brand-soft)}
@media(min-width:768px) and (max-width:1023px) {
 .guide-card h3 {min-height:2.8em}
}
.product-quick[hidden] {display:none}
.product-quick {position:fixed;inset:auto 24px max(12px,env(safe-area-inset-bottom));z-index:45;max-width:1160px;margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 16px;background:#fff;border:1px solid #cbdcf4;border-radius:12px;box-shadow:0 5px 26px #10346b20}
.product-quick-item {display:flex;align-items:center;gap:12px;min-width:0;color:var(--brand-deep);font-size:14px;font-weight:600}
.product-quick-item img {width:44px;height:44px;object-fit:contain;border:1px solid var(--border);border-radius:6px;flex-shrink:0}
.product-quick-item>span {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.product-quick-actions {display:flex;gap:10px;flex-shrink:1;max-width:65%;min-width:0}
.product-quick .button {min-height:44px;white-space:normal;min-width:0;text-align:center}
.quick-action-label {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-width:0;max-height:3em}
.product-quick .button[aria-disabled=true] {opacity:.55;cursor:not-allowed}
body.product-quick-ready {padding-bottom:var(--product-quick-space,96px)}
html:has(body.product-quick-ready) {scroll-padding-bottom:var(--product-quick-space,96px)}
@media(max-width:767px) {
 .guide-grid {grid-template-columns:minmax(0,1fr);gap:14px}
 .guide-card {padding:20px}
 .guide-card>.icon {margin-bottom:12px}
 .product-quick {inset-inline:12px;bottom:0;border-bottom:0;border-radius:12px 12px 0 0;padding:12px 12px max(12px,env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .product-quick-item {gap:10px;font-size:14px}
 .product-quick-item img {width:32px;height:32px}
 .product-quick-actions {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;max-width:none}
 .product-quick .button {white-space:normal;min-width:0;padding-inline:10px;text-align:center}
 body.product-quick-ready {padding-bottom:var(--product-quick-space,140px)}
 html:has(body.product-quick-ready) {scroll-padding-bottom:var(--product-quick-space,140px)}
}
