/* Tabbed Products Carousel */
.tabbed-products-carousel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

/* Top */
.tabbed-products-carousel .top {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
/* Header */
.tabbed-products-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 48px;
    
    width: 100%;
    flex-wrap: wrap;
}

.tabbed-products-header p{
    color: var(--Primary, #000);
    font-family: var(--theme-font-family);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 21.6px */
    letter-spacing: -0.36px;
    text-transform: uppercase;
}

.tabbed-products-header h2 {
    color: var(--Primary, #000);

    /* H2 */
    font-family: var(--theme-font-family);
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 44px */
    letter-spacing: -1.32px;
    text-transform: uppercase;
    margin-bottom: 24px !important;
}
.tabbed-products-header h2 span {
    /* H1 */
    color: var(--theme-color-text);
    font-family: var(--theme-font-family);
    font-size: var(--theme-font-size-h1);
    font-weight: var(--theme-font-weight-h1);
    line-height: var(--theme-line-height-h1);
    letter-spacing: var(--theme-letter-spacing-h1);
}

.tabbed-products-header .view-all {
    color: var(--theme-color-text);
    font-family: var(--theme-font-family);
    font-size: var(--theme-font-size-action-sm);
    font-weight: var(--theme-font-weight-action-sm);
    line-height: var(--theme-line-height-action-sm);
}

.tabbed-products-header .view-all:hover {
    text-decoration: underline;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
}

.tab-button {
    display: flex;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.6s ease;
    white-space: nowrap;
    background-color: var(--e-global-color-accent);
    border: none;
    border-radius: 4px;
    font-family: var(--theme-font-family);
    color: var(--e-global-color-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: -0.28px;
    text-transform: uppercase;
}
.tab-button:hover {
    background: #000000A1;
    color: #FFF;
}
.tab-button.active {
    background: var(--e-global-color-primary);
    color: #FFF;
}
.tab-button:focus {
    background: #D1B28C;
}

/* Tab Content */
.tab-content-wrapper {
    position: relative;
    width: 100%;
}

.tab-content-wrapper .tab-content {
    display: none;
    width: 100%;
    padding: 0px;
    background-color: transparent !important;
}

.tab-content.active {
    display: block;
}

.products-container {
    width: 100%;
}

/* Swiper Container */
.tabbed-products-carousel .swiper-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.tabbed-products-carousel .swiper-slide {
    height: auto;
}
.tabbed-products-carousel .swiper-pagination {
    display: none !important;
}

/* Responsive Layout */
@media (max-width: 1024px) {
    /* Show pagination on mobile */
    .tabbed-products-carousel .swiper-pagination {
        display: block !important;
    }
    /* margin-right for tablet */
    .tabbed-products-carousel .top{
        padding-right: 40px;
    }
    .tabbed-products-header h2 {
        padding-right: 40px;
    }
}
@media (max-width: 768px) {
	
	.tabbed-products-carousel .tabbed-products-header p {
    display: none;
	}
	
    .tabbed-products-carousel .top {
        width: 100%;
    }
    .tabbed-products-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tab-navigation {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        -webkit-scroll-snap-type: mandatory;
        scroll-snap-type: mandatory;
        flex-wrap: nowrap;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .tabbed-products-carousel .top{
        padding-right: 0px;
    }
    .tab-button {
        flex-shrink: 0;
        padding: 10px 20px;
        font-size: 13px;
    }
    /* margin-right for tablet */
    .tab-button:last-child {
        margin-right: 16px;
    }
    .tabbed-products-header h2 {
        padding-right: 16px;
    }
    .tabbed-products-nav-buttons {
        display: none !important;
    }
}
