/* The V1 layouts share this type scale across both animal brands. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("assets/fonts/dm-sans.woff") format("woff");
}

:root:not([data-entwurf]) {
  --shop-schrift: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --shop-display: 580;
  --shop-titel: 560;
  --shop-aktion: 630;
  --shop-preis: 650;
  font-family: var(--shop-schrift);
  font-optical-sizing: auto;
}

/* Legacy components declare their own font shorthand, including native controls. */
:root:not([data-entwurf]) body,
:root:not([data-entwurf]) body :where(main, header, footer, nav, section, article, aside, div,
  dialog, form, fieldset, legend, label, button, input, select, optgroup, option, textarea,
  h1, h2, h3, h4, h5, h6, p, a, span, em, strong, b, small, ul, ol, li, time, address,
  details, summary, table, caption, th, td, output, dl, dt, dd, figcaption),
:root:not([data-entwurf]) #aboGuide #aboGuideStep {
  font-family: var(--shop-schrift) !important;
}

:root:not([data-entwurf]) :is(.stage, .cat-stage) h1 {
  font-weight: var(--shop-display);
  letter-spacing: -.06em;
  line-height: .96;
}

:root:not([data-entwurf]) :is(.menu-bar, .merch-head, .home-chapter,
  .cat-plan-copy, .cat-trial-copy, .cat-story) h2 {
  font-size: clamp(2.05rem, 4.35vw, 4.05rem);
  font-weight: var(--shop-display);
  line-height: 1.04;
  letter-spacing: -.051em;
}

:root:not([data-entwurf]) :is(.catalog-hero, .plan-intro, .cart-heading-copy,
  .checkout-heading, .service-hero) h1,
:root:not([data-entwurf]) #service h1 {
  font-size: clamp(2.15rem, 5.05vw, 5.1rem);
  font-weight: var(--shop-titel);
  line-height: 1.02;
  letter-spacing: -.054em;
}

:root:not([data-entwurf]) .buy h1 {
  font-size: clamp(1.9rem, 3.6vw, 3.45rem);
  font-weight: var(--shop-titel);
  letter-spacing: -.047em;
  line-height: 1.08;
  overflow-wrap: break-word;
}

:root:not([data-entwurf]) :is(#menues .shelf-offer h3, #sortiment .merch-product h3,
  .tiles .tile h2, .related-grid strong, .record-top h3) {
  font-weight: var(--shop-titel);
  letter-spacing: -.032em;
  line-height: 1.16;
}

:root:not([data-entwurf]) :is(#menues .offer-price strong, #menues .menu-price strong,
  #sortiment .merch-price, .tiles .tile .cost, .buy .form-price strong, .menu-order-price strong,
  .lineprice, .plan-total strong, .summary .total, .abo-total strong) {
  font-weight: var(--shop-preis);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.025em;
  line-height: 1.15;
}

:root:not([data-entwurf]) :is(.recipe-note, .merch-note, .tile-note) {
  font-weight: 400;
  line-height: 1.38;
}

:root:not([data-entwurf]) :is(.buy .details, .product-notes, .service-faq, .home-chapter) p {
  line-height: 1.5;
}

:root:not([data-entwurf]) :is(.primary, .seal, .menu-choose, .shelf-action,
  .merch-action, .tile-action, .buy .modes input:checked + span, .buy .details summary,
  #mainnav [data-nav-plan], .shop-header .shop-mainlinks [data-nav-plan]) {
  font-weight: var(--shop-aktion);
  letter-spacing: -.012em;
}

:root:not([data-entwurf]) :is(.related, .product-story, .product-notes, .controls,
  .footer-group) h2,
:root:not([data-entwurf]) #service h2,
:root:not([data-entwurf]) #cartPage :is(h2, h3),
:root:not([data-entwurf]) #aboGuide #aboGuideTitle {
  font-weight: var(--shop-display);
  letter-spacing: -.034em;
}

@media (max-width: 42rem) {
  :root:not([data-entwurf]) :is(.menu-bar, .merch-head, .home-chapter,
    .cat-plan-copy, .cat-trial-copy, .cat-story) h2 {
    font-size: clamp(1.85rem, 7.7vw, 2.65rem);
  }
  :root:not([data-entwurf]) .catalog-hero h1 {
    font-size: clamp(1.8rem, 6.85vw, 2.75rem);
  }
  :root:not([data-entwurf]) .buy h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.16rem);
  }
}
