/*
Theme Name: Emir Ortega
Description: Catálogo y asesoría automotriz independiente.
Version: 4.7.0
Author: Emir Ortega
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: emirortega
*/
:root{--gold:#B69A63;--dark:#171717;--light:#efefef}*{box-sizing:border-box}body{margin:0;font:16px/1.65 system-ui,sans-serif;color:#171717;background:#fff}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #b69a63;outline-offset:4px}img{max-width:100%;height:auto}.wrap{width:min(1200px,92%);margin:auto}.header{background:#171717;color:white;padding:22px 0}.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.brand{font-size:23px;letter-spacing:3px;font-weight:600;line-height:1.2}.brand span{color:var(--gold)}.brand small{display:block;font-size:10px;letter-spacing:3px;margin-top:7px}.brand img{max-width:220px;max-height:80px;object-fit:contain}nav{display:flex;gap:18px;flex-wrap:wrap;font-size:14px}nav a:hover{color:var(--gold)}.hero{background:#171717;color:white;position:relative;overflow:hidden}.hero .wrap{min-height:530px;display:flex;align-items:center;position:relative;padding:70px 0}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#171717 5%,transparent);pointer-events:none}.hero .wrap{z-index:1}.hero-copy{max-width:690px}.eyebrow{color:var(--gold);text-transform:uppercase;letter-spacing:3px;font-size:12px;font-weight:700}h1,h2,h3{line-height:1.12;margin:12px 0 20px}h1{font-size:clamp(42px,6vw,76px);letter-spacing:-2px}h2{font-size:clamp(30px,4vw,48px);letter-spacing:-1px}h3{font-size:24px}.btn{display:inline-block;background:var(--gold);color:#171717;padding:13px 24px;font-weight:700;border:1px solid var(--gold);margin:8px 8px 0 0}.btn.alt{background:transparent;color:inherit;border-color:currentColor}.section{padding:76px 0}.muted{background:#efefef}.dark{background:#171717;color:white}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.tile{background:white;color:#171717;border:1px solid #ddd;overflow:hidden}.tile img,.placeholder{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}.placeholder{background:linear-gradient(145deg,#292929,#454545);color:#d5bd8a;display:grid;place-items:center;font-size:38px;letter-spacing:4px}.tile-body{padding:24px}.price{font-size:24px;font-weight:700}.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.footer{padding:45px 0;background:#101010;color:#ddd}.footer a{text-decoration:underline}.contactline{overflow-wrap:anywhere}.content{max-width:850px}.content a{text-decoration:underline}.pagination{margin-top:30px}.pagination a{padding:10px}.menu-toggle{display:none;background:transparent;color:white;border:1px solid #b69a63;padding:10px}.notice{padding:20px;border-left:3px solid var(--gold);background:#f5f5f5}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;z-index:99;background:white;padding:10px}@media(max-width:760px){.grid,.split{grid-template-columns:1fr}.section{padding:48px 0}.hero .wrap{min-height:440px}.menu-toggle{display:block}nav{width:100%;gap:12px}nav[hidden]{display:none}.header .wrap{gap:12px}.hero:after{background:linear-gradient(90deg,#171717aa,transparent)}}
/* V2 */
.hero .wrap{min-height:490px;padding:65px 0}.hero-copy{max-width:560px}.hero h1{font-size:clamp(38px,4.6vw,64px);line-height:1.08}.hero-art{position:absolute;right:0;top:0;bottom:0;width:57%;display:flex;align-items:center}.hero-art svg{width:100%;height:auto}.hero:after{background:linear-gradient(90deg,#171717 8%,#171717 32%,transparent 78%)}.hero-photo{opacity:.85;object-position:70% center}.btn{border-radius:4px;transition:filter .2s}.btn:hover{filter:brightness(1.12)}.tile{border-radius:8px;box-shadow:0 8px 24px #00000009}.tile-body{padding:26px}.category-art{background:#171717}.process{border:1px solid #b69a6366;padding:30px;border-radius:8px}.process img{width:100%;max-height:240px;object-fit:cover}.floating-contact{position:fixed;right:22px;bottom:22px;z-index:100;background:#171717;color:#fff;border:2px solid var(--gold);padding:12px 22px;border-radius:30px;box-shadow:0 4px 20px #0003;font-weight:700}@media(max-width:760px){.hero .wrap{min-height:550px;align-items:flex-start;padding:38px 0 200px}.hero-art{width:100%;top:auto;height:230px;bottom:0}.hero-art svg{height:100%}.hero:after{background:linear-gradient(180deg,#171717 25%,transparent 90%)}.hero h1{font-size:42px}.floating-contact{right:12px;bottom:12px}}
/* V3: inventory detail */
.eo-detail{padding:30px 0 64px}.eo-back{font-size:14px;color:#666}.eo-detail h1{font-size:clamp(26px,3vw,40px);letter-spacing:-.7px;margin:14px 0 24px}.eo-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:28px;align-items:start}.eo-main-photo{display:flex;align-items:center;justify-content:center;background:#f1f1f1;border-radius:8px;overflow:hidden;aspect-ratio:4/3}.eo-main-photo img{width:100%;height:100%;object-fit:contain}.eo-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 3px}.eo-thumbs button{flex:0 0 82px;height:65px;padding:2px;border:2px solid transparent;background:white;border-radius:5px;cursor:pointer}.eo-thumbs button[aria-pressed=true]{border-color:var(--gold)}.eo-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:2px}.eo-gallery small{color:#666}.eo-commercial{border:1px solid #ddd;border-radius:10px;padding:24px;background:#fff;box-shadow:0 8px 25px #0000000a}.eo-status{display:inline-block;background:#f1f1f1;padding:4px 12px;border-radius:4px;font-size:13px}.eo-price{margin-top:16px}.eo-price span,.eo-specs small{display:block;color:#666;font-size:14px}.eo-price strong{display:block;font-size:26px;line-height:1.25}.eo-price.credito strong{font-size:clamp(27px,3vw,40px);color:#80652f}.eo-specs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0;padding:16px 0;border-block:1px solid #ddd}.eo-action{display:block;text-align:center;margin:10px 0 0}.eo-description{margin-top:32px;border-top:1px solid #ddd;padding-top:22px}.eo-description h2{font-size:26px}.eo-copy{max-width:100%;overflow-wrap:anywhere}.eo-copy ul{columns:2;column-gap:36px;padding-left:22px}.eo-copy li{break-inside:avoid;margin-bottom:5px}@media(max-width:760px){.eo-layout{grid-template-columns:1fr;gap:16px}.eo-detail{padding-top:20px}.eo-copy ul{columns:1}.eo-commercial{padding:18px}.eo-main-photo{aspect-ratio:4/3}}

/* V4 */
.eo-detail .eo-vehicle-title{display:block!important;visibility:visible!important;font-size:clamp(26px,3vw,38px);line-height:1.18;margin:12px 0 24px;color:#171717}.eo-photo-stage{position:relative}.eo-main-photo{height:clamp(250px,32vw,420px);aspect-ratio:auto;background:#eee}.eo-main-photo img{width:100%;height:100%;object-fit:contain}.eo-prev,.eo-next{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid #ddd;border-radius:50%;background:#fff;color:#171717;font-size:28px;cursor:pointer;line-height:1}.eo-prev{left:10px}.eo-next{right:10px}.eo-counter{position:absolute;bottom:10px;right:10px;background:#171717d9;color:white;padding:3px 10px;border-radius:5px;font-size:12px;pointer-events:none}.eo-thumbs{scrollbar-width:thin}.eo-description{margin-top:24px}.eo-copy{max-width:1050px}@media(max-width:760px){.eo-main-photo{height:clamp(230px,75vw,340px)}.eo-detail .eo-vehicle-title{margin-bottom:16px}.eo-commercial{padding:18px}.eo-thumbs button{flex-basis:70px;height:56px}.eo-copy ul{columns:1}.eo-detail{padding-bottom:90px}}

/* WhatsApp contact buttons */
.btn.eo-whatsapp,.floating-contact{background:#25D366;color:#102719;border-color:#25D366}.btn.eo-whatsapp:hover,.floating-contact:hover{background:#20bd5a;border-color:#20bd5a;filter:none}

.eo-detail .eo-vehicle-title{display:block!important;min-height:1.18em;opacity:1!important}.eo-signature{margin:32px 0 0;max-width:720px}.eo-signature img{display:block;width:100%;height:auto;border-radius:8px}.eo-copy{max-width:100%}.eo-copy ul{column-gap:48px}

/* V4.4: refined detail typography */
.eo-detail .eo-vehicle-title{font-family:Georgia,serif;font-weight:600;font-size:clamp(25px,3vw,38px);letter-spacing:-.6px;line-height:1.22;margin:16px 0 26px;color:#171717!important;-webkit-text-fill-color:#171717!important;opacity:1!important;visibility:visible!important}.eo-description{padding-top:30px;margin-top:32px}.eo-description h2{font-family:Georgia,serif;font-weight:500;font-size:28px;letter-spacing:-.3px;margin:0 0 24px}.eo-description h2:after{content:'';display:block;width:48px;height:2px;background:var(--gold);margin-top:12px}.eo-copy{font-size:16px;line-height:1.8;color:#393939}.eo-copy p{margin:0 0 18px;max-width:90ch}.eo-copy p strong{color:#171717}.eo-copy ul{list-style:none;padding:0;column-gap:48px;margin:12px 0 24px}.eo-copy li{position:relative;padding-left:22px;margin-bottom:8px}.eo-copy li:before{content:'✓';position:absolute;left:0;color:#80652f}.eo-signature{width:360px;max-width:100%;margin:32px auto 0}.eo-signature img{border-radius:5px}@media(max-width:760px){.eo-description h2{font-size:25px}.eo-copy{font-size:15px}.eo-signature{width:300px}}

/* V4.6: stock cards */
.eo-stock-card{display:flex;flex-direction:column}.eo-stock-card .tile-body{display:flex;flex-direction:column;flex:1;padding:22px}.eo-stock-card .eo-card-title,.eo-stock-card .eo-card-title a{display:block!important;visibility:visible!important;opacity:1!important;color:#171717!important;-webkit-text-fill-color:#171717!important;font-family:Georgia,serif;font-size:22px;line-height:1.25;margin:0 0 14px}.eo-stock-card .eo-card-title a{margin:0}.eo-card-specs{display:flex;gap:24px;border-bottom:1px solid #e5e5e5;padding-bottom:14px;margin-bottom:14px}.eo-card-specs small,.eo-card-price span{display:block;color:#666;font-size:13px}.eo-card-specs strong{display:block;font-size:15px}.eo-card-price strong{display:block;font-size:20px}.eo-card-price.credito strong{font-size:28px;color:#80652f}.eo-card-price{margin-bottom:8px}.eo-stock-card .btn{margin:12px 0 0;text-align:center}.eo-stock-card .tile-body>.btn{margin-top:auto}.eo-stock-card .eo-card-price:last-of-type{margin-bottom:16px}

/* V4.7 */
.brand,.eo-detail .eo-vehicle-title,.eo-stock-card .eo-card-title,.eo-stock-card .eo-card-title a,.eo-description h2{font-family:system-ui,sans-serif;font-weight:600}.eo-stock-card .eo-card-title,.eo-stock-card .eo-card-title a{letter-spacing:.1px;font-size:21px}.hero-photo{opacity:1;object-position:right center}.hero:after{background:linear-gradient(90deg,#101010 0%,#101010e8 23%,#10101080 42%,transparent 65%)}.hero-copy{max-width:530px}.hero h1{font-size:clamp(36px,4.3vw,60px)}.hero-values{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;font-size:14px;font-weight:600}.hero-values span+span{border-left:1px solid var(--gold);padding-left:12px}.stock-intro{margin:-8px 0 24px;color:#555}#stock .grid{margin-bottom:24px}.eo-stock-card .tile-body>.btn{margin-top:auto}.eo-card-price{line-height:1.35}@media(max-width:760px){.hero .wrap{min-height:620px;padding:32px 0 250px}.hero-photo{top:auto;bottom:0;height:290px;object-fit:cover;object-position:right center}.hero:after{background:linear-gradient(180deg,#101010 45%,#101010bb 58%,transparent 76%)}.hero h1{font-size:36px}.hero-values{gap:8px;font-size:13px}}
