@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:is(html, body, h1, h2, h3, h4, h5, h6, p, li, a){
    font-family: "Nunito", sans-serif;
}

body.modal-open::after{
    content: '';
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px); /* ✨ blur aplicado aqui */
    -webkit-backdrop-filter: blur(4px); /* para suporte no Safari */
    z-index: 9999999;
}

.hidden{
    display: none !important;
}

.head__app{
    width: 100%;
    height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-image: cover;
    background-position: center;
    position: relative;
    transition: 0.5s ease-in-out;
}

/* .page-template-page-offer .head__app{
    height: 300px;
    align-items: flex-start;
} */

.page-template-page-offer .head__app{
    height: 40px;
    background-image: unset !important;
    padding: 30px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    transition: 0.5s ease-in-out;
    z-index: 999999999 !important;
}

.head__app::after{
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}

.page-template-page-offer .head__app::after{
    display: none;
}

.page-template-page-offer .head__app #step-description{
    text-align: left;
    padding-left: 10px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.page-template-page-offer .head__app #step-description a{
    margin-right: 10px;
}

.page-template-page-offer .head__app #step-description i{
    font-size: 28px;
}

.page-template-page-offer .head__app #step-title{
    display: none;
}

.head__app *{
    position: relative;
    z-index: 2;
}

.head__app h2{
    font-size: 42px;
    font-weight: 800 !important;
}

.head__app .logo{
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 20px;
    margin: 10px auto;
    padding: 10px;
    border-radius: 100%;
    z-index: 2;
    position: relative;
    transform: translateY(calc(50% + 20px));
}

.page-template-page-offer .head__app .logo{
    transform: translateY(0);
}

.head__app .logo img{
    width: 100%;
    height: 100%;
    border-radius: 100%;
    object-fit: cover;
}

.body__app{
    min-height: calc(75vh + 20px);
    background-color: white;
    border-radius: 20px 20px 0px 0px;
    /* transform: translateY(-20px); */
    top: -20px;
    padding: 30px 15px;
    position: relative;
    z-index: 1;
}

.page-template-page-offer .body__app{
    padding-top: 0;
    top: 45px;
    background-color: #fbfbfb;
}

.body__app h3{
    font-size: 32px;
    font-weight: 800 !important;
    color: #212529;
    text-align: center;
}

.body__app h3 ~ p{
    text-align: center;
}

.welcome{
    padding-top: 80px;
}
.btn-error{
    font-size: 14px;
    border-radius: 20px !important;
}

.btnDefault{
    font-size: 14px;
    text-align: center;
    color: white !important;
    font-weight: 500;
    border-radius: 20px !important;
    padding: 10px 35px;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    border: 1px solid;
    box-shadow: none !important;
    text-decoration: none;
    cursor: pointer;
}

.btnDefault i{
    margin-right: 5px;
}

.btnForgotPassword{
    color: #212529 !important;
    text-decoration: none;
    font-size: 12px;
}

:is(input, select).form-control{
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
}

input[type="checkbox"],
input[type="radio"]{
    width: 20px !important;
    height: 20px !important;
    padding: 0;
    margin-right: 5px;
    border-radius: 100% !important;
}

input[type="radio"]{
    height: 18px !important;
}

.or-line{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
    color: #d0d0d0;
}

.or-line::before{
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #d0d0d0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.or-line span{
    background-color: white;
    padding: 0 10px;
    position: relative;
    font-size: 18px;
    z-index: 1;
}

.or-line::after{
    content: '';
    display: block;
    width: 100%;    
    height: 1px;
    background-color: #d0d0d0;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.app__bar__menu{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 9999999 !important;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.05);
    background-color: white;
}

.app__bar__menu ul{
    display: flex;
    justify-content: space-around;
    align-items: self-end;
}

.app__bar__menu ul li{
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app__bar__menu ul li.active i{
    background: orange;
    border-radius: 100%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translateY(-65px);
    position: absolute;
    top: 0;
}

.app__bar__menu ul li a{
    color: #212529;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.app__bar__menu ul li a i{
    font-size: 26px;
    color: #212529;
    margin-bottom: 5px;
}

.blocos__info{
    background-color: white;
    border-radius: 8px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.05);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
}

.head__blocos__info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 5px 10px;
}

.head__blocos__info :is(p, i){
    color: gray;
    font-size: 12px;
    line-height: 16px;
    margin: 0;
}

