/* =========================================================================
   VIVA_CATALOG_PREMIUM_V1

   Catálogo premium Viva Fitness.
   Escopo exclusivo por .vf-catalog-main.

   Preserva:
   - ordenação
   - filtros
   - categorias
   - cor
   - tamanho
   - preço
   - compra rápida
   - galeria dos cards
   - paginação
   ========================================================================= */


/* =========================================================================
   BASE
   ========================================================================= */

.vf-catalog-main {
    width: min(92vw, 1480px) !important;

    padding:
        0
        0
        76px !important;

    background: #fbf8f6;
    color: #303837;
}


/* =========================================================================
   CABEÇALHO DO CATÁLOGO
   ========================================================================= */

.vf-catalog-main .vf-catalog-head {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;

    gap: 36px !important;

    margin:
        0
        0
        38px !important;

    padding:
        44px
        0
        28px !important;

    border-bottom:
        1px solid
        rgba(48, 56, 55, .10);
}

.vf-catalog-main .vf-breadcrumb {
    margin:
        0
        0
        13px !important;

    color: #7c8985 !important;

    font-size: 11px !important;
    line-height: 1.5;

    letter-spacing: .03em;
}

.vf-catalog-main .vf-breadcrumb a {
    color: #59746e !important;
    text-decoration: none !important;
}

.vf-catalog-main .vf-catalog-head h1 {
    margin: 0 !important;

    color: #303837 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: clamp(34px, 3vw, 46px) !important;
    font-weight: 400 !important;

    line-height: 1 !important;
    letter-spacing: -.04em;
}

.vf-catalog-main .vf-catalog-head h1 small {
    margin-left: 7px;

    color: #83908c !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px !important;
    font-weight: 500 !important;

    letter-spacing: 0;
}


/* =========================================================================
   ORDENAR
   ========================================================================= */

