/* ============================================================
   Wear Wizards — Shared Design Tokens & Styles
   Reference: 9100_ComponentBoard_VisualAndTypography
   ============================================================ */

:root {
  /* Brand — General */
  --brand-general: #1a202c;

  /* Brand — Motorsports */
  --brand-ms-1: #1e3d2f;
  --brand-ms-2: #2d6a4f;
  --brand-ms-3: #52b788;
  --brand-ms-accent: #009b5c;
  --brand-ms-lime: #70e000;
  --brand-ms-logo: #1f4d3a;

  /* Brand — Yachting */
  --brand-yt-1: #0a4d68;
  --brand-yt-2: #088395;
  --brand-yt-3: #31d6fa;

  /* Brand — Corporate */
  --brand-corp-1: #1b1a55;
  --brand-corp-2: #6366f1;
  --brand-corp-3: #9b87f5;

  /* Primary grayscale */
  --primary-900: #000000;
  --primary-800: #1a1a1a;
  --primary-700: #2d2d2d;
  --primary-600: #4a4a4a;
  --primary-500: #6b6b6b;
  --primary-400: #8a8a8a;
  --primary-300: #a8a8a8;
  --primary-200: #cfcfcf;
  --primary-100: #e8e8e8;
  --primary-50: #f5f5f5;

  /* Secondary */
  --secondary: #6b7280;

  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-50: #fafafa;
  --bg-100: #f7f7f7;
  --bg-200: #f3f4f6;
  --bg-300: #eeeeee;
  --bg-dark: #1a1d21;
  --bg-charcoal: #1f2933;
  --btn-charcoal: #1f2933;
  --btn-charcoal-hover: rgba(31, 41, 51, 0.7);
  --btn-charcoal-active: rgba(31, 41, 51, 0.9);
  --btn-charcoal-focus: #8f9499;
  --btn-border-stroke: #8f9499;
  --btn-alt: #f3f4f6;
  --btn-alt-hover: #ededed;
  --btn-alt-active: #d1d5db;
  --btn-alt-stroke: rgba(31, 41, 51, 0.08);
  --btn-text-hover: rgba(31, 41, 51, 0.7);
  --btn-text-active: rgba(31, 41, 51, 0.9);
  --btn-text-alt: #6b7280;
  --btn-text-alt-hover: rgba(107, 114, 128, 0.7);
  --btn-text-alt-active: rgba(107, 114, 128, 0.9);
  --bg-footer-light: rgba(31, 41, 51, 0.08);
  --bg-footer-dark: #1f2933;

  /* Functional */
  --error: #ff383c;
  --success: #22c55e;
  --warning: #eab308;
  --info: #3b82f6;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-3: 0 4px 8px rgba(0, 0, 0, 0.08);
  --shadow-4: 0 6px 12px rgba(0, 0, 0, 0.1);
  --shadow-5: 0 8px 16px rgba(0, 0, 0, 0.12);
  --shadow-6: 0 12px 24px rgba(0, 0, 0, 0.14);
  --shadow-7: 0 16px 32px rgba(0, 0, 0, 0.16);
  --shadow-8: 0 20px 40px rgba(0, 0, 0, 0.18);
  --shadow-product: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-family: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1100px;
  --product-card-width: 260px;
  --product-card-gap: 20px;
  --header-height: 104px;
  --logo-width: 258px;
  --logo-height: 104px;
  --logo-shadow: drop-shadow(2px 3px 9.5px rgba(0, 0, 0, 0.4));
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--primary-800);
  background: var(--bg-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Custom scrollbar (Figma in-panel bars; not window/body) ---------- */
:root {
  --ww-scrollbar-rail-width: 2px;
  --ww-scrollbar-thumb-width: 4px;
  --ww-scrollbar-thumb-offset: -1px;
  --ww-scrollbar-track-bg: rgba(61, 78, 97, 0.2);
  --ww-scrollbar-thumb-bg: #1f2933;
  --ww-scrollbar-thumb-min-height: 40px;
}

.ww-scroll-wrap {
  position: relative;
  min-height: 0;
}

.ww-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ww-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Rail — shared across ww / md / modal scrollbars */
.ww-scrollbar,
.md-scrollbar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: var(--ww-scrollbar-rail-width);
  height: 100%;
  pointer-events: none;
}

.ww-modal__scrollbar {
  position: absolute;
  z-index: 2;
  width: var(--ww-scrollbar-rail-width);
  pointer-events: none;
}

.ww-scrollbar[hidden],
.md-scrollbar[hidden],
.ww-modal__scrollbar[hidden] {
  display: none !important;
}

.ww-scrollbar__track,
.md-scrollbar__track,
.ww-modal__scrollbar-track {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--ww-scrollbar-track-bg);
}

.ww-scrollbar__thumb,
.md-scrollbar__thumb,
.ww-modal__scrollbar-thumb {
  position: absolute;
  left: var(--ww-scrollbar-thumb-offset);
  top: 0;
  width: var(--ww-scrollbar-thumb-width);
  height: 78px;
  border-radius: 2px;
  background: var(--ww-scrollbar-thumb-bg);
  will-change: transform;
}

