@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

:root {
    /* Paleta Gourmet Bakery */
    --primary: #C47335;          /* Caramelo / Canela Quente */
    --primary-light: #E8A96A;    /* Caramelo claro */
    --primary-bg: #FDF8EC;       /* Creme Suave - fundo principal */
    --primary-pastel: #F5EDD8;   /* Creme mais escuro - para destaques */
    --text-dark: #3B1F0A;        /* Marrom Chocolate Profundo */
    --text-light: #7A5840;       /* Marrom médio - texto secundário */
    --white: #FFFFFF;
    --shadow: 0 4px 24px rgba(59, 31, 10, 0.08);
    --shadow-hover: 0 12px 40px rgba(59, 31, 10, 0.16);
    --radius: 18px;
    --transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    background-color: var(--primary-bg);
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    background-image: url("data:image/svg+xml,%3Csvg width='304' height='304' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v2h-50v-96h12.1zm61.9-80a5 5 0 1 1 0-2h-86.2a5 5 0 1 1 0 2h86.2zm-256-48a5 5 0 1 1 0-2H0v2h42.1zm109.8 114a5 5 0 1 1 0-2h-86.2a5 5 0 1 1 0 2h86.2zm-256-48a5 5 0 1 1 0-2H0v2h42.1zm109.8 114a5 5 0 1 1 0-2h-86.2a5 5 0 1 1 0 2h86.2zm-256-48a5 5 0 1 1 0-2H0v2h42.1z' fill='%23888888' fill-opacity='0.12' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Global Fix to prevent horizontal overflow */
.admin-wrapper, main, section, div, .container {
    max-width: 100%;
    box-sizing: border-box;
}

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

/* Header */
.header {
    background-color: var(--primary-bg);
    border-bottom: 1px solid rgba(196, 115, 53, 0.2);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(59, 31, 10, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    transition: var(--transition);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo-img {
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--text-dark);
    color: var(--primary-light);
    box-shadow: 0 4px 18px rgba(59, 31, 10, 0.25);
}

.btn-primary:hover {
    background-color: #2a1506;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 31, 10, 0.35);
    color: var(--primary);
}

.btn-add {
    background-color: var(--text-dark);
    color: var(--primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding: 0;
    font-weight: 700;
    transition: var(--transition);
}

.btn-add:hover {
    background-color: var(--primary);
    color: var(--text-dark);
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(196, 115, 53, 0.4);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Google Button */
.btn-google {
    background: white;
    color: #444;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    margin-top: 15px;
    font-size: 15px;
}

.btn-google:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.btn-google img {
    width: 20px;
    height: 20px;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #999;
    font-size: 13px;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.auth-divider:not(:empty)::before { margin-right: 15px; }
.auth-divider:not(:empty)::after { margin-left: 15px; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn {
    background: var(--text-dark);
    border: none;
    color: var(--primary-light);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(59, 31, 10, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-btn:hover {
    background-color: var(--primary);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 115, 53, 0.35);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
    margin-right: -5px; /* Compensa o padding para alinhar visualmente */
}

.menu-close-btn {
    display: none;
}

/* Main Nav */
.main-nav {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 3px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--text-dark);
}

.nav-menu a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .main-nav { 
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-bg);
        border-top: 2px solid var(--primary-pastel);
        transition: 0.3s;
        display: block;
        z-index: 1000;
    }

    .main-nav.active {
        left: 0;
    }

    .menu-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 40px;
        color: var(--text-dark);
        cursor: pointer;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        padding-top: 181px;
    }

    .nav-menu a {
        font-size: 20px;
        color: var(--text-dark);
    }

    .mobile-menu-btn { 
        display: block; 
    }
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(253, 248, 236, 0.5); /* Reduced from 0.82 */
    backdrop-filter: blur(1px); /* Reduced from 3px */
    z-index: 0;
}

.hero h2 {
    font-family: var(--font-display);
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.7;
}

.hero.has-bg-image h2, 
.hero.has-bg-image p {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-wrap: wrap; /* Fix: Allow buttons to wrap on mobile */
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--text-dark);
}

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

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--primary-pastel);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none; /* GSAP handles this */
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--white);
    border-top: 1px solid var(--primary-pastel);
    border-bottom: 1px solid var(--primary-pastel);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    display: block;
    margin-bottom: 12px;
}

.about-text {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
}

.about-content .section-title {
    margin-bottom: 15px;
    margin-top: 0;
}

.about-text p {
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img-wrapper img {
    height: auto;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
    object-fit: cover;
    max-width: 100% !important; /* Ensure it never overflows */
}

.about-img-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary-pastel);
    border-radius: 50%;
    z-index: -1;
}

