/* Cookie Policy Page Styles */



.cookie-hero {
    width: 100%;
    background-image: url('../image/ribena-texture-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 200px 20px;
}

.cookie-hero__title {
    color: #FFFFFF;
    font-family: "Gazpacho", serif;
    font-size: 100px;
    font-weight: 700;
    margin: 0 auto;
    text-align: center;
    line-height: 1.1;
    max-width: 900px;
}

.cookie-content {
    background-color: #FFF0EE;
    padding: 100px 0;
}

.cookie-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text {
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
}

.cookie-text p,
.cookie-text ol {
    margin-bottom: 25px;
}

.cookie-text ol {
    padding-left: 25px;
}

.cookie-text li {
    margin-bottom: 10px;
}

    .cookie-text h2 {
        color: #000000;
        font-family: "ES Rebond Grotesque", sans-serif;
        font-size: 36px;
        font-weight: 500;
        margin: 60px 0 30px 0;
    }

/* Table Styles */
.cookie-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
    border: 1px solid #D1D1D1;
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #D1D1D1;
    font-family: "ES Rebond Grotesque", sans-serif;
}

.cookie-table th {
    background-color: #F0F0F0;
    font-weight: 700;
    font-size: 16px;
}

.cookie-table td {
    font-size: 14px;
    vertical-align: top;
}

.cookie-text a,
.cookie-text a:visited,
.cookie-text a:active {
    color: #9B26B6 !important;
    text-decoration: underline !important;
    overflow-wrap: anywhere;
}

.cookie-text a:hover {
    color: #E3061B !important;
    text-decoration: underline !important;
}

.cookie-text strong {
    font-weight: 700;
}

/* Responsive Styles */
/* Manage Cookies Styles */
.cookie-manage-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid #D1D1D1;
}

.cookie-manage-info {
    flex: 1;
    padding-right: 40px;
    min-width: 0;
    /* Important for flex shrink/overflow */
    overflow-wrap: anywhere;
    word-break: normal;
}

.cookie-manage-info h3 {
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.cookie-manage-info span {
    display: block;
    font-size: 14px;
    font-style: italic;
    color: #333333;
    margin-bottom: 10px;
}

.cookie-manage-info p {
    font-size: 16px;
    margin-bottom: 0;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #9B26B6;
}

/* Disabled/Mandatory states */
input:disabled+.slider {
    background-color: #d8b8df;
    cursor: not-allowed;
    opacity: 0.7;
}

input:disabled+.slider:before {
    cursor: not-allowed;
}

input:focus+.slider {
    box-shadow: 0 0 1px #9B26B6;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.cookie-manage-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.cookie-btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    background-color: #9B26B6;
    color: #FFFFFF;
}

.cookie-btn:hover {
    transform: translateY(-3px);
    background-color: #af33cd;
}

@media (max-width: 992px) {
    .cookie-hero__title {
        font-size: 70px;
    }
}

@media (max-width: 576px) {
    .cookie-hero__title {
        font-size: 50px;
    }

    .cookie-text {
        font-size: 16px;
    }

    .cookie-text h2 {
        font-size: 28px;
    }

    .cookie-manage-info {
        padding-right: 15px;
    }

    .switch {
        width: 50px;
        height: 28px;
    }

    .slider:before {
        height: 20px;
        width: 20px;
        left: 4px;
        bottom: 4px;
    }

    input:checked+.slider:before {
        transform: translateX(22px);
    }

    .cookie-btn {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
    }

    .cookie-manage-actions {
        flex-direction: column;
        gap: 15px;
    }
}
