/* КАЛЬКУЛЯТОР ДОСТАВКИ - СТИЛИ */

.calculator-card {
    border-radius: 20px;
    overflow: hidden;
}

.product-selector {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.product-option {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    padding: 20px;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
}

.product-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--bs-primary);
}

.product-option.active {
    border-color: var(--bs-primary);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(13, 110, 253, 0.1));
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.2);
}

/* Карточки видов рыбы */
.fish-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.fish-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

.fish-card.border-success {
    border-width: 3px !important;
}

.package-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

.package-item {
    padding: 15px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.package-item:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Элементы корзины */
.cart-item {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quantity-control {
    display: flex;
    align-items: center;
}

.quantity-control button {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#calcResult, #calcWarning {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-selector {
        flex-direction: column;
    }
    
    .product-option {
        max-width: 100%;
    }
    
    .package-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .quantity-control {
        width: 100%;
        justify-content: center;
    }
}

