#gr-consent {
    transition: opacity 0.3s ease;
}

.gr-about-section {
    overflow: hidden;
    max-height: 200px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    position: relative;
}

.gr-about-section.expanded {
    max-height: 400px;
}

.gr-read-more-inline {
    cursor: pointer;
    color: #d71634;
    align-items: center;
    font-weight: 500;
    text-decoration: underline;
    margin-left: 5px;
}

.gr-read-more-inline:hover {
    color: #900e24;
}


/* Fullscreen Modal Popup */
#gr-consent-full-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9997;
    display: none;
    align-items: center;
    justify-content: center;
}

#gr-consent-full-popup .gr-full-popup-content {
    background: white;
    padding: 20px 0;
    border-radius: 3px;
    position: relative;
    /* text-align: center; */
}

#gr-close-full-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}


/* Full popup layout */
#gr-consent-full-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gr-full-popup-content {
    background: #fff;
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 3px;
    overflow: hidden;
}

/* Header Tabs */
.gr-full-header {
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

.gr-about-section {
    font-size: 14px;
    line-height: 21px;
    font-family: 'open sans', sans-serif;
    padding: 10px 0;
}

/* Scrollable Body */
.gr-full-body {
    overflow-y: auto;
    padding: 0 20px;
    background: #fff;
    scroll-behavior: smooth;
    margin: 10px 0;
}

/* Footer */
.gr-full-footer {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.gr-footer-btn {
    flex: 1;
    border: none;
    padding: 10px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap !important;
}



.gr-btn-deny {
    color: #000000;
    font-size: 14px;
    font-family: Open Sans, sans-serif;
    font-weight: 600;
    background: transparent;
    border-radius: 4px;
    border: 1px solid #000000;
    padding: 10px 10px;
    transition: all 0.5s ease;
    text-transform: uppercase;
}


.gr-btn-deny:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
    text-decoration: none;
}

.gr-btn-customize {
    transition: all 0.5s ease;
    background: #d71634;
    color: #fff;
    text-transform: uppercase;
}


.gr-btn-customize:hover {
    background-color: #a81029;
    border-color: #870d21;
    color: #ffffff;
    text-decoration: none;
}

/* Accordion */
.gr-accordion {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gr-accordion-item {
    border: 1px solid #eee;
    border-radius: 3px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.gr-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    background: #fafafa;
}

.gr-left {
    display: flex;
    align-items: center;
    gap: 10px;
}


.gr-accordion-item.open .gr-dropdown-icon svg {
    transform: rotate(0deg);
    /* face down */
}

.gr-accordion-excerpt {
    font-size: 14px;
    color: #555;
    padding: 0 16px 10px 16px;
}

.gr-accordion-item.open .gr-accordion-body {
    padding: 10px 16px 16px 16px;
}

.gr-accordion-body {
    padding: 0 16px;
    font-size: 14px;
    color: #444;
    background: #fff;
}

.gr-accordion-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.gr-accordion-item.open .gr-dropdown-icon svg {
    transition: transform 0.3s ease;
}

.gr-dropdown-icon svg {
    display: inline-block;
    transform: rotate(-90deg);
    /* makes it face right */
    transition: transform 0.3s ease;
    transform-origin: center;
}

.gr-dropdown-icon svg path {
    fill: #d71634;

}


/* Switch */
.gr-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.gr-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gr-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.3s;
}

.gr-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.gr-switch input:checked+.gr-slider {
    background-color: #d71634;
}

.gr-switch input:checked+.gr-slider:before {
    transform: translateX(20px);
}

.gr-switch input:disabled+.gr-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.gr-show-more-wrapper {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 13px;
}

.gr-dropdown-icon {
    cursor: pointer;
    transition: transform 0.5s ease;
}


.gr-show-more-container {
    font-size: 12px;
    color: #333;
    margin-top: 20px;
    margin-left: 20px;
}

.gr-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* ==== Cookie Consent Bottom Bar ==== */
#gr-consent-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 18px;
    z-index: 999;
}

.gr-bar-text {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

.gr-bar-text p {
    margin: 0 !important;
}

.gr-bar-text a {
    font-weight: 500;
    text-decoration: underline;
    color: #d71634;
}

.gr-bar-buttons {
    display: flex;
    gap: 10px;
}

.gr-bar-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.gr-settings-btn {
    background: transparent;
    border: 1px solid #444;
    color: #444;
}

.gr-settings-btn:hover {
    background: #f0f0f0;
}

.gr-bar-btn.gr-settings-btn {
    color: #fff;
    font-size: 14px;
    font-family: Open Sans, sans-serif;
    font-weight: 600;
    background: transparent;
    border-radius: 4px;
    border: 1px solid #fff;
    padding: 10px 10px;
    transition: all 0.5s ease;
    text-transform: uppercase;
}

.gr-bar-btn.gr-settings-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.gr-allow-btn {
    transition: all 0.5s ease;
    background: #d71634;
    color: #fff;
    text-transform: uppercase;
}


.gr-allow-btn:hover {
    background-color: #a81029;
    border-color: #870d21;
    color: #ffffff;
    text-decoration: none;
}

.gr-full-footer .gr-footer-button {
    gap: 10px;
    display: flex;

}


/* Natural Mobile Responsiveness (no fixed breakpoint) */
@media (max-width: 768px) {

    .gr-full-popup-content {
        width: 100%;
        max-width: none;
        border-radius: 0;
    }

    .gr-full-body {
        padding: 0x 15px;
    }

    #gr-consent-full-popup .gr-full-popup-content {
        padding: 20px 0;
    }

    #gr-consent-full-popup .gr-full-popup-content {
        width: 500px;
    }

    .gr-bar-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

}

/* Natural Mobile Responsiveness (no fixed breakpoint) */
@media (max-width: 520px) {

    #gr-consent-full-popup .gr-full-popup-content {
        width: 90%;
    }

    .gr-full-footer {
        flex-direction: column;
        gap: 8px;
    }

    .gr-footer-btn {
        width: 100%;
        text-wrap-mode: nowrap;
    }

    .gr-full-footer .gr-footer-button {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .gr-bar-container {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        width: 100%;
        gap: 15px;
    }

    .gr-bar-buttons {
        display: flex;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    #gr-open-full-consent,
    #gr-btn-allow-all-bar{
        width: 100%;
        white-space: wrap;
    }

    .gr-bar-text {
        font-size: 14px;
    }
}