/* Thumb is draggable (pointerdown handled in storefront/js/main.js).
   The rail stays click-through — only the thumb becomes interactive;
   the ::before hit pad widens the grab area around the thin bar. */
.ww-scrollbar__thumb,
.md-scrollbar__thumb,
.ww-modal__scrollbar-thumb {
  pointer-events: auto;
  touch-action: none;
}

.ww-scrollbar__thumb::before,
.md-scrollbar__thumb::before,
.ww-modal__scrollbar-thumb::before {
  content: "";
  position: absolute;
  inset: -4px;
}

.ww-scrollbar-dragging,
.ww-scrollbar-dragging * {
  user-select: none;
  -webkit-user-select: none;
}

/* Lightweight replacements for former Tailwind utilities (no Preflight) */
.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.mx-auto {
  margin-inline: auto;
}

.hidden {
  display: none;
}

/* ---------- Placeholder media ---------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}

.ph::after {
  content: attr(data-label);
}

.ph-dark {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  color: #9ca3af;
}

.ph-green {
  background: linear-gradient(135deg, #1e3d2f 0%, #2d6a4f 100%);
  color: rgba(255, 255, 255, 0.5);
}

.ph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  background: var(--brand-general);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.logo img {
  display: block;
  width: var(--logo-width, 258px);
  height: var(--logo-height, 104px);
  max-width: var(--logo-width, 258px);
  max-height: var(--logo-height, 104px);
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: top left;
  filter: var(--logo-shadow, drop-shadow(2px 3px 9.5px rgba(0, 0, 0, 0.4)));
}

.logo--ms {
  background: var(--brand-ms-logo);
}

.logo--dark {
  background: #2a2f36;
}

.logo__icon {
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo__sub {
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 600;
  opacity: 0.9;
}

/* ---------- Site Header ---------- */
.site-header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-block: 0;
  padding-inline: 40px;
}

.site-header__overlay {
  position: absolute;
  width: 100%;
  height: 160px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.site-header-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-block: 0;
  margin: 0;
}

.site-header-content .site-nav,
.site-header-content .header-utils {
  align-self: center;
}

.site-header--dark {
  background: transparent;
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 48px;
}

.site-nav a {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s;
}

.site-header--overlay .site-nav a,
.site-header--dark .site-nav a {
  color: #fff;
}

.site-header--light .site-nav a {
  color: #6b7280;
}

.site-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.site-header--light .site-nav a:hover,
.site-header--light .site-nav a.active {
  color: #1f2933;
}

.site-header--overlay .site-nav a:hover,
.site-header--dark .site-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.site-nav a.is-active {
  font-weight: 700;
  color: var(--primary-900);
  border-bottom: 2px solid var(--primary-900);
  padding-bottom: 2px;
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-utils .icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-header:not(.site-header--overlay):not(.site-header--dark)
  .header-utils
  .icon-btn {
  color: var(--primary-800);
}

/*
  Light-header util icons — Figma Icon Black states (cart / help / profile)
  4109:49610 default · 49614 hover · 49616 onClick · 49618/49619 focus
  Glyphs use currentColor; no circular chip wrapper.
*/
.site-header.site-header--light .header-utils .icon-btn {
  color: #1f2933;
  background: transparent;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  padding: 4px;
  transition:
    color 0.15s ease,
    outline-color 0.15s ease;
}

.site-header.site-header--light .header-utils .icon-btn svg {
  display: block;
  flex-shrink: 0;
  color: inherit;
}

.site-header.site-header--light .header-utils .icon-btn:focus {
  outline: none;
}

.site-header.site-header--light
  .header-utils
  .icon-btn:hover:not(:disabled):not(.is-disabled):not([aria-disabled="true"]),
.site-header.site-header--light
  .header-utils
  .icon-btn.is-hover:not(:disabled):not(.is-disabled):not(
    [aria-disabled="true"]
  ) {
  color: rgba(31, 41, 51, 0.7);
}

.site-header.site-header--light
  .header-utils
  .icon-btn:active:not(:disabled):not(.is-disabled):not([aria-disabled="true"]),
.site-header.site-header--light
  .header-utils
  .icon-btn.is-active:not(:disabled):not(.is-disabled):not(
    [aria-disabled="true"]
  ) {
  color: rgba(31, 41, 51, 0.9);
}

/* Help question-mark ring — part of icon artwork */
.site-header.site-header--light .header-utils .icon-btn .icon-btn__disc {
  fill: rgba(31, 41, 51, 0.08);
  stroke: currentColor;
  stroke-width: 1.5;
  transition:
    fill 0.15s ease,
    stroke 0.15s ease;
}

.site-header.site-header--light
  .header-utils
  .icon-btn:hover:not(:disabled):not(.is-disabled):not([aria-disabled="true"])
  .icon-btn__disc,
.site-header.site-header--light
  .header-utils
  .icon-btn.is-hover:not(:disabled):not(.is-disabled):not(
    [aria-disabled="true"]
  )
  .icon-btn__disc {
  fill: #e9ebef;
}

.site-header.site-header--light
  .header-utils
  .icon-btn:active:not(:disabled):not(.is-disabled):not([aria-disabled="true"])
  .icon-btn__disc,
.site-header.site-header--light
  .header-utils
  .icon-btn.is-active:not(:disabled):not(.is-disabled):not(
    [aria-disabled="true"]
  )
  .icon-btn__disc {
  fill: #d1d5db;
}

.site-header.site-header--light .header-utils .icon-btn:focus-visible,
.site-header.site-header--light .header-utils .icon-btn.is-focus {
  color: #1f2933;
  outline: 1px solid #1f2933;
  outline-offset: 4px;
}

.site-header.site-header--light
  .header-utils
  .icon-btn:focus-visible
  .icon-btn__disc,
.site-header.site-header--light
  .header-utils
  .icon-btn.is-focus
  .icon-btn__disc {
  fill: rgba(31, 41, 51, 0.08);
}

.site-header.site-header--light .header-utils .icon-btn:disabled,
.site-header.site-header--light .header-utils .icon-btn.is-disabled,
.site-header.site-header--light .header-utils .icon-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.badge-count {
  position: absolute;
  top: -9px;
  right: -12px;
  background: var(--primary-900);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.site-header:not(.site-header--light) .badge-count {
  background: #fff;
  color: #1f2933;
  border-color: #1f2933;
}

.badge-count--red {
  background: #dc2626;
}

.user-menu {
  position: relative;
}

.user-menu__chev {
  transition: transform 0.2s ease;
}

.user-menu:hover .user-menu__chev,
.user-menu:focus-within .user-menu__chev {
  transform: rotate(180deg);
}

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-5);
  min-width: 160px;
  padding: 4px 0;
  z-index: 100;
}

