

/* --- Shop Hero Banner --- */
.shop-hero-banner {
    background-size: cover;
    background-position: center;
    background-color: var(--dark-brown); /* Fallback */
    height: 300px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}
.filter{
    background-color: #5B0202;
}

.shop-hero-banner .breadcrumb-item a {
    color: var(--light-cream) !important;
}
.shop-hero-banner .breadcrumb-item.active {
    color: var(--light-cream) !important;
}


/* --- Filter and Sort Bar --- */
.filter-sort-bar {
    background-color:  #5B0202; /* Light background as in image */
   
    color:white;
}

.filter-sort-bar .btn-outline-dark {
    border-color: #ced4da; /* Bootstrap default border */
    color: #495057;
    background-color: #fff;
    padding: 8px 15px;
}
.filter-sort-bar .btn-outline-dark:hover {
    background-color: #e2e6ea;
}

.filter-sort-bar .btn-icon-view {
    border: none;
    background-color: transparent;
    color: #6c757d;
    padding: 8px 12px;
}
.filter-sort-bar .btn-icon-view.active {
    color: var(--dark-brown); /* Active icon darker */
}

.filter-sort-bar .form-select-sm {
    height: calc(1.5em + 0.5rem + 2px); /* Adjust height to match other elements */
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    font-size: 0.875rem;
}

@media (max-width: 767.98px) {
    .filter-sort-bar .container {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .filter-sort-bar .d-flex.align-items-center.mb-2 {
        margin-bottom: 1rem !important;
    }
    .filter-sort-bar .d-flex.flex-wrap {
        width: 100%;
        justify-content: space-between !important;
    }
    .filter-sort-bar .d-flex.align-items-center.me-3.mb-2 {
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
    }
}


/* --- Product Grid --- */
.product-grid {
    background-color: #fff; /* White background for the grid */
}

.product-grid .product-card {
    border-radius: 0; /* Remove default border-radius */
    background-color: var(--light-gray); /* Card background as in image */
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure all cards in a row have equal height */
    transition: transform 0.3s ease;
}

.product-grid .product-card:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-grid .card-img-top {
    height: 280px; /* Fixed height for product images */
    object-fit: cover;
    background-color: #f0f0f0; /* Placeholder color */
}

.product-grid .card-body {
    padding: 1.5rem;
}

.product-grid .card-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-grid .card-text {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.product-grid .card-price {
    color: var(--dark-brown); /* Main price color */
    font-size: 1.1rem;
}

.product-grid .card-old-price {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-left: 10px;
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 50%; /* Circular shape */
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    width: 50px; /* Fixed width and height for perfect circle */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.discount-badge {
    background-color: var(--dark-red); /* Red for discounts */
}

.new-badge {
    background-color: #2EC1AC; /* Green for new products */
}

/* Product Overlay on Hover */
.product-grid .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.product-grid .product-card:hover .product-overlay {
    opacity: 1;
}

.product-grid .product-overlay .btn-brand {
    background-color: white; /* White button */
    color: var(--dark-red); /* Text color matching design */
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.product-grid .product-overlay .btn-brand:hover {
    background-color: var(--dark-red);
    color: white;
}

.product-grid .product-overlay .product-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.product-grid .product-overlay .product-icons a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}
.product-grid .product-overlay .product-icons a:hover {
    color: var(--dark-red);
}


/* --- Pagination --- */
.pagination {
    --bs-pagination-color: var(--dark-brown);
    --bs-pagination-hover-color: var(--dark-brown);
    --bs-pagination-focus-color: var(--dark-brown);
    --bs-pagination-active-bg: var(--dark-red);
    --bs-pagination-active-border-color: var(--dark-red);
    --bs-pagination-disabled-color: #6c757d;
    --bs-pagination-disabled-bg: #e9ecef;
    --bs-pagination-border-color: #dee2e6;
    --bs-pagination-border-radius: 10px; /* Rounded buttons */

    gap: 10px; /* Space between pagination items */
}

.pagination .page-item .page-link {
    width: 40px; /* Fixed width for page numbers */
    height: 40px; /* Fixed height */
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--inactive-gray); /* Inactive background */
    border: none;
    color: var(--text-color);
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--dark-red) !important;
    color: white !important;
}

.pagination .page-item .page-link:hover {
    background-color: #d0d0d0;
    color: var(--text-color);
}

.pagination .page-item.active .page-link:hover {
    background-color: var(--dark-red) !important;
    color: white !important;
}

.pagination .page-link-next {
    background-color: var(--dark-red) !important;
    color: white !important;
    width: auto; /* Auto width for "Next" button */
    padding: 0 20px;
}
.pagination .page-link-next:hover {
    background-color: var(--maroon) !important; /* Darker red on hover */
    color: white !important;
}

/* --- Features Section --- */
.features-section {
    background-color: var(--light-cream); /* Cream background */
}

.features-section .feature-item {
    padding: 20px;
}

.features-section .feature-item img {
    height: 50px; /* Icon size */
    margin-bottom: 15px;
}

.features-section .feature-item h6 {
    font-weight: 600;
    margin-bottom: 5px;
}

.features-section .feature-item p {
    font-size: 0.85rem;
    color: #6c757d;
}


