/*
Theme Name: Obra Forte
Author: Obra Forte
Description: Tema completo e responsivo para lojas de materiais de construção, preparado para WooCommerce.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: obra-forte
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

:root{--of-yellow:#ffc400;--of-yellow-dark:#e4ac00;--of-ink:#101214;--of-steel:#272b30;--of-muted:#667085;--of-line:#e7e9ed;--of-paper:#fff;--of-soft:#f4f5f7;--of-green:#18a957;--of-red:#df3434;--of-radius:12px;--of-shadow:0 10px 34px rgba(16,18,20,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--of-ink);background:var(--of-paper);font-family:Inter,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input{font:inherit}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.of-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}.of-topbar{background:var(--of-ink);color:#fff;font-size:12px}.of-topbar__inner{display:flex;align-items:center;justify-content:space-between;min-height:34px;gap:16px}.of-topbar p{margin:0}.of-topbar__links{display:flex;align-items:center;gap:20px;color:#d7d9dc}.of-topbar__links a:hover{color:var(--of-yellow)}
.of-header{background:#fff;border-bottom:1px solid var(--of-line);position:relative;z-index:30}.of-header__main{display:grid;grid-template-columns:230px minmax(280px,1fr) auto;align-items:center;gap:32px;padding:18px 0}.of-brand{display:flex;align-items:center;gap:11px;font-weight:950;line-height:.92;letter-spacing:-1px;text-transform:uppercase;font-size:26px}.of-brand img.custom-logo{max-height:54px;width:auto}.of-brand__mark{width:48px;height:48px;flex:0 0 48px}.of-brand__name small{display:block;font-size:9px;line-height:1.2;letter-spacing:2.2px;margin-top:6px;color:#747b83}.of-search{position:relative}.of-search form{display:flex;height:46px;border:2px solid var(--of-yellow);border-radius:9px;overflow:hidden;background:#fff}.of-search input[type=search]{width:100%;border:0;outline:0;padding:0 16px;color:var(--of-ink)}.of-search button{width:52px;border:0;background:var(--of-yellow);cursor:pointer;font-size:0}.of-search button:after{content:'⌕';font-size:28px;font-weight:900}.of-search button:hover{background:var(--of-yellow-dark)}.of-header__actions{display:flex;align-items:center;gap:10px}.of-action{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:8px;transition:.2s}.of-action:hover{background:var(--of-soft)}.of-action__icon{font-size:23px}.of-action__text{display:flex;flex-direction:column;font-size:11px;color:var(--of-muted);white-space:nowrap}.of-action__text strong{font-size:13px;color:var(--of-ink)}.of-cart-count{display:inline-grid;place-items:center;background:var(--of-yellow);color:var(--of-ink);font-size:10px;font-weight:900;border-radius:30px;min-width:19px;height:19px;margin-left:2px}.of-menu-toggle{display:none;background:var(--of-yellow);border:0;border-radius:8px;width:44px;height:42px;font-size:22px;cursor:pointer}
.of-nav{background:#fff;border-bottom:1px solid var(--of-line)}.of-nav__inner{display:flex;align-items:stretch;min-height:48px}.of-departments{position:relative;display:flex;align-items:center;gap:12px;background:var(--of-yellow);padding:0 22px;font-weight:900;min-width:230px}.of-departments:before{content:'☰';font-size:19px}.of-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:stretch}.of-nav li{display:flex}.of-nav li a{display:flex;align-items:center;padding:0 17px;font-size:14px;font-weight:750}.of-nav li a:hover{color:#8f6c00;background:#fff9df}.of-nav .menu-item-oferta a{color:var(--of-red)}
.of-hero{position:relative;background:var(--of-ink);overflow:hidden}.of-slider{position:relative;min-height:480px}.of-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .65s ease;background-size:cover;background-position:center}.of-slide:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,12,14,.96) 0%,rgba(10,12,14,.80) 36%,rgba(10,12,14,.20) 69%,rgba(10,12,14,.08) 100%)}.of-slide.is-active{opacity:1;pointer-events:auto}.of-slide__content{position:relative;z-index:2;display:flex;align-items:center;min-height:480px}.of-slide__copy{width:min(600px,64%);padding:62px 0;color:#fff}.of-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--of-yellow);font-size:12px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase;margin:0 0 12px}.of-kicker:before{content:'';width:26px;height:3px;background:currentColor}.of-slide h1,.of-slide h2{font-size:clamp(40px,5vw,66px);line-height:1.02;letter-spacing:-2.8px;margin:0 0 18px;max-width:660px}.of-slide p{font-size:18px;color:#e7e9ec;margin:0 0 30px;max-width:515px}.of-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 23px;border:2px solid transparent;border-radius:8px;background:var(--of-yellow);color:var(--of-ink);font-weight:900;cursor:pointer;transition:.2s}.of-btn:hover{background:#ffd338;transform:translateY(-1px)}.of-btn--dark{background:var(--of-ink);color:#fff}.of-btn--dark:hover{background:#2b3035}.of-btn--outline{background:transparent;border-color:#fff;color:#fff;margin-left:8px}.of-slider__nav{position:absolute;z-index:5;bottom:25px;left:50%;transform:translateX(-50%);display:flex;gap:8px}.of-slider__dot{border:0;background:rgba(255,255,255,.45);width:9px;height:9px;border-radius:30px;padding:0;cursor:pointer;transition:.25s}.of-slider__dot.is-active{background:var(--of-yellow);width:32px}.of-slider__arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.22);color:#fff;font-size:24px;cursor:pointer}.of-slider__arrow:hover{background:var(--of-yellow);color:var(--of-ink);border-color:var(--of-yellow)}.of-slider__arrow--prev{left:20px}.of-slider__arrow--next{right:20px}
.of-trust{position:relative;z-index:6;margin-top:-1px;background:#fff;border-bottom:1px solid var(--of-line)}.of-trust__grid{display:grid;grid-template-columns:repeat(4,1fr)}.of-trust__item{display:flex;align-items:center;gap:13px;padding:23px 18px;border-right:1px solid var(--of-line)}.of-trust__item:first-child{padding-left:0}.of-trust__item:last-child{border-right:0}.of-trust__icon{font-size:28px;line-height:1}.of-trust__item strong{display:block;font-size:13px}.of-trust__item span{display:block;font-size:12px;color:var(--of-muted)}
.of-section{padding:68px 0}.of-section--soft{background:var(--of-soft)}.of-section__head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.of-section__title{margin:0;font-size:clamp(26px,3vw,36px);line-height:1.1;letter-spacing:-1px}.of-section__title small{display:block;color:#aa8000;text-transform:uppercase;letter-spacing:1.5px;font-size:11px;margin-bottom:8px}.of-section__link{font-weight:850;font-size:13px;border-bottom:2px solid var(--of-yellow)}
.of-categories{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.of-category{min-height:170px;padding:22px 14px;background:#fff;border:1px solid var(--of-line);border-radius:var(--of-radius);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:.2s}.of-category:hover{transform:translateY(-4px);box-shadow:var(--of-shadow);border-color:var(--of-yellow)}.of-category__icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#fff8db;color:var(--of-ink);font-size:34px;margin-bottom:14px}.of-category img{width:76px;height:76px;object-fit:cover;border-radius:50%;margin-bottom:13px}.of-category strong{font-size:13px}.of-category span{font-size:11px;color:var(--of-muted);margin-top:3px}
.of-products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.of-product{position:relative;background:#fff;border:1px solid var(--of-line);border-radius:var(--of-radius);overflow:hidden;transition:.2s}.of-product:hover{transform:translateY(-3px);box-shadow:var(--of-shadow)}.of-product__media{display:grid;place-items:center;aspect-ratio:1/1;background:#f7f7f5;overflow:hidden}.of-product__media img{width:100%;height:100%;object-fit:cover;transition:.35s}.of-product:hover .of-product__media img{transform:scale(1.04)}.of-product__placeholder{font-size:64px;filter:grayscale(.08)}.of-product__badge{position:absolute;z-index:2;top:12px;left:12px;padding:5px 9px;border-radius:5px;background:var(--of-red);color:#fff;font-size:10px;font-weight:900;text-transform:uppercase}.of-product__body{padding:17px}.of-product__cat{text-transform:uppercase;color:#9a7100;font-size:9px;font-weight:900;letter-spacing:1px}.of-product h3{font-size:15px;line-height:1.35;min-height:40px;margin:6px 0 11px}.of-rating{color:#f1b800;font-size:12px;letter-spacing:1px}.of-product__old{color:#989da5;text-decoration:line-through;font-size:11px}.of-product__price{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.of-product__price strong,.of-product .price{font-size:20px;font-weight:950;color:var(--of-ink)}.of-product .price del{font-size:12px;color:#9298a1}.of-product .price ins{text-decoration:none}.of-product__buy,.of-product .add_to_cart_button{width:40px;height:40px;border-radius:8px;background:var(--of-yellow);display:grid;place-items:center;font-size:0}.of-product__buy:after,.of-product .add_to_cart_button:after{content:'＋';font-size:22px;font-weight:900}.of-product__buy:hover,.of-product .add_to_cart_button:hover{background:var(--of-yellow-dark)}
.of-promos{display:grid;grid-template-columns:1.15fr .85fr;gap:20px}.of-promo{position:relative;min-height:320px;overflow:hidden;border-radius:16px;background-size:cover;background-position:center}.of-promo:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,16,18,.94),rgba(14,16,18,.40))}.of-promo__copy{position:relative;z-index:2;color:#fff;padding:44px;width:min(430px,80%)}.of-promo h3{font-size:34px;line-height:1.05;letter-spacing:-1.2px;margin:7px 0 13px}.of-promo p{color:#e8eaed;margin:0 0 22px}.of-promo--yellow:before{background:linear-gradient(90deg,rgba(255,196,0,.98),rgba(255,196,0,.64))}.of-promo--yellow .of-promo__copy{color:var(--of-ink)}.of-promo--yellow p{color:#3d3d39}
.of-cta{background:var(--of-yellow);padding:42px 0}.of-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.of-cta h2{margin:0;font-size:30px;line-height:1.1}.of-cta p{margin:7px 0 0;color:#5e4900}.of-footer{background:var(--of-ink);color:#fff;padding:58px 0 0}.of-footer__grid{display:grid;grid-template-columns:1.35fr repeat(3,1fr);gap:48px}.of-footer__about p{font-size:13px;color:#b8bdc4;max-width:320px}.of-footer h4{font-size:13px;text-transform:uppercase;letter-spacing:1px;color:var(--of-yellow);margin:4px 0 18px}.of-footer ul{list-style:none;padding:0;margin:0}.of-footer li{margin:9px 0}.of-footer a{font-size:13px;color:#c9cdd2}.of-footer a:hover{color:var(--of-yellow)}.of-footer__bottom{border-top:1px solid #2d3237;margin-top:48px;padding:21px 0;color:#858c94;font-size:11px;display:flex;justify-content:space-between;gap:20px}.of-whatsapp{position:fixed;right:20px;bottom:20px;z-index:50;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#20bd5b;color:#fff;font-size:28px;box-shadow:0 10px 30px rgba(32,189,91,.36)}.of-whatsapp:hover{transform:scale(1.05)}
.of-content{padding:54px 0;min-height:50vh}.of-content h1{font-size:40px}.woocommerce .button,.woocommerce button.button,.woocommerce a.button{background:var(--of-yellow)!important;color:var(--of-ink)!important;border-radius:7px!important}.woocommerce span.onsale{background:var(--of-red)!important}.woocommerce ul.products li.product{background:#fff;border:1px solid var(--of-line);border-radius:12px;padding:12px;overflow:hidden}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--of-ink);font-weight:900}.woocommerce-message,.woocommerce-info{border-top-color:var(--of-yellow)}.woocommerce-message:before,.woocommerce-info:before{color:#a47a00}
@media(max-width:1000px){.of-header__main{grid-template-columns:210px 1fr auto;gap:16px}.of-action--account{display:none}.of-categories{grid-template-columns:repeat(3,1fr)}.of-products{grid-template-columns:repeat(3,1fr)}.of-nav li a{padding:0 10px}.of-footer__grid{grid-template-columns:1.2fr repeat(2,1fr)}.of-footer__grid>div:last-child{display:none}}
@media(max-width:760px){.of-container{width:min(100% - 24px,1180px)}.of-topbar__links{display:none}.of-topbar__inner{justify-content:center}.of-header__main{grid-template-columns:1fr auto;gap:8px;padding:13px 0}.of-brand{font-size:21px}.of-brand__mark{width:42px;height:42px;flex-basis:42px}.of-search{grid-column:1/-1;grid-row:2}.of-header__actions .of-action{display:none}.of-menu-toggle{display:block}.of-nav{display:none}.of-nav.is-open{display:block}.of-nav__inner{display:block}.of-departments{min-height:46px}.of-nav ul{display:block;padding:8px 0}.of-nav li a{padding:10px 16px}.of-slider,.of-slide__content{min-height:470px}.of-slide{background-position:62% center}.of-slide:before{background:linear-gradient(90deg,rgba(10,12,14,.94),rgba(10,12,14,.62))}.of-slide__copy{width:100%;padding:54px 18px}.of-slide h1,.of-slide h2{font-size:41px;letter-spacing:-1.8px}.of-slide p{font-size:16px}.of-slider__arrow{display:none}.of-btn--outline{display:none}.of-trust__grid{grid-template-columns:repeat(2,1fr)}.of-trust__item{padding:18px 8px;border-bottom:1px solid var(--of-line)}.of-trust__item:nth-child(2){border-right:0}.of-section{padding:48px 0}.of-section__head{align-items:start}.of-section__link{font-size:11px}.of-categories{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.of-category{min-width:138px;scroll-snap-align:start}.of-products{grid-template-columns:repeat(2,1fr);gap:11px}.of-product__body{padding:12px}.of-product h3{font-size:13px}.of-product__price strong{font-size:17px}.of-promos{grid-template-columns:1fr}.of-promo{min-height:300px}.of-promo__copy{padding:34px 27px;width:88%}.of-promo h3{font-size:30px}.of-cta__inner{display:block}.of-cta .of-btn{margin-top:20px}.of-footer__grid{grid-template-columns:1fr 1fr;gap:30px}.of-footer__about{grid-column:1/-1}.of-footer__bottom{display:block}.of-whatsapp{width:52px;height:52px;right:14px;bottom:14px}}
@media(max-width:390px){.of-products{grid-template-columns:1fr 1fr}.of-product__buy{width:34px;height:34px}.of-slide h1,.of-slide h2{font-size:36px}.of-footer__grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Obra Forte 2.0 */
.of-brand img.custom-logo,.of-brand__full{display:block;width:215px;max-width:100%;max-height:58px;height:auto}.of-products{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.of-product h3{margin-bottom:8px}.of-product__summary{font-size:12px;line-height:1.45;color:var(--of-muted);min-height:52px;margin:0 0 8px}.of-page-hero{padding:70px 0 58px;background:linear-gradient(125deg,#101214,#2c3034);color:#fff}.of-page-hero__crumb{font-size:11px;color:var(--of-yellow);font-weight:900;letter-spacing:1.2px;text-transform:uppercase}.of-page-hero h1{font-size:clamp(38px,5vw,60px);line-height:1.05;letter-spacing:-2px;margin:12px 0}.of-page-hero p{color:#d5d9dd;max-width:720px;font-size:17px}.of-prose{max-width:850px;margin:0 auto}.of-prose h2{font-size:27px;line-height:1.2;margin:38px 0 12px}.of-prose h3{font-size:20px;margin:28px 0 8px}.of-prose p,.of-prose li{color:#3f4650;line-height:1.8}.of-prose a{color:#8a6700;text-decoration:underline}.of-prose ul,.of-prose ol{padding-left:22px}.of-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:36px}.of-contact-card{padding:25px;border:1px solid var(--of-line);border-radius:12px;background:#fff}.of-contact-card span{display:block;font-size:28px;margin-bottom:9px}.of-contact-card strong{display:block}.of-contact-card small{color:var(--of-muted)}.of-post-meta{font-size:12px;color:var(--of-muted);margin:10px 0 24px}.of-post-cover{width:100%;border-radius:16px;max-height:520px;object-fit:cover;margin:0 0 28px}.of-articles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.of-article{background:#fff;border:1px solid var(--of-line);border-radius:14px;overflow:hidden;transition:.2s}.of-article:hover{transform:translateY(-3px);box-shadow:var(--of-shadow)}.of-article__image{display:block;aspect-ratio:16/9;background:#e9eaec;overflow:hidden}.of-article__image img{width:100%;height:100%;object-fit:cover}.of-article__body{padding:22px}.of-article__body>span{font-size:9px;color:#9a7100;font-weight:900;letter-spacing:1px}.of-article h3{font-size:20px;line-height:1.25;margin:8px 0}.of-article p{font-size:13px;color:var(--of-muted)}.of-article__link{display:inline-block;font-weight:900;font-size:12px;border-bottom:2px solid var(--of-yellow);margin-top:8px}.of-logo-wall{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:30px}.of-logo-tile{min-height:105px;display:grid;place-items:center;background:#fff;border:1px solid var(--of-line);border-radius:10px}.of-logo-tile img{max-width:145px;max-height:48px}.of-editor-note{border-left:4px solid var(--of-yellow);background:#fff8dc;padding:16px 18px;font-size:13px;margin:22px 0}.of-pagination{margin-top:35px}.of-pagination .page-numbers{display:inline-grid;place-items:center;min-width:38px;height:38px;border:1px solid var(--of-line);border-radius:7px;margin-right:5px}.of-pagination .current{background:var(--of-yellow);border-color:var(--of-yellow)}
@media(max-width:760px){.of-articles{grid-template-columns:1fr}.of-contact-grid{grid-template-columns:1fr}.of-logo-wall{grid-template-columns:1fr 1fr}.of-prose{max-width:100%}.of-product__summary{min-height:auto}.of-brand__full{width:190px}}
