.amz-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: #fff;
    border-top: 1px solid #d7e0ea;
    box-shadow: 0 -6px 20px rgb(15 23 42 / 0.08);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #11203a;
}

.amz-consent__bar,
.amz-consent__details {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.7rem 1.25rem;
}

.amz-consent__bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.amz-consent__text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #3d4d63;
    font-size: 0.875rem;
    line-height: 1.4;
}

.amz-consent__text strong {
    color: #11203a;
    font-weight: 650;
}

.amz-consent__text a,
.amz-consent__details-toggle {
    color: #1d4ed8;
    white-space: nowrap;
}

.amz-consent__details-toggle {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 650;
    line-height: inherit;
    cursor: pointer;
}

.amz-consent__details-toggle:hover {
    color: #1e40af;
}

.amz-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 0 0 auto;
    gap: 0.5rem;
}

.amz-consent__btn,
.amz-consent__save {
    min-height: 40px;
    margin: 0;
    padding: 0.4rem 0.95rem;
    border-radius: 8px;
    border: 1px solid #11203a;
    background: #fff;
    color: #11203a;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

.amz-consent__btn {
    width: 10.75rem;
}

.amz-consent__details-toggle:focus-visible {
    outline: 3px solid rgb(37 99 235 / 0.35);
    outline-offset: 2px;
}

.amz-consent__btn:hover,
.amz-consent__save:hover {
    background: #f4f7fb;
}

.amz-consent__btn:focus-visible,
.amz-consent__save:focus-visible {
    outline: 3px solid rgb(37 99 235 / 0.35);
    outline-offset: 2px;
}

.amz-consent__accept {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.amz-consent__accept:hover {
    background: #1d4ed8;
    color: #fff;
}

.amz-consent__details {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    border-top: 1px solid #e7edf3;
    padding-top: 0.75rem;
}

.amz-consent__details[hidden] {
    display: none;
}

.amz-consent__choices {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.amz-consent__choice {
    flex: 1 1 180px;
    display: grid;
    grid-template-columns: 1.05rem 1fr;
    column-gap: 0.45rem;
    align-items: start;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.3;
}

.amz-consent__choice input {
    width: 1rem;
    height: 1rem;
    margin: 0.1rem 0 0;
}

.amz-consent__choice strong {
    font-weight: 650;
}

.amz-consent__choice small {
    display: block;
    margin-top: 0.1rem;
    color: #55657c;
    font-size: 0.75rem;
    font-weight: 400;
}

.amz-consent__save {
    flex: 0 0 auto;
}

body.amz-consent-open {
    padding-bottom: var(--amz-consent-h, 5.5rem);
}

body.amz-consent-open .auth-shell {
    align-items: flex-start;
    min-height: 0;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

@media (max-width: 860px) {
    .amz-consent__bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .amz-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .amz-consent__btn {
        width: 100%;
    }

    .amz-consent__details {
        flex-direction: column;
        align-items: stretch;
    }

    .amz-consent__save {
        width: 100%;
    }
}
