/* =====================================================
   PÁGINA DE PRODUTOS
===================================================== */

.products-page {

    background: #f5f5f3;

    color: #050505;

    overflow: hidden;

}


/* =====================================================
   INTRO
===================================================== */

.products-intro {

    padding: 110px 5vw 85px;

    text-align: center;

}


.products-intro>span {

    display: block;

    margin-bottom: 18px;

    color: #888;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .35em;

}


.products-intro h1 {

    margin: 0;

    font-family: 'Anton', sans-serif;

    font-size: clamp(65px, 8vw, 115px);

    font-weight: 400;

    line-height: .86;

}


.products-intro h1 strong {

    display: block;

    color: #888;

    font-weight: 400;

}


.products-intro p {

    max-width: 500px;

    margin: 25px auto 0;

    color: #777;

    font-size: 12px;

    line-height: 1.7;

}



/* =====================================================
   SEÇÃO
===================================================== */

.product-section {

    position: relative;

    padding: 70px 5vw;

    border-top: 1px solid #ddd;

}


.section-heading {

    max-width: 1400px;

    margin: 0 auto 30px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

}


.section-heading>div span {

    display: block;

    margin-bottom: 7px;

    color: #999;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .3em;

}


.section-heading h2 {

    margin: 0;

    font-family: 'Anton', sans-serif;

    font-size: clamp(42px, 5vw, 70px);

    font-weight: 400;

    line-height: .9;

}


.view-all {

    display: flex;

    align-items: center;

    gap: 15px;

    padding-bottom: 5px;

    color: #050505;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .13em;

}


.view-all span {

    font-size: 18px;

}



/* =====================================================
   CARROSSEL
===================================================== */

.carousel-wrapper {

    position: relative;

    max-width: 1400px;

    margin: auto;

}


.products-carousel {

    display: flex;

    gap: 18px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    padding: 5px 2px 20px;

}


.products-carousel::-webkit-scrollbar {

    display: none;

}



/* =====================================================
   CARD
===================================================== */

.product-card {

    flex: 0 0 calc(25% - 14px);

    min-width: 250px;

    scroll-snap-align: start;

    cursor: pointer;

}


.product-image {

    position: relative;

    width: 100%;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    background: #e8e8e6;

}


.product-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .7s ease;

}


.product-card:hover .product-image img {

    transform: scale(1.05);

}


.product-tag {

    position: absolute;

    top: 14px;

    left: 14px;

    padding: 7px 10px;

    background: #050505;

    color: #fff;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: .15em;

}


.product-info {

    padding: 17px 2px 0;

}


.product-info>span {

    display: block;

    margin-bottom: 7px;

    color: #999;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: .2em;

}


.product-info h3 {

    margin: 0;

    font-size: 12px;

    font-weight: 600;

}


.product-info strong {

    display: block;

    margin-top: 9px;

    font-size: 12px;

    font-weight: 700;

}



/* =====================================================
   SETAS
===================================================== */

.carousel-arrow {

    position: absolute;

    top: calc(50% - 25px);

    z-index: 10;

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(0, 0, 0, .2);

    background: rgba(255, 255, 255, .95);

    color: #050505;

    cursor: pointer;

    font-size: 19px;

    transition: all .25s ease;

}


.carousel-arrow:hover {

    background: #050505;

    color: #fff;

}


.carousel-arrow.prev {

    left: -25px;

}


.carousel-arrow.next {

    right: -25px;

}



/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 1100px) {

    .product-card {

        flex-basis: calc(33.333% - 12px);

    }

}


@media (max-width: 800px) {

    .product-section {

        padding: 55px 20px;

    }


    .product-card {

        flex-basis: calc(50% - 9px);

        min-width: 220px;

    }


    .carousel-arrow {

        width: 42px;

        height: 42px;

    }


    .carousel-arrow.prev {

        left: 5px;

    }


    .carousel-arrow.next {

        right: 5px;

    }

}


@media (max-width: 550px) {

    .products-intro {

        padding: 80px 20px 60px;

    }


    .products-intro h1 {

        font-size: 62px;

    }


    .section-heading {

        align-items: center;

    }


    .section-heading h2 {

        font-size: 45px;

    }


    .view-all {

        font-size: 7px;

    }


    .product-card {

        flex: 0 0 78%;

        min-width: 0;

    }


    .carousel-arrow {

        width: 38px;

        height: 38px;

    }

}

