.salon-shop {
    --primary-color: #214948;
    --accent-color: #ff4444;
    --text-color: #333;
    --light-bg: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
}


.salon-shop .filter-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.salon-shop .filter-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.salon-shop .filter-group {
    margin-bottom: 1.5rem;
}

.salon-shop .filter-group h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.salon-shop .filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.salon-shop .filter-option label {
    margin-left: 0.5rem;
    cursor: pointer;
}

.salon-shop .filter-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.salon-shop .filter-submit:hover {
    background-color: #1a3b3a;
}

.salon-shop .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 1.5rem;
}
/* Default: Hide content when not in list-view */
.product-grid .content {
    display: none;
}

/* Show content only when the row has the 'list-view' class */
.product-grid.list-view .content {
    display: block;
}

.salon-shop .product-grid.list-view {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.salon-shop .product-grid.list-view .product-card-shop {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1rem;
}

.salon-shop .product-grid.list-view .product-image-shop {
    padding-top: 0;
    height: 300px;
}

.salon-shop .product-card-shop {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #214948;
}
/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on smaller screens */
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .filter-sidebar {
        position: static !important; /* Disable sticky on mobile */
    }
}

.salon-shop .product-card-shop:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.salon-shop .product-image-shop {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.salon-shop .product-image-shop img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.salon-shop .product-card-shop:hover .product-image-shop img {
    transform: scale(1.05);
}

.salon-shop   .discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background:var(--accent-color);
    color: white;
    padding: 0.10rem 0.30rem;
    border-radius: 5px;
    font-weight: 400;
    z-index: 1;
  }

.salon-shop .product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    z-index: 1;
}

/* Product actions container */
.product-actions {
    display: flex;
    gap: 10px;
    opacity: 0; /* Hidden by default */
    transform: translateX(-10px); /* Slightly off-screen */
    transition: all 0.3s ease; /* Smooth transition for visibility */
}

/* Show actions on product hover */
.salon-shop .product-card-shop:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

/* Action button styles */
.salon-shop .action-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.salon-shop .action-btn:hover {
    background: rgb(237, 235, 235);
    color: white;
    box-shadow: 1px 4px 1px rgba(174, 171, 171, 0.2);
}

.salon-shop .action-btn i {
    font-size: 18px; /* Icon size */
}

/* Wishlist states */
.action-btn .fa-heart.fas {
    color: #ff385c; /* Filled heart color */
}

.action-btn .fa-heart.far {
    color: #aaa; /* Empty heart color */
}


.salon-shop .product-info {
    padding: 1rem;
}

.salon-shop .product-title {
    text-align: start;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.salon-shop .product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.salon-shop .current-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.salon-shop .original-price {
    color: #999;
    text-decoration: line-through;
}

.salon-shop .sort-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.salon-shop .view-options {
    display: flex;
    gap: 0.5rem;
}

.salon-shop .view-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.salon-shop .view-btn:hover,
.salon-shop .view-btn.active {
    background-color: #1a3b3a;
}

.salon-shop .sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}
.btn-view{
    color: #fff;
    background-color:#1a3b3a ;
    width: 100%;
    margin: 10px 0px;
}
.btn-view:hover{
    color: #fff;
    background-color:#115653e2;

}

.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: #1a3b3a;
    --bs-pagination-bg: var(--bs-body-bg);
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: var(--bs-border-color);
    --bs-pagination-border-radius: var(--bs-border-radius);
    --bs-pagination-hover-color: #1a3b3a;
    --bs-pagination-hover-bg: var(--bs-tertiary-bg);
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-focus-color: #1a3b3a;
    --bs-pagination-focus-bg: var(--bs-secondary-bg);
    --bs-pagination-focus-box-shadow:none;
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #1a3b3a;
    --bs-pagination-active-border-color: #1a3b3a;
    --bs-pagination-disabled-color: var(--bs-secondary-color);
    --bs-pagination-disabled-bg: var(--bs-secondary-bg);
    --bs-pagination-disabled-border-color: var(--bs-border-color);
    display: flex
;
    padding-left: 0;
    list-style: none;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .salon-shop .filter-sidebar {
        margin-bottom: 1rem;
    }

    .salon-shop .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .salon-shop .product-grid.list-view {
        grid-template-columns: 1fr;
    }

    .salon-shop .product-grid.list-view .product-card-shop {
        grid-template-columns: 1fr;
    }

    .salon-shop .product-grid.list-view .product-image-shop {
        padding-top: 100%;
    }

    .salon-shop .sort-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .salon-shop .sort-select {
        width: 100%;
    }
}