/* ==============================
   Variables & Base Styles
   ============================== */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --gray: #666666;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==============================
   Skip Link
   ============================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ==============================
   Top Banner
   ============================== */
.top-banner {
    background: #000000;
    color: var(--white);
    text-align: center;
    padding: 8px 20px;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==============================
   Header
   ============================== */
.header {
    background: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    text-align: center;
    padding-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    justify-content: center;
}

.desktop-nav a {
    font-weight: 400;
    font-size: 14px;
    color: var(--white);
    transition: var(--transition);
    text-transform: capitalize;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    right: 0;
}

.contact-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.contact-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.cart-btn {
    position: relative;
    font-size: 24px;
    color: var(--white);
    transition: var(--transition);
}

.cart-btn:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.mobile-menu-btn {
    display: block;
    font-size: 24px;
    color: var(--white);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: var(--light-color);
    padding: 20px 0;
    margin-top: 10px;
    border-radius: var(--border-radius);
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-color);
    font-weight: 500;
}

.mobile-nav a:hover {
    color: var(--primary-color);
    background: var(--white);
}

/* ==============================
   Cart Sidebar
   ============================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-size: 24px;
    font-weight: 700;
}

.close-cart {
    font-size: 24px;
    color: var(--gray);
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--dark-color);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.empty-cart i {
    font-size: 64px;
    color: var(--gray);
    margin-bottom: 20px;
}

.empty-cart p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==============================
   Hero Banner
   ============================== */
.hero-banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 767px) {
    .hero-banner {
        max-height: 400px;
    }
    
    .hero-image {
        height: 100%;
        object-fit: cover;
    }
}

/* ==============================
   Buttons
   ============================== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* ==============================
   Features Section
   ============================== */
.features-section {
    padding: 40px 0;
    background: #f8f8f8;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.feature-card {
    background: transparent;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    border: none;
}

.feature-card:hover {
    transform: none;
}

.feature-card i {
    font-size: 32px;
    color: #000000;
    margin-bottom: 10px;
    display: block;
}

.feature-card h3 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: #666666;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
}

/* ==============================
   Products Section
   ============================== */
.products-section {
    padding: 60px 0;
}

.products-section.bg-gray {
    background: var(--light-color);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

/* Grid para Lançamentos (2 colunas) */
.products-grid-lancamento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Card Simples (sem botão) */
.product-card-simple {
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.product-card-simple:hover {
    transform: translateY(-5px);
}

.product-image-simple {
    width: 100%;
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-image-simple img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info-simple {
    text-align: center;
}

.product-info-simple h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.product-price-main {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.product-price-old {
    font-size: 14px;
    color: #999999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.product-installment {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

/* Grid para Mais Vendidos (4 colunas) */
.products-grid-vendidos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Badge de Desconto */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000000;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.product-image-simple {
    position: relative;
}

@media (min-width: 640px) {
    .products-grid-vendidos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .products-grid-lancamento {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
    
    .products-grid-vendidos {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--success-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.promo {
    background: var(--danger-color);
}

.product-badge.atacado {
    background: var(--secondary-color);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-price {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* ==============================
   Instagram Section
   ============================== */
.instagram-section {
    padding: 60px 0;
    background: #ffffff;
}

.section-title-instagram {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-title-instagram i {
    color: #E1306C;
    font-size: 28px;
}

.instagram-feed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.instagram-post {
    background: var(--white);
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    overflow: hidden;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid #efefef;
}

.post-header .profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E1306C;
}

.post-header i {
    color: #E1306C;
    font-size: 20px;
}

.post-header span {
    font-weight: 600;
    color: var(--dark-color);
}

.post-image {
    width: 100%;
    aspect-ratio: 1;
    background: #fafafa;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-actions {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #efefef;
}

.post-actions i {
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.post-actions i:hover {
    color: #E1306C;
}

.post-caption {
    padding: 15px;
}

.post-caption p {
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.post-caption .hashtags {
    color: #00376b;
    font-size: 13px;
}

.instagram-cta {
    text-align: center;
}

.btn-instagram {
    display: inline-block;
    background: #000000;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-instagram:hover {
    background: #333333;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .instagram-feed {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* ==============================
   FAQ Section Dark
   ============================== */
.faq-section-dark {
    padding: 60px 0;
    background: #000000;
    color: var(--white);
}

.legal-notice {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    text-align: center;
}

.legal-notice p {
    color: #cccccc;
    font-size: 13px;
    line-height: 1.6;
}

.section-title-dark {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 14px;
    transition: var(--transition);
}

.faq-item-accordion.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item-accordion.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: #cccccc;
    line-height: 1.8;
    font-size: 14px;
}

/* ==============================
   Footer
   ============================== */
.footer {
    background: #000000;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-section p i {
    margin-right: 8px;
    color: var(--primary-color);
}

.payment-methods-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.payment-methods-footer img {
    height: 30px;
    width: auto;
    background: white;
    padding: 5px;
    border-radius: 4px;
}

.security-badges-footer {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.security-badges-footer img {
    height: 40px;
    width: auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==============================
   Animations
   ============================== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==============================
   Responsive Design
   ============================== */
@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .desktop-nav {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .section-title {
        font-size: 36px;
    }
}

/* ==============================
   Fixed Action Buttons
   ============================== */
.fixed-contact-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25d366;
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
}

.fixed-contact-btn:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.fixed-cart-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000000;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 998;
    transition: var(--transition);
    position: relative;
}

.fixed-cart-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.fixed-cart-btn .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .fixed-contact-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .fixed-cart-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ==============================
   Utilities
   ============================== */
.mt-6 {
    margin-top: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

.text-center {
    text-align: center;
}


/* ==============================
// Age Verification Modal
// ============================== */

.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* High z-index to be on top of everything */
}

.age-modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    width: 400px;
    text-align: center;
    color: #333;
}

.age-modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #000;
}

.age-modal-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.age-modal-actions button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.age-modal-actions .btn-primary {
    background-color: #ff0000; /* Assuming a primary color for Ignite */
    color: #fff;
}

.age-modal-actions .btn-primary:hover {
    background-color: #cc0000;
}

.age-modal-actions .btn-secondary {
    background-color: #ccc;
    color: #333;
}

.age-modal-actions .btn-secondary:hover {
    background-color: #bbb;
}

/* ==============================
// Cookie Consent Banner
// ============================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1;
}

.cookie-banner a {
    color: #ffcc00; /* Highlight color for links */
    text-decoration: underline;
}

.cookie-banner .btn-primary {
    background-color: #ff0000;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.cookie-banner .btn-primary:hover {
    background-color: #cc0000;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner .btn-primary {
        width: 100%;
    }
}

