:root{
  --font-display: Onest, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display-weight: 400;
  --font-display-tracking: -.035em;
}

/* Onest Regular is the shared display face; layout and text sizes stay page-specific. */
:is(
  .hero h1,
  .section-intro h2,
  .section-heading h2,
  .shop h2,
  .statement p,
  .about-hero h1,
  .about-intro h2,
  .about-section-heading h2,
  .contact-section h2,
  .about-quote p,
  .size-guide-content h1,
  .catalog-card h2,
  .catalog-modal .detail-info h1,
  .detail-info h1,
  .detail-info h2,
  .home-product-info h2,
  .cart-panel h2,
  .checkout-panel h2,
  .category-card b,
  .about-category-grid b,
  .benefit-grid h3
){
  font-family:var(--font-display)!important;
  font-weight:var(--font-display-weight)!important;
  letter-spacing:var(--font-display-tracking)!important;
}

/* Keep the two main storefront actions visible without making the text heavy. */
:is(.hero-copy .link-arrow, .shop-all-bottom){
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:48px;
  padding:13px 18px;
  border:1px solid var(--ink);
  border-radius:2px;
  background:var(--ink);
  color:#fff;
  font-family:var(--font-display);
  font-size:12px;
  font-weight:600;
  line-height:1.2;
  text-decoration:none;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease;
}

.shop.section .shop-all-bottom{
  display:flex;
  width:max-content;
  max-width:100%;
  margin:36px auto 0!important;
  justify-self:center;
}

:is(.hero-copy .link-arrow, .shop-all-bottom) span{
  color:var(--red);
  font-size:18px;
  line-height:1;
}

:is(.hero-copy .link-arrow, .shop-all-bottom):hover{
  background:var(--red);
  border-color:var(--red);
  transform:translateY(-1px);
}

:is(.hero-copy .link-arrow, .shop-all-bottom):hover span{
  color:#fff;
}

:is(.hero-copy .link-arrow, .shop-all-bottom):focus-visible{
  outline:2px solid var(--red);
  outline-offset:3px;
}

@media(max-width:700px){
  .hero-text,
  .device-stage.mobile .hero-text{
    display:none;
  }
  .hero h1,
  .device-stage.mobile .hero h1{
    margin-bottom:8px;
  }
  .hero-copy .link-arrow{
    width:100%;
    max-width:320px;
    min-height:46px;
    padding:12px 15px;
    font-size:12px;
  }
  .shop-all-bottom{
    min-height:46px;
    padding:12px 15px;
    font-size:11px;
    margin:20px auto 0!important;
  }
}

.device-stage.mobile .hero-text{
  display:none;
}

.device-stage.mobile .hero h1{
  margin-bottom:8px;
}

/* Give the mobile hero copy room to breathe over the photo. */
@media(max-width:700px){
  .hero{aspect-ratio:16 / 9}
  .hero-copy{width:min(66%,290px);padding:14px 16px 15px}
  .hero h1{font-size:clamp(21px,5.3vw,24px);line-height:1.04;margin-bottom:8px}
  .hero-copy .link-arrow{min-height:42px;padding:10px 12px;font-size:11px}
}

.device-stage.mobile .hero{aspect-ratio:16 / 9}
.device-stage.mobile .hero-copy{width:min(66%,290px);padding:14px 16px 15px}
.device-stage.mobile .hero h1{font-size:clamp(21px,5.3vw,24px);line-height:1.04;margin-bottom:8px}
.device-stage.mobile .hero-copy .link-arrow{min-height:42px;padding:10px 12px;font-size:11px}

/* Keep the two outer mobile gaps around categories equally compact. */
@media(max-width:700px){
  .categories.section,
  .device-stage.mobile .categories.section{padding-top:20px;padding-bottom:10px}
  .shop.section,
  .device-stage.mobile .shop.section{padding-top:10px}
}

/* The in-page Mobile switch has a desktop-sized outer viewport. */
.device-stage.mobile .categories.section{padding-top:20px;padding-bottom:10px}
.device-stage.mobile .shop.section{padding-top:10px}

/* Desktop and tablet use the same compact outer rhythm around categories. */
@media(min-width:701px){
  .categories.section{padding-top:32px;padding-bottom:16px}
  .shop.section{padding-top:16px;padding-bottom:32px}
}
.device-stage.tablet .categories.section{padding-top:32px;padding-bottom:16px}
.device-stage.tablet .shop.section{padding-top:16px;padding-bottom:32px}

@media(max-width:700px){
  .shop.section,
  .device-stage.mobile .shop.section{padding-bottom:20px}
}
.device-stage.mobile .shop.section{padding-bottom:20px}

.device-stage.mobile .shop-all-bottom{margin-top:20px!important}

/* Compact category choices while keeping their labels easy to scan. */
.category-card{
  height:88px;
  min-height:88px;
  padding:13px 20px;
}

.category-card b{
  font-weight:600!important;
}

@media(max-width:700px){
  .category-card,
  .device-stage.mobile .category-card{
    height:68px;
    min-height:68px;
    padding:10px 14px;
  }
}

.device-stage.mobile .category-card{
  height:68px;
  min-height:68px;
  padding:10px 14px;
}

.device-stage.tablet .category-card{
  height:68px;
  min-height:68px;
  padding:10px 14px;
}
