/* BrandIT Smart Mail – front end */
.bsm-upsell{--bsm-primary:#F7941D;--bsm-secondary:#2E9E47;border:2px solid var(--bsm-primary);border-radius:14px;padding:18px;margin:0 0 28px;background:#fffaf3}
.bsm-upsell-head h2{margin:0 0 4px;font-size:1.3em;line-height:1.25}
.bsm-upsell-head p{margin:0 0 10px;color:#444}
.bsm-timer{display:inline-block;background:var(--bsm-secondary);color:#fff;border-radius:20px;padding:5px 14px;font-size:.92em;margin-bottom:14px}
.bsm-timer strong{font-variant-numeric:tabular-nums}
.bsm-upsell-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-bottom:14px}
.bsm-upsell-card{position:relative;display:flex;flex-direction:column;gap:6px;background:#fff;border:2px solid #eee;border-radius:12px;padding:10px;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.bsm-upsell-card:has(input:checked){border-color:var(--bsm-secondary);box-shadow:0 2px 10px rgba(0,0,0,.08)}
.bsm-upsell-card input[type=checkbox]{position:absolute;opacity:0;pointer-events:none}
.bsm-check{position:absolute;top:8px;left:8px;width:22px;height:22px;border-radius:50%;border:2px solid #ccc;background:#fff;z-index:2}
.bsm-upsell-card input:checked+.bsm-check{background:var(--bsm-secondary);border-color:var(--bsm-secondary)}
.bsm-upsell-card input:checked+.bsm-check::after{content:"";position:absolute;left:6px;top:2px;width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.bsm-badge{position:absolute;top:8px;right:8px;background:var(--bsm-primary);color:#fff;font-weight:700;font-size:.8em;border-radius:10px;padding:2px 8px;z-index:2}
.bsm-img img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:8px;display:block}
.bsm-name{font-size:.9em;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bsm-price ins{text-decoration:none;font-weight:700;color:var(--bsm-primary)}
.bsm-price del{color:#999;font-size:.85em}
.bsm-var{width:100%;font-size:.85em;padding:6px;border-radius:6px}
.bsm-upsell-btn,.bsm-btn{background:var(--bsm-primary,#F7941D)!important;color:#fff!important;border:0!important;border-radius:28px!important;padding:12px 26px!important;font-weight:700!important;cursor:pointer;width:100%;max-width:360px}
.bsm-upsell.bsm-expired .bsm-upsell-form{opacity:.45;pointer-events:none}
.bsm-upsell-notice{border-radius:10px;padding:12px 16px;margin:0 0 18px;background:#eaf7ee;color:#1d5e2e;border:1px solid #bfe4c9}
.bsm-upsell-notice.bsm-expired,.bsm-upsell-notice.bsm-none{background:#fff4e5;color:#7a4b00;border-color:#ffd8a0}

.bsm-notify{margin:14px 0}
.bsm-notify-done{background:#eaf7ee;color:#1d5e2e;border-radius:8px;padding:10px 14px;margin:0}
.bsm-search-none{background:#fff4e5;border:1px solid #ffd8a0;color:#7a4b00;border-radius:10px;padding:14px 16px;margin:0 0 20px}

.bsm-page{padding:40px 16px}
.bsm-page-inner{max-width:560px;margin:0 auto}
.bsm-prefs h2{margin-top:0}
.bsm-prefs form{display:flex;flex-direction:column;gap:12px}
.bsm-pref{display:flex;gap:10px;align-items:flex-start;background:#fafafa;border:1px solid #eee;border-radius:10px;padding:12px 14px;cursor:pointer}
.bsm-pref input{margin-top:3px}
.bsm-pref-off{background:#fff6f6;border-color:#f3d4d4}
.bsm-prefs-notice{background:#eaf7ee;color:#1d5e2e;border-radius:8px;padding:10px 14px;margin-bottom:14px}
@media (max-width:480px){.bsm-upsell{padding:14px}.bsm-upsell-grid{grid-template-columns:1fr 1fr}}

/* v2: order timeline */
.bsm-timeline{--bsm-primary:#F7941D;margin:0 0 24px;padding:16px;border:1px solid #eee;border-radius:12px;background:#fff}
.bsm-timeline ol{display:flex;list-style:none;margin:0;padding:0;counter-reset:s}
.bsm-timeline li{flex:1;position:relative;text-align:center;font-size:.8em;color:#999;padding-top:26px}
.bsm-timeline li span{position:absolute;top:4px;left:50%;width:16px;height:16px;margin-left:-8px;border-radius:50%;background:#e5e5e5;z-index:2}
.bsm-timeline li::before{content:"";position:absolute;top:11px;left:-50%;width:100%;height:3px;background:#e5e5e5}
.bsm-timeline li:first-child::before{display:none}
.bsm-timeline li.done,.bsm-timeline li.now{color:#222}
.bsm-timeline li.done span,.bsm-timeline li.now span,.bsm-timeline li.done::before,.bsm-timeline li.now::before{background:var(--bsm-primary)}
.bsm-timeline li.now span{box-shadow:0 0 0 5px rgba(247,148,29,.25)}
.bsm-eta{margin:12px 0 0;text-align:center;font-size:.92em;color:#444}
/* price target, referral, demand, WhatsApp */
.bsm-target{margin:10px 0;font-size:.95em}
.bsm-target summary{cursor:pointer;color:var(--bsm-primary,#F7941D);font-weight:600}
.bsm-target form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.bsm-target input[type=number]{width:120px}
.bsm-ref-link input{width:100%;padding:10px;border:1px dashed #ccc;border-radius:8px;font-size:.95em}
.bsm-wa{background:#25D366!important}
.bsm-ref-stats{color:#666;font-size:.9em}
.bsm-demand table{width:100%;border-collapse:collapse}.bsm-demand td,.bsm-demand th{padding:8px;border-bottom:1px solid #eee;text-align:left}
.bsm-phone{margin-top:6px;padding:6px 8px;border:1px solid #ddd;border-radius:6px;width:100%;max-width:240px}
.bsm-cod-form{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.bsm-btn-ghost{background:transparent!important;border:1px solid #ccc!important;color:#666!important;border-radius:28px!important;padding:12px 22px!important}
