

/* Start:/local/components/snabblock/delivery/templates/.default/style.css?17888506294237*/
/* Дополнение к существующим стилям страницы доставки */

#delivery-map {
    width: 100%;
    height: 600px;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 12px;
}

.map-address-wrap {
    margin-top: 25px;
}

#map-search {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid #d9dde3;
    border-radius: 8px;
    font-size: 16px;
}

.truck-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.truck-item {
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #f5f7f9;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.truck-item:hover,
.truck-item.truck-active {
    border-color: #751b3d;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .08);
}

.truck-item .image img {
    display: block;
    width: 100%;
    height: 115px;
    object-fit: contain;
}

.delivery-result {
    min-width: 280px;
}

.delivery-result h3 {
    margin: 0 0 12px;
}

.delivery-result__row,
.delivery-result__total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 6px 0;
}

.delivery-result__total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
    font-size: 18px;
}

.delivery-result small {
    display: block;
    margin-top: 10px;
    color: #666;
}

@media (max-width: 991px) {
    .truck-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #delivery-map {
        height: 430px;
        border-radius: 8px;
    }

    .truck-wrap {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    .truck-item {
        flex: 0 0 230px;
        scroll-snap-align: start;
    }

    .delivery-result {
        min-width: 230px;
    }
}

/* Легенда карты и независимые от Bootstrap раскрывающиеся правила. */
.delivery-map-legend { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:18px; font-size:14px; }
.delivery-map-legend span { display:inline-flex; align-items:center; gap:8px; }
.delivery-map-legend i { display:inline-block; width:14px; height:14px; border-radius:3px; }
.delivery-map-legend__green { background:#1bad03; }
.delivery-map-legend__blue { background:#1e98ff; }
.delivery-map-legend__red { background:#ed4543; }
.delivery-map-legend .delivery-map-legend__route { width:24px; height:4px; background:#6d28d9; }
.delivery-map-help { margin:12px 0; color:#53636b; font-size:14px; }
.truck-item:focus-visible { outline:3px solid #751b3d; outline-offset:3px; }
.delivery-faq { margin:32px 0; }
.delivery-faq h2 { margin-bottom:24px; }
.delivery-faq h3 { margin:24px 0 16px; }
.delivery-faq__item { margin-bottom:10px; border:1px solid #d9e3e9; border-radius:10px; background:#fff; }
.delivery-faq__item summary { padding:16px 20px; cursor:pointer; font-weight:600; }
.delivery-faq__item summary:focus-visible { outline:3px solid #751b3d; outline-offset:2px; }
.delivery-faq__answer { padding:0 20px 16px; }
.delivery-faq__answer p:last-child { margin-bottom:0; }

.snab-delivery{color:#302831}.snab-delivery>p{font-size:16px;line-height:1.7}.snab-delivery .truck-item .title{font-size:19px;font-weight:600;margin-bottom:12px}.snab-delivery .condition{font-size:14px;margin-top:12px}.snab-delivery h2{font-size:28px;margin:32px 0 20px}.snab-delivery h3{font-size:19px}.snab-delivery .delivery-table-scroll{overflow:auto;margin:20px 0}.snab-delivery table{border-collapse:collapse;width:100%;min-width:550px}.snab-delivery td,.snab-delivery th{padding:16px;text-align:left;border:1px solid #e3dce1}.snab-delivery th{background:#f5f1f3}.snab-delivery .delivery-confirm{padding:18px;background:#f5f1f3;border-left:3px solid #751b3d}.snab-delivery .delivery-faq__answer{line-height:1.7}.snab-delivery #delivery-load-status{font-size:14px;color:#751b3d}.snab-delivery .delivery-contact{display:inline-block;color:#751b3d;margin:12px 0;font-weight:600}

/* End */
/* /local/components/snabblock/delivery/templates/.default/style.css?17888506294237 */
