/* Shared EN/DE/CS rhythm. Keep the existing DegularDisplay and DMSans faces. */
body {
    --dispo-tracking-copy: .005em;
    --dispo-tracking-heading: .02em;
    --dispo-tracking-action: .035em;
    font-kerning: normal;
    letter-spacing: var(--dispo-tracking-copy);
}

:is(h1, h2, h3, h4) {
    letter-spacing: .012em;
    line-height: 1.25;
}

:is(.page-title, .section-title, .product-card__title, .product-single__title,
    .checkout__title, .about-block__title, .community-card__title) {
    letter-spacing: var(--dispo-tracking-heading);
    word-spacing: .04em;
    line-height: 1.05;
    overflow-wrap: break-word;
}

.button {
    letter-spacing: var(--dispo-tracking-action);
    word-spacing: .1em;
    line-height: 1.2;
    white-space: normal;
    text-wrap: balance;
}

.button--clear,
.checkout__coupon-submit {
    letter-spacing: .01em;
    word-spacing: normal;
}

.header .main-menu a,
.dispo-language-switcher summary,
.dispo-language-switcher nav a,
.footer a {
    letter-spacing: .015em;
    word-spacing: normal;
}

.section-text,
.about-block__item p,
.product-single__description,
.checkout__product-title {
    letter-spacing: var(--dispo-tracking-copy);
    line-height: 1.4;
}

.checkout__title { margin-bottom: 2.4rem; }
.subscribe .section-title { text-wrap: balance; }
@media (min-width: 768px) {
    .subscribe .section-title { font-size: clamp(4rem, 5.2vw, 8.2rem); }
}

/* Threshold captions are a two-column legend, independent of tick proximity. */
.free-shipping {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    column-gap: 1.6rem;
    row-gap: .6rem;
}
.free-shipping__progress { grid-area: 1 / 1 / 2 / -1; margin-bottom: .8rem; }
.free-shipping .min,
.free-shipping .max {
    position: static;
    left: auto;
    transform: none;
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    white-space: normal;
    overflow-wrap: break-word;
}
.free-shipping .min { justify-self: start; text-align: left; }
.free-shipping .max { justify-self: end; text-align: right; }
.free-shipping__price.min { grid-area: 2 / 1; }
.free-shipping__price.max { grid-area: 2 / 2; }
.free-shipping__label.min { grid-area: 3 / 1; }
.free-shipping__label.max { grid-area: 3 / 2; }
.free-shipping .free-shipping__price { margin-bottom: 0; font-size: 1.8rem; line-height: 1.3; }
.free-shipping .free-shipping__label { padding-top: 0; font-size: 1.4rem; line-height: 1.35; letter-spacing: .015em; }
.free-shipping__label::before { display: none; }

/* Let long translated labels grow vertically instead of touching the pill edge. */
.product-card .button,
.subscribe .button,
.cart-modal__foot .button {
    padding-block: 1.2rem;
    padding-inline: 1.8rem;
}

@media (max-width: 559.98px) {
    body { --dispo-tracking-heading: .015em; }
    .product-card .button { padding-inline: 1rem; }
}
