/* ========================================
   TABS WRAPPER
   ======================================== */
.vflow-tabs-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* ========================================
   TABS NAVIGATION
   ======================================== */
.vflow-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.vflow-tabs-nav::-webkit-scrollbar {
    height: 6px;
}

.vflow-tabs-nav::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.vflow-tabs-nav::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.vflow-tabs-nav::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ========================================
   TAB BUTTONS
   ======================================== */
.vflow-tab {
    flex-shrink: 0;
    padding: 12px 24px;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    outline: none;
}

.vflow-tab:hover {
    background-color: #e8e8e8;
    color: #333;
    transform: translateY(-2px);
}

.vflow-tab.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}


/* ========================================
   CAROUSEL WRAPPER
   ======================================== */
.vflow-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0 60px;
}

/* ========================================
   EMPTY STATE
   ======================================== */
.vflow-carousel-empty {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.vflow-carousel-empty p {
    margin: 0;
    color: #999;
    font-size: 16px;
    font-weight: 500;
}

/* ========================================
   CAROUSEL CONTAINER
   ======================================== */
.vflow-carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 5px;
}

.vflow-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ========================================
   CAROUSEL ITEMS
   ======================================== */
.vflow-carousel-item {
    flex-shrink: 0;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vflow-carousel-item:hover {
    transform: translateY(-5px);
}

.vflow-carousel-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ========================================
   IMAGE WRAPPER
   ======================================== */
.vflow-carousel-image-wrapper {
    width: 100%;
}

/* ========================================
   TITLE STYLING
   ======================================== */
.vflow-carousel-title {
    margin: 0;
    padding: 15px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

/* ========================================
   IMAGE STYLING
   ======================================== */
.vflow-carousel-image {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.vflow-carousel-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.vflow-carousel-item:hover .vflow-carousel-image img {
    transform: scale(1.05);
}

/* ========================================
   DESCRIPTION STYLING
   ======================================== */
.vflow-carousel-description {
    padding: 15px;
    line-height: 1.6;
    flex-grow: 1;
    overflow: hidden;
}

/* ========================================
   NAVIGATION BUTTONS
   ======================================== */
.vflow-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.9;
    /* 	border: 1px solid red; */
    height: 100% !important;
}

.vflow-carousel-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.vflow-carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.vflow-carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.vflow-carousel-nav:disabled:hover {
    transform: translateY(-50%) scale(1);
}

.vflow-carousel-prev {
    left: 10px;
}

.vflow-carousel-next {
    right: 10px;
}

.vflow-carousel-nav span {
    display: block;
    line-height: 1;
    font-weight: bold;
}

.vflow-carousel-nav> :first-child {
    /* 	border: 1px solid black; */
    position: absolute;
    /* 	bottom: 20%; */
}

.vflow-carousel-nav.custom-arrow {
    background: transparent !important;
    border-radius: 0;
    /*     width: auto !important; */
    /*     height: auto !important; */
}

.vflow-carousel-nav.custom-arrow img {
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.vflow-carousel-nav.custom-arrow:hover img {
    transform: scale(1.1);
}

.vflow-carousel-nav.custom-arrow:active img {
    transform: scale(0.95);
}

.vflow-carousel-nav.custom-arrow:disabled img {
    opacity: 0.3;
}

/* ========================================
   DOTS NAVIGATION
   ======================================== */
.vflow-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 0;
}

.vflow-carousel-dot {
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.vflow-carousel-dot:hover {
    transform: scale(1.2);
}

.vflow-carousel-dot.active {
    transform: scale(1.3);
}


/* ========================================
   THUMBNAILS NAVIGATION
   ======================================== */
.vflow-carousel-thumbnails {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 0;
    flex-wrap: wrap;
    padding-top: 4px;
    padding-bottom: 4px;
}

.vflow-carousel-thumbnail {
    cursor: pointer;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    border-style: solid;
    overflow: hidden;
    position: relative;
    opacity: 0.6;
    padding: 0;
}

.vflow-carousel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vflow-carousel-thumbnail.active {
    opacity: 1;
}

.vflow-carousel-thumbnail:hover {
    transform: scale(1.1)
}


/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .vflow-carousel-wrapper {
        padding: 0 50px;
    }

    .vflow-tabs-nav {
        margin-bottom: 25px;
    }

    .vflow-tab {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .vflow-carousel-wrapper {
        padding: 0 40px;
    }

    .vflow-carousel-title {
        font-size: 20px;
        padding: 12px;
    }

    .vflow-carousel-description {
        padding: 12px;
        font-size: 14px;
    }

    .vflow-carousel-nav {
        width: 35px !important;
        height: 35px !important;
    }

    .vflow-tabs-nav {
        gap: 8px;
        margin-bottom: 20px;
        justify-content: start;
    }

    .vflow-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .vflow-carousel-wrapper {
        padding: 0 35px;
    }

    .vflow-carousel-title {
        font-size: 18px;
        padding: 10px;
    }

    .vflow-carousel-description {
        padding: 10px;
        font-size: 13px;
    }

    .vflow-carousel-nav {
        width: 30px !important;
        height: 30px !important;
    }

    .vflow-carousel-prev {
        left: 5px;
    }

    .vflow-carousel-next {
        right: 5px;
    }

    .vflow-tabs-nav {
        gap: 6px;
        margin-bottom: 15px;
    }

    .vflow-tab {
        padding: 8px 14px;
        font-size: 13px;
    }

    .vflow-carousel-empty {
        padding: 40px 15px;
    }

    .vflow-carousel-empty p {
        font-size: 14px;
    }
}

/* ========================================
   LOADING STATE
   ======================================== */
.vflow-carousel-wrapper.is-loading .vflow-carousel-track {
    opacity: 0.5;
    pointer-events: none;
}

/* ========================================
   SMOOTH TRANSITIONS
   ======================================== */
.vflow-carousel-track.is-transitioning {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ========================================
   RTL SUPPORT
   ======================================== */
[dir="rtl"] .vflow-carousel-track {
    direction: rtl;
}

[dir="rtl"] .vflow-carousel-prev {
    left: auto;
    right: 10px;
}

[dir="rtl"] .vflow-carousel-next {
    right: auto;
    left: 10px;
}

[dir="rtl"] .vflow-tabs-nav {
    direction: rtl;
}


.vflow-section-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

.vflow-section-button {
    padding: 12px 28px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}


.vflow-tabs-wrapper a {
    text-decoration: none !important;
}

.vflow-carousel-content a {
    color: inherit !important;
}