/*
Theme Name: Tu Repuesto AGN
Theme URI: https://example.com/tu-repuesto-agn
Author: Tu Repuesto AGN
Description: Tema responsive de clasificados para WordPress. Incluye anuncios, categorías, búsqueda y publicación de anuncios.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: tu-repuesto-agn
*/
:root{--ink:#17251f;--muted:#78837d;--green:#184b3c;--lime:#d6f36a;--paper:#f6f5f0;--line:#e8e9e2;--white:#fff;--shadow:0 16px 46px #1d302210}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px 'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}.topline{background:var(--green);color:#dce9df;font-size:12px;padding:10px 0}.topline .wrap{display:flex;justify-content:space-between}.topline a{color:var(--lime)}.site-header{background:#fbfaf6ed;position:sticky;top:0;z-index:10;border-bottom:1px solid #e9eae4}.nav{height:76px;display:flex;align-items:center;gap:35px}.brand{display:flex;align-items:center;gap:10px;font:800 18px Manrope,sans-serif;white-space:nowrap}.brand-mark{height:38px;width:38px;background:var(--green);border-radius:13px;color:var(--lime);display:grid;place-items:center;font-size:22px}.brand small{display:block;color:#77837b;font:600 9px 'DM Sans';letter-spacing:2px;margin-top:2px}.navlinks{display:flex;gap:23px;align-items:center;flex:1;font-weight:600;font-size:13px;color:#4f5d55}.navlinks a:hover,.text-link{color:var(--green)}.publish,.button{display:inline-block;background:var(--lime);color:var(--ink);padding:13px 18px;border-radius:12px;border:0;font-weight:800;cursor:pointer}.hero{padding:62px 0 48px}.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:30px;align-items:center}.eyebrow,.kicker{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:#82906f;font-weight:800}.eyebrow{display:inline-block;background:#e9efe2;border-radius:50px;padding:9px 12px;color:var(--green);letter-spacing:.6px}.hero h1{font:800 clamp(42px,5.4vw,68px)/1.04 Manrope,sans-serif;letter-spacing:-3.5px;margin:23px 0 17px}.hero h1 em{font-style:normal;color:#768c48}.hero-copy{color:#69766e;line-height:1.8;max-width:455px}.searchbox{background:white;border:1px solid #eaebe6;padding:9px;border-radius:17px;display:flex;align-items:center;box-shadow:var(--shadow);margin-top:24px}.searchbox input{min-width:0;flex:1;border:0;outline:0;padding:12px}.searchbox select{border:0;border-left:1px solid var(--line);padding:10px;max-width:160px;background:#fff}.searchbox button{border:0;background:var(--green);color:white;padding:14px 19px;border-radius:11px;font-weight:700;cursor:pointer}.hero-art{min-height:330px;position:relative;display:grid;place-items:center}.hero-art img{width:85%;height:320px;object-fit:cover;border-radius:28px;box-shadow:var(--shadow)}.photo-tag{position:absolute;right:0;top:20px;background:white;border-radius:14px;padding:13px;box-shadow:var(--shadow);font-size:12px;font-weight:800}.section{padding:45px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:23px}.section h2{font:800 29px Manrope,sans-serif;letter-spacing:-1.2px;margin:8px 0 0}.text-link{font-size:13px;font-weight:800}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.cat{background:#fff;border:1px solid #ecece7;border-radius:17px;padding:18px 14px;transition:.2s}.cat:hover,.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.cat-icon{width:45px;height:45px;display:grid;place-items:center;background:#edf2e5;border-radius:14px;font-size:22px;margin-bottom:14px}.cat b{font-size:13px;display:block}.cat small{display:block;color:#859087;font-size:11px;margin-top:5px}.featured{background:#eef0e8;padding:53px 0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{background:white;border:1px solid #e9eae4;border-radius:18px;overflow:hidden;transition:.2s}.card-img{height:190px;position:relative;background:#eee}.card-img img{width:100%;height:100%;object-fit:cover}.badge{position:absolute;top:12px;left:12px;background:var(--lime);padding:6px 9px;border-radius:6px;font-size:10px;text-transform:uppercase;font-weight:800}.card-body{padding:14px}.card-meta{display:flex;justify-content:space-between;color:#879189;font-size:10px}.card h3{font-size:14px;margin:10px 0 8px;line-height:1.4}.price{font:800 19px Manrope,sans-serif;color:var(--green)}.price small{font:500 10px 'DM Sans';color:#77837c}.location{font-size:11px;color:#849087;margin-top:8px}.seller{border-top:1px solid #f0f1ec;margin-top:13px;padding-top:11px;font-size:11px;color:#627067}.location-section{background:white;padding:53px 0}.cities{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.city{background:var(--paper);border-radius:13px;padding:17px}.city small{display:block;color:#829087;margin-top:4px}.sell-banner{margin:45px auto;background:var(--green);border-radius:25px;padding:38px 44px;display:flex;justify-content:space-between;align-items:center;color:white}.sell-banner h2{font:800 29px Manrope;margin:0 0 9px}.sell-banner p{margin:0;color:#c5d3ca}.site-footer{background:#18251f;color:#d8e0da;padding:45px 0 22px}.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}.site-footer p,.site-footer a{color:#a7b4ab;font-size:12px;line-height:1.7}.site-footer a{display:block;margin:10px 0}.copyright{border-top:1px solid #ffffff20;margin-top:28px;padding-top:17px;color:#92a198;font-size:11px}.listing-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px}.filter-form{display:flex;gap:9px;flex-wrap:wrap}.filter-form input,.filter-form select,.publish-form input,.publish-form select,.publish-form textarea{border:1px solid #e1e5dd;border-radius:10px;background:#fff;padding:12px}.filter-form button,.form-submit{background:var(--green);color:white;border:0;border-radius:10px;padding:12px 18px;font-weight:700;cursor:pointer}.entry-content,.publish-form,.notice{background:white;padding:25px;border-radius:16px}.publish-form{max-width:700px;margin:auto}.publish-form label{font-size:12px;font-weight:700;display:block;margin:14px 0 6px}.publish-form input,.publish-form select,.publish-form textarea{width:100%}.publish-form textarea{min-height:120px}.form-submit{margin-top:18px}.notice{margin:14px auto;max-width:700px;color:var(--green)}.single-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:25px}.single-image{width:100%;max-height:520px;object-fit:cover;border-radius:18px}.seller-box{background:white;border-radius:16px;padding:22px;height:max-content}.empty-state{padding:40px;text-align:center;color:var(--muted);grid-column:1/-1}.pagination{margin-top:25px}.pagination a,.pagination span{padding:8px 12px;background:white;border-radius:8px;margin-right:5px}.mobile-menu{display:none}
@media(max-width:950px){.nav{gap:18px}.navlinks{gap:12px}.grid{grid-template-columns:repeat(3,1fr)}.categories{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.wrap{width:calc(100% - 32px)}.nav{height:65px;justify-content:space-between}.navlinks{display:none}.mobile-menu{display:block}.hero{padding:38px 0}.hero-grid,.single-layout{grid-template-columns:1fr}.hero h1{font-size:47px}.hero-art{min-height:240px}.hero-art img{height:230px}.searchbox{flex-wrap:wrap}.searchbox input{width:calc(100% - 28px)}.searchbox select{width:45%;max-width:none;border-top:1px solid var(--line)}.searchbox button{width:50%;margin-left:auto}.categories{grid-template-columns:repeat(3,1fr);gap:8px}.cat{padding:12px 9px}.cat-icon{width:38px;height:38px;font-size:19px;margin-bottom:9px}.grid{grid-template-columns:repeat(2,1fr);gap:10px}.card-img{height:140px}.card-body{padding:11px}.card h3{font-size:12px}.price{font-size:16px}.section{padding:32px 0}.section h2{font-size:24px}.cities{grid-template-columns:repeat(2,1fr)}.sell-banner{display:block;padding:26px 22px}.sell-banner h2{font-size:23px}.sell-banner p{margin-bottom:16px}.footgrid{grid-template-columns:1fr 1fr}.footgrid>div:first-child{grid-column:1/-1}.listing-toolbar{align-items:start;flex-direction:column}.filter-form>*{width:100%}.featured{padding:34px 0}}@media(max-width:390px){.categories{grid-template-columns:repeat(2,1fr)}}
