* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabeçalho */
.header {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 50%, #66BB6A 100%);
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Garante que header não sobreponha popup */
.payment-popup.active ~ .header,
body:has(.payment-popup.active) .header {
    z-index: 1 !important;
}

.header-banner {
    text-align: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    margin-bottom: 5px;
    animation: pulse 2s infinite;
}

.tagline {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.main-nav {
    margin-top: 15px;
    border-top: 2px solid rgba(255,255,255,0.3);
    padding-top: 15px;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 0 20px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    display: inline-block;
}

.nav-menu li a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Banner Principal */
.hero-banner {
    background: linear-gradient(180deg, #4A90E2 0%, #5BA3F5 40%, #FFD93D 70%, #FF8E53 100%);
    padding: 80px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.banner-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,50 Q30,30 40,50 T60,50' stroke='rgba(255,255,255,0.2)' stroke-width='2' fill='none'/%3E%3Ccircle cx='25' cy='45' r='3' fill='rgba(255,255,255,0.25)'/%3E%3Ccircle cx='35' cy='45' r='3' fill='rgba(255,255,255,0.25)'/%3E%3Cpath d='M30,55 L25,60 L35,60 Z' fill='rgba(255,255,255,0.2)'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    background-repeat: repeat;
    opacity: 0.5;
    z-index: 1;
}

.banner-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.15) 3px, transparent 3px),
        radial-gradient(circle, rgba(255,255,255,0.1) 1.5px, transparent 1.5px);
    background-size: 50px 50px, 25px 25px;
    background-position: 0 0, 25px 25px;
    opacity: 0.6;
}

.banner-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30,20 Q35,15 40,20 Q35,25 30,20' fill='rgba(255,255,255,0.15)'/%3E%3Cpath d='M30,25 Q35,30 40,25' stroke='rgba(255,255,255,0.15)' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-size: 70px 70px;
    background-repeat: repeat;
    opacity: 0.3;
}

