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

:root{
  --ms-red:#c8102e;
  --ms-ink:#111;
  --ms-bg:#d9d6d1;
  --ms-card:#fff;
  --ms-line:#d8d5d0;
}

body#vehicle-category,
body.page-vehicle-category{
  font-family:"Manrope",Arial,sans-serif !important;
}

body#vehicle-category #wrapper.columns-container,
body.page-vehicle-category #wrapper.columns-container{
  background:
    linear-gradient(180deg, rgba(236,234,231,.92), rgba(236,234,231,.92)),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.015) 2px, rgba(0,0,0,.015) 3px),
    #eceae7;
  padding: 22px 0 10px !important;
}

body#vehicle-category .breadcrumb_spacing{display:none!important}

.meca-oscaro{
  max-width:1280px;
  margin:0 auto 18px;
  padding:0 16px;
}
.meca-oscaro-grid{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap:18px;
  align-items:stretch;
}

/* LEFT CARD */
.meca-oscaro-card{
  background:var(--ms-card);
  border-radius:16px;
  padding:26px 24px 22px;
  box-shadow:0 10px 28px rgba(0,0,0,.10);
  border:1px solid rgba(0,0,0,.04);
}
.meca-oscaro-card h2{
  margin:0 0 18px;
  font-size:26px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.02em;
  text-transform:uppercase;
  color:var(--ms-ink);
}
.meca-tabs{
  display:flex;
  gap:8px;
  margin-bottom:14px;
}
.meca-tabs button{
  flex:1;
  height:42px;
  border-radius:8px;
  border:1px solid var(--ms-line);
  background:#fff;
  color:#666;
  font-weight:700;
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  cursor:pointer;
}
.meca-tabs button.active{
  background:var(--ms-red);
  border-color:var(--ms-red);
  color:#fff;
}
.meca-panel{display:none}
.meca-panel.active{display:block}

