/* Estilo para frase VER MAIS do carrinho */
.ver-mais {
    text-align: center;
    margin: 1rem 0;
}
.btn-ver-mais {
    color: var(--blue);
    font-weight: bolder;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s;
}
.btn-ver-mais:hover {
    color: #1a4fa3;
}
/* PAGINAÇÃO */
#paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
#paginacao button, #paginacao .pagina-btn {
    background: #fff;
    border: 2px solid var(--blue);
    color: var(--blue);
    font-size: 1.2rem;
    padding: 0.4rem 0.9rem;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
#paginacao button:disabled, #paginacao .pagina-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
}
#paginacao .pagina-btn.active {
    background: var(--blue);
    color: #fff;
    border: 2px solid var(--blue);
    font-weight: bold;
}
}
#paginacao .pagina-btn {
    margin: 0 0.2rem;
}
.und {
    font-size: 1rem;
    color: var(--light-color);
    font-weight: normal;
    margin-left: 0.1rem;
}

/* Loader Spinner */
.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.box-footer .price {
    font-size: 2.1rem !important;
    color: #130f40;
    font-weight: bolder;
    margin-right: 2.2rem;
    white-space: nowrap;
}
/* Preço antigo (riscado) nas promoções */
.price-old {
    font-size: 1.2rem;
    color: #888;
    text-decoration: line-through;
    line-height: 1.2;
}
/* Selo de desconto no topo do card */
.badge-desconto {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #e53935;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    padding: .2rem .6rem;
    border-radius: .4rem;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
/* Card de promoção com borda azul */
.promo-blue-card {
    border: 2px solid var(--blue) !important;
}
.add-carrinho-btn {
    position: static;
    margin-left: 1.2rem;
    margin-right: 2.2rem;
    width: 36px;
    height: 36px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}
.box {
    position: relative;
    min-height: 25rem;
    overflow: hidden;
}
.box-footer .price {
    font-size: 2rem !important;
    color: #130f40;
    font-weight: bolder;
    margin-right: 0.2rem;
}
.box-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    left: 0;
    bottom: 1.2rem;
    width: 100%;
    padding: 0 1.5rem;
    box-sizing: border-box;
}
.add-carrinho-btn {
    position: static;
    margin-left: 1.2rem;
    margin-right: 2.2rem;
    width: 40px;
    height: 40px;
    aspect-ratio: 1/1;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
}
.add-carrinho-btn:hover {
    background: #130f40;
    transform: scale(1.1);
}
.add-carrinho-btn i {
    color: #fff;
    font-size: 1.6rem;
    margin: 0;
    pointer-events: none;
}
.box {
    position: relative;
    min-height: 25rem;
    position: relative;
}
/* Corrige herança nos blocos do footer: não usar altura mínima dos cards */
.footer .box { min-height: 0 !important; position: static; overflow: visible; }
.footer .box .box-content { overflow: visible; }
.cart-item {
    border: 0px solid;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 1rem;
    position: relative;
    margin: 1rem 0;
}
.cart-item img {
    height: 10rem;
    width: 10rem;
    object-fit: contain;
}
.cart-item .fa-trash {
    position: absolute;
    font-size: 2rem;
    color: var(--light-color);
    cursor: pointer;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
}
.cart-item .fa-trash:hover {
    color: var(--blue);
}
.cart-item .content h3 {
    color: var(--black);
    font-size: 1.7rem;
    padding-bottom: 1rem;
}
.cart-item .content span {
    color: var(--light-color);
    font-size: 1.6rem;
}
.cart-item .content quantity {
    padding-left: 1rem;
}
/* Cidade e estado na mesma linha */
.linha-cidade-estado {
    display: flex;
    gap: 2%;
    width: 100%;
}
.linha-cidade-estado input[name="cidade"] {
    flex: 2;
}
.linha-cidade-estado input[name="estado"] {
    flex: 1;
}
/* Bairro e número na mesma linha */
.linha-bairro-numero {
    display: flex;
    gap: 2%;
    width: 100%;
}
.linha-bairro-numero input[name="bairro"] {
    flex: 2;
}
.linha-bairro-numero input[name="numero"] {
    flex: 1;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --blue: rgb(22, 87, 207);
    --black: #130f40;
    --light-color: #666;
    --box-shadow: 0 .1rem 1rem rgb(124, 124, 124);
    /* rgba(0, 0, 0.1) */
    --border: 2rem solid rgba(0, 0, 0.1);
    --outline: .1rem solid rgba(0, 0, 0.1);
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

body {
    background: #eee;
    padding-top: 80px;
}

/* banner */
section {
    padding: 2rem 9%;
}

.cabecalho {
    padding: 2rem 0;
    text-align: center;
    padding-bottom: 3rem;
    font-size: 3.5rem;
    color: var(--black);
}

.cabecalho span {
    background: var(--blue);
    color: #fff;
    display: inline-block;
    padding: .5rem 3rem;
    clip-path: polygon(100% 0%, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}




.btn {
    color: #fff;
    border: 0px solid;
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem;
    border-radius: .5rem;
    background: var(--blue);
    font-size: 1.7rem;
    font-weight: bolder;
    text-decoration: none;
}

.btn:hover {
    background: #130f40;
}

.header {
    border: 0px solid;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
    background: #fff;
    box-shadow: var(--box-shadow);
    z-index: 9999;
}

.header .logo {
    font-size: 2.5rem;
    font-weight: bolder;
}

.header .logo i {
    color: var(--blue);
}

.header .logo {
    color: var(--blue);
    text-decoration: none;
}

.header .logo:hover {
    transition: transform .3s ease;
    transform: scale(1.1);
}

.header .navbar a {
    font-size: 1.7rem;
    margin: 0 1rem;
    color: var(--black);
}

.header .navbar a:hover {
    color: var(--blue);
    font-weight: bolder;
}

.header .icons div {
    border: 0px solid;
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    text-align: center;
    font-size: 2rem;
    margin-right: .3rem;
    color: var(--blue);
    cursor: pointer;
    border-radius: .5rem;
    background: #eee;
}

.header .icons div:hover {
    background-color: var(--blue);
    color: #fff;
}

/* Saudação do usuário ao lado do ícone */
.user-greet-label {
        margin-left: .6rem;
        margin-right: .6rem;
        font-size: 1.5rem;
        color: var(--black);
        font-weight: 600;
        white-space: nowrap;
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
        align-self: center;
}
@media (max-width: 768px){
    .user-greet-label { font-size: 1.3rem; max-width: 150px; }
}
@media (max-width: 480px){
    .user-greet-label { font-size: 1.2rem; max-width: 110px; }
}

#menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .header .navbar {
        display: none;
    }

    #menu-btn {
        display: block;
    }
}