.banner-cats-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cat-emoji {
    position: absolute;
    font-size: 3.5rem;
    opacity: 0.35;
    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.cat-1 {
    top: 8%;
    left: 8%;
    animation-delay: 0s;
    font-size: 4rem;
}

.cat-2 {
    top: 25%;
    right: 10%;
    animation-delay: 1.5s;
    font-size: 3rem;
}

.cat-3 {
    bottom: 20%;
    left: 12%;
    animation-delay: 3s;
    font-size: 3.5rem;
}

.cat-4 {
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.8s;
    font-size: 2.5rem;
}

.cat-5 {
    bottom: 25%;
    right: 18%;
    animation-delay: 2.2s;
    font-size: 3.2rem;
}

.cat-6 {
    bottom: 12%;
    left: 48%;
    transform: translateX(-50%);
    animation-delay: 1.8s;
    font-size: 2.8rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.product-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.product-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.badge-sold {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid #fff;
}

.sold-count {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Características */
.features {
    padding: 60px 20px;
    background: #fff;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Ofertas */
.offers {
    padding: 60px 20px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.offer-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    transition: transform 0.3s ease;
    border: 3px solid transparent;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.offer-card.featured {
    border: 3px solid #FF6B6B;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.product-image-container {
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    min-height: 200px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.product-image-container.single {
    justify-content: center;
}

.product-image-container.double {
    justify-content: center;
    flex-direction: column;
    padding: 25px 15px;
    gap: 20px;
}

.product-image-container.triple {
    justify-content: space-around;
    flex-wrap: wrap;
}

.product-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;
}

.product-image-container.single .product-image {
    max-width: 250px;
    max-height: 250px;
}

.product-image-container.double .product-image {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
}

.product-image-container.double .product-image:first-child {
    transform: rotate(-3deg);
}

.product-image-container.double .product-image:last-child {
    transform: rotate(3deg);
}

.product-image-container.triple .product-image {
    max-width: 140px;
    max-height: 140px;
    flex: 0 0 calc(33.333% - 10px);
}

.product-image-container.triple .product-image:nth-child(1) {
    transform: rotate(-8deg);
}

.product-image-container.triple .product-image:nth-child(2) {
    transform: rotate(0deg);
}

.product-image-container.triple .product-image:nth-child(3) {
    transform: rotate(8deg);
}

.product-image-container.double .product-image:hover {
    transform: scale(1.05) rotate(var(--rotation, 0deg)) !important;
    z-index: 10;
    position: relative;
}

.product-image-container.double .product-image:first-child:hover {
    transform: scale(1.05) rotate(-5deg) !important;
}

.product-image-container.double .product-image:last-child:hover {
    transform: scale(1.05) rotate(5deg) !important;
}

.product-image-container.single .product-image:hover,
.product-image-container.triple .product-image:hover {
    transform: scale(1.05) !important;
    z-index: 10;
    position: relative;
}

.offer-header {
    text-align: center;
    margin-bottom: 20px;
}

.offer-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.price-container {
    text-align: center;
    margin-bottom: 25px;
}

.current-price {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF6B6B;
    margin-bottom: 5px;
}

.old-price {
    display: block;
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.color-selector {
    margin-bottom: 20px;
}

.color-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.color-options {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.color-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.color-btn:hover {
    border-color: #4CAF50;
    background: #E8F5E9;
}

.color-btn.active {
    border-color: #4CAF50;
    background: #4CAF50;
    color: #fff;
}

.selected-color {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.selected-color span {
    font-weight: 700;
    color: #4CAF50;
}

.quantity-selector {
    margin-bottom: 25px;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #4CAF50;
    border-radius: 50%;
    background: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4CAF50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #4CAF50;
    color: #fff;
}

.quantity {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    min-width: 30px;
    text-align: center;
}

.buy-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,107,107,0.6);
}

.buy-btn:active {
    transform: scale(0.98);
}

/* Especificações */
.specifications {
    padding: 60px 20px;
    background: #fff;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.spec-item {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.spec-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.spec-item p {
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.6;
}

/* Entrega */
.delivery {
    padding: 60px 20px;
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 100%);
}

.delivery-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.delivery-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.8;
}

.delivery-content .highlight {
    background: linear-gradient(135deg, #FFE082 0%, #FFD54F 100%);
    padding: 20px;
    border-radius: 10px;
    font-weight: 600;
    border-left: 5px solid #FF6B6B;
}

/* Avaliações */
.reviews {
    padding: 60px 20px;
    background: #fff;
}

.write-review-btn {
    display: block;
    margin: 0 auto 40px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76,175,80,0.4);
}

.write-review-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(76,175,80,0.6);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: linear-gradient(135deg, #F5F5F5 0%, #EEEEEE 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 700;
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-date {
    font-size: 0.9rem;
    color: #999;
}

.review-text {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

/* Rodapé */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 20px 20px;
    text-align: center;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

.copyright {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #FF6B6B;
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.star-rating {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star:hover,
.star.active {
    color: #FFD700;
}

.submit-review-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(76,175,80,0.4);
}

/* Páginas de Políticas */
.policy-page {
    padding: 60px 20px;
    background: #fff;
    min-height: calc(100vh - 300px);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
}

.last-update {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-style: italic;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4CAF50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1rem;
}

.policy-content ul,
.policy-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
    color: #555;
}

.policy-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.policy-content strong {
    color: #2c3e50;
    font-weight: 700;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 4px solid #4CAF50;
}

.contact-info h3 {
    color: #4CAF50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(76,175,80,0.4);
}

/* Checkout */
.checkout-page {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
}

.checkout-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 5px;
}

.checkout-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 25px;
    align-items: start;
}

.checkout-main {
    min-width: 0;
}

.checkout-summary {
    position: sticky;
    top: 140px;
}

.checkout-steps {
    margin-bottom: 20px;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.step-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: 2px solid rgba(76,175,80,0.35);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #2c3e50;
}

.step-dot.active {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(76,175,80,0.35);
}

.step-line {
    height: 4px;
    width: 70px;
    background: rgba(76,175,80,0.25);
    border-radius: 999px;
}

.step-labels {
    display: flex;
    justify-content: space-between;
    max-width: 520px;
    margin: 10px auto 0;
    color: rgba(44,62,80,0.8);
    font-weight: 700;
    font-size: 0.95rem;
}

.step-label.active {
    color: #2c3e50;
}

.checkout-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
    margin-bottom: 20px;
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
}

.step-description {
    color: #666;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.field-hint {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 0.9rem;
}

.checkout-card input,
.checkout-card textarea,
.checkout-card select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e3e6ea;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.checkout-card input:focus,
.checkout-card textarea:focus,
.checkout-card select:focus {
    outline: none;
    border-color: #4CAF50;
}

.checkout-card input[readonly] {
    background: #f8f9fa;
    cursor: not-allowed;
}

.step-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-btn {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255,107,107,0.35);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255,107,107,0.45);
}

.secondary-btn {
    background: #f1f3f5;
    color: #2c3e50;
    border: 2px solid #e3e6ea;
}

.secondary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.secondary-link {
    align-self: center;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    padding: 10px 0;
}

.secondary-link:hover {
    text-decoration: underline;
}

.shipping-box {
    margin-top: 22px;
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 100%);
    padding: 20px;
    border-radius: 16px;
}