.meca-plate-row{
  display:flex;
  gap:10px;
  align-items:stretch;
  margin-bottom:14px;
}
.meca-plate{
  flex:1;
  display:flex;
  align-items:stretch;
  height:56px;
  border:2px solid #222;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}
.meca-plate .eu{
  width:42px;
  background:#003399;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  padding-bottom:6px;
  font-weight:800;
  font-size:16px;
  letter-spacing:0;
  position:relative;
}
.meca-plate .eu:before{
  content:"★★★★";
  position:absolute;
  top:6px;
  left:0;right:0;
  text-align:center;
  font-size:7px;
  letter-spacing:1px;
  color:#fc0;
  line-height:1;
}
.meca-plate input.immatText{
  flex:1 !important;
  border:0 !important;
  box-shadow:none !important;
  background:#fff !important;
  background-image:none !important;
  height:100% !important;
  text-align:center;
  font-size:22px !important;
  font-weight:800 !important;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:0 10px !important;
  margin:0 !important;
}
.meca-go{
  width:56px;
  min-width:56px;
  border:0;
  border-radius:8px;
  background:var(--ms-red);
  color:#fff;
  font-size:26px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.meca-go:hover{filter:brightness(.95)}

.meca-check{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:#333;
  margin:0 0 16px;
  font-weight:500;
}
.meca-check input{width:16px;height:16px}

.meca-or{
  display:flex;
  align-items:center;
  gap:12px;
  color:#888;
  font-size:13px;
  margin:0 0 12px;
  text-transform:lowercase;
}
.meca-or:before,.meca-or:after{
  content:"";
  flex:1;
  height:1px;
  background:#e5e2dd;
}

.meca-oscaro-card select,
.meca-panel select{
  width:100% !important;
  height:46px !important;
  border:1px solid var(--ms-line) !important;
  border-radius:8px !important;
  background:#fff !important;
  margin:0 0 10px !important;
  padding:0 12px !important;
  font-weight:600;
  color:#444;
}
.meca-panel .btn,
.meca-panel button.btn{
  width:100%;
  height:46px;
  border:0;
  border-radius:8px;
  background:#111;
  color:#fff;
  font-weight:700;
  text-transform:uppercase;
}

/* RIGHT PROMO */
.meca-oscaro-promo{
  position:relative;
  min-height:360px;
  border-radius:16px;
  overflow:hidden;
  background:
    linear-gradient(115deg, rgba(0,0,0,.35) 0%, rgba(200,16,46,.55) 45%, rgba(20,20,20,.85) 100%),
    radial-gradient(circle at 70% 40%, #444 0%, #111 60%);
  color:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.meca-oscaro-promo-inner{
  position:relative;
  z-index:2;
  height:100%;
  min-height:360px;
  padding:36px 34px;
  display:flex;
  flex-direction:column;
}
.meca-oscaro-promo h3{
  margin:0;
  font-size:48px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.02em;
  text-transform:uppercase;
}
.meca-badge{
  position:absolute;
  top:28px;
  right:28px;
  width:78px;
  height:78px;
  border-radius:50%;
  background:#111;
  border:2px solid rgba(255,255,255,.15);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:800;
}
.meca-promo-visual{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin:10px 0 8px;
  opacity:.95;
}
.meca-filter{
  width:92px;
  height:92px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #f2f2f2, #9a9a9a 55%, #555 100%);
  box-shadow:0 8px 18px rgba(0,0,0,.35);
  position:relative;
}
.meca-filter:after{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:50%;
  border:6px solid rgba(0,0,0,.18);
}
.meca-filter.tall{width:70px;height:120px;border-radius:14px}
.meca-filter.tall:after{inset:12px;border-radius:10px}
.meca-brands-mini{
  display:flex;
  gap:18px;
  align-items:center;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  opacity:.9;
  text-transform:uppercase;
}
.meca-cta{
  align-self:flex-end;
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--ms-red);
  color:#fff !important;
  text-decoration:none !important;
  font-weight:700;
  font-size:14px;
  padding:12px 18px;
  border-radius:8px;
}
.meca-dots{
  position:absolute;
  left:0;right:0;bottom:16px;
  display:flex;
  justify-content:center;
  gap:8px;
  z-index:3;
}
.meca-dots span{
  width:8px;height:8px;border-radius:50%;
  background:rgba(255,255,255,.45);
}
.meca-dots span.on{background:var(--ms-red)}

/* brand strip */
.meca-brandstrip{
  max-width:1280px;
  margin:8px auto 24px;
  padding:0 16px;
}
.meca-brandstrip-inner{
  background:#fff;
  border-radius:12px;
  border:1px solid #ebe8e3;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  align-items:center;
  min-height:74px;
}
.meca-brandstrip-inner a,
.meca-brandstrip-inner span{
  display:flex;
  align-items:center;
  justify-content:center;
  height:74px;
  font-weight:800;
  font-size:22px;
  letter-spacing:.02em;
  color:#222;
  text-decoration:none;
  border-right:1px solid #eceae7;
  text-transform:uppercase;
}
.meca-brandstrip-inner > :last-child{border-right:0}
.meca-brandstrip .bosch{color:#e10600}
.meca-brandstrip .valeo{color:#009639;font-style:italic;text-transform:none}
.meca-brandstrip .trw{color:#c8102e}
.meca-brandstrip .brembo{color:#e10600;font-style:italic;text-transform:none;font-size:24px}

@media (max-width:991px){
  .meca-oscaro-grid{grid-template-columns:1fr}
  .meca-oscaro-promo,.meca-oscaro-promo-inner{min-height:280px}
  .meca-oscaro-promo h3{font-size:36px}
  .meca-brandstrip-inner{grid-template-columns:repeat(2,1fr)}
}


/* MECA OSCARO HERO + OWL v13 */
.meca-oscaro{
  max-width:1280px !important;
  width:100% !important;
  margin:0 auto 18px !important;
  padding:0 16px !important;
  box-sizing:border-box;
  clear:both !important;
}
.meca-oscaro-grid{
  display:grid !important;
  grid-template-columns:420px minmax(0,1fr) !important;
  gap:18px !important;
  align-items:stretch !important;
  width:100% !important;
}
.meca-oscaro-card{ grid-column:1; grid-row:1; height:auto !important; float:none !important; }
.meca-oscaro-promo{
  grid-column:2; grid-row:1;
  min-width:0 !important;
  height:360px !important;
  max-height:360px !important;
  padding:0 !important;
  background:#111 !important;
  border-radius:16px !important;
  overflow:hidden !important;
  position:relative !important;
}
.meca-brandstrip{
  max-width:1280px !important;
  width:100% !important;
  margin:8px auto 24px !important;
  padding:0 16px !important;
  clear:both !important;
}

/* Only lock outer viewport; never force .owl-wrapper / .owl-item width */
.meca-oscaro-promo .owl_carousel_wrap,
.meca-oscaro-promo .owl-carousel,
.meca-oscaro-promo .owl-wrapper-outer{
  height:360px !important;
  max-height:360px !important;
  margin:0 !important;
  padding:0 !important;
  width:100% !important;
  overflow:hidden !important;
  background:#111 !important;
}
.meca-oscaro-promo .owl-wrapper{ height:360px !important; }
.meca-oscaro-promo .owl-item{ height:360px !important; }

/* image fills item */
.meca-oscaro-promo .st_owl_carousel_block,
.meca-oscaro-promo a.st_owl_carousel_block{
  display:block !important;
  height:360px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  background:#111 !important;
  position:relative !important;
}
.meca-oscaro-promo .owl-item img,
.meca-oscaro-promo .st_owl_carousel_image{
  width:100% !important;
  height:360px !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
}
/* hide text overlays from owl slides inside promo */
.meca-oscaro-promo .st_owl_carousel_text,
.meca-oscaro-promo .owl-item h1,
.meca-oscaro-promo .owl-item h2,
.meca-oscaro-promo .owl-item h3,
.meca-oscaro-promo .owl-item .style_content,
.meca-oscaro-promo .owl-item .text_table,
.meca-oscaro-promo .owl-item .text_td{
  display:none !important;
}

.meca-oscaro-promo .owl-controls{
  position:absolute !important;
  left:0; right:0; bottom:12px !important;
  height:auto !important;
  z-index:6 !important;
}
.meca-oscaro-promo .owl-page span{ background:#fff !important; opacity:.55; }
.meca-oscaro-promo .owl-page.active span{ background:#c8102e !important; opacity:1; }

body#vehicle-category #center_column .owl_carousel_wrap,
body.page-vehicle-category #center_column .owl_carousel_wrap{ display:none !important; }

@media (max-width:991px){
  .meca-oscaro-grid{grid-template-columns:1fr !important}
  .meca-oscaro-promo,
  .meca-oscaro-promo .owl_carousel_wrap,
  .meca-oscaro-promo .owl-carousel,
  .meca-oscaro-promo .owl-wrapper-outer,
  .meca-oscaro-promo .owl-wrapper,
  .meca-oscaro-promo .owl-item,
  .meca-oscaro-promo .st_owl_carousel_block,
  .meca-oscaro-promo a.st_owl_carousel_block,
  .meca-oscaro-promo .owl-item img,
  .meca-oscaro-promo .st_owl_carousel_image{
    height:240px !important;
    max-height:240px !important;
  }
}