.header .search-form {
    border: 0px solid;
    position: absolute;
    top: 110%;
    right: -110%;
    width: 50rem;
    height: 5rem;
    border-radius: .5rem;
    background: #fff;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    align-items: center;

}

.header .search-form.active {
    right: 2rem;
    transition: .4s linear;
}

.header .search-form input {
    height: 100%;
    width: 100%;
    background: none;
    text-transform: none;
    font-size: 1.6rem;
    color: var(--black);
    padding: 0 1.5rem;
}

.header .search-form label {
    font-size: 2rem;
    color: var(--blue);
    cursor: pointer;
    padding: 0 1.5rem;
}

.header .shopping-cart {
    border: 0px solid;
    position: absolute;
    top: 110%;
    right: -110%;
    width: 35rem;
    background: #fff;
    box-shadow: var(--box-shadow);
    padding: 1rem;
    border-radius: .5rem;
}

.header .shopping-cart .box {
    border: 0px solid;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 1rem;
    position: relative;
    margin: 1rem 0;
}

.header .shopping-cart .box img {
    height: 10rem;
    width: 10rem;
    object-fit: contain;
}

.header .shopping-cart .fa-trash {
    position: absolute;
    font-size: 2rem;
    color: var(--light-color);
    cursor: pointer;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
}

.header .shopping-cart .fa-trash:hover {
    color: var(--blue);
}

.header .shopping-cart .box .content h3 {
    color: var(--black);
    font-size: 1.7rem;
    padding-bottom: 1rem;
}

.header .shopping-cart .box .content span {
    color: var(--light-color);
    font-size: 1.6rem;
}

.header .shopping-cart .box .content quantity {
    padding-left: 1rem;
}

.header .shopping-cart .total {
    font-size: 2.5rem;
    padding: 1rem 0;
    color: var(--black);
    text-align: center;
}

.header .shopping-cart .btn {
    display: block;
    text-align: center;
    margin: 1rem 0;
}

.header .shopping-cart.active {
    right: 2rem;
    transition: .4s linear;
}

