/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;

    background: linear-gradient(135deg, #c2c7cc 0%, #8e959d 100%);
    background-attachment: fixed;
    background-size: cover;

    position: relative;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
}

/* Header */
header {
    width: 90%;
    height: 13vh;
    margin-top: 2vh;
    padding: 0 3vh;

    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1f1f1f;
    position: fixed;
    z-index: 1;
}

.janela {
    background: rgba(255, 255, 255, 0.5);

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3vh;

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 8rem;
}

/* Campo de pesquisa */
.container-pesquisa {
    display: flex;
    align-items: center;
    position: relative;
}

header input[type="text"] {
    width: 40rem;
    padding: 0.6rem 1rem;

    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1rem;

    background: #ffffff8c;
    color: #1f1f1f;
    font-size: 1rem;

    box-shadow: -4px 5px 16px rgba(79, 79, 79, 0.6);
    outline: none;
    transition: all 0.3s ease;
}

header input[type="text"]::placeholder {
    color: rgba(31, 31, 31, 0.6);
    font-weight: 300;
}

header input[type="text"]:focus {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.5);
}

.divisor {
    width: 100%;
    height: 23vh;
}

.fa-magnifying-glass {
    position: absolute;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid #8e959d;
    width: 5vh;
    height: 100%;
}

.fa-magnifying-glass:hover {
    cursor: pointer;
}

/* Menu inferior */
.menuDois {
    width: 90%;
    padding: 1.5vh 3vh;
    margin-top: 17vh;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1vh;

    font-family: "Poppins", sans-serif;
    text-shadow: -1px 2px 7px rgba(26, 26, 26, 0.842);
    position: fixed;
    z-index: 999;

    /* Adicionando a transição para suavizar */
    transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
}

/* Ícones */
.menuDois i {
    font-size: 2rem;
}

.menuDois ul {
    display: flex;
    list-style: none;
    gap: 1.5vh;
}

/* Estado oculto (quando rola para baixo) */
.menuDois.oculto {
    transform: translateY(-100%);
    opacity: 0;
    filter: blur(10px);
}

/* Estado visível (quando rola para cima) */
.menuDois.visivel {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
}



/* Conta */
.conta {
    display: flex;
    align-items: center;
    gap: 3vh;
    justify-content: center;
}

.conta p,
.conta i {
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 1.5vh;
    border-radius: 3vh;
    transition: 0.2s;
}

.conta p:hover,
.conta i:hover {
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.conta i {
    font-size: 1.3rem;
}

.caixa_cep {
    display: flex;
    gap: 1vh;
    align-items: center;
    padding: 0px 2vh;
}

.caixa_cep:hover {
    cursor: pointer;
}

.janela li {
    padding: 0px 2vh;
    height: 4vh;
    display: flex;
    align-items: center;
    border-radius: 2vh;
    transition: 0.2s;
}

.janela li:hover {
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.container_carrosel {
    width: 90%;
    height: 60vh;
    margin-top: 7vh;
    border-radius: 3vh;

    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    text-shadow: -1px 2px 7px rgba(26, 26, 26, 0.842);

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Slide principal */
.carousel-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    height: 100%;
    gap: 2rem;
}

/* Texto */
.carousel-texto {
    flex: 1;
    color: #1f1f1f;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carousel-texto h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.carousel-texto p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #333;
    max-width: 400px;
}

.btn-carrosel {
    background: #1f1f1f;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-carrosel:hover,
.btn-verDetalhes:hover {
    background: #333;
}

.carousel-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-imagem img {
    width: 50vh;
    transition: transform 0.4s ease;
}

.carousel-imagem img:hover {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.7);
}

.carousel-btn i {
    font-size: 1.5rem;
    color: #1f1f1f;
}

.carousel-btn.left {
    left: 20px;
}

.carousel-btn.right {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators span.active {
    background: #1f1f1f;
    transform: scale(1.2);
}

.cards-cima {
    width: 100%;
    padding: 10vh;
    display: flex;
    justify-content: center;
    gap: 5vh;
    flex-wrap: wrap;
    backdrop-filter: blur(3px);

    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.26) 10%,
            rgba(255, 255, 255, 0.26) 100%);
}

.card {
    width: 30vh;
    height: 43vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0px 3vh;
    text-shadow: -1px 2px 7px rgba(26, 26, 26, 0.842);
    transition: 0.4s;
}

.card:hover {
    cursor: pointer;
    transform: translateY(-5px);
}

.card .titulo {
    font-weight: bolder;
    font-size: 1.2rem;
    text-align: center;
}

.card img {
    width: 22vh;
}

.valores_atuais {
    display: flex;
    gap: 1vh;
}

.valor_antes {
    text-decoration: line-through;
    font-size: 1.4vh;
    color: rgb(63, 63, 63);
}

.valor_agora {
    font-size: 2.5vh;
}

.porcentagem_desconto {
    color: green;
    font-size: 1.5vh;
}

.frete {
    color: green;
    font-weight: bolder;
}

.ofertas_container {
    width: 100%;
    display: flex;
    gap: 2vh;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.26);
    text-shadow: -1px 2px 7px rgba(26, 26, 26, 0.842);
}