/* =====================================================
   BOTÃO — ADICIONAR AO CARRINHO
===================================================== */

.product-cart-action {

    margin-top: 14px;

}


.add-to-cart {

    width: 100%;

    min-height: 44px;

    padding: 0 15px;

    border: 1px solid #222;

    background: #050505;

    color: #fff;

    font-family: 'Montserrat', sans-serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .12em;

    cursor: pointer;

    transition: all .25s ease;

}


.add-to-cart:hover {

    background: #fff;

    color: #000;

    border-color: #fff;

}


.add-to-cart.added {

    background: #fff;

    color: #000;

    border-color: #fff;

}

/* =====================================================
   PÁGINA DE PRODUTOS
===================================================== */

.products-page {

    background: #f5f5f3;
    color: #050505;
    overflow: hidden;

}


/* =====================================================
   INTRO
===================================================== */

.products-intro {

    padding: 110px 5vw 85px;
    text-align: center;

}


.products-intro>span {

    display: block;
    margin-bottom: 18px;
    color: #888;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .35em;

}


.products-intro h1 {

    margin: 0;
    font-family: 'Anton', sans-serif;
    font-size: clamp(65px, 8vw, 115px);
    font-weight: 400;
    line-height: .86;

}


.products-intro h1 strong {

    display: block;
    color: #888;
    font-weight: 400;

}


.products-intro p {

    max-width: 500px;
    margin: 25px auto 0;
    color: #777;
    font-size: 12px;
    line-height: 1.7;

}


/* =====================================================
   SEÇÃO
===================================================== */

.product-section {

    position: relative;
    padding: 70px 5vw;
    border-top: 1px solid #ddd;

}


.section-heading {

    max-width: 1400px;
    margin: 0 auto 30px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

}


.section-heading>div span {

    display: block;
    margin-bottom: 7px;
    color: #999;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .3em;

}


.section-heading h2 {

    margin: 0;
    font-family: 'Anton', sans-serif;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 400;
    line-height: .9;

}


.view-all {

    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 5px;

    color: #050505;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;

}


.view-all span {

    font-size: 18px;

}


/* =====================================================
   CARROSSEL
===================================================== */

.carousel-wrapper {

    position: relative;
    max-width: 1400px;
    margin: auto;

}


.products-carousel {

    display: flex;

    gap: 18px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    padding: 5px 2px 20px;

}


.products-carousel::-webkit-scrollbar {

    display: none;

}


/* =====================================================
   4 PRODUTOS
===================================================== */

.products-carousel.products-count-4 {

    justify-content: flex-start;

}


/* =====================================================
   3 PRODUTOS
===================================================== */

.products-carousel.products-count-3 {

    justify-content: center;

}


/* =====================================================
   CARD
===================================================== */

.product-card {

    flex: 0 0 calc(25% - 14px);

    min-width: 250px;

    scroll-snap-align: start;

    cursor: pointer;

}


.products-count-3 .product-card {

    flex: 0 0 calc(33.333% - 12px);

}


.product-image {

    position: relative;

    width: 100%;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    background: #e8e8e6;

}


.product-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .7s ease;

}


.product-card:hover .product-image img {

    transform: scale(1.05);

}


.product-tag {

    position: absolute;

    top: 14px;
    left: 14px;

    padding: 7px 10px;

    background: #050505;
    color: #fff;

    font-size: 7px;
    font-weight: 700;
    letter-spacing: .15em;

}


.product-info {

    padding: 17px 2px 0;

}


.product-info>span {

    display: block;

    margin-bottom: 7px;

    color: #999;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: .2em;

}


.product-info h3 {

    margin: 0;

    font-size: 12px;

    font-weight: 600;

}


.product-info strong {

    display: block;

    margin-top: 9px;

    font-size: 12px;

    font-weight: 700;

}


/* =====================================================
   SETAS
===================================================== */

