.yp-filter .elementor-icon-list-items {
    margin: 0 !important;
    cursor: grab;
    gap: 0 !important;
    user-select: none;
    justify-content: start !important;
    -webkit-user-select: none;
    -ms-user-select: none;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none;
    /* Firefox */
}

.yp-filter .elementor-icon-list-items::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.yp-filter .elementor-icon-list-items.is-dragging {
    cursor: grabbing;
}

.yp-filter .elementor-inline-item {
    white-space: nowrap !important;
    padding: 0 !important;
    font-weight: 400;
    margin: 0 !important;
    width: 12.5%;
}

.yp-filter .elementor-inline-item.active a .elementor-icon-list-text {
    color: #0094ca !important;
}

.wrap-nav-year .elementor-widget-button {
    min-width: 43px;
}

.wrap-nav-year .yp-btn-prev.is-disabled,
.wrap-nav-year .yp-btn-next.is-disabled {
    opacity: .4;
    pointer-events: none;
}


.wrap-nav-year.active {
    position: fixed;
    top: 70px;
    z-index: 10;
}


body.admin-bar .wrap-nav-year.active {
    top: 102px;
}

/*for Mobile*/
@media (max-width: 767px) {

    body.admin-bar .wrap-nav-year.active,
    .wrap-nav-year.active {
        top: 70px;
    }

    .wrap-nav-year .elementor-widget-button {
        min-width: 35px;
    }

}

/*for tabletV*/
@media (min-width: 768px) and (max-width: 991px) {

    body.admin-bar .wrap-nav-year.active,
    .wrap-nav-year.active {
        top: 69px;
    }
}

/* Product Part 1 Styles */
.wpt-product-part1 {
    padding: 40px 0;
}

.wpt-part1-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color & Text Section */
.wpt-part1-picture-color {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 50px;
    gap: 10px;
}

.wpt-part1-picture-color img {
    max-width: 55px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0;
}

.wpt-color-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    margin: 0;
    text-align: left;
    color: #000;
}

/* Diagram & Features Section */
.wpt-part1-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.wpt-part1-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.wpt-diagram-section,
.wpt-features-section {
    display: flex;
    flex-direction: column;
}

.wpt-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    text-transform: uppercase;
}

.wpt-diagram-list,
.wpt-features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpt-diagram-item,
.wpt-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.wpt-diagram-letter,
.wpt-feature-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e8e8e8;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.wpt-diagram-name,
.wpt-feature-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    flex: 1;
}

.wpt-diagram-name {
    font-weight: 400;
    color: #000;
}

/* Main Picture Section */
.wpt-part1-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpt-main-picture {
    width: 100%;
    max-width: 500px;
}

.wpt-main-picture img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wpt-part1-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wpt-part1-left {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .wpt-product-part1 {
        padding: 30px 0;
    }

    .wpt-part1-container {
        padding: 0 15px;
    }

    .wpt-part1-picture-color {
        margin-bottom: 30px;
    }

    .wpt-part1-picture-color img {
        max-width: 50px;
    }

    .wpt-part1-left {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wpt-section-title {
        font-size: 16px;
    }

    .wpt-diagram-item,
    .wpt-feature-item {
        gap: 10px;
    }

    .wpt-diagram-name,
    .wpt-feature-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .wpt-product-part1 {
        padding: 20px 0;
    }

    .wpt-part1-container {
        padding: 0 10px;
    }

    .wpt-part1-picture-color img {
        max-width: 55px;
    }

    .wpt-color-text {
        font-size: 14px;
    }

    .wpt-section-title {
        font-size: 14px;
        margin: 0 0 15px 0;
    }

    .wpt-diagram-letter,
    .wpt-feature-letter {
        min-width: 28px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .wpt-diagram-name,
    .wpt-feature-description {
        font-size: 12px;
    }
}

/* Product Part 3 Styles */
.wpt-product-part3 {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.wpt-part3-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 50px;
}

.wpt-part3-content {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 40px;
    align-items: flex-start;
}

.wpt-part3-image-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wpt-part3-image-center p {
    color: #000;
    font-size: 14px;
}

.wpt-part3-image-center img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.wpt-part3-drawing {
    display: flex;
    flex-direction: column;
}

.wpt-part3-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    text-transform: uppercase;
}

.wpt-drawing-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.wpt-drawing-item {
    overflow: hidden;
    border-radius: 4px;
    background-color: #fff;
}

.wpt-drawing-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Fancybox Cursor */
.wpt-main-picture a,
.wpt-part3-image-center a,
.wpt-drawing-item a {
    cursor: zoom-in;
    display: block;
}

/* Responsive Design for Part 3 */
@media (max-width: 1024px) {
    .wpt-part3-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .wpt-product-part3 {
        padding: 30px 0;
    }

    .wpt-part3-container {
        padding: 0 15px;
    }

    .wpt-part3-title {
        font-size: 16px;
    }

    .wpt-drawing-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .wpt-product-part3 {
        padding: 20px 0;
    }

    .wpt-part3-container {
        padding: 0 10px;
    }

    .wpt-part3-title {
        font-size: 14px;
        margin: 0 0 15px 0;
    }

    .wpt-drawing-gallery {
        gap: 10px;
    }
}

/* Product Part 4 Styles */
.wpt-product-part4 {
    padding: 40px 0;
    background-color: #FFFFFF;
}

.wpt-part4-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wpt-part4-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 40px 0;
    text-align: center;
    text-transform: uppercase;
}

