/* AMETMOTORS reference-theme homepage — scoped to Page 29 only. */
body.amet-customer-v1.amet-v1-home #amethome {
  --amet-home-max: 1280px;
  color: #f6f3ee;
  background: #0d1319;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-section__inner,
body.amet-customer-v1.amet-v1-home #amethome .amet-hero__inner {
  width: min(calc(100% - 48px), var(--amet-home-max));
  margin-inline: auto;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-logical-block--hero {
  background: #0b1015;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-hero {
  position: relative;
  display: grid;
  min-height: clamp(500px, 43vw, 650px);
  align-items: center;
  overflow: hidden;
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 7, .98) 0%, rgba(3, 5, 7, .92) 29%, rgba(3, 5, 7, .34) 57%, rgba(3, 5, 7, .05) 100%),
    url("../images/amet-garage-hero-v2.png") 68% center / cover no-repeat;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-hero__inner {
  position: relative;
  z-index: 1;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-hero__eyebrow {
  margin: 0 0 14px;
  color: #ff6a13;
  font-size: 16px;
  font-weight: 800;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-hero__title {
  max-width: 540px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-hero__subtitle {
  max-width: 460px;
  margin: 24px 0 0;
  color: #d6d8da;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.65;
}

.amet-v2-hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.amet-v2-hero-actions .amet-btn {
  min-width: 220px;
  min-height: 56px;
  border-radius: 7px;
  font-size: 17px;
}

.amet-v2-hero-actions .amet-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #ff730d, #ff4e00);
  border: 1px solid #ff6a13;
}

.amet-v2-hero-actions .amet-btn--ghost {
  color: #fff;
  background: rgba(4, 8, 12, .72);
  border: 2px solid #ff6a13;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey {
  padding: 36px 0 34px;
  background:
    radial-gradient(circle at 50% 0, rgba(74, 100, 126, .15), transparent 46%),
    linear-gradient(180deg, #111820, #0b1117);
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__head {
  margin-bottom: 18px;
  text-align: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__title,
body.amet-customer-v1.amet-v1-home #amethome .amet-section__title,
body.amet-customer-v1.amet-v1-home #amethome .amet-v2-video-preview h2 {
  color: inherit;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -.025em;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__intro {
  display: none;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__link {
  display: grid;
  min-height: 190px;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  color: #fff;
  background: linear-gradient(145deg, rgba(29, 37, 46, .96), rgba(18, 24, 31, .98));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__link:hover {
  border-color: #ff6a13;
  transform: translateY(-2px);
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__icon {
  display: grid;
  width: 90px;
  height: 90px;
  color: #ff6a13;
  font-size: 48px;
  filter: grayscale(1) sepia(1) saturate(9) hue-rotate(345deg);
  place-items: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__item-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 26px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__text {
  margin: 0;
  color: #aeb6bf;
  font-size: 17px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__cta {
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  color: #ff6a13;
  border: 2px solid #ff6a13;
  border-radius: 50%;
  font-size: 0;
  place-items: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__cta span {
  font-size: 28px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0 0;
  padding: 0;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__trust-item {
  min-height: 78px;
  padding: 14px 24px 14px 68px;
  color: #d3d8dd;
  border-right: 1px solid rgba(255, 255, 255, .24);
  list-style: none;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__trust-item:last-child {
  border-right: 0;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__trust-item::before {
  content: "✓";
  display: grid;
  position: absolute;
  width: 40px;
  height: 40px;
  margin: -6px 0 0 -54px;
  color: #ff6a13;
  border: 2px solid #ff6a13;
  border-radius: 50%;
  font-weight: 900;
  place-items: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker {
  padding: 0 0 28px;
  background: #0b1117;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  padding: 28px 36px;
  background: linear-gradient(145deg, #171e25, #10161c);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__inner::before {
  content: "⌕";
  grid-row: 1 / span 3;
  color: #ff6a13;
  font-size: 110px;
  line-height: 1;
  text-align: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__title,
body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__intro,
body.amet-customer-v1.amet-v1-home #amethome .amet-checker__mount {
  grid-column: 2;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__title,
body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__intro {
  margin-left: 0;
  text-align: left;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__intro {
  margin-bottom: 16px;
  color: #aeb6bf;
}

body.amet-customer-v1.amet-v1-home #amet-check .amet-dtc {
  display: grid;
  max-width: none !important;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: start;
  gap: 14px;
  margin: 0 !important;
}

body.amet-customer-v1.amet-v1-home #amet-check .amet-dtc > div:first-child,
body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-code {
  width: 100%;
}

body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-code {
  min-height: 58px;
  color: #fff !important;
  background: #151c23 !important;
  border: 1px solid #66717c !important;
  border-radius: 7px !important;
}

body.amet-customer-v1.amet-v1-home #amet-check .amet-dtc > div > label[for="amet-dtc-brand"],
body.amet-customer-v1.amet-v1-home #amet-check .amet-dtc > div > label[for="amet-dtc-model"],
body.amet-customer-v1.amet-v1-home #amet-check .amet-dtc > div > label[for="amet-dtc-year"],
body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-brand,
body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-model,
body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-year {
  display: none !important;
}

body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-go {
  min-width: 0;
  min-height: 58px;
  margin: 0 !important;
  background: linear-gradient(135deg, #ff730d, #ff4e00) !important;
  border-radius: 7px !important;
}

body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-out {
  grid-column: 1 / -1;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps {
  padding: 0 0 34px;
  background: #0b1117;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps .amet-section__title,
body.amet-customer-v1.amet-v1-home #amethome .amet-steps__summary {
  display: none;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps__item {
  display: grid;
  min-height: 96px;
  grid-template-columns: 54px 1fr;
  align-content: center;
  padding: 14px 28px;
  border-right: 1px solid rgba(255, 255, 255, .15);
  list-style: none;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps__item:last-child {
  border-right: 0;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps__num {
  display: grid;
  width: 42px;
  height: 42px;
  grid-row: 1 / span 2;
  color: #ff6a13;
  border: 1px solid rgba(255, 106, 19, .42);
  border-radius: 50%;
  place-items: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps__title,
body.amet-customer-v1.amet-v1-home #amethome .amet-steps__text {
  margin: 0;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps__text {
  color: #9099a3;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories {
  padding: 30px 0 26px;
  color: #16191d;
  background: #f7f2eb;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories .amet-section__title {
  margin-bottom: 22px;
  color: #17191d;
  text-align: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories__link {
  display: grid;
  min-height: 190px;
  align-content: center;
  justify-items: center;
  padding: 22px;
  color: #191b1e;
  background: #fffaf4;
  border: 1px solid #e3ddd5;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(26, 24, 21, .1);
  text-align: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories__link::before {
  content: "▦";
  display: block;
  margin-bottom: 15px;
  color: #ff6410;
  font-size: 62px;
  line-height: 1;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories__name {
  font-size: 20px;
  font-weight: 800;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories__count,
body.amet-customer-v1.amet-v1-home #amethome .amet-categories__arrow {
  display: none;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-products {
  padding: 30px 0 34px;
  background: linear-gradient(180deg, #0c1218, #101820);
}

body.amet-customer-v1.amet-v1-home #amethome .amet-products .amet-section__inner::before {
  content: "เครื่องสแกน OBD2 ที่แนะนำ";
  display: block;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  text-align: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-products__categories > .amet-product-category:not(.amet-product-category--group),
body.amet-customer-v1.amet-v1-home #amethome .amet-product-category--group > .amet-product-category__head,
body.amet-customer-v1.amet-v1-home #amethome .amet-product-category--group .amet-product-category__subrails > .amet-product-category:nth-child(n+2),
body.amet-customer-v1.amet-v1-home #amethome .amet-product-category--subrail > .amet-product-category__head {
  display: none !important;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category,
body.amet-customer-v1.amet-v1-home #amethome .amet-product-category--group {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  overflow: visible;
  scroll-snap-type: none;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-card {
  min-width: 0;
  color: #fff;
  background: linear-gradient(180deg, #171e25, #11171d);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: contain;
  background: #171c21;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-card :where(h3, .amet-product-card__title) {
  color: #fff;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-card .price,
body.amet-customer-v1.amet-v1-home #amethome .amet-product-card__price {
  color: #ff6a13;
  font-weight: 900;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-card .button,
body.amet-customer-v1.amet-v1-home #amethome .amet-product-card__link {
  color: #fff !important;
  background: transparent !important;
  border: 1px solid #ff6a13 !important;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-footcta {
  padding: 0;
  background:
    linear-gradient(90deg, #6e2500, #c74700 45%, #4a1700),
    #8b2f00;
  border-top: 2px solid #ff6a13;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-footcta__actions {
  display: flex;
  min-height: 124px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-footcta__actions > div {
  display: flex;
  align-items: center;
  gap: 22px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-footcta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.2;
}

.amet-v2-help-icon {
  color: #ff7a1a;
  font-size: 70px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-footcta .amet-btn {
  min-width: 360px;
  min-height: 56px;
  color: #fff;
  background: #101820;
  border: 2px solid #ff6a13;
  border-radius: 8px;
}

.amet-v2-video-preview {
  padding: 28px 0 38px;
  color: #17191d;
  background: #faf7f2;
}

.amet-v2-video-preview h2 {
  margin: 0 0 22px;
  text-align: center;
}

.amet-v2-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.amet-v2-video-grid a {
  display: grid;
  min-height: 280px;
  align-content: end;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 7, 9, .05), rgba(5, 7, 9, .88)),
    url("../images/amet-garage-hero-v2.png") center / cover no-repeat;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.amet-v2-video-grid a:nth-child(2) {
  background-position: 75% center;
}

.amet-v2-video-play {
  display: grid;
  width: 64px;
  height: 64px;
  align-self: center;
  justify-self: center;
  margin-bottom: 45px;
  color: #fff;
  background: #ff2b23;
  border-radius: 50%;
  place-items: center;
}

.amet-v2-video-grid strong {
  font-size: 20px;
}

.amet-v2-video-grid small {
  color: #d6d8da;
}

.amet-v2-youtube-link {
  display: table;
  margin: 20px auto 0;
  padding: 10px 18px;
  color: #fff;
  background: #ff5e0d;
  border-radius: 6px;
  font-weight: 800;
}

@media (max-width: 1023px) {
  body.amet-customer-v1.amet-v1-home #amethome .amet-hero {
    background-position: 64% center;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-product-rail,
  body.amet-customer-v1.amet-v1-home #amethome .amet-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.amet-customer-v1.amet-v1-home #amethome .amet-section__inner,
  body.amet-customer-v1.amet-v1-home #amethome .amet-hero__inner {
    width: min(calc(100% - 30px), var(--amet-home-max));
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-hero {
    min-height: 620px;
    align-items: end;
    padding: 210px 0 54px;
    background:
      linear-gradient(180deg, rgba(3, 5, 7, .12), rgba(3, 5, 7, .96) 64%),
      url("../images/amet-garage-hero-v2.png") 71% top / auto 65% no-repeat,
      #06090c;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-hero__title {
    font-size: clamp(44px, 13vw, 62px);
  }

  .amet-v2-hero-actions,
  body.amet-customer-v1.amet-v1-home #amethome .amet-footcta__actions,
  body.amet-customer-v1.amet-v1-home #amethome .amet-footcta__actions > div {
    align-items: stretch;
    flex-direction: column;
  }

  .amet-v2-hero-actions .amet-btn,
  body.amet-customer-v1.amet-v1-home #amethome .amet-footcta .amet-btn {
    width: 100%;
    min-width: 0;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-journey__grid,
  body.amet-customer-v1.amet-v1-home #amethome .amet-journey__trust,
  body.amet-customer-v1.amet-v1-home #amethome .amet-steps__list,
  .amet-v2-video-grid {
    grid-template-columns: 1fr;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-journey__link {
    min-height: 150px;
    grid-template-columns: 64px 1fr auto;
    padding: 20px;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-journey__icon {
    width: 58px;
    height: 58px;
    font-size: 36px;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-journey__trust-item,
  body.amet-customer-v1.amet-v1-home #amethome .amet-steps__item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__inner {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__inner::before {
    display: none;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__title,
  body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__intro,
  body.amet-customer-v1.amet-v1-home #amethome .amet-checker__mount {
    grid-column: 1;
  }

  body.amet-customer-v1.amet-v1-home #amet-check .amet-dtc {
    grid-template-columns: 1fr;
  }

  body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-out {
    grid-column: auto;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-footcta__actions {
    min-height: 0;
    padding: 28px 0;
  }
}

@media (max-width: 520px) {
  body.amet-customer-v1.amet-v1-home #amethome .amet-product-rail,
  body.amet-customer-v1.amet-v1-home #amethome .amet-categories__grid {
    grid-template-columns: 1fr;
  }
}

/* V0.3.1 homepage refinements: compact paths, clear steps, visual categories and complete product rails. */
body.amet-customer-v1.amet-v1-home #amethome .amet-journey {
  padding: 24px 0 22px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__head {
  margin-bottom: 12px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__grid {
  gap: 18px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__link {
  min-height: 126px;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 20px 24px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__icon {
  width: 64px;
  height: 64px;
  grid-row: 1 / span 2;
  font-size: 38px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__item-title {
  grid-column: 2;
  margin-bottom: 4px;
  font-size: 24px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__text {
  grid-column: 2;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-journey__cta,
body.amet-customer-v1.amet-v1-home #amethome .amet-journey__trust {
  display: none !important;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker__disclaimer {
  grid-column: 2;
  margin: 14px 0 0;
  color: #aeb6bf;
  white-space: nowrap;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps__list {
  gap: 16px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps__item,
body.amet-customer-v1.amet-v1-home #amethome .amet-steps__item:last-child {
  min-height: 88px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 9px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-steps__text {
  color: #9099a3;
  font-size: 14px;
  white-space: nowrap;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories__link {
  min-height: 210px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 112px auto;
  grid-auto-flow: row;
  align-content: center;
  align-items: center;
  justify-items: center;
  column-gap: 0;
  row-gap: 12px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories__link::before {
  content: "";
  grid-row: 1;
  width: 118px;
  height: 104px;
  margin: 0;
  background: url("../images/amet-category-line-icons-v1.png") 0 0 / 200% 200% no-repeat;
  mix-blend-mode: multiply;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories__name {
  grid-row: 2;
  align-self: start;
  line-height: 1.35;
  text-align: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-categories__item:nth-child(2) .amet-categories__link::before {
  background-position: 100% 0;
  /* The upper-right sprite cell contains a stray line at its left boundary. */
  clip-path: inset(0 0 0 10px);
  transform: translateX(-5px);
}
body.amet-customer-v1.amet-v1-home #amethome .amet-categories__item:nth-child(3) .amet-categories__link::before { background-position: 0 100%; }
body.amet-customer-v1.amet-v1-home #amethome .amet-categories__item:nth-child(4) .amet-categories__link::before {
  background: url("../images/amet-category-accessories-line-v1.svg") center / contain no-repeat;
}
body.amet-customer-v1.amet-v1-home #amethome .amet-categories__item:nth-child(5) .amet-categories__link::before { background-position: 100% 100%; }

body.amet-customer-v1.amet-v1-home #amethome .amet-products .amet-section__inner::before {
  content: none;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-products__categories > .amet-product-category,
body.amet-customer-v1.amet-v1-home #amethome .amet-products__categories > .amet-product-category:not(.amet-product-category--group),
body.amet-customer-v1.amet-v1-home #amethome .amet-product-category--group > .amet-product-category__head {
  display: block !important;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category--group .amet-product-category__subrails {
  display: none !important;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category,
body.amet-customer-v1.amet-v1-home #amethome .amet-product-category--group {
  margin: 0 0 34px;
  padding: 0 0 34px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__head,
body.amet-customer-v1.amet-v1-home #amethome .amet-product-category--group > .amet-product-category__head {
  display: flex !important;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__title {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 2.4vw, 34px);
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__meta {
  margin: 4px 0 0;
  color: #9da6b0;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__nav {
  display: grid;
  width: 42px;
  min-height: 42px;
  padding: 0;
  color: #fff;
  background: #151d25;
  border: 1px solid rgba(255, 106, 19, .7);
  border-radius: 50%;
  font-size: 26px;
  place-items: center;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__nav:disabled {
  color: #66717b;
  border-color: rgba(255, 255, 255, .14);
  cursor: not-allowed;
  opacity: .65;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__all {
  margin-left: 6px;
  color: #ff8a45;
  white-space: nowrap;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__subcats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 14px 0 0;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__subcats-label {
  flex: 0 0 auto;
  margin-right: 8px;
  color: #fff;
  font-weight: 800;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__subcat {
  flex: 0 0 auto;
  padding: 8px 13px;
  color: #d8dde2;
  background: #151c23;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #ff6a13 #151c23;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-card {
  min-width: calc((100% - 66px) / 4);
  flex: 0 0 calc((100% - 66px) / 4);
  scroll-snap-align: start;
}

.amet-v2-video-grid {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

@media (max-width: 1023px) {
  body.amet-customer-v1.amet-v1-home #amethome .amet-product-card {
    min-width: calc((100% - 22px) / 2);
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 767px) {
  body.amet-customer-v1.amet-v1-home #amethome .amet-journey__link {
    min-height: 112px;
    grid-template-columns: 54px 1fr;
    padding: 16px;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-checker__disclaimer {
    grid-column: 1;
    white-space: normal;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-steps__text {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  body.amet-customer-v1.amet-v1-home #amethome .amet-product-card {
    min-width: 86%;
    flex-basis: 86%;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__head,
  body.amet-customer-v1.amet-v1-home #amethome .amet-product-category--group > .amet-product-category__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

/* V0.3.4: align the single-field DTC checker and keep its safety copy inside the frame. */
body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__inner {
  grid-template-columns: 150px minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 6px;
  padding: 26px 30px 22px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__inner::before {
  grid-row: 1 / span 3;
  font-size: 86px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__title {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.22;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__intro {
  margin: 3px 0 12px;
  font-size: 15px;
  line-height: 1.5;
}

body.amet-customer-v1.amet-v1-home #amet-check .amet-dtc > div:first-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-code {
  grid-column: auto !important;
  padding: 0 18px !important;
  font-size: 16px;
  line-height: 1.4;
}

body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-code::placeholder {
  color: #b8c0c8 !important;
  opacity: 1;
}

body.amet-customer-v1.amet-v1-home #amet-check #amet-dtc-go {
  padding: 0 18px !important;
  line-height: 1.35;
  white-space: normal;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-checker__disclaimer {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 767px) {
  body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__inner {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__title,
  body.amet-customer-v1.amet-v1-home #amethome .amet-checker .amet-section__intro,
  body.amet-customer-v1.amet-v1-home #amethome .amet-checker__mount,
  body.amet-customer-v1.amet-v1-home #amethome .amet-checker__disclaimer {
    grid-column: 1;
  }

  body.amet-customer-v1.amet-v1-home #amethome .amet-checker__disclaimer {
    text-align: left;
    white-space: normal;
  }
}

/* V0.3.25: contain verified tablet copy without changing desktop single-line layout. */
@media (max-width: 1023px) {
  body.amet-customer-v1.amet-v1-home #amethome .amet-checker__disclaimer,
  body.amet-customer-v1.amet-v1-home #amethome .amet-steps__text {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
