.page-header.breadcrumb-wrap {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ececec;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: #7E7E7E;
    text-decoration: none;
}

.breadcrumb span::before {
    content: ">";
    color: #7E7E7E;
    margin: 0 5px;
}

.detail-gallery {
    position: relative;
    display: flex !important;
    gap: 20px;
    align-items: stretch;
}

.thumbnail-slider-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 110px !important;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    height: auto;
}

.thumbnail-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #E8E8E8;
    background: #ffffff;
    color: #7E7E7E;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.thumbnail-arrow:hover {
    background: #FF6B2C;
    color: white;
    border-color: #FF6B2C;
}

.thumbnail-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f5f5f5;
}

.thumbnail-arrow:disabled:hover {
    background: #f5f5f5;
    color: #7E7E7E;
    border-color: #E8E8E8;
}

.slider-nav-thumbnails {
    display: block !important;
    width: 110px !important;
    height: 354px !important;
    overflow: hidden !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

#thumbTrack {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    transition: transform 0.4s ease !important;
    will-change: transform;
}

.product-image-slider {
    flex: 1;
    max-width: 100%;
    /* min-height: 600px; */
}

.product-image-slider figure {
    margin: 0;
    background: #f8f8f8;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #ececec;
    height: 100%;
    /* min-height: 600px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    /* max-height: 700px; */
    border-radius: 15px;
    object-fit: contain;
    background: #ffffff;
    padding: 0px;
}

.thumbnail-item {
    width: 110px !important;
    height: 110px !important;
    min-height: 110px !important;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #E8E8E8;
    transition: all 0.3s ease;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0 !important;
}

.thumbnail-item.active {
    border-color: #FF6B2C !important;
    box-shadow: 0 0 0 1px #FF6B2C;
}

.thumbnail-item:hover {
    border-color: #FF6B2C;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}
}

.detail-info {
    padding-right: 30px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #E8F5E9;
    padding: 8px 15px;
    border-radius: 20px;
    color: #4CAF50;
    font-size: 14px;
}

.location-badge i {
    font-size: 16px;
}

.title-detail {
    font-size: 32px;
    font-weight: 700;
    color: #253D4E;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-detail-tags {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vendor-tag {
    background-color: #FFE5D9;
    color: #FF6B2C;
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price .current-price {
    font-size: 36px;
    font-weight: 700;
    color: #FF6B2C;
}

.product-rate {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 15px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23E0E0E0"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>') repeat-x;
    background-size: 15px;
}

.product-rating {
    position: absolute;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFC107"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>') repeat-x;
    background-size: 15px;
}

.short-desc p {
    color: #7E7E7E;
    line-height: 1.8;
    font-size: 15px;
}

.detail-extralink {
    display: flex;
    gap: 15px;
    align-items: center;
}

.detail-qty {
    display: flex;
    align-items: center;
    border: 2px solid #BCE3C9;
    border-radius: 5px;
    overflow: hidden;
    padding: 11px 0px 11px 0px;
}

.qty-down, .qty-up {
    width: 30px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #253D4E;
    text-decoration: none;
    transition: all 0.3s;
}

.qty-down:hover, .qty-up:hover {
    background-color: #f7f7f7;
}

.detail-qty > a.qty-down {
    right: 0;
}

.detail-qty > a.qty-up {
    left: 0;
}

.qty-val {
    height: 45px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

.button-add-to-cart {
    background-color: #FF6B2C;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    white-space: nowrap;
}

.button-add-to-cart:hover {
    background-color: #E55A1F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 44, 0.3);
}

.button-add-to-cart i {
    font-size: 18px;
}

.detail-extralink .detail-qty {
    margin: 0;
}


@media (max-width: 768px) {
    .detail-gallery {
        flex-direction: column;
    }

    .thumbnail-slider-wrapper {
        width: 100%;
        flex-direction: row !important;
        gap: 10px;
    }

    .thumbnail-arrow {
        order: 0;
    }

    .arrow-up {
        transform: rotate(-90deg);
    }

    .arrow-down {
        transform: rotate(-90deg);
        order: 2;
    }

    .slider-nav-thumbnails {
        flex-direction: row !important;
        width: calc(100% - 100px) !important;
        overflow-x: hidden;
        overflow-y: hidden;
        max-height: 100px;
        order: 1;
        gap: 10px;
        padding: 0;
    }

    .product-image-slider {
        max-width: 100%;
        order: -1;
    }

    .main-product-img {
        max-height: 350px;
        padding: 15px;
    }

    .thumbnail-item {
        width: 90px !important;
        height: 90px !important;
        flex-shrink: 0;
    }

    .detail-info {
        padding-right: 0;
        margin-top: 30px;
    }

    .title-detail {
        font-size: 24px;
    }

    .product-price .current-price {
        font-size: 28px;
    }

    .detail-extralink {
        flex-direction: column;
        align-items: stretch;
    }

    .button-add-to-cart {
        justify-content: center;
    }
}
