/*
Theme Name: Casa Madeira
Theme URI: https://tilde.com.br
Author: tilde
Author URI: https://tilde.com.br
Description: Loja editorial de móveis de madeira maciça, com edição completa do site e blocos WooCommerce.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casa-madeira
Tags: e-commerce, full-site-editing, block-patterns, custom-colors, custom-menu, featured-images, wide-blocks, translation-ready
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}img{max-width:100%;height:auto}a{text-underline-offset:.25em}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #97734c;outline-offset:5px}
.wp-site-blocks>header,.wp-site-blocks>footer{margin-block:0}.cm-section{padding-block:clamp(3.5rem,8vw,7rem)}.cm-header{padding-block:1.4rem;border-bottom:1px solid #d5d0c4}.cm-header-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}.cm-header-tools{display:flex;flex-wrap:nowrap!important;align-items:center;gap:1.7rem}.cm-brand{text-decoration:none;font-weight:700;font-size:1.6rem;letter-spacing:-.07em;white-space:nowrap}.cm-brand span{display:inline-block;width:21px;height:25px;margin-right:.6rem;border:2px solid currentColor;border-top-left-radius:14px;border-top-right-radius:14px;vertical-align:middle}.cm-kicker{font-size:.75rem;letter-spacing:.15em;text-transform:uppercase;font-weight:700}.cm-hero{padding-top:3rem;padding-bottom:3rem}.cm-hero h1{font-size:clamp(3.3rem,7.7vw,7.2rem);line-height:.98;letter-spacing:-.07em;font-weight:500;margin-block:1rem 1.7rem}.cm-hero-top{display:grid;grid-template-columns:1.4fr 1fr;gap:4rem;align-items:end;margin-bottom:2.5rem}.cm-hero-image{margin:0;position:relative}.cm-hero-image img{width:100%;height:clamp(300px,42vw,570px);object-fit:cover;border-radius:150px 3px 3px 3px;display:block}.cm-hero-image figcaption{position:absolute;bottom:1.5rem;left:1.5rem;background:#f6f4ee;padding:.8rem 1.2rem;font-size:.8rem}.cm-arrow{display:inline-block;margin-left:1.8rem}.cm-ribbon{background:var(--wp--preset--color--oliva);color:#fff;padding-block:1.5rem}.cm-ribbon-row{display:flex;gap:1rem;justify-content:space-between;flex-wrap:wrap;font-size:.82rem}.cm-section-title{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2.8rem}.cm-section-title h2{margin:0}.cm-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}.cm-category{text-decoration:none;display:block}.cm-category img{width:100%;aspect-ratio:1.2;object-fit:cover;background:#e6e1d5;transition:transform .3s}.cm-category:hover img{transform:translateY(-4px)}.cm-category span{display:flex;justify-content:space-between;padding:1rem 0;border-bottom:1px solid #c8c4b8;font-size:1.2rem}.cm-story-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:center}.cm-story-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:3px 3px 130px 3px}.cm-story-grid h2{margin-top:.7rem}.cm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3rem}.cm-step{border-top:1px solid #aaa997;padding-top:1rem}.cm-step b{font-size:3.6rem;font-weight:400;letter-spacing:-.07em}.cm-step h3{margin-top:1rem}.cm-quote{font-size:clamp(1.7rem,3.6vw,3.3rem);line-height:1.35;letter-spacing:-.035em;margin:1.5rem 0}.cm-quote-footer{font-size:.9rem}.cm-faq details{padding:1.5rem 0;border-bottom:1px solid #bfc3b4}.cm-faq summary{cursor:pointer;font-size:1.13rem;font-weight:600}.cm-faq details p{max-width:65ch}.cm-footer{padding-block:4rem 2rem}.cm-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem}.cm-footer h2,.cm-footer h3,.cm-footer a{color:inherit}.cm-footer h2{font-size:2rem}.cm-footer h3{font-size:1rem}.cm-footer ul{list-style:none;padding:0}.cm-footer li{margin-bottom:.6rem}.cm-colophon{border-top:1px solid #8d9480;padding-top:1.6rem;margin-top:3rem;font-size:.75rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.cm-products .wc-block-product-template{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2rem 1.3rem!important}.cm-products .wc-block-product-template>li{width:auto!important;max-width:none!important;margin:0!important;min-width:0}.cm-products .wp-block-post-title{font-size:1.2rem!important;line-height:1.4;letter-spacing:-.025em;font-weight:600}.cm-products .wc-block-components-product-image img{aspect-ratio:1.15;object-fit:cover}.cm-products .wp-block-button__link{font-size:.8rem}.cm-posts .wp-block-post-title{font-size:1.6rem!important;line-height:1.3}.cm-posts img{aspect-ratio:1.5;object-fit:cover}.cm-content{padding-block:3.5rem 5rem}.cm-dark{background:var(--wp--preset--color--nogueira);color:var(--wp--preset--color--papel)}.cm-dark h2,.cm-dark h3{color:inherit}.cm-olive{background:var(--wp--preset--color--musgo)}.cm-button{display:inline-flex;text-decoration:none;background:var(--wp--preset--color--oliva);color:#fff;padding:1rem 1.4rem;font-size:.9rem;font-weight:600;align-items:center}.cm-button:hover{filter:brightness(1.15)}.cm-dark .cm-button{background:var(--wp--preset--color--papel);color:var(--wp--preset--color--nogueira)}.cm-note{font-size:.8rem}
@media(max-width:900px){.cm-products .wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cm-hero-top{gap:2rem}.cm-header-tools{gap:.7rem}.cm-story-grid{gap:2rem}}
@media(max-width:600px){.cm-hero-top,.cm-story-grid,.cm-steps,.cm-footer-grid{grid-template-columns:1fr}.cm-hero-top{gap:.5rem}.cm-category-grid{grid-template-columns:1fr}.cm-category img{aspect-ratio:1.6}.cm-section-title{align-items:start;flex-direction:column;gap:1rem}.cm-hero-image img{border-top-left-radius:80px}.cm-hero-image figcaption{left:.7rem;bottom:.7rem;font-size:.7rem}.cm-ribbon-row{flex-direction:column;gap:.5rem}.cm-header .cm-brand{font-size:1.2rem}.cm-brand span{width:16px;height:21px;margin-right:.35rem}.cm-header-tools{gap:.3rem}.cm-products .wp-block-post-title{font-size:1rem!important}.cm-products .wc-block-product-template{gap:1.6rem .8rem!important}.cm-steps{gap:1.5rem}.cm-footer-grid{gap:1.5rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.cm-posts .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}.cm-posts .wp-block-post-template>li{min-width:0}
@media(max-width:700px){.cm-posts .wp-block-post-template{grid-template-columns:1fr}}
