/* lamgran 06.10.2026 (dev-loft): режим витрины шоурума */
/* корзины и оформления заказа на сайте нет */
#cart, .btn-cart, #button-cart, .quantity-box, label[for="input-quantity"],
.top-links a[href*="checkout"], a[href*="route=checkout/"] { display: none !important; }

.lg-badge {
    position: absolute; left: 10px; top: 10px; z-index: 3;
    background: #e8461e; color: #fff; font-size: 12px; line-height: 1.2; font-weight: 600;
    padding: 5px 9px; border-radius: 3px; letter-spacing: .2px; pointer-events: none;
}
.product-thumb .image { position: relative; }
.lg-badge--product { position: static; display: inline-block; margin: 0 0 12px; pointer-events: auto; }

/* название товара в списках - полностью, не больше 3 строк */
.product-thumb .product-name a {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-transform: none;
}

/* этап 2: единица цены и упаковка */
.lg-unit { font-size: .7em; font-weight: 400; color: #666; white-space: nowrap; }
.price-product .lg-unit { font-size: 16px; }
.lg-pack { color: #555; font-size: 14px; margin-top: 6px; }
.lg-pack b { color: #222; font-weight: 600; }

.lg-btn, .lg-actions .btn {
    background: #e8461e; color: #fff !important; border: 0; border-radius: 3px;
    padding: 12px 20px; font-weight: 600; text-transform: none; line-height: 1.3;
}
.lg-btn:hover, .lg-btn:focus { background: #c93a16; color: #fff; }
.lg-btn--ghost { background: transparent; color: #222 !important; border: 1px solid #222; }
.lg-btn--ghost:hover { background: #222; color: #fff !important; }
.lg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0; }

.lg-head-callback {
    display: inline-flex; align-items: center; gap: 6px; color: #fff !important; cursor: pointer;
    border: 1px solid #e8461e; border-radius: 3px; padding: 8px 12px; font-size: 13px; line-height: 1.2; white-space: nowrap;
}
.lg-head-callback:hover { background: #e8461e; text-decoration: none; }
.top-links .lg-top-phone { color: #fff; font-weight: 600; }

.lg-modal { z-index: 30020 !important; } /* затемнение у темы на слое 30009 */
.lg-modal .modal-title { font-weight: 700; }
.lg-modal .modal-body p { margin-bottom: 10px; }
.lg-modal__product { font-weight: 600; }
.lg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lg-err { display: block; color: #d0021b; font-size: 12px; margin-top: 4px; }
.lg-ok { font-size: 16px; color: #2e7d32; margin: 10px 0; }

@media (max-width: 767px) {
    .lg-head-callback span { display: none !important; }
    .lg-head-callback { padding: 8px 10px; }
    .lg-actions .btn { width: 100%; }
}
