/*
Theme Name: Base Urbana
Description: Loja multissetorial para WooCommerce, com página inicial editável no Elementor.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: base-urbana
*/
@font-face { font-family:"Base Sans"; src:url("assets/dm-sans.woff2") format("woff2"); font-weight:100 1000; font-display:swap; }
:root { --bu-ink:#1d211e; --bu-paper:#f7f4ed; --bu-white:#fffdf8; --bu-dark:#202421; --bu-brand:#ed9863; --bu-line:#ddd7ca; --bu-muted:#585d54; }
*,*::before,*::after { box-sizing:border-box; }
body { margin:0; background:var(--bu-paper); color:var(--bu-ink); font:16px/1.55 "Base Sans",Arial,sans-serif; }
img { max-width:100%; height:auto; }
a { color:inherit; }
:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.bu-skip:not(:focus),.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.bu-skip:focus { display:inline-block; padding:9px; }
.bu-shell,.bu-home-section { width:min(1232px,calc(100% - 72px))!important; margin-inline:auto!important; }
.bu-header { background:var(--bu-dark); color:#f8f6ef; }
.bu-top { min-height:79px; display:grid; grid-template-columns:auto minmax(130px,0.82fr) auto; align-items:center; justify-content:space-between; gap:18px; }
.bu-wordmark { display:inline-flex; align-items:center; gap:9px; font-size:clamp(25px,3.2vw,45px); font-weight:865; line-height:1; letter-spacing:-.082em; text-decoration:none; }
.bu-mark { display:block; flex:none; width:.85em; height:.85em; background:var(--bu-brand); clip-path:polygon(0 0,100% 0,100% 28%,34% 28%,34% 72%,100% 72%,100% 100%,0 100%); }
.bu-top .custom-logo { max-width:min(190px,45vw); max-height:59px; width:auto; display:block; }
.bu-search { display:flex; min-width:0; border:1px solid #6a6b62; border-radius:3px; }
.bu-search input { min-width:0; width:100%; padding:8px; background:transparent; color:inherit; border:0; font:inherit; font-size:13px; }
.bu-search input::placeholder { color:#d7dbd1; }
.bu-search button { border:0; background:var(--bu-brand); color:#1e211c; cursor:pointer; font-weight:800; padding-inline:10px; }
.bu-actions { display:flex; align-items:center; gap:13px; font-size:13px; white-space:nowrap; }
.bu-actions a,.bu-nav a,.bu-footer nav a { text-decoration:none; }
.bu-actions a:hover,.bu-nav a:hover,.bu-footer nav a:hover { text-decoration:underline; text-underline-offset:4px; }
.bu-cart { background:#393e36; border:1px solid #62675c; padding:8px 10px; border-radius:3px; font-weight:780; }
.bu-nav { background:#2a2e27; border-top:1px solid #41453c; }
.bu-nav ul,.bu-footer ul { display:flex; gap:22px; list-style:none; margin:0; padding:11px 0; font-size:13px; font-weight:650; }
.bu-nav ul { overflow:auto; white-space:nowrap; scrollbar-width:thin; }
.bu-nav li { flex:none; }
.bu-hero { min-height:clamp(480px,39vw,620px); padding:clamp(50px,6vw,90px) max(36px,calc((100vw - 1232px)/2))!important; display:flex!important; justify-content:center!important; color:#fffdf7; position:relative; isolation:isolate; background-color:#262623; background-image:url("assets/hero.jpg"); background-size:cover; background-position:center; }
.bu-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#161916ed,#161916b3 40%,#16191622 75%); pointer-events:none; }
.bu-hero .elementor-heading-title { color:#fffdf7; margin:0; max-width:660px; font-size:clamp(42px,6.5vw,94px); letter-spacing:-.075em; line-height:.95; font-weight:860; }
.bu-hero .elementor-widget-text-editor { color:#f1efe7; max-width:440px; }
.bu-hero .elementor-widget-text-editor p { margin:1px 0 8px; }
.bu-button,.bu-hero .elementor-button,.bu-home-section .elementor-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button { background:var(--bu-brand); color:#20221c; border-radius:3px; font-weight:800; text-decoration:none; }
.bu-button { display:inline-block; padding:9px 14px; }
.bu-home-section { padding-block:clamp(25px,4vw,58px)!important; gap:15px!important; }
.bu-home-section .elementor-heading-title,.bu-simple h1,.bu-simple h2 { margin:0; color:var(--bu-ink); font-size:clamp(29px,4vw,56px); font-weight:850; line-height:1.04; letter-spacing:-.063em; }
.bu-home-section .elementor-widget-text-editor p { margin:0; }
.bu-category-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.bu-category { overflow:hidden; display:block; border:1px solid var(--bu-line); border-radius:4px; background:var(--bu-white); text-decoration:none; }
.bu-category img { display:block; aspect-ratio:5/4; width:100%; object-fit:cover; }
.bu-category span { display:flex; gap:6px; justify-content:space-between; font-size:clamp(13px,1.4vw,17px); font-weight:820; padding:10px; }
.bu-category i { font-style:normal; }
.bu-category:hover span { background:#f1d8bf; }
.bu-banner { background:#daddd0; border-radius:5px; padding-inline:clamp(18px,4vw,50px)!important; }
.bu-service { border-top:1px solid var(--bu-line); }
.bu-simple { padding-block:clamp(30px,5vw,65px); }
.bu-simple h1 { margin:0 0 17px; }
.bu-simple h2 { font-size:clamp(22px,3vw,36px); }
.woocommerce ul.products li.product { background:var(--bu-white); border:1px solid var(--bu-line); border-radius:4px; overflow:hidden; }
.woocommerce ul.products li.product a img { aspect-ratio:1; object-fit:cover; background:#eeece6; margin:0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color:var(--bu-ink); font-size:16px; padding:9px 10px 3px; font-weight:820; }
.woocommerce ul.products li.product .price { color:#33482d; font-weight:800; padding-inline:10px; }
.woocommerce ul.products li.product .button { margin:4px 10px 12px; padding:7px 9px; font-size:12px; }
.woocommerce ul.products li.product .added_to_cart { font-size:12px; padding:0 10px 8px; }
.woocommerce div.product p.price,.woocommerce div.product span.price { color:#33482d; font-weight:850; }
.woocommerce div.product .product_title { font-size:clamp(28px,4vw,55px); }
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt { background:#27322a; color:#fff; }
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover { background:#39483b; }
.bu-footer { background:#242822; color:#f8f4ea; }
.bu-footer-grid { display:grid; grid-template-columns:1fr 1fr .6fr; gap:25px; padding-block:25px; }
.bu-footer ul { flex-wrap:wrap; padding:0; gap:9px 14px; }
.bu-footer p { margin:2px 0; font-size:13px; }
.bu-footer-base { display:flex; flex-wrap:wrap; justify-content:space-between; gap:9px; border-top:1px solid #5b5c52; padding:11px 0; font-size:12px; }
@media(max-width:820px) { .bu-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:650px) {
 .bu-shell,.bu-home-section { width:calc(100% - 26px)!important; }
 .bu-top { grid-template-columns:minmax(0,1fr) auto; padding-block:10px; gap:10px; }
 .bu-search { grid-row:2; grid-column:1/-1; }
 .bu-actions { font-size:11px; gap:8px; }
 .bu-cart { padding:4px 5px; }
 .bu-hero { min-height:395px; padding:36px 14px!important; }
 .bu-hero::before { background:linear-gradient(90deg,#161916f5,#16191678); }
 .bu-hero .elementor-heading-title { font-size:clamp(41px,10vw,56px); }
 .bu-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .bu-footer-grid { grid-template-columns:1fr; gap:16px; }
}

/* Tie Elementor defaults to the storefront palette on the demo sections. */
.elementor .bu-hero .elementor-widget-heading .elementor-heading-title { color:#fffdf7; font-family:"Base Sans",Arial,sans-serif; }
.elementor .bu-hero .elementor-widget-text-editor p { max-width:440px; font-family:"Base Sans",Arial,sans-serif; }
.elementor .bu-home-section .elementor-widget-heading .elementor-heading-title { color:var(--bu-ink); font-family:"Base Sans",Arial,sans-serif; }
.elementor .bu-hero .elementor-widget-button .elementor-button,
.elementor .bu-home-section .elementor-widget-button .elementor-button { background:var(--bu-brand); color:var(--bu-ink); font-family:"Base Sans",Arial,sans-serif; font-weight:800; }