.vf-catalog-main .vf-sort {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;

    gap: 7px !important;

    flex: 0 0 220px;

    color: #5b6965 !important;

    font-size: 9px !important;
    font-weight: 700;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.vf-catalog-main .vf-sort select {
    width: 100%;
    min-width: 0 !important;
    height: 44px;

    padding:
        0
        13px !important;

    border:
        1px solid
        rgba(48, 56, 55, .17) !important;

    border-radius: 7px !important;

    background: #ffffff !important;
    color: #3f4c48 !important;

    font-size: 12px !important;
    font-weight: 500 !important;

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.vf-catalog-main .vf-sort select:focus {
    border-color: #6f948c !important;

    box-shadow:
        0
        0
        0
        3px
        rgba(111, 148, 140, .10);
}


/* =========================================================================
   CORPO
   ========================================================================= */

.vf-catalog-main .vf-catalog-body {
    display: grid !important;

    grid-template-columns:
        235px
        minmax(0, 1fr) !important;

    gap: 38px !important;

    padding-bottom: 0 !important;
}

.vf-catalog-main .vf-catalog-body > section {
    min-width: 0;
}


/* =========================================================================
   FILTROS DESKTOP
   ========================================================================= */

.vf-catalog-main .vf-filters {
    align-self: start;

    padding:
        22px
        19px
        20px !important;

    border:
        1px solid
        rgba(48, 56, 55, .10) !important;

    border-radius: 10px !important;

    background: #ffffff;

    box-shadow:
        0
        5px
        18px
        rgba(48, 56, 55, .035);
}

.vf-catalog-main .vf-filters h2 {
    margin:
        0
        0
        18px !important;

    color: #303837 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px !important;
    font-weight: 400 !important;

    letter-spacing: -.025em;
}

.vf-catalog-main .vf-filters fieldset {
    margin:
        0
        0
        20px !important;

    padding:
        17px
        0
        0 !important;

    border: 0 !important;

    border-top:
        1px solid
        rgba(48, 56, 55, .10) !important;
}

.vf-catalog-main .vf-filters legend {
    padding: 0 !important;

    color: #46544f !important;

    font-size: 10px !important;
    font-weight: 700 !important;

    letter-spacing: .10em;
    text-transform: uppercase;
}

.vf-catalog-main .vf-filters label,
.vf-catalog-main .vf-filters a {
    display: flex !important;
    align-items: center;

    gap: 8px !important;

    margin:
        9px
        0 !important;

    color: #596762 !important;

    font-size: 12px !important;
    line-height: 1.35;

    text-decoration: none !important;
}

.vf-catalog-main .vf-filters a:hover {
    color: #365650 !important;
}

.vf-catalog-main .vf-filters input[type="radio"] {
    appearance: none;

    width: 17px !important;
    height: 17px !important;

    flex:
        0
        0
        17px;

    margin: 0 !important;

    border:
        1px solid
        rgba(54, 86, 80, .55) !important;

    border-radius: 50% !important;

    background: #ffffff;
}

.vf-catalog-main .vf-filters input[type="radio"]:checked {
    background: #365650 !important;

    box-shadow:
        inset
        0
        0
        0
        4px
        #ffffff !important;
}


/* =========================================================================
   PREÇO
   ========================================================================= */

.vf-catalog-main .vf-price-range {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 7px !important;
}

.vf-catalog-main .vf-price-range input {
    width: 100%;
    min-width: 0;

    height: 38px;

    padding:
        0
        8px;

    border:
        1px solid
        rgba(48, 56, 55, .16);

    border-radius: 6px;

    background: #ffffff;
    color: #475550;

    font-size: 11px;

    outline: none;
}

.vf-catalog-main .vf-price-range input:focus {
    border-color: #6f948c;

    box-shadow:
        0
        0
        0
        3px
        rgba(111, 148, 140, .09);
}


/* =========================================================================
   APLICAR FILTROS
   ========================================================================= */

.vf-catalog-main .vf-filters button {
    width: 100%;

    min-height: 41px;

    border: 0 !important;
    border-radius: 6px !important;

    background: #365650 !important;
    color: #ffffff !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    letter-spacing: .10em;
    text-transform: uppercase;

    cursor: pointer;
}


/* =========================================================================
   BOTÃO MOBILE DE FILTROS
   ========================================================================= */

.vf-catalog-main .vf-mobile-filter-button {
    display: none;

    min-height: 42px;

    border:
        1px solid
        rgba(54, 86, 80, .25) !important;

    border-radius: 7px !important;

    background: #ffffff !important;
    color: #365650 !important;

    font-size: 10px !important;
    font-weight: 700;

    letter-spacing: .08em;
    text-transform: uppercase;
}


/* =========================================================================
   GRID DO CATÁLOGO
   ========================================================================= */

.vf-catalog-main .vf-product-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap:
        34px
        20px !important;
}


/* =========================================================================
   CARD PREMIUM
   ========================================================================= */

.vf-catalog-main .vf-product-grid .vf-card {
    min-width: 0;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    overflow: visible !important;

    text-align: left !important;
}

.vf-catalog-main .vf-product-grid .vf-card:hover {
    box-shadow: none !important;
}

.vf-catalog-main .vf-product-grid .vf-card-photo {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 5 !important;

    overflow: hidden;

    border:
        1px solid
        rgba(48, 56, 55, .09) !important;

    border-radius: 10px !important;

    background: #f3f4f1 !important;
}

.vf-catalog-main .vf-product-grid .vf-card-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain !important;
    object-position: center center !important;

    background: #f3f4f1 !important;

    transition:
        transform
        .32s
        ease;
}

@media (hover: hover) {

    .vf-catalog-main .vf-product-grid .vf-card:hover .vf-card-photo img {
        transform: scale(1.015);
    }
}


/* =========================================================================
   SETAS
   ========================================================================= */

.vf-catalog-main [data-vf-card-prev],
.vf-catalog-main [data-vf-card-next] {
    width: 32px !important;
    height: 32px !important;

    border:
        1px solid
        rgba(48, 56, 55, .07) !important;

    background:
        rgba(255, 255, 255, .92) !important;

    color: #365650 !important;

    font-size: 20px !important;

    box-shadow:
        0
        4px
        14px
        rgba(48, 56, 55, .08) !important;
}


/* =========================================================================
   NOME E PREÇO
   ========================================================================= */

.vf-catalog-main .vf-product-grid .vf-card-info {
    min-height: 81px !important;

    padding:
        14px
        2px
        10px !important;

    text-align: left !important;
}