.carousel-arrow {

    position: absolute;

    top: calc(50% - 25px);

    z-index: 10;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 0, 0, .2);

    background: rgba(255, 255, 255, .95);

    color: #050505;

    cursor: pointer;

    font-size: 19px;

    transition: all .25s ease;

}


.carousel-arrow:hover {

    background: #050505;

    color: #fff;

}


.carousel-arrow.prev {

    left: -25px;

}


.carousel-arrow.next {

    right: -25px;

}


/* =====================================================
   BOTÃO — ADICIONAR AO CARRINHO
===================================================== */

.product-cart-action {

    margin-top: 14px;

}


.add-to-cart {

    width: 100%;

    min-height: 44px;

    padding: 0 15px;

    border: 1px solid #222;

    background: #050505;

    color: #fff;

    font-family: 'Montserrat', sans-serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .12em;

    cursor: pointer;

    transition: all .25s ease;

}


.add-to-cart:hover {

    background: #fff;

    color: #000;

    border-color: #fff;

}


.add-to-cart.added {

    background: #fff;

    color: #000;

    border-color: #fff;

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .product-card {

        flex-basis: calc(33.333% - 12px);

    }

    .products-count-3 .product-card {

        flex-basis: calc(33.333% - 12px);

    }

}


/* =====================================================
   TABLET MENOR
===================================================== */

