/* Butchery Page Styles */
.meats-section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.meats-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 700;
}

.meats-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.meat-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.meat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.meat-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.meat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.meat-card:hover .meat-image img {
    transform: scale(1.05);
}

.meat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.meat-card:hover .meat-overlay {
    opacity: 1;
}

.add-to-cart-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #c0392b;
}

.add-to-cart-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.meat-details {
    padding: 1.5rem;
}

.meat-details h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: #2c3e50;
}

.meat-description {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.meat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e74c3c;
}

.quantity {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    background: #f8f9fa;
    color: #7f8c8d;
}

.quantity.low-stock {
    background: #fff3cd;
    color: #856404;
}

.quantity.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

/* Empty state */
.empty-menu-message {
    text-align: center;
    grid-column: 1 / -1;
    padding: 3rem 1rem;
    color: #7f8c8d;
}

.empty-menu-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.empty-menu-message p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.empty-menu-message button {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.empty-menu-message button:hover {
    background: #2980b9;
}

/* Error message */
.error-message {
    text-align: center;
    grid-column: 1 / -1;
    padding: 2rem;
    background: #f8d7da;
    border-radius: 5px;
    color: #721c24;
}

.error-message button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    cursor: pointer;
    font-weight: 600;
}

.error-message button:hover {
    background: #c82333;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2ecc71;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .meats-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        padding: 0.5rem;
    }
    
    .meat-details {
        padding: 1rem;
    }
    
    .meat-details h3 {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
}
