:root {
    --yellow: #e6cf6f;
    --red: #b31921;
    --green: #8bc440;
    --black: #000;
    --white: #fff;
}

.btn-addtocart-colorful a{
    text-decoration: none;
    color: var(--black);
}

.product-name-one{
    margin-top: 80px;
    margin-bottom: 80px;
}

/* banner section start */

.product-banner-bg {
    background-image: url('/img/5.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 30vh;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

@media (max-width:991px) {
    .product-banner-bg  {
        margin-top: -40px !important;
    }
}

.product-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.507);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: #fff;
    top: 20%;
}

@media (max-width:700px){
    .product-overlay{
        top: 33%;
    }
}

.product-banner-heading {
    font-size: 50px;
}

.breadcrumb-item {
    color: #fff !important;
}



.shop-container-main {
    /* padding-top: 30px; */
    padding-bottom: 20px;
}

/* --- Filter Sidebar Styles --- */
.filter-sidebar {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.filter-group-shop {
    margin-bottom: 25px;
    border: 2px solid var(--rose);
    padding-bottom: 20px;
    padding: 10px;
}

.filter-group-shop {
    margin-bottom: 25px;
    border: 2px solid var(--rose, --rose);
    /* fallback to yellow */
    padding: 10px;
}

.price-filter-widget {
    padding: 10px;
}

.price-range-slider-custom {
    position: relative;
    height: 50px;
    margin: 20px 0;
}

.price-range-slider-custom input[type="range"] {
    position: absolute;
    width: 100%;
    height: 8px;
    appearance: none;
    background: transparent;
    pointer-events: none;
}

.price-range-slider-custom input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: var(--green);
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
}

.price-range-slider-custom input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: var(--green);
    border-radius: 2px;
}

.price-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.price-display-text {
    font-weight: bold;
}

.btn-filter-price {
    background-color: var(--green);
    color: #000;
    border: none;
    padding: 6px 16px;
    cursor: pointer;
    border-radius: 4px;
}

.btn-filter-price:hover {
    background-color: var(--red) !important;
}


.filter-group-shop:last-child {
    border-bottom: 2px solid var(--rose);
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group-header-shop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 15px;
}

.filter-group-title-shop {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2D3748;
}

.filter-toggle-icon-shop {
    color: var(--red);
    transition: transform 0.2s ease-in-out;
}

.filter-group-header-shop[aria-expanded="false"] .filter-toggle-icon-shop {
    transform: rotate(-90deg);
}

.filter-list-shop {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.filter-list-shop li {
    margin-bottom: 8px;
}

.filter-list-shop .form-check-label {
    font-size: 0.9rem;
    color: #4A5568;
    cursor: pointer;
}

.filter-list-shop .form-check-label .item-count {
    color: #A0AEC0;
    font-size: 0.8em;
    margin-left: 4px;
}

.filter-list-shop .form-check-input {
    border-color: #CBD5E0;
    margin-top: 0.2em;
}

.filter-list-shop .form-check-input:checked {
    background-color: #48BB78;
    border-color: #48BB78;
}

.price-slider-container-shop {
    padding-top: 10px;
}

.price-range-slider-element-shop {
    height: 8px;
}

.price-filter-widget {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 100%;
    max-width: 320px;
}

.price-filter-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #253D4E;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.price-filter-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #72A73F;
    border-radius: 1.5px;
}

.price-range-slider-custom {
    margin-top: 25px;
    margin-bottom: 25px;
    height: 8px;
}

.noUi-target {
    background: #E9ECEF;
    border-radius: 4px;
    border: none;
    box-shadow: none;
    height: 8px;
}

.noUi-connect {
    background: #72A73F;
    border-radius: 4px;
    height: 8px;
}

.noUi-handle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #F0F8E6;
    border: 5px solid #72A73F;
    box-shadow: none;
    cursor: grab;
    right: -11px;
    top: -7px;
}

.noUi-handle:focus {
    outline: none;
}

.noUi-handle::before,
.noUi-handle::after {
    display: none;
}

.noUi-tooltip {
    display: none;
}


.price-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-filter-price {
    background-color: #72A73F;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: capitalize;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-filter-price:hover {
    background-color: #5a8632;
}

