@font-face {
  font-family: "Nunito Sans";
  src: url("../assets/fonts/NunitoSans-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

body.editorial-site--home,
body.editorial-site--category,
body.editorial-site--product {
  background: #faf9f6;
}

body.editorial-site--home .editorial-main,
body.editorial-site--category .editorial-main,
body.editorial-site--product .editorial-main {
  --v5-color-bg: #faf9f6;
  --v5-color-text: #303432;
  --v5-color-primary: #303432;
  --v5-color-muted: #636b67;
  --v5-color-accent: #87948d;
  --v5-color-soft: #e5e8e1;
  --v5-color-border: #e2e3dd;
  --v5-color-surface: #fff;
  --v5-font-sans: "Nunito Sans", "Mulish", "Helvetica Neue", sans-serif;
  --v5-container-width: 1120px;
  --v5-page-gutter: clamp(1rem, 3vw, 1.5rem);

  --paper: var(--v5-color-bg);
  --paper-deep: var(--v5-color-soft);
  --paper-light: var(--v5-color-surface);
  --taupe: var(--v5-color-border);
  --walnut: var(--v5-color-primary);
  --brass: var(--v5-color-accent);
  --charcoal: var(--v5-color-text);
  --muted: var(--v5-color-muted);
  --line: var(--v5-color-border);
  --ink-deep: var(--v5-color-text);
  --ink-warm: var(--v5-color-text);
  --text-soft: var(--v5-color-muted);
  --panel-cream: var(--v5-color-soft);
  --editorial-paper-top: var(--v5-color-soft);
  --editorial-paper-top-rgb: 229 232 225;
  --editorial-paper-bottom: var(--v5-color-bg);
  --paper-rgb: 250 249 246;
  --paper-light-rgb: 255 255 255;
  --charcoal-rgb: 48 52 50;
  --dark-rgb: 48 52 50;
  --display: var(--v5-font-sans);
  --body: var(--v5-font-sans);
  --ck-font-text: var(--body);
  --ck-font-heading: var(--display);
  --container: var(--v5-container-width);
  --page-gutter: var(--v5-page-gutter);
  --text-base: 0.9375rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --ck-size-caption: 0.75rem;
  --ck-size-meta: 0.8125rem;
  --ck-size-ui: 0.875rem;
  --ck-size-label: 0.875rem;
  --ck-size-body: 0.9375rem;
  --ck-size-card-title: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --ck-size-title-product: 0.9375rem;
  --ck-size-title-section: clamp(1.3125rem, 1.2rem + 0.45vw, 1.5rem);
  --ck-size-display-hero: clamp(1.875rem, 2.78vw, 2.5rem);
  --ck-size-display-hero-mobile: 1.875rem;
  --ck-weight-display: 800;
  --ck-weight-regular: 400;
  --ck-weight-title: 700;
  --ck-weight-label: 600;
  --ck-weight-strong: 800;
  --ck-leading-display: 1.12;
  --ck-leading-body: 1.5;
  --leading-copy: 1.5;

  background: var(--v5-color-bg);
  color: var(--v5-color-text);
  font-family: var(--v5-font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-copy);
}

body.editorial-site--home .site-header,
body.editorial-site--category .site-header,
body.editorial-site--product .site-header {
  background: #faf9f6;
  border-bottom: 1px solid #e2e3dd;
}

body.editorial-site--home .site-header .brand__wordmark,
body.editorial-site--category .site-header .brand__wordmark,
body.editorial-site--product .site-header .brand__wordmark {
  color: #303432;
  font-family: "Nunito Sans", "Mulish", "Helvetica Neue", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

@media (min-width: 921px) {
  body.editorial-site--home .site-header__inner,
  body.editorial-site--category .site-header__inner,
  body.editorial-site--product .site-header__inner {
    width: min(calc(100% - 2 * clamp(1rem, 3vw, 1.5rem)), 1120px);
  }

  body.editorial-site--home .primary-nav__desktop,
  body.editorial-site--category .primary-nav__desktop,
  body.editorial-site--product .primary-nav__desktop {
    font-family: "Nunito Sans", "Mulish", "Helvetica Neue", sans-serif;
  }

  body.editorial-site--home .primary-nav__desktop :where(a, .primary-nav__about),
  body.editorial-site--category .primary-nav__desktop :where(a, .primary-nav__about),
  body.editorial-site--product .primary-nav__desktop :where(a, .primary-nav__about) {
    font-size: 0.875rem;
    font-weight: 600;
  }
}

body.editorial-site--home .site-footer,
body.editorial-site--category .site-footer,
body.editorial-site--product .site-footer {
  --line: rgb(255 255 255 / 24%);

  border-top: 0;
  background: #303432;
  color: #fff;
}

body.editorial-site--home .site-footer__top,
body.editorial-site--category .site-footer__top,
body.editorial-site--product .site-footer__top,
body.editorial-site--home .site-footer__bottom,
body.editorial-site--category .site-footer__bottom,
body.editorial-site--product .site-footer__bottom {
  width: min(100%, 1120px);
}

body.editorial-site--home .site-footer .brand--footer,
body.editorial-site--category .site-footer .brand--footer,
body.editorial-site--product .site-footer .brand--footer,
body.editorial-site--home .site-footer .site-footer__tagline,
body.editorial-site--category .site-footer .site-footer__tagline,
body.editorial-site--product .site-footer .site-footer__tagline,
body.editorial-site--home .site-footer .footer-nav h2,
body.editorial-site--category .site-footer .footer-nav h2,
body.editorial-site--product .site-footer .footer-nav h2,
body.editorial-site--home .site-footer .footer-journey h2,
body.editorial-site--category .site-footer .footer-journey h2,
body.editorial-site--product .site-footer .footer-journey h2,
body.editorial-site--home .site-footer .footer-nav :where(a, [aria-disabled="true"]),
body.editorial-site--category .site-footer .footer-nav :where(a, [aria-disabled="true"]),
body.editorial-site--product .site-footer .footer-nav :where(a, [aria-disabled="true"]),
body.editorial-site--home .site-footer .footer-social a,
body.editorial-site--category .site-footer .footer-social a,
body.editorial-site--product .site-footer .footer-social a,
body.editorial-site--home .site-footer .site-footer__policies a,
body.editorial-site--category .site-footer .site-footer__policies a,
body.editorial-site--product .site-footer .site-footer__policies a {
  color: #fff;
}

body.editorial-site--home .site-footer .footer-journey > p,
body.editorial-site--category .site-footer .footer-journey > p,
body.editorial-site--product .site-footer .footer-journey > p,
body.editorial-site--home .site-footer .site-footer__bottom,
body.editorial-site--category .site-footer .site-footer__bottom,
body.editorial-site--product .site-footer .site-footer__bottom {
  color: #e5e8e1;
}

body.editorial-site--home .site-footer .site-footer__brand-column,
body.editorial-site--category .site-footer .site-footer__brand-column,
body.editorial-site--product .site-footer .site-footer__brand-column {
  border-right-color: rgb(255 255 255 / 24%);
}

body.editorial-site--home .site-footer .site-footer__bottom,
body.editorial-site--category .site-footer .site-footer__bottom,
body.editorial-site--product .site-footer .site-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 24%);
}

body.editorial-site--home .site-footer .footer-email,
body.editorial-site--category .site-footer .footer-email,
body.editorial-site--product .site-footer .footer-email {
  border-color: rgb(255 255 255 / 38%);
  background: #fff;
}

body.editorial-site--home .site-footer .footer-email input,
body.editorial-site--category .site-footer .footer-email input,
body.editorial-site--product .site-footer .footer-email input {
  color: #303432;
}

body.editorial-site--home .site-footer .footer-email input::placeholder,
body.editorial-site--category .site-footer .footer-email input::placeholder,
body.editorial-site--product .site-footer .footer-email input::placeholder {
  color: #636b67;
  opacity: 1;
}

body.editorial-site--home .site-footer .footer-email button,
body.editorial-site--category .site-footer .footer-email button,
body.editorial-site--product .site-footer .footer-email button {
  background: #e5e8e1;
  color: #303432;
}

/* Product title and fields use the V5 page hierarchy and palette. */
body.editorial-site--product .product-page .product-config #product-title { font-family: "Nunito Sans", sans-serif; font-size: 2rem; line-height: 1.2; font-weight: 800; letter-spacing: 0; color: #303432; }
body.editorial-site--product .product-page .product-options .product-option :is(input[type="text"], input[type="date"], input[type="time"], input[type="datetime-local"], textarea, select) { border-color: #e2e3dd; background: #fff; color: #303432; }
@media (max-width: 768px) { body.editorial-site--product .product-page .product-config #product-title { font-size: 1.625rem; } }

/* Related items reuse the V5 catalog card treatment without loading category-page CSS. */
body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category {
  position: relative;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__heading {
  position: static;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__image-wrap {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__image-link {
  border-radius: inherit;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__image {
  box-sizing: border-box;
  padding: 0.4rem;
  object-fit: contain;
  object-position: center;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .favorite-toggle {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e3dd;
  background: #fff;
  color: #303432;
  z-index: 2;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .favorite-toggle[aria-pressed="true"] {
  background: #303432;
  color: #fff;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .favorite-toggle[aria-pressed="true"] svg {
  fill: currentColor;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding-top: 0.55rem;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__heading {
  display: block;
  min-height: 0;
  padding-right: 0;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__heading h3 {
  min-height: 2.5em;
  margin: 0;
  color: #303432;
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__heading h3 a {
  color: inherit;
  text-decoration: none;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__heading h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__price {
  justify-items: start;
  margin-top: 0.35rem;
  color: #303432;
  text-align: left;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .price-value {
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: fit-content;
  min-width: 9rem;
  min-height: 44px;
  margin-top: 0.65rem;
  padding: 0.65rem 1rem;
  border: 1px solid #303432;
  border-radius: 8px;
  background: #303432;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__cta:hover {
  background: #636b67;
  border-color: #636b67;
}

body.editorial-site--product .related-edit__grid.category-product-grid .product-card--category .product-card__cta:focus-visible {
  outline: 2px solid #303432;
  outline-offset: 3px;
}
