/* Gigi’s Auctions Cookie Consent v1.0.1 */

#gacc-banner[hidden],
#gacc-preferences[hidden] {
    display: none !important;
}

.gacc-banner,
.gacc-banner * {
    box-sizing: border-box;
}

.gacc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99990;
    background: #fffaf0;
    color: #211b13;
    border-top: 3px solid #96792e;
    box-shadow: 0 -5px 30px rgba(0,0,0,.12);
    font-family: inherit;
    max-height: 85vh;
    max-height: 85dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.gacc-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 32px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px 40px;
    align-items: center;
}

.gacc-content h2 {
    color: #211b13;
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 10px;
}

.gacc-content p {
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    color: #4b4030;
}

.gacc-policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 12px;
}

.gacc-policy-links a {
    color: #634b17;
    text-decoration: underline;
    font-size: 13px;
}

.gacc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gacc-button {
    appearance: none;
    border: 1px solid #96792e;
    border-radius: 0;
    padding: 12px 15px;
    min-height: 44px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    text-align: center;
    transition: background-color .15s ease;
}

.gacc-primary {
    background: #b89a50;
    color: #211b13;
}

.gacc-primary:hover {
    background: #c9ad66;
    color: #211b13;
}

.gacc-secondary {
    background: #fffaf0;
    color: #634b17;
    grid-column: 1 / -1;
}

.gacc-secondary:hover {
    background: #f3e7cb;
}

.gacc-banner button:focus-visible,
.gacc-banner a:focus-visible,
.gacc-banner input:focus-visible,
.gacc-reopen:focus-visible {
    outline: 3px solid #38290e;
    outline-offset: 3px;
}

.gacc-preferences {
    grid-column: 1 / -1;
    border-top: 1px solid #d9cdb4;
    padding-top: 16px;
}

.gacc-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e5dac4;
    margin: 0;
}

.gacc-category strong {
    font-size: 15px;
    color: #211b13;
}

.gacc-category p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #574a38;
}

.gacc-category input[type="checkbox"] {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    accent-color: #806422;
    cursor: pointer;
}

.gacc-required {
    font-size: 12px;
    font-weight: 600;
    color: #574a38;
    flex-shrink: 0;
}

.gacc-preferences > .gacc-button {
    margin-top: 18px;
}

@media (max-width: 800px) {
    .gacc-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }

    .gacc-content h2 {
        font-size: 19px;
    }

    .gacc-content p {
        font-size: 13px;
    }

    .gacc-actions {
        width: 100%;
    }

    .gacc-preferences > .gacc-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gacc-button {
        transition: none;
    }
}

.gacc-reopen[hidden] {
    display: none !important;
}

.gacc-reopen {
    position: fixed;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 99989;
    padding: 8px 12px;
    border: 1px solid #96792e;
    background: #fffaf0;
    color: #211b13;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
