.storefront-cookie-notice {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
}

.storefront-cookie-notice__inner {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

.storefront-cookie-notice__content {
    max-width: 60rem;
}

.storefront-cookie-notice__title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.storefront-cookie-notice__message {
    color: #475569;
    line-height: 1.55;
}

.storefront-cookie-notice__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.storefront-cookie-notice__links a {
    color: #0f172a;
    text-decoration: underline;
}

.storefront-cookie-notice__preferences {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.storefront-cookie-notice__toggle {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.9rem;
    background: rgba(248, 250, 252, 0.96);
}

.storefront-cookie-notice__toggle input {
    margin-top: 0.2rem;
}

.storefront-cookie-notice__toggle-copy {
    display: grid;
    gap: 0.2rem;
}

.storefront-cookie-notice__toggle-label {
    font-weight: 600;
    color: #0f172a;
}

.storefront-cookie-notice__toggle-description {
    color: #64748b;
    font-size: 0.925rem;
    line-height: 1.45;
}

.storefront-cookie-notice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
    min-width: 15rem;
}

.storefront-cookie-notice__form {
    margin: 0;
}

.storefront-cookie-manage {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1070;
}

.storefront-cookie-manage__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.storefront-cookie-manage__link:hover,
.storefront-cookie-manage__link:focus {
    color: #fff;
    text-decoration: none;
    background: rgba(15, 23, 42, 1);
}

.storefront-age-gate-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(15, 23, 42, 0.08), transparent 35%),
        linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.storefront-age-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.storefront-age-gate__card {
    width: 100%;
    max-width: 36rem;
    padding: 2rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
    text-align: center;
}

.storefront-age-gate__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    margin: 0 0 1.5rem;
}

.storefront-age-gate__logo {
    display: block;
    width: auto;
    max-width: min(100%, 14rem);
    max-height: 5rem;
    object-fit: contain;
}

.storefront-age-gate__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.storefront-age-gate__title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #0f172a;
}

.storefront-age-gate__message {
    margin-bottom: 1.5rem;
    color: #475569;
    line-height: 1.65;
}

.storefront-age-gate__actions {
    display: grid;
    gap: 0.75rem;
}

/* Shared account and order elements must remain readable in every theme. */
.storefront-account-action {
    min-height: 38px;
}

.storefront-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.8em;
    padding: 0.3em 0.65em;
    border-radius: 999px;
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
}

.storefront-status-badge.badge-success,
.storefront-status-badge.badge-completed {
    background: #16803c !important;
}

.storefront-status-badge.badge-warning,
.storefront-status-badge.badge-pending {
    background: #9a5a00 !important;
}

.storefront-status-badge.badge-danger,
.storefront-status-badge.badge-cancelled,
.storefront-status-badge.badge-failed {
    background: #b42318 !important;
}

.storefront-status-badge.badge-info,
.storefront-status-badge.badge-processing,
.storefront-status-badge.badge-primary {
    background: #175cd3 !important;
}

.storefront-status-badge.badge-secondary,
.storefront-status-badge:not(.badge-success):not(.badge-completed):not(.badge-warning):not(.badge-pending):not(.badge-danger):not(.badge-cancelled):not(.badge-failed):not(.badge-info):not(.badge-processing):not(.badge-primary) {
    background: #475467 !important;
}

.storefront-orders-table__action {
    min-width: 7.5rem;
    white-space: nowrap;
}

button.js-inpost-open-map {
    color: #1f2937 !important;
    border-color: #1f2937 !important;
    background: #fff !important;
    font-weight: 700;
}

.storefront-age-gate__form {
    margin: 0;
}

@media (max-width: 767px) {
    .storefront-cookie-notice {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .storefront-cookie-notice__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .storefront-cookie-notice__actions {
        width: 100%;
        justify-content: stretch;
    }

    .storefront-cookie-notice__form,
    .storefront-cookie-notice__form .btn {
        width: 100%;
    }
}
