

/* Start:/local/templates/72snab/css/cart.css?177643762211047*/
.cart-wrapper {
    max-width: 1240px;
    margin: 0 auto 64px auto;
    padding: 0 0px;
}

.cart-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Левая часть - товары */
.cart-items {
    width: 820px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Пустая корзина */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
}

.cart-empty p {
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.continue-shopping {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(225deg, #E74F01 0%, #C71201 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

/* Карточка товара */
.cart-item {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px 12px 12px;
    background: white;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
}

/* Блок с картинкой и названием */
.item-info-block {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 325px;
}

/* Картинка товара */
.item-image {
    width: 81px;
    height: 79px;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-image .no-image {
    width: 100%;
    height: 100%;
    background: #F2F2F3;
}

/* Название товара */
.item-name {
    width: 220px;
}

.item-name-link {
    color: #333333;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
}

.item-name-link:hover {
    color: #E74F01;
}

/* Параметры товара - СКРЫТО */
.item-params {
    display: none;
}

/* Цена за единицу */
.item-price {
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Количество */
.item-quantity {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    width: 109px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    background: #F2F2F3;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.quantity-btn:hover {
    background: #E8E8E9;
}

.quantity-btn svg {
    width: 13px;
    height: 13px;
}

.quantity-btn svg path {
    fill: #989795;
    transition: fill 0.3s ease;
}

.quantity-btn:hover svg path {
    fill: #E74F01;
}

.quantity-value {
    flex: 1;
    height: 32px;
    background: #F2F2F3;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

/* Итого за товар */
.item-total {
    color: #E74F01;
    font-family: 'Inter Tight', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
	min-width: 50px;
}

/* Кнопка удаления */
.item-delete {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.item-delete:hover {
    opacity: 1;
}

.item-delete svg {
    width: 12px;
    height: 17px;
}

.item-delete svg path {
    fill: #989795;
}

.item-delete:hover svg path {
    fill: #E74F01;
}

/* Кнопка очистки корзины */
.cart-clear {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid #E1E1E1;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: border-color 0.3s ease;
}

.cart-clear:hover {
    border-color: #E74F01;
}

.cart-clear-text {
    color: #333333;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.cart-clear-icon svg {
    width: 16px;
    height: 16px;
}

.cart-clear-icon svg path {
    stroke: #333333;
    transition: stroke 0.3s ease;
}

.cart-clear:hover .cart-clear-icon svg path {
    stroke: #E74F01;
}

/* Правая часть - сайдбар */
.cart-sidebar {
    width: 400px;
    padding: 40px;
    background: white;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-title {
    color: #333333;
    font-family: 'Inter Tight', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-transform: none;
}

/* Доставка */
.delivery-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.delivery-section h3 {
    color: #333333;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.delivery-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #989795;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: border-color 0.3s ease;
}

.delivery-option input[type="radio"]:checked + .radio-custom {
    border-color: #E74F01;
}

.delivery-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(225deg, #E74F01 0%, #C71201 100%);
    border-radius: 50%;
}

.delivery-name {
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 400;
    flex: 1;
}

.delivery-option input[type="radio"]:checked ~ .delivery-name {
    color: #E74F01;
}

.delivery-price {
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* Итого */
.total-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.total-section h3 {
    color: #333333;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.total-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.total-price {
    color: #E74F01;
    font-family: 'Inter Tight', sans-serif;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Параметры итога - СКРЫТО */
.total-params {
    display: none;
}

/* Кнопка оформления */
.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 16px;
    background: linear-gradient(225deg, #E74F01 0%, #C71201 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.checkout-btn:hover {
    opacity: 0.9;
}

/* Модальные окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    padding: 32px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #989795;
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon svg {
    width: 48px;
    height: 48px;
    stroke: #E74F01;
}

.modal-title {
    color: #333333;
    font-family: 'Inter Tight', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}

.modal-text {
    color: #989795;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 24px;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 6px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.modal-btn-cancel {
    background: #F2F2F3;
    color: #333333;
}

.modal-btn-cancel:hover {
    background: #E8E8E9;
}

.modal-btn-confirm {
    background: linear-gradient(225deg, #E74F01 0%, #C71201 100%);
    color: white;
}

.modal-btn-confirm:hover {
    opacity: 0.9;
}

/* Медиа-запросы */
@media (max-width: 1200px) {
    .cart-content {
        flex-direction: column;
    }
    
    .cart-items {
        width: 100%;
    }
    
    .cart-sidebar {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .cart-item {
        flex-wrap: wrap;
        padding: 16px;
        gap: 16px;
    }
    
    .item-info-block {
        width: 100%;
    }
    
    .item-price {
        order: 1;
        width: 100%;
        text-align: left;
    }
    
    .item-quantity {
        order: 2;
    }
    
    .item-total {
        order: 3;
        margin-left: auto;
    }
    
    .item-delete {
        order: 4;
    }
    
    .cart-sidebar {
        padding: 24px;
    }
    
    .total-price {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .cart-wrapper {
        padding: 0 12px;
    }
    
    .item-image {
        width: 60px;
        height: 60px;
    }
    
    .item-name {
        width: calc(100% - 84px);
    }
    
    .quantity-btn {
        width: 28px;
        height: 28px;
    }
    
    .quantity-value {
        height: 28px;
        font-size: 12px;
    }
}

/* End */
/* /local/templates/72snab/css/cart.css?177643762211047 */