@media (max-width: 800px) {

    .product-section {

        padding: 55px 20px;

    }


    .products-carousel {

        justify-content: flex-start !important;

    }


    .product-card,
    .products-count-3 .product-card {

        flex-basis: calc(50% - 9px);

        min-width: 220px;

    }


    .carousel-arrow {

        width: 42px;
        height: 42px;

    }


    .carousel-arrow.prev {

        left: 5px;

    }


    .carousel-arrow.next {

        right: 5px;

    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 550px) {

    .products-intro {

        padding: 80px 20px 60px;

    }


    .products-intro h1 {

        font-size: 62px;

    }


    .section-heading {

        align-items: center;

    }


    .section-heading h2 {

        font-size: 45px;

    }


    .view-all {

        font-size: 7px;

    }


    .product-card,
    .products-count-3 .product-card {

        flex: 0 0 78%;

        min-width: 0;

    }


    .carousel-arrow {

        width: 38px;
        height: 38px;

    }

}

/* =====================================================
   ALTERNÂNCIA DE CORES DAS SEÇÕES
===================================================== */

/* TODAS AS SEÇÕES */
.products-page .product-section {
    background: #f5f5f3;
    color: #050505;
}


/* =====================================================
   SEÇÕES PRETAS
   1 - CAMISAS POLO
   3 - CALÇAS
   5 - KITS
===================================================== */

.products-page .product-section:nth-of-type(2),
.products-page .product-section:nth-of-type(4),
.products-page .product-section:nth-of-type(6) {
    background: #050505;
    color: #fff;
}


/* TÍTULOS DAS SEÇÕES PRETAS */

.products-page .product-section:nth-of-type(2) .section-heading h2,
.products-page .product-section:nth-of-type(4) .section-heading h2,
.products-page .product-section:nth-of-type(6) .section-heading h2 {
    color: #fff;
}


/* TEXTO PEQUENO */

.products-page .product-section:nth-of-type(2) .section-heading>div span,
.products-page .product-section:nth-of-type(4) .section-heading>div span,
.products-page .product-section:nth-of-type(6) .section-heading>div span {
    color: #888;
}


/* VER TODAS */

.products-page .product-section:nth-of-type(2) .view-all,
.products-page .product-section:nth-of-type(4) .view-all,
.products-page .product-section:nth-of-type(6) .view-all {
    color: #fff;
}


/* INFORMAÇÕES DOS PRODUTOS */

.products-page .product-section:nth-of-type(2) .product-info h3,
.products-page .product-section:nth-of-type(4) .product-info h3,
.products-page .product-section:nth-of-type(6) .product-info h3 {
    color: #fff;
}


/* PREÇOS */

.products-page .product-section:nth-of-type(2) .product-info strong,
.products-page .product-section:nth-of-type(4) .product-info strong,
.products-page .product-section:nth-of-type(6) .product-info strong {
    color: #fff;
}


/* MARCA / CATEGORIA */

.products-page .product-section:nth-of-type(2) .product-info>span,
.products-page .product-section:nth-of-type(4) .product-info>span,
.products-page .product-section:nth-of-type(6) .product-info>span {
    color: #888;
}


/* =====================================================
   BORDA DAS SEÇÕES
===================================================== */

.products-page .product-section {
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.products-page .product-section:nth-of-type(2),
.products-page .product-section:nth-of-type(4),
.products-page .product-section:nth-of-type(6) {
    border-top: 1px solid rgba(255, 255, 255, .15);
}


/* =====================================================
   SETAS NAS SEÇÕES PRETAS
===================================================== */

.products-page .product-section:nth-of-type(2) .carousel-arrow,
.products-page .product-section:nth-of-type(4) .carousel-arrow,
.products-page .product-section:nth-of-type(6) .carousel-arrow {
    border-color: rgba(255, 255, 255, .25);
    background: #111;
    color: #fff;
}

.products-page .product-section:nth-of-type(2) .carousel-arrow:hover,
.products-page .product-section:nth-of-type(4) .carousel-arrow:hover,
.products-page .product-section:nth-of-type(6) .carousel-arrow:hover {
    background: #fff;
    color: #000;
}


/* =====================================================
   SEÇÕES BRANCAS
===================================================== */

.products-page .product-section:nth-of-type(3),
.products-page .product-section:nth-of-type(5),
.products-page .product-section:nth-of-type(7) {
    background: #f5f5f3;
    color: #050505;
}

/* =====================================================
   SEÇÕES IMPÉRIO OUTLET
===================================================== */

.product-section.section-light {
    background: #f5f5f3;
    color: #050505;
}

.product-section.section-dark {
    background: #050505;
    color: #fff;
}


/* =====================================================
   SEÇÃO ESCURA
===================================================== */

.section-dark .section-heading h2 {
    color: #fff;
}

.section-dark .section-heading>div span {
    color: #888;
}

.section-dark .view-all {
    color: #fff;
}

.section-dark .product-info h3 {
    color: #fff;
}

.section-dark .product-info strong {
    color: #fff;
}

.section-dark .product-info>span {
    color: #888;
}


/* =====================================================
   SETAS — FUNDO PRETO
===================================================== */

.section-dark .carousel-arrow {
    background: #111;
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
}

.section-dark .carousel-arrow:hover {
    background: #fff;
    color: #000;
}


/* =====================================================
   SETAS — FUNDO BRANCO
===================================================== */

.section-light .carousel-arrow {
    background: #fff;
    border-color: rgba(0, 0, 0, .2);
    color: #050505;
}

.section-light .carousel-arrow:hover {
    background: #050505;
    color: #fff;
}

/* =====================================================
   PESQUISA
===================================================== */

.search-overlay {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: flex-start;

    justify-content: center;

    padding-top: 110px;

    background: rgba(0, 0, 0, .55);

    opacity: 0;

    visibility: hidden;

    transition: .3s ease;

}


.search-overlay.active {

    opacity: 1;

    visibility: visible;

}


.search-box {

    width: min(700px, calc(100% - 30px));

    padding: 30px;

    background: #fff;

    color: #050505;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .25);

    transform: translateY(-20px);

    transition: .3s ease;

}


.search-overlay.active .search-box {

    transform: translateY(0);

}


.search-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;

}


.search-header span {

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .25em;

}


.search-header button {

    border: 0;

    background: transparent;

    color: #050505;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

}


#searchForm {

    display: flex;

    gap: 10px;

}


#searchInput {

    flex: 1;

    height: 52px;

    padding: 0 16px;

    border: 1px solid #ddd;

    outline: none;

    font-family: 'Montserrat', sans-serif;

    font-size: 11px;

}


#searchInput:focus {

    border-color: #050505;

}


#searchForm > button {

    height: 52px;

    padding: 0 22px;

    border: 1px solid #050505;

    background: #050505;

    color: #fff;

    font-family: 'Montserrat', sans-serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .12em;

    cursor: pointer;

}


#searchForm > button span {

    margin-left: 10px;

    font-size: 16px;

}


.search-quick {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin-top: 22px;

}


