* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    background-color: #F3F4F6;
    color: #1E40AF;
    line-height: 1.6;
}

main {
    padding-top: 90px;
}

.text-center {
    text-align: center;
}

.banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.banner picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(50%);
    pointer-events: none;
    user-select: none;
    display: block;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    text-align: center;
    width: 90%;
}

.banner-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
}

.banner-text p {
    font-size: 1.3rem;
    margin: 15px 0 25px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

.banner-text a {
    display: inline-block;
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    color: #FFFFFF;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.banner-text a:hover {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.destaque, .cupons {
    padding: 50px 20px;
    background-color: #FFFFFF;
    margin: 30px auto;
    max-width: 1400px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid #93C5FD;
}

.destaque h2, .cupons h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.carrossel, .carrossel-cupons {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.produtos, .cupons-lista {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.cupons-lista.single-coupon {
    justify-content: center;
}

.produtocarrosel {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid #93C5FD;
    scroll-snap-align: center;
    position: relative;
}

.produtocarrosel:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.produtocarrosel img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    cursor: pointer;
}

.produtocarrosel img.placeholder {
    background-color: #F3F4F6;
    border: 1px solid #93C5FD;
}

.produtocarrosel h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 15px 0;
    color: #1E40AF;
}

.produtocarrosel p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 8px 0;
    color: #1E40AF;
}

.desconto-tag {
    position: absolute;
    top: 15px;
    right: -10px;
    background: linear-gradient(135deg, #DC2626, #F87171);
    color: #FFFFFF;
    padding: 5px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
    transform: rotate(45deg);
    transform-origin: center;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.02); }
    100% { transform: rotate(45deg) scale(1); }
}

.favorito {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    z-index: 11;
    transition: color 0.3s ease, transform 0.3s ease;
}

.favorito.favoritado {
    color: #EF4444;
}

.favorito:hover {
    color: #F87171;
    transform: scale(1.1);
}

.favorito-feedback {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #EF4444, #F87171);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.favorito-feedback.show {
    opacity: 1;
    transform: translateY(-10px);
}

.favorito-feedback svg {
    width: 22px;
    height: 22px;
}