.header .login-form {
    border: 0px solid;
    position: absolute;
    top: 110%;
    right: -110%;
    width: 30rem;
    background: #fff;
    box-shadow: var(--box-shadow);
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    min-height: 12rem;

}

.header .login-form.active {
    right: 2rem;
    transition: .4s linear;
}

.header .login-form input {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 1.4rem;
    color: var(--black);
    text-transform: none;
    margin: .3rem 0;
    border-radius: .5rem;
    background: #eee;
}

.header .login-form .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.6rem;
    color: #fff;
    background: var(--blue);
    border: none;
    border-radius: .5rem;
    cursor: pointer;
}

.header .login-form .btn:hover {
    background: #130f40;
}

.header .login-form h3 {
    font-size: 2.2rem;
    color: var(--black);
    text-align: center;
    padding-bottom: 1rem;
}

.header .login-form a {
    display: block;
    text-align: center;
    padding-top: 1rem;
    font-size: 1.4rem;
    color: var(--light-color);
    margin: -0.5rem 0 0 0;
}

.header .login-form p {
    font-size: 1.2rem;
    color: var(--light-color);
    text-align: center;
    padding-bottom: 1rem;
}

.header .login-form .criar-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.6rem;
    color: var(--blue);
    background: #eee;
    border: none;
    border-radius: .5rem;
    cursor: pointer;
    font-weight: bolder;
    margin: 1rem 0 0 0;
}

.header .login-form .criar-btn:hover {
    background: var(--blue);
    color: #fff;
}

.inicio {
    display: flex;
    justify-content: center;
    border: 0px solid;
    background: url(../image/banner.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 17rem;
    padding-bottom: 10rem;
    cursor: pointer;
    height: 40rem;
    width: 100%;
}

/*DESTAQUE*/

.categorias-destaque .categorias-slider {
    border: 0px solid;
    padding: 1rem;
    user-select: none;
}

.categorias-destaque .categorias-slider .box img {
    height: 50%;
    width: 80%;
    object-fit: contain;
    margin-top: 1rem;
}

.categorias-destaque .categorias-slider .box h3 {
    font-size: 2.5rem;
    color: var(--black);
}

.categorias-destaque .categorias-slider .box:hover {
    box-shadow: 1px 1px 10px 4px var(--blue);
    transform: translateY(-5px);
}

.categorias-destaque .categorias-slider .swiper-wrapper {
    border: 0px solid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.categorias-destaque .categorias-slider:first-child {
    margin-bottom: 2rem;
}

.categorias-destaque .categorias-slider .swiper-button-next,
.categorias-destaque .categorias-slider .swiper-button-prev {
    color: var(--blue);
    cursor: pointer;
    text-decoration: none;
    user-select: none;
}

.categorias-destaque .categorias-slider .box {
    border: 0px solid;
    background: #fff;
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    text-align: center;
    display: block;
    height: 25rem;
    width: 20rem;
}

.categorias-destaque .categorias-slider .box:hover {
    box-shadow: 1px 1px 10px 4px var(--blue);
    transform: translateY(-5px);
}

.categorias-destaque .categorias-slider .box .btn-categorias {
    color: #fff;
    border: 0px solid;
    margin: 1rem;
    display: block;
    padding: 1rem;
    border-radius: .5rem;
    background: var(--blue);
    font-size: 1.6rem;
    font-weight: bolder;
    text-decoration: none;
}

/*PRODUTOS*/

.produtos-destaque .produto-slider {
    border: 0px solid;
    padding: 1rem;
    user-select: none;
}

.produtos-destaque .produto-slider:first-child {
    margin-bottom: 2rem;
}

.produtos-destaque .produto-slider .swiper-wrapper {
    border: 0px solid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.produtos-destaque .produto-slider .swiper-button-next,
.produtos-destaque .produto-slider .swiper-button-prev {
    color: var(--blue);
    cursor: pointer;
    text-decoration: none;
    user-select: none;
}

.produtos-destaque .produto-slider .box {
    border: 0px solid;
    background: #fff;
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    text-align: center;
    display: block;
    height: 25rem;
    width: 20rem;
}

.produtos-destaque .produto-slider .box:hover,
.box:hover {
    box-shadow: 1px 1px 10px 4px var(--blue) !important;
    transform: translateY(-5px);
}

.produtos-destaque .produto-slider .box img {
    height: 50%;
    width: 80%;
    object-fit: contain;
    margin-top: 1rem;
}

.produtos-destaque .produto-slider .box h1 {
    font-size: 1.5rem;
    color: var(--blue);
}

.produtos-destaque .produto-slider .box .price {
    font-size: 1.5rem;
    color: var(--black);
    font-weight: bolder;

}

.produtos-destaque .produto-slider .box .btn-produtos {
    color: #fff;
    border: 0px solid;
    margin: 1rem;
    display: block;
    padding: 1rem;
    border-radius: .5rem;
    background: var(--blue);
    font-size: 1.2rem;
    font-weight: bolder;
    text-decoration: none;
}

/* PAGINA CADASTRO */
.cadastro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.cadastro-section h2 {
    margin-bottom: 2rem;
    color: var(--blue);
    font-size: 2.8rem;
}

#cadastroForm {
    background: #fff;
    box-shadow: var(--box-shadow);
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 300px;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .cadastro-section {
        padding: 1rem 2rem;
        min-height: 100vh;
    }
    #cadastroForm {
        min-width: unset;
        max-width: 100%;
        width: 100%;
        padding: 2rem 1.5rem;
    }
    #cadastroForm input,
    #cadastroForm button {
        font-size: 1.4rem;
        padding: 0.8rem;
    }
    .linha-bairro-numero,
    .linha-cidade-estado {
        flex-direction: column;
        gap: 0.5rem;
    }
}

