/* OLHAPO IA — ficha técnica discreta, apenas para produtos gerados pelo plugin. */
.olhapo-product-specs{clear:both;margin:16px 0 20px;max-width:760px}
.olhapo-product-specs h3{margin:0 0 11px;color:#202020;font-size:1.06em;line-height:1.3;font-weight:700;letter-spacing:0}
.olhapo-spec-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.olhapo-spec-card{box-sizing:border-box;min-width:0;margin:0;padding:12px 14px;background:#f7f7f8;border:1px solid #e8e9eb;border-radius:10px;box-shadow:none}
.olhapo-spec-card:before{content:none!important}
.olhapo-spec-card h4{display:block;margin:0 0 8px;padding:0;min-height:0;background:none;border:0;border-radius:0;color:#252525;font-size:.91em;line-height:1.3;font-weight:700}
.olhapo-spec-list{display:flex;flex-direction:column;gap:5px;list-style:none;margin:0;padding:0}
.olhapo-spec-list li{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:0;margin:0;border:0;font-size:.82em;line-height:1.5}
.olhapo-spec-list li span{flex:1 1 auto;min-width:0;color:#71757b;white-space:nowrap}
.olhapo-spec-list li strong{flex:0 0 auto;color:#2e3135;font-weight:650;text-align:right;overflow-wrap:anywhere}
.olhapo-spec-highlight{display:block;margin:0;padding:0;border:0;border-radius:0;background:none;color:#2e3135;font-size:.98em;line-height:1.5;font-weight:650}
.olhapo-spec-note{margin:7px 0 0;color:#757a81;font-size:.75em;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:600px){
 .olhapo-product-specs{max-width:100%}
 .olhapo-spec-cards{gap:8px}
 .olhapo-spec-card{padding:10px 11px;border-radius:9px}
 .olhapo-spec-card h4{margin-bottom:7px;font-size:.88em}
 .olhapo-spec-list li{gap:5px;font-size:.78em}
 .olhapo-spec-highlight{font-size:.91em}
}
@media(max-width:350px){.olhapo-spec-cards{grid-template-columns:1fr}}

/* Preço e peso na mesma linha, sem alterar os valores ou o cálculo WooCommerce. */
.olhapo-product-price-line{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:18px;row-gap:3px;max-width:100%;line-height:1.45}
.olhapo-price-value{display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap}
.olhapo-price-caption{font-weight:700;color:#282a2e;letter-spacing:0}
.olhapo-price-weight{font-size:.83em;font-weight:600;color:#555a61;white-space:nowrap}
/* Geral: 4 colunas compactas, com rótulo por cima do valor, sem título. */
.olhapo-product-specs .olhapo-spec-card--general{grid-column:1/-1}
.olhapo-product-specs .olhapo-spec-card--general .olhapo-spec-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:6px 10px}
.olhapo-product-specs .olhapo-spec-card--general .olhapo-spec-list li{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:1px;min-width:0;font-size:.82em;line-height:1.35}
.olhapo-product-specs .olhapo-spec-card--general .olhapo-spec-list li span{min-width:0;white-space:normal;flex:initial}
.olhapo-product-specs .olhapo-spec-card--general .olhapo-spec-list li strong{min-width:0;max-width:100%;white-space:normal;text-align:left;flex:initial;overflow-wrap:anywhere;font-size:1.09em}
@media(max-width:480px){
 .olhapo-product-specs .olhapo-spec-card--general{padding:9px 10px}
 .olhapo-product-specs .olhapo-spec-card--general .olhapo-spec-list{gap:5px}
 .olhapo-product-specs .olhapo-spec-card--general .olhapo-spec-list li{font-size:.76em}
}
/* Categorias e etiquetas: apenas depois do texto da descrição breve. */
.olhapo-ia-created-product .product_meta .sku_wrapper,
.olhapo-ia-created-product .product_meta .posted_in,
.olhapo-ia-created-product .product_meta .tagged_as{display:none!important}
.olhapo-ia-taxonomies{display:flex;flex-wrap:wrap;gap:5px 16px;margin-top:12px;font-size:.82em;line-height:1.5;color:#70747b}
.olhapo-ia-taxonomy{display:inline;min-width:0}
.olhapo-ia-taxonomy strong{color:#464950;font-weight:650}
.olhapo-ia-taxonomy a{color:inherit;text-decoration:underline;text-decoration-color:#d3d3d3;text-underline-offset:2px}
.olhapo-ia-taxonomy a:hover{color:#242424}
@media(max-width:600px){.olhapo-product-price-line{column-gap:12px}.olhapo-price-weight{font-size:.76em}}

/* O tema pode imprimir o preço diretamente, sem usar o filtro HTML do WooCommerce. */
body.single-product .summary p.price.olhapo-price-fallback,
body.single-product .entry-summary p.price.olhapo-price-fallback{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;max-width:100%}
body.single-product .summary p.price.olhapo-price-fallback .olhapo-price-weight,
body.single-product .entry-summary p.price.olhapo-price-fallback .olhapo-price-weight{margin-left:7px}

/* A linha nativa de SKU, categorias e etiquetas e substituida apenas nos produtos OLHAPO IA.
   Alguns temas imprimem-na fora da acao woocommerce_template_single_meta. */
body.olhapo-ia-created-product .product_meta,
body.olhapo-ia-created-product .wp-block-woocommerce-product-meta{display:none!important}
body.olhapo-ia-created-product .olhapo-ia-taxonomies{display:flex!important;clear:both;flex-wrap:wrap;align-items:center;gap:4px 18px;margin:12px 0 15px;color:#737780;font-size:.83em;line-height:1.5}

/* v0.8.12.34: categorias diretamente sob a descricao, antes do bloco de compra. */
body.olhapo-ia-created-product .olhapo-ia-taxonomies{margin:8px 0 15px!important;line-height:1.45}
body.olhapo-ia-created-product .woocommerce-product-details__short-description .olhapo-ia-taxonomies{margin-top:8px!important}
