/*
Theme Name: AVR Chile
Author: AVR Chile
Description: Tema liviano y administrable para el catálogo de AVR Chile.
Version: 1.1.0
Text Domain: avr-chile
*/
:root { --blue: #1a64b7; --dark: #4e4e4e; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--dark); font-family: "Open Sans", Arial, sans-serif; }
a { text-decoration: none; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: auto; }
.shipping { background: #0167bc; color: #fff; text-align: center; padding: 8px 16px 7px; font: 300 12px/1 Montserrat, Arial, sans-serif; letter-spacing: 1px; }
.header { background: #fff; box-shadow: 0 2px 20px -6px rgba(0,0,0,.25); position: relative; z-index: 2; }
.header-inner { width: 90%; max-width: 1218px; min-height: 78px; margin: auto; padding: 12px 0; display: grid; grid-template-columns: 28% 44% 28%; align-items: center; }
.logo { display: block; width: min(100%, 205px); }
.logo img { display: block; width: 100%; height: auto; }
.main-nav { justify-self: center; }
.menu { display: flex; justify-content: center; gap: 32px; align-items: center; list-style: none; margin: 0; padding: 0; }
.menu a { color: #4e4e4e; font: 400 16px/1 Montserrat, Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.menu .current-menu-item a, .menu a:hover { color: #1a64b7; }
.payment { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: min(200px,100%); min-height: 42px; padding: 7px 12px; border: 2px solid #0669c5; border-radius: 18px; color: #0669c5; font: 400 15px/1 "Open Sans", Arial, sans-serif; white-space: nowrap; }
.payment:hover { color: #075aa8; border-color: #075aa8; }
.pay { width: 84px; height: auto; margin: 0; }
.toggle { display: none; background: #fff; border: 1px solid var(--blue); color: var(--blue); padding: 7px; }
.toggle svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-banner { width: 100%; overflow: hidden; background: #eee; }
.site-banner picture, .site-banner img { display: block; width: 100%; }
.catalog-banner { width: 100%; overflow: hidden; background: #eee; }
.catalog-banner picture, .catalog-banner img { display: block; width: 100%; }
.hero { text-align: center; padding: 42px 0 24px; }
.hero h1 { margin: 0 0 15px; font: 500 30px/1.2 Montserrat, Arial, sans-serif; }
.hero p { max-width: 950px; margin: auto; color: #4e4e4e; font-size: 15px; line-height: 1.8; }
.hero strong { display: block; margin-top: 14px; font-family: Montserrat, Arial, sans-serif; }
.catalog { padding: 54px 0; background: #f5f5f5; }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.product { display: flex; flex-direction: column; min-width: 0; }
.product-card { overflow: hidden; border-radius: 16px; background: #fff; transition: box-shadow .15s ease-in-out, transform .15s ease-in-out; }
.product-reveal { opacity: 0; transform: translateY(26px); }
.product-reveal.is-visible { animation: product-enter .55s cubic-bezier(.2,.7,.25,1) both; }
@keyframes product-enter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.product-card:hover { box-shadow: 0 14px 25px rgba(0,0,0,.16); transform: translateY(-2px); }
.product-image { aspect-ratio: 1.45; overflow: hidden; border-radius: 16px 16px 0 0; background: #fff; text-align: center; }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.product-card:hover img { transform: scale(1.02); }
.product-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 30px; }
.product h2 { margin: 0 0 20px; color: #333; font: 400 18px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; }
.button { display: block; width: 100%; margin-top: auto; padding: 0 20px; border: 1px solid #c7c7c7; border-radius: 999px; background: #0669c5; box-shadow: 0 2px 3px rgba(0,0,0,.25); color: #fff; font: 800 15px/40px Montserrat,Arial,sans-serif; letter-spacing: 0; text-align: center; text-transform: uppercase; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { background: #075aa8; color: #fff; box-shadow: 0 4px 8px rgba(0,0,0,.28); transform: translateY(-1px); }
.contact { padding: 82px 0 55px; color: #fff; background: #222; }
.contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 72px; align-items: start; }
.contact-details { padding-top: 20px; }
.contact h2 { margin: 0 0 18px; color: #fff; font: 700 30px/1.2 Montserrat, Arial, sans-serif; }
.contact p { max-width: 360px; margin: 0; color: #e7e7e7; font: 400 16px/1.55 "Open Sans",Arial,sans-serif; }
.details { display: grid; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; font: 600 20px/1.2 Montserrat, Arial, sans-serif; }
.details li { display: flex; align-items: center; gap: 7px; }
.details a { color: #fff; }
.contact-icon { display: inline-flex; align-items: center; justify-content: center; width: 37px; height: 37px; border-radius: 11px; background: #4ba82c; color: #fff; }
.contact-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.form { display: grid; gap: 14px; }
.form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.form input, .form textarea { width: 100%; padding: 0 17px; border: 0; border-radius: 18px; background: #f1f1f1; color: #333; font: 400 15px "Open Sans", Arial, sans-serif; }
.form input { height: 50px; }
.form textarea { min-height: 240px; padding-top: 15px; resize: vertical; }
.form button { width: 100%; height: 48px; cursor: pointer; background: #2469bd; border: 0; border-radius: 10px; color: #fff; font: 500 16px/48px Montserrat, Arial, sans-serif; letter-spacing: .3px; }
.form button:hover { background: #1a64b7; }
.notice { padding: 12px 14px; background: #ffffff2e; border-left: 3px solid #fff; }
.footer { padding: 38px 0 30px; background: #222; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-logo { width: 250px; height: auto; }
.social-links { display: flex; gap: 12px; align-items: center; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; }
.social-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social-links .facebook svg { fill: currentColor; stroke: none; width: 17px; height: 17px; }
.social-links .instagram { background: #e83369; }
.social-links .linkedin { background: #1686bd; }
.social-links .facebook { background: #4267a9; }
@media (max-width: 960px) { .header-inner { grid-template-columns: 28% 44% 28%; } .menu { gap: 18px; } .menu a { font-size: 14px; } .payment { gap: 6px; min-height: 38px; padding: 6px 9px; border-radius: 16px; font-size: 13px; } .pay { width: 70px; } .grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 700px) { .wrap { width: min(100% - 30px,1160px); } .header-inner { width: calc(100% - 30px); min-height: 78px; padding: 12px 0; display: flex; flex-wrap: wrap; justify-content: space-between; } .logo { width: 190px; } .payment { display: none; } .toggle { display: block; } .main-nav { width: 100%; order: 3; } .menu { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 0 8px; } .menu.open { display: flex; } .menu a { font-size: 14px; } .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 15px; } .product h2 { font-size: 15px; } .button { padding: 9px 14px; font-size: 11px; } .contact-grid { grid-template-columns: 1fr; gap: 35px; } .hero { padding-top: 30px; } .hero h1, .contact h2 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .product-reveal { opacity: 1; transform: none; } .product-reveal.is-visible { animation: none; } }
@media (max-width: 700px) { .product-content .button { padding: 0 10px; font-size: 15px; line-height: 40px; } }
