/* Cookie consent banner (Phase B / C-3) — vanilla CSS, Bootstrap 5 compatible.
   Scoped under .sh-cookie-consent to avoid collisions with scraped vendor CSS. */

.sh-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #1a1a1a;
    color: #fff;
    padding: 18px 20px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transform: translateY(100%);
    transition: transform 0.28s ease-out;
}

.sh-cookie-consent.is-visible {
    transform: translateY(0);
}

.sh-cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.sh-cookie-consent__copy {
    flex: 1 1 320px;
    min-width: 260px;
    color: #e6e6e6;
}

.sh-cookie-consent__copy strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.sh-cookie-consent__copy a {
    color: #f4b89e;
    text-decoration: underline;
}

.sh-cookie-consent__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.sh-cookie-consent__btn {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.sh-cookie-consent__btn--primary {
    background: #a93d1c;
    border-color: #a93d1c;
}

.sh-cookie-consent__btn--primary:hover,
.sh-cookie-consent__btn--primary:focus {
    background: #8a3017;
    border-color: #8a3017;
    color: #fff;
}

.sh-cookie-consent__btn--ghost {
    border-color: #555;
    color: #e6e6e6;
}

.sh-cookie-consent__btn--ghost:hover,
.sh-cookie-consent__btn--ghost:focus {
    border-color: #fff;
    color: #fff;
}

.sh-cookie-consent__prefs {
    display: none;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #333;
}

.sh-cookie-consent__prefs.is-open {
    display: block;
}

.sh-cookie-consent__row {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #2a2a2a;
}

.sh-cookie-consent__row:last-child {
    border-bottom: none;
}

.sh-cookie-consent__row label {
    flex: 1;
    cursor: pointer;
    color: #e6e6e6;
}

.sh-cookie-consent__row label strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
}

.sh-cookie-consent__row small {
    display: block;
    color: #999;
    font-size: 12px;
    line-height: 1.4;
}

.sh-cookie-consent__row input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: #a93d1c;
    cursor: pointer;
}

.sh-cookie-consent__row input[type="checkbox"][disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .sh-cookie-consent {
        padding: 14px;
        font-size: 13px;
    }
    .sh-cookie-consent__actions {
        width: 100%;
    }
    .sh-cookie-consent__btn {
        flex: 1 1 auto;
        text-align: center;
    }
}
