
a{
    text-decoration: none;
}
/* ////////banner/////////////////// */

.banner {
    width: 100%;
    height: 400px;
    background-image: url('../images/About-back-img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px 25px;
    border-radius: 30px;
    z-index: 1;
    margin-top: 80px;
}

.breadcrumb a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #333;
    font-size: 18px;
}

.breadcrumb-current {
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .banner {
        height: 400px;
    }
    
    .breadcrumb {
        padding: 12px 20px;
    }
    
    .breadcrumb a,
    .breadcrumb-separator,
    .breadcrumb-current {
        font-size: 16px;
    }
}
   



/* ///////Bed Section /////// */


.container {
    display: flex;
    gap: 20px;
    width: 100%;
    margin: auto;
    padding: 70px 50px;
    background-color: #f0f0f0;
}
.categories-section {
    flex: 0 0 250px; /* Fixed width for categories */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
}
.categories-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-list li {
    margin-bottom: 10px;
}
.category-list label {
    display: flex;
    align-items: center;
    font-size: 0.95em;
    color: #555;
    cursor: pointer;
}
.category-list input[type="radio"] {
    margin-right: 10px;
    appearance: none; /* Hide default radio button */
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    outline: none;
}
.category-list input[type="radio"]:checked {
    border-color: #007bff; /* Blue for checked state */
}
.category-list input[type="radio"]:checked::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #007bff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.category-list label.all {
    font-weight: bold;
    color: #333;
}
.category-list label.all input[type="radio"]:checked::before {
    background-color: gold; /* Yellow for 'All' selected */
}
.product-grid-section {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* 3 columns, responsive */
    gap: 20px;
}
.product-card {
    /* background-color: #fff; */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 210px;
    background-color: #fff;
    &:hover{
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        transform: scale(1.02);
    }
}
.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.product-card .overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.6); /* Black transparent background */
    color: #fff;
    padding: 8px 10px;
    font-size: 0.9em;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box; /* Include padding in width */
    text-transform: uppercase;
}

.no-data{
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (max-width: 768px) {
    .product-grid-section {
        grid-template-columns: repeat(auto-fill, minmax(200px, 2fr)); /* 2 columns for smaller screens */
    }
    .no-data{
        width: 100%;
        height: 100px;
    }
}

/* For screens smaller than 600px (most phones) */
@media (max-width: 600px) {
    .container {
        flex-direction: column; /* Stack items vertically */
        padding: 20px; /* Reduced padding for phones */
        gap: 30px; /* More space between stacked sections */
    }

    .categories-section {
        flex: 0 0 auto; /* Allow categories to take full width */
        width: 100%; /* Ensure it takes full width */
        padding: 15px; /* Slightly reduced padding */
    }

    /* .product-grid-section {
        grid-template-columns: 1fr;
    } */

    .product-card {
        margin: auto; /* Center single column cards if needed (though 1fr handles this) */
        width: 100%; /* Ensure cards take full width in single column */
        height: 100%;
    }

    .product-card img {
        height: 200px; /* Slightly reduce image height for smaller screens */
    }
}

/* For very small screens (e.g., iPhone SE) */
@media (max-width: 400px) {
    .container {
        padding: 15px;
    }
    .categories-section h3 {
        font-size: 1em;
    }
    .category-list label {
        font-size: 0.9em;
    }
    .product-card img {
        height: 150px; /* Further reduce image height */
    }
    .product-card .overlay-text {
        font-size: 0.8em;
        padding: 6px 8px;
    }
}