.search-quick > span {

    width: 100%;

    margin-bottom: 5px;

    color: #999;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .2em;

}


.search-quick button {

    padding: 8px 11px;

    border: 1px solid #ddd;

    background: #fff;

    color: #222;

    font-family: 'Montserrat', sans-serif;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: .08em;

    cursor: pointer;

    transition: .2s ease;

}


.search-quick button:hover {

    border-color: #050505;

    background: #050505;

    color: #fff;

}


.search-message {

    margin-top: 18px;

    color: #777;

    font-size: 10px;

}


.product-card.search-highlight {

    outline: 3px solid #050505;

    outline-offset: 5px;

}


/* =====================================================
   PESQUISA — CELULAR
===================================================== */

@media (max-width: 600px) {

    .search-overlay {

        padding-top: 70px;

    }


    .search-box {

        padding: 22px;

    }


    #searchForm {

        flex-direction: column;

    }


    #searchForm > button {

        width: 100%;

    }


    .search-quick button {

        flex: 1 0 auto;

    }

}

/* ==========================================
   CORREÇÃO — SEÇÃO DE PRODUTOS
========================================== */

.featured-section {
    background: #f5f5f3 !important;
    color: #050505 !important;
}

.featured-section .featured-title h2 {
    color: #050505 !important;
}

.featured-section .featured-title span {
    color: #777 !important;
}

.featured-section .featured-title h2 strong {
    color: #888 !important;
}

.featured-section .product-category {
    color: #777 !important;
}

.featured-section .product-info h3 {
    color: #050505 !important;
}

.featured-section .product-price span {
    color: #050505 !important;
}

.featured-section .view-all {
    color: #050505 !important;
}

.featured-section .featured-button a {
    color: #050505 !important;
    border-color: #050505 !important;
}

.featured-section .featured-button a:hover {
    background: #050505 !important;
    color: #fff !important;
}

/* =====================================================
   CORREÇÃO DEFINITIVA — CORES DAS SEÇÕES
===================================================== */

/* CAMISAS POLO — PRETO */
.products-page #polos {
    background: #050505 !important;
    color: #ffffff !important;
}

/* CALÇAS — PRETO */
.products-page #calcas {
    background: #050505 !important;
    color: #ffffff !important;
}

/* BERMUDAS — BRANCO */
.products-page #bermudas {
    background: #f5f5f3 !important;
    color: #050505 !important;
}

/* KITS — PRETO */
.products-page #kits {
    background: #050505 !important;
    color: #ffffff !important;
}

/* ACESSÓRIOS — BRANCO */
.products-page #acessorios {
    background: #f5f5f3 !important;
    color: #050505 !important;
}


/* =====================================================
   TÍTULOS
===================================================== */

/* TÍTULOS DAS SEÇÕES PRETAS */
.products-page #polos .section-heading h2,
.products-page #calcas .section-heading h2,
.products-page #kits .section-heading h2 {
    color: #ffffff !important;
}

/* TÍTULOS DAS SEÇÕES BRANCAS */
.products-page #bermudas .section-heading h2,
.products-page #acessorios .section-heading h2 {
    color: #050505 !important;
}


/* =====================================================
   NOME DOS PRODUTOS
===================================================== */

/* PRODUTOS NAS SEÇÕES PRETAS */
.products-page #polos .product-info h3,
.products-page #calcas .product-info h3,
.products-page #kits .product-info h3 {
    color: #ffffff !important;
}

/* PREÇO NAS SEÇÕES PRETAS */
.products-page #polos .product-info strong,
.products-page #calcas .product-info strong,
.products-page #kits .product-info strong {
    color: #ffffff !important;
}

/* PRODUTOS NAS SEÇÕES BRANCAS */
.products-page #bermudas .product-info h3,
.products-page #acessorios .product-info h3 {
    color: #050505 !important;
}

/* PREÇO NAS SEÇÕES BRANCAS */
.products-page #bermudas .product-info strong,
.products-page #acessorios .product-info strong {
    color: #050505 !important;
}


/* =====================================================
   TEXTO "COLEÇÃO"
===================================================== */

.products-page #polos .section-heading > div > span,
.products-page #calcas .section-heading > div > span,
.products-page #kits .section-heading > div > span {
    color: #888888 !important;
}

