* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Legacy navbar (obsoleto - usando menu-styles.css) */
.navbar {
    background-color: #2c2c2c;
    padding: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 99;
}

.header-inner-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.logo .blue {
    color: #FF6B35;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: #FF6B35;
    transform: translateY(-5px);
    font-weight: bold;
}

.nav-icon-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-icon-container img {
    width: 28px;
    height: 28px;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .menu-button {
        display: block;
    }
}

/* Footer tradicional */
.main-footer {
    background: #2c2c2c;
    color: #fff;
    padding: 2.5rem 0 1.2rem 0;
    margin-top: 3rem;
    font-size: 1rem;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
}

.footer-col {
    flex: 1 1 180px;
    min-width: 180px;
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo .blue {
    color: #FF6B35;
}

.footer-contact p {
    margin: 0.3rem 0;
    color: #bbb;
    font-size: 1rem;
}

.footer-contact strong {
    color: #FF6B35;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.footer-social i {
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    color: #333333;
    font-weight: 600;
}

.footer-social i:hover {
    background: #FF6B35;
    color: #fff !important;
    transform: scale(1.15);
}

.footer-links h4 {
    color: #FF6B35;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    font-weight: bold;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: #FF6B35;
}

.footer-bottom {
    text-align: center;
    color: #bbb;
    font-size: 0.98rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

@media (max-width: 900px) {
    .footer-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .footer-col {
        min-width: 0;
    }
}

/* Formulário de Contato */
.contato-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 500px;
    margin-top: 2rem;
}

.contato-form label {
    display: block;
    margin-bottom: 0.5rem;
}

.contato-form input[type="text"],
.contato-form input[type="email"],
.contato-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.contato-form textarea {
    resize: vertical;
}

.contato-form button[type="submit"] {
    margin-top: 1rem;
    background: #2196f3;
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.contato-form button[type="submit"]:hover {
    background: #E55A2B;
}

/* Layout das páginas principais */
.main-content {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.sobre-text {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.produtos-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.produto-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1.5rem;
    flex: 1 1 250px;
    min-width: 250px;
    box-sizing: border-box;
}

/* Página Sobre */
.sobre-titulo {
    text-align: center;
    font-size: 2.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 2.5rem;
    color: #222;
}

.sobre-caixa {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    padding: 2.2rem 2rem;
    max-width: 750px;
    margin: 2.5rem auto 0 auto;
    font-size: 1.13rem;
    color: #222;
    line-height: 1.7;
}

.sobre-caixa strong {
    color: #FF6B35;
}

.sobre-caixa ul {
    margin: 1.2rem 0 0 1.2rem;
    padding: 0;
}

.sobre-caixa li {
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .produtos-lista {
        flex-direction: column;
        gap: 1.5rem;
    }
    .produto-card {
        min-width: 0;
    }
}

/* Carrinho básico */
.nav-icon-container .bi-cart {
    font-size: 2rem;
    color: #fff;
    vertical-align: middle;
    margin-right: 0.2rem;
    display: flex;
    align-items: center;
    height: 32px;
    width: 32px;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-icon-container .bi-cart:hover {
    color: #FF6B35;
}

/* Carousel principal - NOVO DESIGN */
/*
 * Ajustes na classe .custom-carousel para corresponder às dimensões da sua imagem.
 */
.custom-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 8rem auto 0 auto; /* Aumentado espaçamento superior para separar do menu */
    padding-top: 20px;
    height: auto; /* A altura será determinada pelo aspect-ratio */
    aspect-ratio: 1820/ 600; /* Proporção exata da sua imagem */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: transparent;
}

/*
 * Manter a estrutura do slide.
 */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    overflow: hidden;
}

/*
 * Manter a classe active.
 */
.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

/*
 * Ajustes na classe .carousel-content para que a imagem se adapte corretamente.
 */
.carousel-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
}

/*
 * Ajustes na imagem para que ela se adapte ao contêiner sem ser cortada.
 */
.carousel-content img {
    width: 100%; /* A imagem ocupará 100% da largura do contêiner */
    height: 100%; /* A imagem ocupará 100% da altura do contêiner */
    object-fit: cover; /* Faz a imagem cobrir todo o espaço, já que a proporção está correta */
    object-position: center;
    border-radius: 15px;
    background: transparent;
    display: block;
}
/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.carousel-arrow.left {
    left: 25px;
}

.carousel-arrow.right {
    right: 25px;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.carousel-indicators button.active {
    border-color: #FF6B35;
    background: #FF6B35;
    transform: scale(1.2);
}

.carousel-indicators button:hover {
    border-color: white;
    transform: scale(1.15);
}

/* Responsive Design */
@media (max-width: 1340px) {
    .custom-carousel {
        margin: 7rem 2rem 0 2rem; /* Aumentado espaçamento superior em tablets */
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .custom-carousel {
        aspect-ratio: 16/6; /* Adjusted ratio for mobile */
        margin: 6rem 1rem 0 1rem; /* Aumentado espaçamento para mobile */
        padding-top: 15px;
        border-radius: 12px;
        min-height: 200px;
        overflow: visible;
    }
    
    .carousel-content {
        border-radius: 12px;
        overflow: visible;
    }
    
    .carousel-content img {
        border-radius: 12px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .carousel-arrow.left {
        left: 15px;
    }
    
    .carousel-arrow.right {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-indicators button {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .custom-carousel {
        aspect-ratio: 16/7; /* Adjusted ratio for small mobile */
        border-radius: 8px;
        min-height: 180px;
        margin: 5rem 1rem 0 1rem; /* Aumentado espaçamento para telas pequenas */
        padding-top: 10px;
        overflow: visible;
    }
    
    .carousel-content {
        border-radius: 8px;
        overflow: visible;
    }
    
    .carousel-content img {
        border-radius: 8px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .carousel-arrow.left {
        left: 10px;
    }
    
    .carousel-arrow.right {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 10px;
        gap: 8px;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
}

/* Home sections */
.home-section {
    margin: 2.5rem auto 0 auto;
    max-width: 1300px;
    padding: 0 2rem;
}

.home-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 2rem;
}

.home-section-title i {
    color: #FF6B35;
}

@media (max-width: 900px) {
    .home-section {
        padding: 0 1rem;
    }
}

/* =========================
   Home - Produtos em destaque e promoção
   ========================= */
.home-section {
    margin: 2.5rem auto 0 auto;
    max-width: 1300px;
    padding: 0 2rem;
}

.home-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.home-section-title i {
    color: #FF6B35;
}

/* Remove old product card styles - use standardized ones from menu-styles.css */
.produto-home-card,
.produto-home-card.destaque,
.produto-home-card.promocao {
    /* All styling moved to menu-styles.css */
}

/* Remove old button styles */
.btn-comprar {
    /* Styling moved to menu-styles.css */
}

@media (max-width: 900px) {
    .produtos-home-lista {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .home-section {
        padding: 0 1rem;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: #f4f4f4;
}

.produto-home-card h3 {
    font-size: 1.15rem;
    font-weight: bold;
    color: #232323;
    margin-bottom: 0.5rem;
    text-align: center;
}

.produto-home-card p {
    font-size: 0.98rem;
    color: #555;
    margin-bottom: 0.7rem;
    text-align: center;
}

.produto-home-card .preco {
    font-size: 1.15rem;
    font-weight: bold;
    color: #2196f3;
    margin-bottom: 0.7rem;
    display: block;
}

.produto-home-card .btn-comprar {
    background: #2196f3;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.produto-home-card .btn-comprar:hover {
    background: #E55A2B;
}

.produto-home-card.destaque {
    border: 2px solid #2196f3;
}

.produto-home-card.promocao {
    border: 2px solid #e4405f;
}

.produto-home-card .preco-antigo {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.produto-home-card .preco-promocao {
    font-size: 1.15rem;
    font-weight: bold;
    color: #e4405f;
}

@media (max-width: 900px) {
    .produtos-home-lista {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .home-section {
        padding: 0 1rem;
        gap: 1.5rem;
        align-items: center;
    }
    .home-section {
        padding: 0 1rem;
    
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: #f4f4f4;
}

.produto-home-card h3 {
    font-size: 1.15rem;
    font-weight: bold;
    color: #232323;
    margin-bottom: 0.5rem;
    text-align: center;
}

.produto-home-card p {
    font-size: 0.98rem;
    color: #555;
    margin-bottom: 0.7rem;
    text-align: center;
}

.produto-home-card .preco {
    font-size: 1.15rem;
    font-weight: bold;
    color: #2196f3;
    margin-bottom: 0.7rem;
    display: block;
}

.produto-home-card .btn-comprar {
    background: #2196f3;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.produto-home-card .btn-comprar:hover {
    background: #1769aa;
}

.produto-home-card.destaque {
    border: 2px solid #2196f3;
}

.produto-home-card.promocao {
    border: 2px solid #e4405f;
}

.produto-home-card .preco-antigo {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.produto-home-card .preco-promocao {
    font-size: 1.15rem;
    font-weight: bold;
    color: #e4405f;
}

@media (max-width: 900px) {
    .produtos-home-lista {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .home-section {
        padding: 0 1rem;
    }
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 120px auto 2rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    min-height: calc(100vh - 200px);
}

.dashboard-sidebar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 140px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.user-profile {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B35 0%, #e55a2b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.user-profile h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.user-profile p {
    color: #64748b;
    font-size: 0.9rem;
}

.dashboard-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-nav li {
    margin-bottom: 0.5rem;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.dashboard-nav a:hover {
    background: #f1f5f9;
    color: #334155;
}

.dashboard-nav a.active {
    background: #FF6B35;
    color: #fff;
}

.dashboard-nav a i {
    font-size: 1.1rem;
    width: 18px;
    text-align: center;
}

.dashboard-content {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    min-height: 600px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.dashboard-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.dashboard-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    color: #64748b;
    font-size: 1rem;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.order-info .order-date {
    font-size: 0.9rem;
    color: #64748b;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-processing {
    background: #dbeafe;
    color: #2563eb;
}

.status-shipped {
    background: #d1fae5;
    color: #059669;
}

.status-delivered {
    background: #d1fae5;
    color: #047857;
}

.order-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FF6B35;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

.auth-btn {
    background: #FF6B35;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.auth-btn:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        margin-top: 100px;
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .dashboard-sidebar {
        position: static;
        order: 2;
    }
    
    .dashboard-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        margin-top: 80px;
        padding: 0 1rem;
    }
    
    .dashboard-sidebar {
        padding: 1.5rem;
    }
    
    .dashboard-content {
        padding: 1.5rem;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-nav a {
        padding: 1rem;
        font-size: 1rem;
    }
}