.bridge_share_cart_container {
    padding: 15px;
}
.bridge_share_cart_container-header {
    border: 1px solid #dee2e6;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 10px;
    background: #eee;
    font-weight: 500;
}
.bridge_share_cart_container-body {
    border: 1px solid #dee2e6;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: none;
    padding: 10px;
}
.bridge_share_cart_container-body .btn {
    padding: 0 8px !important;
    background: gray !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    color: white !important;
    border: none !important;
    font-weight: 300 !important;
    height: 32px;
    float: inline-end;
}
.bridge_share_cart_container-body .btn:hover {
    background: black !important;
}

/* ── Modal overlay ──────────────────────────────────────────── */
#shareCartModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(17, 24, 39, 0.45);
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(2px);
}
#shareCartModal.sc-open {
    display: flex;
}

/* ── Dialog ─────────────────────────────────────────────────── */
.sc-modal-dialog {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    animation: scSlideIn 0.2s ease;
}
@keyframes scSlideIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ── Header ─────────────────────────────────────────────────── */
.sc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f3f4f6;
}
.sc-modal-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sc-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #eff6ff;
    border-radius: 8px;
    color: #2563eb;
    flex-shrink: 0;
}
.sc-modal-header h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}
.sc-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    border-radius: 6px;
    color: #9ca3af;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}
.sc-close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

/* ── Body ───────────────────────────────────────────────────── */
.sc-modal-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sc-modal-description {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ── Link input ─────────────────────────────────────────────── */
.sc-link-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sc-link-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.sc-link-input-wrap {
    display: flex;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.sc-link-input-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.sc-link-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 12px;
    font-size: 0.85rem;
    color: #374151;
    background: #f9fafb;
    min-width: 0;
}
.sc-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #ffdd06 !important;
    color: #064787 !important;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.sc-copy-btn:hover {
    background: #064787 !important;
    color: #ffffff !important;
}
.sc-copy-btn.sc-copied {
    background: #16a34a;
}

/* ── Retail Bonus ───────────────────────────────────────────── */
.sc-bonus-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0fdf4;
    border: 1.5px dashed #86efac;
    border-radius: 10px;
    padding: 12px 16px;
}
.sc-bonus-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sc-bonus-icon {
    display: flex;
    align-items: center;
    color: #16a34a;
}
.sc-bonus-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #15803d;
}
.sc-bonus-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #16a34a;
}