.products-page #bermudas .section-heading > div > span,
.products-page #acessorios .section-heading > div > span {
    color: #777777 !important;
}


/* =====================================================
   BOTÃO "VER TODOS"
===================================================== */

.products-page #polos .view-all,
.products-page #calcas .view-all,
.products-page #kits .view-all {
    color: #ffffff !important;
}

.products-page #bermudas .view-all,
.products-page #acessorios .view-all {
    color: #050505 !important;
}


/* =====================================================
   SETAS
===================================================== */

/* SETAS — SEÇÕES PRETAS */
.products-page #polos .carousel-arrow,
.products-page #calcas .carousel-arrow,
.products-page #kits .carousel-arrow {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.25) !important;
}

/* SETAS — SEÇÕES BRANCAS */
.products-page #bermudas .carousel-arrow,
.products-page #acessorios .carousel-arrow {
    background: #ffffff !important;
    color: #050505 !important;
    border-color: rgba(0,0,0,.2) !important;
}


/* =====================================================
   BORDA SUPERIOR
===================================================== */

.products-page #polos,
.products-page #calcas,
.products-page #kits {
    border-top-color: rgba(255,255,255,.15) !important;
}

.products-page #bermudas,
.products-page #acessorios {
    border-top-color: rgba(0,0,0,.12) !important;
}

/* =====================================================
   IMPÉRIO OUTLET — SISTEMA DE PRODUTO ESGOTADO
   CONTROLADO PELO SUPABASE
===================================================== */


/* -----------------------------------------------------
   CARD ESGOTADO
----------------------------------------------------- */

.product-card.product-sold-out {
    cursor: not-allowed !important;
}


/* -----------------------------------------------------
   IMAGEM
----------------------------------------------------- */

.product-card.product-sold-out .product-image {
    position: relative;
    overflow: hidden;
}


/* Escurecimento elegante */

.product-card.product-sold-out .product-image img {
    filter:
        grayscale(55%)
        brightness(.70);

    opacity: .78;

    transition:
        transform .5s ease,
        filter .35s ease,
        opacity .35s ease;
}


/* Camada sobre a imagem */

.product-card.product-sold-out .product-image::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            135deg,
            rgba(0,0,0,.05),
            rgba(0,0,0,.30)
        );

    pointer-events: none;
}


/* -----------------------------------------------------
   SELO ESGOTADO
----------------------------------------------------- */

.product-card.product-sold-out .sold-out-badge {

    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%)
        rotate(-3deg);

    z-index: 5;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-width: 155px;

    padding:
        12px 18px;

    background:
        linear-gradient(
            135deg,
            #080808,
            #292929
        );

    color: #fff;

    border:
        1px solid
        rgba(255,255,255,.28);

    border-radius: 7px;

    box-shadow:
        0 12px 30px
        rgba(0,0,0,.45),

        inset 0 1px 0
        rgba(255,255,255,.12);

    font-family:
        'Montserrat',
        Arial,
        sans-serif;

    font-size: 11px;

    font-weight: 800;

    letter-spacing:
        .18em;

    line-height: 1;

    text-transform:
        uppercase;

    white-space:
        nowrap;

    pointer-events:
        none;

    backdrop-filter:
        blur(6px);

    -webkit-backdrop-filter:
        blur(6px);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


/* -----------------------------------------------------
   ÍCONE DO SELO
----------------------------------------------------- */

.product-card.product-sold-out
.sold-out-badge::before {

    content: "×";

    display: flex;

    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;

    flex: 0 0 23px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.12);

    border:
        1px solid
        rgba(255,255,255,.25);

    color: #fff;

    font-size: 17px;

    font-weight: 700;

    line-height: 1;

}


/* -----------------------------------------------------
   HOVER DO ESGOTADO
----------------------------------------------------- */

.product-card.product-sold-out:hover
.product-image img {

    transform:
        scale(1.02);

    filter:
        grayscale(65%)
        brightness(.60);

    opacity: .72;

}


.product-card.product-sold-out:hover
.sold-out-badge {

    transform:
        translate(-50%, -50%)
        rotate(0deg)
        scale(1.04);

    box-shadow:
        0 15px 35px
        rgba(0,0,0,.52);

}


