.product-section-wrapper {
    background-color: #fcf9f2;
    padding: 80px 0 60px;
    position: relative;
    overflow: visible;
    background-image: url('../homeimage/product-garland.png'), url('../homeimage/product-bg.png');
    background-repeat: no-repeat, repeat;
    background-position: top center, top left;
    background-size: 100% auto, auto;
}

.product-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.product-label {
    color: #e67e22;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
}

.product-card-new {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-img-box-new {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 10px;
}

.product-img-box-new img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card-new:hover .product-img-box-new img {
    transform: scale(1.05);
}

.product-name-new {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    height: 25px;
    line-height: 1.3;
}

.product-price-new {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.product-btn-new {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ccc;
    background: #fff;
    color: #555;
    cursor: pointer;
}

.product-btn-new:hover {
    background: #e67e22;
    color: #fff;
    border-color: #e67e22;
}


.product-btn-new.primary-btn {
    background: #fff;
    color: #e67e22;
    border-color: #e67e22;
}

.product-btn-new.primary-btn:hover {
    background: #e67e22;
    color: #fff;
    border-color: #e67e22;
}

.product-btn-new i {
    margin-right: 5px;
}

.product-slider .owl-nav {
    display: block !important;
}

.product-slider .owl-nav button.owl-prev,
.product-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff !important;
    color: #333 !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer;
    z-index: 100;
    border: 1px solid #eee !important;
}

.product-slider .owl-nav button.owl-prev {
    left: -20px;
}

.product-slider .owl-nav button.owl-next {
    right: -20px;
}

.product-slider .owl-nav button.owl-prev:hover,
.product-slider .owl-nav button.owl-next:hover {
    color: #e67e22 !important;
}

@media (max-width: 768px) {
    .product-slider .owl-nav button.owl-prev {
        left: -10px;
        width: 30px;
        height: 30px;
        font-size: 16px !important;
    }

    .product-slider .owl-nav button.owl-next {
        right: -10px;
        width: 30px;
        height: 30px;
        font-size: 16px !important;
    }

    .product-section-wrapper {
        background-size: 100% auto, auto;
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .product-card-new {
        padding: 10px;
        border-radius: 10px;
    }

    .product-img-box-new {
        height: 140px;
        margin-bottom: 10px;
    }

    .product-name-new {
        font-size: 13px;
        margin-bottom: 2px;
        height: 34px;
        -webkit-line-clamp: 2;
    }

    .product-price-new {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .product-btn-new {
        padding: 6px 0;
        font-size: 11px;
    }

    .product-section-header {
        margin-bottom: 20px;
    }

    .product-title {
        font-size: 24px;
    }
}

.custom-product-page-wrapper {
    /* background-color: #f9f9f9; */
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.product-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.sidebar-decoration {
    position: absolute;
    left: -55px;
    /* Adjust based on image width and desired overlap */
    top: 50px;
    z-index: 1;
    width: 60px;
    /* Adjust based on image size */
}

.sidebar-decoration img {
    width: 100%;
    height: auto;
    display: block;
}

.sidebar-search .form-control {
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background: #f8f8f8;
    border: 1px solid #eee;
}

.sidebar-search .btn-search {
    background-color: #f76b1c;
    color: white;
    border-radius: 0 4px 4px 0;
    border: none;
    padding: 0 20px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    margin-top: 30px;
}

.sidebar-title:first-child {
    margin-top: 10px;
}

.custom-checkbox .custom-control-label::before {
    border-radius: 4px;
    border: 1px solid #ddd;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #f76b1c;
    border-color: #f76b1c;
}

.price-slider-container {
    margin-top: 10px;
}

.price-range-value {
    font-size: 14px;
    color: #555;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

/* Filter Top Bar */
.filter-top-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}

.form-select-custom {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 13px;
    background-color: #fff;
    color: #555;
    outline: none;
}

/* Product Card */
.custom-product-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-img-wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.product-title {
    font-size: 16px;
    color: #000;
    font-weight: 500;
    margin-bottom: 5px;
    text-decoration: none;
}

.product-title:hover {
    color: #f76b1c;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.btn-add-cart {
    width: 100%;
    padding: 10px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    background: #fff;
    color: #43484e !important;
    font-size: 14px;
    font-weight: 600 !important;
    transition: all 0.2s;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px !important;
}

.btn-add-cart.orange-btn {
    background: #f76b1c;
    color: #fff;
    border-color: #f76b1c;
    box-shadow: 0 2px 5px rgba(247, 107, 28, 0.3);
}

.btn-add-cart:hover {
    border-color: #f76b1c !important;
    color: white !important;
    background: #f76b1c;
}

.btn-add-cart.orange-btn:hover {
    background: #e05e16;
    color: #fff;
}

.pagination-container {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .product-sidebar {
        margin-bottom: 20px;
    }
}

.skeleton-loader .custom-product-card {
    border-color: #f0f0f0;
    box-shadow: none;
}

.skeleton-box {
    background: #f0f0f0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.sk-img {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    border-radius: 12px;
}

.sk-line {
    height: 12px;
    margin-bottom: 10px;
}

.sk-title {
    width: 80%;
    margin: 0 auto 10px;
    height: 16px;
}

.sk-price {
    width: 40%;
    margin: 0 auto 15px;
}

.sk-btn {
    height: 35px;
    width: 100%;
    border-radius: 6px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.pagination {
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.page-item .page-link {
    color: #555;
    background-color: #fff;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.page-item.active .page-link {
    background-color: #f76b1c;
    color: #fff;
    box-shadow: 0 4px 12px rgba(247, 107, 28, 0.4);
    transform: scale(1.05);
}

.page-item .page-link:hover {
    background-color: #f76b1c;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(247, 107, 28, 0.3);
}

.page-item.disabled .page-link {
    color: #ccc;
    background-color: #f9f9f9;
    box-shadow: none;
    cursor: not-allowed;
}

.pagination-container .small.text-muted {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
    border: 1px solid;
}

.price-input-container {
    position: relative;
    width: 100%;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.price-input-container .slider-progress {
    height: 100%;
    left: 0%;
    right: 0%;
    position: absolute;
    border-radius: 5px;
    background: #f76b1c;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -25px;
    left: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.range-input input::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #f76b1c;
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #fff;
    cursor: pointer;
}

.range-input input::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border: none;
    border-radius: 50%;
    background: #f76b1c;
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #fff;
    cursor: pointer;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #fff !important;
    content: ">" !important;
}

/* Category List Scroll */
.product-sidebar .category-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    /* Fancy Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #f76b1c #f1f1f1;
}

.product-sidebar .category-list::-webkit-scrollbar {
    width: 6px;
}

.product-sidebar .category-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.product-sidebar .category-list::-webkit-scrollbar-thumb {
    background: #f76b1c;
    border-radius: 10px;
}

.product-sidebar .category-list::-webkit-scrollbar-thumb:hover {
    background: #e05e16;
}

.btn-outline-danger {
    color: #f76b1c !important;
    border-color: #f76b1c !important;
}

.btn-outline-danger:hover {
    color: #fff !important;
    background-color: #f76b1c !important;
    border-color: #f76b1c !important;
}