/* Admin-controlled featured phones. Inactive until explicitly enabled in site config. */
#productGrid .jjs-is-featured{border-color:#ee966c;box-shadow:0 8px 22px rgba(187,75,33,.1)}
#productGrid .jjs-promo-badges{position:absolute;z-index:4;left:9px;right:9px;bottom:10px;display:flex;flex-wrap:wrap;gap:5px;pointer-events:none}
#productGrid .jjs-promo-chip{display:inline-flex;align-items:center;max-width:100%;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800;line-height:1.2;letter-spacing:0;overflow-wrap:anywhere;background:#fff;color:#723a21;box-shadow:0 2px 10px #1111}
#productGrid .jjs-promo-chip--featured{background:#e7622c;color:#fff}
#productGrid .jjs-promo-chip--stock{background:#fff4df;color:#805025}
#productGrid .jjs-promo-chip--countdown{background:#253342;color:#fff;font-variant-numeric:tabular-nums}
.jjs-promo-overlay{position:fixed;z-index:14000;inset:0;display:grid;place-items:center;background:#162435a3;padding:18px}
.jjs-promo-dialog{position:relative;width:min(100%,405px);max-height:calc(100dvh - 36px);overflow:auto;background:#fff;border-radius:22px;box-shadow:0 22px 80px #0004;padding:32px 26px 26px;text-align:center}
.jjs-promo-close{position:absolute;top:10px;right:12px;display:grid;place-items:center;background:#f2f4f6;border:0;border-radius:50%;color:#394757;width:34px;height:34px;font-size:26px;cursor:pointer}
.jjs-promo-popup-eyebrow{font-size:11px;font-weight:850;letter-spacing:.18em;color:#df622b}
.jjs-promo-dialog h2{font-size:25px;line-height:1.28;margin:10px 0;color:#182331}
.jjs-promo-popup-message{font-size:15px;font-weight:800;color:#bd4c22;margin:8px 0 12px}
.jjs-promo-popup-info{font-size:13px;line-height:1.5;color:#637083;margin:0 0 20px;font-variant-numeric:tabular-nums}
.jjs-promo-popup-action{display:block;border-radius:13px;background:#e7622c;color:#fff!important;text-decoration:none;font-weight:850;font-size:16px;padding:15px}
.jjs-promo-admin{margin:20px 0 26px;padding:0}
.jjs-promo-admin details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:18px 20px;color:#263447}
.jjs-promo-admin details>summary::-webkit-details-marker{display:none}
.jjs-promo-admin details>summary strong{font-size:16px}
.jjs-promo-admin details>summary span{font-size:12px;color:#637185}
.jjs-promo-inner{padding:3px 20px 22px;border-top:1px solid #e8edf0}
.jjs-promo-inner>.hint{font-size:12px;color:#6b7280;line-height:1.6}
.jjs-promo-inner>label{display:block;margin:13px 0;font-weight:750;font-size:13px}
.jjs-promo-inner select,.jjs-promo-fields input,.jjs-promo-fields select{display:block;width:100%;box-sizing:border-box;padding:10px 12px;margin-top:6px;border:1px solid #ced5de;border-radius:10px;background:#fff;color:#273341;font:inherit;min-width:0}
.jjs-promo-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:18px 0;padding:13px;border-radius:12px;background:#f7f9fb}
.jjs-promo-checks label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;cursor:pointer}
.jjs-promo-checks input{accent-color:#e7622c}
.jjs-promo-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.jjs-promo-fields label{font-size:12px;font-weight:750}
.jjs-promo-preview{border:1px dashed #efac89;background:#fff7f2;color:#6d3b29;border-radius:12px;padding:12px;font-weight:750;font-size:13px;line-height:1.6}
.jjs-promo-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.jjs-promo-actions button{border:0;border-radius:9px;padding:11px 14px;font-size:12px;font-weight:800;cursor:pointer}
.jjs-promo-actions .secondary{background:#e8edf1;color:#334155}
.jjs-promo-actions .primary{background:#df622b;color:#fff}
.jjs-promo-actions button:disabled{opacity:.5;cursor:wait}
#jjsPromoMessage{font-size:12px;min-height:18px;margin:12px 0 0;color:#246a4a}
#jjsPromoMessage.error{color:#be2936}
@media(max-width:540px){#productGrid .jjs-promo-chip{font-size:9px;padding:4px 6px}.jjs-promo-checks,.jjs-promo-fields{grid-template-columns:1fr}.jjs-promo-inner{padding-left:14px;padding-right:14px}.jjs-promo-dialog{padding:28px 17px 18px}}

/* Featured promotion cards take the first row without the duplicated orange detail panel. */
#productGrid .jjs-is-promo-upcoming,#productGrid .jjs-is-promo-live{grid-column:1 / -1}
#productGrid .jjs-is-promo-upcoming .jjs-promo-chip,#productGrid .jjs-is-promo-live .jjs-promo-chip{font-size:12px;padding:6px 10px}
#productGrid .jjs-is-promo-live .product-real-price strong{color:#c8491d!important;font-weight:900}
