/* Dedicated styles for legal/info static pages */

/* ─── Background ─────────────────────────────────────────────── */
body:has(.static-page-box--terms-and-conditions) .active_template_content,
body:has(.static-page-box--privacy-policy) .active_template_content,
body:has(.static-page-box--cookie-policy) .active_template_content,
body:has(.static-page-box--packaging-requirements) .active_template_content,
body:has(.static-page-box--forbidden-goods) .active_template_content {
    background-image:
        url("/skin/ukexpes_skin/frontend/img/static-page/terms_bg.png?v=1"),
        url("/skin/ukexpes_skin/frontend/img/static-page/terms_bg-bottom.png?v=1");
    background-size: contain, contain;
    background-position: top, bottom;
    background-repeat: no-repeat, no-repeat;
}

body:has(.static-page-box--cookie-policy) .active_template_content,
body:has(.static-page-box--packaging-requirements) .active_template_content,
body:has(.static-page-box--forbidden-goods) .active_template_content {
    background-size: cover, cover;
}

/* ─── Box width ──────────────────────────────────────────────── */
.static-page-box--terms-and-conditions,
.static-page-box--privacy-policy,
.static-page-box--cookie-policy,
.static-page-box--packaging-requirements,
.static-page-box--forbidden-goods {
    max-width: 934px;
}

/* ─── Padding ────────────────────────────────────────────────── */
.static-page-box--terms-and-conditions .content_page,
.static-page-box--privacy-policy .content_page,
.static-page-box--cookie-policy .content_page,
.static-page-box--packaging-requirements .content_page,
.static-page-box--forbidden-goods .content_page {
    padding-top: 177px;
    padding-bottom: 24px;
}

/* ─── H1 page title ──────────────────────────────────────────── */
.static-page-box--terms-and-conditions .product-def h1,
.static-page-box--privacy-policy .product-def h1,
.static-page-box--cookie-policy .product-def h1,
.static-page-box--packaging-requirements .product-def h1,
.static-page-box--forbidden-goods .product-def h1 {
    font-family: Manrope;
    font-weight: 700;
    font-size: 48px;
    line-height: 140%;
    text-align: center;
    margin: 0 0 48px;
    color: #001F48;
}

/* ─── Base text ──────────────────────────────────────────────── */
.static-page-box--terms-and-conditions .text-box,
.static-page-box--privacy-policy .text-box,
.static-page-box--cookie-policy .text-box,
.static-page-box--packaging-requirements .text-box,
.static-page-box--forbidden-goods .text-box {
    font-family: Manrope;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #001F48;
}

/* ─── Bold text inside paragraphs ────────────────────────────── */
.static-page-box--terms-and-conditions .text-box p strong,
.static-page-box--privacy-policy .text-box p strong,
.static-page-box--cookie-policy .text-box p strong,
.static-page-box--packaging-requirements .text-box p strong,
.static-page-box--forbidden-goods .text-box p strong {
    font-weight: 700;
}

/* ─── H2 headings ────────────────────────────────────────────── */
.static-page-box--terms-and-conditions .text-box h2,
.static-page-box--privacy-policy .text-box h2,
.static-page-box--cookie-policy .text-box h2,
.static-page-box--packaging-requirements .text-box h2,
.static-page-box--forbidden-goods .text-box h2 {
    margin-top: 32px;
    margin-bottom: 24px;
    color: #001F48;
    font-family: Manrope;
    font-weight: 700;
    font-size: 32px;
    line-height: 140%;
    letter-spacing: 0px;
}

/* ─── H3 headings ────────────────────────────────────────────── */
.static-page-box--terms-and-conditions .text-box h3,
.static-page-box--privacy-policy .text-box h3,
.static-page-box--cookie-policy .text-box h3,
.static-page-box--packaging-requirements .text-box h3,
.static-page-box--forbidden-goods .text-box h3 {
    margin-top: 32px;
    margin-bottom: 24px;
    color: #001F48;
    font-family: Manrope;
    font-weight: 700;
    font-size: 32px;
    line-height: 140%;
    letter-spacing: 0px;
}

/* ─── H4, H5 subheadings ─────────────────────────────────────── */
.static-page-box--terms-and-conditions .text-box h4,
.static-page-box--terms-and-conditions .text-box h5,
.static-page-box--privacy-policy .text-box h4,
.static-page-box--privacy-policy .text-box h5,
.static-page-box--cookie-policy .text-box h4,
.static-page-box--cookie-policy .text-box h5,
.static-page-box--packaging-requirements .text-box h4,
.static-page-box--packaging-requirements .text-box h5,
.static-page-box--forbidden-goods .text-box h4,
.static-page-box--forbidden-goods .text-box h5 {
    margin-top: 24px;
    margin-bottom: 16px;
    color: #001F48;
    font-family: Manrope;
    font-weight: 700;
    font-size: 24px;
    line-height: 140%;
    letter-spacing: 0px;
}