.wpt-components-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.wpt-component-card {
    background-color: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpt-component-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.wpt-component-image {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wpt-component-image img {
    width: 100%;
    height: auto;
    padding: 15px;
}

.wpt-components-grid .wpt-component-image img {
    background-color: #f3f3f3;
}

.wpt-component-info {
    padding: 14px 0;
    background-color: #FFF;
}

.wpt-component-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
    color: #1a1a1a;
    text-transform: uppercase;
}

.wpt-component-detail {
    font-size: 13px;
    margin: 8px 0;
    line-height: 1.5;
    color: #555;
}

.wpt-component-detail strong {
    font-weight: 400;
    color: #1a1a1a;
}

.wpt-component-detail span {
    color: #1a1a1a;
    font-weight: 500;
}

/* ===== Color Carousel Styles ===== */
.wpt-color-carousel-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.wpt-color-configurator-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 0;
}

.wpt-configurator-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 0;
    text-transform: uppercase;
}

.wpt-color-configurator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 10px;
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Left: Color Slider with Swiper */
.wpt-color-carousel-left {
    overflow: hidden;
    position: relative;

    width: 100%;
}

.wpt-color-carousel-left,
.wpt-color-carousel-right {
    min-height: 72px;
}

/* .swiper-container {
    position: relative;
    width: 100%;
} */

/* .swiper-wrapper {
    display: flex;
    gap: 15px;
} */

/* .swiper-slide {
    width: auto;
    height: auto;
    flex-shrink: 0;
} */

.wpt-color-item {
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.wpt-color-item img {
    height: 50px;
    object-fit: cover;
    width: 100%;
    -o-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.wpt-color-item:hover {
    border-color: #0094ca;
    /* transform: scale(1.05); */
}

.wpt-color-item.swiper-slide-thumb-active {
    border-color: #0094ca;
    /* box-shadow: 0 4px 12px rgba(0, 148, 202, 0.3); */
}

.wpt-color-item.swiper-slide-thumb-active img {
    height: 70px;
    object-fit: cover;
}

.wpt-color-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.wpt-color-configurator-section .swiper-button-prev,
.wpt-color-configurator-section .swiper-button-next {
    background-color: #03487a;
    border: 1px solid #ddd;
    width: 18px;
    height: 100%;
    max-height: 50px;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /* transition: all 0.3s ease; */
    top: 22px;
    bottom: auto;
    transform: none;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
}

.wpt-color-configurator-section .swiper-button-prev::after,
.wpt-color-configurator-section .swiper-button-next:after {
    font-size: 9px;
}


.wpt-color-configurator-section .swiper-button-prev {
    left: 0;
}

.wpt-color-configurator-section .swiper-button-next {
    right: 0;
}


/* Right: Color Details */
.wpt-color-carousel-right {
    display: flex;
    max-width: 160px;
    min-width: 160px;
    justify-content: center;
}

.wpt-color-details {
    text-align: center;
}

.wpt-color-details-label {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    text-align: left;
    line-height: 16px;
}

.wpt-color-details-code {
    margin-bottom: 0;
}

.wpt-color-details-code p {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    color: #333;
    text-align: left;
    line-height: 14px;
}

.wpt-color-code-value {
    display: inline-block;
    color: #0094ca;
    font-weight: 600;
    margin-left: 0;
    font-size: 11px !important;
}

.wpt-color-details-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 0;
}

.wpt-color-preview-image {
    width: 50px;
    min-width: 50px;
    height: 70px;
    object-fit: cover;
}

.wpt-color-configurator-section {
    margin: 10px 0;
}

.wrap-wpt-product-config {
    margin: 0 auto;
    max-width: 1180px;
}

.wpt-component-image-container {
    margin-bottom: 20px;
}

.wpt-download-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    padding: 0 15px;
}

