/* ==========================================================================
   TIGER TECH 3D - PÁGINA DO PRODUTO (produto.css)
   ========================================================================== */

/* 1. FUNDO BRANCO CLEAN */
.product-page-body {
    background-color: var(--text-white, #ffffff) !important;
    color: #111 !important; 
}

/* =========================================
   TRAVA DE LAYOUT - 70% NO PC
   ========================================= */
.container-product {
    width: 100%;
    margin: 0 auto;
    display: block;
}

@media (min-width: 1025px) {
    .container-product {
        width: 70%;
        max-width: 1200px;
    }
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666; 
}

.breadcrumb a { color: #111; text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-color); }

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

/* =========================================
   2. GALERIA (Esquerda) E MARGEM BRANCA
   ========================================= */
.main-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff; 
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 20px; /* MARGEM BRANCA INTERNA */
    position: relative; 
}

.main-image-container img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    /* filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15)); */
    transition: opacity 0.3s ease;
}

/* Botões Flutuantes (Setas e Zoom) */
.gallery-nav, .main-image-zoom {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    width: 40px; 
    height: 40px;
    font-size: 20px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-nav:hover, .main-image-zoom:hover { background: var(--primary-color, #ff6b00); color: #fff; transform: scale(1.1); }
.gallery-nav.prev { top: 50%; left: 15px; transform: translateY(-50%); }
.gallery-nav.next { top: 50%; right: 15px; transform: translateY(-50%); }
.main-image-zoom { bottom: 15px; right: 15px; font-size: 18px; width: 36px; height: 36px; }

/* Miniaturas */
.thumbnail-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    justify-content: center; 
}

.thumb-item {
    width: 70px; 
    height: 70px;
    border: 2px solid transparent;
    border-radius: var(--radius-lg, 8px);
    cursor: pointer;
    background: #f4f5f7;
    padding: 5px;
    transition: 0.2s;
    flex-shrink: 0;
}

.thumb-item.active { border-color: var(--primary-color, #ff6b00); background: rgba(255, 107, 0, 0.05); }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; }

/* =========================================
   3. INFORMAÇÕES
   ========================================= */
.product-info { max-width: 100%; }

.badge-cat {
    color: var(--primary-color, #ff6b00);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 900;
    margin: 10px 0 30px 0;
    color: #111; 
    line-height: 1.2;
    text-transform: uppercase; /* MAIÚSCULO FORÇADO */
}

/* Preço */
.product-pricing {
    background: #f4f5f7;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg, 16px);
    padding: 30px;
    margin-bottom: 30px;
}

.price-label { font-size: 14px; color: #666; }
.price-value { font-size: 48px; font-weight: 900; margin: 5px 0; color: #111; }
.price-method { color: var(--primary-color, #ff6b00); font-weight: 700; font-size: 14px; }
.price-card { font-size: 14px; color: #555; }

/* Estoque */
.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 30px;
}

/* LINHA DE AÇÕES (CARRINHO E WHATS LADO A LADO) */
.product-actions-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.btn-card-half {
    flex: 1; 
    padding: 15px 20px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

/* Botão Adicionar ao Carrinho */
.btn-cart-add {
    background: transparent;
    color: var(--primary-color, #ff6b00);
    border: 2px solid var(--primary-color, #ff6b00);
}
.btn-cart-add:hover { background: rgba(255, 107, 0, 0.05); transform: translateY(-2px); }

/* Botão WhatsApp */
.btn-whats-direct { background: #25d366; color: #fff; }
.btn-whats-direct:hover { background: #1ebc5a; transform: translateY(-2px); }

.secure-info { text-align: center; font-size: 12px; color: #888; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* =========================================
   4. SESSÃO DE DESCRIÇÃO RICA
   ========================================= */
.description-section { border-top: 1px solid rgba(0, 0, 0, 0.05); padding-top: 60px; }
.section-subtitle { font-size: 24px; font-weight: 800; margin-bottom: 40px; color: #111; }
.rich-text-content { line-height: 1.8; color: #555; }
.rich-text-content h2, .rich-text-content h3 { color: #111; margin: 30px 0 15px 0; }
.rich-text-content p { margin-bottom: 15px; }
.rich-text-content strong { color: #111; }
.rich-text-content ul { margin-bottom: 20px; padding-left: 20px; }
.rich-text-content table { width: 100%; border-collapse: collapse; margin: 30px 0; background: #f4f5f7; border-radius: 8px; overflow: hidden; }
.rich-text-content th, .rich-text-content td { border: 1px solid rgba(0, 0, 0, 0.05); padding: 15px; text-align: left; }
.rich-text-content th { background: rgba(255, 107, 0, 0.1); color: var(--primary-color); }

/* =========================================
   5. RESPONSIVIDADE ARRUMADA (MÓVEL)
   ========================================= */
@media (max-width: 900px) {
    .product-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; }
    .product-page { padding-top: 100px; }
    
    .container-product { width: 100%; padding: 0 5%; }
    
    .product-title { font-size: 28px; margin-bottom: 20px; }
    .product-pricing { padding: 20px; margin-bottom: 20px; }
    .price-value { font-size: 36px; }
    
    .product-actions-row { flex-direction: row; gap: 10px; } /* Mantém lado a lado no celular */
    .btn-card-half { font-size: 12px; padding: 15px 5px; height: 45px;}
    
    .description-section { padding-top: 40px; }
    .section-subtitle { margin-bottom: 25px; }
}