.oferta-dia {
    width: 50vh;
    height: 60vh;
    display: flex;
    flex-direction: column;
    padding: 0px 2vh;
    justify-content: space-around;
}

.oferta-dia .titulo,
.ofertas .titulo {
    font-weight: bolder;
    font-size: 1.7rem;
}

.oferta-dia img {
    width: 30vh;
}

.alinhar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dividir {
    color: green;
}

.btn-verDetalhes {
    background: #1f1f1f;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 80%;
    margin-top: 2vh;
}

.ofertas {
    padding: 1.2vh 2vh;
}

.oferta_item {
    border-right: 2px solid #333;
    height: 100%;
    width: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0px 2vh;
}

.itens-Ofertas {
    border-left: 2px solid #333;
    height: 90%;
    display: flex;
}

.oferta_item:hover {
    cursor: pointer;
}

.ofertasTextos {
    display: flex;
    align-items: center;
    gap: 2vh;
}

.mostrar_ofertas {
    font-weight: bolder;
    font-size: .8rem;
}

.mostrar_ofertas:hover {
    cursor: pointer;
}

.ofertaImg {
    width: 30vh;
}

.maisVendidos_container {
    background-color: rgba(255, 255, 255, 0.26);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.containerMaisVendidos {
    height: 100%;
    margin-top: 5vh;
    text-shadow: -1px 2px 7px rgba(26, 26, 26, 0.842);
    padding: 2vh;
}

.containerMaisVendidos .titulo {
    font-weight: bolder;
    font-size: 1.5rem;
}

.itensMaisVendidos {
    margin-top: 2vh;
    border-left: 2px solid #333;
    display: flex;
    justify-content: center;
}

.itensMaisVendidos:hover {
    cursor: pointer;
}

.itemMaisVendido {
    border-right: 2px solid #333;
    width: 30vh;
    height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2vh;
}

.itemMaisVendido img {
    width: 250px;
    height: 20vh;
    object-fit: contain;
}

.infos {
    background-color: rgba(255, 255, 255, 0.26);
    width: 100%;
    padding: 2% 5%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5vh;
}

.infosDescs {
    padding: 2vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5vh;
}

.cardInfo {
    width: 70vh;
    height: 35vh;
    justify-content: space-between;
    display: flex;
}

.cardInfo img {
    border-radius: 2vh;
}

.infosDescs .title {
    color: #333;
    font-size: 1.5rem;
}

.infosDescs .desc {
    color: #333;
    font-size: 1.6rem;
    font-weight: bolder;
}

footer {
    background-color: rgba(255, 255, 255, 0.26);
    width: 100%;
    display: flex;

    justify-content: center;
}

.rodape {
    width: 95%;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vh;
    margin-bottom: 5vh;

}

.rodape i {
    color: #333;
    border: 3px solid #333;
    border-radius: 50%;
    padding: 1vh;
    font-size: 2rem;
    transition: 0.2s;
}

.rodape i:hover {
    background-color: #8e959d1f;
    cursor: pointer;
}

.redes {
    display: flex;
    gap: 2vh;
}

.footerTextos {
    display: flex;
    gap: 2vh;
}

.footerTextos p {
    width: 18vh;
    height: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2.5vh;
    transition: 0.2s;
}

.footerTextos p:hover {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.creditos {
    border-bottom: 1px solid #333;
    width: 50%;
    display: flex;
    justify-content: center;
    padding-bottom: 1vh;
}


/*Background*/
:root {
    --bg-1: #c2c7cc;
    --bg-2: #8e959d;

    --bubble-a: #b6d4f0;
    --bubble-b: #a8d5c2;
    --bubble-c: #d0b6f0;

    --bubble-alpha: 0.9;
}

.bubbles {
    position: fixed;
    inset: -20vmax;
    z-index: -9999;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    aspect-ratio: 1 / 1;
    border-radius: 50%;

    background-color: rgba(211, 217, 224, var(--bubble-alpha));
    background-image:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.35) 35%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(circle at 70% 75%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 55%);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 3px 12px rgba(255, 255, 255, 0.45),
        inset 0 -6px 14px rgba(0, 0, 0, 0.12);

    will-change: transform, filter, border-radius;
    animation:
        bubble-move var(--dur, 24s) linear infinite alternate,
        bubble-breathe calc(var(--dur, 24s) * 0.6) ease-in-out infinite;
    filter: saturate(1.05) contrast(1.04);
    opacity: 0.9;
}

.b1,
.b4,
.b7 {
    background-color: color-mix(in oklab, var(--bubble-a), white 8%);
}

.b2,
.b5,
.b8 {
    background-color: color-mix(in oklab, var(--bubble-b), white 8%);
}

.b3,
.b6 {
    background-color: color-mix(in oklab, var(--bubble-c), white 8%);
}

.b1 {
    --size: 34vmin;
    width: var(--size);
    top: 8%;
    left: 6%;
    --tx: 18vmin;
    --ty: -6vmin;
    --rot: 16deg;
    --dur: 28s;
}

.b2 {
    --size: 26vmin;
    width: var(--size);
    top: 18%;
    left: 68%;
    --tx: -22vmin;
    --ty: 10vmin;
    --rot: -12deg;
    --dur: 22s;
}

.b3 {
    --size: 20vmin;
    width: var(--size);
    top: 58%;
    left: 8%;
    --tx: 14vmin;
    --ty: -18vmin;
    --rot: 24deg;
    --dur: 26s;
}

.b4 {
    --size: 42vmin;
    width: var(--size);
    top: 62%;
    left: 54%;
    --tx: -12vmin;
    --ty: -12vmin;
    --rot: 10deg;
    --dur: 32s;
}

.b5 {
    --size: 18vmin;
    width: var(--size);
    top: 30%;
    left: 38%;
    --tx: 10vmin;
    --ty: 16vmin;
    --rot: -8deg;
    --dur: 18s;
}

.b6 {
    --size: 24vmin;
    width: var(--size);
    top: 76%;
    left: 22%;
    --tx: 20vmin;
    --ty: -8vmin;
    --rot: 14deg;
    --dur: 24s;
}

.b7 {
    --size: 16vmin;
    width: var(--size);
    top: 12%;
    left: 86%;
    --tx: -14vmin;
    --ty: 12vmin;
    --rot: -18deg;
    --dur: 20s;
}

.b8 {
    --size: 30vmin;
    width: var(--size);
    top: 84%;
    left: 74%;
    --tx: -18vmin;
    --ty: -14vmin;
    --rot: 22deg;
    --dur: 30s;
}

@keyframes bubble-move {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }

    50% {
        transform: translate3d(calc(var(--tx) * 0.55), calc(var(--ty) * 0.55), 0) rotate(calc(var(--rot) * 0.6)) scale(1.03);
    }

    100% {
        transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--rot)) scale(1);
    }
}

@keyframes bubble-breathe {

    0%,
    100% {
        border-radius: 50%;
        filter: blur(0px);
        opacity: 0.82;
    }

    50% {
        border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%;
        filter: blur(0.2px);
        opacity: 0.88;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bubble {
        animation: none;
    }
}

@media (max-width: 768px) {
    .bubble {
        width: calc(var(--size) * 0.75);
    }
}