.about-img-placeholder {
    width: 100%;
    height: 400px;
    background: var(--primary-pastel);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

/* Menu Section */
.menu-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(196, 115, 53, 0.1);
    backface-visibility: hidden;
    transform: translateZ(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 220px;
    overflow: hidden;
    background-color: var(--primary-pastel);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none; /* GSAP handles this */
}

.product-card:hover .product-image img {
    transform: scale(1.07);
}

.product-info {
    padding: 22px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.product-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}

.price {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    font-family: var(--font-display);
    display: inline-block;
}

/* Modal Base */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(8px);
}

/* Cart Modal Styling */
.modal-content {
    background-color: var(--white);
    width: 100%;
    max-width: 500px;
    height: 100%;
    float: right;
    padding: 40px;
    overflow-y: auto;
    position: relative;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.modal-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-content h2::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--primary-pastel);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cart-item-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--primary-pastel);
    padding: 8px 15px;
    border-radius: 50px;
}

.btn-qty {
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-dark);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.btn-qty:hover { color: var(--primary); transform: scale(1.2); }

.checkout-form {
    margin-top: 40px;
}

.checkout-form input, .checkout-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    background: #fafafa;
    transition: var(--transition);
}

.checkout-form input:focus, .checkout-form textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.1);
    outline: none;
}

/* Login Required Section in Cart */
.login-required-box {
    background: var(--primary-bg);
    border: 2px dashed var(--primary);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    margin-top: 30px;
}

.login-required-box h4 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 18px;
}

.login-required-box p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.login-required-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0;
    background: var(--text-dark);
    color: var(--primary-pastel);
}

footer p {
    color: var(--primary-pastel);
    opacity: 0.85;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-btn {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(196, 115, 53, 0.3);
}

.social-btn:hover {
    background: var(--primary);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Success/Cancel Pages Styling */
.center-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--primary-pastel);
    padding: 20px;
}

.message-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 500px;
    width: 100%;
}

.icon-success {
    font-size: 80px;
    margin-bottom: 20px;
}

.message-card h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.message-card p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 18px;
}

.mt-4 {
    margin-top: 30px;
}
/* Responsividade Extra */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        width: 100%;
        max-width: none;
        padding: 20px;
    }

    .message-card {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-btns .btn {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .cart-btn span {
        display: none; /* Esconde texto "0" ou "Total" no mobile pequeno se precisar */
    }
}

/* Google Maps Autocomplete Fixes */
.pac-container {
    z-index: 9999 !important;
    border-radius: 12px;
    margin-top: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    font-family: 'Outfit', sans-serif;
    background-color: #fff;
}

.pac-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-icon {
    margin-top: 0;
}


/* NotificaÃÂÃÂÃÂÃÂ§ÃÂÃÂÃÂÃÂµes Premium */
.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
}

.notification.success { background-color: var(--notification-success); }
.notification.error { background-color: var(--notification-error); }

