/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/* style.css */

/* ============================================
   ESTILO AVANÇADO PARA PÁGINA DE PRODUTO WOOCOMMERCE
   - Focado no layout de mentoria do exemplo
   - Abas estilizadas conforme o template PHP
   - Design moderno e altamente responsivo
   ============================================ */
   :root {
    --theme-palette-color-1: #863F15; /* Cor primária da marca */
    --theme-palette-color-2: #AF5722; /* Cor alternativa, foco */
    --theme-palette-color-3: #312317; /* Texto principal */
    --theme-palette-color-4: #995e25; /* Títulos, subtítulos */
    --theme-palette-color-5: #ffc107; /* Bordas/divisores */
    --theme-palette-color-6: #F9F5EA; /* Fundos sutis */
    --theme-palette-color-7: #ffffff; /* Fundo principal */
    --theme-palette-color-8: #f3f3f3; /* Fundo alternativo leve */
    /* Variáveis antigas para compatibilidade */
    --primary-color: var(--theme-palette-color-1);
    --primary-hover: var(--theme-palette-color-2);
    --discount-color: var(--theme-palette-color-5);
    --text-dark: var(--theme-palette-color-3);
    --text-medium: var(--theme-palette-color-4);
    --text-light: #6b7280;
    --bg-light: var(--theme-palette-color-6);
    --bg-card: var(--theme-palette-color-7);
    --border-radius: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
  }
  

  /* Título do Produto */
  .woocommerce div.product .product_title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--theme-palette-color-4); /* Títulos */
    margin: 0 0 1rem 0;
    line-height: 1.3;
  }
  
  /* Preço e Desconto */
  .woocommerce div.product p.price,
  .woocommerce div.product span.price {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    color: var(--theme-palette-color-1); /* Primária */
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
  }
  
  .price .discount-badge {
    background: var(--theme-palette-color-5); /* Destaque/desconto */
    color: var(--theme-palette-color-7); /* Branco */
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 0.8rem;
    display: inline-block;
  }
  
  /* Descrição Curta */
  .woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1.1rem;
    color: var(--theme-palette-color-3); /* Texto principal */
    line-height: 1.7;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--theme-palette-color-7); /* Fundo principal (card) */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--theme-palette-color-1); /* Primária */
  }
  
  
 /* ===== Full width só no mobile ===== */
@media (max-width: 700px) {
    html, body {
        padding: 0;
        margin: 0;
        width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .single-product .woocommerce,
    .single-product .product,
    .single-product .summary,
    .single-product .entry-summary,
    .single-product .woocommerce-tabs,
    .single-product .related,
    .single-product .upsells,
    .single-product .woocommerce-product-gallery,
    .single-product .woocommerce-product-details__short-description {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
} 
  
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Playfair Display SC';
  src: url('fonts/PlayfairDisplaySC-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: 'Poppins', sans-serif;
}

h1, h2 {
  font-family: 'Playfair Display SC', serif;
}
  
  
  /* efeito de movimento SUAVE */
.scroll-left,
.scroll-right,
.scroll-top,
.scroll-bottom {
  opacity: 0;
  transition: 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.scroll-left  { transform: translate(-40px, 0); }
.scroll-right { transform: translate(40px, 0); }
.scroll-top   { transform: translate(0, -40px); }
.scroll-bottom{ transform: translate(0, 40px); }

.ativo {
  opacity: 1;
  transition: 0.9s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translate(0, 0);
}

/* Garante visibilidade das animações no editor do Elementor */
.elementor-editor-active .scroll-left,
.elementor-editor-active .scroll-right,
.elementor-editor-active .scroll-top,
.elementor-editor-active .scroll-bottom {
  opacity: 1 !important;
  transform: none !important;
}
  
  
  