/* Rechtstexte, Pflichtangaben im Bestellprozess und Footer-Rechtsnavigation. */

/* --- Rechtstextseiten (Impressum, AGB, Widerruf, Datenschutz, Versand) --- */
.static-page h2,
.static-page h3 {
    font-family: Figtree, sans-serif;
    font-weight: 600;
    color: #001556;
}

.static-page h2 {
    font-size: 22px;
    line-height: 30px;
    margin: 40px 0 14px;
}

.static-page h3 {
    font-size: 17px;
    line-height: 24px;
    margin: 28px 0 10px;
}

.static-page h2:first-child,
.static-page h3:first-child {
    margin-top: 0;
}

.static-page p,
.static-page li {
    font-family: Figtree, sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #001556;
}

.static-page p {
    margin: 0 0 16px;
}

.static-page ul,
.static-page ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.static-page ul li,
.static-page ol li {
    margin-bottom: 8px;
}

.static-page ul {
    list-style: disc;
}

.static-page ol {
    list-style: decimal;
}

.static-page a {
    color: #001556;
    text-decoration: underline;
    word-break: break-word;
    transition: 0.2s;
}

.static-page a:hover {
    color: #7a9cfd;
}

.static-page .legal-toc li {
    margin-bottom: 6px;
}

.static-page .legal-meta {
    margin-top: 32px;
    font-size: 14px;
    color: #667085;
}

@media (max-width: 767px) {
    .static-page h2 {
        font-size: 19px;
        line-height: 26px;
        margin-top: 30px;
    }

    .static-page p,
    .static-page li {
        font-size: 15px;
        line-height: 24px;
    }
}

/* --- Preisauszeichnung nach PAngV --- */
.price-legal-note,
.product-legal-note {
    display: block;
    font-family: Figtree, sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    color: #667085;
}

.product-listing .product-price .price-legal-note {
    margin-top: 4px;
}

.product-legal-note {
    margin: 12px 0 0;
}

.product-legal-note a {
    color: #667085;
    text-decoration: underline;
}

.product-legal-note a:hover {
    color: #001556;
}

/* --- Pflicht-Checkbox an der Kasse --- */
.order-summary .woocommerce-terms-and-conditions-wrapper {
    margin: 20px 0;
}

.order-summary .woocommerce-terms-and-conditions-wrapper .form-row {
    margin: 0;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: Figtree, sans-serif;
    font-size: 14px;
    line-height: 21px;
    color: #001556;
}

.woocommerce-terms-and-conditions-wrapper .input-checkbox {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #001556;
    cursor: pointer;
}

.woocommerce-terms-and-conditions-wrapper a {
    color: #001556;
    text-decoration: underline;
}

.woocommerce-terms-and-conditions-wrapper a:hover {
    color: #7a9cfd;
}

.woocommerce-terms-and-conditions-wrapper .required {
    border: 0;
    text-decoration: none;
    color: #001556;
}

/* --- Footer: Rechtsnavigation --- */
.main-footer__bottom .box-right .legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

@media (max-width: 991px) {
    .main-footer__bottom .box-right .legal-nav {
        justify-content: center;
    }
}

/* --- Warenkorb: "Zur Kasse" auf volle Breite, wie die Express-Buttons --- */
.main-cart__summary .submit-box .btn {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

/* --- Warenkorb: Abstand ueber den Express-Checkout-Buttons (z. B. Google Pay) --- */
.main-cart__summary .wcpay-express-checkout-wrapper {
    margin-top: 14px;
}

/* --- Warenkorb: Hinweis auf Preise, Versandkosten und Rechtstexte --- */
.cart-legal-note {
    margin: 14px 0 0;
    text-align: center;
    font-family: Figtree, sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #667085;
}

.cart-legal-note a {
    color: #667085;
    text-decoration: underline;
}

.cart-legal-note a:hover {
    color: #001556;
}
