/* SP Shipping Notices - Frontend */

/* Inline notice (cart & checkout shipping lists) */
.sp-sn-notice-inline {
    background: #f1a4ab38;
    border: 1px solid #ffe082;
    border-left: 4px solid var(--e-global-color-primary);
    border-radius: 14px;
    padding: 10px 14px;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    color: #000000;
    max-height: 120px;
    overflow-y: auto;
}

.sp-sn-notice-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--e-global-color-primary);
}

.sp-sn-notice-desc {
    font-size: 13px;
    color: #000000;
}

.sp-sn-notice-desc p {
    margin: 0;
}

/* ── Checkout Modal ─────────────────────── */

.sp-sn-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .55);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s ease;
}

.sp-sn-modal-overlay.is-visible {
    opacity: 1;
}

.sp-sn-modal {
    background: #fff;
    border-radius: 60px;
    width: 90%;
    max-width: 480px;
    border: 1px solid var(--e-global-color-primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
    overflow: hidden;
    transform: translateY(20px) scale(.96);
    transition: transform .25s ease;
}

.sp-sn-modal-overlay.is-visible .sp-sn-modal {
    transform: translateY(0) scale(1);
}

.sp-sn-modal-header {
    padding: 24px 24px 12px;
    text-align: center;
}

.sp-sn-modal-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
    color: var(--e-global-color-primary);
}

.sp-sn-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--e-global-color-primary);
}

.sp-sn-modal-body {
    padding: 0 24px 20px;
    text-align: center;
}

.sp-sn-modal-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
}

.sp-sn-modal-desc p {
    margin: 0;
}

.sp-sn-modal-footer {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sp-sn-modal-accept {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--e-global-color-primary);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: opacity .2s;
    margin: 0 auto;
}

.sp-sn-modal-accept:hover {
    opacity: .85;
}

.sp-sn-modal-reject {
    background: none;
    border: none;
    color: #999;
    font-size: 11px;
    cursor: pointer;
    padding: 3px;
    text-decoration: underline;
}

.sp-sn-modal-reject:hover {
    color: #666;
}
