/* estilo.css - Tema Dark Modern para Loja de Roupas */

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.6;
}

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

/* Header Moderno com efeito glass */
.header-top {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff8c00, #ff5500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo i {
    color: #ff8c00;
    margin-right: 8px;
    -webkit-text-fill-color: initial;
    background: none;
}

.search-bar {
    flex: 1;
    max-width: 500px;
}

.search-bar form {
    display: flex;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-bar form:focus-within {
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
}

.search-bar input {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
}

.search-bar input::placeholder {
    color: #666;
}

.search-bar button {
    background: transparent;
    color: #ff8c00;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 18px;
}

.search-bar button:hover {
    color: #ffaa33;
    transform: scale(1.1);
}

.cart-icon a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.cart-icon a:hover {
    color: #ff8c00;
}

.cart-icon span {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #ff8c00;
    color: #0a0a0a;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* Navegação Principal */
.main-nav {
    background: #111;
    border-bottom: 1px solid #222;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.main-nav li {
    margin-right: 2px;
}

.main-nav a {
    display: block;
    padding: 14px 24px;
    color: #aaa;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #ff8c00;
    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 70%;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: rgba(255, 140, 0, 0.1);
}

/* Banner com gradiente moderno */
.banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #333;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M20 20 L80 20 L80 80 L20 80 Z" fill="none" stroke="%23ff8c00" stroke-width="2"/><circle cx="50" cy="50" r="15" fill="none" stroke="%23ff8c00" stroke-width="2"/></svg>') repeat;
    background-size: 60px;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h2 {
    font-size: 56px;
    margin-bottom: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ccc;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00, #ff5500);
    color: white;
    padding: 14px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #ff9900, #ff6600);
}

/* Título da Seção */
.section-title {
    font-size: 36px;
    text-align: center;
    margin: 50px 0 40px;
    color: #fff;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff8c00, #ff5500, transparent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Grid de Produtos - Cards Modernos */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.produto-card {
    background: #141414;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.produto-card:hover {
    transform: translateY(-8px);
    border-color: #ff8c00;
    box-shadow: 0 20px 30px -10px rgba(255, 140, 0, 0.2);
}

.produto-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.produto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.produto-card:hover .produto-image img {
    transform: scale(1.1);
}

.sem-imagem {
    width: 100%;
    height: 100%;
    background: #1e1e1e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    gap: 8px;
}

.sem-imagem i {
    font-size: 48px;
}

.produto-info {
    padding: 20px;
    text-align: center;
}

.produto-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.produto-info h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.produto-info h3 a:hover {
    color: #ff8c00;
}

.produto-info .categoria {
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preco-container {
    margin: 15px 0;
}

.preco-antigo {
    color: #888;
    font-size: 14px;
    text-decoration: line-through;
    margin-right: 8px;
}

.preco-promocional {
    color: #ff8c00;
    font-size: 22px;
    font-weight: 700;
}

.preco-normal {
    color: #ff8c00;
    font-size: 22px;
    font-weight: 700;
}

.desconto-badge {
    background: #ff8c00;
    color: #0a0a0a;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 8px;
    display: inline-block;
}

.btn-comprar {
    background: linear-gradient(135deg, #ff8c00, #ff5500);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-comprar:hover {
    background: linear-gradient(135deg, #ff9900, #ff6600);
    transform: scale(1.02);
}

/* Página de Detalhes do Produto */
.produto-detalhe {
    display: flex;
    gap: 50px;
    background: #141414;
    border-radius: 30px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid #2a2a2a;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.produto-imagem {
    flex: 1;
}

.produto-imagem img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

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

.produto-info-detalhe h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.produto-info-detalhe .categoria {
    color: #ff8c00;
    font-size: 16px;
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(255, 140, 0, 0.1);
    padding: 5px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.preco-wrapper {
    margin: 25px 0;
}

.preco-wrapper .preco-antigo {
    font-size: 18px;
}

.preco-wrapper .preco-promocional {
    font-size: 42px;
    font-weight: 800;
}

.preco-wrapper .preco-normal {
    font-size: 42px;
    font-weight: 800;
}

.produto-info-detalhe .descricao {
    line-height: 1.8;
    color: #b0b0b0;
    margin: 25px 0;
    font-size: 16px;
}

.estoque-info {
    color: #4caf50;
    font-weight: 600;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.estoque-info i {
    font-size: 18px;
}

/* Variações (Cores e Tamanhos) */
.variacoes {
    margin: 25px 0;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #333;
}

.variacoes label {
    display: block;
    margin: 10px 0 5px;
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
}

.variacoes select {
    width: 100%;
    padding: 12px 15px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
}

.variacoes select:hover,
.variacoes select:focus {
    border-color: #ff8c00;
    background: #333;
}

/* Filtros */
.filters-info {
    background: #1a1a1a;
    padding: 15px 25px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid #333;
    display: inline-block;
}

.filters-info p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
    color: #ccc;
}

.clear-filters {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.clear-filters:hover {
    color: #ffaa33;
    text-decoration: underline;
}

.no-products {
    text-align: center;
    font-size: 18px;
    color: #888;
    padding: 80px 20px;
    background: #141414;
    border-radius: 30px;
    border: 1px solid #2a2a2a;
}

/* Carrinho de Compras - Dark Theme */
.carrinho-tabela {
    width: 100%;
    border-collapse: collapse;
    background: #141414;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    margin-bottom: 30px;
}

.carrinho-tabela th {
    background: #1e1e1e;
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    color: #ff8c00;
    border-bottom: 2px solid #333;
    font-size: 15px;
}

.carrinho-tabela td {
    padding: 18px 15px;
    border-bottom: 1px solid #2a2a2a;
    vertical-align: middle;
    color: #ddd;
}

.carrinho-tabela img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    vertical-align: middle;
    border: 1px solid #444;
}

.qtd-input {
    width: 70px;
    padding: 8px;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    text-align: center;
    font-size: 15px;
}

.qtd-input:focus {
    border-color: #ff8c00;
    outline: none;
}

.remover-item {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 20px;
    transition: color 0.2s;
}

.remover-item:hover {
    color: #ff6666;
}

.carrinho-tabela tfoot td {
    font-size: 20px;
    font-weight: 700;
    color: #ff8c00;
    background: #1a1a1a;
}

.carrinho-acoes {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin: 30px 0;
}

/* Footer Dark */
footer {
    background: #0c0c0c;
    color: #e5e5e5;
    padding: 70px 0 0;
    margin-top: 80px;
    border-top: 1px solid #222;
}

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

.footer-section h4 {
    margin-bottom: 25px;
    font-size: 18px;
    color: #ff8c00;
    font-weight: 600;
    letter-spacing: 1px;
}

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

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

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: #ff8c00;
    padding-left: 5px;
}

.footer-section p {
    color: #aaa;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p i {
    color: #ff8c00;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    text-align: center;
    color: #777;
    font-size: 14px;
}

/* Scrollbar customizada (opcional, mas moderno) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8c00;
}

/* Responsividade Avançada */
@media (max-width: 992px) {
    .produto-detalhe {
        flex-direction: column;
        padding: 25px;
    }
    
    .banner-content h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
    }
    
    .search-bar {
        max-width: 100%;
        width: 100%;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin-right: 0;
    }
    
    .main-nav a {
        text-align: center;
    }
    
    .banner {
        padding: 60px 0;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .carrinho-tabela {
        font-size: 14px;
    }
    
    .carrinho-tabela th:nth-child(2),
    .carrinho-tabela td:nth-child(2) {
        display: none;
    }
}

@media (max-width: 480px) {
    .produto-detalhe {
        padding: 15px;
    }
    
    .produto-info-detalhe h2 {
        font-size: 24px;
    }
    
    .btn-comprar {
        padding: 10px 0;
    }
    
    .carrinho-acoes {
        flex-direction: column;
    }
    
    .carrinho-tabela th:nth-child(4),
    .carrinho-tabela td:nth-child(4) {
        display: none;
    }
}

/* Estilos para o formulário de checkout */
#checkout-form-container {
    background: #141414;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #2a2a2a;
    margin-bottom: 40px;
}

#checkout-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#checkout-form .form-group {
    flex: 1;
    min-width: 200px;
}

#checkout-form label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-weight: 500;
}

#checkout-form input,
#checkout-form select {
    width: 100%;
    padding: 12px 15px;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    transition: border 0.2s;
}

#checkout-form input:focus,
#checkout-form select:focus {
    border-color: #ff8c00;
    outline: none;
}

#checkout-form input::placeholder {
    color: #666;
}

#checkout-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 20px;
    background: linear-gradient(135deg, #25D366, #128C7E); /* cores do WhatsApp */
}

#checkout-form .btn:hover {
    background: linear-gradient(135deg, #20b859, #0e6b5f);
}