/**
 * GDPR Cookie Consent Banner — BEM-scoped styles
 *
 * @package londonhomestays-ukse-skin-child
 * @since   3.7.0
 */

/* ---- Banner container ---- */
.lh-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #000032;
    color: #fff;
    padding: 18px 80px 18px 20px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* ---- Hidden state (slide down + fade) ---- */
.lh-cookie-consent--hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

/* ---- Inner layout ---- */
.lh-cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Text ---- */
.lh-cookie-consent__text {
    margin: 0;
    flex: 1 1 auto;
}

/* ---- Privacy link ---- */
.lh-cookie-consent__link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 4px;
    white-space: nowrap;
}

.lh-cookie-consent__link:hover,
.lh-cookie-consent__link:focus {
    color: #e5e5e5;
}

/* ---- Button group (left side, clear LH Chatbot widget on right) ---- */
.lh-cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    order: -1;
}

/* ---- Shared button base ---- */
.lh-cookie-consent__btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
}

/* ---- Accept button (magenta solid) ---- */
.lh-cookie-consent__btn--accept {
    background: #b5007d;
    color: #fff;
    border-color: #b5007d;
}

.lh-cookie-consent__btn--accept:hover,
.lh-cookie-consent__btn--accept:focus {
    background: #9a006a;
    border-color: #9a006a;
}

/* ---- Reject button (white outline) ---- */
.lh-cookie-consent__btn--reject {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.lh-cookie-consent__btn--reject:hover,
.lh-cookie-consent__btn--reject:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ---- Mobile: stack vertically ---- */
@media (max-width: 640px) {
    .lh-cookie-consent {
        padding: 16px 16px 16px 16px;
    }

    .lh-cookie-consent__inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    /* Buttons row above text on mobile (order:-1 already applies) */
    .lh-cookie-consent__actions {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .lh-cookie-consent__btn {
        flex: 1 1 0;
        padding: 12px 20px;
        font-size: 15px;
    }
}
