﻿
/* Professional color scheme */
:root {
    --primary-color: #2E8B57; /* Emerald Green */
    --secondary-color: #FF6F61; /* Coral Red accent */
    --light-bg: #F8F9FA; /* Soft background */
    --dark-text: #212529; /* Main text */
    --muted-text: #6C757D; /* Muted text */
}

/* Discount badge */
.discount-badge {
    background: linear-gradient(135deg, var(--secondary-color), #d63b2f);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

/* Filter sidebar */
.filter-sidebar {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
}

.filter-input {
    border: 1px solid #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .filter-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(46, 139, 87, 0.25);
    }

/* Buttons */
.btn-dark-green {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .btn-dark-green:hover {
        background-color: #246b44;
        transform: translateY(-1px);
    }

    .btn-dark-green:active {
        background-color: #1e5838;
        transform: translateY(0);
    }

/* Product cards */
.product-card-professional {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

    .product-card-professional:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

/* Product image resizing */
.product-img-professional {
    width: 100%;
    height: 250px; /* uniform height for desktop */
    object-fit: contain; /* fit image without cropping */
    background-color: #f8f9fa; /* optional: soft background */
    padding: 10px; /* optional: space around image */
    transition: transform 0.3s ease;
}

/* Scale effect on hover */
.product-card-professional:hover .product-img-professional {
    transform: scale(1.05);
}

/* Responsive image heights */
@media (max-width: 992px) {
    .product-img-professional {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .product-img-professional {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .product-img-professional {
        height: 180px;
    }
}

/* Links */
.hover-link:hover {
    color: var(--primary-color) !important;
}

/* Wishlist button */
.btn-wishlist {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    padding: 6px 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .btn-wishlist:hover {
        background: var(--secondary-color);
        color: #fff;
    }