/* -----------------------------------------------------
   TEXTO DO PRODUTO ESGOTADO
----------------------------------------------------- */

.product-card.product-sold-out
.product-info h3 {

    opacity: .62;

}


.product-card.product-sold-out
.product-info strong {

    opacity: .55;

}


.product-card.product-sold-out
.product-info > span {

    opacity: .55;

}


/* -----------------------------------------------------
   NÃO DEIXAR CSS ANTIGO CRIAR OUTRO ESGOTADO
----------------------------------------------------- */

/*
   Estas regras anulam qualquer ::after antigo
   que ainda tenha ficado no CSS.
*/

.product-card.product-sold-out
.product-image::after {

    content: none !important;

}


/*
   Produtos disponíveis NÃO recebem selo antigo.
*/

.product-card:not(.product-sold-out)
.product-image::after {

    content: none !important;

}


/* -----------------------------------------------------
   PRODUTOS DISPONÍVEIS
----------------------------------------------------- */

.product-card:not(.product-sold-out) {

    cursor: pointer;

}


.product-card:not(.product-sold-out)
.product-image img {

    filter: none;

    opacity: 1;

}


/* -----------------------------------------------------
   CELULAR
----------------------------------------------------- */

@media (max-width: 600px) {

    .product-card.product-sold-out
    .sold-out-badge {

        min-width: 130px;

        padding:
            10px 14px;

        gap: 7px;

        font-size: 9px;

        letter-spacing:
            .13em;

    }


    .product-card.product-sold-out
    .sold-out-badge::before {

        width: 20px;

        height: 20px;

        flex-basis: 20px;

        font-size: 15px;

    }

}


/* -----------------------------------------------------
   CELULARES PEQUENOS
----------------------------------------------------- */

@media (max-width: 400px) {

    .product-card.product-sold-out
    .sold-out-badge {

        min-width: 118px;

        padding:
            9px 12px;

        font-size: 8px;

    }


    .product-card.product-sold-out
    .sold-out-badge::before {

        width: 18px;

        height: 18px;

        flex-basis: 18px;

    }

}

/* =====================================================
   DISPONIBILIDADE — CALÇAS E KITS
===================================================== */

/* Posicionamento dos produtos esgotados */
.products-page #calcas .product-card.product-sold-out,
.products-page #kits .product-card.product-sold-out {
    position: relative;
}


/* =====================================================
   TEXTO "ESGOTADO" ACIMA DO CARD
===================================================== */

.products-page #calcas .product-card.product-sold-out::before,
.products-page #kits .product-card.product-sold-out::before {
    content: "ESGOTADO";

    position: absolute;
    left: 0;
    top: -42px;

    z-index: 20;

    color: #fff;

    font-family: 'Anton', sans-serif;
    font-size: clamp(24px, 2.2vw, 36px);
    font-weight: 400;

    letter-spacing: .04em;
    line-height: 1;

    pointer-events: none;
}


/* =====================================================
   CALÇAS — SEM CLIQUE
===================================================== */

.products-page #calcas .product-card.product-sold-out {
    cursor: not-allowed !important;
    pointer-events: none !important;
}


/* =====================================================
   KITS ESGOTADOS — SEM CLIQUE
===================================================== */

.products-page #kits .product-card.product-sold-out {
    cursor: not-allowed !important;
    pointer-events: none !important;
}


/* =====================================================
   PRIMEIRO KIT CONTINUA NORMAL
===================================================== */

.products-page #kits .product-card:first-child {
    pointer-events: auto;
    cursor: pointer;
}


/* =====================================================
   ESPAÇO PARA O TEXTO ESGOTADO
===================================================== */

.products-page #calcas .products-carousel,
.products-page #kits .products-carousel {
    padding-top: 48px;
}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 550px) {

    .products-page #calcas .product-card.product-sold-out::before,
    .products-page #kits .product-card.product-sold-out::before {
        top: -34px;
        font-size: 25px;
    }

    .products-page #calcas .products-carousel,
    .products-page #kits .products-carousel {
        padding-top: 40px;
    }

}