/* Typography for the isolated Plus Jakarta Sans theme.
   Important declarations use layer order: semantic roles, existing emphasis, defaults. */
@layer sam-type-roles, sam-type-emphasis, sam-type-defaults;
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('jakarta-400.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('jakarta-500.ttf') format('truetype'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('jakarta-600.ttf') format('truetype'); }

:root, body {
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Plus Jakarta Sans', sans-serif;
  --font-hand: 'Plus Jakarta Sans', sans-serif;
  --font-logo: 'Plus Jakarta Sans', sans-serif;
}
@layer sam-type-defaults {
/* Explicit inheritance also covers inline copy and app-rendered text. */
html body, html body * {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 400 !important;
}

}
@layer sam-type-emphasis {
/* Existing emphasis, limited to 500. */
html body :is(#shopify-pc__banner.sam-cookie-banner button), html body:is(#shopify-pc__banner.sam-cookie-banner button),
html body :is(.about-title), html body:is(.about-title),
html body :is(.carousel-pill), html body:is(.carousel-pill),
html body :is(.changelog-back-link), html body:is(.changelog-back-link),
html body :is(.faq-question), html body:is(.faq-question),
html body :is(.footer-links a), html body:is(.footer-links a),
html body :is(.join-benefit-text), html body:is(.join-benefit-text),
html body :is(.nav a), html body:is(.nav a),
html body :is(.policies-store-link), html body:is(.policies-store-link),
html body :is(.sam-cart__item h3), html body:is(.sam-cart__item h3),
html body :is(.sam-film-hero__nav-cta), html body:is(.sam-film-hero__nav-cta),
html body :is(.sam-product-stories blockquote strong), html body:is(.sam-product-stories blockquote strong),
html body :is(.sam-product-stories figcaption strong), html body:is(.sam-product-stories figcaption strong),
html body :is(.sam-product__batch-included), html body:is(.sam-product__batch-included),
html body :is(.sam-product__offer-copy > strong), html body:is(.sam-product__offer-copy > strong),
html body :is(.sam-product__offer-price strong), html body:is(.sam-product__offer-price strong),
html body :is(.sam-product__price > span:first-child), html body:is(.sam-product__price > span:first-child),
html body :is(.sam-product__sticky strong), html body:is(.sam-product__sticky strong),
html body :is(.sam-shop-disclosure summary), html body:is(.sam-shop-disclosure summary),
html body :is(.sam-sticky-bar--brand .cl-sticky-badge), html body:is(.sam-sticky-bar--brand .cl-sticky-badge),
html body :is(.site-nav a), html body:is(.site-nav a) {
  font-weight: 500 !important;
}

/* Existing emphasis, limited to 600. */
html body :is(.app-feature-card-title), html body:is(.app-feature-card-title),
html body :is(.banner-btn), html body:is(.banner-btn),
html body :is(.cd-col), html body:is(.cd-col),
html body :is(.cd-seg b), html body:is(.cd-seg b),
html body :is(.cd-seg i), html body:is(.cd-seg i),
html body :is(.changelog-entry-date), html body:is(.changelog-entry-date),
html body :is(.changelog-entry-version), html body:is(.changelog-entry-version),
html body :is(.changelog-form-label), html body:is(.changelog-form-label),
html body :is(.changelog-submit-btn), html body:is(.changelog-submit-btn),
html body :is(.changelog-task-tag), html body:is(.changelog-task-tag),
html body :is(.cl-sticky-badge), html body:is(.cl-sticky-badge),
html body :is(.cl-sticky-btn), html body:is(.cl-sticky-btn),
html body :is(.comparison-feature-header), html body:is(.comparison-feature-header),
html body :is(.comparison-sam-header,
.comparison-alexa-header), html body:is(.comparison-sam-header,
.comparison-alexa-header),
html body :is(.cta-button), html body:is(.cta-button),
html body :is(.feature-card-title), html body:is(.feature-card-title),
html body :is(.footer-logo-text), html body:is(.footer-logo-text),
html body :is(.join-btn), html body:is(.join-btn),
html body :is(.join-tagline), html body:is(.join-tagline),
html body :is(.logos-heading), html body:is(.logos-heading),
html body :is(.nav .cta-btn), html body:is(.nav .cta-btn),
html body :is(.order-btn), html body:is(.order-btn),
html body :is(.policies-policy-content .policies-col-box h4), html body:is(.policies-policy-content .policies-col-box h4),
html body :is(.policies-policy-content h3), html body:is(.policies-policy-content h3),
html body :is(.reachout-form .form-label), html body:is(.reachout-form .form-label),
html body :is(.reachout-form .submit-btn), html body:is(.reachout-form .submit-btn),
html body :is(.sale-bar-text), html body:is(.sale-bar-text),
html body :is(.sam-benefit-card__notification strong), html body:is(.sam-benefit-card__notification strong),
html body :is(.sam-concept-footer-location), html body:is(.sam-concept-footer-location),
html body :is(.sam-concept-footer-logo-text), html body:is(.sam-concept-footer-logo-text),
html body :is(.sam-concept:not(.sam-shop) .sam-product__add.sam-product__checkout), html body:is(.sam-concept:not(.sam-shop) .sam-product__add.sam-product__checkout),
html body :is(.sam-film-hero__mobile-trust strong), html body:is(.sam-film-hero__mobile-trust strong),
html body :is(.sam-product-overview__benefit h3), html body:is(.sam-product-overview__benefit h3),
html body :is(.sam-product-overview__cta), html body:is(.sam-product-overview__cta),
html body :is(.sam-product__sticky-prices [data-sticky-price]), html body:is(.sam-product__sticky-prices [data-sticky-price]),
html body :is(.sam-section-order__button), html body:is(.sam-section-order__button),
html body :is(.sam-shop__button), html body:is(.sam-shop__button),
html body :is(.sam-social-post__author strong), html body:is(.sam-social-post__author strong),
html body :is(.sam-social-post__avatar), html body:is(.sam-social-post__avatar),
html body :is(.sam-social__description strong), html body:is(.sam-social__description strong),
html body :is(.sam-sticky-bar--brand .cl-sticky-btn), html body:is(.sam-sticky-bar--brand .cl-sticky-btn),
html body :is(.sam-story-card__name), html body:is(.sam-story-card__name),
html body :is(.sam-story-card__quote strong), html body:is(.sam-story-card__quote strong),
html body :is(.sam-timeline__text strong), html body:is(.sam-timeline__text strong),
html body :is(.sara-checklist-label), html body:is(.sara-checklist-label),
html body :is(.site-nav .site-nav-cta), html body:is(.site-nav .site-nav-cta),
html body :is(.support-contact-label), html body:is(.support-contact-label),
html body :is(.support-form-label), html body:is(.support-form-label),
html body :is(.support-submit-btn), html body:is(.support-submit-btn),
html body :is(.testimonial-name), html body:is(.testimonial-name),
html body :is(.tweet-name), html body:is(.tweet-name) {
  font-weight: 600 !important;
}

}
@layer sam-type-roles {
/* Headline children inherit the headline weight even when wrapped in spans. */
html body :is(h1, h2, h3, h4, h5, h6, [role="heading"], .h1, .h2, .h3, .h4, .h5, .h6),
html body :is(h1, h2, h3, h4, h5, h6, [role="heading"], .h1, .h2, .h3, .h4, .h5, .h6) * {
  font-weight: 500 !important;
}
html body :is(strong, b, button, [role="button"], input[type="submit"], input[type="button"], .button, .btn, .sam-btn, a[class*="__button"], a[class*="__cta"], a[class*="-cta"]),
html body :is(strong, b, button, [role="button"], .button, .btn, .sam-btn, a[class*="__button"], a[class*="__cta"], a[class*="-cta"]) * {
  font-weight: 600 !important;
}

}

/* Keep the original brand lettering in the top-left storefront logo. */
@layer sam-type-roles {
  html body :is(.sam-film-hero__logo, .sam-shop-header__logo) svg text {
    font-family: 'Sam Stack Sans', Arial, sans-serif !important;
    font-weight: 400 !important;
  }
}

/* Preserve the two handwritten personal touches requested for this draft. */
@layer sam-type-roles {
  html body .sam-founder-story__signature {
    font-family: 'Sam Story Hand', cursive !important;
    font-weight: 400 !important;
  }
  html body .sam-concept-footer-location {
    font-family: 'Sam Reenie Beanie', cursive !important;
    font-weight: 400 !important;
  }
}
