.product-slider-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem;
    position: relative !important;
    margin: 50px auto;
    padding: 20px 30px;
    overflow: visible;
    width: 100% !important;
    padding-top: 30px;
    z-index: 1;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Main slider container - left side */
.product-slider {
    width: 100% !important;
    position: relative !important;
    -ms-zoom: 1.1;
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    margin-top: -70px;
    margin-left: -8%;
    z-index: 40;
    pointer-events: auto;
    z-index: 0;
    grid-column: 1 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Prevent image saving */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Mobile: Reset all transforms for main slider */
@media screen and (max-width: 768px) {
    .product-slider,
    .product-slider *,
    .product-slider.owl-carousel,
    .product-slider.owl-carousel * {
        transform: none !important;
        -ms-zoom: 1 !important;
        -moz-transform: scale(1) !important;
        -o-transform: scale(1) !important;
        -webkit-transform: scale(1) !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
    }
}

/* Tab content wrapper - right side */
.tab-content-wrapper {
    grid-column: 2 !important;
    position: relative !important;
    height: fit-content;
    top: 20px;
    z-index: 200;
    background: #F4F7F8;
    min-height: 400px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-left: 2px solid #171796;
    transform: translateY(-50px);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.tab-content-wrapper.active {
    transform: translateY(0);
    opacity: 1;
}

.product-slider {
    width: 100%;
    position: relative;
    -ms-zoom: 1.1;
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    margin-top: -70px;
    margin-left: -8%;
    z-index: 40;
    pointer-events: auto;
    z-index: 0;
}

/* Owl Carousel specific styles for main slider */
.product-slider.owl-carousel {
    display: block !important;
    width: 100% !important;
    grid-column: 1 !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-slider.owl-carousel .owl-stage {
    display: flex !important;
    width: 100% !important;
}

.product-slider.owl-carousel .owl-item {
    width: 100% !important;
    flex-shrink: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-slider.owl-carousel .owl-item.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-slider.owl-carousel .item {
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.slide {
    position: relative;
}

.slide-image {
    position: relative;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Prevent image saving */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Watermark overlay to prevent clean image saving */
.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 5;
    opacity: 0.3;
}

.slide-image img {
    width: 100%;
    height: auto;
    /* Prevent image saving */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.slide-image .active-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    pointer-events: none;
}

.slide-image .active-image.visible {
    opacity: 1;
    z-index: 10;
}

.hotspot {
    position: absolute;
    width: 22px;
    height: 22px;
    cursor: pointer;
    z-index: 35;
    padding: 2px;
    background: white;
    border-radius: 50%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.hotspot-dot {
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #171796;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    color: #171796;
    font-weight: 600;
}

.hotspot-dot::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #171796;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hotspot-content {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    width: 200px;
    display: none;
    z-index: 3;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hotspot:hover .hotspot-content {
    display: block;
}

.hotspot-content h3 {
    margin: 0 0 10px 0;
    color: #171796;
    font-size: 16px;
}

.hotspot-content p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.plus-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #171796;
    transition: all 0.3s ease;
    position: relative;
    z-index: 40;
    padding-bottom: 2px;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
	font-weight: bold;
	font-size: 16px;
 	color: #171796;
}

.plus-icon:hover {
    background: #171796;
    color: #fff;
}

.tab-content-wrapper {
    height: fit-content;
    top: 20px;
    z-index: 200;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: top left;
    border-radius: 0;
    z-index: 100;
    min-height: 300px;
    padding: 30px 15px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.tab-content.active {
    display: block;
    animation: bottom 0.25s ease-out 0.2s forwards;
    background: #F4F7F8;
}

@keyframes slideFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.tab-content.active .tab-content a.btn--primary {

    margin: 15px 0 0 !important;
}


@media screen and (max-width: 767px) {
    .tab-content.active {
          box-shadow:  0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
          background: #fff !important;
          position: relative;
          border: 0 !important;
    }
    
    /* Close button for mobile */
    .tab-content-close-btn {
        position: absolute;
        top: 0px;
        right: 15px;
          border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
           z-index: 10;
        color: #202020;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        background: none;
    }
    
    .tab-content-close-btn:hover {
        color: #0f0f6b;
        background: none;
    }
    
   
    
    .tab-content-close-btn::before {
        content: '×';
        line-height: 1;
    }
    
    /* Mobile grid adjustments for inline images */
    .tab-content.active .tab-content-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem;
    }
    
    .tab-content-text {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100%;
        text-align: left;
    }
    
    .tab-content-image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .inline-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Mobile-specific tab content animation - bottom to top */
    .tab-content {
        transform: translateY(-100px);
        transform-origin: bottom center;
    }
}

@keyframes bottomMobile {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content a.btn--primary {margin: 15px 0}

/* Mobile-specific animation override */
@media screen and (max-width: 767px) {
    .tab-content.active {
        animation: slideFromTop 0.3s ease-out forwards !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

@keyframes bottom {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* SVG Line */
.connection-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 115;
}

.line {
    stroke: #171796;
    stroke-width: 1px;
    fill: none;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    filter: none;
}

.line.animate {
    animation: drawLine 1s ease forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.x-marker_marker {
    background: none;
    border: none;
    padding: 0;
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.x-marker_marker-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid #171796;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.x-marker_marker-inner::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #171796;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.x-marker_marker:hover .x-marker_marker-inner::after {
    transform: scale(1);
}

.x-marker_popover {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    width: 250px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
}

.x-marker_marker[aria-expanded="true"] + .x-marker_popover {
    opacity: 1;
    visibility: visible;
}

.x-marker_marker-title {
    display: none;
}

.ion-ios-pin {
    display: none;
}

/* Slide title and description */
.slide-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #333;
}

.slide-description {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #666;
}

/* Force fade transitions for Owl Carousel - 1 second */
.product-slider.owl-carousel .owl-item {
    opacity: 0 !important;
    transition: opacity 1s ease-in-out !important;
    transform: none !important;
    position: relative !important;
    visibility: visible !important;
}

.product-slider.owl-carousel .owl-item.active {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 1s ease-in-out !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-slider.owl-carousel .owl-item:not(.active) {
    opacity: 0 !important;
    transform: none !important;
    transition: opacity 1s ease-in-out !important;
    visibility: visible !important;
}

/* Override any inline styles that Owl Carousel might add */
.product-slider.owl-carousel .owl-item[style*="opacity"] {
    transition: opacity 1s ease-in-out !important;
}

.product-slider.owl-carousel .owl-item.active[style*="opacity"] {
    transition: opacity 1s ease-in-out !important;
}

/* Force all slide content to fade with the same timing */
.product-slider.owl-carousel .owl-item .slide-image,
.product-slider.owl-carousel .owl-item .slide-image img,
.product-slider.owl-carousel .owl-item .slide,
.product-slider.owl-carousel .owl-item .slide * {
    transition: opacity 1s ease-in-out !important;
}

/* Ensure slide images fade smoothly */
.slide-image {
    position: relative;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: opacity 1s ease-in-out !important;
}

.slide-image img {
    width: 100%;
    height: auto;
    transition: opacity 1s ease-in-out !important;
    /* Prevent image saving */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Force transitions on all slide elements */
.product-slider .slide,
.product-slider .slide * {
    transition: opacity 1s ease-in-out !important;
}

/* Owl Carousel fade animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.owl-carousel .owl-item.fadeIn {
    animation: fadeIn 1s ease-in-out;
}

.owl-carousel .owl-item.fadeOut {
    animation: fadeOut 1s ease-in-out;
}

/* Disable Owl Carousel's default slide animations */
.product-slider.owl-carousel .owl-stage {
    transition: none !important;
}

.product-slider.owl-carousel .owl-stage-outer {
    transition: none !important;
}

/* Force all carousel items to use fade transitions */
.product-slider.owl-carousel .owl-item,
.product-slider.owl-carousel .owl-item * {
    transition: opacity 1s ease-in-out !important;
    transform: none !important;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .product-slider-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        padding: 15px;
    }

    .product-slider {
        width: 100% !important;
        grid-column: 1 !important;
        margin: 0 !important;
        transform: none !important;
        -ms-zoom: 1 !important;
        -moz-transform: scale(1) !important;
        -o-transform: scale(1) !important;
        -webkit-transform: scale(1) !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }

    .product-slider.owl-carousel {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        -ms-zoom: 1 !important;
        -moz-transform: scale(1) !important;
        -o-transform: scale(1) !important;
        -webkit-transform: scale(1) !important;
    }

    .product-slider.owl-carousel .owl-item {
        display: block !important;
        visibility: visible !important;
        opacity: 0 !important;
        width: 100% !important;
        transform: none !important;
        transition: opacity 1s ease-in-out;
    }

    .product-slider.owl-carousel .owl-item.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        transition: opacity 1s ease-in-out;
    }

    .product-slider.owl-carousel .item {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        transform: none !important;
    }

    .slide-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        margin-top: 0 !important;
    }

    .slide-image img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    /* Prevent image saving */
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    pointer-events: none !important;
}

    .tab-content-wrapper {
        width: 100% !important;
        grid-column: 1 !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        min-height: 100% !important;
        border-left: none !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(-50px);
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
        background: none ;
        z-index: 100 !important;
        align-items: center !important;
        justify-content: center !important;
    }

        .tab-content-wrapper.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        position: absolute !important;
        margin-left: -5px;
        z-index: 99999 !important;
    }

    .tab-content.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* Remove these navigation styles */
.product-nav,
.product-nav-btn,
.product-nav-btn::after,
.product-nav-btn.active,
.product-nav-btn.active::after {
    /* Remove all these styles */
}

/* Product names styles - Infinite Swiper Slider */
.product-names-container {
    width: 50%;
    margin-bottom: 30px;
    text-align: right;
    position: absolute;
    top: -50px;
    right: 0;
    z-index: 40;
    overflow: hidden;
    padding-right: 30px;
}

.product-names-carousel {
    width: 100%;
    height: auto;
}

/* Hide debugging navigation arrows */
.product-names-prev,
.product-names-next {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.product-names-prev {
    left: -40px;
}

.product-names-next {
    right: -40px;
}

.product-names-prev::after,
.product-names-next::after {
    color: white !important;
    font-size: 14px !important;
}

.product-names-carousel .swiper-wrapper {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    grid-template-areas: "left center right";
}

/* Ensure active item is always in center column */
.product-names-carousel .swiper-slide-active {
    grid-area: center;
    opacity: 1;
    z-index: 2;
}

/* Position non-active items */
.product-names-carousel .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.5;
}

/* Force initial transform to 0 */
.product-names-carousel .swiper-wrapper[style*="transform"] {
    transform: translate3d(0px, 0px, 0px) !important;
}

.product-names-carousel .swiper-slide {
    width: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    min-width: fit-content;
    padding: 0px;
    transition: all 0.4s ease;
}

.product-names-carousel .swiper-slide-active {
    opacity: 1;
    z-index: 2;
}

.product-names-carousel .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.7; /* Keep slides visible for smooth sliding */
}

/* Override any inline styles that Swiper adds */
.product-names-carousel .swiper-slide[style*="width"] {
    width: auto !important;
}

.product-names-carousel .swiper-slide {
    width: auto !important;
}

/* Prevent Swiper from adding margins */
.product-names-carousel .swiper-slide {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin: 0 !important;
}

/* Override any inline styles that Swiper adds */
.product-names-carousel .swiper-slide[style*="margin-right"] {
    margin-right: 0 !important;
}

.product-names-carousel .swiper-slide[style*="margin-left"] {
    margin-left: 0 !important;
}



.product-name-item {
    display: inline-block; /* let width follow text */
    text-align: center;
    text-indent: 0px;
    height: unset;
    width: unset;
    color: #171796;
    opacity: 0.7;
    font-size: 33px;
    background-color: transparent;
    line-height: 50px;
    font-family: 'DINCond';
    border: none;
    padding-right:40px;
    padding-left: 10px;
    transition: 0.3s;
    white-space: nowrap; /* keep full name in one line */
    cursor: pointer; /* show hand cursor to indicate clickable */
    min-width: fit-content;
    margin: 0;
}

.product-name-item:hover {
 
}

.product-name-item.active {
  
}

/* Target the Owl Carousel active center item */
.owl-item.active.center .product-name-item {
    color: #171796;
    font-size: 44px;
    line-height: 50px;
    font-family: 'DINCond';
    border: none;
    transition: 0.3s;
    opacity: 1;
    z-index: 9999;
    position: relative;
    border-radius: 0px;
    margin-top: -3px;
    transform: none;
    font-weight: normal;
}

.product-name-item.second-active {
   
}

/* Owl Carousel styles - allow items to be visible */
.owl-carousel .owl-item {
    /* display: none !important; - REMOVED to allow carousel to work */
}

/* Owl Carousel styles - removed display:none rules to allow carousel to work */
.owl-carousel .owl-stage {
    /* display: none !important; - REMOVED to allow carousel to work */
}

.owl-carousel .owl-item .product-name-item {
    /* display: none !important; - REMOVED to allow carousel to work */
}

/* Ensure Owl Carousel is visible and functional */
.product-names-carousel.owl-carousel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding-left: 10px;
}

.product-names-carousel.owl-carousel .owl-stage {
    display: flex !important;
    align-items: center;
}

.product-names-carousel.owl-carousel .owl-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
}



/* Arrow Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    background-color: #171796;
    width: 32px;
    height: 32px;
    color: #fff;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.2s ease;
}

/* Hide default Owl Carousel navigation buttons */
.product-slider .owl-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.product-slider .owl-next,
.product-slider .owl-prev {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Also hide any owl navigation globally */
.owl-nav {
    display: none !important;
}

.owl-next,
.owl-prev {
    display: none !important;
}

/* Hide navigation arrows for product names slider specifically */
.product-names-carousel .owl-nav {
    display: none !important;
}

.product-names-carousel .owl-next,
.product-names-carousel .owl-prev {
    display: none !important;
}

/* Hide navigation buttons for single product */
.single-product .swiper-button-next,
.single-product .swiper-button-prev {
    display: none !important;
}

/* Single product styling */
.single-product {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.single-product .product-name-item {
    margin: 0 auto;
    text-align: center;
    display: block;
    width: auto;
    min-width: fit-content;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 0.8;
}

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

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

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 10px;
    color: #fff;
    font-weight: 800;
}

/* Mobile view styles */
@media screen and (max-width: 767px) {
    .product-names-container {
        position: relative;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .product-names-carousel {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .owl-carousel .owl-item {
        /* display: none; - REMOVED to allow carousel to work */
        width: 100% !important;
        margin-right: 0 !important;
    }

    .product-names-carousel .owl-item.active {
         display: none !important;
        justify-content: center;
        align-items: center;
        width: 100%;
  
    }
    .product-names-carousel .owl-item.active.center { 
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
 
   }



    
    

    /* Hide all non-active owl items */
    .owl-carousel .owl-item:not(.active) {
        display: none !important;
    }

    /* Ensure only active item is visible */
    .owl-carousel .owl-item.active .product-name-item:not(.active) {
        display: block;
    }
}

/* Tablet view styles */
@media screen and (max-width: 1024px) {
    .product-slider-wrapper {
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        gap: 1rem;
        padding: 15px;
       
    }

    .product-slider {
        margin: 0 auto;
        transform: none;
        -ms-zoom: 1;
        -moz-transform: scale(1);
        -o-transform: scale(1); 
        -webkit-transform: scale(1);
    }

    .product-names-container {
        display: flex;
        justify-content: center;
        width: 100%;
        order: 2;
    }
    .product-names-container {

        min-width: 100%;
       position: absolute;
    }

    .product-names-carousel {
        justify-content: center;
        text-align: center;
    }
}




/* Style the second active item with red font color */
.owl-carousel .owl-item.second-active .product-name-item {
    font-size: 40px;
    font-weight: 500;
    color: #171796;
    opacity: 1;
}

/* Responsive font sizes for product names */
@media screen and (max-width: 1024px) {
    .owl-carousel .owl-item.second-active .product-name-item {
        font-size: 32px;
    }
}

@media screen and (max-width: 768px) {
    .owl-carousel .owl-item.second-active .product-name-item {
        font-size: 28px;
    }
    .product-slider-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .owl-carousel .owl-item.second-active .product-name-item {
        font-size: 24px;
    }
}

/* Mobile: Hide all product names except active one */
@media screen and (max-width: 767px) {
    /* Hide all product name items by default */
   
    .product-names-carousel .swiper-slide-active {
        opacity: 1;
        display: block;
      }
     
      .product-names-container {
       
        padding-right: 0;
      }
     
    
      .product-names-carousel .swiper-slide:not(.swiper-slide-active) .product-name-item {
        opacity: 0.5;
        font-size: 0 !important;
        padding-right: 0 !important;
   
      }
      .product-names-carousel .swiper-slide[style*="width"] {
        margin-right: 0 !important;
      }
      .slide-image {
        margin-top: 50px;
      }
      .product-slider-wrapper .swiper-button-prev {
        left: -20px !important;
      }
      .product-slider-wrapper .swiper-button-next {
        right: -20px !important;
      }
    
    
    .product-names-carousel .swiper-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: nowrap;
            width: 100% !important;
            transform: none !important;
    }
    
    /* Mobile single product styling */
    .single-product .product-name-item {
        font-size: 18px;
        background: #f2f2f2;
        color: #333;
        display: block !important;
        margin: 0 auto;
        text-align: center;
        width: auto;
        padding: 10px 20px !important;
        margin-right: 0 !important;
    }
 
}


.tab-content-wrapper h2, .tab-content-wrapper h3, .tab-content-wrapper h4 {
    padding-bottom: var(--space-xs);
    line-height: normal !important;
}

/* Tab Content Grid Layout */
.tab-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: start;
    width: 100%;
}

.tab-content-text {
    grid-column: 1;
}

.tab-content-image {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tab-content-text {
    grid-column: 1;
}

.tab-content-image {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inline-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .inline-image {
        max-width: 60%;
        width: 60%;
    }
    
    /* Mobile tab content grid - stack image on top */
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tab-content-text {
        grid-column: 1;
        grid-row: 2;
    }
    
    .tab-content-image {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .inline-image {
        max-width: 100%;
    }
}



/* Tablet Layout */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .tab-content-grid {
        grid-template-columns: 2fr 1fr;
        gap: 1.5rem;
    }
}


