/* ALL-TERRAIN Yahoo! shop — vehicle matching concept A / 2026-07-26 */

.search_detail {
  --fitment-black: #05070a;
  --fitment-panel: #09131c;
  --fitment-panel-2: #0d1923;
  --fitment-line: #24313c;
  --fitment-white: #f7f7f5;
  --fitment-muted: #8f969d;
  --fitment-yellow: #ffd100;
  background: var(--fitment-black);
  border-top: 4px solid var(--fitment-yellow);
  padding: 0 24px 56px;
}

.search_detail .tabs_container {
  max-width: 1280px;
  margin: 0 auto;
}

.search_detail .tabs {
  max-width: none;
  margin: 0 auto;
  overflow: visible;
  border-radius: 0;
  background: var(--fitment-black);
  box-shadow: none;
  color: var(--fitment-white);
}

.fitment-intro {
  padding: 32px 0 18px;
}

.fitment-intro p {
  margin: 0 0 8px;
  color: var(--fitment-yellow);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .18em;
}

.fitment-intro h2 {
  margin: 0;
  color: var(--fitment-white);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .025em;
}

.search_detail .tab-labels-container {
  gap: 10px;
  border: 0;
}

.search_detail .tab-label {
  padding: 17px 20px;
  border: 1px solid #172532;
  border-bottom: 0;
  border-radius: 3px;
  background: var(--fitment-panel);
  color: #aeb5bb;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .04em;
}

.search_detail .tab-label:hover {
  border-color: #41505d;
  background: var(--fitment-panel-2);
  color: #fff;
}

.search_detail #tab1:checked ~ .tab-labels-container .tab-label[for="tab1"],
.search_detail #tab2:checked ~ .tab-labels-container .tab-label[for="tab2"] {
  border-color: var(--fitment-yellow);
  background: var(--fitment-yellow);
  color: #05070a;
}

.search_detail .tab-content-wrapper {
  padding: 22px 0 0;
  border: 0;
}

.search_detail .tab-content {
  color: var(--fitment-white);
}

.fitment-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.fitment-progress li {
  position: relative;
  min-width: 0;
  color: #707880;
}

.fitment-progress li::before {
  position: absolute;
  top: 16px;
  right: 0;
  left: 0;
  height: 3px;
  background: #2a3036;
  content: "";
}

.fitment-progress li:first-child::before {
  left: 18px;
}

.fitment-progress li:last-child::before {
  right: 18px;
}

.fitment-progress li.is-active::before {
  background: var(--fitment-yellow);
}

.fitment-progress span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #34414c;
  border-radius: 50%;
  background: #111c26;
  color: #8b939a;
  font-size: 10px;
  font-weight: 900;
}

.fitment-progress li:not(:first-child) span {
  margin: 0 auto;
}

.fitment-progress li:last-child span {
  margin-right: 0;
}

.fitment-progress b {
  display: block;
  margin-top: 9px;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.fitment-progress li:not(:first-child) b {
  text-align: center;
}

.fitment-progress li:last-child b {
  text-align: right;
}

.fitment-progress .is-active {
  color: var(--fitment-white);
}

.fitment-progress .is-active span {
  border-color: var(--fitment-yellow);
  background: var(--fitment-yellow);
  color: #05070a;
}

.search_detail .step-header {
  margin: 26px 0 14px;
  padding: 13px 16px;
  border: 1px solid #584d16;
  border-left: 4px solid var(--fitment-yellow);
  border-radius: 2px;
  background: transparent;
  color: var(--fitment-white);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .04em;
}

.search_detail #step1-container .step-header {
  margin-top: 0;
}

.search_detail .maker_container {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 12px;
}

.search_detail .manufacturer-option.maker,
.search_detail .manufacturer-option.maker.selected {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 9px 9px 10px;
  border: 2px solid #182733;
  border-radius: 3px;
  background: var(--fitment-panel);
  color: var(--fitment-white);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.search_detail .manufacturer-option.maker:hover {
  border-color: #68727b;
  background: var(--fitment-panel-2) !important;
  transform: translateY(-2px);
}

.search_detail .manufacturer-option.maker.selected {
  border-color: var(--fitment-yellow);
  background: var(--fitment-panel-2);
  box-shadow: inset 0 0 0 1px var(--fitment-yellow);
}

.search_detail .manufacturer-option.maker.selected::after {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--fitment-yellow);
  color: #05070a;
  content: "✓";
  font-size: 13px;
  font-weight: 900;
}