#cadastroForm input {
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: .5rem;
    border: 1px solid #ccc;
    font-size: 1.6rem;
}

#cadastroForm button {
    width: 100%;
    padding: 1rem;
    background: var(--blue);
    color: #fff;
    border-radius: .5rem;
    font-size: 1.7rem;
    cursor: pointer;
    margin-bottom: 1rem;
    border: none;
}

.cadastro-section a {
    margin-top: 1.5rem;
    color: var(--blue);
    font-size: 1.5rem;
    text-decoration: underline;
}

/* Filtros da página de produtos */
#filtros {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
#filtros .filtro-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#filtros select {
    padding: 0.5rem;
    font-size: 1rem;
    min-width: 180px;
}
@media (max-width: 600px) {
    #filtros {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    #filtros .filtro-group {
        justify-content: space-between;
    }
    #filtros select {
        width: 100%;
        font-size: 1.1rem;
        min-width: 0;
    }
}

/* media responsividade  */

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 2rem;
    }

    .section {
        padding: 2rem;
    }

    .inicio {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width: 768px) {

    #menu-btn {
        display: inline-block;
    }

    .header .search-form {
        width: 90%;
    }

    .header .login-form {
        width: 70%;
    }

    .header .shopping-cart {
        width: 70%;
    }

    .header .navbar {
        position: absolute;
        top: 110%;
        right: -110%;
        background: #fff;
        box-shadow: var(--box-shadow);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
        width: 30rem;
        border: 0px solid;
        border-radius: .8rem;
    }

    .header .navbar a {
        margin: 2rem 2.5rem;
        font-size: 2rem;
        display: block;
        color: var(--blue);
        font-weight: bolder;
        text-transform: uppercase;
        letter-spacing: .1rem;

    }

    .header .navbar.active {

        right: 2rem;
        transition: .4s linear;

    }

}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .header .logo {
        font-size: 2rem;
    }

    .header .logo .icons div {
        height: 3.5rem;
        width: 3.5rem;
        line-height: 3.5rem;
        font-size: 1.5rem;
    }

    .cabecalho {
        font-size: 2.5rem;
    }

   section {
    padding: 2rem 2%;
}

    .produtos-destaque .produto-slider .box .btn-produtos {
        font-size: 1.1rem;
    }
    
    
}

