@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap");

.smrinv-front{--ink:#0d1117;--mut:#68717f;--line:rgba(13,17,23,.12);--gold:#c99737;--gold2:#e5c678;--gold3:#8d6420;--shadow:0 28px 80px rgba(5,7,10,.12);font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);}
.smrinv-front *{box-sizing:border-box;}
.smrinv-front a{text-decoration:none;}
.smrinv-front.is-dark{--ink:#fff;--mut:rgba(255,255,255,.68);--line:rgba(255,255,255,.15);color:#fff;}
.smrinv-grid{display:grid;gap:1rem;align-items:stretch;}
.smrinv-front[data-cols="1"] .smrinv-grid{grid-template-columns:1fr;}
.smrinv-front[data-cols="2"] .smrinv-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.smrinv-front[data-cols="3"] .smrinv-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.smrinv-front[data-cols="4"] .smrinv-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:980px){.smrinv-front[data-cols="3"] .smrinv-grid,.smrinv-front[data-cols="4"] .smrinv-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.smrinv-front .smrinv-grid{display:flex;overflow-x:auto;gap:14px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;}.smrinv-front .smrinv-grid::-webkit-scrollbar{display:none;}.smrinv-front .smrinv-card{flex:0 0 calc(100% - 30px);scroll-snap-align:start;}}
.smrinv-card{position:relative;overflow:hidden;min-height:470px;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);transition:transform .25s ease,box-shadow .25s ease;}
.smrinv-front.is-dark .smrinv-card{background:rgba(255,255,255,.08);backdrop-filter:blur(16px);}
.smrinv-card:hover{transform:translateY(-5px);box-shadow:0 36px 90px rgba(5,7,10,.17);}
.smrinv-media{position:relative;height:255px;overflow:hidden;background:#07090d;}
.smrinv-media img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.03) contrast(1.04);transition:transform .7s cubic-bezier(.2,.86,.2,1);}
.smrinv-card:hover .smrinv-media img{transform:scale(1.055);}
.smrinv-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,7,10,.02),rgba(5,7,10,.34));pointer-events:none;}
.smrinv-category,.smrinv-status{position:absolute;z-index:2;display:inline-flex;align-items:center;border-radius:999px;font-family:"Outfit",system-ui,sans-serif;font-size:.62rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;}
.smrinv-category{left:1rem;top:1rem;padding:.36rem .64rem;background:rgba(255,255,255,.88);color:#73521c;border:1px solid rgba(201,151,55,.32);}
.smrinv-status{right:1rem;top:1rem;padding:.36rem .64rem;background:rgba(5,7,10,.62);border:1px solid rgba(255,255,255,.18);color:#fff;backdrop-filter:blur(12px);}
.smrinv-status--unavailable{opacity:.72;}
.smrinv-body{display:flex;flex-direction:column;flex:1;padding:1rem;}
.smrinv-title{margin:0;color:var(--ink);font-family:"Outfit",system-ui,sans-serif;font-size:clamp(1.45rem,2vw,2rem);line-height:1.04;letter-spacing:-.055em;font-weight:400;}
.smrinv-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:.85rem;}
.smrinv-specs span{padding:.62rem .65rem;background:rgba(13,17,23,.045);border:1px solid rgba(13,17,23,.08);min-width:0;}
.smrinv-front.is-dark .smrinv-specs span{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.11);}
.smrinv-specs small{display:block;margin-bottom:.15rem;color:var(--mut);font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.smrinv-specs strong{display:block;color:var(--ink);font-size:.9rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.smrinv-desc{margin-top:.85rem;color:var(--mut);font-size:.93rem;line-height:1.58;max-height:5.1em;overflow:hidden;}
.smrinv-desc p{margin:0;}
.smrinv-features{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.9rem;}
.smrinv-features span{display:inline-flex;padding:.34rem .58rem;border:1px solid rgba(201,151,55,.25);background:rgba(201,151,55,.08);color:#73521c;border-radius:999px;font-size:.72rem;font-weight:700;}
.smrinv-front.is-dark .smrinv-features span{color:var(--gold2);background:rgba(229,198,120,.08);border-color:rgba(229,198,120,.22);}
.smrinv-foot{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap;margin-top:auto;padding-top:1rem;}
.smrinv-price{color:var(--ink);font-family:"Outfit",system-ui,sans-serif;font-size:1rem;font-weight:600;letter-spacing:-.02em;}
.smrinv-cta,.saramotors-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.72rem .92rem;background:linear-gradient(135deg,#f1d990,#d1a142,#9a6b22);border:1px solid rgba(201,151,55,.45);color:#05070a!important;font-family:"Outfit",system-ui,sans-serif;font-size:.82rem;font-weight:700;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease;}
.smrinv-cta:hover,.saramotors-btn:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(201,151,55,.24);}
.smrinv-empty{padding:2rem;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);}
.smrinv-empty span{display:block;margin-bottom:.6rem;color:var(--gold3);font-family:"Outfit",system-ui,sans-serif;font-size:.68rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;}
.smrinv-empty h3{margin:0 0 .5rem;font-family:"Outfit",system-ui,sans-serif;font-size:clamp(2rem,3.2vw,3.3rem);font-weight:400;letter-spacing:-.06em;line-height:1;}
.smrinv-empty p{max-width:680px;margin:0 0 1rem;color:var(--mut);line-height:1.72;}


/* Sara Motors v1.0.3 — Divi/home compatibility patch */
.smrinv-front.saramotors-fleet{width:100%;max-width:none;display:block!important;min-width:0;}
.smrinv-front.saramotors-fleet > .smrinv-grid{width:100%;max-width:none;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:stretch;margin:0;padding:0;}
.smrinv-front.saramotors-fleet .smrinv-card{width:100%;max-width:none;min-width:0;margin:0;float:none;}
.smrinv-front.saramotors-fleet .smrinv-card[style*="display: none"]{display:none!important;}
@media(max-width:980px){.smrinv-front.saramotors-fleet > .smrinv-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.smrinv-front.saramotors-fleet > .smrinv-grid{display:flex!important;overflow-x:auto;gap:14px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;}.smrinv-front.saramotors-fleet > .smrinv-grid::-webkit-scrollbar{display:none;}.smrinv-front.saramotors-fleet .smrinv-card{flex:0 0 calc(100% - 30px);scroll-snap-align:start;}}
#saramotors-home .smr-vehicles__mount > .smrinv-front.saramotors-fleet{display:block!important;grid-template-columns:none!important;gap:0!important;}
#saramotors-home .smr-vehicles__mount > .smrinv-front.saramotors-fleet > .smrinv-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1.25rem!important;width:100%!important;}
#saramotors-home .smr-vehicles__mount > .smrinv-front.saramotors-fleet > .smrinv-grid > .smrinv-card{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;}
@media(max-width:1060px){#saramotors-home .smr-vehicles__mount > .smrinv-front.saramotors-fleet > .smrinv-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:720px){#saramotors-home .smr-vehicles__mount > .smrinv-front.saramotors-fleet > .smrinv-grid{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;overflow-x:auto!important;}#saramotors-home .smr-vehicles__mount > .smrinv-front.saramotors-fleet > .smrinv-grid > .smrinv-card{flex:0 0 86%!important;}}

/* Sara Motors v1.0.3 — gallery + exact filters + stronger Divi compatibility */
.smrinv-filter-hidden{display:none!important;}
.smrinv-filter-empty{margin-top:1rem;padding:1.25rem;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);}
.smrinv-filter-empty[hidden]{display:none!important;}
.smrinv-filter-empty span{display:block;margin-bottom:.35rem;color:var(--gold3);font-family:"Outfit",system-ui,sans-serif;font-size:.68rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;}
.smrinv-filter-empty p{margin:0;color:var(--mut);line-height:1.65;}
.smrinv-gallery{isolation:isolate;}
.smrinv-media .smrinv-main-img{position:relative;z-index:0;width:100%;height:100%;object-fit:cover;display:block;}
.smrinv-media::after{z-index:1;}
.smrinv-galleryThumbs{position:absolute;z-index:5;left:1rem;right:1rem;bottom:1rem;display:flex;gap:.42rem;overflow-x:auto;scrollbar-width:none;pointer-events:auto;}
.smrinv-galleryThumbs::-webkit-scrollbar{display:none;}
.smrinv-galleryThumbs button{flex:0 0 44px;width:44px;height:34px;padding:0;border:1px solid rgba(255,255,255,.52);background:rgba(255,255,255,.26);box-shadow:0 8px 24px rgba(0,0,0,.18);backdrop-filter:blur(10px);overflow:hidden;cursor:pointer;opacity:.78;transition:opacity .18s ease, transform .18s ease, border-color .18s ease;}
.smrinv-galleryThumbs button:hover,.smrinv-galleryThumbs button.is-active{opacity:1;transform:translateY(-1px);border-color:#e5c678;}
.smrinv-galleryThumbs img{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;display:block!important;}

#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;}
#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet > .smrinv-grid.smr-js-fleet-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1.25rem!important;align-items:stretch!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet > .smrinv-grid.smr-js-fleet-grid > .smrinv-card.smr-js-fleet-card{display:flex!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:100%!important;margin:0!important;float:none!important;}
#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet .smrinv-card .smrinv-media{position:relative!important;width:100%!important;height:290px!important;min-height:290px!important;overflow:hidden!important;background:#07090d!important;}
#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet .smrinv-card .smrinv-media > img.smrinv-main-img{width:100%!important;height:100%!important;min-height:290px!important;object-fit:cover!important;display:block!important;}
#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet .smrinv-card .smrinv-galleryThumbs img{width:100%!important;height:100%!important;min-height:0!important;}
#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet .smrinv-filter-hidden{display:none!important;}
@media(max-width:1060px){#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet > .smrinv-grid.smr-js-fleet-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:720px){#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet > .smrinv-grid.smr-js-fleet-grid{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:14px!important;scroll-snap-type:x mandatory!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;}#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet > .smrinv-grid.smr-js-fleet-grid::-webkit-scrollbar{display:none!important;}#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet > .smrinv-grid.smr-js-fleet-grid > .smrinv-card.smr-js-fleet-card{flex:0 0 86%!important;scroll-snap-align:start!important;}#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet .smrinv-card .smrinv-media{height:245px!important;min-height:245px!important;}#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet .smrinv-card .smrinv-media > img.smrinv-main-img{min-height:245px!important;}}

/* Sara Motors v1.0.4 — plugin-owned filters and hard hide fix */
.smrinv-filterbar{display:flex;align-items:center;gap:.55rem;margin:0 0 1rem;flex-wrap:wrap;}
.smrinv-filter{min-height:40px;padding:.62rem .95rem;border-radius:999px;border:1px solid rgba(13,17,23,.14);background:#fff;color:#111722;font-family:"Outfit",system-ui,sans-serif;font-size:.78rem;font-weight:700;cursor:pointer;transition:.22s ease;}
.smrinv-filter.is-active,.smrinv-filter:hover{background:#05070a;color:#fff;border-color:#05070a;}
#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet .smrinv-card.smrinv-filter-hidden,
#saramotors-home .smr-vehicles__mount .smrinv-front.saramotors-fleet > .smrinv-grid.smr-js-fleet-grid > .smrinv-card.smr-js-fleet-card.smrinv-filter-hidden,
.smrinv-front.saramotors-fleet .smrinv-card.smrinv-filter-hidden{display:none!important;}
.smrinv-front.saramotors-fleet .smrinv-filter-empty{margin-top:1rem;}
@media(max-width:720px){.smrinv-filterbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:.1rem}.smrinv-filterbar::-webkit-scrollbar{display:none}.smrinv-filter{white-space:nowrap}}
