/* =============================================
   Cookie Consent — beymen.com style
   ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ---------- Banner ---------- */
#cc-banner {
    position   : fixed;
    bottom     : 0;
    left       : 0;
    right      : 0;
    z-index    : 99998;
    background : #ffffff;
    border-top : 1px solid #e8e8e8;
    padding    : 28px 48px;
    display    : flex;
    align-items: flex-start;
    gap        : 32px;
    animation  : cc-slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow : 0 -4px 24px rgba(0, 0, 0, 0.06);
}

#cc-banner.cc-hidden {
    display: none;
}

@keyframes cc-slideUp {
    from {
        transform: translateY(100%);
        opacity  : 0;
    }

    to {
        transform: translateY(0);
        opacity  : 1;
    }
}

.cc-banner__text {
    flex     : 1;
    min-width: 0;
}

.cc-banner__title {
    font-size     : 11px;
    font-weight   : 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color         : #111111;
    margin        : 0 0 8px;
}

.cc-banner__desc {
    font-size  : 13px;
    color      : #666666;
    line-height: 1.65;
    margin     : 0;
}

.cc-banner__desc a {
    color          : #111111;
    text-decoration: underline;
    cursor         : pointer;
}

.cc-banner__desc a:hover {
    opacity: 0.7;
}

.cc-banner__actions {
    display    : flex;
    align-items: center;
    gap        : 10px;
    flex-shrink: 0;
    padding-top: 2px;
}

/* ---------- Buttons ---------- */
.cc-btn {
    display        : inline-flex;
    align-items    : center;
    justify-content: center;
    font-size      : 11px;
    font-weight    : 600;
    letter-spacing : 0.1em;
    text-transform : uppercase;
    padding        : 12px 24px;
    border         : 1px solid transparent;
    border-radius  : 0;
    cursor         : pointer;
    white-space    : nowrap;
    text-decoration: none;
    transition     : background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
    font-family    : inherit;
    line-height    : 1;
}

.cc-btn--primary {
    background  : #111111;
    color       : #ffffff;
    border-color: #111111;
}

.cc-btn--primary:hover {
    background  : #333333;
    border-color: #333333;
}

.cc-btn--secondary {
    background  : #ffffff;
    color       : #111111;
    border-color: #cccccc;
}

.cc-btn--secondary:hover {
    border-color: #111111;
}

.cc-btn--ghost {
    background     : transparent;
    color          : #888888;
    border-color   : #888888;
    padding-left   : 8px;
    padding-right  : 8px;
}

.cc-btn--ghost:hover {
    color: #111111;
}

/* ---------- Overlay ---------- */
#cc-overlay {
    position       : fixed;
    inset          : 0;
    z-index        : 99999;
    background     : rgba(0, 0, 0, 0.5);
    display        : flex;
    align-items    : flex-end;
    justify-content: center;
    opacity        : 0;
    visibility     : hidden;
    transition     : opacity 0.3s, visibility 0.3s;
}

#cc-overlay.cc-active {
    opacity   : 1;
    visibility: visible;
}

/* ---------- Modal ---------- */
#cc-modal {
    width         : 100%;
    max-width     : 680px;
    max-height    : 92vh;
    background    : #ffffff;
    display       : flex;
    flex-direction: column;
    transform     : translateY(32px);
    transition    : transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    margin        : 0 auto;
    box-shadow    : 0 -8px 40px rgba(0, 0, 0, 0.12);
}

#cc-overlay.cc-active #cc-modal {
    transform: translateY(0);
}

.cc-modal__header {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    padding        : 22px 36px;
    border-bottom  : 1px solid #e8e8e8;
    flex-shrink    : 0;
}

.cc-modal__title {
    font-size     : 11px;
    font-weight   : 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color         : #111111;
    margin        : 0;
}

.cc-modal__close {
    background     : none;
    border         : none;
    cursor         : pointer;
    color          : #888888;
    padding        : 4px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    transition     : color 0.2s;
    font-size      : 18px;
    line-height    : 1;
}

.cc-modal__close:hover {
    color: #111111;
}