/* Invisible hit area so the 12px gap doesn't close the menu on hover */
.user-dropdown::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 12px;
}

.user-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 16px;
  width: 12px;
  height: 0px;
  background: transparent;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
}

.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--primary-700);
  transition: background 0.15s;
}

.user-dropdown a:hover {
  background: var(--bg-100);
}

.user-dropdown a + a {
}

.gradient-bg-offwhite {
  background:
    linear-gradient(
      0deg,
      rgba(243, 244, 246, 0.56) 0%,
      rgba(243, 244, 246, 0.56) 100%
    ),
    url("../images/catalog/stage-bg.png") lightgray -512.031px -230.236px /
      153.302% 245.722% no-repeat;
}

/* ---------- Site Footer ---------- */

.pre-footer-wrapper {
  background: url(../images/landing/prefooter-bg-repeat-ms.png) repeat-x center
    top;
}
.pre-footer {
  padding: 48px 0;
}

/*
  Shared footer shell — same height and padding on every page.
  Dark (0010):  .site-footer.site-footer--dark  + .site-footer__row
  Light (FAQ):  .site-footer.site-footer--light + .footer-left / .footer-right
*/
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  margin-top: auto;
  border-top: none;
  font-weight: 500;
  padding: 12px 32px;
}

/* ---- Light footer (FAQ) ---- */
.site-footer--light {
  background: var(--bg-footer-light);
  color: #1f2933;
  font-size: 13px;
  line-height: 16px;
}

.site-footer--light a,
.site-footer--light .footer-sep {
  color: #1f2933;
  text-decoration: none;
}

.site-footer--light .footer-sep {
  opacity: 1;
}

