/**
 * Tabs Block - Frontend Styles
 *
 * @package Quinn
 */

.quinn-tabs {
    padding-top: var(--padding-top, 72px);
    padding-bottom: var(--padding-bottom, 72px);
    overflow: hidden;
}

.quinn-tabs__header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 24px;
}

.quinn-tabs__title {
    margin: 0;
    font-family: 'Roboto Condensed';
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    text-transform: uppercase;
    color: #060606;
}

.quinn-tabs__body {
    background-color: #fff;
    padding: 72px 0;
}

.quinn-tabs__content-wrapper {
    position: relative;
}

.quinn-tabs__btns {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 0;
}

.quinn-tabs__btn {
    padding: 28px 48px;
    color: #5D696F;
    font-size: 24px;
    line-height: 32px;
    margin: 0;
    background-color: transparent;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    border: none;
    transition: all .4s ease-in-out;
    text-align: center;
    width: 378px;
    max-width: 100%;
}

.quinn-tabs__btn:hover,
.quinn-tabs__btn--active {
    color: #060606;
    background-color: #fff;
}

.quinn-tabs__content .container {
    padding: 0;
}

.quinn-tabs__content {
    opacity: 0;
    pointer-events: none;
    height: 0;
    /* overflow: hidden; */
    transition: opacity 0.3s ease;
}

.quinn-tabs__content--active {
    opacity: 1;
    pointer-events: auto;
    height: auto;
}

@media (max-width: 1024px) {
    .quinn-tabs__btn {
        width: 268px;
    }
}

@media (max-width: 768px) {
    .quinn-tabs {
        padding-top: var(--padding-top-mobile, 48px);
        padding-bottom: var(--padding-bottom-mobile, 48px);
    }

    .quinn-tabs__body {
        padding: 48px 0;
    }

    .quinn-tabs__header-wrapper {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .quinn-tabs__title {
        font-size: 22px;
        line-height: 28px;
    }

    .quinn-tabs__btns {
        gap: 8px;
        width: 100%;
    }

    .quinn-tabs__btn {
        font-size: 18px;
        line-height: 24px;
        padding: 16px;
        width: 50%;
    }
}


/* products by family additional styles */
.quinn-tabs .quinn-products-by-family {
    background-color: transparent;
    overflow: unset;
}

.quinn-tabs .quinn-products-by-family__item .product-card-details-block {
    background-color: #F7F9FA;
}

.quinn-tabs .quinn-products-by-family__tabs-btn:not(.active) {
    background-color: #F7F9FA;
}
