/* Menu mobile lateral */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 0, 70, 0.85);
    z-index: 1000;
    display: none;
    
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 90vw;
    background: #5b189a;
    color: #fff;
    z-index: 1010;
    transform: translateX(-100%);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    padding: 32px 0 0 0;

}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu .menu-logo {
    width: 160px;
    margin: 0 auto 32px auto;
    display: block;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 18px 32px;
    border-bottom: 1px solid #7c3aed33;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-menu li:hover {
    background: #4b0e7a;
}

.mobile-menu li i {
    font-size: 1.3em;
}

@media (min-width: 992px) {

    .mobile-menu-btn,
    .mobile-menu-overlay,
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    margin-left: 10px;
    display: inline-block;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px !important;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px #ccc;
}

h2 {
    text-align: center;
}

label {
    display: block;
    margin-top: 15px;
}

input,
select,
button {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background: #0056b3;
}

.rifa-list {
    margin-top: 30px;
}

.rifa-item {
    background: #e9ecef;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.logout {
    background: #dc3545;
}

.produto-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #bbb;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.produto-btn:hover {
    background: #e2e6ea;
}

.barra_topo {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    background-color: #0056b3;
}

.menu_topo {
    width: 90%;
    margin-left: 5%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.menu_topo ul {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.menu_topo ul li {
    list-style: none;
}

.menu_topo ul li a {
    color: #fff;
    text-decoration: none;
    list-style: none;
}

.menu_topo ul li a:hover {
    transform: scale(1.05);
}

.step1-produto {
    background: #fff;
    color: #5b189a;
    font-weight: 700;
    font-size: 1.18rem;
    border-radius: 8px;
    box-shadow: 0 1px 6px #5b189a11;
    padding: 10px 0 8px 0;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: 0.01em;
}

.step1-card {
    background: #f4f4f8;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0001;
    padding: 24px 18px 18px 18px;
    width: 100% !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.step1-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.step1-preco-unit {
    background: #5b189a;
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    border-radius: 7px;
    padding: 4px 18px;
    margin-left: 8px;
}

.step1-sorteio {
    background: #f3e8ff;
    color: #5b189a;
    font-size: 1rem;
    border-radius: 7px;
    padding: 4px 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.step1-quantidades {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.step1-quant-card {
    background: #f7f7fa;
    border-radius: 12px;
    box-shadow: 0 1px 4px #0001;
    padding: 12px 0 8px 0;
    text-align: center;
    font-weight: 700;
    color: #2d2250;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    transition: border 0.15s, box-shadow 0.15s;
}

.step1-quant-card:hover {
    border: 2px solid #5b189a;
    box-shadow: 0 2px 8px #5b189a22;
}

.step1-quant-card .qtd {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.step1-quant-card .sel {
    font-size: 0.98rem;
    color: #5b189a;
    font-weight: 500;
}

.step1-quant-card.mais-vendido {
    background: #5b189a;
    color: #fff;
    border: 2px solid #5b189a;
}

.step1-quant-card.mais-vendido .sel {
    color: #fff;
}

.mv-label {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #5b189a;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px 8px 0 0;
    padding: 2px 18px 2px 18px;
    box-shadow: 0 2px 8px #5b189a22;
}

.step1-qtd-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border-radius: 8px;
    padding: 6px 0;
    margin-top: 8px;
}

.step1-qtd-btn {
    background: #fff;
    border: 2px solid #5b189a;
    color: #5b189a;
    font-size: 1.3rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.step1-qtd-btn:hover {
    background: #5b189a;
    color: #fff;
}

#numCotas {
    width: 80px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    background: transparent;
    margin: 0 4px;
}

.step1-qtd-min {
    text-align: center;
    font-size: 0.98rem;
    color: #888;
    margin-top: 2px;
}

.step1-bottom {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.step1-participar {
    background: #4b007a;
    color: #fff;
    font-weight: 700;
    font-size: 1.18rem;
    border-radius: 10px;
    padding: 12px 32px 8px 32px;
    box-shadow: 0 2px 8px #0002;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: background 0.15s;
}

.step1-participar:hover {
    background: #5b189a;
}

.step1-participar span {
    font-size: 1.25rem;
    font-weight: 900;
}

.step1-voltar {
    margin-top: 10px;
    width: 100%;
    background: #bbb;
    color: #333;
    border-radius: 8px;
    border: none;
    padding: 8px 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

@media (max-width: 600px) {
    .step1-card {
        padding: 12px 2vw 12px 2vw;
        max-width: 99vw;
    }

    .step1-quantidades {
        grid-template-columns: repeat(2, 1fr);
    }
}

.checkout-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px #0002;
    padding: 0 0 28px 0;
    /*max-width: 480px;*/
    width: 100%;
    margin: 32px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.checkout-header {
    font-size: 1.45rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 28px 10px 28px;
    border-radius: 16px 16px 0 0;
}

.checkout-header i {
    color: #4b007a;
    font-size: 1.2em;
}

.checkout-info {
    background: #d6f2ff;
    color: #1a3a5b;
    font-size: 1.08rem;
    border-radius: 8px;
    padding: 14px 18px 14px 18px;
    margin: 0 28px 18px 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.checkout-info i {
    color: #2196f3;
    font-size: 1.1em;
}

.checkout-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1.5px solid #ccc;
    font-size: 1.13rem;
    margin: 0 28px 18px 28px;
    outline: none;
    transition: border 0.15s;
}

.checkout-input:focus {
    border: 1.5px solid #5b189a;
}

.checkout-termo {
    font-size: 0.98rem;
    color: #444;
    margin: 0 28px 18px 28px;
}

.checkout-btn {
    width: calc(100% - 56px);
    margin: 0 28px;
    background: #4b007a;
    color: #fff;
    font-weight: 700;
    font-size: 1.18rem;
    border-radius: 10px;
    padding: 16px 0 12px 0;
    box-shadow: 0 2px 8px #0002;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.15s;
}

.checkout-btn:hover {
    background: #5b189a;
}

@media (max-width: 600px) {
    .checkout-card {
        max-width: 99vw;
    }

    .checkout-header,
    .checkout-info,
    .checkout-input,
    .checkout-termo,
    .checkout-btn {
        margin-left: 8px;
        margin-right: 8px;
    }

    .checkout-btn {
        width: calc(100% - 16px);
    }
}

#faq {
    background: #f7f7fa;
    /*#f7f7fa*/
    padding: 36px 10px 40px 10px;
    border-radius: 22px;
    margin: 56px auto 0 auto;
    max-width: 100%;
    box-shadow: 0 4px 32px #0001;
}

.faq-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3a256a;
    justify-content: center;
}

.faq-title span {
    font-size: 1.4em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0001;
    overflow: hidden;
    transition: box-shadow 0.18s;
}

.faq-item.open {
    box-shadow: 0 4px 18px #6d28d933;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d2250;
    padding: 20px 28px 20px 22px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.15s;
}

.faq-question:hover {
    background: #f3f3f7;
}

.faq-answer {
    display: none;
    padding: 0 28px 18px 28px;
    color: #4a4a5a;
    font-size: 1.05rem;
    line-height: 1.6;
    background: #fff;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeInFaq 0.25s;
}

@keyframes fadeInFaq {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-arrow {
    margin-left: 16px;
    font-size: 1.25em;
    color: #a18ad6;
    transition: transform 0.22s;
    display: flex;
    align-items: center;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: #5b189a;
}

@media (max-width: 600px) {
    #faq {
        padding: 24px 2vw 28px 2vw;
        max-width: 98vw;
    }

    .faq-question,
    .faq-answer {
        padding-left: 12px;
        padding-right: 12px;
    }
}

footer {
    background: #5B189A;
    border-top: 1px solid #dee2e6;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

.checkout-input-group {
    position: relative;
    margin: 0 28px 18px 28px;
}

.checkout-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #5b189a;
    font-size: 1.2em;
    z-index: 2;
}

.checkout-input-group .checkout-input {
    padding-left: 38px;
}