.shipping-box h4 {
    margin-bottom: 12px;
    color: #2c3e50;
    font-size: 1.2rem;
}

.shipping-options {
    display: grid;
    gap: 12px;
}

.shipping-option {
    background: rgba(255,255,255,0.75);
    border: 2px solid rgba(44,62,80,0.10);
    border-radius: 14px;
    padding: 14px;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    cursor: pointer;
}

.shipping-option input {
    margin-top: 4px;
}

.shipping-details .shipping-top {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    color: #2c3e50;
}

.shipping-details .shipping-mid {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: rgba(44,62,80,0.85);
    font-weight: 700;
}

.shipping-note {
    margin-top: 12px;
    color: rgba(44,62,80,0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

.pay-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 18px;
}

.pay-badge {
    background: #2c3e50;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
}

.pay-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    padding-left: 12px;
}

.pay-discount {
    color: #2c3e50;
    font-weight: 800;
}

.pay-amount {
    font-size: 1.6rem;
    font-weight: 900;
    color: #FF6B6B;
    white-space: nowrap;
}

.pix-box {
    background: #fff;
    border: 2px dashed rgba(44,62,80,0.15);
    border-radius: 16px;
    padding: 18px;
}

.pix-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

.pix-top > div:first-child {
    text-align: center;
}

.pix-top h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pix-top .field-hint {
    color: #666;
    font-size: 1rem;
}

/* Botão Gerar PIX - Grande e Chamativo */
#generatePixBtn {
    padding: 20px 40px !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 50%, #66BB6A 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(76,175,80,0.5) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    min-width: 200px !important;
}

#generatePixBtn::before {
    content: '💳';
    margin-right: 8px;
    font-size: 1.4rem;
}

#generatePixBtn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 35px rgba(76,175,80,0.7) !important;
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 50%, #66BB6A 100%) !important;
}

#generatePixBtn:active {
    transform: translateY(-1px) scale(1.02) !important;
}

#generatePixBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.pix-code {
    margin-top: 14px;
    width: 100%;
    resize: none;
    border-radius: 12px;
    border: 2px solid #e3e6ea;
    padding: 12px;
    font-family: 'Poppins', sans-serif;
}