.notification i {
    font-size: 20px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Ajuste do Header e Topo Dinâmico */
html {
    background-color: var(--primary);
}

body {
    padding-top: 181px;
    background-color: var(--primary-bg);

    background-repeat: no-repeat;
    background-attachment: scroll;
}

.header {
    background-color: var(--primary);
    padding: 12px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
}

.alerts-container {
    position: sticky;
    top: 181px;
    z-index: 1000;
    width: 100%;
}

/* Responsividade Global */
@media (max-width: 768px) {
    body { 
        padding-top: 82px !important; 
    }
    
    .header { 
        padding: 16px 0 !important;
    }
    
    .logo-img {
        height: 50px !important;
    }

    .container {
        padding: 0 15px;
    }

    .hero h2 { font-size: 30px; }
    .hero p { font-size: 15px; }
    
    .modal-content {
        padding: 20px !important;
    }
    
    .cart-item {
        padding: 15px 0;
    }
    
    .cart-summary {
        margin-bottom: 30px;
    }

    /* Grids Responsivos */
    .products-grid, .gallery-grid, .about-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.header {
    background-color: var(--primary);
    padding: 12px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
}

.alerts-container {
    position: sticky;
    top: 181px;
    z-index: 1000;
    width: 100%;
}

@media (max-width: 768px) {
    .alerts-container {
        top: 82px;
    }
}


/* SAGA FUTURE TECH THEME OVERRIDES */
:root {
    --primary: #2563EB;
    --primary-light: #3B82F6;
    --primary-bg: #0B0F19;
    --text-dark: #F3F4F6;
    --text-light: #9CA3AF;
    --bg-light: #111827;
    --white: #1F2937;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--primary-bg) !important;
    color: var(--text-dark) !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

/* Glassmorphism Header */
header {
    background: rgba(11, 15, 25, 0.8) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: none !important;
}

/* Typography Overrides */
h1, h2, h3, h4 {
    color: #FFFFFF !important;
    letter-spacing: -0.02em !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1D4ED8 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 14px !important;
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* Product/Service Cards */
.menu-item {
    background: var(--bg-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}
.menu-item:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15) !important;
}
.menu-item-info h3 {
    color: #FFF !important;
    font-weight: 600 !important;
}
.menu-item-info p {
    color: var(--text-light) !important;
}
.menu-item-price {
    color: var(--primary-light) !important;
    font-weight: 700 !important;
}

/* Add Button in Card */
.btn-add {
    background: rgba(37, 99, 235, 0.1) !important;
    color: var(--primary-light) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    border-radius: 8px !important;
}
.btn-add:hover {
    background: var(--primary) !important;
    color: #FFF !important;
}

/* Category Pills */
.category-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 30px !important;
    padding: 10px 24px !important;
}
.category-btn.active {
    background: var(--primary) !important;
    color: #FFF !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}

/* Modals & Cart */
.modal-content, .cart-sidebar {
    background: var(--bg-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--text-dark) !important;
}
.cart-header, .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
}
.cart-footer, .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: var(--bg-light) !important;
}
.cart-item {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.cart-item h4 {
    color: #FFF !important;
}

/* Inputs & Forms */
.form-control, input, textarea {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #FFF !important;
}
.form-control:focus, input:focus, textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
}

/* Hero Section Restyling (If standard classes are used) */
.hero {
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.9) 0%, var(--primary-bg) 100%),
                url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop") center/cover !important;
    position: relative !important;
    padding: 160px 0 100px 0 !important;
    text-align: center !important;
}
.hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0 !important;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 60%) !important;
    pointer-events: none !important;
}
.hero-content {
    background: rgba(17, 24, 39, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    padding: 50px !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}
.hero h1 {
    font-size: 3.5rem !important;
    background: linear-gradient(to right, #FFF, #93C5FD) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 20px !important;
}
.hero p {
    font-size: 1.2rem !important;
    color: #E5E7EB !important;
    opacity: 0.9 !important;
}

/* About Section */
.about {
    background: var(--primary-bg) !important;
}
.about-image img {
    border-radius: 24px !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Footer */
footer {
    background: #000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 60px 0 30px !important;
}


/* ========================================================= */
/* SAGA FUTURE ULTRA-PREMIUM GLOW THEME                      */
/* ========================================================= */

:root {
    --neon-blue: #00f3ff;
    --neon-purple: #9d00ff;
    --dark-bg: #050510;
    --glass-bg: rgba(10, 15, 30, 0.7);
    --glow-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

body {
    background-color: var(--dark-bg) !important;
    color: #e0e0ff !important;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='304' height='304' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v2h-50v-96h12.1zm61.9-80a5 5 0 1 1 0-2h-86.2a5 5 0 1 1 0 2h86.2zm-256-48a5 5 0 1 1 0-2H0v2h42.1zm109.8 114a5 5 0 1 1 0-2h-86.2a5 5 0 1 1 0 2h86.2zm-256-48a5 5 0 1 1 0-2H0v2h42.1zm109.8 114a5 5 0 1 1 0-2h-86.2a5 5 0 1 1 0 2h86.2zm-256-48a5 5 0 1 1 0-2H0v2h42.1z' fill='%2300f3ff' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E"),
        radial-gradient(circle at 15% 50%, rgba(0, 243, 255, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(157, 0, 255, 0.05), transparent 25%) !important;
    background-repeat: repeat, no-repeat, no-repeat !important;
    background-size: 304px 304px, 100% 100%, 100% 100% !important;
    background-attachment: fixed !important;
}

/* Header Glassmorphism Premium */
.main-header {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Botões com Neon Glow */
.btn-primary {
    background: linear-gradient(45deg, #0051ff, #00f3ff) !important;
    border: none !important;
    box-shadow: var(--glow-shadow) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800 !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.7) !important;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Cards de Soluções com Efeito Hover 3D */
.product-card, .admin-card {
    background: linear-gradient(145deg, #0a0f1e, #12182b) !important;
    border: 1px solid rgba(0, 243, 255, 0.1) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    transition: all 0.4s ease !important;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(0, 243, 255, 0.5) !important;
    box-shadow: 0 20px 40px rgba(0, 243, 255, 0.2) !important;
}

/* Nav Menu Links com Animação Cyberpunk */
.nav-menu a {
    color: #e0e0ff !important;
    font-weight: 600;
    position: relative;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-blue);
}

.nav-menu a:hover {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Inputs do Checkout e Modal */
.input-group input, .input-group select, .input-group textarea {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: white !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3) !important;
    outline: none !important;
}

/* Efeito de Gradiente no Texto (Saga Connect, etc) */
.section-title, h1 {
    background: linear-gradient(to right, #ffffff, #00f3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: #1a2540;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}


/* Forçar Logo Branca */
.logo {
    color: #ffffff !important;
}
.logo-img {
    filter: brightness(0) invert(1) !important;
}

/* SAGA CONNECT HERO BANNER */
.hero-saga-premium {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px 0;
    overflow: hidden;
    background-color: var(--dark-bg, #050510);
}

.hero-saga-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-saga-content {
    text-align: left;
}

.hero-saga-tag {
    display: inline-block;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: var(--neon-blue, #00f3ff);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.hero-saga-content h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #ffffff 0%, #a0a5b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-saga-content p {
    font-size: 18px;
    color: #a0a5b5;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-saga-visual {
    position: relative;
    perspective: 1000px;
}

.hero-saga-image-wrapper {
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(0, 243, 255, 0.1);
    transform: rotateY(-15deg) rotateX(10deg);
    animation: floatImage 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.hero-saga-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

@keyframes floatImage {
    0% { transform: translateY(0px) rotateY(-15deg) rotateX(10deg); }
    50% { transform: translateY(-20px) rotateY(-10deg) rotateX(15deg); }
    100% { transform: translateY(0px) rotateY(-15deg) rotateX(10deg); }
}

/* Background Glows */
.hero-glow-1 {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
    top: -200px; left: -200px;
    z-index: 1;
}
.hero-glow-2 {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.1) 0%, transparent 70%);
    bottom: -200px; right: -200px;
    z-index: 1;
}

@media (max-width: 991px) {
    .hero-saga-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-saga-content { text-align: center; }
    .hero-saga-content p { margin: 0 auto 40px auto; }
    .hero-saga-image-wrapper { transform: none; animation: floatImageMobile 6s ease-in-out infinite; }
    @keyframes floatImageMobile {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
        100% { transform: translateY(0px); }
    }
    .hero-saga-content h1 { font-size: 40px; }
}

/* GOOGLE TRANSLATE FIXES */
body { top: 0 !important; }
.skiptranslate iframe, .goog-te-banner-frame { display: none !important; }
#goog-gt-tt { display: none !important; top: 0 !important; }
.goog-tooltip { display: none !important; }
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; }
#google_translate_element { margin-left: 15px; display: inline-block; }
#google_translate_element select {
    background: rgba(10, 15, 30, 0.8);
    color: #00f3ff;
    border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 8px 15px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    outline: none;
    cursor: pointer;
}

/* =========================================================
   SAGA FUTURE — MENU MOBILE (OVERRIDE COMPLETO)
   ========================================================= */

/* Ícone hamburger: azul ciano do tema */
.mobile-menu-btn {
    display: none;
    background: none !important;
    border: none !important;
    font-size: 26px !important;
    color: #00f3ff !important;
    cursor: pointer;
    padding: 8px !important;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 1200;
}
.mobile-menu-btn:hover {
    color: #ffffff !important;
    transform: scale(1.1);
}

/* Painel do menu lateral — fundo dark glassmorphism */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: rgba(5, 5, 16, 0.97) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-right: 1px solid rgba(0, 243, 255, 0.15) !important;
        border-top: none !important;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: block !important;
        z-index: 1500 !important;
        padding-top: 80px !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.8);
    }

    .main-nav.active {
        left: 0 !important;
    }

    /* Overlay escuro atrás do menu */
    .main-nav.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: -1;
    }

    /* Botão fechar (X) dentro do painel */
    .menu-close-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        background: rgba(0, 243, 255, 0.08) !important;
        border: 1px solid rgba(0, 243, 255, 0.2) !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 22px !important;
        color: #00f3ff !important;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
        z-index: 10;
    }
    .menu-close-btn:hover {
        background: rgba(0, 243, 255, 0.2) !important;
        transform: rotate(90deg);
    }

    /* Lista de links */
    .nav-menu {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px 0 !important;
        gap: 0 !important;
        margin: 0 !important;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .nav-menu a {
        display: flex !important;
        align-items: center;
        font-size: 17px !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 16px 28px !important;
        width: 100%;
        transition: color 0.2s, background 0.2s, padding-left 0.2s !important;
        letter-spacing: 0.3px;
    }
    .nav-menu a:hover {
        color: #00f3ff !important;
        background: rgba(0, 243, 255, 0.05) !important;
        padding-left: 36px !important;
    }
    .nav-menu a::after {
        display: none !important;
    }

    /* Logo no topo do painel dinâmico */
    .mobile-nav-brand {
        display: block !important;
        position: absolute;
        top: 24px;
        left: 24px;
        z-index: 1000;
    }
    
    .mobile-nav-brand img {
        height: 30px;
        max-width: 200px;
        object-fit: contain;
    }
    
    .mobile-nav-brand h2 {
        font-size: 18px;
        font-weight: 800;
        color: var(--primary);
        letter-spacing: 1px;
    }
}

