/*
Theme Name: Ofertas Kadence Child
Description: Camada visual e componentes do portal Ofertas.
Template: kadence
Version: 1.0.0
Text Domain: ofertas-kadence-child
*/

:root { --ofertas-ink:#172033; --ofertas-accent:#d76b14; --ofertas-surface:#fffaf5; --ofertas-border:#e7e4e0; --ofertas-radius:12px; --ofertas-space:clamp(20px,4vw,36px); }
.ofertas-amazon-button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 20px; border-radius:8px; background:#9a4708; color:#fff !important; font-weight:700; text-decoration:none !important; }
.ofertas-amazon-button:hover, .ofertas-amazon-button:focus, .ofertas-amazon-button:active { background:#713305; color:#fff; }
.ofertas-affiliate-notice, .ofertas-affiliate-disclosure, .ofertas-card-eyebrow { color:#5d6675; font-size:.875rem; }
.ofertas-editorial-section, .ofertas-related-product { margin:32px 0; padding:28px; border:1px solid #e7e4e0; border-radius:12px; background:var(--ofertas-surface); }
.ofertas-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:20px; }
.ofertas-card { padding:20px; border:1px solid #e7e4e0; border-radius:12px; background:#fff; }
.ofertas-card-image { display:block; width:100%; aspect-ratio:1 / 1; margin:0 0 14px; border-radius:8px; object-fit:cover; }
.ofertas-card h3 { margin:12px 0 0; font-size:1.05rem; }
.ofertas-categories { display:flex; flex-wrap:wrap; gap:10px; }
.ofertas-categories a { padding:8px 12px; border:1px solid #ddd7d1; border-radius:999px; text-decoration:none; }
.ofertas-specs dl { display:grid; grid-template-columns:minmax(120px,.45fr) 1fr; gap:10px 20px; margin:0; }.ofertas-specs dt{font-weight:700}.ofertas-specs dd{margin:0}.ofertas-related-list{margin:var(--ofertas-space) 0}.ofertas-toc{margin:0 0 28px;padding:20px;border-left:3px solid var(--ofertas-accent);background:var(--ofertas-surface)}.ofertas-toc ol{margin:10px 0 0}.ofertas-toc .toc-level-3{margin-left:16px}.ofertas-text-link:focus,.ofertas-categories a:focus,.ofertas-amazon-button:focus{outline:3px solid #172033;outline-offset:3px}
.ofertas-sticky-mobile { display:none; }
.ofertas-hero-traits { display:flex; flex-wrap:wrap; gap:8px 0; margin:0 0 18px; color:#425066; font-size:.95rem; font-weight:600; }
.ofertas-hero-traits span:not(:last-child)::after { content:"•"; margin:0 9px; color:var(--ofertas-accent); }
.ofertas-amazon-helper { max-width:42rem; margin:0 0 18px; color:#5d6675; font-size:.9rem; }
.ofertas-editorial-cta { max-width:760px; margin:32px auto; padding:20px 0; border-top:1px solid var(--ofertas-border); border-bottom:1px solid var(--ofertas-border); }
.ofertas-editorial-cta .ofertas-amazon-cta { margin:0; }
.ofertas-key-features { background:#f7fafc; }
.ofertas-editorial-section ul { margin:0; padding-left:1.2rem; }
.ofertas-editorial-section li + li { margin-top:.55rem; }
.ofertas-product-analysis { max-width:760px; margin:var(--ofertas-space) auto; }
.ofertas-product-analysis h2 { margin:2.2rem 0 .8rem; color:var(--ofertas-ink); font-size:clamp(1.35rem,2vw,1.75rem); }
.ofertas-product-analysis p { line-height:1.72; }
.ofertas-specs { max-width:960px; background:#fff; }
.ofertas-specs-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.ofertas-specs table { width:100%; min-width:520px; border-collapse:collapse; }
.ofertas-specs th, .ofertas-specs td { padding:12px 14px; border-bottom:1px solid var(--ofertas-border); text-align:left; vertical-align:top; }
.ofertas-specs th { width:34%; color:var(--ofertas-ink); font-weight:700; background:#fffaf5; }
.ofertas-product-author, .ofertas-sources { max-width:760px; margin:28px auto; color:#5d6675; font-size:.9rem; }
.ofertas-sources h2 { margin-bottom:.7rem; color:var(--ofertas-ink); font-size:1.1rem; }
.ofertas-sources ul { margin:0; padding-left:1.2rem; }
.ofertas-article-byline { margin:0 0 12px; color:#526074; font-size:.92rem; }
.ofertas-methodology-note { margin:0 0 28px; padding:14px 16px; border-left:3px solid var(--ofertas-accent); background:var(--ofertas-surface); color:#455268; font-size:.92rem; }
.ofertas-author-profile { max-width:760px; margin:0 0 32px; padding:28px; border:1px solid var(--ofertas-border); border-radius:var(--ofertas-radius); background:var(--ofertas-surface); }
.ofertas-author-profile p:last-child { margin-bottom:0; }
.ofertas-author-articles { margin-top:var(--ofertas-space); }
.ofertas-article-breadcrumbs { display:flex; flex-wrap:wrap; gap:7px; margin:0 0 14px; color:#5d6675; font-size:.9rem; }
.ofertas-article-breadcrumbs a { color:inherit; text-decoration:none; }
.ofertas-article-breadcrumbs a:hover, .ofertas-article-breadcrumbs a:focus { color:var(--ofertas-accent); text-decoration:underline; }
.single-post .article-post-thumbnail .post-thumbnail-inner { overflow:hidden; border-radius:var(--ofertas-radius); background:var(--ofertas-surface); }
.ofertas-responsive-picture { display:block; }
.single-post .article-post-thumbnail .post-top-featured { display:block; width:100%; height:auto; }
.single-product div.product .ofertas-editorial-section, .single-product div.product .ofertas-product-analysis, .single-product div.product .ofertas-editorial-cta, .single-product div.product .ofertas-product-author, .single-product div.product .ofertas-sources, .single-product div.product .ofertas-related-list { clear:both; box-sizing:border-box; width:100%; }
@media (max-width: 767px) {
  .ofertas-editorial-section, .ofertas-related-product { padding:20px; }
  .ofertas-specs dl { grid-template-columns:1fr; gap:4px; }.ofertas-specs dd{margin:0 0 12px}
  .ofertas-sticky-mobile { display:block; position:fixed; z-index:1000; right:16px; bottom:16px; left:16px; padding:10px 12px; border:1px solid #e7e4e0; border-radius:12px; background:rgba(255,255,255,.96); box-shadow:0 8px 24px rgba(23,32,51,.14); opacity:0; pointer-events:none; transform:translateY(12px); visibility:hidden; transition:opacity .18s ease, transform .18s ease, visibility .18s ease; }
  .ofertas-sticky-mobile.is-visible { opacity:1; pointer-events:auto; transform:translateY(0); visibility:visible; }
  .ofertas-sticky-mobile .ofertas-amazon-cta { margin:0; }
  .ofertas-sticky-mobile .ofertas-amazon-button { width:100%; }
  .ofertas-hero-traits { font-size:.875rem; }
  .ofertas-specs { padding:16px; }
  .ofertas-specs th, .ofertas-specs td { padding:10px 12px; }
  .ofertas-product-analysis { margin:28px 0; }
}
