/* Kvinchio3D: native Astra header, stable geometry, no duplicate navigation. */
:root{--k3d-header-height:112px;--k3d-admin-offset:0px}
html{scroll-padding-top:calc(var(--k3d-header-height) + var(--k3d-admin-offset) + 20px)}
[id]{scroll-margin-top:calc(var(--k3d-header-height) + var(--k3d-admin-offset) + 20px)}
body.k3d-header-enabled #masthead{position:sticky!important;top:var(--k3d-admin-offset)!important;width:100%;left:auto;right:auto;z-index:999;min-height:var(--k3d-header-height);background:#F7F2E9;color:#493026;transition:background-color .25s ease,box-shadow .25s ease;border:0}
body.k3d-header-enabled.home #masthead{background:linear-gradient(#493026 65%,rgba(73,48,38,.90) 88%,rgba(73,48,38,0));color:#F7F2E9}
body.k3d-header-enabled #masthead.k3d-scrolled{background:#493026;color:#F7F2E9;box-shadow:0 5px 22px rgba(33,20,14,.18)}
body.k3d-header-enabled #masthead .ast-primary-header-bar{background:transparent!important;border:0!important;min-height:var(--k3d-header-height)}
body.k3d-header-enabled #masthead .site-primary-header-wrap{max-width:1560px;margin-inline:auto;padding-inline:28px}
body.k3d-header-enabled #masthead .site-header-section{gap:20px;min-width:0}
body.k3d-header-enabled #masthead .ast-builder-layout-element{padding:0}
body.k3d-header-enabled #masthead .site-branding{padding:4px 0;line-height:1}
body.k3d-header-enabled #masthead .custom-logo-link{display:inline-flex;align-items:center;justify-content:center;background:#F7F2E9;padding:4px;border-radius:8px;line-height:0}
body.k3d-header-enabled #masthead .custom-logo-link.k3d-logo-variant{background:transparent}
body.k3d-header-enabled #masthead img.custom-logo{filter:none!important;max-width:none!important;width:96px!important;height:96px!important;object-fit:contain;object-position:center;aspect-ratio:1/1}
body.k3d-header-enabled #masthead .menu-link,body.k3d-header-enabled #masthead .cart-container,body.k3d-header-enabled #masthead .ast-header-account-link,body.k3d-header-enabled #masthead .menu-toggle{color:inherit!important}
body.k3d-header-enabled #masthead .main-header-menu{background:transparent}
body.k3d-header-enabled #masthead .main-header-menu>.menu-item>.menu-link{position:relative;padding-inline:12px;font-size:13px;line-height:1.5;min-height:44px;display:flex;align-items:center;transition:color .25s ease}
body.k3d-header-enabled #masthead .main-header-menu>.menu-item>.menu-link::after{content:"";position:absolute;bottom:5px;left:12px;right:12px;height:2px;background:#D7B899;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
body.k3d-header-enabled #masthead .menu-link:hover::after,body.k3d-header-enabled #masthead .menu-link:focus-visible::after,body.k3d-header-enabled #masthead .current-menu-item>.menu-link::after,body.k3d-header-enabled #masthead .k3d-catalog-active>.menu-link::after{transform:scaleX(1)}
body.k3d-header-enabled #masthead .menu-link:hover{color:#8B5E3C!important}
body.k3d-header-enabled.home #masthead .menu-link:hover,body.k3d-header-enabled #masthead.k3d-scrolled .menu-link:hover{color:#D7B899!important}
body.k3d-header-enabled #masthead :is(a,button,[tabindex]):focus-visible{outline:3px solid #D7B899!important;outline-offset:4px;border-radius:3px}
body.k3d-header-enabled #masthead .ast-header-account-wrap{line-height:1}
body.k3d-header-enabled #masthead .avatar{width:32px;height:32px}
body.k3d-header-enabled #masthead .ast-cart-menu-wrap .count,body.k3d-header-enabled #masthead .ast-addon-cart-wrap{color:inherit!important;border-color:currentColor!important}
/* Keep the existing hero blocks; blend the existing image as a masked background. */
body.k3d-header-enabled.home #content{margin-top:calc(-1 * var(--k3d-header-height))}
body.k3d-header-enabled.home [data-spectra-id="11023751"]{position:relative;isolation:isolate;background-image:none!important;background-color:#493026!important;min-height:840px;padding-top:210px!important;padding-bottom:140px!important;overflow:hidden}
body.k3d-header-enabled.home [data-spectra-id="11023751"]::before{content:"";position:absolute;inset:120px 0 0 auto;width:min(52vw,740px);height:auto;z-index:-1;pointer-events:none;background:url("https://kevinchiotech.cl/wp-content/uploads/2026/10/kvinchio3d-portada-publicitaria.jpg") right center/contain no-repeat!important;opacity:1!important;mask-image:linear-gradient(to right,transparent 0%,#000 24%),linear-gradient(to bottom,transparent 0%,#000 12%,#000 94%,transparent 100%);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 24%),linear-gradient(to bottom,transparent 0%,#000 12%,#000 94%,transparent 100%);-webkit-mask-composite:source-in}
body.k3d-header-enabled.home [data-spectra-id="11023751"]::after{display:none!important}
@media(min-width:977px) and (max-width:1199px){body.k3d-header-enabled #masthead .site-primary-header-wrap{padding-inline:18px}body.k3d-header-enabled #masthead .site-header-section{gap:10px}body.k3d-header-enabled #masthead .main-header-menu>.menu-item>.menu-link{font-size:11px;padding-inline:8px}body.k3d-header-enabled #masthead img.custom-logo{width:84px!important;height:84px!important}}
@media(max-width:976px){:root{--k3d-header-height:88px}body.k3d-header-enabled #masthead .site-primary-header-wrap{padding-inline:20px}body.k3d-header-enabled #masthead img.custom-logo{width:72px!important;height:72px!important}body.k3d-header-enabled #masthead .site-header-section{gap:16px}body.k3d-header-enabled #masthead .menu-toggle{border:1px solid currentColor!important;border-radius:4px;min-height:44px;min-width:44px;background:transparent!important}body.k3d-header-enabled #masthead .ast-mobile-header-content{background:#493026;color:#F7F2E9;max-height:calc(100dvh - var(--k3d-header-height) - var(--k3d-admin-offset));overflow-y:auto}body.k3d-header-enabled #masthead .ast-mobile-header-content .menu-link{color:#F7F2E9!important}body.k3d-header-enabled #masthead .ast-mobile-header-content .menu-item{background:transparent!important}body.k3d-header-enabled.home [data-spectra-id="11023751"]::before{width:40%;inset:110px 0 35px auto}body.k3d-header-enabled.home [data-spectra-id="11023751"]{padding-top:170px!important;padding-bottom:100px!important;min-height:720px}}
@media(max-width:767px){body.k3d-header-enabled.home [data-spectra-id="11023751"]{padding-top:calc(119.15vw + 115px)!important;padding-bottom:55px!important;min-height:0}body.k3d-header-enabled.home [data-spectra-id="11023751"]::before{inset:88px 0 auto;width:100%;height:119.15vw;background-position:center top!important;mask-image:linear-gradient(to bottom,transparent 0%,#000 8%,#000 93%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 8%,#000 93%,transparent 100%)}body.k3d-header-enabled.home #masthead{background:#493026}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body.k3d-header-enabled #masthead,body.k3d-header-enabled #masthead *,body.k3d-header-enabled #masthead *::after{transition:none!important;animation:none!important}}
/* Astra/Spectra use important overlay positions; keep this image on the right. */
body.k3d-header-enabled #masthead .ast-primary-header-bar{padding-block:0!important}
body.k3d-header-enabled #masthead .menu-link:hover::after,body.k3d-header-enabled #masthead .menu-link:focus-visible::after,body.k3d-header-enabled #masthead .current-menu-item>.menu-link::after,body.k3d-header-enabled #masthead .k3d-catalog-active>.menu-link::after{transform:scaleX(1)!important}
body.k3d-header-enabled.home [data-spectra-id="11023751"]::before{inset:120px 0 0 auto!important;height:auto!important;z-index:-1!important}
@media(max-width:976px){body.k3d-header-enabled.home [data-spectra-id="11023751"]::before{inset:110px 0 35px auto!important}}
@media(max-width:767px){body.k3d-header-enabled.home [data-spectra-id="11023751"]::before{inset:88px 0 auto!important;height:119.15vw!important}}
/* Match the mask canvas to the photo's original aspect ratio: no rigid left edge. */
body.k3d-header-enabled.home [data-spectra-id="11023751"]::before{width:min(48vw,604px)!important;aspect-ratio:1149/1369;inset:120px 0 auto auto!important;height:auto!important}
@media(min-width:768px) and (max-width:976px){body.k3d-header-enabled.home [data-spectra-id="11023751"]::before{width:38%!important;inset:190px 0 auto auto!important}}
@media(max-width:767px){body.k3d-header-enabled.home [data-spectra-id="11023751"]::before{width:100%!important;inset:88px 0 auto!important;height:119.15vw!important}}
/* Astra renders the native mobile drawer outside #masthead. */
body.k3d-header-enabled #ast-mobile-popup .ast-mobile-popup-inner{background:#493026;color:#F7F2E9}
body.k3d-header-enabled #ast-mobile-popup :is(.menu-link,.menu-toggle-close){color:#F7F2E9!important;background:transparent!important}
body.k3d-header-enabled #ast-mobile-popup .menu-item{background:transparent!important}
body.k3d-header-enabled #ast-mobile-popup .menu-link{position:relative;min-height:48px;padding:12px 24px;transition:color .25s ease}
body.k3d-header-enabled #ast-mobile-popup .menu-link::after{content:"";position:absolute;left:24px;bottom:5px;width:48px;height:2px;background:#D7B899;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
body.k3d-header-enabled #ast-mobile-popup :is(.current-menu-item,.k3d-catalog-active)>.menu-link::after,body.k3d-header-enabled #ast-mobile-popup .menu-link:hover::after,body.k3d-header-enabled #ast-mobile-popup .menu-link:focus-visible::after{transform:scaleX(1)}
body.k3d-header-enabled #ast-mobile-popup :is(a,button):focus-visible{outline:3px solid #D7B899!important;outline-offset:-3px}
@media(prefers-reduced-motion:reduce){body.k3d-header-enabled #ast-mobile-popup *,body.k3d-header-enabled #ast-mobile-popup *::after{transition:none!important;animation:none!important}}
body.k3d-header-enabled #ast-mobile-popup .main-header-menu{background:#493026!important}
@media(max-width:767px){body.k3d-header-enabled.home [data-spectra-id="11023751"]::before{height:auto!important}}
body.k3d-header-enabled #masthead .menu-toggle svg{fill:currentColor!important;color:inherit!important}

#masthead .ast-cart-menu-wrap span,#masthead .ast-cart-menu-wrap .woocommerce-Price-amount,#masthead .ast-cart-menu-wrap .woocommerce-Price-currencySymbol{color:inherit}