.site-footer--light a:hover {
  text-decoration: none;
  color: rgba(31, 41, 51, 0.7);
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-sep {
  opacity: 0.5;
  margin-inline: 4px;
}

/* No pipes between Terms / Privacy / Manage Cookies (left cluster) */
.footer-left > a + .footer-sep {
  display: none;
}

@media (min-width: 720px) {
  .footer-left > a ~ a {
    margin-left: 32px;
  }
}

/* ---- Dark footer (0010) ---- */
.site-footer--dark {
  margin-top: 0;
  background: var(--bg-footer-dark);
  color: #fff;
  font-size: 12px;
  line-height: 15px;
}

.site-footer--dark a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer--dark a:hover {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer--dark .site-footer__sep {
  opacity: 0.9;
  line-height: 18px;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.site-footer--dark .site-footer__lead {
  flex-shrink: 0;
  white-space: nowrap;
}

.site-footer--dark .site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* 360–719: stacked, shared padding */
@media (max-width: 719px) {
  .site-footer {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 14px 16px 24px;
    overflow: visible;
  }

  .site-footer--light {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 32px;
    font-size: 12px;
    line-height: 15px;
  }

  .site-footer--light .footer-left,
  .site-footer--light .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .site-footer--light .footer-left > a ~ a {
    margin-left: 0;
  }

  .site-footer--light .footer-sep,
  .site-footer--light .footer-left > a:last-child {
    display: none;
  }

  .site-footer--dark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
  }

  .site-footer--dark .site-footer__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .site-footer--dark .site-footer__sep {
    display: none;
  }

  .site-footer--dark .site-footer__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* 720–1279: two rows, shared padding and min-height */
@media (min-width: 720px) and (max-width: 1279px) {
  .site-footer {
    height: auto;
    min-height: 78px;
    max-height: none;
    padding: 14px var(--page-gutter, 32px);
    overflow: visible;
    font-size: 12px;
    font-weight: 500;
    box-sizing: border-box;
  }

  .site-footer--light {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 16px;
  }

  .site-footer--light .footer-left,
  .site-footer--light .footer-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 8px;
    width: 100%;
  }

  .site-footer--light .footer-left {
    order: 1;
  }

  .site-footer--light .footer-right {
    order: 2;
  }

  .site-footer--light .footer-left > a:last-child,
  .site-footer--light .footer-left > .footer-sep:nth-last-child(2) {
    display: none;
  }

  .site-footer--dark {
    display: grid;
    grid-template-columns: max-content 12px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 10px;
    align-items: center;
    justify-content: start;
  }

  .site-footer--dark .site-footer__row {
    display: contents;
  }

  .site-footer--dark .site-footer__sep {
    justify-self: center;
    display: inline;
  }

  .site-footer--dark .site-footer__links {
    justify-self: start;
    flex-wrap: nowrap;
    gap: 40px;
  }
}

/* 1280+: one 44px row, shared horizontal padding */
@media (min-width: 1280px) {
  .site-footer {
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 0 var(--header-pad-x, 40px);
    overflow: hidden;
  }

  .site-footer--light {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px;
    line-height: 16px;
  }

  .site-footer--light .footer-left,
  .site-footer--light .footer-right {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .site-footer--light .footer-sep {
    display: inline;
  }

  .site-footer--dark {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    flex: 0 0 44px;
  }

  .site-footer--dark .site-footer__row--start {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  .site-footer--dark .site-footer__row--start .site-footer__links {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .site-footer--dark .site-footer__row--end {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .site-footer--dark .site-footer__row--end .site-footer__links {
    display: contents;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    opacity 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none;
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn--md {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn--xs {
  padding: 5px 10px;
  font-size: 12px;
}

/* Figma 4109:49425 / 49434 / 49437 / 49431 / 49428
   Shared charcoal button states — with and without arrow */
.btn--primary,
.btn--primary.btn--apply,
.ww-modal__cta,
.sys-status__btn,
.hfy-form-btn--primary,
.hfy-form-success__btn,
.hfy-hero__cta .btn,
.hfy-bottom__cta .btn,
.btn--roles,
.design-studio__content .btn--studio,
.cookie-banner__btn--accept,
.help-form__submit,
.help-success__btn,
.pd-info__cta,
.mobile-nav__signup {
  background: var(--btn-charcoal);
  color: #fff;
  border-color: transparent;
}

.btn--primary:hover,
.btn--primary.btn--apply:hover,
.ww-modal__cta:hover,
.sys-status__btn:hover,
.hfy-form-btn--primary:hover,
.hfy-form-success__btn:hover,
.hfy-hero__cta .btn:hover,
.hfy-bottom__cta .btn:hover,
.btn--roles:hover,
.design-studio__content .btn--studio:hover,
.cookie-banner__btn--accept:hover,
.help-form__submit:hover,
.help-success__btn:hover,
.pd-info__cta:hover,
.mobile-nav__signup:hover {
  background: var(--btn-charcoal-hover);
  color: #fff;
}

.btn--primary:active,
.btn--primary.btn--apply:active,
.ww-modal__cta:active,
.sys-status__btn:active,
.hfy-form-btn--primary:active,
.hfy-form-success__btn:active,
.hfy-hero__cta .btn:active,
.hfy-bottom__cta .btn:active,
.btn--roles:active,
.design-studio__content .btn--studio:active,
.cookie-banner__btn--accept:active,
.help-form__submit:active,
.help-success__btn:active,
.pd-info__cta:active,
.mobile-nav__signup:active {
  background: var(--btn-charcoal-active);
  color: #fff;
}

.btn--primary:focus,
.btn--primary:focus-visible,
.btn--primary.btn--apply:focus,
.btn--primary.btn--apply:focus-visible,
.ww-modal__cta:focus,
.ww-modal__cta:focus-visible,
.sys-status__btn:focus,
.sys-status__btn:focus-visible,
.hfy-form-btn--primary:focus,
.hfy-form-btn--primary:focus-visible,
.hfy-form-success__btn:focus,
.hfy-form-success__btn:focus-visible,
.hfy-hero__cta .btn:focus,
.hfy-hero__cta .btn:focus-visible,
.hfy-bottom__cta .btn:focus,
.hfy-bottom__cta .btn:focus-visible,
.btn--roles:focus,
.btn--roles:focus-visible,
.design-studio__content .btn--studio:focus,
.design-studio__content .btn--studio:focus-visible,
.cookie-banner__btn--accept:focus,
.cookie-banner__btn--accept:focus-visible,
.help-form__submit:focus,
.help-form__submit:focus-visible,
.help-success__btn:focus,
.help-success__btn:focus-visible,
.pd-info__cta:focus,
.pd-info__cta:focus-visible,
.mobile-nav__signup:focus,
.mobile-nav__signup:focus-visible {
  outline: none;
  background: var(--btn-charcoal);
  border-color: var(--btn-charcoal-focus);
  color: #fff;
}

.btn--primary:disabled,
.btn--primary.is-disabled,
.btn--primary.btn--apply:disabled,
.ww-modal__cta:disabled,
.ww-modal__cta.is-disabled,
.hfy-form-btn--primary:disabled,
.btn--roles:disabled,
.cookie-banner__btn--accept:disabled,
.help-form__submit:disabled,
.design-studio__content .btn--studio:disabled {
  background: var(--btn-charcoal);
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Figma 4109:49460 — White button with border */
.btn--border,
.cookie-banner__btn--cancel {
  background: #fff;
  color: #1f2933;
  border: 1px solid var(--btn-border-stroke);
}

.btn--border:hover,
.btn--border.is-hover,
.cookie-banner__btn--cancel:hover {
  background: var(--btn-alt);
  color: #1f2933;
}

.btn--border:active,
.btn--border.is-active,
.cookie-banner__btn--cancel:active {
  background: var(--btn-alt-hover);
  color: #1f2933;
}

.btn--border:focus,
.btn--border:focus-visible,
.btn--border.is-focus,
.cookie-banner__btn--cancel:focus,
.cookie-banner__btn--cancel:focus-visible {
  outline: none;
  background: var(--btn-alt-hover);
  border-color: #1f2933;
  color: #1f2933;
}

.btn--border:disabled,
.btn--border.is-disabled,
.cookie-banner__btn--cancel:disabled {
  background: #fff;
  border-color: var(--btn-border-stroke);
  color: #1f2933;
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Figma Alternative — #F3F4F6 fill */
.btn--alternative,
.btn--tertiary,
.hfy-form-btn--secondary,
.ms-hero__content .btn--studio {
  background: var(--btn-alt);
  color: #1f2933;
  border: 0.5px solid var(--btn-alt-stroke);
}

.btn--alternative:hover,
.btn--alternative.is-hover,
.btn--tertiary:hover,
.btn--tertiary.is-hover,
.hfy-form-btn--secondary:hover,
.ms-hero__content .btn--studio:hover {
  background: var(--btn-alt-hover);
  color: #1f2933;
}

.btn--alternative:active,
.btn--alternative.is-active,
.btn--tertiary:active,
.btn--tertiary.is-active,
.hfy-form-btn--secondary:active,
.ms-hero__content .btn--studio:active {
  background: var(--btn-alt-active);
  color: #1f2933;
}

.btn--alternative:focus,
.btn--alternative:focus-visible,
.btn--alternative.is-focus,
.btn--tertiary:focus,
.btn--tertiary:focus-visible,
.btn--tertiary.is-focus,
.hfy-form-btn--secondary:focus,
.hfy-form-btn--secondary:focus-visible,
.ms-hero__content .btn--studio:focus,
.ms-hero__content .btn--studio:focus-visible {
  outline: none;
  background: var(--btn-alt);
  border-color: #1f2933;
  border-width: 1px;
  color: #1f2933;
}

.btn--alternative:disabled,
.btn--alternative.is-disabled,
.btn--tertiary:disabled,
.hfy-form-btn--secondary:disabled,
.ms-hero__content .btn--studio:disabled {
  background: var(--btn-alt);
  border-color: var(--btn-alt-stroke);
  color: #1f2933;
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Figma Text : Primary — Bold charcoal */
.btn--text,
.cookie-banner__customise {
  background: transparent;
  color: #1f2933;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 700;
}

.btn--text:hover,
.btn--text.is-hover,
.cookie-banner__customise:hover {
  color: var(--btn-text-hover);
  background: transparent;
  text-decoration: none;
}

.btn--text:active,
.btn--text.is-active,
.cookie-banner__customise:active {
  color: var(--btn-text-active);
  background: transparent;
}

.btn--text:focus,
.btn--text:focus-visible,
.btn--text.is-focus,
.cookie-banner__customise:focus,
.cookie-banner__customise:focus-visible {
  outline: none;
  color: var(--btn-text-active);
  background: transparent;
  border-color: #1f2933;
}

.btn--text:disabled,
.btn--text.is-disabled,
.cookie-banner__customise:disabled {
  color: #1f2933;
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Go Back / chevron text controls — icon follows label hover/active */
.auth-back,
.account-back,
.hfy-form-back,
.checkout-back,
.md-back {
  transition: color 0.2s ease;
}

.auth-back img,
.account-back img,
.hfy-form-back img,
.checkout-back img,
.md-back img {
  transition: opacity 0.2s ease;
}

.auth-back:hover img,
.account-back:hover img,
.hfy-form-back:hover img,
.checkout-back:hover img,
.md-back:hover img {
  opacity: 0.7;
}

.auth-back:active img,
.account-back:active img,
.hfy-form-back:active img,
.checkout-back:active img,
.md-back:active img {
  opacity: 0.9;
}

/* Figma 4109:49964 — Text secondary, optional 12px icon */
.btn--text-secondary {
  background: transparent;
  color: #1f2933;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 400;
  gap: 4px;
}

.btn--text-secondary:hover,
.btn--text-secondary.is-hover {
  color: var(--btn-text-hover);
  background: transparent;
}

.btn--text-secondary:active,
.btn--text-secondary.is-active {
  color: var(--btn-text-active);
  background: transparent;
}

.btn--text-secondary:focus,
.btn--text-secondary:focus-visible,
.btn--text-secondary.is-focus {
  outline: none;
  color: #1f2933;
  background: transparent;
  border-color: #1f2933;
}

.btn--text-secondary:disabled,
.btn--text-secondary.is-disabled {
  color: #1f2933;
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--text-secondary .btn__icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Figma 4109:39203 — Button - Apply (product-card View) */
.btn--apply {
  box-sizing: border-box;
  width: 192px;
  min-width: 192px;
  height: 40px;
  min-height: 40px;
  padding: 15px 40px;
  gap: 10px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border-radius: 2px;
  border: 1px solid transparent;
}

.btn--primary.btn--apply {
  color: #ffffff;
}

.btn--secondary {
  background: #fff;
  color: var(--primary-900);
  border-color: var(--primary-900);
}

.btn--secondary:hover {
  background: var(--bg-100);
}

/* .btn--tertiary states live with Alternative (Figma 4109:47250) above */

.btn--ghost {
  background: transparent;
  color: var(--primary-900);
}

.btn--ghost:hover {
  background: var(--bg-100);
}

.btn--link {
  background: transparent;
  color: var(--primary-900);
  text-decoration: underline;
  padding-inline: 0;
  border: none;
}

.btn--green {
  background: var(--brand-ms-accent);
  color: #fff;
}

.btn--green:hover {
  background: #008a44;
}

.btn--theme-yachting {
  background: var(--brand-yt-2);
  color: #fff;
}

.btn--theme-yachting:hover {
  background: #077288;
}

.btn--theme-corporate {
  background: var(--brand-corp-2);
  color: #fff;
}

.btn--theme-corporate:hover {
  background: #4f46e5;
}

.btn--theme-motorsports {
  background: var(--brand-ms-accent);
  color: #fff;
}

.btn--theme-motorsports:hover {
  background: #008a44;
}

.btn--cyan {
  background: var(--brand-yt-2);
  color: #fff;
}

.btn--blue {
  background: var(--info);
  color: #fff;
}

.btn--indigo {
  background: #4f46e5;
  color: #fff;
}

.btn--purple {
  background: var(--brand-corp-2);
  color: #fff;
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--white {
  background: #fff;
  color: var(--primary-900);
}

.btn--white:hover {
  background: var(--bg-100);
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
}

.btn--icon.btn--sm {
  width: 32px;
  height: 32px;
}

.btn--icon.btn--xs {
  width: 28px;
  height: 28px;
}

.btn--round {
  border-radius: 999px;
}

/* ---------- Form Fields (Figma Input states 4109:47250) ---------- */
:root {
  --field-ink: #1f2933;
  --field-border: rgba(31, 41, 51, 0.16);
  --field-border-hover: rgba(31, 41, 51, 0.24);
  --field-placeholder: rgba(31, 41, 51, 0.4);
  --field-hover-bg: #ededed;
  --field-disabled-bg: rgba(31, 41, 51, 0.08);
  --field-error: #ff383c;
  --field-error-hover: #be132d;
  --field-height: 48px;
  --field-radius: 4px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.form-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: var(--field-ink);
}

.form-label .req {
  color: var(--field-error);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  margin-right: 0;
}

.form-input,
.form-select,
.form-textarea,
.ww-select__trigger {
  width: 100%;
  height: var(--field-height);
  padding: 14px 16px;
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  background: #fff;
  color: var(--field-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  outline: none;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--field-placeholder);
  font-weight: 400;
  opacity: 1;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover,
.ww-select__trigger:hover {
  background: var(--field-hover-bg);
  border-color: var(--field-border-hover);
}

.form-input:active:not(:disabled):not([readonly]),
.form-select:active:not(:disabled),
.form-textarea:active:not(:disabled),
.ww-select__trigger:active {
  background: var(--field-hover-bg);
  border-color: var(--field-ink);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.ww-select__trigger:focus,
.ww-select.is-open .ww-select__trigger {
  background: #fff;
  border-color: var(--field-ink);
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled,
.ww-select__trigger:disabled {
  background: var(--field-disabled-bg);
  border-color: var(--field-border);
  color: var(--field-placeholder);
  cursor: not-allowed;
}

.form-input:disabled::placeholder,
.form-textarea:disabled::placeholder {
  color: var(--field-placeholder);
}

.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error,
.ww-select.is-error .ww-select__trigger {
  border-color: var(--field-error);
  background: #fff;
}

.form-input.is-error:hover,
.form-select.is-error:hover,
.form-textarea.is-error:hover,
.ww-select.is-error .ww-select__trigger:hover {
  background: var(--field-hover-bg);
  border-color: var(--field-error-hover);
}

.form-input.is-error:focus,
.form-select.is-error:focus,
.form-textarea.is-error:focus,
.ww-select.is-error.is-open .ww-select__trigger {
  background: #fff;
  border-color: var(--field-error);
  box-shadow: none;
}

.form-input.is-success {
  border-color: var(--success);
}

.form-input.is-readonly,
.form-input[readonly] {
  background: var(--field-disabled-bg);
}

.form-textarea {
  height: auto;
  min-height: 103px;
  resize: both;
  font-weight: 500;
}

.form-textarea::placeholder {
  font-weight: 400;
}

.form-hint {
  font-size: 14px;
  line-height: 18px;
  color: #6b7280;
}

.form-hint--muted {
  color: rgba(31, 41, 51, 0.32);
}

.form-hint--error {
  color: var(--field-error);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 15px;
}

.form-hint--success {
  color: var(--success);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19' fill='none'%3E%3Cpath d='M4.5 7L9.5 12L14.5 7' stroke='%231F2933' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  font-weight: 400;
}

.form-select:not([value=""]):valid,
.form-select.has-value {
  font-weight: 500;
}

/* Custom select (Figma dropdown) */
.ww-select {
  position: relative;
}

.ww-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  font-weight: 400;
}

.ww-select__trigger.has-value {
  font-weight: 500;
}

.ww-select__trigger .ww-select__chev {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.ww-select.is-open .ww-select__chev {
  transform: rotate(180deg);
}

.ww-select__menu {
  display: none;
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 0px);
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 0.5px solid var(--field-border);
  border-radius: var(--field-radius);
  box-shadow: 4px 4px 4px 0 rgba(107, 114, 128, 0.08);
  max-height: 288px;
  overflow: auto;
}

/* Scrollbar-enhanced menu: only lay out as a flex column while the
   select is open. Without the .is-open gate this display:flex beat
   both the base display:none and the UA [hidden] rule, so closed
   menus stayed rendered (signup Country / "How did you hear"). */
.ww-select.is-open .ww-select__menu.ww-scroll-wrap {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ww-select__menu.ww-scroll-wrap > .ww-scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 288px;
}

.ww-select.is-open .ww-select__menu {
  display: block;
}

.ww-select.is-open .ww-select__menu[hidden] {
  display: block !important;
}

.ww-select__option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--field-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}

.ww-select__option:hover {
  background: rgba(107, 114, 128, 0.12);
}

.ww-select__option.is-active,
.ww-select__option[aria-selected="true"] {
  background: #6b7280;
  color: #fff;
}

.input-wrap {
  position: relative;
}

.input-wrap .input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-400);
  display: flex;
}

.input-wrap .input-icon--left {
  left: 12px;
}

.input-wrap .input-icon--right {
  right: 12px;
}

.input-wrap .form-input.has-icon-left {
  padding-left: 40px;
}

.input-wrap .form-input.has-icon-right {
  padding-right: 40px;
}

/* ---------- Checkbox — Figma 4109:48789–48809 / 48759–48784 ---------- */
.checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  position: relative;
  color: #1f2933;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.checkbox input:focus,
.checkbox input:focus-visible {
  outline: none;
}

.checkbox__box {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 3px;
  border: 1px solid rgba(31, 41, 51, 0.16);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease;
}

.checkbox__box::after {
  content: "";
  display: none;
  width: 20px;
  height: 20px;
  background: url("../images/icons/icon-checkbox-check.svg") center / 20px 20px
    no-repeat;
}

/* Unchecked — hover / onClick */
.checkbox:hover input:not(:disabled):not(:checked) + .checkbox__box,
.checkbox.is-hover input:not(:checked) + .checkbox__box {
  background: #ededed;
  border-color: rgba(31, 41, 51, 0.24);
}

.checkbox:active input:not(:disabled):not(:checked) + .checkbox__box,
.checkbox.is-active input:not(:checked) + .checkbox__box {
  background: #d1d5db;
  border-color: rgba(31, 41, 51, 0.24);
}

/* Unchecked — focus */
.checkbox input:not(:checked):focus + .checkbox__box,
.checkbox input:not(:checked):focus-visible + .checkbox__box,
.checkbox.is-focus input:not(:checked) + .checkbox__box {
  background: #fff;
  border-color: #1f2933;
}

/* Unchecked — error (universal: add .is-error on the .checkbox label) */
.checkbox.is-error input:not(:checked) + .checkbox__box,
.checkbox.is-error:hover input:not(:checked) + .checkbox__box,
.checkbox.is-error:active input:not(:checked) + .checkbox__box,
.checkbox.is-error input:not(:checked):focus + .checkbox__box,
.checkbox.is-error input:not(:checked):focus-visible + .checkbox__box,
.checkbox.is-error.is-focus input:not(:checked) + .checkbox__box {
  background: #fff;
  border-color: #ff383c;
}

/* Checked — default */
.checkbox input:checked + .checkbox__box,
.checkbox.is-checked .checkbox__box {
  background: #1f2933;
  border-color: rgba(31, 41, 51, 0.16);
}

.checkbox input:checked + .checkbox__box::after,
.checkbox.is-checked .checkbox__box::after {
  display: block;
}

/* Checked — hover / onClick */
.checkbox:hover input:not(:disabled):checked + .checkbox__box,
.checkbox.is-hover input:checked + .checkbox__box,
.checkbox.is-hover.is-checked .checkbox__box {
  background: rgba(31, 41, 51, 0.7);
  border-color: transparent;
}

.checkbox:active input:not(:disabled):checked + .checkbox__box,
.checkbox.is-active input:checked + .checkbox__box,
.checkbox.is-active.is-checked .checkbox__box {
  background: rgba(31, 41, 51, 0.9);
  border-color: transparent;
}

/* Checked — focus */
.checkbox input:checked:focus + .checkbox__box,
.checkbox input:checked:focus-visible + .checkbox__box,
.checkbox.is-focus input:checked + .checkbox__box,
.checkbox.is-focus.is-checked .checkbox__box {
  background: #1f2933;
  border-color: #6b7280;
}

/* Disabled — default appearance at 50% */
.checkbox:has(input:disabled),
.checkbox.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.checkbox input:disabled + .checkbox__box,
.checkbox.is-disabled .checkbox__box {
  background: #fff;
  border-color: rgba(31, 41, 51, 0.16);
}

.checkbox input:disabled:checked + .checkbox__box,
.checkbox.is-disabled.is-checked .checkbox__box,
.checkbox.is-disabled input:checked + .checkbox__box {
  background: #1f2933;
  border-color: rgba(31, 41, 51, 0.16);
}

/* ---------- Radio (Figma 4109:9842 Checked) ---------- */
.radio {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  color: #1f2933;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
  user-select: none;
}

.radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.radio__control {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(31, 41, 51, 0.16);
  background: #fff;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    border-width 0.15s ease;
}

/* Unchecked — hover / active */
.radio:hover input:not(:disabled):not(:checked) + .radio__control,
.radio.is-hover input:not(:checked) + .radio__control {
  border-color: rgba(31, 41, 51, 0.24);
  background: #ededed;
}

.radio:active input:not(:disabled):not(:checked) + .radio__control,
.radio.is-active input:not(:checked) + .radio__control {
  border-color: rgba(31, 41, 51, 0.24);
  background: #d1d5db;
}

/* Unchecked — focus */
.radio input:not(:checked):focus + .radio__control,
.radio input:not(:checked):focus-visible + .radio__control,
.radio.is-focus input:not(:checked) + .radio__control {
  border-color: #1f2933;
  background: #fff;
}

/* Checked — white center + 6px #1F2933 ring (Figma Checked) */
.radio input:checked + .radio__control,
.radio.is-checked .radio__control {
  border: 6px solid #1f2933;
  background: #fff;
}

.radio:hover input:not(:disabled):checked + .radio__control,
.radio.is-hover input:checked + .radio__control,
.radio.is-hover.is-checked .radio__control {
  border-color: rgba(31, 41, 51, 0.7);
}

.radio input:checked:focus + .radio__control,
.radio input:checked:focus-visible + .radio__control,
.radio.is-focus input:checked + .radio__control,
.radio.is-focus.is-checked .radio__control {
  border-color: #1f2933;
}

.radio input:disabled + .radio__control,
.radio.is-disabled .radio__control {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- Color Swatches ---------- */
.swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

/* Secondary color row on dual-color cards sits closer to the
   primary row so the two read as a single swatch block */
.swatches--secondary {
  margin-top: 2px;
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.swatch:hover {
  transform: scale(1.15);
}

.swatch.is-selected {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px var(--primary-900);
}

/* Product-card swatches are informative only */
.product-card .swatch {
  cursor: inherit;
  pointer-events: none;
}

.product-card .swatch:hover {
  transform: none;
}

/* ---------- Product Card ---------- */
a.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card {
  width: var(--product-card-width);
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  transition: background 0.2s;
  padding: 8px 10px;
  cursor: pointer;
}

.product-card:hover {
  background: var(--bg-100);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__media .ph {
  width: 100%;
}

.product-card__media .prod-img-container {
  position: relative;
  padding: 30px 0;
}

.product-card__media .prod-img-container .prod-img {
  position: relative;
  z-index: 2;
  height: 222px;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.25));
}

.product-card__media .shadow-img {
  position: absolute;
  height: 222px;
  top: 0;
  left: 0;
  filter: brightness(0) blur(10px);
  opacity: 0.35;
  z-index: 1;
  /* Your exact X and Y position offsets */
  transform: translate(17px, 44px) scale(0.85);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: var(--radius-lg);
  z-index: 3;
  pointer-events: none;
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

/* View CTA is visual only — card link owns the interaction */
.product-card .btn--apply,
.product-card .btn--primary.btn--apply {
  pointer-events: none;
  cursor: inherit;
}

.product-card .btn--apply:hover,
.product-card .btn--primary.btn--apply:hover,
.product-card .btn--apply:active,
.product-card .btn--primary.btn--apply:active,
.product-card .btn--apply:focus,
.product-card .btn--apply:focus-visible,
.product-card .btn--primary.btn--apply:focus,
.product-card .btn--primary.btn--apply:focus-visible {
  background: var(--btn-charcoal);
  color: #fff;
  border-color: transparent;
  opacity: 1;
}

.product-card__title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--primary-800);
  margin-bottom: 12px;
  min-height: calc(1.25em * 2);
}

/* ---------- Section helpers ---------- */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-400);
  margin-bottom: 8px;
}

.section-label--green {
  color: var(--brand-ms-accent);
}

.section-label--lime {
  color: var(--brand-ms-lime);
}

.highlight-green {
  color: var(--brand-ms-accent);
}

.text-muted {
  color: var(--primary-500);
}

/* ---------- Icons (inline SVG helpers) ---------- */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

/* Compact header / footer rules live in css/responsive.css
   (breakpoints: 360 / 720 / 1280 / 1920). */