.body__blocos__info{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.body__blocos__info span{
    font-size: 16px;
    font-weight: bold;
    margin-right: 5px;
    color: #4c4c4c;
}

.body__blocos__info .bigValue {
    font-size: 36px;
    line-height: 40px;
    font-weight: bold;
    margin-right: 0;
}

.body__blocos__info span:not(.bigValue) {
    line-height: 24px;
}

.foot__blocos__info{
    padding: 5px 10px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.foot__blocos__info p{
    color: gray;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    margin: 0;
}

.bar__icons{
    display: flex;
    align-items: center;
    position: absolute;
    top: 12px;
    right: 10px;
} 

.bags,
.push__notification,
.stores{
    width: 42px;
    height: 42px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    animation: shake-bell 3s ease-in-out infinite;
    transform-origin: center;
}

.stores{
    margin-left: 10px;
}

@keyframes shake-bell {
    0%   { transform: rotate(0deg); }
    10%  { transform: rotate(-12deg); }
    20%  { transform: rotate(12deg); }
    30%  { transform: rotate(-8deg); }
    40%  { transform: rotate(8deg); }
    50%  { transform: rotate(-4deg); }
    60%  { transform: rotate(4deg); }
    70%  { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.box-search-product{
    border-radius: 8px;
}

.box-search-product input{
    border: none !important
}

.box-search-product i{
    font-size: 20px;
    padding: 0 10px;
}

#bannerRotate{
    margin-bottom: 20px !important;
}

.box__menu__account{
    height: 150px;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box__menu__account a{
    display: flex;
    flex-direction: column;
    font-size: 24px;
    line-height: 26px;
    text-align: center;
}

.box__menu__account a i{
    font-size: 32px;
    margin-bottom: 10px;
}

.page-template-page-offer .filter__page .container__filter__page{
    padding: 80px 20px 100px 20px !important
}

.box__search{
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 10px;
}

.box__search input{
    border: none !important;
}

.box__search i{
    font-size: 16px;;
    color: #212529
}

.form-control:focus{
    outline: unset !important;
    box-shadow: unset !important;
}

.page-template-page-offer .head__filter__Page h2{
    color: #4c4c4c;
    text-align: left;
    font-size: 26px;
    font-weight: bold !important;
    font-family: "Nunito", sans-serif;
}

.page-template-page-offer .close__filter__page i{
    color: #4c4c4c !important;
}

.page-template-page-offer .body__filter__page select, 
.page-template-page-offer .body__filter__page select:focus{
    border-color: rgba(0, 0, 0, 0.05) !important;
    color: #4c4c4c !important;
    box-shadow: unset !important;
}

.swal2-container{
    z-index: 999999999999 !important;
}

.swal2-modal{
    border-radius: 8px !important;
}

.swal2-title{
    margin: 0;
    padding: 0;
    font-weight: bold !important;
    line-height: normal !important;
}

.swal2-html-container{
    padding: 10px 0 !important;
    margin: 0;
}

.swal2-actions{
    margin: 0 !important;
}

#modalImages .resultados .col-xs-6{
    margin: 0 !important;
    padding: 0 !important;
}

/* Container do Skeleton */
#modalImages .skeleton-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    grid-template-rows: repeat(8, auto); /* 8 linhas automáticas */
    gap: 10px;
    width: 100%;
}

/* Itens do Skeleton */
#modalImages .skeleton-item {
    width: 100%;
    height: 120px; /* Altura padrão para simular uma imagem */
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: shimmer 1.5s infinite linear;
}

/* Animação de brilho para efeito de loading */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.adicionar-carrinho {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}
.quantidade {
    display: flex;
    align-items: center;
}
.quantidade button {
    background: #f0f0f0;
    border: none;
    padding: 5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 15px;
    font-weight: 500;
}
.input-quantidade {
    width: 50px;
    height: 40px;
    text-align: center;
    margin: 0;
    font-size: 16px;
    padding: 0 0 0 14px;
}
.btn-adicionar {
    margin-top: 5px;
}
.item-carrinho {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}
.acoes {
    display: flex;
    gap: 10px;
    align-items: center;
}
.acoes input[type="number"] {
    width: 50px;
}
#itens-carrinho {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.item-lista {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 10px 20px 10px;
    border-bottom: 1px solid #eee;
}
.img-produto img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.info-produto {
    flex: 2;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info-produto .nome {
    font-size: 14px;
    font-weight: bold;
    margin: 0
}
.info-produto .precos{
    margin: 5px 0;
}
.info-produto .precos del {
    font-size: 12px;
    color: #999;
    margin-right: 5px;
    text-decoration: line-through;
}
.info-produto .precos span {
    font-size: 14px;
    color: #107410;
    font-weight: bold;
}
.info-produto .subtotal,
.info-produto .economia {
    font-size: 12px;
    margin: 0;
    line-height: 22px;
}
.item-pego {
    opacity: 0.6;
    text-decoration: line-through;
}
.pegar {
    margin-top: 10px;
}
.pegar label {
    font-size: 12px;
    color: green;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pegar label input{
    margin: 0
}
#limpar-carrinho i{
    margin-right: 10px;
}
.acoes {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    margin-left: 10px;
}
.acoes button {
    background: #f0f0f0;
    border: none;
    padding: 5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 15px;
    font-weight: 500;
}
.remover {
    margin-left: 10px;
}
.remover button {
    background: none;
    border: none;
    color: #e53935;
    font-size: 8px;
    border: 1px solid #e53935;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-left: 10px;
}
.valor-total {
    /* position: sticky; */
    bottom: -15px;
    background: #8b8b8b;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    width: calc(40px + 100%);
    margin-left: -20px;
}
.valor-total p {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
}
.add-cart{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #107410; /* Vermelho padrão app */
    color: #fff;
    font-weight: 500;
    font-size: 11px;
    margin-bottom: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.add-cart i{
    margin-right: 5px;
}

.see-family{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f11515; 
    color: #fff;
    font-weight: 500;
    font-size: 11px;
    margin-bottom: 28px;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.see-family i{
    margin-right: 5px;
}

.section-family {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 37px;
}

.ver-opcoes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e4e5e0d1;
    color: #4c4c4c;
    font-weight: bold;
    font-size: 14px;
    padding: 4px 12px;
    border: 1px solid #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    position: absolute;
    top: 40px;
    left: 100px;
    text-decoration: none;
    transform: translateX(-50%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .ver-opcoes {
        font-size: 10px;
        left: 48px;
    }
}