/* Product header alignment — desktop/tablet only. Mobile layout remains unchanged. */
@media (min-width: 1241px) {
  .site-header {
    width: min(1240px, calc(100% - 40px)) !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    padding: 12px 18px !important;
  }

  .site-header .brand {
    flex: 0 0 auto;
  }

  .site-header .nav {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 4px !important;
  }

  .site-header .nav a {
    padding: 9px 11px !important;
    font-size: .86rem;
    white-space: nowrap;
  }

  .site-header .header-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap !important;
    gap: 7px !important;
  }

  .site-header .header-actions .btn {
    min-height: 44px;
    padding: 10px 14px;
    font-size: .84rem;
  }
}

@media (min-width: 761px) and (max-width: 1240px) {
  .site-header {
    width: calc(100% - 28px) !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px 16px !important;
    padding: 12px 16px !important;
  }

  .site-header .brand {
    order: 1;
    flex: 0 0 auto;
  }

  .site-header .header-actions {
    order: 2;
    flex: 0 0 auto;
    flex-wrap: nowrap !important;
    gap: 7px !important;
  }

  .site-header .header-actions .btn {
    min-height: 42px;
    padding: 9px 12px;
    font-size: .78rem;
  }

  .site-header .nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    justify-content: center;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    padding-top: 9px;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .site-header .nav a {
    padding: 8px 10px !important;
    font-size: .78rem;
    white-space: nowrap;
  }
}

/* Affiliate product header fit: sixth nav item without changing mobile layout. */
@media(min-width:1241px){.site-header .nav{gap:3px!important}.site-header .nav a{padding-inline:9px!important;font-size:.82rem!important}}
@media(min-width:761px) and (max-width:1240px){.site-header .nav{gap:3px!important}.site-header .nav a{padding-inline:8px!important;font-size:.76rem!important}}


/* Product cover hero replacement — 2026-09-15 */
.hero-product-visual{width:100%;max-width:390px;justify-self:start;align-self:center;margin:0}
.hero-product-visual img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;border-radius:24px;box-shadow:0 18px 46px rgba(9,31,58,.16);background:#fff}
@media(max-width:1100px){.hero-product-visual{justify-self:center;max-width:460px}}
@media(max-width:760px){.hero-product-visual{max-width:100%}.hero-product-visual img{border-radius:20px}}
