/* FrozoFun Customer Site Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.product-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    object-fit: cover;
}

.price-display {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--success-color);
}

.btn-add-to-cart {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.btn-add-to-cart:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer {
    background-color: var(--dark-color);
    color: white;
    margin-top: auto;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
}

.modal-header .btn-close {
    filter: invert(1);
}

.category-filter {
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.category-filter.active,
.category-filter:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.search-box {
    border-radius: 25px;
}

.search-box:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.loading-spinner {
    display: none;
}

.cart-item {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.quantity-input {
    width: 80px;
    text-align: center;
}

.address-card {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
}

.address-card:hover,
.address-card.selected {
    border-color: var(--primary-color);
    background-color: rgba(0, 123, 255, 0.05);
}

.alert-dismissible {
    position: relative;
}

@media (max-width: 768px) {
    .product-card {
        margin-bottom: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}