.price-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #768661;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-bottom: 40px;
}

.price-table thead th {
    background: #f5f5f5;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #ddd;
    white-space: nowrap;
}

.price-table tbody td {
    padding: 10px 8px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.price-table-row:hover {
    background-color: #f9f9f9;
}

.col-num {
    width: 50px;
    text-align: center;
}

.col-article {
    width: 100px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.col-photo {
    width: 80px;
    text-align: center;
}

.col-photo img {
    max-width: 60px;
    max-height: 60px;
    display: block;
    margin: 0 auto;
}

.col-name {
    min-width: 300px;
}

.col-name a {
    color: #333;
    text-decoration: none;
}

.col-name a:hover {
    color: #007bff;
    text-decoration: underline;
}

.col-ratio {
    width: 120px;
    text-align: center;
}

.col-price {
    width: 120px;
    text-align: right;
    font-weight: 600;
    color: #333;
}

.col-buy {
    width: 250px;
    text-align: center;
}
.col-buy  span:hover{
color: white ;
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-disabled {
    background-color: #6c757d;
    color: white;
    cursor: not-allowed;
    opacity: 0.6;
    border: none;
}

.btn-order-transit {
    background-color: #768661;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-order-transit:hover {
    background-color: #5a6b4a;
    color: white;
    text-decoration: none;
}

.no-products {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

@media (max-width: 768px) {
    .col-num {
        width: 30px;
        font-size: 12px;
    }
    
    .col-photo {
        width: 60px;
    }
    
    .col-photo img {
        max-width: 40px;
        max-height: 40px;
    }
    
    .col-name {
        min-width: 150px;
        font-size: 12px;
    }
    
    .col-ratio,
    .col-price {
        font-size: 12px;
    }
    
    .btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Стили для блока корзины (как в Bahilyrf) */
.counter_wrapp.list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.counter_wrapp .button_block {
    flex-shrink: 0;
}

.counter_wrapp .button_block.wide {
    width: 100%;
}

.item-buttons {
    display: flex;
    justify-content: center;
}

/* Стили для кастомного счетчика */
.custom-counter {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.custom-counter button {
    width: 30px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
}

.custom-counter button:hover {
    color: #768661;
}

.custom-counter .counter-input {
    width: 60px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
}