.vf-catalog-main .vf-product-grid .vf-card-info h3 {
    min-height: 35px !important;

    margin:
        0
        0
        7px !important;

    color: #303837 !important;

    font-size: 12.5px !important;
    font-weight: 500 !important;

    line-height: 1.4 !important;
}

.vf-catalog-main .vf-product-grid .vf-card-info h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.vf-catalog-main .vf-product-grid .vf-card-info strong {
    color: #303837 !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    line-height: 1.2;
}


/* =========================================================================
   COMPRA RÁPIDA
   ========================================================================= */

.vf-catalog-main .vf-product-grid .vf-card-actions {
    display: block !important;

    padding:
        0
        2px
        8px !important;
}

.vf-catalog-main .vf-product-grid .vf-card-actions form {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 6px !important;

    width: 100% !important;
}

.vf-catalog-main .vf-product-grid .vf-card-actions select {
    width: 100% !important;
    min-width: 0 !important;

    height: 39px;

    margin: 0 !important;

    padding:
        0
        9px !important;

    border:
        1px solid
        rgba(48, 56, 55, .17) !important;

    border-radius: 6px !important;

    background: #ffffff !important;
    color: #475550 !important;

    font-size: 10px !important;

    outline: none;
}

.vf-catalog-main .vf-product-grid .vf-card-actions form button {
    grid-column: 1 / -1;

    width: 100% !important;

    min-height: 41px;

    border: 0 !important;
    border-radius: 6px !important;

    background: #365650 !important;
    color: #ffffff !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.vf-catalog-main .vf-product-grid .vf-card-actions > a {
    display: flex;

    min-height: 41px;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(54, 86, 80, .25) !important;

    border-radius: 6px !important;

    color: #365650 !important;

    font-size: 9px !important;
    font-weight: 700;

    letter-spacing: .08em;

    text-decoration: none;
    text-transform: uppercase;
}


/* =========================================================================
   VAZIO / PAGINAÇÃO
   ========================================================================= */

.vf-catalog-main .vf-empty-state {
    margin: 0;

    padding:
        60px
        24px !important;

    border:
        1px solid
        rgba(48, 56, 55, .09);

    border-radius: 10px;

    background: #ffffff !important;

    color: #697570;

    text-align: center;
}

.vf-catalog-main .vf-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-top: 46px;

    padding-top: 24px;

    border-top:
        1px solid
        rgba(48, 56, 55, .10);
}

.vf-catalog-main .vf-pagination a {
    color: #365650 !important;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}

.vf-catalog-main .vf-pagination span {
    color: #7a8783;

    font-size: 11px;
}


/* =========================================================================
   DESKTOP - FILTRO STICKY
   ========================================================================= */

@media (min-width: 1001px) {

    .vf-catalog-main .vf-filters {
        position: sticky;

        top: 185px;

        max-height:
            calc(100vh - 205px);

        overflow-y: auto;

        scrollbar-width: thin;
    }
}


/* =========================================================================
   TABLET
   ========================================================================= */

@media (min-width: 721px) and (max-width: 1100px) {

    .vf-catalog-main {
        width: min(94vw, 1200px) !important;
    }

    .vf-catalog-main .vf-catalog-body {
        grid-template-columns:
            205px
            minmax(0, 1fr) !important;

        gap: 22px !important;
    }

    .vf-catalog-main .vf-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            26px
            15px !important;
    }
}


/* =========================================================================
   MOBILE
   ========================================================================= */

