/* Lebanon Trading v3.10.2 — buyer product detail panel (scoped only to this dialog) */
.marketplace #market-dialog .retail-overlay.wide:has(.lt-detail-v2){width:min(1080px,calc(100vw - 36px));max-width:1080px;max-height:min(92vh,850px);border-radius:20px;overflow:auto;background:#fff;box-shadow:0 26px 88px #1e182e44}
.marketplace #market-dialog .lt-detail-v2{display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);min-height:0;background:#fff}
.marketplace #market-dialog .lt-detail-visual{background:linear-gradient(145deg,#fff7f8,#f4f5f8);padding:28px 25px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-width:0}
.marketplace #market-dialog .lt-detail-photo{display:flex;align-items:center;justify-content:center;width:100%;max-width:435px;height:auto;aspect-ratio:1/1;max-height:480px;background:white;border-radius:18px;border:1px solid #ece5e9;overflow:hidden;box-shadow:0 15px 35px #1720380c;padding:18px}
.marketplace #market-dialog .lt-detail-photo>img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.marketplace #market-dialog .lt-detail-photo>.retail-product-placeholder{width:100%;height:100%;border-radius:13px}
.marketplace #market-dialog .lt-detail-photo-caption{font-size:11px;color:#8b8f9a;text-align:center}
.marketplace #market-dialog .lt-detail-info{padding:32px 39px 32px 32px;min-width:0;display:flex;flex-direction:column;gap:0;color:#1d2330}
.marketplace #market-dialog .lt-detail-info .retail-breadcrumbs{font-size:11px;color:#8b8f9b;line-height:1.5;margin:0 34px 13px 0}
.marketplace #market-dialog .lt-detail-info .retail-breadcrumbs span{padding:0 7px;color:#c5b5bb}
.marketplace #market-dialog .lt-detail-info h2{font-size:clamp(23px,2.7vw,34px);font-weight:850;letter-spacing:-1.1px;line-height:1.16;color:#141c2a;margin:0 28px 8px 0}
.marketplace #market-dialog .lt-detail-info .retail-detail-variant{margin:0 0 6px;color:#697482;font-size:13px}
.marketplace #market-dialog .lt-detail-seller{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px;margin:8px 0 24px;color:#788190}
.marketplace #market-dialog .lt-detail-seller .retail-detail-shop{font-weight:800;font-size:13px;color:#e11a38;text-decoration:none;border:0;background:transparent;padding:0;cursor:pointer}
.marketplace #market-dialog .lt-detail-options{margin:0 0 14px}
.marketplace #market-dialog .lt-detail-options .lt-buyer-option{display:block;margin:0 0 8px;color:#30394a;font-weight:800;font-size:13px}
.marketplace #market-dialog .lt-detail-options select{width:100%;padding:12px 14px;border:1px solid #dfe3ea;border-radius:11px;background:#fff;color:#252d3b;font-size:14px;line-height:1.3;min-height:46px}
.marketplace #market-dialog .lt-detail-price-card{border:1px solid #f1dfe4;border-radius:16px;background:#fff9fa;padding:17px 19px 15px;margin:0 0 18px}
.marketplace #market-dialog .lt-detail-price-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#666f7e;font-size:12px;font-weight:700}
.marketplace #market-dialog .lt-detail-status{white-space:nowrap;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}
.marketplace #market-dialog .lt-detail-status.available{background:#e5f8ed;color:#13834d}
.marketplace #market-dialog .lt-detail-status.soon{background:#fff4dc;color:#976100}
.marketplace #market-dialog .lt-detail-status.unavailable{background:#ffebee;color:#b32239}
.marketplace #market-dialog .retail-detail-price{display:block;font-size:36px;color:#d71533;font-weight:900;letter-spacing:-1.2px;margin:5px 0 10px;line-height:1.1}
.marketplace #market-dialog .lt-detail-price-rows{border-top:1px solid #efdee3;padding-top:9px;display:grid;gap:5px}
.marketplace #market-dialog .lt-detail-price-rows div{display:flex;justify-content:space-between;gap:8px;color:#697482;font-size:12px}
.marketplace #market-dialog .lt-detail-price-rows div span:last-child{font-weight:700;color:#343d4d}
.marketplace #market-dialog .lt-detail-description{padding:0;margin:0 0 7px}
.marketplace #market-dialog .lt-detail-description h3{margin:0 0 6px;color:#232a39;font-size:13px;font-weight:850}
.marketplace #market-dialog .lt-detail-description p{margin:0;font-size:13px;line-height:1.55;color:#596576;white-space:pre-wrap;overflow-wrap:anywhere;max-height:110px;overflow:auto}
.marketplace #market-dialog .lt-detail-info .retail-product-extra{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0 18px}
.marketplace #market-dialog .lt-detail-info .retail-product-extra span{background:#f5f6f8;color:#697482;font-size:11px;padding:5px 9px;border-radius:6px}
.marketplace #market-dialog .lt-detail-info .retail-product-extra b{color:#525f70}
.marketplace #market-dialog .lt-detail-info .retail-detail-quantity{margin:0 0 12px;gap:12px;font-size:12px;color:#495366}
.marketplace #market-dialog .lt-detail-info .retail-detail-quantity input{width:70px;padding:8px;border:1px solid #dfe3e9;border-radius:8px}
.marketplace #market-dialog .lt-detail-info .retail-detail-actions{display:flex;gap:10px;margin:0 0 12px}
.marketplace #market-dialog .lt-detail-info .retail-detail-actions button{min-height:49px;border-radius:11px;font-weight:800;font-size:14px}
.marketplace #market-dialog .lt-detail-info .retail-detail-actions .retail-primary-cta{flex:1;border:0;background:#e91636!important;color:white!important;box-shadow:0 10px 22px #d4153225}
.marketplace #market-dialog .lt-detail-info .retail-detail-actions .retail-primary-cta:disabled{background:#c8cbd2!important;box-shadow:none;cursor:not-allowed}
.marketplace #market-dialog .lt-detail-info .retail-detail-actions .retail-outline{border:1px solid #dce1e8;color:#30384a;background:#fff;padding:0 15px}
.marketplace #market-dialog .lt-detail-contact{width:100%;font-size:12px;font-weight:800;color:#d51c36;padding:7px 0;border:0;background:none;cursor:pointer;text-align:center}
.marketplace #market-dialog .lt-detail-info .retail-detail-explain{margin:11px 0 0;padding:13px 14px;background:#f8fafc;border:1px solid #e5e9ef;border-radius:10px;color:#5f6b7c}
.marketplace #market-dialog .lt-detail-info .retail-detail-explain strong{font-size:11px;color:#3a4657}
.marketplace #market-dialog .lt-detail-info .retail-detail-explain p{font-size:11px;line-height:1.6;margin:4px 0 0;color:#667283}
@media(max-width:760px){
 .marketplace #market-dialog .retail-overlay.wide:has(.lt-detail-v2){max-width:540px;width:min(100%,calc(100vw - 16px));max-height:94vh}
 .marketplace #market-dialog .lt-detail-v2{grid-template-columns:minmax(0,1fr)}
 .marketplace #market-dialog .lt-detail-visual{padding:16px 18px 8px}
 .marketplace #market-dialog .lt-detail-photo{height:260px;aspect-ratio:auto;max-height:260px;max-width:100%;padding:12px}
 .marketplace #market-dialog .lt-detail-photo-caption{display:none}
 .marketplace #market-dialog .lt-detail-info{padding:22px 21px 25px}
 .marketplace #market-dialog .lt-detail-info h2{font-size:27px}
}
@media(max-width:400px){
 .marketplace #market-dialog .lt-detail-photo{height:200px}
 .marketplace #market-dialog .lt-detail-info{padding:16px 15px 22px}
 .marketplace #market-dialog .lt-detail-info .retail-detail-actions{flex-wrap:wrap}
 .marketplace #market-dialog .lt-detail-info .retail-detail-actions .retail-outline{min-height:40px}
}
