/* VF3-P15 – safety layout, yellow CTA unification, hover polish */

/* On-road controls: keep version picker below the region tabs and stack note underneath */
.auto-home-universal .vf3-region-toolbar{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:10px 2px 0}
.auto-home-universal .vf3-region-version{display:inline-flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #d9e6ef;border-radius:12px;background:#fff;font-size:13px;font-weight:800;color:#163b59;white-space:nowrap}
.auto-home-universal .vf3-region-version select{min-width:180px;border:1px solid #d4e1eb;border-radius:10px;padding:10px 14px;background:#fff;color:#163b59;font:inherit;font-weight:700}
.auto-home-universal .vf3-region-version select:focus{outline:2px solid #b9daf0;border-color:#2879b7}
.auto-home-universal .vf3-region-quick-note{margin:0;padding-left:2px;font-size:12px;line-height:1.6;color:#5f7b90}
@media(max-width:767px){
  .auto-home-universal .vf3-region-toolbar{padding-top:6px}
  .auto-home-universal .vf3-region-version{display:flex;flex-wrap:wrap;white-space:normal}
  .auto-home-universal .vf3-region-version select{min-width:0;flex:1 1 220px}
}

/* Marketplace category cards: keep icons white, hover state consistently yellow */
.auto-home-universal .vf3-p10-category,
.auto-home-universal .vf3-p10-category:visited{color:#fff}
.auto-home-universal .vf3-p10-category-icon,
.auto-home-universal .vf3-p10-category-icon i{color:#fff!important}
.auto-home-universal .vf3-p10-category:hover,
.auto-home-universal .vf3-p10-category:focus-visible{border-color:#f6c445;box-shadow:0 18px 32px rgba(18,67,104,.18);background:linear-gradient(180deg,#2c80c0 0%,#236d9f 100%)}
.auto-home-universal .vf3-p10-category:hover .vf3-p10-category-icon,
.auto-home-universal .vf3-p10-category:hover .vf3-p10-category-icon i,
.auto-home-universal .vf3-p10-category:hover .vf3-p10-category-tag,
.auto-home-universal .vf3-p10-category:hover .vf3-p10-category-body strong,
.auto-home-universal .vf3-p10-category:hover .vf3-p10-category-body em,
.auto-home-universal .vf3-p10-category:hover .vf3-p10-category-body em i,
.auto-home-universal .vf3-p10-category:focus-visible .vf3-p10-category-icon,
.auto-home-universal .vf3-p10-category:focus-visible .vf3-p10-category-icon i,
.auto-home-universal .vf3-p10-category:focus-visible .vf3-p10-category-tag,
.auto-home-universal .vf3-p10-category:focus-visible .vf3-p10-category-body strong,
.auto-home-universal .vf3-p10-category:focus-visible .vf3-p10-category-body em,
.auto-home-universal .vf3-p10-category:focus-visible .vf3-p10-category-body em i{color:#f6c445!important}
.auto-home-universal .vf3-p10-category:hover .vf3-p10-category-body small,
.auto-home-universal .vf3-p10-category:focus-visible .vf3-p10-category-body small{color:#ffe5a0!important}
.auto-home-universal .vf3-p10-category:hover .vf3-p10-category-body em,
.auto-home-universal .vf3-p10-category:focus-visible .vf3-p10-category-body em{background:rgba(9,31,48,.16);border-color:rgba(246,196,69,.45)}

/* Section CTA buttons leading to detail pages */
.auto-home-universal .auto-u-mini-link,
.auto-home-universal .auto-u-floor .auto-u-btn.auto-u-btn-primary{display:flex;align-items:center;justify-content:center;gap:10px;width:fit-content;min-width:220px;max-width:100%;margin:20px auto 0;padding:0 22px;min-height:46px;border-radius:12px;border:1px solid #e3b236;background:#f6c445!important;color:#1c2d3a!important;box-shadow:0 10px 20px rgba(246,196,69,.24);font-size:13px;font-weight:900;text-align:center}
.auto-home-universal .auto-u-mini-link i,
.auto-home-universal .auto-u-floor .auto-u-btn.auto-u-btn-primary i{font-size:.95em}
.auto-home-universal .auto-u-mini-link:hover,
.auto-home-universal .auto-u-floor .auto-u-btn.auto-u-btn-primary:hover{background:#ffd561!important;border-color:#d7a62a;transform:translateY(-1px);filter:none;color:#0f1b22!important}
.auto-home-universal .auto-u-mini-link:focus-visible,
.auto-home-universal .auto-u-floor .auto-u-btn.auto-u-btn-primary:focus-visible{outline:3px solid rgba(246,196,69,.38);outline-offset:2px}
@media(max-width:767px){
  .auto-home-universal .auto-u-mini-link,
  .auto-home-universal .auto-u-floor .auto-u-btn.auto-u-btn-primary{min-width:min(100%,260px);width:100%}
}

/* Safety section rebuild */
.auto-home-universal .auto-u-safety-shell{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:16px;align-items:stretch;margin-top:8px}
.auto-home-universal .auto-u-safety-visuals{display:grid;grid-template-columns:1.2fr .8fr;grid-template-rows:repeat(2,160px);gap:12px}
.auto-home-universal .auto-u-safety-tile,
.auto-home-universal .auto-u-safety-fallback{position:relative;border:1px solid #dce8f2;border-radius:16px;overflow:hidden;background:linear-gradient(180deg,#eef7fd 0%,#e4f1f9 100%);box-shadow:0 10px 20px rgba(17,67,104,.05)}
.auto-home-universal .auto-u-safety-tile:first-child{grid-row:1 / span 2}
.auto-home-universal .auto-u-safety-tile img,
.auto-home-universal .auto-u-safety-fallback img{width:100%;height:100%;display:block;object-fit:cover}
.auto-home-universal .auto-u-safety-points{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auto-home-universal .auto-u-safety-points article{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid #dce8f2;border-radius:16px;background:linear-gradient(180deg,#fbfdff 0%,#f4f9fd 100%);box-shadow:0 10px 20px rgba(17,67,104,.04)}
.auto-home-universal .auto-u-safety-points span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#2879b7;color:#fff;box-shadow:0 8px 16px rgba(40,121,183,.18)}
.auto-home-universal .auto-u-safety-points i{font-size:20px;color:inherit}
.auto-home-universal .auto-u-safety-points h3{margin:0;font-size:15px;line-height:1.42;color:#163d5b}
.auto-home-universal .auto-u-safety-points p{margin:0;font-size:12px;line-height:1.65;color:#647f92}
.auto-home-universal .auto-u-safety-notes{margin-top:14px}
@media(max-width:991px){
  .auto-home-universal .auto-u-safety-shell{grid-template-columns:1fr}
}
@media(max-width:767px){
  .auto-home-universal .auto-u-safety-visuals{grid-template-columns:1fr 1fr;grid-template-rows:160px 120px}
  .auto-home-universal .auto-u-safety-tile:first-child{grid-column:1 / -1;grid-row:auto}
  .auto-home-universal .auto-u-safety-points{grid-template-columns:1fr}
}
