* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* CORREÇÃO CRÍTICA PARA IPHONE */
@supports (-webkit-touch-callout: none) {
    body::before,
    body::after {
        animation: none !important;
        background-image: 
            radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.4), transparent),
            radial-gradient(2px 2px at 50% 50%, rgba(255, 255, 255, 0.4), transparent),
            radial-gradient(2px 2px at 80% 70%, rgba(255, 255, 255, 0.4), transparent) !important;
    }
    
    body {
        animation: none !important;
    }
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Fundo espacial - versão leve */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(2px 2px at 10% 20%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 30% 40%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 50% 10%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 70% 60%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 90% 30%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 20% 80%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 40% 50%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 80% 90%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 15% 45%, rgba(255, 255, 255, 0.3), transparent);
    animation: brilhoEstrelas 4s ease-in-out infinite;
}

@keyframes brilhoEstrelas {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Header com Logo */
header {
    background: transparent;
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

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

.logo-imagem {
    width: 190px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1)
            drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Grid */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    padding: 1rem;
}

/* Cards */
.produto-card {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.produto-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.produto-imagem {
    height: 450px;
    overflow: hidden;
    background: #111;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.produto-info {
    padding: 2rem;
}

.produto-info h3 {
    font-size: 1.1rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.preco-container-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preco-antigo-card {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: line-through;
}

.preco {
    font-size: 1.3rem;
    font-weight: 300;
    color: #ffffff;
}

.btn-ver-mais {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.btn-ver-mais:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background-color: #0a0a0a;
    margin: 2% auto 5%;
    width: 90%;
    max-width: 700px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 4px;
}

.fechar {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    transition: opacity 0.3s;
}

.fechar:hover {
    opacity: 0.6;
}

.modal-header {
    height: 500px;
    overflow: hidden;
    background: #111;
    position: relative;
}

.modal-body {
    padding: 3rem;
}

.modal-body h2 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.modal-body p {
    color: #999;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.modal-body h4 {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
}

/* ========== TAMANHOS - NOVO ESTILO ========== */
.tamanhos-grid {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.tamanho-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

.tamanho-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.tamanho-btn:hover::before {
    width: 100%;
    height: 100%;
}

.tamanho-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tamanho-btn.selecionado {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    font-weight: 500;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ========== ENTREGA/RETIRADA - NOVO ESTILO ========== */
.opcao-entrega {
    margin: 1.5rem 0;
}

.entrega-opcoes {
    display: flex;
    gap: 0.8rem;
}

.entrega-btn {
    flex: 1;
    padding: 1rem 1.2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

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

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

.entrega-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.entrega-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.entrega-btn:hover i {
    transform: scale(1.2);
}

.entrega-btn.selecionado {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    font-weight: 500;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.15);
}

.entrega-btn.selecionado i {
    color: #000000;
}

/* Remove texto info */
.entrega-info {
    display: none;
}

/* Preço */
.preco-container {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preco-antigo-modal {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: line-through;
    display: block;
    margin-bottom: 0.3rem;
}

.preco-atual {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    display: block;
    letter-spacing: 2px;
}

/* Botão WhatsApp */
.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 1.2rem;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-top: 1.5rem;
    border: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 50px;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1ebe57;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn-whatsapp i {
    margin-right: 8px;
}

/* WhatsApp Flutuante */
.whatsapp-flutuante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-flutuante:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ========== CARROSSEL ========== */
.carrossel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
}

.carrossel-container:active {
    cursor: grabbing;
}

.carrossel-imagens {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carrossel-imagens img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.carrossel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.carrossel-anterior {
    left: 12px;
}

.carrossel-proximo {
    right: 12px;
}

/* Indicadores */
.carrossel-indicadores {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    gap: 8px;
    z-index: 50 !important;
    pointer-events: auto !important;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.indicador {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    -webkit-appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

.indicador.ativo {
    background: #ffffff !important;
    width: 24px !important;
    border-radius: 12px !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

/* Responsivo */
@media (max-width: 768px) {
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .produto-imagem {
        height: 350px;
    }
    
    .modal-header {
        height: 300px;
    }
    
    .modal-body {
        padding: 2rem;
    }
    
    .logo-imagem {
        width: 150px;
    }
    
    .preco-atual {
        font-size: 2rem;
    }
    
    .carrossel-btn {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
    
    .tamanho-btn {
        width: 44px;
        height: 44px;
        font-size: 0.8rem;
    }
    
    .entrega-btn {
        padding: 0.8rem;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}