.pix-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.pix-qr {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pix-qr img {
    width: 250px;
    height: 250px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    display: block;
    margin: 0 auto;
}

.how-it-works {
    margin-top: 20px;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    padding: 18px;
    border-radius: 16px;
}

.how-it-works h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.how-steps {
    margin-left: 22px;
    color: rgba(44,62,80,0.9);
    font-weight: 600;
    line-height: 1.9;
}

.summary-card {
    background: #fff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

.summary-card h3 {
    margin-bottom: 14px;
    color: #2c3e50;
}

.summary-product {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.summary-img {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.summary-name {
    font-weight: 900;
    color: #2c3e50;
}

.summary-meta {
    color: #666;
    font-size: 0.95rem;
    margin-top: 2px;
}

/* Orderbump - Areia Sanitária */
.orderbump-box {
    margin: 20px 0;
    padding: 0;
}

.orderbump-content {
    position: relative;
}

.orderbump-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.orderbump-label {
    display: block;
    cursor: pointer;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    border: 3px solid #FFA726;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,167,38,0.2);
}

.orderbump-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,167,38,0.3);
    border-color: #FF9800;
}

.orderbump-checkbox:checked + .orderbump-label {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-color: #4CAF50;
    box-shadow: 0 6px 20px rgba(76,175,80,0.4);
}

.orderbump-checkbox:checked + .orderbump-label::before {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #4CAF50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(76,175,80,0.3);
}

.orderbump-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.orderbump-title {
    font-size: 1rem;
    font-weight: 700;
    color: #FF6B6B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orderbump-product-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.orderbump-image {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    flex-shrink: 0;
    border: 2px solid rgba(255,167,38,0.2);
    transition: transform 0.3s ease;
    display: block !important;
    visibility: visible !important;
}

.orderbump-label:hover .orderbump-image {
    transform: scale(1.05);
}

.orderbump-checkbox:checked + .orderbump-label .orderbump-image {
    border-color: #4CAF50;
    box-shadow: 0 3px 10px rgba(76,175,80,0.25);
}

.orderbump-product {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.orderbump-product strong {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 700;
}

.orderbump-rating {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.orderbump-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
}

.orderbump-old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.orderbump-new-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4CAF50;
}

.summary-lines {
    margin-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 14px;
    display: grid;
    gap: 10px;
}

.sum-line,
.sum-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sum-line span {
    color: rgba(44,62,80,0.85);
    font-weight: 700;
}

.sum-line.discount strong {
    color: #4CAF50;
}

.sum-total {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.sum-total span {
    font-weight: 900;
    color: #2c3e50;
}

.sum-total strong {
    font-size: 1.4rem;
    font-weight: 900;
    color: #FF6B6B;
}

.trust-box {
    margin-top: 16px;
    display: grid;
    gap: 8px;
    color: rgba(44,62,80,0.85);
    font-weight: 700;
}

/* Responsivo */
@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-subtitle {
        font-size: 1.4rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-card.featured {
        transform: scale(1);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 15px;
        padding: 0 10px;
    }
    
    .nav-menu li a {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .policy-content {
        padding: 0 10px;
    }
    
    .policy-content h3 {
        font-size: 1.3rem;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
        top: auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .step-labels {
        max-width: 100%;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .product-image-container {
        min-height: 150px;
        padding: 15px;
        gap: 10px;
    }
    
    .product-image-container.single .product-image {
        max-width: 180px;
        max-height: 180px;
    }
    
    .product-image-container.double {
        padding: 20px 10px;
        gap: 15px;
    }
    
    .product-image-container.double .product-image {
        max-width: 150px;
        max-height: 150px;
    }
    
    .product-image-container.triple .product-image {
        max-width: 100px;
        max-height: 100px;
        flex: 0 0 calc(50% - 5px);
    }
    
    .product-image-container.triple {
        justify-content: center;
    }
    
    /* Botão Gerar PIX no mobile */
    #generatePixBtn {
        padding: 18px 30px !important;
        font-size: 1.1rem !important;
        min-width: 100% !important;
        width: 100% !important;
    }
    
    .pix-top {
        gap: 15px;
    }
    
    /* Orderbump responsivo */
    .orderbump-product-wrapper {
        gap: 12px;
    }
    
    .orderbump-image {
        width: 70px;
        height: 70px;
    }
    
    .orderbump-product strong {
        font-size: 1rem;
    }
}

/* Páginas de Ofertas Sequenciais */
.oferta-sequencial {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    min-height: calc(100vh - 200px);
}

.oferta-badge {
    text-align: center;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: inline-block;
    width: 100%;
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
}

.oferta-content {
    max-width: 800px;
    margin: 0 auto;
}

.oferta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
}

.oferta-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.oferta-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.oferta-product-image {
    flex-shrink: 0;
}

.oferta-product-image img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 15px;
}

.oferta-details {
    flex: 1;
}

.oferta-price-section {
    margin-bottom: 25px;
}

.oferta-old-price {
    display: block;
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.oferta-new-price {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF6B6B;
    margin-bottom: 10px;
}

.oferta-discount {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
}

.oferta-features {
    margin: 25px 0;
    display: grid;
    gap: 10px;
}

.oferta-feature {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.oferta-buy-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

.oferta-buy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255,107,107,0.6);
}

.oferta-note {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-top: 15px;
}

/* Oferta de Ração */
.racao-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.racao-option {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.racao-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.racao-option.selected {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.racao-option.featured {
    border-color: #FF6B6B;
    transform: scale(1.05);
}

.popular-badge-racao {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.racao-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 10px;
}

.racao-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.racao-price {
    font-size: 2rem;
    font-weight: 800;
    color: #FF6B6B;
    margin-bottom: 15px;
}

.racao-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.racao-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(76,175,80,0.4);
}

.oferta-pix-section {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 30px;
}

.oferta-pix-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.pix-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF6B6B;
    margin-bottom: 20px;
}

/* Checkout Oferta */
.checkout-oferta-page {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    min-height: calc(100vh - 200px);
}

.checkout-oferta-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.checkout-oferta-card h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.oferta-pix-amount {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF6B6B;
    margin-bottom: 30px;
}

.payment-status {
    margin-top: 20px;
    padding: 15px;
    background: #E8F5E9;
    border-radius: 10px;
    text-align: center;
}

#statusMessage {
    font-weight: 700;
    color: #4CAF50;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .oferta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .oferta-title {
        font-size: 1.8rem;
    }
    
    .racao-options {
        grid-template-columns: 1fr;
    }
    
    .racao-option.featured {
        transform: scale(1);
    }
}

/* Popup de Pagamento */
.payment-popup {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    overflow-y: auto;
}

/* Esconde botão Gerar PIX quando popup estiver ativo */
body:has(.payment-popup.active) #generatePixBtn,
.payment-popup.active ~ * #generatePixBtn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Garante que nada sobreponha o popup */
.payment-popup.active {
    z-index: 99999 !important;
}

/* Garante que elementos do popup estejam acima de tudo */
.payment-popup.active .payment-popup-content {
    z-index: 100000 !important;
    position: relative !important;
}

/* Garante que elementos dentro do popup sejam clicáveis */
.payment-popup.active .payment-popup-content * {
    position: relative;
    z-index: auto;
}

/* Força que nada sobreponha quando popup está ativo */
body:has(.payment-popup.active) .header,
body:has(.payment-popup.active) .checkout-card,
body:has(.payment-popup.active) .summary-card,
body:has(.payment-popup.active) .pix-box {
    z-index: 1 !important;
    position: relative !important;
}

.payment-popup.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 99999 !important;
}