.wpt-download-btn {
    background-color: #03487a;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wpt-download-btn:hover {
    color: #FFF;
    background-color: #0094ca;
    box-shadow: 0 4px 12px rgba(0, 148, 202, 0.2);
}

.wpt-download-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}


/* Responsive Design */
@media (max-width: 1024px) {
    body.page-id-26062 #main-content {
        margin: 0;
        padding: 0;
    }

    .wpt-component-image img {
        padding: 0;
    }

    .wpt-color-configurator-container {
        flex-direction: column;
        gap: 20px;
    }

    .wpt-color-carousel-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }



    .swiper-button-prev,
    .swiper-button-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .swiper-button-prev {
        left: -40px;
    }

    .swiper-button-next {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .wpt-color-carousel-section {
        padding: 30px 0;
    }

    .wpt-color-carousel-container {
        padding: 0 15px;
        gap: 30px;
    }



    .swiper-button-prev,
    .swiper-button-next {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .swiper-button-prev {
        left: -35px;
    }

    .swiper-button-next {
        right: -35px;
    }


}

@media (max-width: 480px) {
    .wpt-color-carousel-section {
        padding: 20px 0;
    }

    .wpt-color-carousel-container {
        padding: 0 10px;
    }



    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .swiper-button-prev {
        left: -30px;
    }

    .swiper-button-next {
        right: -30px;
    }

    .wpt-color-details-label {
        font-size: 8px;
        margin: 0;
        line-height: 12px;
    }

    .wpt-color-details-code p {
        font-size: 9px;
    }

    .wpt-color-details-preview {
        padding: 0;
    }

    .wpt-color-preview-image {
        max-width: 36px;
    }
}

/* Responsive Design for Part 4 */
@media (max-width: 1200px) {
    .wpt-components-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .wpt-components-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .wpt-product-part4 {
        padding: 30px 0;
    }

    .wpt-part4-container {
        padding: 0 15px;
    }

    .wpt-part4-title {
        font-size: 22px;
        margin: 0 0 30px 0;
    }

    .wpt-components-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* .wpt-component-image {
        height: 200px;
    } */

    .wpt-component-info {
        padding: 15px;
    }

    .wpt-component-title {
        font-size: 14px;
    }

    .wpt-component-detail {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .wpt-product-part4 {
        padding: 20px 0;
    }

    .wpt-part4-container {
        padding: 0 10px;
    }

    .wpt-part4-title {
        font-size: 18px;
        margin: 0 0 20px 0;
    }

    .wpt-components-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* .wpt-component-image {
        height: 180px;
    } */

    .wpt-component-info {
        padding: 12px;
    }

    .wpt-component-title {
        font-size: 13px;
        margin: 0 0 8px 0;
    }

    .wpt-component-detail {
        font-size: 11px;
        margin: 6px 0;
    }
}

/* Hide color preview until user selects a color */
.wpt-color-details-preview {
    display: none;
}

.wpt-color-details-preview.active {
    display: block;
}

/* Layered cover images for color configurator */
.wpt-component-image {
    position: relative;
}

.wpt-inner-colors,
.wpt-outer-colors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 10;
    opacity: 0;
}

.wpt-outer-colors {
    z-index: 11;
}

.wpt-inner-colors.fade-in,
.wpt-outer-colors.fade-in {
    /* Removed - using JavaScript animation instead */
}

.wpt-inner-colors.fade-out,
.wpt-outer-colors.fade-out {
    /* Removed - using JavaScript animation instead */
}

/* Color Details 2 Column Layout */
.wpt-color-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    align-items: flex-start;
}

.wpt-color-details-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.wpt-color-details-right {
    display: flex;
    justify-content: center;
    align-items: center;
}