/* Login-required modal for marketing cart (guest users) */
.marketing-login-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.marketing-login-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.marketing-login-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 18, 18, 0.52);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.marketing-login-modal__panel {
    position: relative;
    width: 100%;
    max-width: 26rem;
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.14),
        0 0 0 1px rgba(131, 6, 14, 0.06);
    text-align: center;
    transform: translateY(12px) scale(0.97);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.marketing-login-modal.is-open .marketing-login-modal__panel {
    transform: translateY(0) scale(1);
}

.marketing-login-modal__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: #7a7d7d;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.marketing-login-modal__close:hover {
    background: #f3f4f6;
    color: #191c1c;
}

.marketing-login-modal__icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(131, 6, 14, 0.1);
    color: #83060e;
}

.marketing-login-modal__icon .material-symbols-outlined {
    font-size: 1.65rem;
}

.marketing-login-modal__title {
    margin: 0 0 0.55rem;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #191c1c;
}

.marketing-login-modal__text {
    margin: 0 0 1.5rem;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #5c6363;
}

.marketing-login-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.marketing-login-modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border-radius: 0.65rem;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.marketing-login-modal__btn:active {
    transform: scale(0.98);
}

.marketing-login-modal__btn--primary {
    border: none;
    background: #83060e;
    color: #fff;
}

.marketing-login-modal__btn--primary:hover {
    background: #6d050c;
    color: #fff;
}

.marketing-login-modal__btn--secondary {
    border: 1.5px solid rgba(131, 6, 14, 0.28);
    background: #fff;
    color: #83060e;
}

.marketing-login-modal__btn--secondary:hover {
    background: rgba(131, 6, 14, 0.06);
    color: #6d050c;
}

.marketing-login-modal__btn--ghost {
    border: none;
    background: transparent;
    color: #7a7d7d;
}

.marketing-login-modal__btn--ghost:hover {
    background: #f3f4f6;
    color: #191c1c;
}

@media (max-width: 480px) {
    .marketing-login-modal__panel {
        padding: 1.75rem 1.25rem 1.25rem;
    }
}