.btn-detalhes, .btn-comprar {
    displayвоут: inline-block;
    margin: 10px 5px;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-detalhes {
    background: linear-gradient(135deg, #60A5FA, #93C5FD);
    color: #FFFFFF;
}

.btn-detalhes:hover {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    transform: translateY(-3px);
}

.btn-comprar {
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    color: #FFFFFF;
}

.btn-comprar:hover {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    transform: translateY(-3px);
}

.btn-comprar:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.opcoes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 15px 0;
}

.opcao-cor, .opcao-tamanho {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.opcao-cor {
    display: inline-block;
}

.opcao-tamanho {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F3F4F6;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1E40AF;
}

.opcao-cor.selecionado, .opcao-tamanho.selecionado {
    border: 2px solid #1E40AF;
    transform: scale(1.15);
}

.opcao-cor:hover, .opcao-tamanho:hover {
    transform: scale(1.1);
}

.cor-azul { background-color: #1E40AF; }
.cor-vermelho { background-color: #DC2626; }
.cor-preto { background-color: #1F2937; }
.cor-branco { background-color: #FFFFFF; border: 1px solid #93C5FD; }
.cor-cinza { background-color: #6B7280; }
.cor-verde { background-color: #15803D; }
.cor-amarelo { background-color: #FACC15; }
.cor-rosa { background-color: #EC4899; }

.navegacao {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.navegacao .btn {
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    color: #FFFFFF;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navegacao .btn:hover {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    transform: scale(1.2);
}

.navegacao .btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

#prevBtn, #prevCupomBtn {
    margin-left: 20px;
}

#nextBtn, #nextCupomBtn {
    margin-right: 20px;
}

.single-coupon .navegacao {
    display: none;
}

.indicadores {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.single-coupon .indicadores {
    display: none;
}

.indicador {
    width: 14px;
    height: 14px;
    background-color: #93C5FD;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicador.ativo {
    background-color: #1E40AF;
    transform: scale(1.3);
}

.cupons-lista {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.cupom-card {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    flex: 0 0 300px;
    scroll-snap-align: center;
    position: relative;
    overflow: hidden;
}

.cupom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #2563EB;
}

.cupom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #2563EB, #3B82F6);
}

.cupom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 70px;
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    border-radius: 12px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cupom-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.cupom-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cupom-icon text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    fill: #FFFFFF;
    text-anchor: middle;
    dominant-baseline: middle;
}

.cupom-icon .fa-scissors {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 20px;
    color: #FFFFFF;
}

.cupom-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #1E40AF;
    margin: 10px 0;
    font-weight: 500;
}

.cupom-card p strong {
    font-weight: 700;
    color: #1E40AF;
}

.cupom-feedback {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #28a745, #34d058);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.cupom-feedback.show {
    opacity: 1;
    transform: translateY(-10px);
}

.cupom-feedback svg {
    width: 22px;
    height: 22px;
}

footer {
    padding: 40px;
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    color: #FFFFFF;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #FFFFFF;
    color: #1E40AF;
    border: none;
    padding: 12px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #3B82F6;
    color: #FFFFFF;
}

.error-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFFFFF;
    padding: 25px 35px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    max-width: 450px;
    width: 90%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-modal.show {
    opacity: 1;
}

.error-modal h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #DC2626;
    margin-bottom: 15px;
}

.error-modal p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #1E40AF;
    margin-bottom: 25px;
}

.error-modal button {
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    color: #FFFFFF;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.error-modal button:hover {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
}

.cart-feedback {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #28a745, #34d058);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.cart-feedback.show {
    opacity: 1;
    transform: translateY(-10px);
}

.cart-feedback svg {
    width: 22px;
    height: 22px;
}

#voltarTopo {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

#voltarTopo:hover {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    transform: scale(1.15);
}

#voltarTopo.visible {
    display: block;
}

a:focus, button:focus, .cupom-icon:focus, .favorito:focus {
    outline: 3px solid #3B82F6;
    outline-offset: 4px;
}

@media (min-width: 769px) {
    .cupons-lista.single-coupon {
        justify-content: center;
        overflow-x: hidden;
        scroll-snap-type: none;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 80px;
    }

    .banner {
        height: 250px;
    }

    .banner-text h1 {
        font-size: 2rem;
    }

    .banner-text p {
        font-size: 1.1rem;
    }

    .banner-text a {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .destaque, .cupons {
        padding: 40px 15px;
        margin: 20px auto;
    }

    .destaque h2, .cupons h2 {
        font-size: 1.8rem;
    }

    .produtos, .cupons-lista {
        gap: 15px;
        padding: 0 10px;
        scroll-snap-type: x mandatory;
    }

    .produtocarrosel, .cupom-card {
        flex: 0 0 calc(100% - 20px);
        margin: 0 10px;
        scroll-snap-align: center;
    }

    .produtocarrosel img {
        width: 240px;
        height: 240px;
    }

    .produtocarrosel h3 {
        font-size: 1.2rem;
    }

    .produtocarrosel p {
        font-size: 1rem;
    }

    .desconto-tag {
        font-size: 0.7rem;
        padding: 4px 12px;
        right: -8px;
        top: 12px;
    }

    .favorito {
        font-size: 1.3rem;
    }

    .navegacao .btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .opcao-cor, .opcao-tamanho {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .cupom-card {
        padding: 20px;
    }

    .cupom-icon {
        width: 120px;
        height: 60px;
    }

    .cupom-icon text {
        font-size: 14px;
    }

    .cupom-icon .fa-scissors {
        font-size: 18px;
    }

    .cupom-card p {
        font-size: 1rem;
    }

    .cart-feedback, .cupom-feedback, .favorito-feedback {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .error-modal {
        padding: 20px 25px;
    }

    .error-modal h3 {
        font-size: 1.3rem;
    }

    .error-modal p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner-text h1 {
        font-size: 1.7rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .banner-text a {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .cupom-card {
        padding: 15px;
    }

    .cupom-icon {
        width: 100px;
        height: 50px;
    }

    .cupom-icon text {
        font-size: 12px;
    }

    .cupom-icon .fa-scissors {
        font-size: 16px;
    }

    .cupom-card p {
        font-size: 0.95rem;
    }

    .desconto-tag {
        font-size: 0.65rem;
        padding: 3px 10px;
        right: -6px;
        top: 10px;
    }
}

.produtos::-webkit-scrollbar, .cupons-lista::-webkit-scrollbar {
    display: none;
}

.produtos, .cupons-lista {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.notify-button {
  position: fixed;
  bottom: 80px; /* Acima do botão "Voltar ao Topo" */
  right: 20px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #1E40AF, #2563EB);
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.notify-button:hover {
  transform: scale(1.05);
}