.tt-tabbed-category-container {
    margin-bottom: 50px;
    width: 100%;
}

.tt-main-category-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    margin-top: 40px;
    font-family: inherit;
}

.tt-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tt-tabs-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tt-tab-item {
    padding: 8px 24px;
    background-color: transparent;
    color: #333;
    border: 2px solid #5420d4; /* Matching the purple-ish color from the Order on Whatsapp button if possible, but let's use a nice premium dark color */
    border-color: #333;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    user-select: none;
}

.tt-tab-item:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.tt-tab-item.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.tt-tab-content-wrapper {
    width: 100%;
}

.tt-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tt-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ensure WooCommerce product grids look good inside our tabs */
.tt-tab-pane .woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the products if they are few */
}

/* =======================================================
   REVIEW SLIDER SECTION (Like Reference Image 2)
   ======================================================= */
.tt-review-slider-section {
    background: linear-gradient(145deg, #0d6efd 0%, #0b5ed7 100%);
    border-radius: 24px;
    padding: 60px 24px 50px;
    margin: 50px auto 40px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.25);
}

.tt-review-slider-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.tt-review-header {
    text-align: center;
    margin-bottom: 40px;
}

.tt-review-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.tt-review-subtitle {
    font-size: 16px;
    color: #e0edff !important;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.55;
    font-weight: 400;
}

/* Slider Track & Viewport */
.tt-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 35px;
}

.tt-slider-viewport {
    overflow: hidden;
    width: 100%;
    padding: 15px 2px 20px;
}

.tt-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    width: 100%;
}

/* Review Slide & Card */
.tt-review-slide {
    flex: 0 0 calc(33.333% - 16px);
    margin-right: 24px;
    box-sizing: border-box;
    display: flex;
}

.tt-review-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px 22px;
    box-shadow: 0 10px 30px rgba(0, 20, 60, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    color: #1e293b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tt-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 20, 60, 0.18);
}

/* WhatsApp Review Image inside Card */
.tt-card-image-wrap {
    width: 100%;
    height: 175px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tt-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #ffffff;
}

/* Stars */
.tt-card-stars {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 8px;
}

.tt-star {
    color: #f59e0b;
    font-size: 17px;
    line-height: 1;
}

/* Quote Mark */
.tt-card-quote-mark {
    font-size: 38px;
    line-height: 1;
    color: #bfdbfe;
    font-family: Georgia, serif;
    margin-bottom: -10px;
    user-select: none;
}

/* Quote Text */
.tt-card-quote-text {
    font-style: italic;
    font-size: 14.5px;
    line-height: 1.55;
    color: #475569 !important;
    margin: 0 0 16px 0 !important;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Verified Customer Badge */
.tt-card-verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 5px 14px;
    border-radius: 20px;
    margin-top: auto;
}

/* Navigation Buttons (White circles with blue chevron) */
.tt-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    transition: all 0.25s ease;
    z-index: 10;
    flex-shrink: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.tt-slider-btn:hover {
    background: #f0f7ff;
    color: #0b5ed7;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.tt-slider-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.tt-prev-btn {
    left: -18px;
}

.tt-next-btn {
    right: -18px;
}

/* Dots Pagination */
.tt-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.tt-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0;
    outline: none;
}

.tt-slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.tt-slider-dot.active {
    width: 26px;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .tt-review-slide {
        flex: 0 0 calc(50% - 12px);
        margin-right: 24px;
    }
    .tt-review-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .tt-review-slider-section {
        padding: 40px 14px 35px;
        border-radius: 16px;
        margin: 35px auto 25px;
    }
    .tt-slider-wrapper {
        padding: 0 10px;
    }
    .tt-review-slide {
        flex: 0 0 100%;
        margin-right: 16px;
    }
    .tt-prev-btn {
        left: -4px;
    }
    .tt-next-btn {
        right: -4px;
    }
    .tt-slider-btn {
        width: 38px;
        height: 38px;
    }
    .tt-review-title {
        font-size: 22px;
    }
    .tt-review-subtitle {
        font-size: 14.5px;
    }
    .tt-card-quote-text {
        min-height: auto;
    }
}
