/* Lebanon Trading 3.9.6 — product wizard, scoped to seller modal */
#modal-root .lt-product-modal{width:min(1120px,96vw);max-width:1120px;max-height:min(92vh,940px);background:#fff;color:#172235;box-shadow:0 25px 85px #10203a35;border-radius:17px;overflow:hidden}
#modal-root .lt-product-modal .modal-head{background:#fff;border-bottom:1px solid #e6eaf0;padding:20px 28px}
#modal-root .lt-product-modal .modal-head h2{font-size:27px;color:#18223a;margin:0 0 4px}
#modal-root .lt-product-modal .modal-head p{color:#768398;margin:0;font-size:13px}
#modal-root .lt-product-modal .modal-body{background:#f8f9fc;padding:20px 26px;overflow-y:auto}
#modal-root .lt-product-modal .modal-foot{background:#fff;border-top:1px solid #e6eaf0;padding:15px 27px;display:flex;justify-content:flex-end;gap:10px}
#modal-root .lt-product-modal .modal-foot .btn-primary{background:#cf0d2d;color:#fff;border-color:#cf0d2d;box-shadow:0 8px 18px #c80c2924}
#modal-root .lt-product-modal .lt-type-picker{background:#fff;border:1px solid #e4e9f1;border-radius:13px;padding:18px;margin-bottom:16px}
#modal-root .lt-type-picker>strong{display:block;color:#26364d;font-size:14px;margin-bottom:13px}
#modal-root .lt-type-choices{display:flex;gap:9px;flex-wrap:wrap}
#modal-root .lt-type-choice{appearance:none;background:#fff;border:1px solid #e0e5ec;border-radius:9px;padding:12px 15px;color:#34465e;font-size:12px;font-weight:750;cursor:pointer;transition:all .15s}
#modal-root .lt-type-choice:hover{border-color:#e13c57;background:#fff7f8}
#modal-root .lt-type-choice.selected{border-color:#ce1131;background:#fff1f3;color:#b80d2a;box-shadow:0 0 0 1px #d52c46}
#modal-root #lt-type-hint{color:#7b8495;font-size:11px;margin:9px 0 0}
#modal-root .lt-product-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px;align-items:start}
#modal-root .lt-product-main{display:grid;gap:14px;min-width:0}
#modal-root .lt-product-side{display:grid;gap:14px;min-width:0}
#modal-root .lt-card{background:#fff;border:1px solid #e4e9ef;border-radius:13px;padding:20px;display:grid;gap:14px;min-width:0}
#modal-root .lt-card h3{color:#1d2b45;font-size:17px;letter-spacing:-.3px;margin:0}
#modal-root .lt-card label,#modal-root .lt-advanced label{display:grid;gap:7px;font-size:12px;font-weight:750;color:#33435a}
#modal-root .lt-card input:not([type=checkbox]):not([type=file]),#modal-root .lt-card select,#modal-root .lt-card textarea,#modal-root .lt-advanced input,#modal-root .lt-advanced select{border:1px solid #d8e0ec;background:#fff;color:#20304a;border-radius:9px;min-height:43px;padding:10px 12px;font-size:13px;width:100%;outline:none;box-sizing:border-box}
#modal-root .lt-card textarea{min-height:90px;resize:vertical}
#modal-root .lt-card input:focus,#modal-root .lt-card select:focus,#modal-root .lt-card textarea:focus{border-color:#dd2442;box-shadow:0 0 0 3px #fce1e5}
#modal-root .lt-card .form-grid{gap:13px}
#modal-root .lt-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#modal-root .lt-card-heading p{font-size:11px;color:#728096;margin:6px 0 0;line-height:1.5}
#modal-root .lt-add-option{border:1px solid #e96c7e;background:#fff7f8;color:#c60a2b;border-radius:9px;padding:10px 12px;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
#modal-root .lt-options-list{display:grid;gap:10px}
#modal-root .lt-option-line{display:grid;grid-template-columns:minmax(120px,1.6fr) minmax(90px,1fr) minmax(65px,.65fr) 34px;gap:10px;align-items:end;border:1px solid #f0e2e4;background:#fffafd;border-radius:11px;padding:12px}
#modal-root .lt-option-line label span{font-size:10px;color:#64728b}
#modal-root .lt-option-remove{background:#fff;border:1px solid #efced4;border-radius:8px;color:#c51235;font-size:23px;height:42px;cursor:pointer}
#modal-root .lt-option-note{font-size:11px;color:#647188;line-height:1.5;margin:0}
#modal-root .lt-publish-card{padding:13px 17px}
#modal-root .lt-publish-card .public-checkbox{display:flex!important;flex-direction:row!important;align-items:flex-start!important;background:#f8fcf9!important;border:1px solid #e1eee3!important;color:#263d35!important;border-radius:11px!important;gap:10px!important;padding:13px!important}
#modal-root .lt-publish-card .public-checkbox input{accent-color:#159953!important;min-height:18px!important;width:18px!important;flex:0 0 18px!important}
#modal-root .lt-publish-card .public-checkbox strong{color:#18362d!important;font-size:13px}
#modal-root .lt-publish-card .public-checkbox small{color:#567466!important;font-size:11px;line-height:1.4}
#modal-root .lt-photo-card p{font-size:11px;color:#8896a6;text-align:center;margin:0}
#modal-root .lt-photo-preview{height:210px;display:grid;place-items:center;background:#fff7f9;border:1.5px dashed #e4b4bf;border-radius:11px;overflow:hidden}
#modal-root .lt-photo-preview img{width:100%;height:100%;object-fit:contain}
#modal-root .lt-photo-symbol{color:#bb576b;font-size:41px;display:grid;gap:7px;justify-items:center}
#modal-root .lt-photo-symbol small{font-size:12px;color:#8890a0}
#modal-root .lt-photo-button{display:flex!important;align-items:center;justify-content:center;cursor:pointer;text-align:center;border:1px solid #df5368;border-radius:9px;color:#c20d29!important;background:#fff3f5;font-weight:800!important;padding:11px}
#modal-root .lt-photo-button input{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
#modal-root .lt-tips{background:#fff7f8;color:#6d3d47;line-height:1.65;font-size:12px}
#modal-root .lt-tips strong{color:#97152d}
#modal-root .lt-tips p{margin:0}
#modal-root .lt-advanced{border:1px solid #e4e9ef;border-radius:12px;background:#fff;overflow:hidden}
#modal-root .lt-advanced summary{padding:17px;color:#364b63;font-size:12px;font-weight:800;cursor:pointer}
#modal-root .lt-advanced-fields{display:grid;gap:13px;padding:0 18px 17px}
#modal-root .lt-advanced .optional-label{color:#8a95a2!important}
#modal-root .lt-product-form .hidden{display:none!important}
#market-dialog .lt-buyer-option{display:grid;gap:8px;color:#304052;font-weight:800;font-size:13px;margin:15px 0}
#market-dialog .lt-buyer-option select{border:1px solid #d3d9e3;border-radius:9px;padding:13px 12px;background:#fff;color:#17243e;font-size:14px;width:100%}
#market-dialog .lt-bag-option{color:#b8102c!important;font-weight:800}
@media(max-width:850px){#modal-root .lt-product-layout{grid-template-columns:1fr}#modal-root .lt-photo-preview{height:160px}#modal-root .lt-product-side{grid-row:1}#modal-root .lt-photo-card{grid-template-columns:1fr 1fr;align-items:center}#modal-root .lt-photo-card h3{grid-column:1/-1}#modal-root .lt-photo-card p{grid-column:2}#modal-root .lt-tips{display:none}}
@media(max-width:560px){#modal-root .lt-product-modal{width:100%;max-height:98vh;border-radius:12px}#modal-root .lt-product-modal .modal-head{padding:17px}#modal-root .lt-product-modal .modal-body{padding:12px}#modal-root .lt-card{padding:14px}#modal-root .lt-type-choice{padding:10px 11px}#modal-root .lt-option-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px}#modal-root .lt-option-line label:first-child{grid-column:1/-1}#modal-root .lt-option-line .lt-option-remove{grid-column:3;grid-row:2}#modal-root .lt-card-heading{align-items:flex-start;flex-direction:column}#modal-root .lt-photo-card{display:grid}#modal-root .lt-photo-card h3,#modal-root .lt-photo-card p{grid-column:auto}#modal-root .lt-product-form .form-grid{grid-template-columns:1fr}}

/* v3.9.7: clear responsive option cards with totals */
#modal-root .lt-option-line{display:grid;grid-template-columns:minmax(135px,1.35fr) repeat(2,minmax(90px,1fr)) 40px;gap:10px;align-items:end}
#modal-root .lt-option-line>label{min-width:0}
#modal-root .lt-option-line>label:nth-child(4){grid-column:1/2;grid-row:2}
#modal-root .lt-option-line .lt-option-total{grid-column:2/4;grid-row:2}
#modal-root .lt-option-line .lt-option-remove{grid-column:4;grid-row:1/3;align-self:end}
#modal-root .lt-option-line input,#modal-root .lt-option-line select{width:100%;min-width:0}
#modal-root .lt-option-total,#modal-root .lt-simple-total{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:43px;padding:9px 12px;background:#fff1f3;border:1px solid #ffd6dc;border-radius:10px}
#modal-root .lt-option-total span,#modal-root .lt-simple-total small{font-size:11px;color:#6b7280}
#modal-root .lt-option-total strong,#modal-root .lt-simple-total strong{font-size:17px;color:#bf102f}
@media(max-width:560px){
 #modal-root .lt-option-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #modal-root .lt-option-line>label:first-child{grid-column:1/-1;grid-row:auto}
 #modal-root .lt-option-line>label:nth-child(4){grid-column:1;grid-row:auto}
 #modal-root .lt-option-line .lt-option-total{grid-column:2;grid-row:auto}
 #modal-root .lt-option-line .lt-option-remove{grid-column:2;grid-row:auto;justify-self:end}
}
