/*
 * Google Consent v2 OpenCart Extension
 * https://opencartbot.com/en/google-consent-v2
 */
#gmc_cookie_banner {
    position: fixed;
    left: 24px;
    right: auto;
    bottom: 24px;
    top: auto;
    width: 440px;
    max-width: calc(100vw - 48px);
    text-align: left;
    z-index: 120;
    background-color: #ffffff;
    color: #4f5965;
    border: 1px solid #d7dde7;
    border-left: 4px solid #3c7c88;
    border-radius: 6px;
    box-shadow: 0 14px 40px rgba(30, 38, 55, 0.18), 0 2px 8px rgba(30, 38, 55, 0.08);
    box-sizing: border-box;
}

#gmc_cookie_banner.center,
#gmc_cookie_banner.bottom {
    left: 24px;
    bottom: 24px;
    top: auto;
    transform: none;
}

#gmc_cookie_banner.top {
    left: 24px;
    top: 24px;
    bottom: auto;
    transform: none;
}

#gmc_cookie_banner .gmc_banner_inner {
    padding: 18px 20px 16px;
    margin: 0;
    box-sizing: border-box;
}

#gmc_cookie_banner .gcm_close_banner {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #7f8794;
}

#gmc_cookie_banner .settings-panel {
    display: none;
    padding-top: 12px;
    margin: 0;
    max-height: 52vh;
    overflow-y: auto;
}

#gmc_cookie_banner .settings-panel.show {
    display: block;
}

#gmc_cookie_banner .toggle-switch {
    display: block;
    margin-bottom: 8px;
    padding-right: 58px;
    min-height: 30px;
    font-size: 15px;
    font-weight: 700;
    line-height: 30px;
    color: #363d52;
    text-align: left;
    position: relative;
}

#gmc_cookie_banner .toggle-switch input {
    display: none;
}

#gmc_cookie_banner .slider {
    position: absolute;
    display: inline-block;
    top: 0;
    right: 0;
    width: 48px;
    height: 28px;
    background-color: #c8d0da;
    border-radius: 28px;
    cursor: pointer;
}

#gmc_cookie_banner .slider:before {
    position: absolute;
    content: '';
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: 0.25s;
    box-shadow: 0 1px 4px rgba(30, 38, 55, 0.22);
}

#gmc_cookie_banner input:checked + .slider:before {
    transform: translateX(20px);
}

#gmc_cookie_banner input:checked + .slider {
    background-color: #3c7c88;
}

#gmc_cookie_banner .gcm_label_description {
    font-size: 13px;
    line-height: 17px;
    margin: -2px 0 12px;
    color: #687281;
    text-align: left;
}

#gmc_cookie_banner #gcm_essential_cookies + .slider {
    opacity: 0.45;
}

#gmc_cookie_banner .gmc_title {
    margin: 0 22px 8px 0;
    color: #363d52;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

#gmc_cookie_banner .gmc_setting_title {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 12px;
}

#gmc_cookie_banner .gmc_description {
    letter-spacing: 0;
    font-size: 13px;
    line-height: 19px;
    margin-bottom: 14px;
    color: inherit;
}

#gmc_cookie_banner .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 !important;
}

#gmc_cookie_banner .gmc_button {
    margin: 0;
    border: none;
    cursor: pointer;
    background-color: #3c7c88;
    color: #ffffff;
    min-height: 38px;
    padding: 9px 12px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
}

#gmc_cookie_banner .gmc_button:hover {
    opacity: 0.9;
}

#gmc_cookie_banner #accept-btn {
    grid-column: 1 / -1;
    grid-row: 1;
}

#gmc_cookie_banner #settings-btn {
    background-color: #e1e5eb;
    color: #4f5965;
}

#gmc_cookie_banner #decline-btn {
    background-color: #ff7171;
}

#gmc_cookie_banner #save-settings-btn {
    width: 100%;
    margin-top: 4px;
    background-color: #3c7c88;
}

#gmc_cookie_banner.gmc_minimal .cookies-panel {
    display: block;
}

#gmc_cookie_banner.gmc_minimal .gmc_banner_inner {
    padding: 14px 18px;
    max-width: none;
}

#gmc_cookie_banner.gmc_minimal .gmc_description {
    margin-bottom: 12px;
}

#gmc_cookie_banner .hide,
#gmc_cookie_banner .hidden {
    display: none !important;
}

#gmc_backdrop {
    display: none !important;
}

.cookie-settings-btn {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(215, 221, 231, 0.9);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 18px rgba(30, 38, 55, 0.14);
    cursor: pointer;
    color: #363d52;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    z-index: 121;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-settings-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(30, 38, 55, 0.18);
}

@media (max-width: 767px) {
    #gmc_cookie_banner,
    #gmc_cookie_banner.center,
    #gmc_cookie_banner.bottom,
    #gmc_cookie_banner.top {
        left: 10px;
        right: 10px;
        bottom: 10px;
        top: auto;
        width: auto;
        max-width: none;
        border-left-width: 0;
        border-top: 4px solid #3c7c88;
    }

    #gmc_cookie_banner .gmc_banner_inner {
        padding: 16px 14px 14px;
    }

    #gmc_cookie_banner .gmc_title {
        font-size: 18px;
        line-height: 22px;
        text-align: center;
        margin-right: 0;
    }

    #gmc_cookie_banner .gmc_description {
        font-size: 13px;
        line-height: 18px;
        text-align: center;
    }

    #gmc_cookie_banner .buttons {
        grid-template-columns: 1fr;
    }

    #gmc_cookie_banner .gmc_button {
        width: 100%;
        min-height: 36px;
        padding: 8px 10px;
    }

    #gmc_cookie_banner .settings-panel {
        max-height: 52vh;
        padding-right: 2px;
    }

    #gmc_cookie_banner .toggle-switch {
        font-size: 14px;
        line-height: 28px;
    }

    #gmc_cookie_banner .gcm_label_description {
        font-size: 12px;
        line-height: 16px;
    }

    .cookie-settings-btn {
        bottom: 10px;
        left: 10px;
        z-index: 30;
    }

    .cookie-settings-btn.is-inner {
        display: none;
    }
}
