.page-cookies .thank-you-box {
    margin-bottom: 34px;
}

.cookies-content {
    display: grid;
    gap: 22px;
    margin-top: 12px;
    text-align: left;
}

.cookies-section {
    padding: 28px;
    border: 1px solid rgba(14, 56, 76, 0.12);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(14, 56, 76, 0.06);
}

.cookies-section h2 {
    margin: 0 0 14px;
    color: #0E384C;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
}

.cookies-section p {
    margin: 0 0 14px;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.75;
}

.cookies-section p:last-child {
    margin-bottom: 0;
}

.cookies-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 18px;
    border-radius: 18px;
    border: 1px solid rgba(14, 56, 76, 0.10);
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    background: #ffffff;
}

.cookies-table th,
.cookies-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(14, 56, 76, 0.10);
    vertical-align: top;
    font-size: 15px;
    line-height: 1.55;
}

.cookies-table th {
    color: var(--primary-color);
    font-weight: 600;
    background: #EFF8FF;
}

.cookies-table td {
    color: var(--text-color);
}

.cookies-table tr:last-child td {
    border-bottom: 0;
}

.cookies-actions,
.cookies-contact-actions {
    margin-top: 20px;
}

.cookies-section--contact {
    background: linear-gradient(180deg, #ffffff 0%, #EFF8FF 100%);
}

@media (max-width: 767px) {
    .cookies-section {
        padding: 22px;
        border-radius: 20px;
    }

    .cookies-section p {
        font-size: 15px;
    }
}








.page-cookies,
.page-cookies * {
    min-width: 0;
}

.page-cookies {
    overflow-x: hidden;
}

.page-cookies .container,
.page-cookies .row,
.page-cookies [class*="col-"] {
    /*max-width: 100%;*/
}

.cookies-content {
    width: 100%;
    max-width: 100%;
}

.cookies-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.cookies-section h2,
.cookies-section p,
.cookies-section td,
.cookies-section th {
    overflow-wrap: anywhere;
    word-break: normal;
}

.cookies-content {
    display: grid;
    gap: 22px;
    margin: 125px 0 0 0;
    text-align: left;
}

.thank-you-actions.cookies-contact-actions {
    justify-content: unset;
}

/* Tablet */
@media (max-width: 991px) {
    .cookies-content {
        margin: 70px 0 !important;
    }

    .cookies-section {
        padding: 24px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .page-cookies .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .page-cookies .thank-you-box {
        margin-bottom: 26px;
    }

    .cookies-content {
        gap: 16px;
        margin: 42px 0 !important;
    }

    .cookies-section {
        padding: 20px 18px;
        border-radius: 18px;
        box-shadow: 0 12px 35px rgba(14, 56, 76, 0.05);
    }

    .cookies-section h2 {
        margin-bottom: 12px;
        font-size: 21px;
        line-height: 1.3;
        letter-spacing: -0.02em;
    }

    .cookies-section p {
        font-size: 15px;
        line-height: 1.7;
    }

    .cookies-actions .btn-default,
    .cookies-contact-actions .btn-default,
    .page-cookies .thank-you-actions .btn-default {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .page-cookies .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .cookies-section {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .cookies-section h2 {
        font-size: 19px;
    }

    .cookies-section p {
        font-size: 14px;
        line-height: 1.65;
    }
}



/* Cookie table - mobile card layout */
@media (max-width: 767px) {
    .cookies-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        margin-top: 16px;
    }

    .cookies-table {
        min-width: 0;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 12px;
        background: transparent;
    }

    .cookies-table thead {
        display: none;
    }

    .cookies-table,
    .cookies-table tbody,
    .cookies-table tr,
    .cookies-table td {
        display: block;
        width: 100%;
    }

    .cookies-table tr {
        padding: 16px;
        border: 1px solid rgba(14, 56, 76, 0.10);
        border-radius: 16px;
        background: #EFF8FF;
        margin-bottom: 16px;
    }

    .cookies-table td {
        padding: 0;
        border: 0;
        font-size: 14px;
        line-height: 1.6;
    }

    .cookies-table td + td {
        margin-top: 10px;
    }

    .cookies-table td:first-child {
        color: var(--primary-color);
        font-weight: 800;
        font-size: 15px;
    }

    .cookies-table td:nth-child(3) {
        display: inline-flex;
        align-items: center;
        margin-top: 12px;
        padding: 6px 12px;
        border-radius: 999px;
        color: var(--primary-color);
        background: #ffffff;
        font-weight: 800;
    }
}




.cookies-section a:not(.btn-default) {
    color: #0E384C;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.cookies-section a:not(.btn-default):hover {
    color: #125C91;
    text-decoration-color: transparent;
}

.cookies-section a:not(.btn-default):focus-visible {
    outline: 3px solid rgba(18, 92, 145, 0.25);
    outline-offset: 3px;
    border-radius: 4px;
}