.price-display-text {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.price-display-text .price-values {
    font-weight: 600;
    color: #333;
}



.product-card-colorful {
    background-color: #fff;
    border: 1px solid var(--green);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card-colorful:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.product-image-colorful {
    height: 100%;
    overflow: hidden;
    position: relative;
    background-color: #c0b7b7;
}

.product-image-colorful img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-badge-colorful {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--rose);
    /* Vibrant Orange */
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}


.product-cart-icon-btn {
  position: absolute;
  right: 10px;
  background: white;
  border: none;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
  z-index: 2;
}

.product-cart-icon-btn a{
    color: #000;
}

.product-cart-icon-btn {
  top: 10px; /* Appears just below the heart icon */
}

.product-wishlist-btn:hover, 
.product-cart-icon-btn:hover {
  background-color: var(--rose);
  color: white;
}


.product-details-colorful {
    padding: 15px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category-colorful {
    font-size: 0.75rem;
    color: var(--red);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title-colorful {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2D3748;
    /* margin-bottom: 8px; */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* min-height: 2.08em; */
    /* 1.1em * 1.4 * 2 */
}

.product-price-colorful {
    font-size: 1.2rem;
    font-weight: 700;
    color: #48BB78;
    /* Green price */
    margin-bottom: 10px;
}

.product-price-colorful .old-price {
    font-size: 0.9rem;
    color: #A0AEC0;
    text-decoration: line-through;
    margin-left: 8px;
}

.btn-addtocart-colorful {
  border: 2px solid var(--rose) !important;
    /* Dark Blue/Grey Button */
    color: var(--black) !important;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    /* Push to bottom */
    transition: background-color 0.3s ease;
}

.btn-addtocart-colorful:hover {
    background-color: var(--rose) !important;
    color: white !important;
}

.btn-addtocart-colorful i {
    margin-right: 6px;
}


/* Filter Toggle Button for Mobile */
.filter-toggle-mobile {
    background-color: #48BB78;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    font-weight: 600;
    border-radius: 6px;
}

.filter-toggle-mobile:hover {
    background-color: #38A169;
    color: white;
}

/* Offcanvas Styling */
.offcanvas-header {
    border-bottom: 1px solid #e2e8f0;
}

.offcanvas-title {
    color: #2D3748;
    font-weight: 700;
}

.offcanvas-body .filter-group-shop {
    border: none;
    border-bottom: 1px solid #e9ecef;
    border-radius: 0;
    padding: 15px 0;
    margin-bottom: 15px;
}

.offcanvas-body .filter-group-shop:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991.98px) {

    /* Below LG */
    .filter-sidebar-desktop-wrapper {
        display: none !important;
    }

    .filter-toggle-mobile-wrapper {
        display: block !important;
    }
}

@media (min-width: 992px) {

    /* LG and up */
    .filter-toggle-mobile-wrapper {
        display: none !important;
    }
}



/* Related Products Section start */

.related-products-container-section {
    padding: 40px 0;
}

.section-heading-related {
    font-size: 1.8rem;
    font-weight: 700;
    color: #253D4E;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.section-heading-related::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3BB77E;
    border-radius: 2px;
}

/* Product Card Styles */
.product-card-related {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background-color: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.product-card-related:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.product-image-wrapper-related {
    position: relative;
    background-color: #aca7a7;
    /* Or a very light grey */
    padding: 10px;
    overflow: hidden;
    /* To clip hover actions if they animate outside */
}

.product-image-wrapper-related img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
    /* Rounded corners for image inside */
    transition: transform 0.3s ease;
}


/* Hover Actions (Wishlist, Quick View) */
.product-hover-actions-related {
    position: absolute;
    top: 15%;
    right: -40px;
    /* Start off-screen to the right */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    /* Stack icons vertically */
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: right 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2;
}

.product-card-related:hover .product-hover-actions-related {
    opacity: 1;
    visibility: visible;
    right: 10px;
    /* Slide in from the right */
}

.btn-action-related {
    background-color: rgba(255, 255, 255, 0.9);
    color: #555;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.btn-action-related:hover {
    background-color: #3BB77E;
    /* Green hover */
    color: white;
    border-color: #3BB77E;
}


.product-details-related {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-title-related {
    font-size: 0.95rem;
    font-weight: 600;
    color: #253D4E;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
    /* Approx 2 lines */
}

.product-price-related {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3BB77E;
    margin-bottom: 15px;
    /* Space before potential button */
    margin-top: auto;
    /* Push price to bottom if no button */
}

/* Optional: Add to cart button can be added here if needed */
/*
        .btn-addtocart-related {
            background-color: #3BB77E; color: white; ...
            margin-top: auto;
        }
        */

/* Swiper Styles */
.related-products-swiper-container .swiper {
    padding-top: 10px;
    padding-bottom: 40px;
    /* Space for pagination */
}

.related-products-swiper-container .swiper-button-prev,
.related-products-swiper-container .swiper-button-next {
    color: #3BB77E;
    /* Green arrows */
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.related-products-swiper-container .swiper-button-prev::after,
.related-products-swiper-container .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.related-products-swiper-container .swiper-pagination-bullet-active {
    background-color: #3BB77E;
}

/* Responsive */
@media (max-width: 767.98px) {

    /* Mobile */
    .section-heading-related {
        font-size: 1.5rem;
    }

    .product-image-wrapper-related img {
        height: 160px;
    }

    .product-title-related {
        font-size: 0.9rem;
        min-height: 38px;
    }

    .product-hover-actions-related {
        right: -35px;
        /* Adjust for smaller icons */
    }

    .product-card-related:hover .product-hover-actions-related {
        right: 5px;
    }

    .btn-action-related {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}















.product-page-toolbar {
            background-color: #fff; /* Toolbar background, or transparent if page is light */
            padding: 15px 0;
            border-bottom: 1px solid #f0f0f0; /* Subtle separator line */
            margin-bottom: 30px; /* Space below toolbar */
        }

        /* Hide Filter Button */
        .btn-hide-filter {
            background-color: transparent;
            border: none;
            color: #585858; /* Text color from image */
            font-size: 0.9rem;
            font-weight: 500;
            padding: 0.375rem 0.75rem;
            transition: color 0.2s ease;
        }
        .btn-hide-filter:hover {
            color: #253D4E; /* Darker on hover */
        }
        .btn-hide-filter i {
            margin-right: 8px;
            font-size: 1rem; /* Icon size */
            color: #777; /* Icon color */
        }
        .btn-hide-filter:hover i {
             color: #253D4E;
        }


        /* View Toggle Buttons */
        .view-toggle-buttons-shop .btn-view-shop {
            background-color: #fff;
            border: 1px solid #e0e0e0; /* Light grey border */
            color: #999; /* Grey icon color */
            width: 36px; /* Square button */
            height: 36px;
            padding: 0;
            border-radius: 6px; /* Rounded square */
            margin-left: 6px; /* Space between view buttons */
            display: inline-flex;
            justify-content: center;
            align-items: center;
            transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
        }
        .view-toggle-buttons-shop .btn-view-shop:hover {
            border-color: #AEAEAE;
            color: #333;
        }
        .view-toggle-buttons-shop .btn-view-shop.active {
            border-color: #333A45; /* Darker border for active */
            color: #333A45;       /* Darker icon for active */
            background-color: #f0f2f5; /* Slight background for active */
        }
        .view-toggle-buttons-shop .btn-view-shop i {
            font-size: 1rem; /* Icon size within button */
        }

        /* Sort By Dropdown */
        .sort-by-shop {
            display: flex;
            align-items: center;
        }
        .sort-by-shop .sort-label {
            font-size: 0.9rem;
            color: #777; /* Grey label */
            margin-right: 8px;
            white-space: nowrap;
        }
        .sort-by-shop .form-select-sm-custom {
            background-color: #fff;
            border: 1px solid #e0e0e0; /* Light grey border */
            border-radius: 6px;
            font-size: 0.9rem;
            color: #333A45; /* Dark text for selected option */
            padding: 0.4rem 1.75rem 0.4rem 0.75rem; /* Adjust padding */
            box-shadow: none;
            min-width: 200px; /* Ensure dropdown has some width */
            height: 36px; /* Match height of view buttons */
        }
        .sort-by-shop .form-select-sm-custom:focus {
            border-color: #3BB77E; /* Example green focus, adjust to your theme */
            box-shadow: 0 0 0 0.2rem rgba(59, 183, 126, 0.2);
        }

        /* Responsive Adjustments */
        @media (max-width: 767.98px) { /* Mobile */
            .product-page-toolbar .d-flex {
                flex-direction: column; /* Stack all items */
                align-items: stretch !important; /* Make items full width */
            }
            .hide-filter-control,
            .view-sort-controls-shop,
            .view-toggle-buttons-shop,
            .sort-by-shop {
                width: 100%;
                margin-bottom: 10px;
                justify-content: center !important; /* Center items in their row */
            }
            .hide-filter-control { text-align: center; }
            .sort-by-shop .sort-label { margin-right: 0; margin-bottom: 5px; }
            .sort-by-shop { flex-direction: column; }
            .sort-by-shop .form-select-sm-custom { width: 100%; min-width: unset;}
        }