.search_detail .manufacturer-option img {
  display: block;
  width: 100%;
  height: 100px;
  max-width: none;
  max-height: none;
  padding: 7px 10px;
  border-radius: 2px;
  background: #fff;
  object-fit: contain;
  box-sizing: border-box;
}

.search_detail .maker figcaption {
  overflow: hidden;
  margin-top: 10px;
  color: var(--fitment-white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search_detail .car-model-option,
.search_detail .product-type-option,
.search_detail .tire-season-option {
  min-height: 52px;
  margin-bottom: 10px;
  border: 2px solid #1c2b37;
  border-radius: 3px;
  background: var(--fitment-panel);
  color: var(--fitment-white);
  font-weight: 800;
}

.search_detail .car-model-option:hover,
.search_detail .product-type-option:hover,
.search_detail .tire-season-option:hover {
  border-color: #68727b;
  background: var(--fitment-panel-2);
}

.search_detail .car-model-option.selected,
.search_detail .product-type-option.selected,
.search_detail .tire-season-option.selected {
  border-color: var(--fitment-yellow);
  background: var(--fitment-yellow);
  color: #05070a;
}

.search_detail #content2 {
  padding: 10px 0 24px;
}

.search_detail #content2 .category_contents h3 {
  border-radius: 2px;
  background: var(--fitment-panel);
}

.search_detail #content2 .category_contents h3 a,
.search_detail #content2 .category_contents ul li a {
  color: var(--fitment-white);
}

.search_detail #content2 .category_contents ul li {
  border-color: var(--fitment-line);
  background: var(--fitment-panel);
}

.search_detail #content2 .category_contents ul li a:hover {
  background: var(--fitment-yellow);
  color: #05070a;
}

@media screen and (max-width: 767px) {
  .search_detail {
    padding: 0 14px 36px;
  }

  .fitment-intro {
    padding: 18px 0 14px;
  }

  .fitment-intro p {
    margin-bottom: 7px;
    font-size: 10px;
  }

  .fitment-intro h2 {
    font-size: 21px;
    line-height: 1.35;
  }

  .search_detail .tab-labels-container {
    gap: 8px;
  }

  .search_detail .tab-label {
    padding: 14px 6px;
    font-size: 13px;
    letter-spacing: 0;
  }

  .search_detail .tab-content-wrapper {
    padding-top: 18px;
  }

  .fitment-progress {
    margin-bottom: 18px;
  }

  .fitment-progress li::before {
    top: 14px;
  }

  .fitment-progress span {
    width: 30px;
    height: 30px;
    font-size: 9px;
  }

  .fitment-progress li:first-child::before {
    left: 15px;
  }

  .fitment-progress li:last-child::before {
    right: 15px;
  }

  .fitment-progress b {
    margin-top: 7px;
    font-size: 10px;
  }

  .search_detail .step-header {
    margin: 20px 0 10px;
    padding: 11px 12px;
    font-size: 13px;
  }

  .search_detail .maker_container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .search_detail .manufacturer-option.maker,
  .search_detail .manufacturer-option.maker.selected {
    padding: 7px 7px 8px;
  }

  .search_detail .manufacturer-option img {
    height: 62px;
    padding: 4px 6px;
  }

  .search_detail .maker figcaption {
    margin-top: 7px;
    font-size: 11px;
  }

  .search_detail .manufacturer-option.maker.selected::after {
    top: 3px;
    right: 3px;
    width: 19px;
    height: 19px;
    font-size: 11px;
  }

  .search_detail .car-model-option,
  .search_detail .product-type-option,
  .search_detail .tire-season-option {
    min-height: 48px;
    padding: 10px 6px;
    font-size: 13px;
  }

  .search_detail #content2 .category_contents ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}