.cc-modal__body {
    flex                      : 1;
    overflow-y                : auto;
    overscroll-behavior       : contain;
    -webkit-overflow-scrolling: touch;
}

.cc-modal__intro {
    padding      : 20px 36px;
    border-bottom: 1px solid #e8e8e8;
    font-size    : 13px;
    color        : #666666;
    line-height  : 1.65;
}

/* ---------- Categories ---------- */
.cc-category {
    padding      : 20px 36px;
    border-bottom: 1px solid #e8e8e8;
}

.cc-category__header {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 16px;
    margin-bottom  : 8px;
}

.cc-category__left {
    display    : flex;
    align-items: center;
    gap        : 10px;
    flex       : 1;
    min-width  : 0;
    cursor     : pointer;
}

.cc-category__name {
    font-size     : 13px;
    font-weight   : 500;
    color         : #111111;
    letter-spacing: 0.02em;
    user-select   : none;
}

.cc-category__badge {
    font-size     : 10px;
    font-weight   : 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color         : #888888;
    background    : #f5f5f5;
    padding       : 2px 8px;
    white-space   : nowrap;
    flex-shrink   : 0;
}

.cc-category__chevron {
    font-size  : 14px;
    color      : #aaaaaa;
    transition : transform 0.25s;
    flex-shrink: 0;
}

.cc-category.cc-open .cc-category__chevron {
    transform: rotate(180deg);
}

.cc-category__desc {
    font-size  : 12px;
    color      : #888888;
    line-height: 1.65;
    margin     : 0;
    max-height : 0;
    overflow   : hidden;
    transition : max-height 0.3s ease, opacity 0.3s ease;
    opacity    : 0;
}

.cc-category.cc-open .cc-category__desc {
    max-height: 200px;
    opacity   : 1;
}

/* ---------- Toggle Switch ---------- */
.cc-toggle {
    position   : relative;
    display    : inline-block;
    width      : 42px;
    height     : 24px;
    flex-shrink: 0;
}

.cc-toggle input {
    opacity : 0;
    width   : 0;
    height  : 0;
    position: absolute;
}

.cc-toggle__slider {
    position     : absolute;
    inset        : 0;
    background   : #d0d0d0;
    border-radius: 24px;
    cursor       : pointer;
    transition   : background 0.25s;
}

.cc-toggle__slider::before {
    content      : '';
    position     : absolute;
    width        : 18px;
    height       : 18px;
    left         : 3px;
    top          : 3px;
    background   : #ffffff;
    border-radius: 50%;
    transition   : transform 0.25s;
    box-shadow   : 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cc-toggle input:checked+.cc-toggle__slider {
    background: #111111;
}

.cc-toggle input:checked+.cc-toggle__slider::before {
    transform: translateX(18px);
}

.cc-toggle input:disabled+.cc-toggle__slider {
    opacity: 0.45;
    cursor : not-allowed;
}

.cc-toggle input:focus-visible+.cc-toggle__slider {
    outline       : 2px solid #111111;
    outline-offset: 2px;
}

/* ---------- Modal Footer ---------- */
.cc-modal__footer {
    padding        : 18px 36px;
    border-top     : 1px solid #e8e8e8;
    display        : flex;
    justify-content: flex-end;
    align-items    : center;
    gap            : 10px;
    flex-shrink    : 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    #cc-banner {
        flex-direction: column;
        padding       : 24px 20px;
        gap           : 20px;
    }

    .cc-banner__actions {
        width    : 100%;
        flex-wrap: wrap;
    }

    .cc-banner__actions .cc-btn {
        flex     : 1;
        min-width: 120px;
    }

    .cc-banner__actions .cc-btn--ghost {
        flex      : 0 0 100%;
        text-align: center;
        order     : -1;
    }

    #cc-modal {
        max-height: 88vh;
    }

    .cc-modal__header,
    .cc-category,
    .cc-modal__intro,
    .cc-modal__footer {
        padding-left : 20px;
        padding-right: 20px;
    }

    .cc-modal__footer {
        flex-direction: column;
    }

    .cc-modal__footer .cc-btn {
        width: 100%;
    }
}

.cc-customize-banner2{
    cursor: pointer;
}