/* Bolinha de quantidade no ícone do carrinho - azul sem borda */
#cart-btn {
    position: relative;
}
.cart-qty-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--blue, #1976d2);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: background 0.2s;
}
.carrinho-total-valor,
#carrinho-total h3 {
    font-weight: bold;
    font-size: 2rem;
    color: #222;
    margin-top: 2rem;
}
#carrinho-total .price {
    font-weight: bold;
    font-size: 2.8rem;
    color: var(--blue, #1976d2);
    margin-left: 1rem;
}
.qty-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}
.qty-selector button {
    background: transparent;
    color: var(--blue, #1976d2);
    border: none;
    border-radius: 0;
    width: 24px;
    height: 24px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    box-shadow: none;
    padding: 0;
}
.qty-selector button:active {
    color: #1152a5;
}
.qty-selector .qty-input {
    -moz-appearance: textfield;
    appearance: textfield;
    border: none;
    background: transparent;
    width: 32px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #222;
    outline: none;
}
.qty-selector .qty-input::-webkit-outer-spin-button,
.qty-selector .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* FOOTER - RODAPÉ */
.footer {
    background: var(--blue);
}

/* FOOTER - ESPAÇAMENTO ENTRE UM TÓPICO E OUTRO */
.footer .box-container {
    border: 0px solid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem 2rem;
    width: 100%;
    box-sizing: boder-box;
    justify-content: start;
}

/* FOOTER - ESTILIZAÇÃO DOS TÓPICOS */
.footer .box-container .box h3 {
    font-size: 15px;
    color: #fff;
    padding: 1rem 0;
}

/* FOOTER - COLAPSE (inicialmente oculto em telas menores) */
.footer .box .section-header { display:flex; align-items:center; justify-content:space-between; gap:.8rem; cursor:pointer; }
.footer .box .section-header h3 { margin:0; display:flex; align-items:center; gap:.6rem; }
.footer .box .toggle-btn { background:#1657cf; color:#fff; border:none; padding:.4rem .8rem; font-size:1.2rem; border-radius:.4rem; cursor:pointer; transition:transform .25s; display:flex; align-items:center; justify-content:center; }
.footer .box .toggle-btn:focus { outline:2px solid #0d3f97; }
.footer .box .box-content { display:none; animation:fadeDown .25s ease; }
.footer .box.open .box-content { display:block; }
.footer .box .toggle-btn i, .footer .wide-text-toggle i { transition: transform .25s ease; }
.footer .box.open .toggle-btn i { transform: rotate(180deg); }
@keyframes fadeDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
/* Texto largo colapsável */
.footer .wide-text { max-width:100%; }
.footer .wide-text p { font-size:1.2rem; line-height:1.6; margin:0; }
/* Removido comportamento de colapso para Informações Legais (sempre visível) */
/* Ajustes responsivos */
@media (min-width: 860px) {
    .footer .box .box-content { display:block; }
    .footer .box .toggle-btn { display:none; }
}
@media (max-width: 859px) {
    .footer .box { padding:.2rem .9rem; }
    .footer .box-container { gap:.2rem; }
    .footer .box .section-header { min-height:3.2rem; }
    .footer .box .section-header h3 { font-size:1.3rem; padding:.4rem 0; }
    .footer .box .toggle-btn { padding:.25rem .55rem; font-size:1rem; }
    .footer .box .box-content { padding:.2rem 0 .6rem; }
    .footer .box.open .box-content { animation:footerSlide .25s ease; }
}
@keyframes footerSlide { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
/* FOOTER - ÍCONES DOS TÓPICOS */
.footer .box-container .box h3 i {
    color: #fff;
}

/* FOOTER - LINKS DOS TÓPICOS */
.footer .box-container .box .links {
    display: block;
    font-size: 14px;
    color: #fff;
    padding: 2px 0;
}

/* FOOTER - ÍCONES DOS LINKS */
.footer .box-container .box .links i {
    color: #fff;
    padding-right: .5rem;
}

/* FOOTER - PARÁGRAFOS */
.footer .box-container .box p {
    line-height: 20px;
    font-size: 14px;
    color: #fff;
    padding: 0;
    margin: 0;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
}

/* FOOTER - REDES SOCIAIS */
.footer .box-container .box .share {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer .box-container .box .share a {
    border: 1px solid;
    height: 4rem;
    width: 4rem;
    line-height: 4rem;
    border-radius: .5rem;
    font-size: 22px;
    color: var(--blue);
    margin-left: .2rem;
    background: #eee;
    text-align: center;
}

/* FOOTER - IMAGENS DE APLICATIVOS */
.footer .box .app img {
    width: 120px;
    height: 45px;
    object-fit: contain;
}

/* FOOTER - TEXTO AMPLO (LINHA EXTRA DE CONTEÚDO) */
.footer .box .wide-text {
    line-height: 20px;
    font-size: 14px;
    color: #fff;
    padding: 0;
    padding-top: 30px;
    margin: 0;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
}

/* Estrutura do header e botão */
.section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

/* Botão seta */
.toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.3s;
    display: none;
}

/* Mostra o botão e controla o conteúdo apenas no mobile */
@media (max-width: 768px) {
    .toggle-btn {
        display: inline;
    }
    .box-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease; /* animação suave */
    }
  .box.active .box-content {
    max-height: 500px;
  }
}

/* Corrige regra antiga de max-height para o footer no mobile: usar display none/block por classe .open */
@media (max-width: 768px) {
    .footer .box .box-content { max-height: none; overflow: visible; transition: none; }
}

/* FOOTER - LINHA DIVISÓRIA ENTRE OS TÓPICOS (APENAS NO MOBILE) */
@media (max-width: 768px) {
    .footer .box-container .box {
        border-bottom: 1px solid rgba(255,255,255,0.25);
        color: #fff;
        margin:0;
    }
    .footer .box-container .box:last-child { border-bottom:none; }
}

/* FOOTER BOTTOM - DIREITOS DA CONTROL*/
.footer-bottom {
    width: 100%;
    background: #111;
    text-align: center;
    font-size: 1rem;
    color: #bbb;
    margin-top: 0;
    display: block;
    clear: both;
}
@media (max-width: 800px) {
    .footer-container {
        flex-direction: column;
        align-items: left;
    }
    .footer-section {
        width: 100%;
        text-align: left;
    }
}
/* ===================== CARRINHO MODERNO ===================== */
.cart-grid { display:flex; flex-direction:column; gap:12px; }
.cart-card { display:grid; grid-template-columns: 88px 1fr auto; gap:12px; align-items:center; background:#fff; border:1px solid #e6ebf5; border-radius:12px; padding:12px; box-shadow:0 4px 14px rgba(0,0,0,.06); }
.cart-card .thumb { width:88px; height:88px; border:1px solid #eef2fb; border-radius:10px; background:#f8faff; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.cart-card .thumb img { max-width:100%; max-height:100%; object-fit:contain; }
.cart-card .info { display:flex; flex-direction:column; gap:6px; }
.cart-card .info h3 { margin:0; font-size:1.5rem; color:#130f40; line-height:1.3; }
.cart-card .meta { font-size:1.2rem; color:#60708f; }
.qty-ctrl { display:flex; align-items:center; gap:8px; background:#f3f6fd; border:1px solid #e1e9fb; border-radius:10px; padding:6px 8px; width:max-content; }
.qty-ctrl button { background:#1657cf; color:#fff; border:none; width:28px; height:28px; border-radius:8px; font-size:1.4rem; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 3px 10px rgba(22,87,207,.25); }
.qty-ctrl button:active { transform: translateY(1px); }
.qty-ctrl .qty-input { width:42px; text-align:center; font-weight:700; font-size:1.3rem; color:#130f40; background:transparent; border:none; outline:none; }
.cart-card .price-col { display:flex; flex-direction:column; align-items:flex-end; gap:8px; min-width:120px; }
.cart-card .subtotal { font-size:1.6rem; font-weight:800; color:#1657cf; }
.cart-card .remove { background:#fff; color:#d32f2f; border:1px solid #f0b7b7; border-radius:10px; padding:6px 10px; font-weight:700; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.cart-card .remove:hover { background:#fff5f5; }

/* Barra de resumo/hints no carrinho */
.cart-hints { margin:10px 0 6px; background:#f9fbff; border:1px solid #e3eefc; border-radius:10px; padding:10px 12px; }
.cart-hints .hint-line { display:flex; align-items:center; gap:8px; color:#130f40; font-size:1.3rem; font-weight:600; }
.cart-hints .hint-line i { color:#1657cf; }
.cart-hints .progress { position:relative; height:10px; background:#eaf1ff; border-radius:999px; overflow:hidden; margin-top:8px; }
.cart-hints .progress .bar { height:100%; width:0%; background:#1657cf; box-shadow:inset 0 0 6px rgba(255,255,255,.5); transition: width .4s ease; }

@media (max-width:640px){
  .cart-card { grid-template-columns: 72px 1fr; }
  .cart-card .price-col { grid-column: 1 / -1; flex-direction:row; justify-content:space-between; align-items:center; }
  .cart-card .thumb { width:72px; height:72px; }
}
/* Mobile promo visibility: ensure discount badge and old price stand out */
@media (max-width: 600px) {
    .badge-desconto {
        top: 8px;
        left: 8px;
        font-size: 1.4rem;
        padding: .25rem .7rem;
        border-radius: .6rem;
        z-index: 20; /* above image/button */
        pointer-events: none;
    }
    .box .price-old {
        display: block;
        font-size: 1.3rem;
        color: #888;
        text-decoration: line-through;
    }
    .box .box-footer .price {
        font-size: 1.8rem !important;
    }
}