@media (max-width: 720px) {

    .vf-catalog-main {
        width: calc(100% - 24px) !important;

        padding-bottom: 48px !important;
    }

    .vf-catalog-main .vf-catalog-head {
        display: block !important;

        margin:
            0
            0
            14px !important;

        padding:
            28px
            0
            18px !important;
    }

    .vf-catalog-main .vf-breadcrumb {
        margin-bottom: 9px !important;

        font-size: 9px !important;
    }

    .vf-catalog-main .vf-catalog-head h1 {
        font-size: 31px !important;
    }

    .vf-catalog-main .vf-catalog-head h1 small {
        font-size: 11px !important;
    }

    .vf-catalog-main .vf-sort {
        width: 100%;

        margin-top: 18px;

        flex: none;
    }

    .vf-catalog-main .vf-sort select {
        height: 41px;
    }

    .vf-catalog-main .vf-mobile-filter-button {
        display: block !important;

        width: 100%;

        margin:
            0
            0
            16px !important;
    }

    .vf-catalog-main .vf-catalog-body {
        display: block !important;
    }

    .vf-catalog-main .vf-filters {
        display: none;

        margin:
            0
            0
            20px !important;

        padding:
            18px
            16px !important;
    }

    .vf-catalog-main .vf-filters.is-open {
        display: block !important;
    }

    .vf-catalog-main .vf-filters h2 {
        font-size: 22px !important;
    }

    .vf-catalog-main .vf-price-range {
        max-width: 220px;
    }

    .vf-catalog-main .vf-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            21px
            9px !important;
    }

    .vf-catalog-main .vf-product-grid .vf-card-photo {
        aspect-ratio: 4 / 5 !important;

        border-radius: 8px !important;
    }

    .vf-catalog-main [data-vf-card-prev],
    .vf-catalog-main [data-vf-card-next] {
        width: 28px !important;
        height: 28px !important;

        font-size: 17px !important;
    }

    .vf-catalog-main [data-vf-card-prev] {
        left: 5px !important;
    }

    .vf-catalog-main [data-vf-card-next] {
        right: 5px !important;
    }

    .vf-catalog-main .vf-product-grid .vf-card-info {
        min-height: 77px !important;

        padding:
            10px
            1px
            7px !important;
    }

    .vf-catalog-main .vf-product-grid .vf-card-info h3 {
        min-height: 33px !important;

        margin-bottom: 6px !important;

        font-size: 11px !important;
    }

    .vf-catalog-main .vf-product-grid .vf-card-info strong {
        font-size: 16px !important;
    }

    .vf-catalog-main .vf-product-grid .vf-card-actions {
        padding:
            0
            1px
            4px !important;
    }

    .vf-catalog-main .vf-product-grid .vf-card-actions form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 5px !important;
    }

    .vf-catalog-main .vf-product-grid .vf-card-actions select {
        height: 34px;

        padding:
            0
            5px !important;

        font-size: 8.5px !important;
    }

    .vf-catalog-main .vf-product-grid .vf-card-actions form button {
        min-height: 37px;

        font-size: 8.5px !important;
    }

    .vf-catalog-main .vf-pagination {
        gap: 12px;

        margin-top: 32px;

        padding-top: 18px;
    }
}


/* =========================================================================
   MOBILE ESTREITO
   ========================================================================= */

@media (max-width: 380px) {

    .vf-catalog-main .vf-product-grid {
        gap:
            19px
            8px !important;
    }

    .vf-catalog-main .vf-product-grid .vf-card-info h3 {
        font-size: 10.5px !important;
    }

    .vf-catalog-main .vf-product-grid .vf-card-actions select {
        font-size: 8px !important;
    }
}

/* =========================================================================
   VIVA_CATALOG_PREMIUM_V2
   Refinamento final do WhatsApp no catálogo mobile.
   Escopo exclusivo do catálogo.
   ========================================================================= */

@media (max-width: 640px) {

    /* WhatsApp menor durante a navegação normal do catálogo */
    body:has(.vf-catalog-main) .vf-whatsapp-float {
        right: 6px !important;
        bottom: 8px !important;

        width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;

        padding: 6px !important;

        box-shadow:
            0
            6px
            18px
            rgba(0, 0, 0, .13) !important;
    }

    body:has(.vf-catalog-main) .vf-whatsapp-float__icon {
        width: 32px !important;
        height: 32px !important;

        flex:
            0
            0
            32px !important;
    }

    body:has(.vf-catalog-main) .vf-whatsapp-float__icon img {
        width: 22px !important;
        height: 22px !important;
    }


    /* Mais discreto enquanto o painel de filtros estiver aberto */
    body:has(.vf-catalog-main .vf-filters.is-open) .vf-whatsapp-float {
        right: 4px !important;
        bottom: 8px !important;

        width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;

        padding: 5px !important;

        opacity: .92;
    }

    body:has(.vf-catalog-main .vf-filters.is-open) .vf-whatsapp-float__icon {
        width: 30px !important;
        height: 30px !important;

        flex:
            0
            0
            30px !important;
    }

    body:has(.vf-catalog-main .vf-filters.is-open) .vf-whatsapp-float__icon img {
        width: 21px !important;
        height: 21px !important;
    }
}