/* Owner-selected homepage: compact eight-slide heroes, search and collections.
   Loaded only on Home. Category art, section content and comparison stay intact. */
.home-main :is(a, button, input):focus-visible { outline: 3px solid #00aeef; outline-offset: 4px; }
.home-main [hidden] { display: none !important; }
.home-main .hero-refresh .hero-slides { height: 530px; }
.home-main .hero-refresh .hero-content { width: min(100%, 1440px); margin: auto; padding: 30px 80px; grid-template-columns: 43% minmax(0, 1fr); gap: 36px; }
.home-main .hero-refresh :is(.theme-scott, .theme-bodor) .hero-content { grid-template-columns: 47% minmax(0, 1fr); }
.home-main .hero-refresh .hero-overline { font-size: 11px; letter-spacing: .13em; margin-bottom: 12px; }
.home-main .hero-refresh .hero-brand { min-height: 38px; margin-bottom: 18px; display: flex; align-items: center; }
.home-main .hero-refresh .brand-scott { font-size: 18px; }
.home-main .hero-refresh .hero-copy :is(h1, h2) { font-size: clamp(38px, 3.25vw, 52px); line-height: 1.06; font-weight: 590; letter-spacing: -.045em; max-width: 610px; }
.home-main .hero-refresh .hero-intro { font-size: 16px; line-height: 1.6; margin-top: 19px; max-width: 500px; }
.home-main .hero-refresh .hero-actions { margin-top: 23px; gap: 10px 22px; }
.home-main .hero-refresh .hero-actions .button-primary { font-size: 13px; min-height: 48px; }
.home-main .hero-refresh .hero-specialist-link { font-size: 13px; }
.home-main .hero-refresh .hero-highlights { margin-top: 14px; }
.home-main .hero-refresh .hero-highlights li { font-size: 12px; }
.home-main .hero-refresh .hero-art-stage { height: 430px; padding-bottom: 42px; }
.home-main .hero-refresh .hero-stage-image { max-width: 100%; }
.home-main .hero-refresh .hero-image-caption { font-size: 11px; letter-spacing: .045em; line-height: 1.5; bottom: 0; }
.home-main .hero-refresh .hero-image-link { font-size: 12px; }
.home-main .hero-refresh .carousel-footer { padding: 10px max(60px, calc((100% - 1280px) / 2)); gap: 20px; align-items: center; }
.home-main .hero-refresh .carousel-dots { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.home-main .hero-refresh .carousel-dots button { min-height: 46px; }
.home-main .hero-refresh .carousel-dots button small { font-size: 12px; font-weight: 600; }
.home-main .hero-refresh .carousel-toggle { font-size: 12px; min-height: 42px; }
.home-main .hero-refresh .carousel-count { display: block; font-size: 11px; }
.home-main .hero-refresh .carousel-arrow { width: 42px; height: 42px; top: calc(50% - 34px); }

/* Search is immediately under the hero; the existing category grid is retained. */
.home-main .process-section { padding-top: 42px; }
.home-main :is(.process-section, .comparison-collections) .section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 410px); margin-bottom: 25px; gap: 54px; align-items: end; }
.home-main :is(.process-section, .comparison-collections) .section-heading h2 { font-size: clamp(30px, 2.75vw, 44px); line-height: 1.12; font-weight: 520; letter-spacing: -.04em; }
.home-main :is(.process-section, .comparison-collections) .section-heading > p { max-width: none; font-size: 13px; line-height: 1.7; color: #60778a; margin: 0 0 4px; }
.home-main :is(.process-section, .comparison-collections) .section-heading > div > p { font-size: 11px; letter-spacing: .13em; }
.home-main .comparison-search { display: flex; align-items: center; gap: 18px; min-height: 66px; padding: 7px 8px 7px 24px; border: 1px solid #a9cedf; border-radius: 12px; background: #f5f9fb; }
.home-main .comparison-search .search-icon { width: 21px; height: 21px; flex-shrink: 0; }
.home-main .comparison-search input { flex: 1; min-width: 0; border: 0; outline-offset: 0; background: transparent; color: #082039; font: inherit; font-size: 16px; padding: 10px 0; }
.home-main .comparison-search input::placeholder { color: #526d80; opacity: 1; }
.home-main .comparison-search button { min-height: 48px; min-width: 110px; border-radius: 8px; font-size: 14px; }
.home-main .comparison-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 12px 0 28px; font-size: 13px; }
.home-main .comparison-shortcuts > span { color: #617787; }
.home-main .comparison-shortcuts a { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; color: #155491; font-weight: 600; }
.home-main .comparison-shortcuts a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Published collections follow the site's white sections and rounded controls. */
.home-main .comparison-collections { width: min(100%, 1340px); margin: 0 auto; padding: 80px clamp(24px, 4vw, 54px) 48px; background: #fff; }
/* Adjacent white sections share one breathing space rather than two large gaps. */
.home-main .comparison-collections + .why-section { padding-top: 64px; padding-bottom: 80px; }
.home-main .comparison-collections .section-heading { margin-bottom: 32px; }
.home-main .comparison-collections .section-heading h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; font-weight: 400; letter-spacing: -.045em; color: var(--scott-navy); }
.home-main .comparison-tabs { display: flex; gap: 6px; margin: 32px auto 40px; width: min(100%, 620px); background: var(--paper); border: 1px solid var(--line); padding: 6px; border-radius: 999px; }
.home-main .comparison-tabs a { display: inline-flex; flex: 1; align-items: center; justify-content: center; min-height: 60px; padding: 14px 24px; color: var(--scott-blue); border: 2px solid transparent; border-radius: 999px; font-size: 18px; font-weight: 650; text-align: center; line-height: 1.25; }
.home-main .comparison-tabs a:hover { background: #e0edf5; }
.home-main .comparison-tabs a[aria-selected="true"] { background: var(--scott-blue); color: #fff; box-shadow: 0 3px 8px #1338541a; }
.home-main .collection-fallback-title { margin: 20px 0; font-size: 24px; }
.home-main .comparison-collections[data-tabs-ready] .collection-fallback-title { display: none; }
.home-main .comparison-collections .recent-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 0; width: 100%; padding: 0; }
.home-main .comparison-collections .arrival-card { flex: 0 0 calc((100% - 66px) / 4); min-width: 0; border-radius: 20px; box-shadow: 0 12px 30px #12365206; }
.home-main .comparison-collections .arrival-image { height: 220px; background: #f3f6f8; }
.home-main .comparison-collections .arrival-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 30px 18px 16px; transform: none; }
.home-main .comparison-collections .arrival-image > span { font-size: 11px; top: 12px; left: 12px; }
.home-main .comparison-collections .arrival-copy { min-height: 216px; padding: 22px; }
.home-main .comparison-collections .arrival-copy > p { font-size: 10px; line-height: 1.5; }
.home-main .comparison-collections .arrival-copy h3 { font-size: 18px; line-height: 1.3; }
.home-main .comparison-collections .arrival-copy > span { font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-main .comparison-collections .arrival-copy > a { min-height: 44px; font-size: 13px; margin-top: auto; padding-top: 16px; }
.home-main .comparison-collection-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.home-main .comparison-collection-footer p { color: #536b7c; margin: 0; }
.home-main .comparison-collection-footer a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--scott-blue); font-weight: 650; }

@media (max-width: 1400px) and (min-width: 961px) {
  .home-main .hero-refresh .carousel-dots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-main .hero-refresh .carousel-arrow { top: calc(50% - 57px); }
}
@media (max-width: 1250px) and (min-width: 961px) {
  .home-main .hero-refresh .hero-content { padding: 28px 60px; gap: 24px; grid-template-columns: 45% minmax(0, 1fr); }
  .home-main .hero-refresh .hero-copy :is(h1,h2) { font-size: 40px; }
  .home-main .hero-refresh .hero-intro { font-size: 15px; }
  .home-main .hero-refresh .hero-art-stage { height: 390px; }
}
@media (min-width: 961px) and (max-height: 800px) {
  .home-main .hero-refresh .hero-slides { height: 420px; }
  .home-main .hero-refresh .hero-content { padding-top: 22px; padding-bottom: 22px; }
  .home-main .hero-refresh .hero-copy :is(h1,h2) { font-size: 38px; }
  .home-main .hero-refresh .hero-brand { margin-bottom: 12px; min-height: 30px; }
  .home-main .hero-refresh .hero-overline { margin-bottom: 8px; }
  .home-main .hero-refresh .hero-intro { margin-top: 14px; font-size: 15px; }
  .home-main .hero-refresh .hero-actions { margin-top: 17px; }
  .home-main .hero-refresh .hero-art-stage { height: 365px; }
  .home-main .process-section { padding-top: 28px; }
}
@media (max-width: 960px) {
  .home-main .hero-refresh .hero-slides { display: block; height: auto; }
  .home-main .hero-refresh .hero-slide { display: none; position: relative; }
  .home-main .hero-refresh .hero-slide.active { display: block; }
  .home-main .hero-refresh .hero-content, .home-main .hero-refresh :is(.theme-scott,.theme-bodor) .hero-content { display: flex; height: auto; min-height: 0; padding: 34px 32px 28px; gap: 24px; }
  .home-main .hero-refresh :is(.theme-scott,.theme-bodor) .hero-content { min-height: 490px; }
  .home-main .hero-refresh .hero-copy { max-width: 640px; width: 100%; }
  .home-main .hero-refresh .hero-copy :is(h1,h2) { font-size: clamp(34px, 5.5vw, 48px); }
  .home-main .hero-refresh .hero-brand { margin-bottom: 17px; }
  .home-main .hero-refresh .hero-art-stage { height: 340px; margin: 0; padding-bottom: 35px; }
  .home-main .hero-refresh .theme-bodor .full-bleed-art { height: 50%; }
  .home-main .hero-refresh .carousel-footer { padding: 12px 24px; gap: 12px; align-items: center; flex-wrap: wrap; }
  .home-main .hero-refresh .carousel-dots { flex: 1 1 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 16px; }
  .home-main .hero-refresh .carousel-toggle { position: static; font-size: 12px; min-height: 38px; }
  .home-main .hero-refresh .carousel-count { margin-left: auto; }
  .home-main .hero-refresh .carousel-arrow { top: auto; bottom: 17px; width: 38px; height: 38px; z-index: 15; }
  .home-main .hero-refresh .carousel-arrow.previous { left: calc(50% - 45px); }
  .home-main .hero-refresh .carousel-arrow.next { right: calc(50% - 45px); }
  .home-main .comparison-collections { padding-top: 56px; padding-bottom: 40px; }
  .home-main .comparison-collections + .why-section { padding-top: 48px; padding-bottom: 64px; }
  .home-main :is(.process-section, .comparison-collections) .section-heading { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .home-main .comparison-collections .arrival-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 560px) {
  .home-main .hero-refresh .hero-content, .home-main .hero-refresh :is(.theme-scott,.theme-bodor) .hero-content { padding: 28px 22px 24px; }
  .home-main .hero-refresh :is(.theme-scott,.theme-bodor) .hero-content { min-height: 505px; }
  .home-main .hero-refresh .hero-copy :is(h1,h2) { font-size: 36px; }
  .home-main .hero-refresh .hero-overline { font-size: 10px; }
  .home-main .hero-refresh .hero-intro { font-size: 15px; }
  .home-main .hero-refresh .hero-actions { flex-wrap: wrap; gap: 4px 16px; }
  .home-main .hero-refresh .hero-art-stage { height: 270px; }
  .home-main .hero-refresh .hero-image-caption { font-size: 10px; }
  .home-main .hero-refresh .hero-image-link { font-size: 13px; min-height: 40px; padding: 9px 0; }
  .home-main .hero-refresh .carousel-footer { padding: 10px 20px 14px; }
  .home-main .comparison-collections { padding: 46px 24px 32px; }
  .home-main .comparison-collections + .why-section { padding-top: 40px; padding-bottom: 48px; }
  .home-main :is(.process-section, .comparison-collections) .section-heading { gap: 12px; }
  .home-main .comparison-search { padding: 6px; gap: 8px; }
  .home-main .comparison-search .search-icon { display: none; }
  .home-main .comparison-search input { padding: 8px; font-size: 16px; }
  .home-main .comparison-search button { min-width: 74px; padding: 0 12px; }
  .home-main .comparison-shortcuts { gap: 2px 16px; font-size: 12px; }
  .home-main .comparison-shortcuts > span { flex-basis: 100%; }
  .home-main .comparison-collections .arrival-card { flex-basis: 100%; max-width: 380px; }
  .home-main .comparison-collections .arrival-image { height: 235px; }
  .home-main .comparison-collections .arrival-copy { min-height: 195px; }
  .home-main .comparison-tabs { width: 100%; gap: 4px; padding: 4px; margin: 24px auto 28px; }
  .home-main .comparison-tabs a { min-height: 60px; padding: 12px 8px; font-size: 16px; }
  .home-main .comparison-collection-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}