/* Remove estilos conflitantes - PIX agora está dentro do popup */

.payment-popup-content {
    background: white !important;
    border-radius: 20px !important;
    padding: 30px !important;
    max-width: 550px !important;
    width: 90% !important;
    text-align: center !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    position: relative !important;
    z-index: 100000 !important;
    margin: 20px auto;
}

.payment-popup-header {
    margin-bottom: 20px;
}

.payment-popup-pix-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e3e6ea;
}

.payment-popup-pix-section h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.2rem;
}

.popup-pix-code {
    width: 100%;
    resize: none;
    border-radius: 12px;
    border: 2px solid #e3e6ea;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    margin-bottom: 15px;
    min-height: 80px;
    position: relative !important;
    z-index: auto !important;
    pointer-events: auto !important;
    background: white !important;
    color: #333 !important;
}

.popup-copy-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative !important;
    z-index: auto !important;
    pointer-events: auto !important;
}

.popup-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.popup-qr-code {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    position: relative !important;
    z-index: auto !important;
    pointer-events: auto !important;
}

.popup-qr-code img {
    width: 250px;
    height: 250px;
    max-width: 100%;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    position: relative !important;
    z-index: auto !important;
    pointer-events: auto !important;
}

.payment-popup.active .payment-popup-content {
    transform: scale(1);
}

.payment-popup-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.payment-popup-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.payment-popup-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.payment-popup-loader {
    margin: 20px 0;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Success Checkmark */
.payment-popup-success {
    margin: 20px 0;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}

.check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: checkmark 0.8s;
}

.check-icon::before,
.check-icon::after {
    content: '';
    height: 4px;
    background: #4CAF50;
    position: absolute;
    transform: scaleX(0) rotate(45deg);
    animation: checkmark 0.8s ease-in-out;
}

.icon-line {
    height: 4px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(76, 175, 80, 0.2);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: white;
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 46px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.payment-popup.success .payment-popup-content {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.payment-popup.success h3 {
    color: #2e7d32;
}

.payment-popup.error .payment-popup-content {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
}

.payment-popup.error h3 {
    color: #c62828;
}
