/* Comfortrek V331 — desktop layout recovery and readable typography.
   Desktop-only overrides: preserve the mobile layout repairs from V326–V329. */
@media (min-width: 1024px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body[class*="site-theme-"] {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }
  body[class*="site-theme-"] > #storefront-home,
  body[class*="site-theme-"] > main,
  body[class*="site-theme-"] > .site-footer,
  body[class*="site-theme-"] > .site-header,
  body[class*="site-theme-"] > .announcement-bar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }
  body[class*="site-theme-"] #storefront-home {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  /* Use the available desktop canvas instead of a narrow, left-aligned column. */
  body[class*="site-theme-"] #storefront-home > section,
  body[class*="site-theme-"] #storefront-home > div,
  body[class*="site-theme-"] .home-experience-rail {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
  }
  body[class*="site-theme-"] .storefront-home .container,
  body[class*="site-theme-"] .home-faq-inner,
  body[class*="site-theme-"] .home-experience-inner {
    width: min(100% - 80px, 1440px) !important;
    max-width: 1440px !important;
    margin-inline: auto !important;
  }
  body[class*="site-theme-"] .ck-featured-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  body[class*="site-theme-"] .ck-featured-hero__inner {
    width: min(100% - 96px, 1440px) !important;
    max-width: 1440px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
    align-items: center !important;
    gap: clamp(36px, 5vw, 88px) !important;
    padding: clamp(64px, 7vw, 112px) 0 !important;
  }
  body[class*="site-theme-"] .ck-featured-hero__copy {
    width: 100% !important;
    max-width: 650px !important;
    min-width: 0 !important;
  }
  body[class*="site-theme-"] .ck-featured-hero__copy h1 {
    max-width: 12ch !important;
    font-size: clamp(48px, 5.1vw, 82px) !important;
    line-height: .99 !important;
    letter-spacing: -.055em !important;
    font-weight: 600 !important;
    text-transform: none !important;
    overflow-wrap: normal !important;
  }
  body[class*="site-theme-"] .ck-featured-hero__copy p,
  body[class*="site-theme-"] .ck-featured-hero__copy .sub {
    max-width: 56ch !important;
    font-size: clamp(17px, 1.2vw, 20px) !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  body[class*="site-theme-"] .ck-featured-hero__products {
    width: 100% !important;
    max-width: 720px !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: clamp(14px, 1.8vw, 28px) !important;
    margin: 0 !important;
    padding: 12px !important;
  }
  body[class*="site-theme-"] .ck-featured-card,
  body[class*="site-theme-"] .ck-featured-card--left,
  body[class*="site-theme-"] .ck-featured-card--center,
  body[class*="site-theme-"] .ck-featured-card--right {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }
  body[class*="site-theme-"] .ck-featured-card__image {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    margin: 0 0 14px !important;
  }
  body[class*="site-theme-"] .ck-featured-card h3 {
    font-family: var(--ct-sans, Inter, Arial, sans-serif) !important;
    font-size: clamp(13px, 1vw, 16px) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;
    overflow-wrap: normal !important;
  }
  body[class*="site-theme-"] .storefront-home .product-grid {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2vw, 30px) !important;
    margin-inline: 0 !important;
  }
  body[class*="site-theme-"] .storefront-home .tag-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  body[class*="site-theme-"] .storefront-home .tag-card h3,
  body[class*="site-theme-"] .storefront-home .tag-card .product-name,
  body[class*="site-theme-"] .storefront-home .tag-card .spec-line,
  body[class*="site-theme-"] .home-faq-item summary,
  body[class*="site-theme-"] .home-faq-answer,
  body[class*="site-theme-"] .home-faq-heading h2,
  body[class*="site-theme-"] .home-faq-heading p,
  body[class*="site-theme-"] .home-experience-rail h2,
  body[class*="site-theme-"] .home-experience-rail p,
  body[class*="site-theme-"] .home-experience-rail strong,
  body[class*="site-theme-"] .site-footer a,
  body[class*="site-theme-"] .site-footer p,
  body[class*="site-theme-"] .site-footer h2,
  body[class*="site-theme-"] .site-footer h3 {
    text-transform: none !important;
    letter-spacing: normal !important;
    overflow-wrap: break-word !important;
  }
  body[class*="site-theme-"] .home-faq {
    padding: clamp(64px, 7vw, 100px) 40px !important;
  }
  body[class*="site-theme-"] .home-faq-inner {
    display: grid !important;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr) !important;
    align-items: start !important;
    gap: clamp(40px, 6vw, 100px) !important;
  }
  body[class*="site-theme-"] .home-faq-heading {
    position: sticky !important;
    top: 32px !important;
    max-width: 520px !important;
    margin: 0 !important;
    text-align: left !important;
  }
  body[class*="site-theme-"] .home-faq-heading h2 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(32px, 3vw, 48px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    font-weight: 500 !important;
  }
  body[class*="site-theme-"] .home-faq-heading p,
  body[class*="site-theme-"] .home-faq-answer {
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
  }
  body[class*="site-theme-"] .home-faq-item summary {
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 650 !important;
  }
  body[class*="site-theme-"] .site-footer {
    padding-inline: 40px !important;
  }
  /* The navigation and short category labels intentionally retain their compact style. */
  body[class*="site-theme-"] .site-header .main-nav a,
  body[class*="site-theme-"] .hero-eyebrow,
  body[class*="site-theme-"] .home-faq-kicker,
  body[class*="site-theme-"] .section-heading .stamp {
    text-transform: uppercase !important;
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  body[class*="site-theme-"] .ck-featured-hero__inner {
    width: calc(100% - 56px) !important;
    gap: 28px !important;
  }
  body[class*="site-theme-"] .storefront-home .container,
  body[class*="site-theme-"] .home-faq-inner,
  body[class*="site-theme-"] .home-experience-inner {
    width: calc(100% - 56px) !important;
  }
}
@media (min-width: 1024px) and (max-width: 1100px) {
  body[class*="site-theme-"] .ck-featured-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  body[class*="site-theme-"] .storefront-home .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
