/*
Theme Name: Viva Serra
Description: Agência de turismo para WooCommerce, com página inicial editável no Elementor.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: viva-serra
*/
@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; }

:root { --bu-ink:#172b24; --bu-dark:#142921; --bu-paper:#f4f5ed; --bu-brand:#eab77f; --bu-line:#d8dfd2; }
.bu-nav,.bu-footer { background:#1e382d; }
.bu-mark { border-radius:50%; clip-path:polygon(50% 0,100% 32%,100% 68%,50% 100%,0 68%,0 32%,50% 0,50% 20%,19% 40%,19% 60%,50% 80%,81% 60%,81% 40%,50% 20%); }
.bu-hero { min-height:clamp(460px,42vw,680px); }
.bu-hero .elementor-heading-title { max-width:570px; }
.bu-hero::before { background:linear-gradient(90deg,#0c241bee,#0c241ba0 42%,#0c241b25 88%); }
.bu-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.bu-category img { aspect-ratio:16/9; }
.bu-banner { background:#dce8d7; }
.vs-faq details { padding:12px 0; border-bottom:1px solid var(--bu-line); }
.vs-faq summary { cursor:pointer; font-weight:750; }
.vs-faq details p { padding-top:5px; }
.vs-booking { display:grid; gap:6px; margin-bottom:16px; max-width:380px; padding:14px; background:#e4ede1; border-radius:5px; }
.vs-booking label,.vs-duration { font-weight:800; }
.vs-booking input { min-height:36px; width:100%; color:var(--bu-ink); background:white; border:1px solid #809489; padding:6px; font:inherit; }
.vs-booking small { font-size:12px; }
@media(max-width:650px) { .bu-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .bu-hero .elementor-heading-title { font-size:clamp(47px,12vw,58px); } }
.vs-card-duration { display:block; color:#4c6254; font-size:12px; font-weight:700; padding:0 10px 5px; }
@font-face { font-family:"Viva Display"; src:url("assets/newsreader.woff2") format("woff2"); font-weight:200 800; font-display:swap; }
.elementor .bu-hero .elementor-widget-heading .elementor-heading-title { font-family:"Viva Display",Georgia,serif; font-size:clamp(62px,9.2vw,135px); letter-spacing:-.064em; font-weight:540; }
@media(max-width:650px) { .elementor .bu-hero .elementor-widget-heading .elementor-heading-title { font-size:clamp(55px,15vw,75px); } }

/* As grades da home se adaptam ao espaço do contêiner Elementor. */
.bu-home-section .woocommerce ul.products {
 display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(15px,2vw,27px);
 margin:10px 0 0;
}
.bu-home-section .woocommerce ul.products::before,
.bu-home-section .woocommerce ul.products::after { display:none; }
.bu-home-section .woocommerce ul.products li.product {
 display:flex; flex-direction:column; align-items:stretch; float:none; width:auto; min-width:0;
 margin:0; padding:0; overflow:hidden; border-radius:14px; box-shadow:0 4px 16px #1e2c2010;
 transition:box-shadow .2s ease;
}
.bu-home-section .woocommerce ul.products li.product:hover { box-shadow:0 10px 25px #1e2c2023; }
.bu-home-section .woocommerce ul.products li.product .woocommerce-LoopProduct-link {
 display:flex; flex:1; flex-direction:column;
}
.bu-home-section .woocommerce ul.products li.product a img {
 display:block; width:100%; aspect-ratio:4 / 3; height:auto; object-fit:cover; margin:0;
}
.bu-home-section .woocommerce ul.products li.product .woocommerce-loop-product__title {
 padding:15px 16px 6px; font-size:clamp(15px,1.35vw,20px); line-height:1.22; letter-spacing:-.025em;
}
.bu-home-section .woocommerce ul.products li.product .vs-card-duration {
 padding:0 16px 10px; font-size:.78rem;
}
.bu-home-section .woocommerce ul.products li.product .price {
 margin:auto 0 0; padding:0 16px; color:var(--bu-ink); font-size:1rem; font-weight:800;
}
.bu-home-section .woocommerce ul.products li.product > .button {
 align-self:stretch; margin:14px 16px 16px; padding:10px 8px; border-radius:7px;
 text-align:center; line-height:1.25; min-height:36px;
}

.vs-booking:has(.vs-calendar) {
 gap:10px; padding:16px; border:1px solid #d5dfd2; border-radius:14px; background:#fbfcf8;
 width:min(100%,380px); box-sizing:border-box;
}
.vs-booking .vs-calendar-field { display:none; }
.vs-calendar-nav {
 display:grid; grid-template-columns:38px 1fr 38px; gap:8px; align-items:center;
 margin-bottom:12px; text-align:center; text-transform:capitalize;
}
.vs-calendar-week,.vs-calendar-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; }
.vs-calendar-week { text-align:center; font-size:11px; font-weight:750; color:#425849; margin-bottom:5px; }
.vs-calendar button {
 min-width:0; padding:0; min-height:36px; border:1px solid #dce5da; border-radius:7px;
 background:#fff; color:#22382a; cursor:pointer; font:inherit; font-weight:700;
}
.vs-calendar-nav button { font-size:24px; line-height:1; }
.vs-calendar button:disabled { color:#737d73; background:#eff1eb; border-color:transparent; cursor:default; }
.vs-calendar button:not(:disabled):hover { background:#e4ede1; }
.vs-calendar button:focus-visible { outline:2px solid #243e2d; outline-offset:2px; }
.vs-calendar button[aria-pressed="true"],.vs-calendar button[aria-pressed="true"]:hover {
 background:#264532; border-color:#264532; color:white;
}
.vs-calendar-selection { margin:10px 0 0; font-size:.81rem; font-weight:750; }
.vs-calendar-error { color:#98291e; }
@media (max-width:960px) {
 .bu-home-section .woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:360px) {
 .bu-home-section .woocommerce ul.products { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
 .bu-home-section .woocommerce ul.products li.product { transition:none; }
}

.woocommerce div.product form.cart .vs-quantity {
 display:grid; justify-items:start; gap:5px; margin:0 0 12px;
}
.vs-quantity-label { font-size:.88rem; font-weight:800; }
.woocommerce div.product form.cart .vs-quantity .quantity { float:none; margin:0; }
.woocommerce div.product form.cart .vs-quantity .qty {
 width:5em; min-height:42px; border:1px solid #d5dfd2; border-radius:7px;
 font:inherit; color:var(--bu-ink); background:white;
}
.woocommerce div.product form.cart .vs-quantity:has(input.qty[type="hidden"]) { display:none; }
