/* Hover do badge de compartilhar nos cards */
.card-share:hover {
    background: #e7e0ff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Badge do sino de notificações */
.bell-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #ff4d4d;
    color: #fff;
    border-radius: 999px;
    margin-left: 4px;
    vertical-align: middle;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* Toast de notificação */
.notif-toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: #2c3e50;
    color: #fff;
    padding: 12px 14px;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
    z-index: 2000;
    max-width: 80vw;
}

/* Dropdown simples abaixo do sino */
.notif-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    width: 260px;
    padding: 8px;
}
.notif-dropdown h4 { margin: 4px 8px 8px 8px; font-size: 0.95rem; color: #2c3e50; }
.notif-item { padding: 6px 8px; font-size: 0.9rem; color: #333; border-radius: 6px; }
.notif-item + .notif-item { margin-top: 4px; }
.notif-item:hover { background: #f6f7fb; }
.notif-item.clickable { 
    cursor: pointer; 
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.notif-item.clickable:hover { 
    background: #e8f4fd; 
    border-left-color: #3498db;
    transform: translateX(2px);
}
.notif-item.clickable .notif-text {
    font-weight: 500;
    color: #2c3e50;
}
.notif-item.clickable .notif-time {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-top: 2px;
}
@media (max-width: 480px) {
    .share-bar {
        gap: 0.35rem;
        margin-top: 0.4rem !important;
    }
    .share-bar .btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 600px) {
    .produto-ml-titulo { font-size: 1.25rem; }
}
@media (max-width: 360px) {
    .produto-ml-titulo { font-size: 1.15rem; }
}
/* ==================== ESTILOS DA LOJA ONLINE ==================== */

.loja-body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

/* ==================== HEADER NOVO LAYOUT ==================== */

.loja-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.loja-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-layout {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.loja-logo {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.loja-logo img {
    height: 40px;
}

/* Barra de Busca Central */
.search-form-center {
    display: flex;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.95rem;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    padding: 0.7rem 1.2rem;
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 0.9rem;
}

.search-btn:hover {
    background-color: rgba(255,255,255,0.3);
}

/* Menu de Navegação com Ícones */
.loja-nav-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.nav-icon-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
}

.nav-icon-link:hover,
.nav-icon-link.active {
    background-color: rgba(255,255,255,0.2);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.btn-login-loja,
.btn-cadastro-loja,
.btn-logout-loja {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.btn-login-loja,
.btn-cadastro-loja {
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
}

.btn-login-loja:hover,
.btn-cadastro-loja:hover {
    background-color: rgba(255,255,255,0.2);
    color: #ffffff;
}

.btn-logout-loja {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.btn-logout-loja:hover {
    background-color: #c0392b;
}

/* Hero Section */
.loja-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

/* Categorias - faixa superior */
.loja-categorias {
    background: #ffffff0d;
    backdrop-filter: blur(2px);
    padding: 0.75rem 0;
}

.categorias-wrap {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

/* Melhorias de scroll no mobile: alinhar à esquerda e dar respiro no início */
@media (max-width: 768px) {
    .categorias-wrap {
        justify-content: flex-start;
        padding: 0 12px;
        scroll-snap-type: x mandatory;
    }
    .categorias-wrap::before { content: ''; flex: 0 0 4px; }
    .categoria-chip { scroll-snap-align: start; }
}

.categoria-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    background: #ffffff;
    color: #2c3e50;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #eee;
    transition: all 0.2s ease-in-out;
    flex: 0 0 auto;
}

.categoria-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.categoria-icone {
    font-size: 1.1rem;
}

.categoria-nome {
    font-weight: 600;
}

.loja-hero h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
}

.loja-hero p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
}

/* Produtos Grid */
.loja-produtos {
    padding: 0rem 0;
}

.loja-produtos h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.produto-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

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

.produto-imagem {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.produto-sem-imagem {
    font-size: 4rem;
    color: #ddd;
}

.produto-info {
    padding: 1rem;
}

.produto-info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    height: 2.5em;
    overflow: hidden;
}

.produto-descricao {
    color: #666;
    font-size: 0.85rem;
    margin: 0.5rem 0;
    height: 2.5em;
    overflow: hidden;
}

.produto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0 0.5rem 0;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.produto-preco {
    font-size: 1.5rem;
    font-weight: bold;
    color: #27ae60;
}

.produto-estoque {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    background-color: #e8f5e9;
    color: #27ae60;
}

.produto-acoes {
    display: flex;
    gap: 0.5rem;
}

.produto-acoes .btn {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.6rem;
}

/* ==================== PÁGINA DE DETALHES ESTILO MERCADO LIVRE ==================== */

.breadcrumb-section {
    background-color: white;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-link {
    color: #3483fa;
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumb-current {
    color: #666;
    font-size: 0.9rem;
}

.produto-ml-section {
    padding: 2rem 0;
    background-color: #f5f5f5;
}

.produto-ml-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

/* Coluna da Imagem */
.produto-ml-imagem-col {
    background: white;
    border-radius: 8px;
    padding: 2rem;
}

.produto-ml-imagem-principal {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
    border-radius: 8px;
}

.produto-ml-imagem-principal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.produto-sem-imagem-ml {
    text-align: center;
    color: #ccc;
}

.produto-sem-imagem-ml span {
    font-size: 6rem;
}

.produto-sem-imagem-ml p {
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Coluna de Informações */
.produto-ml-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.produto-ml-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-novo,
.tag-codigo {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag-novo {
    background-color: #e1f5ff;
    color: #3483fa;
}

.tag-usado {
    background-color: #fff3e0;
    color: #f57c00;
}

.tag-codigo {
    background-color: #f5f5f5;
    color: #666;
}

.produto-ml-titulo {
    font-size: 1.5rem;
    color: #333;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.produto-ml-preco-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.preco-principal {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
}

/* Card de Compra */
.produto-ml-compra-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.1);
}

.ml-estoque {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.estoque-ok {
    color: #27ae60;
    font-weight: 500;
}

.estoque-baixo {
    color: #f39c12;
    font-weight: 500;
}

.estoque-zero {
    color: #e74c3c;
    font-weight: 500;
}

.ml-quantidade {
    margin-bottom: 1.5rem;
}

.ml-quantidade label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.quantidade-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.qtd-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.qtd-btn:hover {
    background-color: #f5f5f5;
    border-color: #3483fa;
}

.quantidade-controls input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.qtd-disponivel {
    font-size: 0.85rem;
    color: #666;
}

.btn-ml-comprar {
    width: 100%;
    padding: 1rem;
    background-color: #3483fa;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-ml-comprar:hover {
    background-color: #2968c8;
}

.btn-ml-indisponivel {
    width: 100%;
    padding: 1rem;
    background-color: #ccc;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: not-allowed;
}

/* Benefícios */
.produto-ml-beneficios {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.beneficio-icon {
    font-size: 1.8rem;
}

.beneficio-texto strong {
    display: block;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.beneficio-texto p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

/* Descrição Completa */
.produto-ml-descricao-completa {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.descricao-header h2 {
    font-size: 1.5rem;
    color: #333;
    font-weight: 400;
    margin: 0 0 1.5rem 0;
}

.descricao-conteudo {
    color: #666;
    line-height: 1.8;
}

.descricao-detalhes {
    margin-top: 2rem;
}

.descricao-detalhes h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.descricao-detalhes ul {
    list-style: none;
    padding: 0;
}

.descricao-detalhes ul li {
    padding: 0.5rem 0;
    color: #666;
}

/* Footer */
.loja-footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
}

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

/* Busca - Resultados */
.resultados-info {
    text-align: center;
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .header-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .loja-logo {
        justify-content: center;
    }
    
    .search-form-center {
        max-width: 100%;
    }
    
    .loja-nav-icons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .produto-ml-layout {
        grid-template-columns: 1fr;
    }
    
    .produto-ml-imagem-principal {
        height: 400px;
    }
    
    .loja-hero h1 {
        font-size: 1.8rem;
    }
    
    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* ----------------- Responsividade adicional ----------------- */
.relacionados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 1024px) {
    .relacionados-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .relacionados-grid {
        grid-template-columns: 1fr;
    }
}

/* Imagens sem corte no mobile */
@media (max-width: 576px) {
    .produto-imagem {
        height: auto !important;
        max-height: none !important;
    }
    .produto-imagem img {
        height: auto !important;
        object-fit: contain !important;
    }
}

/* Barra de compartilhamento mais compacta no mobile */
.share-bar .btn {
    padding: 0.45rem 0.65rem;
    min-width: 36px;
    text-align: center;
}
.share-bar .btn svg { display: block; }
.share-bar .btn.btn-share:hover { background: #eef2ff; }
.share-bar .btn.btn-wa:hover { background: #e9f9f0; }
.share-bar .btn.btn-fb:hover { background: #e7f1ff; }
.share-bar .btn.btn-x:hover { background: #f2f2f2; }
.share-bar .btn.btn-copy:hover { background: #f7f7f7; }

/* Tooltip simples nos botões da barra de compartilhamento */
.share-bar .btn[data-tip] {
    position: relative;
}
.share-bar .btn[data-tip]:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}
.share-bar .btn[data-tip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0,0,0,0.8);
}

@media (max-width: 480px) {
    .share-bar {
        gap: 0.35rem;
    }
    .share-bar .btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.9rem;
    }
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background-color: white;
    border-radius: 8px;
}

.empty-state p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* ==================== CARRINHO ==================== */

.carrinho-section {
    padding: 3rem 0;
    min-height: 70vh;
}

.carrinho-section h1 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.carrinho-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.carrinho-produtos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carrinho-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-imagem {
    width: 100px;
    height: 100px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sem-imagem {
    font-size: 3rem;
    color: #ccc;
}

.item-info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.item-preco-unit {
    color: #666;
    font-size: 0.9rem;
}

.item-quantidade label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.qtd-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qtd-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.qtd-btn:hover {
    background: #f5f5f5;
    border-color: #3483fa;
}

.qtd-valor {
    min-width: 40px;
    text-align: center;
    font-weight: bold;
}

.item-subtotal {
    font-size: 1.3rem;
    color: #27ae60;
    font-weight: bold;
}

.btn-remover {
    color: #e74c3c;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-remover:hover {
    background: #fee;
}

.carrinho-resumo {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.carrinho-resumo h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
}

.resumo-linha {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #666;
}

.resumo-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 2px solid #eee;
    font-size: 1.3rem;
    color: #2c3e50;
}

.texto-verde {
    color: #27ae60 !important;
}

.btn-finalizar {
    width: 100%;
    margin: 1.5rem 0 1rem 0;
    padding: 1rem;
    font-size: 1.1rem;
}

.texto-info {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.carrinho-vazio {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.vazio-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.carrinho-vazio h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* ==================== LOGIN/CADASTRO ==================== */

.auth-section {
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.auth-box {
    max-width: 450px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.auth-box-large {
    max-width: 600px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: #3483fa;
}

.auth-form small {
    display: block;
    margin-top: 0.3rem;
    color: #666;
    font-size: 0.85rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-auth {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.auth-footer p {
    margin-bottom: 0.5rem;
    color: #666;
}

.link-destaque {
    color: #3483fa;
    font-weight: 600;
    text-decoration: none;
}

.link-destaque:hover {
    text-decoration: underline;
}

/* ==================== ENDEREÇO ==================== */

.endereco-section {
    padding: 3rem 0;
}

.endereco-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.enderecos-lista h2,
.endereco-form-box h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.endereco-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.endereco-card.principal {
    border: 2px solid #3483fa;
}

.endereco-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.endereco-header h3 {
    margin: 0;
    color: #2c3e50;
}

.badge-principal {
    background: #3483fa;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.endereco-info p {
    margin: 0.3rem 0;
    color: #666;
}

.endereco-acoes {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.endereco-form-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.endereco-form .form-group {
    margin-bottom: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

/* ==================== CHECKOUT ==================== */

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.step {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
}

.step.active {
    background: rgba(255,255,255,0.3);
    font-weight: bold;
}

.step.completed {
    background: rgba(255,255,255,0.2);
    color: #4caf50;
}

.step-separator {
    color: rgba(255,255,255,0.5);
}

.checkout-section {
    padding: 3rem 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.checkout-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.checkout-box h2 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
}

.endereco-selecionado {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.endereco-selecionado p {
    margin: 0.3rem 0;
    color: #666;
}

.checkout-produtos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.item-img {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.item-detalhes {
    flex: 1;
}

.item-detalhes h4 {
    margin: 0 0 0.3rem 0;
    color: #2c3e50;
}

.item-detalhes p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.item-preco strong {
    color: #27ae60;
    font-size: 1.1rem;
}

.pagamento-opcoes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.opcao-pagamento {
    display: block;
    cursor: pointer;
}

.opcao-pagamento input[type="radio"] {
    display: none;
}

.opcao-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

.opcao-pagamento input:checked + .opcao-content {
    border-color: #3483fa;
    background: #f0f7ff;
}

.opcao-icon {
    font-size: 2rem;
}

.opcao-content strong {
    display: block;
    color: #2c3e50;
}

.opcao-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.checkout-resumo {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.resumo-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.resumo-box h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
}

.resumo-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.resumo-info p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

/* ==================== PAGAMENTO ==================== */

.pagamento-section {
    padding: 3rem 0;
    min-height: 70vh;
}

.pagamento-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.pagamento-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pagamento-header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.pix-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.pix-info h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.pix-qrcode {
    display: flex;
    justify-content: center;
}

.qrcode-placeholder {
    width: 300px;
    height: 300px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.qr-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

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

.pix-valor h3 {
    color: #666;
    margin-bottom: 0.5rem;
}

.valor-destaque {
    font-size: 2.5rem;
    color: #27ae60;
    font-weight: bold;
}

.pix-codigo label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
}

.codigo-container {
    display: flex;
    gap: 0.5rem;
}

.codigo-container input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: monospace;
}

.pix-codigo small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
}

.pagamento-status {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.status-aguardando {
    color: #f39c12;
}

.status-aprovado {
    color: #27ae60;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f39c12;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.check-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.pagamento-instrucoes {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.pagamento-instrucoes h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
}

.pagamento-instrucoes ol {
    margin: 0;
    padding-left: 1.5rem;
    color: #666;
}

.pagamento-instrucoes li {
    margin: 0.5rem 0;
}

.pagamento-footer {
    margin-top: 2rem;
    text-align: center;
}

/* ==================== CONFIRMAÇÃO ==================== */

.confirmacao-section {
    padding: 3rem 0;
}

.confirmacao-box {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.confirmacao-icon {
    margin-bottom: 2rem;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #27ae60;
}

.check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.icon-line {
    height: 5px;
    background-color: #27ae60;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(39, 174, 96, 0.5);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: white;
}

@keyframes icon-line-tip {
    0% { width: 0; left: 1px; top: 19px; }
    54% { width: 0; left: 1px; top: 19px; }
    70% { width: 50px; left: -8px; top: 37px; }
    84% { width: 17px; left: 21px; top: 48px; }
    100% { width: 25px; left: 14px; top: 45px; }
}

@keyframes icon-line-long {
    0% { width: 0; right: 46px; top: 54px; }
    65% { width: 0; right: 46px; top: 54px; }
    84% { width: 55px; right: 0px; top: 35px; }
    100% { width: 47px; right: 8px; top: 38px; }
}

.confirmacao-box h1 {
    color: #27ae60;
    margin-bottom: 0.5rem;
}

.confirmacao-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.pedido-numero {
    display: inline-block;
    background: #f8f9fa;
    padding: 1rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.pedido-numero span {
    color: #666;
    margin-right: 0.5rem;
}

.pedido-numero strong {
    color: #2c3e50;
    font-size: 1.2rem;
}

.confirmacao-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    font-size: 2rem;
}

.info-content strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.info-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.confirmacao-produtos {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.confirmacao-produtos h3 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
}

.confirmacao-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.confirmacao-item:last-child {
    border-bottom: none;
}

.confirmacao-status {
    margin: 2rem 0;
    text-align: left;
}

.confirmacao-status h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.status-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0.5;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.timeline-item.active .timeline-icon {
    background: #27ae60;
    color: white;
}

.timeline-content strong {
    display: block;
    color: #2c3e50;
}

.timeline-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.confirmacao-mensagem {
    background: #e8f5e9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.confirmacao-mensagem p {
    margin: 0.5rem 0;
    color: #2c3e50;
}

.confirmacao-acoes {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ==================== PERFIL ==================== */

.perfil-section {
    padding: 3rem 0;
}

.perfil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.perfil-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.perfil-box-full {
    grid-column: 1 / -1;
}

.perfil-box h2 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
}

.perfil-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.info-label {
    color: #666;
    font-weight: 600;
}

.info-value {
    color: #2c3e50;
}

.enderecos-lista-perfil {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.endereco-item-perfil {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
}

.endereco-header-perfil {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.badge-principal-small {
    font-size: 0.8rem;
}

.endereco-texto {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.texto-vazio {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-content strong {
    display: block;
    font-size: 1.5rem;
    color: #2c3e50;
}

.stat-content span {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

.acoes-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.acao-btn {
    padding: 1rem;
    border: 2px solid #eee;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
    text-decoration: none;
    color: #2c3e50;
    display: block;
}

.acao-btn:hover {
    border-color: #3483fa;
    background: #f0f7ff;
}

.acao-logout {
    border-color: #e74c3c;
    color: #e74c3c;
}

.acao-logout:hover {
    background: #fee;
}

/* ==================== MEUS PEDIDOS ==================== */

.pedidos-section {
    padding: 3rem 0;
    min-height: 70vh;
}

.pedidos-lista {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pedido-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pedido-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.pedido-numero strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.pedido-data {
    color: #666;
    font-size: 0.9rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-pendente {
    background: #fff3cd;
    color: #856404;
}

.status-confirmado {
    background: #d1ecf1;
    color: #0c5460;
}

.status-preparando {
    background: #d4edda;
    color: #155724;
}

.status-entrega {
    background: #cce5ff;
    color: #004085;
}

.status-entregue {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-cancelado {
    background: #f8d7da;
    color: #721c24;
}

.pedido-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.pedido-valor,
.pedido-pagamento {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.pedido-valor span,
.pedido-pagamento span {
    color: #666;
    font-size: 0.9rem;
}

.pedido-valor strong,
.pedido-pagamento strong {
    color: #2c3e50;
    font-size: 1.2rem;
}

.pedido-acoes {
    display: flex;
    gap: 0.5rem;
}

.pedidos-vazio {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pedidos-vazio h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 968px) {
    .carrinho-layout,
    .checkout-layout,
    .endereco-layout {
        grid-template-columns: 1fr;
    }
    
    .carrinho-item {
        grid-template-columns: 80px 1fr;
        grid-template-areas:
            "img info"
            "qtd qtd"
            "subtotal remover";
        gap: 1rem;
    }
    
    .item-imagem {
        grid-area: img;
        width: 80px;
        height: 80px;
    }
    
    .item-info {
        grid-area: info;
    }
    
    .item-quantidade {
        grid-area: qtd;
    }
    
    .item-subtotal {
        grid-area: subtotal;
    }
    
    .btn-remover {
        grid-area: remover;
        text-align: right;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .perfil-grid {
        grid-template-columns: 1fr;
    }
    
    .confirmacao-info {
        grid-template-columns: 1fr;
    }
}

/* ==================== DETALHES DO PEDIDO ==================== */

.pedido-detalhes-section {
    padding: 3rem 0;
}

.pedido-detalhes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.pedido-detalhes-header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.pedido-data {
    color: #666;
}

.pedido-detalhes-grid {
    display: grid;
    gap: 2rem;
}

.pedido-detalhes-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pedido-detalhes-box h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
}

.pedido-produtos-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pedido-produto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.produto-item-img {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.produto-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.produto-item-info {
    flex: 1;
}

.produto-item-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.produto-item-info p {
    margin: 0.2rem 0;
    color: #666;
    font-size: 0.9rem;
}

.produto-item-valor {
    font-size: 1.2rem;
    color: #27ae60;
}

.pedido-totais {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.total-linha {
    display: flex;
    justify-content: space-between;
    margin: 0.8rem 0;
    color: #666;
}

.total-final {
    border-top: 2px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #2c3e50;
}

.endereco-info-pedido {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.endereco-info-pedido p {
    margin: 0.3rem 0;
    color: #666;
}

.pagamento-info-pedido {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.pagamento-info-pedido p {
    margin: 0.5rem 0;
    color: #666;
}

.observacoes-pedido {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.pedido-acoes-detalhes {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .pedido-detalhes-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .pedido-produto-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ==================== DETALHES DO PEDIDO ==================== */

.pedido-detalhes-section {
    padding: 3rem 0;
}

.pedido-detalhes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.pedido-detalhes-header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.pedido-data {
    color: #666;
}

.pedido-detalhes-grid {
    display: grid;
    gap: 2rem;
}

.pedido-detalhes-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pedido-detalhes-box h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
}

.pedido-produtos-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pedido-produto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.produto-item-img {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.produto-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.produto-item-info {
    flex: 1;
}

.produto-item-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.produto-item-info p {
    margin: 0.2rem 0;
    color: #666;
    font-size: 0.9rem;
}

.produto-item-valor {
    font-size: 1.2rem;
    color: #27ae60;
}

.pedido-totais {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.total-linha {
    display: flex;
    justify-content: space-between;
    margin: 0.8rem 0;
    color: #666;
}

.total-final {
    border-top: 2px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #2c3e50;
}

.endereco-info-pedido {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.endereco-info-pedido p {
    margin: 0.3rem 0;
    color: #666;
}

.pagamento-info-pedido {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.pagamento-info-pedido p {
    margin: 0.5rem 0;
    color: #666;
}

.observacoes-pedido {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.pedido-acoes-detalhes {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .pedido-detalhes-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .pedido-produto-item {
        flex-direction: column;
        text-align: center;
    }
}
