/* FIGS Vehicle Shop frontend */
.figs-vehicle-shop { margin-bottom: 40px; }
.fvs-hero { margin: 0 0 24px; padding: 26px 30px; border: 1px solid #e5e5e5; border-left: 5px solid #ff6600; border-radius: 6px; background: linear-gradient(135deg,#fff,#f7f7f7); }
.fvs-hero h1 { margin: 4px 0 8px; font-size: 34px; line-height: 1.12; font-weight: 800; color: #222; }
.fvs-hero p { margin: 0; color: #666; font-size: 15px; }
.fvs-kicker { color: #ff6600; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.fvs-card-grid { display: grid; gap: 22px; margin-bottom: 28px; }
.fvs-make-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.fvs-platform-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.fvs-card { display: block; min-height: 118px; padding: 22px; color: #222; border: 1px solid #ddd; border-radius: 8px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.04); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; text-decoration: none !important; }
.fvs-card:hover { color: #222; border-color: #ff6600; box-shadow: 0 6px 18px rgba(0,0,0,.10); transform: translateY(-2px); }
.fvs-card-logo { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; margin-bottom:12px; border-radius:50%; background:#111; color:#ff6600; font-size:22px; font-weight:900; }
.fvs-card-title, .fvs-platform-model { display:block; font-size:24px; line-height:1.15; font-weight:800; text-transform:uppercase; }
.fvs-platform-chassis { display:inline-block; margin:8px 0 0; padding:3px 8px; background:#222; color:#fff; border-radius:3px; font-weight:800; letter-spacing:.4px; }
.fvs-card-subtitle { display:block; margin-top:8px; color:#666; }
.fvs-card-action { display:inline-block; margin-top:14px; color:#ff6600; font-weight:800; }

.fvs-category-intro { margin: 0 0 16px; }
.fvs-category-intro h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: #222; }
.fvs-category-intro p { margin: 0; color: #666; }
.fvs-category-card-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 0 0 30px; }
.fvs-category-card { display: flex; min-height: 86px; padding: 16px; flex-direction: column; justify-content: space-between; border: 1px solid #ddd; border-radius: 7px; background: #fff; color: #222; text-decoration: none !important; box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.fvs-category-card:hover { color: #222; border-color: #ff6600; transform: translateY(-2px); box-shadow: 0 5px 14px rgba(0,0,0,.09); }
.fvs-category-card-name { display: block; font-size: 14px; line-height: 1.25; font-weight: 900; text-transform: uppercase; }
.fvs-category-card-count { display: inline-block; margin-top: 12px; color: #ff6600; font-size: 12px; font-weight: 800; text-transform: uppercase; }

.fvs-current-category-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #e2e2e2; border-radius: 6px; background: #fafafa; }
.fvs-back-link { color: #333; font-weight: 800; text-decoration: none !important; }
.fvs-back-link:hover { color: #ff6600; }
.fvs-change-category { border: 0; border-radius: 4px; background: #222; color: #fff; padding: 8px 12px; font-weight: 800; text-transform: uppercase; }
.fvs-change-category:hover { background: #ff6600; }
.fvs-category-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; margin: 0 0 22px; border: 1px solid #e5e5e5; border-radius: 6px; background: #fafafa; }
.fvs-category-list-compact.collapse { display: none; }
.fvs-category-list-compact.collapse.in { display: flex; }
.fvs-category-pill { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 9px 12px; border: 1px solid #d6d6d6; border-radius: 999px; background: #fff; color: #333; font-size: 13px; font-weight: 800; text-transform: uppercase; text-decoration: none !important; white-space: nowrap; }
.fvs-category-pill:hover, .fvs-category-pill.active { border-color: #ff6600; background: #ff6600; color: #fff; }
.fvs-category-pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 20px; background: rgba(0,0,0,.08); font-size: 12px; }
.fvs-category-pill.active span, .fvs-category-pill:hover span { background: rgba(255,255,255,.22); }

.fvs-product-grid { display: flex; flex-wrap: wrap; }
.fvs-product-grid .product-layout { margin-bottom: 24px; }
.fvs-product-card { height: 100%; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.fvs-product-card .image { padding: 18px; background: #fff; min-height: 190px; display: flex; align-items: center; justify-content: center; }
.fvs-product-card .image img { max-height: 180px; width: auto; }
.fvs-product-card .caption { flex: 1; min-height: 170px; padding: 18px; }
.fvs-product-card h4 { min-height: 44px; margin-top: 0; font-size: 15px; line-height: 1.35; font-weight: 800; text-transform: uppercase; }
.fvs-product-card h4 a { color: #ff6600; }
.fvs-product-desc { max-height: 58px; overflow: hidden; color: #666; font-size: 13px; }
.fvs-product-card .price { font-size: 19px; font-weight: 900; color: #111; }
.fvs-product-card .button-group { margin-top: auto; }

@media (max-width: 1199px) { .fvs-category-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 991px) { .fvs-make-grid, .fvs-platform-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .fvs-category-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .fvs-product-card .caption { min-height: 155px; } }
@media (max-width: 767px) { .fvs-hero { padding: 20px; } .fvs-hero h1 { font-size: 27px; } .fvs-make-grid, .fvs-platform-grid, .fvs-category-card-grid { grid-template-columns: 1fr; gap: 10px; } .fvs-category-card { min-height: 68px; padding: 13px; } .fvs-current-category-bar { display: block; } .fvs-change-category { width: 100%; margin-top: 10px; } .fvs-category-list { display: block; padding: 8px; } .fvs-category-list-compact.collapse.in { display: block; } .fvs-category-pill { display: flex; justify-content: space-between; width: 100%; margin: 0 0 6px; border-radius: 4px; white-space: normal; } .fvs-product-grid .product-layout { padding-left: 6px; padding-right: 6px; } .fvs-product-card .image { min-height: 135px; padding: 10px; } .fvs-product-card .image img { max-height: 125px; } .fvs-product-card .caption { min-height: 145px; padding: 12px; } .fvs-product-card h4 { font-size: 13px; min-height: 50px; } .fvs-product-desc { display:none; } .fvs-product-card .price { font-size: 16px; } .fvs-product-card .button-group button:first-child span { display:none; } }
@media (max-width: 420px) { .fvs-product-grid .product-layout { width: 100%; } }


/* Category detail block using existing OpenCart category description */
.fvs-category-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  margin: 0 0 24px;
  padding: 22px 0 24px;
  border-bottom: 1px solid #e4e4e4;
}
.fvs-category-detail-main {
  display: grid;
  grid-template-columns: minmax(170px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.fvs-category-detail h2 {
  margin: 0;
  color: #111;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.fvs-category-title-rule {
  width: 55px;
  height: 3px;
  margin-top: 14px;
  background: #ff6600;
}
.fvs-category-copy {
  color: #555;
  font-size: 15px;
  line-height: 1.65;
}
.fvs-category-copy.is-collapsed {
  max-height: 72px;
  overflow: hidden;
  position: relative;
}
.fvs-category-copy.is-collapsed:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34px;
  background: linear-gradient(rgba(255,255,255,0), #fff);
}
.fvs-show-more,
.fvs-share-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  padding: 9px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-weight: 800;
  line-height: 1.2;
}
.fvs-show-more {
  margin-top: 12px;
  border-radius: 18px;
}
.fvs-show-more i { color: #ff6600; }
.fvs-share-category:hover,
.fvs-show-more:hover {
  border-color: #ff6600;
  color: #111;
}
.fvs-share-category.copied {
  border-color: #2ca02c;
  color: #2ca02c;
}

@media (max-width: 767px) {
  .fvs-category-detail,
  .fvs-category-detail-main {
    display: block;
  }
  .fvs-category-detail h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .fvs-share-category {
    margin-top: 14px;
  }
}

/* v0.2.8: Category description lives inside the vehicle/category hero */
.fvs-category-hero { margin-bottom: 18px; }
.fvs-hero-copy {
  max-width: 980px;
  color: #555;
  font-size: 15px;
  line-height: 1.65;
}
.fvs-hero-copy p:last-child { margin-bottom: 0; }
.fvs-hero-copy.is-collapsed {
  max-height: 82px;
  overflow: hidden;
  position: relative;
}
.fvs-hero-copy.is-collapsed:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  background: linear-gradient(rgba(248,248,248,0), #f7f7f7);
}
.fvs-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.fvs-hero-actions .fvs-show-more,
.fvs-hero-actions .fvs-share-category {
  margin-top: 0;
}
@media (max-width: 767px) {
  .fvs-hero-actions { display: block; }
  .fvs-hero-actions .fvs-show-more,
  .fvs-hero-actions .fvs-share-category { width: 100%; margin: 8px 0 0; }
}

/* v0.2.9: View-all actions */
.fvs-category-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fvs-view-all-products,
.fvs-view-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  border: 1px solid #222;
  background: #222;
  color: #fff !important;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1.2;
}
.fvs-view-all-products { padding: 10px 14px; white-space: nowrap; }
.fvs-view-all-link { padding: 8px 12px; margin-left: auto; }
.fvs-view-all-products:hover,
.fvs-view-all-link:hover {
  border-color: #ff6600;
  background: #ff6600;
  color: #fff !important;
}
@media (max-width: 767px) {
  .fvs-category-intro { display: block; }
  .fvs-view-all-products { width: 100%; margin-top: 12px; }
  .fvs-view-all-link { width: 100%; margin: 10px 0 0; }
}

/* v0.3.4: Option 5 vehicle landing layout */
.fvs-vehicle-hero.has-vehicle-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38%;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}
.fvs-vehicle-hero-image {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 170px;
}
.fvs-vehicle-hero-image img {
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
}
.fvs-category-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 30px;
}
.fvs-category-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 115px;
  gap: 12px;
  min-height: 174px;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
  color: #222;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  overflow: hidden;
}
.fvs-category-feature-card:hover {
  color: #222;
  border-color: #ff6600;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
}
.fvs-category-feature-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.fvs-category-feature-card .fvs-category-card-name {
  display: inline-block;
  font-size: 15px;
  letter-spacing: .2px;
  color: #111;
  text-decoration: none !important;
}
.fvs-category-feature-card .fvs-category-card-name:hover { color: #ff6600; }
.fvs-category-feature-card .fvs-category-card-count {
  margin-top: 5px;
  font-size: 11px;
}
.fvs-category-child-list {
  position: relative;
  z-index: 2;
  margin: 10px 0 0;
  padding: 0 105px 0 0;
  list-style: none;
  color: #444;
  font-size: 12px;
  line-height: 1.55;
}
.fvs-category-child-list li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.fvs-category-child-list a {
  color: #333;
  text-decoration: none !important;
}
.fvs-category-child-list a:hover { color: #ff6600; }
.fvs-category-shop-link {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding-top: 12px;
  color: #ff6600;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none !important;
}
.fvs-category-shop-link:hover { color: #111; }
.fvs-category-feature-image {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  text-decoration: none !important;
}
.fvs-category-feature-image img {
  max-width: 115px;
  max-height: 120px;
  object-fit: contain;
  pointer-events: none;
}
.fvs-category-feature-card.is-all-card {
  background: #fafafa;
}
.fvs-category-feature-card.is-all-card p {
  margin: 10px 0 0;
  color: #555;
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 1199px) {
  .fvs-category-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .fvs-vehicle-hero.has-vehicle-image { grid-template-columns: 1fr; }
  .fvs-vehicle-hero-image { min-height: auto; justify-content: center; }
  .fvs-category-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .fvs-category-feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .fvs-category-feature-card { grid-template-columns: minmax(0, 1fr) 92px; min-height: 135px; padding: 13px; }
  .fvs-category-feature-image img { max-width: 90px; max-height: 95px; }
  .fvs-category-child-list { padding-right: 0; }
  .fvs-category-child-list li { max-width: 100%; white-space: normal; }
}

/* v0.3.6: tighter category cards, FIGS-prioritized children, no image on View All Categories */
.fvs-category-feature-card.is-all-card {
  grid-template-columns: 1fr;
  min-height: 174px;
}
.fvs-category-feature-card.is-all-card .fvs-category-feature-copy {
  height: 100%;
}
.fvs-category-child-list li a {
  display: inline-block;
  max-width: 100%;
}
.fvs-category-feature-card:not(.is-all-card) .fvs-category-feature-copy {
  overflow: hidden;
}
@media (min-width: 768px) {
  .fvs-category-feature-card:not(.is-all-card) .fvs-category-child-list {
    padding-right: 0;
  }
}

/* v0.3.7: roomier category cards + all-categories tree page */
.fvs-category-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fvs-category-feature-card {
  grid-template-columns: minmax(0, 1fr) 118px;
  min-height: 205px;
}
.fvs-category-feature-card:not(.is-all-card) .fvs-category-feature-copy {
  overflow: visible;
}
.fvs-category-feature-card .fvs-category-card-name {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.fvs-category-child-list {
  padding-right: 0;
  max-width: 100%;
}
.fvs-category-child-list li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fvs-category-feature-image {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.fvs-category-feature-image img {
  max-width: 112px;
  max-height: 118px;
}
.fvs-all-categories-grid .fvs-category-feature-card {
  min-height: 235px;
}
.fvs-all-categories-grid .fvs-category-child-list li {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
@media (max-width: 1199px) {
  .fvs-category-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .fvs-category-feature-grid { grid-template-columns: 1fr; }
  .fvs-category-feature-card { grid-template-columns: minmax(0, 1fr) 92px; min-height: 145px; }
  .fvs-category-feature-image img { max-width: 88px; max-height: 95px; }
}

/* v0.3.8: all-categories is now a flat subcategory grid */
.fvs-all-categories-grid .fvs-category-feature-card {
  min-height: 185px;
}
.fvs-all-categories-grid .fvs-category-feature-card .fvs-category-card-name {
  font-size: 16px;
}
.fvs-all-categories-grid .fvs-category-feature-card .fvs-category-feature-image img {
  max-width: 118px;
  max-height: 120px;
}


/* v0.3.9: image-based Change Category drawer */
.fvs-category-selector {
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
}
.fvs-category-selector.collapse { display: none; }
.fvs-category-selector.collapse.in { display: block; }
.fvs-category-selector-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.fvs-category-selector-head strong {
  color: #111;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}
.fvs-category-selector-head span {
  color: #666;
  font-size: 13px;
}
.fvs-category-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.fvs-category-selector-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #222;
  text-decoration: none !important;
  box-shadow: 0 1px 5px rgba(0,0,0,.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.fvs-category-selector-card:hover,
.fvs-category-selector-card.active {
  color: #222;
  border-color: #ff6600;
  box-shadow: 0 4px 12px rgba(0,0,0,.09);
  transform: translateY(-1px);
}
.fvs-category-selector-card.active:before {
  content: '';
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: #ff6600;
}
.fvs-selector-image,
.fvs-selector-icon {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 54px;
}
.fvs-selector-image img {
  max-width: 58px;
  max-height: 54px;
  object-fit: contain;
}
.fvs-selector-icon {
  border-radius: 8px;
  background: #222;
  color: #ff6600;
  font-size: 22px;
}
.fvs-selector-title {
  min-width: 0;
  color: #111;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fvs-selector-count {
  display: block;
  margin-top: 4px;
  color: #ff6600;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.fvs-category-selector-all {
  background: linear-gradient(135deg,#fff,#f4f4f4);
}
@media (max-width: 1199px) {
  .fvs-category-selector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .fvs-category-selector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .fvs-category-selector { padding: 12px; }
  .fvs-category-selector-head { display: block; }
  .fvs-category-selector-head span { display: block; margin-top: 4px; }
  .fvs-category-selector-grid { grid-template-columns: 1fr; gap: 8px; }
  .fvs-category-selector-card { min-height: 66px; grid-template-columns: 52px minmax(0, 1fr); }
  .fvs-selector-image, .fvs-selector-icon { width: 52px; height: 48px; }
  .fvs-selector-image img { max-width: 52px; max-height: 48px; }
  .fvs-selector-title { white-space: normal; }
}

/* v0.4.1: vehicle platform images beside card text */
.fvs-platform-card.has-platform-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  grid-template-areas:
    "model image"
    "chassis image"
    "subtitle image"
    "action image";
  column-gap: 18px;
  align-items: center;
  min-height: 150px;
  overflow: hidden;
}
.fvs-platform-card-image {
  grid-area: image;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 120px;
  background: #f6f6f6;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  overflow: hidden;
}
.fvs-platform-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fvs-platform-card.has-platform-image .fvs-platform-model { grid-area: model; }
.fvs-platform-card.has-platform-image .fvs-platform-chassis { grid-area: chassis; width: max-content; }
.fvs-platform-card.has-platform-image .fvs-card-subtitle { grid-area: subtitle; }
.fvs-platform-card.has-platform-image .fvs-card-action { grid-area: action; }
@media (max-width: 767px) {
  .fvs-platform-card.has-platform-image {
    grid-template-columns: minmax(0, 1fr) 110px;
    column-gap: 12px;
    min-height: 120px;
  }
  .fvs-platform-card-image { width:110px; height:90px; }
}

/* v0.4.2: make-page platform search/filter */
.fvs-platform-filter {
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.035);
}
.fvs-platform-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.fvs-platform-search-wrap .fa-search {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 17px;
  pointer-events: none;
}
.fvs-platform-search {
  width: 100%;
  height: 48px;
  padding: 0 46px 0 44px;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: 15px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.035);
}
.fvs-platform-search:focus {
  border-color: #ff6600;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,102,0,.12);
}
.fvs-platform-search-clear {
  display: none;
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #eee;
  color: #777;
  line-height: 30px;
  text-align: center;
}
.fvs-platform-search-clear:hover { background:#ff6600; color:#fff; }
.fvs-platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.fvs-platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-weight: 800;
  line-height: 1;
}
.fvs-platform-chip span {
  color: #666;
  font-weight: 700;
}
.fvs-platform-chip.active,
.fvs-platform-chip:hover {
  border-color: #ff6600;
  background: #ff6600;
  color: #fff;
}
.fvs-platform-chip.active span,
.fvs-platform-chip:hover span { color:#fff; }
.fvs-platform-filter-meta {
  color: #666;
  font-size: 13px;
}
.fvs-platform-empty {
  margin: 12px 0 28px;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fafafa;
  color: #666;
  font-weight: 700;
}
@media (max-width: 767px) {
  .fvs-platform-filter {
    position: static;
    top: auto;
    z-index: auto;
    padding: 12px;
    margin-bottom: 14px;
  }
  .fvs-platform-search { height: 44px; font-size: 14px; }
  .fvs-platform-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .fvs-platform-chip {
    flex: 0 0 auto;
    padding: 8px 13px;
  }
}

/* v0.4.3: category-card meta + subcategory-owned image behavior */
.fvs-category-feature-card .fvs-category-card-meta {
  display: block;
  margin-top: 6px;
  color: #ff6600;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .2px;
  line-height: 1.35;
}
.fvs-category-feature-card .fvs-category-card-meta span {
  display: block;
}
.fvs-category-feature-card .fvs-category-card-count {
  display: none;
}
@media (max-width: 767px) {
  .fvs-platform-filter {
    position: static;
    top: auto;
    z-index: auto;
  }
}


/* v0.4.6: polished Change Category selector cards */
.fvs-category-selector-card {
  min-height: 82px;
  grid-template-columns: 74px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}
.fvs-selector-image,
.fvs-selector-icon {
  width: 74px;
  height: 64px;
}
.fvs-selector-image img {
  max-width: 74px;
  max-height: 64px;
  object-fit: contain;
}
.fvs-selector-image.is-placeholder {
  background: #f5f5f5;
  border: 1px solid #eee;
  border-radius: 8px;
}
.fvs-selector-image.is-placeholder img {
  opacity: .55;
  max-width: 46px;
  max-height: 42px;
}
.fvs-selector-title {
  font-size: 13px;
  line-height: 1.18;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 31px;
}
.fvs-selector-count {
  font-size: 11px;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .fvs-category-selector-card {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 74px;
  }
  .fvs-selector-image,
  .fvs-selector-icon {
    width: 64px;
    height: 56px;
  }
  .fvs-selector-image img {
    max-width: 64px;
    max-height: 56px;
  }
}

/* Not finding vehicle CTA */
.fvs-contact-cta {
  margin: 26px 0 10px;
  padding: 22px 24px;
  border: 1px solid #e2e2e2;
  border-left: 4px solid #ff6600;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fvs-contact-cta h3 {
  margin: 0 0 6px;
  color: #111;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .2px;
}

.fvs-contact-cta p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

.fvs-contact-cta-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 5px;
  background: #1b1b1b;
  color: #fff !important;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none !important;
  letter-spacing: .2px;
  white-space: nowrap;
}

.fvs-contact-cta-button:hover,
.fvs-contact-cta-button:focus {
  background: #ff6600;
  color: #fff !important;
}

@media (max-width: 767px) {
  .fvs-contact-cta {
    display: block;
    padding: 18px;
  }
  .fvs-contact-cta h3 {
    font-size: 20px;
  }
  .fvs-contact-cta-button {
    width: 100%;
    margin-top: 14px;
  }
}

/* v0.4.7 product card parity with FIGS category cards */
.fvs-product-card {
    position: relative;
    overflow: hidden;
}

.fvs-product-card .caption {
    min-height: 190px;
}

.fvs-product-card .caption h4 {
    min-height: 50px;
}

.fvs-product-fit {
    margin: 10px 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #222;
}

.fvs-product-fit .fa {
    color: #ff6600;
    margin-right: 4px;
}

.fvs-product-rating {
    margin-top: 8px;
}

.fvs-product-rating .fa-stack {
    width: 14px;
    height: 14px;
    line-height: 14px;
    font-size: 8px;
    color: #f4a000;
}

.fvs-product-stickers {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
    pointer-events: none;
}

.fvs-product-sticker {
    position: absolute;
    top: 22px;
    left: -48px;
    width: 175px;
    padding: 6px 0;
    background: #ff6600;
    color: #fff;
    text-align: center;
    transform: rotate(-45deg);
    font-size: 11px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.22);
}

.fvs-product-stickers .fvs-product-sticker:nth-child(n+2) {
    display: none;
}

.fvs-sticker-preorder,
.fvs-sticker-pre-order {
    background: #ff6600;
}

/* v0.5.0: product card parity + desktop button fix */
.fvs-product-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.fvs-product-grid .product-layout {
    display: flex;
    margin-bottom: 24px;
}
.fvs-product-grid .product-thumb.fvs-product-card {
    width: 100%;
    min-height: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.fvs-product-grid .product-thumb.fvs-product-card > div:not(.image):last-child {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.fvs-product-grid .product-thumb.fvs-product-card .caption {
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 12px;
}
.fvs-product-grid .product-thumb.fvs-product-card .caption h4 {
    min-height: 0;
}
.fvs-product-grid .product-thumb.fvs-product-card .button-group {
    margin-top: auto;
    flex: 0 0 auto;
}
.fvs-product-grid .product-thumb.fvs-product-card .button-group button {
    line-height: normal;
}
.fvs-product-grid .xdstickers_wrapper {
    z-index: 20;
}

/* v0.6.0: reliable platform filtering */
.fvs-is-hidden { display: none !important; }
