:root {
    --bg-color: #121212;
    --card-bg: #1F1F1F;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --accent-color: #1B5E20;
    --accent-hover: #2E7D32;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--card-bg);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: -0.5px;
}

.search-bar {
    display: flex;
    background-color: var(--bg-color);
    border-radius: 25px;
    padding: 5px 15px;
    border: 1px solid #333;
    flex-grow: 1;
    max-width: 400px;
}

.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 8px;
    width: 100%;
    outline: none;
}

.search-bar button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-bar button:hover {
    color: var(--accent-color);
}

/* Hero Carousel */
.hero-carousel {
    margin-top: 30px;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: var(--card-bg);
}

.hero-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide.active {
    display: block;
    animation: fadeHero 1s;
}

@keyframes fadeHero {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 10px;
    color: #fff;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ddd;
}

.hero-price-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-btn {
    display: inline-block;
    background-color: white;
    color: var(--bg-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.hero-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Products Grid */
.products-grid,
#catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #2a2a2a;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-price {
    display: flex;
    flex-direction: column;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid #333;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-details {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: auto;
}

.btn-details:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Thumbnails */
.thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background-color: #1a1a1a;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom-left-radius: var(--border-radius);
}

@media (min-width: 768px) {
    .thumbnails-container {
        border-bottom-left-radius: var(--border-radius);
        border-bottom-right-radius: 0;
    }

    .modal-body {
        flex-direction: row;
    }
}

.thumbnail {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
    background-color: #333;
    flex-shrink: 0;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    opacity: 1;
    gap: 20px;
}

.modal-image {
    flex: 1;
    background-color: #1a1a1a;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.modal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.category-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    width: fit-content;
}

#modalDesc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Carousel Container (Modal) */
.carousel-container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    display: flex;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.prev {
    left: 0 !important;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0 !important;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(27, 94, 32, 0.8);
}

.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 5;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--accent-color);
}

.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

/* Hero Carousel Controls */
.hero-prev,
.hero-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.hero-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: rgba(27, 94, 32, 0.8);
}

.hero-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 5;
}

.hero-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background-color: var(--accent-color);
}

.hero-loading {
    text-align: center;
    padding: 100px;
    color: var(--text-secondary);
}

.loading {
    text-align: center;
    grid-column: 1 / -1;
    padding: 50px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid #333;
}

footer p {
    color: var(--text-secondary);
    margin-top: 15px;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.payment-icons span {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-icons span:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

/* Support Button (Header) */
.btn-support {
    background-color: transparent;
    border: 1px solid #25d366;
    color: #25d366;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
}



/* Modal Restored & Redesigned */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #1a1a1a;
    border-radius: 16px;
    width: 95%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    animation: modalFadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Importante para o rodapé fixo */
}

.modal-main-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

@media (min-width: 768px) {
    .modal-main-body {
        display: flex;
        gap: 30px;
    }
}

.modal-footer-sticky {
    background-color: #151515;
    padding: 15px 25px;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.3);
}

.footer-price-info {
    display: flex;
    flex-direction: column;
}

.price-card-label {
    color: #ff5252;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.price-pix-label {
    color: #00c853;
    font-size: 0.9rem;
    font-weight: 800;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-buy-now {
    background: #7b1fa2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.4);
}

.btn-buy-now:hover {
    background: #8e24aa;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.6);
}

.btn-icon-action {
    background: #333;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon-action:hover {
    background: #444;
    transform: scale(1.1);
}

.btn-whatsapp-action {
    background: #00c853;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp-action:hover {
    background: #00e676;
    transform: scale(1.1);
}

/* Modal Gallery & Info */
.modal-image {
    flex: 1.2;
    min-width: 0;
}

.modal-info {
    flex: 1;
    padding-top: 15px;
}

#modalTitle {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2;
}

#modalDesc {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.carousel-container {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #ff5252;
}

@media (max-width: 767px) {
    .modal-footer-sticky {
        padding: 12px 15px;
    }
    
    .btn-buy-now {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .btn-icon-action, .btn-whatsapp-action {
        width: 45px;
        height: 45px;
    }
    
    .modal-main-body {
        padding: 15px;
    }
}



.hero-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: rgba(27, 94, 32, 0.8);
}

.hero-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 5;
}

.hero-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background-color: var(--accent-color);
}

.hero-loading {
    text-align: center;
    padding: 100px;
    color: var(--text-secondary);
}

.loading {
    text-align: center;
    grid-column: 1 / -1;
    padding: 50px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid #333;
}

footer p {
    color: var(--text-secondary);
    margin-top: 15px;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.payment-icons span {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-icons span:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Support Button (Header) */
.btn-support {
    background-color: transparent;
    border: 1px solid #25d366;
    color: #25d366;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
}



/* Modal Restored */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    color: var(--accent-color);
}

/* Product Price Styles */
.price-original {
    color: #ff4444;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 5px;
}

.price-discount {
    color: #00cc66;
    font-size: 1.3rem;
    font-weight: bold;
}

.price-regular {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .price-action {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        text-align: center;
    }

    .price-action .price {
        margin-bottom: 10px;
    }

    .price-action>div {
        width: 100%;
        justify-content: center;
    }

    .price-action .btn-primary {
        width: 100%;
    }
}

/* Increased spacing for modal title */
.modal-info h2 {
    margin-bottom: 30px;
}

/* Benefits Bar */
.benefits-bar {
    background-color: #1a1a1a;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.benefits-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

.benefit-item svg {
    color: var(--accent-color);
}

.benefit-item-link {
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.benefit-item-link:hover {
    background-color: var(--accent-color);
    color: white !important;
    transform: translateY(-2px);
}

.benefit-item-link:hover svg {
    color: white;
}

/* Testimonials Section */
.testimonials-section {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #333;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #ccc;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--accent-color);
    font-weight: 600;
    text-align: right;
}

@media (max-width: 768px) {
    .benefits-content {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        width: 100%;
        justify-content: center;
    }
}