/* ─── Lists ──────────────────────────────────────────────────── */
.static-page-box--terms-and-conditions .text-box ul,
.static-page-box--terms-and-conditions .text-box ol,
.static-page-box--privacy-policy .text-box ul,
.static-page-box--privacy-policy .text-box ol,
.static-page-box--cookie-policy .text-box ul,
.static-page-box--cookie-policy .text-box ol,
.static-page-box--packaging-requirements .text-box ul,
.static-page-box--packaging-requirements .text-box ol,
.static-page-box--forbidden-goods .text-box ul,
.static-page-box--forbidden-goods .text-box ol {
    padding-left: 20px;
    list-style: none;
}

.static-page-box--terms-and-conditions .text-box ul li,
.static-page-box--privacy-policy .text-box ul li,
.static-page-box--cookie-policy .text-box ul li,
.static-page-box--packaging-requirements .text-box ul li,
.static-page-box--forbidden-goods .text-box ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
}

.static-page-box--terms-and-conditions .text-box ul li::before,
.static-page-box--privacy-policy .text-box ul li::before,
.static-page-box--cookie-policy .text-box ul li::before,
.static-page-box--packaging-requirements .text-box ul li::before,
.static-page-box--forbidden-goods .text-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background-color: #1E17E0;
    border-radius: 2px;
}

/* ─── Links ──────────────────────────────────────────────────── */
.static-page-box--terms-and-conditions .text-box a,
.static-page-box--privacy-policy .text-box a,
.static-page-box--cookie-policy .text-box a,
.static-page-box--packaging-requirements .text-box a,
.static-page-box--forbidden-goods .text-box a {
    text-decoration: underline;
    text-underline-offset: 2px;
    font-family: Manrope;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: #1E17E0;
}

/* ─── Table ──────────────────────────────────────────────────── */
.simple-table {
    margin: 16px 0;
    border: 1px solid rgba(217, 234, 252, 1);
}
.simple-table :where(td, th){
    border: 1px solid rgba(217, 234, 252, 1);
    padding: 6px 10px;
    text-align: left;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    .static-page-box--terms-and-conditions .content_page,
    .static-page-box--privacy-policy .content_page,
    .static-page-box--cookie-policy .content_page,
    .static-page-box--packaging-requirements .content_page,
    .static-page-box--forbidden-goods .content_page {
        padding-top: 120px;
    }

    .static-page-box--terms-and-conditions .product-def h1,
    .static-page-box--privacy-policy .product-def h1,
    .static-page-box--cookie-policy .product-def h1,
    .static-page-box--packaging-requirements .product-def h1,
    .static-page-box--forbidden-goods .product-def h1 {
        font-size: 36px;
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .static-page-box--terms-and-conditions .product-def h1,
    .static-page-box--privacy-policy .product-def h1,
    .static-page-box--cookie-policy .product-def h1,
    .static-page-box--packaging-requirements .product-def h1,
    .static-page-box--forbidden-goods .product-def h1 {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .static-page-box--terms-and-conditions .text-box,
    .static-page-box--privacy-policy .text-box,
    .static-page-box--cookie-policy .text-box,
    .static-page-box--packaging-requirements .text-box,
    .static-page-box--forbidden-goods .text-box {
        font-size: 18px;
    }

    .static-page-box--terms-and-conditions .text-box h2,
    .static-page-box--terms-and-conditions .text-box h3,
    .static-page-box--privacy-policy .text-box h2,
    .static-page-box--privacy-policy .text-box h3,
    .static-page-box--cookie-policy .text-box h2,
    .static-page-box--cookie-policy .text-box h3,
    .static-page-box--packaging-requirements .text-box h2,
    .static-page-box--packaging-requirements .text-box h3,
    .static-page-box--forbidden-goods .text-box h2,
    .static-page-box--forbidden-goods .text-box h3 {
        font-size: 22px;
    }

    .static-page-box--terms-and-conditions .text-box h4,
    .static-page-box--terms-and-conditions .text-box h5,
    .static-page-box--privacy-policy .text-box h4,
    .static-page-box--privacy-policy .text-box h5,
    .static-page-box--cookie-policy .text-box h4,
    .static-page-box--cookie-policy .text-box h5,
    .static-page-box--packaging-requirements .text-box h4,
    .static-page-box--packaging-requirements .text-box h5,
    .static-page-box--forbidden-goods .text-box h4,
    .static-page-box--forbidden-goods .text-box h5 {
        font-size: 18px;
    }

    .static-page-box--terms-and-conditions .text-box ul li,
    .static-page-box--privacy-policy .text-box ul li,
    .static-page-box--cookie-policy .text-box ul li,
    .static-page-box--packaging-requirements .text-box ul li,
    .static-page-box--forbidden-goods .text-box ul li {
        margin-bottom: 6px;
    }

    .static-page-box--terms-and-conditions .text-box a,
    .static-page-box--privacy-policy .text-box a,
    .static-page-box--cookie-policy .text-box a,
    .static-page-box--packaging-requirements .text-box a,
    .static-page-box--forbidden-goods .text-box a {
        font-size: 18px;
    }
}
