/* ATC Home 2026 — scoped to the homepage; shared theme styles remain intact. */
body.atc-home-v2 { background: #fff; }
body.atc-home-v2 .topnav,
body.atc-home-v2 .banner-top {
  box-sizing: border-box;
  max-width: 100%;
}
body.atc-home-v2 .banner-top {
  overflow-x: auto;
}
.atc-home {
  /* Same family as Search's final hero, brand directory and result cards. */
  --atc-ink: #17212f;
  --atc-muted: #586476;
  --atc-yellow: #ffb33b;
  --atc-yellow-dark: #ff9800;
  --atc-red: #9e050f;
  --atc-line: #dce1e8;
  --atc-soft: #f7f8fa;
  --atc-radius: 12px;
  --atc-width: var(--atc-shell-width, 1320px);
  clear: both;
  width: 100%;
  color: var(--atc-ink);
  background: #fff;
  font-family: 'Kanit', Tahoma, Geneva, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}
.atc-home *,
.atc-home *::before,
.atc-home *::after { box-sizing: border-box; }
.atc-home [hidden] { display: none !important; }
.atc-home h1,
.atc-home h2,
.atc-home h3,
.atc-home p { margin: 0; padding: 0; font-family: inherit; font-style: normal; }
.atc-home h1,
.atc-home h2,
.atc-home h3 { color: var(--atc-ink); font-weight: 700; }
.atc-home h1 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.3; letter-spacing: -.3px; }
.atc-home h2 { font-size: 25px; line-height: 1.45; letter-spacing: -.25px; }
.atc-home h3 { font-size: 20px; line-height: 1.45; }
.atc-home a,
.atc-home a:link,
.atc-home a:visited { color: inherit; text-decoration: none; }
.atc-home a:hover { color: inherit; text-decoration: none; }
.atc-home button,
.atc-home input,
.atc-home select { font: inherit; }
.atc-home button { cursor: pointer; }
.atc-home button:disabled { cursor: not-allowed; }
.atc-home img { display: block; max-width: 100%; height: auto; }
.atc-home a:focus-visible,
.atc-home button:focus-visible,
.atc-home summary:focus-visible {
  outline: 3px solid #2155ab;
  outline-offset: 4px;
}
.atc-home select:focus-visible,
.atc-home input:focus-visible {
  outline: 3px solid #2155ab;
  outline-offset: 2px;
}
.atc-home .atc-home-wrap { width: min(var(--atc-width), calc(100% - var(--atc-shell-gutter, 24px) * 2)); margin: 0 auto; }
.atc-home .atc-home-muted { color: var(--atc-muted); }
.atc-home .atc-home-site-intro { padding-top: 22px; padding-bottom: 4px; color: #59636f; font-size: 14px; line-height: 1.8; }
.atc-home .atc-home-site-intro a { color: #8a5706; text-decoration: underline; text-underline-offset: 3px; }
.atc-home .atc-home-link,
.atc-home .atc-home-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: #394550;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}
.atc-home .atc-home-link:hover { color: #9d6400; text-decoration: underline; }
.atc-home .atc-home-button,
.atc-home a.atc-home-button,
.atc-home a.atc-home-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #ffb43b;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffb33b, #ff9800);
  color: #171717;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.atc-home .atc-home-button:hover { background: linear-gradient(180deg, #ffc05d, #ffa51d); box-shadow: 0 4px 12px #b7891b24; }
.atc-home .atc-home-button:active { transform: translateY(1px); }
.atc-home .atc-home-button:disabled { background: #e8ecef; color: #727b82; box-shadow: none; }
.atc-home .atc-home-button--secondary { background: #fff; border-color: var(--atc-line); }
.atc-home .atc-home-button--secondary:hover { background: #f6f7f8; box-shadow: none; }
.atc-home .atc-home-button-outline,
.atc-home a.atc-home-button-outline:visited { border-color: #dce2e7; background: #fff; color: #38444e; }
.atc-home .atc-home-button-outline:hover { border-color: #a70512; background: #fff4f5; color: #7e020a; box-shadow: none; }
.atc-home .atc-home-text-button { display: inline; margin: 0; padding: 0; border: 0; background: transparent; color: #6c5317; font: inherit; line-height: inherit; text-decoration: underline; text-underline-offset: 3px; }
.atc-home .atc-home-text-button:hover { color: #9d6400; }

/* Four service destinations; tire search keeps the primary position. */
.atc-home .atc-home-hero {
  position: relative;
  padding: 18px 0 0;
  background: #fff;
}
.atc-home .atc-home-hero > .atc-home-wrap {
  padding: 26px 24px 24px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: radial-gradient(circle at 88% 10%, rgba(255, 145, 0, .28), transparent 32%), linear-gradient(135deg, #111827 0%, #18181b 58%, #2c190a 100%);
  box-shadow: 0 12px 28px rgba(17, 24, 39, .14);
}
.atc-home .atc-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 225px;
  padding: 0 0 24px;
}
.atc-home .atc-home-intro { position: relative; z-index: 2; min-width: 0; }
.atc-home .atc-home-eyebrow,
.atc-home .atc-home-intro > .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: #9b5d00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.7px;
  line-height: 1.5;
  text-transform: uppercase;
}
.atc-home .atc-home-eyebrow::before,
.atc-home .atc-home-intro > .eyebrow::before {
  content: '';
  width: 23px;
  height: 3px;
  border-radius: 3px;
  background: var(--atc-yellow);
}
.atc-home .atc-home-intro h1 { max-width: 720px; color: #fff; }
.atc-home .atc-home-intro h1 > span { display: block; }
.atc-home .atc-home-intro > p { max-width: 630px; margin-top: 14px; color: #e2e8f0; font-size: 16px; }
.atc-home .atc-home-intro > p.atc-home-eyebrow { margin: 0 0 10px; color: #ffb43b; font-size: 12px; letter-spacing: 1px; }
.atc-home .atc-home-intro > .atc-home-eyebrow > span { display: none; }
.atc-home .atc-home-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; }
.atc-home .atc-home-steps > span { display: inline-flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: 13px; }
.atc-home .atc-home-steps b {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  background: #ffffff0a;
  color: #ffb43b;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
}
.atc-home .atc-home-hero-art { position: relative; min-height: 205px; align-self: center; }
.atc-home .atc-home-tire {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 0;
  left: 50%;
  border: 12px solid #22292e;
  border-radius: 50%;
  background:
    radial-gradient(circle, #17191d 0 33%, #969fa4 33% 34%, #31393f 34% 41%, transparent 41% 43%, #2b3238 43% 48%, transparent 48%),
    repeating-conic-gradient(from -12deg, #343d44 0deg 4deg, #1c2328 4deg 12deg);
  box-shadow: inset 0 0 0 4px #505a60, inset 0 0 0 11px #171d22, 19px 20px 30px #25333f1c;
  transform: translateX(-50%) rotate(-14deg);
}
.atc-home .atc-home-hero-art::after {
  content: '';
  position: absolute;
  width: 245px;
  height: 245px;
  top: -24px;
  left: 50%;
  border: 1px solid #ffb43b55;
  border-left-color: transparent;
  border-radius: 50%;
  transform: translateX(-50%) rotate(-35deg);
  pointer-events: none;
}
.atc-home .atc-home-art-caption {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 65%;
  width: 176px;
  max-width: 95%;
  padding: 13px 18px;
  border: 1px solid #e6e9ec;
  border-radius: 9px;
  background: #ffffffed;
  box-shadow: 0 8px 25px #00000026;
  color: #35414a;
  font-size: 13px;
  text-align: left;
  transform: translateX(-50%);
}
.atc-home .atc-home-art-caption > span { display: block; margin-bottom: 6px; color: #8c7841; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.atc-home .atc-home-art-caption > strong { display: block; color: #2d3942; font-size: 20px; font-weight: 700; line-height: 1.45; }
.atc-home .atc-home-service-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.atc-home .atc-home-service-nav-item,
.atc-home .atc-home-service-nav-item:visited { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-content: center; align-items: center; column-gap: 10px; row-gap: 2px; min-width: 0; min-height: 83px; padding: 12px 14px; border: 1px solid #ffffff42; border-radius: 9px; background: #ffffff09; color: #fff; transition: border-color .15s ease, background .15s ease; }
.atc-home .atc-home-service-nav-item > .atc-home-service-icon { grid-column: 1; grid-row: 1 / 3; }
.atc-home .atc-home-service-icon { display: block; width: 30px; height: 30px; flex: 0 0 30px; color: currentColor; }
.atc-home .atc-home-service-nav-item strong { grid-column: 2; min-width: 0; font-size: 17px; font-weight: 600; line-height: 1.4; }
.atc-home .atc-home-service-nav-item small { grid-column: 2; color: #d6dce5; font-size: 12px; line-height: 1.5; }
.atc-home .atc-home-service-nav-item.is-primary { border-color: #ffb43b; background: #fff5df; color: #241900; }
.atc-home .atc-home-service-nav-item.is-primary small { color: #765111; }
.atc-home .atc-home-service-nav-item:hover { border-color: #ffb43b; background: #ffffff17; color: #fff; }
.atc-home .atc-home-service-nav-item.is-primary:hover { background: #ffe9b7; color: #241900; }
.atc-home .atc-home-service-nav-item:focus-visible { outline-color: #ffb43b; }
.atc-home .atc-home-finder {
  position: relative;
  z-index: 3;
  width: min(var(--atc-width), calc(100% - var(--atc-shell-gutter, 24px) * 2));
  margin: 0 auto;
  border: 1px solid #dfe5e9;
  border-radius: var(--atc-radius);
  background: #fff;
  box-shadow: 0 3px 12px #00000016;
  scroll-margin-top: 85px;
}
.atc-home .atc-home-wrap > .atc-home-finder { width: 100%; }
.atc-home .atc-home-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 7px; gap: 6px; border-bottom: 1px solid var(--atc-line); border-radius: 12px 12px 0 0; background: #f7f8fa; }
.atc-home .atc-home-tabs > button {
  position: relative;
  min-height: 52px;
  padding: 11px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #66717b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  transition: background .15s ease, color .15s ease;
}
.atc-home .atc-home-tabs > button:hover { background: #f6f7f9; color: var(--atc-ink); }
.atc-home .atc-home-tabs > button[aria-selected='true'] { border-color: var(--atc-red); background: var(--atc-red); color: #fff; font-weight: 700; }
.atc-home .atc-home-panel { padding: 24px 28px 20px; }
.atc-home .atc-home-panel > .panel-intro,
.atc-home .atc-home-panel > .atc-home-panel-intro { margin: 0 0 16px; color: #5b6771; font-size: 14px; }
.atc-home .atc-home-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(140px, .75fr); align-items: end; gap: 14px; }
.atc-home .atc-home-fields > * { min-width: 0; }
.atc-home .atc-home-fields-brand { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(160px, .6fr); }
.atc-home .atc-home-fields label { display: block; color: #414d57; font-size: 13px; line-height: 1.5; }
.atc-home .atc-home-fields label > small { margin-left: 5px; color: #929ba2; font-size: 11px; }
.atc-home .atc-home-fields label > span { display: block; margin-bottom: 7px; }
.atc-home .atc-home-fields select,
.atc-home .atc-home-fields input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 50px;
  margin: 7px 0 0;
  padding: 9px 12px;
  border: 1px solid #c8a46b;
  border-radius: 7px;
  background-color: #fff;
  color: #222d35;
  font-size: 16px;
  line-height: 1.5;
}
.atc-home .atc-home-fields select:disabled { border-color: #e2e7eb; background-color: #f5f7f8; color: #89929a; cursor: not-allowed; opacity: 1; }
.atc-home .atc-home-fields input[type='hidden'] { display: none !important; }
.atc-home .atc-home-fields .atc-home-button { width: 100%; min-height: 50px; }
.atc-home .atc-home-error { margin-top: 12px; padding: 9px 12px; border-left: 3px solid #ac3737; border-radius: 5px; background: #fff3f3; color: #932626; font-size: 14px; }
.atc-home .atc-home-error:empty { display: none; }
.atc-home .atc-home-help { margin-top: 15px; color: #68747d; font-size: 13px; }
.atc-home .atc-home-help summary { width: fit-content; padding: 6px 0; color: #5b6570; cursor: pointer; text-underline-offset: 3px; }
.atc-home .atc-home-help summary:hover { color: #8d6416; text-decoration: underline; }
.atc-home .atc-home-help[open] { padding-bottom: 8px; }
.atc-home .atc-home-help[open] summary { margin-bottom: 5px; }
.atc-home .atc-home-help p { max-width: 800px; }
.atc-home .atc-home-panel > .atc-home-muted { margin-top: 12px; font-size: 12px; line-height: 1.7; }
.atc-home .atc-home-panel > .atc-home-muted + .atc-home-muted { margin-top: 4px; }
.atc-home .atc-home-panel > .atc-home-muted a { color: #705719; text-decoration: underline; text-underline-offset: 3px; }
.atc-home .atc-home-finder > .atc-home-error { margin: 0 28px 16px; }
.atc-home .atc-home-finder > noscript > p { padding: 14px 28px; font-size: 13px; }
.atc-home .atc-home-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #edf0f2; font-size: 12px; }
.atc-home .atc-home-finder > .atc-home-popular { margin: 0; padding: 13px 28px 16px; }
.atc-home .atc-home-finder > .atc-home-popular > .atc-home-link { margin-left: auto; border: 0; background: transparent; font-size: 12px; }
.atc-home .atc-home-popular > span,
.atc-home .atc-home-popular > strong { margin-right: 3px; color: #78838b; font-weight: 400; }
.atc-home .atc-home-popular a { min-height: 33px; padding: 5px 11px; border: 1px solid #e5e9ec; border-radius: 7px; background: #f8fafb; color: #4a5660; }
.atc-home .atc-home-popular a:hover { border-color: #d6b956; background: #fff9e8; }

/* Discovery, brands and commercial content use the same page rhythm. */
.atc-home .atc-home-section { padding: 34px 0; }
.atc-home .atc-home-section + .atc-home-section { border-top: 1px solid #edf0f2; }
.atc-home .atc-home-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 20px; }
.atc-home .atc-home-section-head > * { min-width: 0; }
.atc-home .atc-home-section-head p { margin-top: 5px; color: var(--atc-muted); font-size: 14px; }
.atc-home .atc-home-section-head p.atc-home-eyebrow { margin: 0 0 6px; color: #9b5d00; font-size: 11px; letter-spacing: .7px; }
.atc-home .atc-home-section-head > a { flex-shrink: 0; font-size: 14px; }
.atc-home .atc-home-brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 12px; border: 1px solid #e1e5eb; border-top: 2px solid #f4a000; border-radius: 10px; background: #f7f8fa; }
.atc-home .atc-home-brand-grid > a {
  display: flex;
  min-width: 0;
  min-height: 83px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid var(--atc-line);
  border-radius: 7px;
  background: #fff;
  color: #17212f;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.atc-home .atc-home-brand-grid > a:hover { border-color: #ce8610; background: #fffcf6; }
.atc-home .atc-home-brand-grid img { width: 110px; height: 30px; object-fit: contain; }
.atc-home .atc-home-brand-grid span { text-align: center; overflow-wrap: anywhere; }
.atc-home .atc-home-more { margin-top: 18px; }
.atc-home .atc-home-more > summary { width: fit-content; margin: 0 auto; padding: 8px 16px; color: #64707a; font-size: 14px; cursor: pointer; }
.atc-home .atc-home-more[open] > summary { margin-bottom: 15px; }
.atc-home .atc-home-more .atc-home-brand-grid { margin-top: 12px; }
.atc-home .atc-home-partner { background: #fff9e9; border-top-color: #ead7a8; border-bottom: 1px solid #ead7a8; }
.atc-home .atc-home-offers-section .atc-home-section-head { padding: 18px 20px; border-radius: 10px; background: linear-gradient(135deg, #9e050f, #650309); color: #fff; }
.atc-home .atc-home-offers-section .atc-home-section-head h2,
.atc-home .atc-home-offers-section .atc-home-section-head .atc-home-link { color: #fff; }
.atc-home .atc-home-offers-section .atc-home-section-head p { color: #f3d9dc; }
.atc-home .atc-home-offers-section .atc-home-section-head p.atc-home-eyebrow { color: #ffd080; }
.atc-home .atc-home-offers-section .atc-home-section-head a:focus-visible { outline-color: #fff; }
.atc-home .atc-home-offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.atc-home .atc-home-offer { display: flex; min-width: 0; flex-direction: column; border: 1px solid #d8bd7d; border-top: 3px solid #b78318; border-radius: 7px; background: #fff; box-shadow: 0 2px 7px #00000008; transition: box-shadow .18s ease, border-color .18s ease; }
.atc-home .atc-home-offer:hover { border-color: #cfb864; box-shadow: 0 8px 23px #2738480d; }
.atc-home .atc-home-product-link { display: block; min-width: 0; border-radius: 7px 7px 0 0; }
.atc-home .atc-home-product-photo { display: flex; align-items: center; justify-content: center; height: 165px; margin: 10px 12px 0; border-radius: 5px; background: #fff; }
.atc-home .atc-home-product-photo img { width: 100%; height: 100%; padding: 15px 25px; object-fit: contain; }
.atc-home .atc-home-image-placeholder { display: grid; place-items: center; width: 90px; height: 90px; border: 13px solid #e0e5e8; border-radius: 50%; color: #a3adb4; font-size: 17px; font-weight: 700; letter-spacing: -1px; }
.atc-home .atc-home-product-photo.atc-home-image-missing::after { content: 'ATC'; display: grid; place-items: center; width: 90px; height: 90px; border: 13px solid #e0e5e8; border-radius: 50%; color: #7b8790; font-size: 17px; font-weight: 700; }
.atc-home .atc-home-product-body { padding: 16px 18px 17px; }
.atc-home .atc-home-brand-label { color: #333; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .4px; text-transform: uppercase; }
.atc-home .atc-home-product-body h3 { margin-top: 5px; min-height: 50px; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.atc-home .atc-home-size { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 4px; background: #f7f8fa; color: #197b30; font-size: 14px; line-height: 1.5; }
.atc-home .atc-home-eco { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 12px 12px; border: 1px solid #e4e8e1; border-radius: 4px; background: #f8faf5; color: #53614d; }
.atc-home .atc-home-eco > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; padding: 7px 4px; font-size: 11px; line-height: 1.45; text-align: center; }
.atc-home .atc-home-eco > span + span { border-left: 1px solid #e4e8e1; }
.atc-home .atc-home-eco > .atc-home-eco-title { grid-column: 1 / -1; padding: 5px; border-bottom: 1px solid #e4e8e1; color: #53614d; font-size: 10px; font-weight: 600; }
.atc-home .atc-home-eco > .atc-home-eco-title + span { border-left: 0; }
.atc-home .atc-home-eco strong { color: #197b30; font-family: Arial, sans-serif; font-size: 16px; font-weight: 700; }
.atc-home .atc-home-eco--empty { display: block; padding: 10px; border-style: dashed; background: #fafafa; color: #777; font-size: 12px; text-align: center; }
.atc-home .atc-home-offer-kind { display: inline-flex; align-self: flex-start; width: fit-content; margin: 0; padding: 3px 8px; border-radius: 4px; background: #197b30; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.5; }
.atc-home .atc-home-offer-bottom { display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 10px; margin: 0 18px; padding: 15px 0 18px; border-top: 1px solid #edf0f2; }
.atc-home .atc-home-offer-bottom .dealer,
.atc-home .atc-home-dealer { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #6b4a08; font-size: 12px; line-height: 1.5; }
.atc-home .atc-home-offer-bottom .dealer img,
.atc-home .atc-home-dealer img { width: auto; max-width: 98px; height: 24px; object-fit: contain; }
.atc-home .atc-home-dealer-logo { display: block; width: auto; max-width: 98px; height: 24px; object-fit: contain; }
.atc-home .atc-home-offer-bottom .price,
.atc-home .atc-home-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin-top: auto; line-height: 1.4; }
.atc-home .atc-home-offer-bottom .price strong,
.atc-home .atc-home-price strong { color: #b3261e; font-size: 27px; font-weight: 700; letter-spacing: -.5px; }
.atc-home .atc-home-offer-bottom .price small,
.atc-home .atc-home-price small { color: #7a858d; font-size: 12px; }
.atc-home .atc-home-offer-bottom a.atc-home-button,
.atc-home .atc-home-offer-bottom a.atc-home-button:visited { min-height: 44px; padding: 8px 10px; border-color: #b78318; border-radius: 5px; background: linear-gradient(to bottom, #303030, #151515); color: #f7d887; font-size: 14px; }
.atc-home .atc-home-offer-bottom a.atc-home-button:hover { background: #393939; color: #ffe7a7; }
/* Dealer keys select the established colors; text carries the identity too. */
.atc-home .atc-home-offer--tirebids { border-color: #d7a2a6; border-top-color: #a70512; }
.atc-home .atc-home-offer--tirebids .atc-home-dealer { color: #7e020a; }
.atc-home .atc-home-offer--tirebids .atc-home-offer-kind { background: #a70512; }
.atc-home .atc-home-offer--tirebids .atc-home-offer-bottom a.atc-home-button,
.atc-home .atc-home-offer--tirebids .atc-home-offer-bottom a.atc-home-button:visited { border-color: #7e020a; background: linear-gradient(to bottom, #b40817, #7e020a); color: #fff; }
.atc-home .atc-home-offer--tirebids .atc-home-offer-bottom a.atc-home-button:hover { background: #960510; }
.atc-home .atc-home-offer--mega_euro { border-color: #d8bd7d; border-top-color: #b78318; }
.atc-home .atc-home-offer--mega_euro .atc-home-offer-kind { background: #252525; color: #f3cf72; }
.atc-home .atc-home-offer--hub4tyre { border-color: #9fd2b5; border-top-color: #08743d; }
.atc-home .atc-home-offer--hub4tyre .atc-home-dealer { color: #075c32; }
.atc-home .atc-home-offer--hub4tyre .atc-home-offer-kind { background: #08743d; }
.atc-home .atc-home-offer--hub4tyre .atc-home-offer-bottom a.atc-home-button,
.atc-home .atc-home-offer--hub4tyre .atc-home-offer-bottom a.atc-home-button:visited { border-color: #075c32; background: linear-gradient(to bottom, #0a8a49, #075c32); color: #fff; }
.atc-home .atc-home-offer--hub4tyre .atc-home-offer-bottom a.atc-home-button:hover { background: #08743d; }
.atc-home .atc-home-offer-grid + .atc-home-muted { margin-top: 15px; color: #899299; font-size: 12px; }
.atc-home .atc-home-discover-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.atc-home .atc-home-discover-grid > a { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-width: 0; min-height: 135px; padding: 20px; border: 1px solid #e1e5eb; border-radius: 10px; background: #f7f8fa; color: #17212f; font-size: 17px; font-weight: 700; transition: border-color .18s ease, background .18s ease; }
.atc-home .atc-home-discover-grid > a:hover { border-color: #dcc56e; background: #fff9e5; }
.atc-home .atc-home-discover-grid > a > span { color: #75818a; font-size: 13px; font-weight: 400; }
.atc-home .atc-home-discover-grid > a > span:first-child:not(:last-child) { display: inline-block; padding: 2px 7px; border-radius: 4px; background: #e9eef1; color: #596772; font-size: 11px; letter-spacing: .5px; }
.atc-home .atc-home-discover-grid h3 { font-size: 19px; }
.atc-home .atc-home-discover-grid p { color: #7b858d; font-size: 12px; font-weight: 400; line-height: 1.7; }
.atc-home .atc-home-discover-grid > a > .atc-home-discover-mark:first-child { min-width: 39px; padding: 5px 8px; margin-bottom: 5px; border: 1px solid #e4dbc0; border-radius: 7px; background: #fff5d7; color: #83703b; font-size: 12px; font-weight: 700; text-align: center; }
.atc-home .atc-home-discover-grid > a > .atc-home-link { min-height: 0; margin-top: 5px; font-size: 12px; }
.atc-home .atc-home-editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.atc-home .atc-home-editorial-grid > article { min-width: 0; }
.atc-home .atc-home-editorial-grid > article > a { display: block; }
.atc-home .atc-home-editorial-grid img { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: #eef1f3; object-fit: cover; }
.atc-home .atc-home-editorial-grid h3 { margin-top: 15px; font-size: 19px; line-height: 1.55; }
.atc-home .atc-home-editorial-grid a:hover h3 { color: #996400; }
.atc-home .atc-home-editorial-grid p { margin-top: 9px; color: #78828b; font-size: 13px; }
.atc-home .atc-home-editorial-grid time,
.atc-home .atc-home-editorial-grid .date { display: block; margin-top: 10px; color: #9099a0; font-size: 12px; }

/* The secondary services keep their own destinations, without extra forms. */
.atc-home .atc-home-related-services { background: #f7f8fa; }
.atc-home .atc-home-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.atc-home .atc-home-related-grid > a { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; min-width: 0; padding: 23px; border: 1px solid #dce1e8; border-top: 3px solid #9e050f; border-radius: 9px; background: #fff; color: #17212f; }
.atc-home .atc-home-related-grid > a > svg { width: 38px; height: 38px; color: #9e050f; }
.atc-home .atc-home-related-grid h3 { font-size: 21px; }
.atc-home .atc-home-related-grid p { max-width: 100%; color: #586476; font-size: 14px; }
.atc-home .atc-home-related-grid > a > span:last-child { display: inline-flex; align-items: center; min-height: 40px; margin-top: auto; padding-top: 5px; color: #8b0610; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.atc-home .atc-home-related-grid > a:hover { border-color: #b78318; box-shadow: 0 5px 14px #00000008; }
.atc-home .atc-home-rank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.atc-home .atc-home-rank-grid > * { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; margin: 0; padding: 20px; border: 1px solid #e4ccd3; border-top: 3px solid #a52451; border-radius: 9px; background: #fff8fa; color: #17212f; }
.atc-home .atc-home-rank-grid > :nth-child(2) { border-color: #e4d4ae; border-top-color: #b78318; background: #fffaf0; }
.atc-home .atc-home-rank-grid h3 { font-size: 20px; }
.atc-home .atc-home-rank-grid p { margin-top: 7px; color: #586476; font-size: 14px; }
.atc-home .atc-home-rank-grid .atc-home-link { margin-top: 8px; }
.atc-home .atc-home-rank-grid .atc-home-popular { width: 100%; margin-top: auto; padding-top: 14px; border: 0; gap: 7px; }
.atc-home .atc-home-rank-grid .atc-home-popular a { min-height: 40px; padding: 8px 10px; background: #fff; font-size: 13px; }
.atc-home .atc-home-rank-grid .atc-home-popular > span { flex-basis: 100%; font-size: 12px; }
.atc-home .atc-home-rank-grid > a:hover { border-color: #b78318; }
.atc-home .atc-home-car-to-tire { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding: 18px 20px; border: 1px solid #dce1e8; border-radius: 9px; background: #f7f8fa; }
.atc-home .atc-home-car-to-tire p { flex: 1; min-width: 0; color: #586476; font-size: 14px; }
.atc-home .atc-home-car-to-tire p > strong { display: block; margin-bottom: 3px; color: #17212f; font-size: 17px; }
.atc-home .atc-home-car-to-tire > .atc-home-button { flex: 0 0 auto; min-height: 44px; font-size: 14px; }
.atc-home .atc-home-car-articles-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #e1e5eb; color: #586476; font-size: 13px; }
.atc-home .atc-home-car-articles-links > span,
.atc-home .atc-home-car-articles-links > strong { flex-basis: 100%; color: #17212f; font-weight: 600; }
.atc-home .atc-home-car-articles-links > a { display: inline-block; max-width: 100%; min-height: 36px; padding: 6px 0; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: break-word; }
.atc-home .atc-home-car-articles-links > a:hover { color: #9e050f; }

/* Separate live services from the clearly labelled profile preview. */
.atc-home .atc-home-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.atc-home .atc-home-service-grid > * { position: relative; min-width: 0; padding: 28px; border-radius: 12px; }
.atc-home .atc-home-service-grid h2 { font-size: 25px; }
.atc-home .atc-home-service-grid p { max-width: 460px; margin-top: 11px; font-size: 14px; line-height: 1.8; }
.atc-home .atc-home-service-grid .atc-home-button,
.atc-home .atc-home-service-grid .atc-home-link { margin-top: 20px; }
.atc-home .atc-home-direct { border: 1px solid #252525; background: #18181b; color: #fff; }
.atc-home .atc-home-direct h2 { color: #fff; }
.atc-home .atc-home-direct p { color: #c6cfd5; }
.atc-home .atc-home-direct p.atc-home-eyebrow { margin-top: 0; margin-bottom: 14px; color: #f4d77c; font-size: 10px; letter-spacing: 1.2px; }
.atc-home .atc-home-shop p.atc-home-eyebrow { margin-top: 0; margin-bottom: 10px; font-size: 10px; letter-spacing: 1.2px; }
.atc-home .atc-home-direct .atc-home-link,
.atc-home .atc-home-direct .atc-home-link:visited { color: #f7d471; }
.atc-home .atc-home-shop { border: 1px solid #e0e5e9; background: #f5f7f9; }
.atc-home .atc-home-shop p { color: #6c7780; }
.atc-home .atc-home-status { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; padding: 4px 10px; border: 1px solid #d3dbe1; border-radius: 6px; background: #fff; color: #62717d; font-size: 12px; font-weight: 400; line-height: 1.5; }
.atc-home .atc-home-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #8393a0; }
.atc-home .atc-home-shop .atc-home-status:last-child { margin-top: 16px; margin-bottom: 0; }
/* Keep reserved space even when a responsive ad is unfilled. Auto-format ads can
   still be taller: validate the actual AdSense sizes on the live page. */
.atc-home .atc-home-ad { display: block; width: 100%; max-width: 100%; min-height: 304px; margin: 30px auto; padding: 12px 10px; border: 1px solid #e9edf0; border-radius: 10px; background: #fafbfc; text-align: center; overflow-x: auto; }
.atc-home .atc-home-ad > .adsbygoogle { min-height: 250px; }
.atc-home .atc-home-ad > .atc-home-ad-label,
.atc-home .atc-home-ad > span,
.atc-home .atc-home-ad > small { display: block; margin-bottom: 8px; color: #939ca4; font-size: 10px; font-weight: 400; letter-spacing: .7px; }
.atc-home .atc-home-empty { padding: 25px; border: 1px dashed #d5dde3; border-radius: 13px; background: #fafbfc; color: #73818c; font-size: 14px; text-align: center; }
.atc-home .atc-home-empty p { margin-top: 9px; }
.atc-home .atc-home-empty .atc-home-button { margin-top: 18px; }
.atc-home .atc-home-bottomlinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 0; padding: 22px 0; border-top: 1px solid #e8ecef; color: #78838c; font-size: 13px; }
.atc-home .atc-home-bottomlinks a { padding: 5px 0; }
.atc-home .atc-home-bottomlinks a:hover { color: #996400; text-decoration: underline; text-underline-offset: 4px; }
.atc-home .atc-home-sidecontent { width: 100%; max-width: 100%; min-width: 0; margin-top: 30px; padding-top: 24px; border-top: 1px solid #e9edf0; }
.atc-home .atc-home-sidecontent > * { max-width: 100%; }
.atc-home .atc-home-sidecontent img { max-width: 100%; height: auto; }
.atc-home .atc-home-sidecontent::after { content: ''; display: block; clear: both; }
.atc-home .atc-home-contact,
.atc-home a.atc-home-contact:visited {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  max-width: calc(100vw - 40px);
  padding: 10px 17px;
  border: 1px solid #156346;
  border-radius: 26px;
  background: #16734f;
  box-shadow: 0 5px 18px #183a2c2b;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}
.atc-home .atc-home-contact:hover { background: #105f40; color: #fff; }
.atc-home .atc-home-contact img { width: 23px; height: 23px; object-fit: contain; }

@media (max-width: 1024px) {
  .atc-home .atc-home-hero-grid { grid-template-columns: minmax(0, 1.7fr) minmax(190px, .8fr); gap: 20px; }
  .atc-home .atc-home-hero-art { transform: scale(.85); transform-origin: center; }
  .atc-home .atc-home-service-nav-item { grid-template-columns: 27px minmax(0, 1fr); column-gap: 8px; padding: 11px; }
  .atc-home .atc-home-service-nav-item > .atc-home-service-icon { width: 27px; height: 27px; }
  .atc-home .atc-home-service-nav-item strong { font-size: 15px; }
  .atc-home .atc-home-service-nav-item small { font-size: 11px; }
  .atc-home .atc-home-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .atc-home .atc-home-fields > .atc-home-button { grid-column: 1 / -1; }
  .atc-home .atc-home-fields-brand { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atc-home .atc-home-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atc-home .atc-home-product-photo { height: 185px; }
  .atc-home .atc-home-product-body h3 { min-height: 0; }
  .atc-home .atc-home-discover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atc-home .atc-home-service-grid > * { padding: 25px; }
  .atc-home .atc-home-related-grid { gap: 12px; }
  .atc-home .atc-home-related-grid > a { padding: 20px; }
}
@media (max-width: 768px) {
  .atc-home h1 { font-size: 27px; line-height: 1.4; }
  .atc-home h2 { font-size: 23px; }
  .atc-home .atc-home-hero { padding-top: 12px; }
  .atc-home .atc-home-hero > .atc-home-wrap { padding: 20px 14px 14px; border-radius: 12px; }
  .atc-home .atc-home-hero-grid { display: block; min-height: 0; padding: 0 0 20px; }
  .atc-home .atc-home-hero-art { display: none; }
  .atc-home .atc-home-intro h1 { max-width: 600px; }
  .atc-home .atc-home-intro > p { margin-top: 12px; font-size: 14px; }
  .atc-home .atc-home-eyebrow,
  .atc-home .atc-home-intro > .eyebrow { margin-bottom: 10px; font-size: 11px; }
  .atc-home .atc-home-steps { gap: 7px 13px; margin-top: 16px; }
  .atc-home .atc-home-steps > span { gap: 5px; font-size: 12px; }
  .atc-home .atc-home-service-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 14px; }
  .atc-home .atc-home-service-nav-item { grid-template-columns: 28px minmax(0, 1fr); min-height: 75px; padding: 12px; }
  .atc-home .atc-home-service-nav-item strong { font-size: 16px; }
  .atc-home .atc-home-service-nav-item small { font-size: 12px; }
  .atc-home .atc-home-finder { border-radius: 10px; }
  .atc-home .atc-home-tabs { padding: 6px; gap: 4px; }
  .atc-home .atc-home-tabs > button { min-height: 49px; padding: 8px 5px; border-radius: 6px; font-size: 14px; }
  .atc-home .atc-home-panel { padding: 20px 17px 17px; }
  .atc-home .atc-home-finder > .atc-home-popular { padding: 12px 17px 16px; }
  .atc-home .atc-home-finder > .atc-home-error { margin: 0 17px 15px; }
  .atc-home .atc-home-panel > .panel-intro,
  .atc-home .atc-home-panel > .atc-home-panel-intro { font-size: 13px; }
  .atc-home .atc-home-fields { gap: 13px 10px; }
  .atc-home .atc-home-fields label { font-size: 12px; }
  .atc-home .atc-home-fields select { padding: 8px; }
  .atc-home .atc-home-popular { gap: 7px; }
  .atc-home .atc-home-popular > span,
  .atc-home .atc-home-popular > strong { flex-basis: 100%; }
  .atc-home .atc-home-finder > .atc-home-popular > .atc-home-link { margin-left: 0; }
  .atc-home .atc-home-popular a { padding: 5px 8px; font-size: 11px; }
  .atc-home .atc-home-section { padding: 32px 0; }
  .atc-home .atc-home-section-head { align-items: start; flex-wrap: wrap; gap: 7px 16px; margin-bottom: 18px; }
  .atc-home .atc-home-section-head p { font-size: 13px; }
  .atc-home .atc-home-section-head > a { min-height: 30px; font-size: 13px; }
  .atc-home .atc-home-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 9px; }
  .atc-home .atc-home-brand-grid > a { min-height: 76px; gap: 5px; padding: 9px 5px; border-radius: 7px; font-size: 12px; }
  .atc-home .atc-home-brand-grid img { width: 105px; height: 29px; }
  .atc-home .atc-home-offer-grid { gap: 12px; }
  .atc-home .atc-home-product-photo { height: 175px; }
  .atc-home .atc-home-product-body { padding: 14px; }
  .atc-home .atc-home-product-body h3 { font-size: 17px; }
  .atc-home .atc-home-offer-bottom { margin: 0 14px; padding-bottom: 14px; }
  .atc-home .atc-home-discover-grid { gap: 10px; }
  .atc-home .atc-home-discover-grid > a { min-height: 122px; padding: 18px 15px; font-size: 16px; }
  .atc-home .atc-home-discover-grid > a > span { font-size: 12px; }
  .atc-home .atc-home-discover-grid h3 { font-size: 17px; }
  .atc-home .atc-home-editorial-grid { grid-template-columns: 1fr; gap: 25px; }
  .atc-home .atc-home-editorial-grid h3 { margin-top: 11px; font-size: 18px; }
  .atc-home .atc-home-editorial-grid img { max-height: 300px; }
  .atc-home .atc-home-service-grid { grid-template-columns: 1fr; gap: 14px; }
  .atc-home .atc-home-service-grid > * { padding: 24px 21px; border-radius: 12px; }
  .atc-home .atc-home-service-grid h2 { font-size: 23px; }
  .atc-home .atc-home-ad { min-height: 334px; margin: 24px auto; }
  .atc-home .atc-home-ad > .adsbygoogle { min-height: 280px; }
  .atc-home .atc-home-contact { right: 13px; bottom: max(13px, env(safe-area-inset-bottom)); min-height: 43px; padding: 9px 14px; font-size: 12px; }
  .atc-home .atc-home-bottomlinks { padding-bottom: 74px; }
  .atc-home .atc-home-related-grid { grid-template-columns: 1fr; }
  .atc-home .atc-home-related-grid > a { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 6px 14px; padding: 20px; }
  .atc-home .atc-home-related-grid > a > svg { grid-row: 1 / 4; width: 34px; height: 34px; }
  .atc-home .atc-home-related-grid h3,
  .atc-home .atc-home-related-grid p,
  .atc-home .atc-home-related-grid > a > span:last-child { grid-column: 2; }
  .atc-home .atc-home-related-grid h3 { font-size: 20px; }
  .atc-home .atc-home-related-grid p { font-size: 13px; }
  .atc-home .atc-home-rank-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .atc-home .atc-home-rank-grid > * { padding: 19px; }
  .atc-home .atc-home-car-to-tire { flex-direction: column; align-items: stretch; padding: 17px; gap: 13px; }
  .atc-home .atc-home-car-to-tire > .atc-home-button { width: 100%; }
  .atc-home .atc-home-car-articles-links { gap: 5px 16px; }
}
@media (max-width: 540px) {
  .atc-home .atc-home-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .atc-home .atc-home-offer { display: grid; grid-template-columns: minmax(0, 1fr); }
  .atc-home .atc-home-product-link { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 2px; }
  .atc-home .atc-home-product-photo { height: 133px; margin: 12px 0 8px 12px; }
  .atc-home .atc-home-product-photo img { padding: 11px 5px; }
  .atc-home .atc-home-product-body { padding: 16px 15px; }
  .atc-home .atc-home-product-body h3 { min-height: 0; font-size: 17px; }
  .atc-home .atc-home-offer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; margin: 0 15px; padding-top: 12px; }
  .atc-home .atc-home-offer-bottom .dealer,
  .atc-home .atc-home-offer-bottom .atc-home-dealer { grid-column: 1 / -1; }
  .atc-home .atc-home-offer-kind { grid-column: 1 / -1; }
  .atc-home .atc-home-offer-bottom .price,
  .atc-home .atc-home-offer-bottom .atc-home-price { margin: 0; }
  .atc-home .atc-home-offer-bottom .price strong,
  .atc-home .atc-home-offer-bottom .atc-home-price strong { font-size: 24px; }
  .atc-home .atc-home-offer-bottom a.atc-home-button { min-width: 118px; font-size: 13px; }
  .atc-home .atc-home-panel[data-panel='vehicle'] .atc-home-fields,
  .atc-home #atc-panel-vehicle .atc-home-fields,
  .atc-home #atc-panel-brand .atc-home-fields { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .atc-home h1 { font-size: 24px; letter-spacing: -.3px; }
  .atc-home h2 { font-size: 21px; }
  .atc-home .atc-home-intro > p { font-size: 13px; }
  .atc-home .atc-home-steps { gap: 7px 10px; }
  .atc-home .atc-home-steps > span { font-size: 11px; }
  .atc-home .atc-home-panel { padding: 18px 13px 14px; }
  .atc-home .atc-home-tabs > button { font-size: 13px; }
  .atc-home .atc-home-service-nav-item { grid-template-columns: 24px minmax(0, 1fr); column-gap: 7px; padding: 10px 8px; }
  .atc-home .atc-home-service-nav-item > .atc-home-service-icon { width: 24px; height: 24px; }
  .atc-home .atc-home-service-nav-item strong { font-size: 14px; }
  .atc-home .atc-home-service-nav-item small { font-size: 11px; }
  .atc-home .atc-home-fields { gap: 12px 7px; }
  .atc-home .atc-home-fields select { padding: 8px 5px; }
  .atc-home .atc-home-discover-grid > a { min-height: 115px; padding: 16px 12px; font-size: 15px; }
  .atc-home .atc-home-product-link { grid-template-columns: 100px minmax(0, 1fr); }
  .atc-home .atc-home-product-body { padding: 14px 12px; }
  .atc-home .atc-home-offer-bottom .price strong,
  .atc-home .atc-home-offer-bottom .atc-home-price strong { font-size: 22px; }
  .atc-home .atc-home-offer-bottom a.atc-home-button { min-width: 108px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .atc-home *, .atc-home *::before, .atc-home *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Homepage-only replacement for the legacy sidecontent.php chart groups. */
.atc-home .atc-home-sidebar {
  width: 100%; min-width: 0; margin: 0 0 44px;
  color: #1f2937; font-family: inherit;
}
.atc-home .atc-home-sidebar-ad {
  width: 100%; min-width: 0; max-width: 100%; min-height: 278px;
  margin: 8px auto 36px; padding: 14px 0; background: #f7f8fa;
}
.atc-home .atc-home-sidebar-ad .adsbygoogle { width: 100%; max-width: 100%; min-height: 250px; }
.atc-home .atc-home-sidebar-charts { min-width: 0; }
.atc-home .atc-home-sidebar-charts > .atc-home-section-head {
  padding-left: 18px; border-left: 4px solid #ffb33b; margin-bottom: 24px;
}
.atc-home .atc-home-sidebar-charts > .atc-home-section-head h2 { margin-bottom: 7px; }
.atc-home .atc-home-sidebar-chart-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  min-width: 0; align-items: stretch;
}
.atc-home .atc-home-sidebar-chart {
  min-width: 0; overflow: hidden; border: 1px solid #e3e7ed;
  border-top: 3px solid #ffb33b; border-radius: 10px; background: #fff;
  box-shadow: 0 3px 14px rgba(17, 24, 39, .045);
}
.atc-home .atc-home-sidebar-chart h3 {
  margin: 0; padding: 0; background: #18181b;
  font-size: 16px; font-weight: 600; line-height: 1.55;
}
.atc-home .atc-home-sidebar-chart h3 > a,
.atc-home .atc-home-sidebar-chart h3 > a:visited {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 64px; padding: 16px 18px; color: #fff; text-decoration: none;
}
.atc-home .atc-home-sidebar-chart h3 > a > span { flex: 0 0 auto; color: #ffb33b; font-size: 20px; }
.atc-home .atc-home-sidebar-chart h3 > a:hover { color: #ffcf81; }
.atc-home .atc-home-sidebar-tires {
  counter-reset: atc-chart-rank; margin: 0; padding: 4px 16px;
  list-style: none;
}
.atc-home .atc-home-sidebar-tires > li {
  counter-increment: atc-chart-rank; position: relative; min-width: 0;
  margin: 0; padding: 0 0 0 25px; border-bottom: 1px solid #eef0f3;
}
.atc-home .atc-home-sidebar-tires > li:last-child { border-bottom: 0; }
.atc-home .atc-home-sidebar-tires > li::before {
  content: counter(atc-chart-rank); position: absolute; left: 0; top: 21px;
  width: 21px; height: 25px; color: #8b671e; font-size: 16px; font-weight: 700;
}
.atc-home .atc-home-sidebar-tires > li > a,
.atc-home .atc-home-sidebar-tires > li > a:visited {
  display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center;
  gap: 10px; min-width: 0; min-height: 106px; padding: 14px 0;
  color: #1f2937; text-decoration: none;
}
.atc-home .atc-home-sidebar-tires > li > a:hover strong { color: #8a5200; text-decoration: underline; }
.atc-home .atc-home-sidebar-tires img {
  display: block; width: 60px; height: 72px; max-width: 100%;
  object-fit: contain; margin: 0; padding: 0;
}
.atc-home .atc-home-sidebar-tire-info { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.atc-home .atc-home-sidebar-tire-info > strong { font-size: 13px; font-weight: 600; line-height: 1.5; }
.atc-home .atc-home-sidebar-tire-info > span { color: #667085; font-size: 12px; line-height: 1.5; }
.atc-home .atc-home-sidebar-tire-info > .atc-home-sidebar-price { color: #9e050f; font-weight: 500; }
.atc-home .atc-home-sidebar-empty {
  margin: 0; min-height: 116px; padding: 24px 20px; color: #667085;
  background: linear-gradient(135deg, #fff 0%, #fffaf0 100%);
  font-size: 14px; line-height: 1.8;
}
.atc-home .atc-home-field-status {
  display: block; margin-top: 5px; color: #667085;
  font-size: 12px; font-weight: 400; line-height: 1.5;
}
.atc-home .atc-home-search-retry {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; margin: 6px 0 0; padding: 5px 11px;
  border: 1px solid #cdd3dc; border-radius: 6px; background: #fff;
  color: #374151; font: inherit; font-size: 12px; line-height: 1.5;
  cursor: pointer; box-shadow: none;
}
.atc-home .atc-home-search-retry:hover { border-color: #b87916; background: #fffaf0; color: #7a4900; }
.atc-home .atc-home-search-retry:disabled { cursor: wait; opacity: .65; }
@media (max-width: 1024px) {
  .atc-home .atc-home-sidebar-chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .atc-home #atc-panel-vehicle .atc-home-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atc-home #atc-panel-vehicle .atc-home-field:first-of-type { grid-column: 1 / -1; }
  .atc-home #atc-panel-vehicle .atc-home-field:first-of-type .atc-home-field-label { min-height: 24px; }
  .atc-home .atc-home-sidebar { margin-bottom: 30px; }
  .atc-home .atc-home-sidebar-ad { margin-bottom: 28px; }
  .atc-home .atc-home-sidebar-charts > .atc-home-section-head { padding-left: 13px; margin-bottom: 18px; }
  .atc-home .atc-home-sidebar-chart-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .atc-home .atc-home-sidebar-chart h3 > a { min-height: 58px; padding: 14px 16px; }
  .atc-home .atc-home-sidebar-tire-info > strong { font-size: 14px; }
  .atc-home .atc-home-sidebar-tire-info > span { font-size: 13px; }
}
@media (max-width: 768px) {
  .atc-home .atc-home-sidebar-ad { min-height: 308px; }
  .atc-home .atc-home-sidebar-ad .adsbygoogle { min-height: 280px; }
}

/* Home refinement 2026.09.12: shared Search hierarchy, compact information.
   These rules affect Home only. Ad slots and their reserved sizes stay intact. */
.atc-home { --atc-red: #922117; --atc-width: var(--atc-shell-width, 1480px); line-height: 1.55; }
.atc-home h2 { font-size: 23px; line-height: 1.4; letter-spacing: 0; }
.atc-home h3 { font-size: 18px; letter-spacing: 0; }
.atc-home .atc-home-section { padding: 22px 0; }
.atc-home .atc-home-section + .atc-home-section { border-top: 0; }
.atc-home .atc-home-section-head { align-items: center; gap: 12px; margin-bottom: 12px; }
.atc-home .atc-home-section-head p { font-size: 13px; margin-top: 4px; }
.atc-home .atc-home-section-head p.atc-home-eyebrow { font-size: 12px; margin: 0 0 3px; letter-spacing: .4px; }
.atc-home .atc-home-section-head > a { min-height: 36px; font-size: 13px; }
.atc-home .atc-home-button { min-height: 44px; padding: 8px 16px; border-radius: 6px; font-size: 15px; }
.atc-home .atc-home-link { font-size: 13px; min-height: 36px; }
.atc-home .atc-home-muted { font-size: 13px; }
.atc-home .atc-home-count { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 8px; border: 1px solid #e6d29c; border-radius: 5px; background: #fff8e7; color: #775407; font-size: 13px; font-weight: 400; white-space: nowrap; }

/* Tire-first heading. The four destinations share one compact navigation row. */
.atc-home .atc-home-hero { padding-top: 10px; }
.atc-home .atc-home-hero > .atc-home-wrap { padding: 20px;     width: 1185px;border-radius: 12px; box-shadow: 0 5px 16px #18202d12; }
.atc-home .atc-home-hero-grid { grid-template-columns: minmax(0, 1fr) 245px; min-height: 0; gap: 20px; padding: 0 0 16px; }
.atc-home .atc-home-intro h1 { max-width: 950px; font-size: clamp(28px, 2.3vw, 36px); line-height: 1.35; }
.atc-home .atc-home-intro h1 > span { display: inline; }
.atc-home .atc-home-intro > p { margin-top: 8px; font-size: 15px; max-width: 850px; }
.atc-home .atc-home-intro > p.atc-home-eyebrow { font-size: 12px; letter-spacing: 0; margin-bottom: 6px; }
.atc-home .atc-home-hero-tools { display: grid; gap: 7px; justify-items: start; padding-left: 20px; border-left: 1px solid #ffffff30; color: #e5e7eb; font-size: 13px; }
.atc-home .atc-home-hero-tools small { font-size: 11px; color: #cbd5e1; }
.atc-home .atc-home-photo-entry { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 12px; border: 1px solid #d8ae51; border-radius: 6px; background: #fff8e9; color: #47330e; font-size: 14px; font-weight: 700; }
.atc-home .atc-home-photo-entry:hover { background: #ffe8b4; }
.atc-home .atc-home-service-nav { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.15fr; gap: 8px; margin: 0 0 12px; }
.atc-home .atc-home-service-nav-item { grid-template-columns: 26px minmax(0, 1fr); min-height: 48px; padding: 8px 12px; column-gap: 8px; border-radius: 6px; }
.atc-home .atc-home-service-nav-item > .atc-home-service-icon { grid-row: 1; width: 25px; height: 25px; }
.atc-home .atc-home-service-nav-item strong { font-size: 15px; line-height: 1.35; }
.atc-home .atc-home-service-nav-item small { display: none; }
.atc-home .atc-home-service-nav-item.is-primary { border-color: #ffb43b; background: #ffb43b; color: #171717; }
.atc-home .atc-home-finder { border-radius: 8px; box-shadow: none; }
.atc-home .atc-home-tabs { padding: 5px; gap: 4px; }
.atc-home .atc-home-tabs > button { min-height: 42px; padding: 8px; font-size: 15px; border-radius: 5px; }
.atc-home .atc-home-panel { padding: 14px 16px 10px; }
.atc-home .atc-home-panel > .atc-home-panel-intro { margin-bottom: 10px; font-size: 13px; }
.atc-home .atc-home-fields { gap: 10px; }
.atc-home .atc-home-fields label { font-size: 13px; }
.atc-home .atc-home-fields select, .atc-home .atc-home-fields input { height: 44px; padding: 7px 10px; border-radius: 5px; margin-top: 5px; font-size: 16px; }
.atc-home .atc-home-fields .atc-home-button { min-height: 44px; }
.atc-home .atc-home-help { margin-top: 6px; font-size: 12px; }
.atc-home .atc-home-finder > .atc-home-popular { padding: 9px 16px; gap: 6px; }
.atc-home .atc-home-popular { gap: 6px; margin-top: 12px; padding-top: 10px; }
.atc-home .atc-home-popular a { min-height: 32px; padding: 5px 9px; border-radius: 5px; }

/* A real brand count with an explicit expand control. */
.atc-home .atc-home-brand-directory { padding: 10px; border: 1px solid #e0e4eb; border-top: 2px solid #eea20d; border-radius: 9px; background: #f5f6f9; }
.atc-home .atc-home-brand-grid { padding: 0; border: 0; border-radius: 0; background: transparent; gap: 7px; }
.atc-home [data-home-brand-grid]:not([data-home-expanded='true']) > a:nth-child(n+22) { display: none; }
.atc-home .atc-home-brand-grid > a { min-height: 72px; gap: 5px; padding: 8px 5px; font-size: 12px; border-radius: 6px; }
.atc-home .atc-home-brand-grid img { width: 118px; height: 28px; max-width: 90%; object-fit: contain; }
.atc-home .atc-home-brand-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: #586476; }
.atc-home .atc-home-brand-controls:has(button:not([hidden])) { margin-top: 9px; padding-top: 8px; border-top: 1px solid #dfe4ec; }
.atc-home .atc-home-brand-controls .atc-home-button { min-height: 36px; font-size: 13px; padding: 6px 14px; }

/* All three shops have equal space; the visible name also conveys identity. */
.atc-home .atc-home-partner { background: #f5f6f9; border: 0; }
.atc-home .atc-home-partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.atc-home .atc-home-partner-card { min-width: 0; display: flex; flex-direction: column; padding: 14px; border: 1px solid #e1e5eb; border-top: 3px solid #b58a24; border-radius: 8px; background: #fff; }
.atc-home .atc-home-partner-card[data-partner='tiresbid'] { border-top-color: #922117; }
.atc-home .atc-home-partner-card[data-partner='hub4tyre'] { border-top-color: #16743e; }
.atc-home .atc-home-partner-card > header { display: flex; gap: 12px; align-items: center; padding-bottom: 10px; }
.atc-home .atc-home-partner-card > header img { width: 90px; height: 36px; object-fit: contain; object-position: left; }
.atc-home .atc-home-partner-card h3 { font-size: 17px; }
.atc-home .atc-home-partner-card header span { color: #626e7c; font-size: 13px; }
.atc-home .atc-home-partner-card ul { padding: 0; margin: 0; list-style: none; }
.atc-home .atc-home-partner-card li { margin: 0; border-top: 1px solid #e8ebef; }
.atc-home .atc-home-partner-card li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; }
.atc-home .atc-home-partner-card li strong { display: block; font-size: 14px; font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; }
.atc-home .atc-home-partner-card li small { display: block; margin-top: 3px; font-size: 13px; color: #647083; }
.atc-home .atc-home-partner-price { flex-shrink: 0; text-align: right; color: #ac2b20; font-size: 18px; font-weight: 700; line-height: 1.4; }
.atc-home .atc-home-partner-price small { font-weight: 400; }
.atc-home .atc-home-partner-card > .atc-home-link { margin-top: auto; padding-top: 9px; border-top: 1px solid #e8ebef; color: #755514; }
.atc-home .atc-home-partner-empty { min-height: 100px; padding: 15px 0; color: #5c6877; font-size: 13px; }

/* Compact discovery and editorial groups. All articles retain their own URL. */
.atc-home .atc-home-discover-grid { gap: 10px; }
.atc-home .atc-home-discover-grid > a { min-height: 135px; padding: 16px; border-radius: 8px; }
.atc-home .atc-home-discover-grid h3 { font-size: 17px; }
.atc-home .atc-home-discover-grid p { margin-top: 5px; font-size: 13px; }
.atc-home .atc-home-discover-mark { font-size: 17px; width: 34px; height: 32px; margin-bottom: 8px; }
.atc-home .atc-home-rank-grid { gap: 12px; margin-top: 14px; }
.atc-home .atc-home-rank-grid > * { padding: 16px; border-radius: 8px; }
.atc-home .atc-home-rank-grid h3 { font-size: 18px; }
.atc-home .atc-home-rank-grid p { font-size: 13px; }
.atc-home .atc-home-rank-grid .atc-home-popular { padding-top: 10px; }
.atc-home .atc-home-rank-grid .atc-home-popular a { min-height: 34px; padding: 6px 9px; }
.atc-home .atc-home-more { margin-top: 10px; }
.atc-home .atc-home-service-grid { gap: 12px; }
.atc-home .atc-home-service-grid > * { padding: 20px; border-radius: 9px; }
.atc-home .atc-home-service-grid h2 { font-size: 21px; }
.atc-home .atc-home-service-grid p { font-size: 13px; margin-top: 7px; }
.atc-home .atc-home-service-grid .atc-home-button { margin-top: 12px; }
.atc-home .atc-home-related-grid { gap: 12px; }
.atc-home .atc-home-related-grid > a { padding: 16px; border-radius: 8px; }
.atc-home .atc-home-related-grid h3 { font-size: 18px; }
.atc-home .atc-home-related-grid p { font-size: 13px; }
.atc-home .atc-home-editorial-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
.atc-home .atc-home-editorial-grid > article { min-width: 0; border: 1px solid #e1e5eb; border-radius: 7px; overflow: hidden; background: #fff; }
.atc-home .atc-home-editorial-grid > article > a { display: block; height: 100%; padding: 0; }
.atc-home .atc-home-editorial-grid > article img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.atc-home .atc-home-article-copy { padding: 10px 12px; }
.atc-home .atc-home-editorial-grid h3 { min-height: 0; font-size: 16px; line-height: 1.45; margin: 5px 0; }
.atc-home .atc-home-editorial-grid .atc-home-muted { font-size: 11px; }
.atc-home .atc-home-editorial-grid .atc-home-link { min-height: 30px; margin: 0; font-size: 12px; color: #815614; }
.atc-home .atc-home-car-articles-links { margin-top: 12px; padding-top: 10px; gap: 4px 16px; }
.atc-home .atc-home-site-intro { padding-top: 15px; padding-bottom: 10px; font-size: 13px; }
.atc-home .atc-home-sidebar-chart-grid { gap: 12px; }
.atc-home .atc-home-sidebar-chart h3 > a { min-height: 48px; padding: 11px 14px; }
.atc-home .atc-home-sidebar-tires > li > a { min-height: 88px; padding: 9px 0; }

@media (max-width: 1024px) {
  .atc-home .atc-home-hero-grid { grid-template-columns: minmax(0, 1fr) 215px; gap: 15px; }
  .atc-home .atc-home-hero-tools { padding-left: 14px; }
  .atc-home .atc-home-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atc-home .atc-home-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atc-home .atc-home-partner-card { padding: 11px; }
  .atc-home .atc-home-partner-card > header { flex-wrap: wrap; gap: 6px; }
}
@media (max-width: 768px) {
  /* Mobile: avoid stacking wide shell, hero and form gutters. */
  .atc-home { --atc-shell-gutter: 10px; }
  .atc-home h2 { font-size: 21px; }
  .atc-home .atc-home-section { padding: 18px 0; }
  .atc-home .atc-home-section-head { flex-wrap: wrap; align-items: center; gap: 4px 12px; }
  .atc-home .atc-home-section-head > div { flex: 1 1 235px; }
  .atc-home .atc-home-section-head > a { font-size: 12px; min-height: 32px; }
  .atc-home .atc-home-hero > .atc-home-wrap { padding: 16px 8px 12px; }
  .atc-home .atc-home-hero-grid { display: block; padding-bottom: 12px; }
  .atc-home .atc-home-intro h1 { font-size: 27px; }
  .atc-home .atc-home-intro > p { font-size: 14px; }
  .atc-home .atc-home-intro > p.atc-home-eyebrow { font-size: 11px; }
  .atc-home .atc-home-hero-tools { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin-top: 10px; border: 0; align-items: center; }
  .atc-home .atc-home-hero-tools > small { display: none; }
  .atc-home .atc-home-photo-entry { min-height: 36px; padding: 6px 9px; font-size: 12px; }
  .atc-home .atc-home-service-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .atc-home .atc-home-service-nav-item { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 7px 3px; min-height: 61px; }
  .atc-home .atc-home-service-nav-item > .atc-home-service-icon { width: 20px; height: 20px; }
  .atc-home .atc-home-service-nav-item strong { font-size: 12px; text-align: center; }
  .atc-home .atc-home-tabs > button { font-size: 13px; min-height: 42px; padding: 7px 3px; }
  .atc-home .atc-home-panel { padding: 12px 8px; }
  .atc-home .atc-home-fields { gap: 9px 6px; }
  .atc-home .atc-home-fields label { font-size: 12px; }
  .atc-home .atc-home-fields label small { display: inline; }
  .atc-home .atc-home-fields select { padding: 7px 5px; }
  .atc-home .atc-home-finder > .atc-home-popular { padding: 9px 8px; }
  .atc-home .atc-home-finder > .atc-home-error { margin-inline: 8px; }
  .atc-home .atc-home-finder > noscript > p { padding-inline: 8px; }
  .atc-home .atc-home-finder > .atc-home-popular > span { flex-basis: 100%; font-size: 11px; }
  .atc-home .atc-home-popular a { font-size: 11px; padding: 6px 7px; }
  .atc-home .atc-home-partner-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .atc-home .atc-home-partner-card > header { flex-wrap: nowrap; gap: 12px; }
  .atc-home .atc-home-partner-card li a { padding: 9px 0; }
  .atc-home .atc-home-related-grid { grid-template-columns: minmax(0, 1fr); }
  .atc-home .atc-home-related-grid > a { position: relative; padding: 14px 14px 14px 62px; }
  .atc-home .atc-home-related-grid > a > svg { position: absolute; left: 14px; top: 17px; width: 55px; height: 55px; }
  .atc-home .atc-home-related-grid h3 { font-size: 17px; }
  .atc-home .atc-home-related-grid p { margin-top: 4px; }
}
@media (max-width: 640px) {
  .atc-home .atc-home-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .atc-home [data-home-brand-grid]:not([data-home-expanded='true']) > a:nth-child(n+13) { display: none; }
  .atc-home .atc-home-brand-grid > a { min-height: 66px; font-size: 11px; }
  .atc-home .atc-home-brand-grid img { height: 25px; }
  .atc-home .atc-home-brand-controls { display: grid; gap: 6px; text-align: center; }
  .atc-home .atc-home-brand-controls .atc-home-button { width: 100%; }
  .atc-home .atc-home-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atc-home .atc-home-discover-grid > a { min-height: 125px; padding: 13px; }
  .atc-home .atc-home-discover-grid h3 { font-size: 16px; }
  .atc-home .atc-home-service-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .atc-home .atc-home-editorial-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .atc-home .atc-home-editorial-grid > article > a { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; }
  .atc-home .atc-home-editorial-grid > article img { width: 112px; height: 95px; aspect-ratio: auto; object-fit: cover; }
  .atc-home .atc-home-editorial-grid > article > a:not(:has(> img)) { grid-template-columns: minmax(0, 1fr); }
  .atc-home .atc-home-article-copy { padding: 8px 10px; }
  .atc-home .atc-home-editorial-grid h3 { font-size: 15px; margin: 3px 0; }
  .atc-home .atc-home-editorial-grid .atc-home-muted { font-size: 10px; }
  .atc-home .atc-home-editorial-grid .atc-home-link { min-height: 26px; font-size: 11px; }
}
@media (max-width: 390px) {
  .atc-home .atc-home-intro h1 { font-size: 25px; }
  .atc-home .atc-home-service-nav-item strong { font-size: 11px; }
  .atc-home .atc-home-tabs > button { font-size: 12px; }
}

/* Home UI update 2026.09.12 — aligned search fields, responsive brand rows,
   TOPCHART offer anatomy, category pictograms and the two lower CTAs. */
.atc-home { --atc-width: var(--atc-shell-width, 1480px); font-size: 16px; }
.atc-home .atc-home-intro h1 { font-size: clamp(28px, 2.64vw, 36px); line-height: 1.35; }
.atc-home .atc-home-intro > p { font-size: 16px; }
.atc-home .atc-home-section-head p,
.atc-home .atc-home-section-head > a,
.atc-home .atc-home-link,
.atc-home .atc-home-muted { font-size: 14px; }

/* Explicit anchor colors also protect the service navigation in iOS Safari. */
#atc-home .atc-home-service-nav > a.atc-home-service-nav-item,
#atc-home .atc-home-service-nav > a.atc-home-service-nav-item:visited { color: #fff; }
#atc-home .atc-home-service-nav > a.atc-home-service-nav-item.is-primary,
#atc-home .atc-home-service-nav > a.atc-home-service-nav-item.is-primary:visited { color: #171717; }
#atc-home .atc-home-service-nav > a.atc-home-service-nav-item strong { color: inherit; }
#atc-home .atc-home-service-nav > a.atc-home-service-nav-item svg { color: inherit; stroke: currentColor; }
#atc-home a.atc-home-contact,
#atc-home a.atc-home-contact:visited { color: #fff; }

/* Each field reserves the same label row; status text grows below the controls. */
.atc-home .atc-home-fields { align-items: start; gap: 12px; }
.atc-home .atc-home-field { display: flex; flex-direction: column; min-width: 0; }
.atc-home .atc-home-fields label { display: block; min-width: 0; font-size: 14px; line-height: 1.5; }
.atc-home .atc-home-fields .atc-home-field-label {
  display: flex; flex-wrap: wrap; align-content: center; align-items: baseline;
  gap: 0 5px; min-height: 24px; margin: 0 0 6px;
  color: #414d57; font-size: 14px; line-height: 1.5;
}
.atc-home .atc-home-fields label small,
.atc-home .atc-home-field-label small { display: inline; margin: 0; color: #68747d; font-size: 12px; line-height: 1.5; }
.atc-home .atc-home-fields select,
.atc-home .atc-home-fields input {
  height: 48px; margin: 0; padding: 9px 10px; border-radius: 6px;
  color: #222d35; font-size: 16px; line-height: 1.5;
}
.atc-home .atc-home-fields .atc-home-button { height: 48px; min-height: 48px; padding: 9px 12px; font-size: 16px; }
.atc-home .atc-home-field-status { min-height: 0; margin-top: 6px; font-size: 13px; line-height: 1.5; }
.atc-home .atc-home-field-status:empty { margin: 0; }
.atc-home .atc-home-help { margin-top: 10px; font-size: 14px; }
.atc-home .atc-home-panel > .atc-home-muted { font-size: 14px; }
.atc-home .atc-home-panel > .atc-home-panel-intro { font-size: 14px; }
.atc-home .atc-home-size-guide {
  display: grid; grid-template-columns: minmax(0, 1fr);
  align-items: center; gap: 14px; max-width: 850px; margin: 10px 0 0;
  padding: 16px; border: 1px solid #e2d7bb; border-radius: 9px; background: #fffaf0;
}
.atc-home .atc-home-size-guide svg,
.atc-home .atc-home-size-guide img { display: block;
    width: 100%;
    max-width: 245px;
    height: auto;}
.atc-home .atc-home-size-guide figcaption { min-width: 0; color: #414d57; font-size: 14px; line-height: 1.7; }
.atc-home .atc-home-size-guide figcaption strong { color: #17212f; }
.atc-home .atc-home-size-guide figcaption p + p { margin-top: 8px; }

/* Desktop starts at three rows of seven; mobile starts at four rows of three. */
.atc-home .atc-home-brand-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 0; }
.atc-home .atc-home-brand-grid > a { min-height: 78px; gap: 6px; padding: 9px 6px; font-size: 14px; }
.atc-home .atc-home-brand-grid img { width: 118px; max-width: 94%; height: 30px; }
.atc-home .atc-home-brand-controls { font-size: 14px; }
.atc-home .atc-home-brand-controls .atc-home-button { min-height: 42px; font-size: 14px; }

/* Names, size, Eco, rim/brand, tire+scores, price and dealer match Search's flow. */
.atc-home .atc-home-offers-section .atc-home-section-head { padding: 14px 16px; border-radius: 8px; background: #922117; }
.atc-home .atc-home-offer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.atc-home .atc-home-offer--topchart {
  --dealer-color: #715307; --dealer-soft: #fffaf0;
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid #d4b875; border-top-width: 3px; border-radius: 8px;
  background: #fff; box-shadow: 0 2px 8px #17212f06;
}
.atc-home .atc-home-offer--topchart.atc-home-offer--tirebids { --dealer-color: #922117; --dealer-soft: #fff5f3; border-color: #d7a2a6; border-top-color: #922117; }
.atc-home .atc-home-offer--topchart.atc-home-offer--hub4tyre { --dealer-color: #146b3d; --dealer-soft: #f0faf4; border-color: #9fd2b5; border-top-color: #146b3d; }
.atc-home .atc-home-offer--topchart.atc-home-offer--mega_euro { border-top-color: #b78318; }
.atc-home .atc-home-offer--topchart:hover { border-color: var(--dealer-color); box-shadow: 0 4px 16px #17212f0e; }
.atc-home .atc-home-card-main { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 12px; }
.atc-home .atc-home-card-title { min-height: 46px; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.atc-home .atc-home-card-title > span { font-weight: 500; }
.atc-home .atc-home-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin: 7px 0 10px; }
.atc-home .atc-home-card-size { color: #197b30; font-size: 15px; font-weight: 600; white-space: nowrap; }
.atc-home .atc-home-card-meta .atc-home-offer-kind { padding: 3px 6px; font-size: 12px; }
.atc-home .atc-home-chart-eco {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
  margin: 0 0 10px; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: #405e39; font-size: 12px; line-height: 1.4;
}
.atc-home .atc-home-chart-eco > .atc-home-chart-eco-label,
.atc-home .atc-home-chart-eco > .atc-home-card-eco-label { grid-column: 1 / -1; display: block; margin-bottom: 2px; color: #415e37; font-size: 13px; font-weight: 600; }
.atc-home .atc-home-chart-eco > .atc-home-chart-eco-grades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column: 1 / -1; gap: 4px; min-width: 0; }
.atc-home .atc-home-chart-eco-grades > span { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; min-width: 0; padding: 0; border-radius: 0; background: #eef0f4; text-align: center; }
.atc-home .atc-home-chart-eco-grades b { flex: 1; padding: 2px; background: #3f7337; color: #fff; font-weight: 600; }
.atc-home .atc-home-chart-eco strong { flex: 1; padding: 2px; color: #24313d; font-size: 12px; font-weight: 700; white-space: nowrap; }
.atc-home .atc-home-chart-eco small { font-size: 12px; }
.atc-home .atc-home-chart-brand { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 36px; margin-bottom: 9px; }
.atc-home .atc-home-chart-rim,
.atc-home .atc-home-chart-brand > span:first-child {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px;
  width: 34px; height: 34px; border-radius: 50%; background: #197b30; color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1;
}
.atc-home .atc-home-chart-brand img { width: 100px; max-width: calc(100% - 43px); height: 29px; object-fit: contain; object-position: left center; }
.atc-home .atc-home-chart-media { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; margin: 0 0 12px; }
.atc-home .atc-home-card-image { display: grid; place-items: center; width: 100%; min-width: 0; height: 136px; color: #677386; }
.atc-home .atc-home-card-image img { width: 100%; height: 136px; object-fit: contain; }
.atc-home .atc-home-card-image .atc-home-image-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: auto; height: auto; min-height: 110px; border: 0; border-radius: 0;
  color: #75818a; font-size: 12px; font-weight: 400; letter-spacing: 0; text-align: center;
}
.atc-home .atc-home-card-image .atc-home-image-placeholder svg { display: block; width: 50px; height: 68px; color: #a5aeb7; }
.atc-home .atc-home-card-image.has-image .atc-home-image-placeholder { display: none; }
.atc-home .atc-home-card-image.atc-home-image-missing img { display: none; }
.atc-home .atc-home-chart-scores { display: grid; gap: 5px; min-width: 0; }
.atc-home .atc-home-chart-scores > p,
.atc-home .atc-home-chart-scores > strong,
.atc-home .atc-home-chart-score-heading { font-size: 14px; font-weight: 500; line-height: 1.4; }
/* Labels and values share one bar, matching Search's compact score rows.
   Light fills preserve text contrast regardless of the score percentage. */
.atc-home .atc-home-chart-score { --score-color: #c7dfac; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 4px; min-width: 0; min-height: 25px; padding: 3px 5px; font-size: 13px; line-height: 1.4; }
.atc-home .atc-home-chart-score[data-score-key='sport'] { --score-color: #c7d8ea; }
.atc-home .atc-home-chart-score[data-score-key='durable'] { --score-color: #f3e3a1; }
.atc-home .atc-home-chart-score[data-score-key='fuel'] { --score-color: #bedec9; }
.atc-home .atc-home-chart-score-label { position: relative; z-index: 1; min-width: 0; color: #24313d; overflow-wrap: anywhere; }
.atc-home .atc-home-chart-score-value { position: relative; z-index: 1; flex-shrink: 0; color: #24313d; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.atc-home .atc-home-chart-score-track { position: absolute; inset: 0; display: block; height: 100%; overflow: hidden; border-radius: 4px; background: #edf0f3; }
.atc-home .atc-home-chart-score-track > i { display: block; width: clamp(0%, var(--score, 0%), 100%); height: 100%; background: var(--score-color); }
.atc-home .atc-home-chart-score.is-missing .atc-home-chart-score-track { background: #f4f5f7; }
.atc-home .atc-home-chart-price { margin: auto 12px 10px; padding: 10px; border: 1px solid #efd9bd; border-radius: 6px; background: #fff9ee; }
.atc-home .atc-home-chart-price > .atc-home-offer-kind { margin-bottom: 8px; font-size: 12px; }
.atc-home .atc-home-chart-price .atc-home-dealer { min-height: 26px; margin-bottom: 7px; color: var(--dealer-color); font-size: 13px; }
.atc-home .atc-home-chart-price .atc-home-dealer img { max-width: 85px; height: 24px; object-fit: contain; }
.atc-home .atc-home-chart-set-price { margin-top: 3px; color: #685639; font-size: 14px; line-height: 1.45; }
.atc-home .atc-home-chart-price .atc-home-price { margin: 0; gap: 4px; }
.atc-home .atc-home-chart-price .atc-home-price strong { color: #b52a1e; font-size: 28px; line-height: 1.3; }
.atc-home .atc-home-chart-price .atc-home-price small { color: #635e54; font-size: 13px; }
.atc-home .atc-home-chart-price .atc-home-card-type { display: block; margin-top: 5px; color: #596476; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.atc-home .atc-home-card-footer { display: flex; flex-direction: column; align-items: stretch; gap: 9px; margin: 0 12px; padding: 10px 0 12px; border-top: 1px solid #e6e8ec; }
.atc-home .atc-home-card-footer .atc-home-dealer { gap: 6px; min-height: 25px; color: var(--dealer-color); font-size: 13px; }
.atc-home .atc-home-card-footer .atc-home-dealer img { width: auto; max-width: 85px; height: 24px; object-fit: contain; }
.atc-home .atc-home-card-footer a.atc-home-button,
.atc-home .atc-home-card-footer a.atc-home-button:visited { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--dealer-color); background: var(--dealer-soft); color: var(--dealer-color); font-size: 14px; line-height: 1.45; box-shadow: none; }
.atc-home .atc-home-card-footer a.atc-home-button:hover { background: #fff1d6; }
.atc-home .atc-home-offer-grid + .atc-home-muted { margin-top: 10px; font-size: 14px; }

/* Every category uses the same 48-unit pictogram and visual badge. */
.atc-home .atc-home-discover-grid > a { padding: 18px; gap: 9px; }
.atc-home .atc-home-discover-grid h3 { font-size: 18px; }
.atc-home .atc-home-discover-grid p { margin-top: 0; color: #586476; font-size: 14px; }
.atc-home .atc-home-discover-grid > a > .atc-home-discover-mark:first-child {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  min-width: 52px; margin-bottom: 3px; padding: 6px; border: 1px solid #e6d5a7;
  border-radius: 10px; background: #fff5d7; color: #82621a;
}
.atc-home .atc-home-discover-grid .atc-home-category-icon,
.atc-home .atc-home-rank-grid .atc-home-category-icon { display: block; flex: 0 0 auto; width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.atc-home .atc-home-discover-grid > a > .atc-home-link { margin-top: auto; padding-top: 5px; font-size: 14px; }
.atc-home .atc-home-rank-grid .atc-home-eyebrow--icon { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: #8b561b; font-size: 13px; line-height: 1.45; letter-spacing: .3px; }
.atc-home .atc-home-eyebrow--icon::before { display: none; }
.atc-home .atc-home-rank-grid .atc-home-eyebrow--icon > .atc-home-category-icon { flex: 0 0 36px; width: 36px; height: 36px; }

/* Give the live support CTA and the upcoming shop profile equal prominence. */
.atc-home .atc-home-service-grid { gap: 16px; }
.atc-home .atc-home-service-grid > * { padding: 28px; border-radius: 12px; }
.atc-home .atc-home-service-grid h2 { font-size: 26px; line-height: 1.4; }
.atc-home .atc-home-service-grid p { margin-top: 12px; font-size: 16px; line-height: 1.7; }
.atc-home .atc-home-service-grid p.atc-home-eyebrow { font-size: 13px; letter-spacing: .2px; }
.atc-home .atc-home-direct,
.atc-home .atc-home-support { border: 1px solid #ead18e; border-top: 4px solid #ffb33b; background: linear-gradient(135deg, #fffaf0, #fff1d2); box-shadow: 0 5px 18px #a27b2410; color: #17212f; }
.atc-home .atc-home-direct h2,
.atc-home .atc-home-support h2 { color: #17212f; }
.atc-home .atc-home-direct p,
.atc-home .atc-home-support p { color: #61543d; }
.atc-home .atc-home-direct p.atc-home-eyebrow,
.atc-home .atc-home-support p.atc-home-eyebrow { color: #8a5706; }
.atc-home .atc-home-direct a.atc-home-button,
.atc-home .atc-home-direct a.atc-home-button:visited,
.atc-home .atc-home-support a.atc-home-button { min-height: 48px; margin-top: 20px; border-color: #f6a128; background: linear-gradient(180deg, #ffb33b, #ff9800); color: #241900; font-size: 16px; }
.atc-home .atc-home-direct a.atc-home-button:hover,
.atc-home .atc-home-support a.atc-home-button:hover { background: linear-gradient(180deg, #ffc05d, #ffa51d); }
.atc-home .atc-home-shop,
.atc-home .atc-home-business { border: 1px solid #303c50; border-top: 4px solid #66758d; background: linear-gradient(135deg, #172335, #111827); box-shadow: 0 5px 18px #17212f18; color: #fff; }
.atc-home .atc-home-shop h2,
.atc-home .atc-home-business h2 { color: #fff; }
.atc-home .atc-home-shop p,
.atc-home .atc-home-business p { color: #e2e8f0; }
.atc-home .atc-home-shop p.atc-home-eyebrow,
.atc-home .atc-home-business p.atc-home-eyebrow { color: #ffd080; }
.atc-home .atc-home-shop .atc-home-status,
.atc-home .atc-home-business .atc-home-status { padding: 5px 10px; border-color: #efbe55; background: #ffdc87; color: #4f3603; font-size: 14px; }
.atc-home .atc-home-shop .atc-home-status::before,
.atc-home .atc-home-business .atc-home-status::before { background: #8f6514; }

@media (max-width: 1099px) {
  .atc-home .atc-home-brand-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .atc-home .atc-home-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atc-home .atc-home-chart-media { grid-template-columns: 98px minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 1024px) {
  .atc-home .atc-home-fields > .atc-home-field--action { grid-column: 1 / -1; }
  .atc-home .atc-home-field--action > .atc-home-field-label { display: none; }
}
@media (max-width: 899px) and (min-width: 641px) {
  .atc-home .atc-home-brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .atc-home .atc-home-intro h1 { font-size: 28px; }
  .atc-home .atc-home-intro > p { font-size: 14px; }
  .atc-home .atc-home-fields { gap: 10px 7px; }
  .atc-home .atc-home-fields .atc-home-field-label { min-height: 44px; align-content: flex-end; }
  .atc-home .atc-home-fields label { font-size: 14px; }
  .atc-home .atc-home-fields select { padding: 9px 6px; font-size: 14px; }
  .atc-home .atc-home-help { font-size: 14px; }
  .atc-home .atc-home-section-head p,
  .atc-home .atc-home-section-head > a { font-size: 14px; }
  .atc-home .atc-home-chart-media { grid-template-columns: 80px minmax(0, 1fr); gap: 10px; }
  .atc-home .atc-home-discover-grid > a { padding: 15px; }
  .atc-home .atc-home-service-grid > * { padding: 24px; }
  .atc-home .atc-home-service-grid h2 { font-size: 24px; }
  .atc-home .atc-home-size-guide { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .atc-home .atc-home-size-guide svg { margin: 0 auto; }
}
@media (max-width: 640px) {
  .atc-home .atc-home-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .atc-home .atc-home-brand-grid > a { min-height: 75px; padding: 8px 5px; font-size: 13px; }
  .atc-home .atc-home-brand-grid img { height: 28px; }
  .atc-home .atc-home-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .atc-home .atc-home-card-main { padding: 10px; }
  .atc-home .atc-home-card-title { min-height: 66px; font-size: 16px; line-height: 1.4; }
  .atc-home .atc-home-card-meta { align-items: flex-start; flex-direction: column; gap: 5px; min-height: 22px; margin: 6px 0 9px; }
  .atc-home .atc-home-card-size { font-size: 14px; }
  .atc-home .atc-home-chart-eco { gap: 3px; padding: 0; font-size: 12px; }
  .atc-home .atc-home-chart-eco-grades > span { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .atc-home .atc-home-chart-eco strong { font-size: 13px; }
  .atc-home .atc-home-chart-brand { gap: 6px; margin-bottom: 6px; }
  .atc-home .atc-home-chart-rim,
  .atc-home .atc-home-chart-brand > span:first-child { width: 30px; height: 30px; flex-basis: 30px; font-size: 13px; }
  .atc-home .atc-home-chart-brand img { max-width: calc(100% - 36px); height: 26px; }
  .atc-home .atc-home-chart-media { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .atc-home .atc-home-card-image,
  .atc-home .atc-home-card-image img { height: 130px; }
  .atc-home .atc-home-card-image img { width: 98px; }
  .atc-home .atc-home-chart-scores { gap: 5px; }
  .atc-home .atc-home-chart-score { font-size: 13px; }
  .atc-home .atc-home-chart-price { margin: auto 10px 10px; padding: 8px; }
  .atc-home .atc-home-chart-price .atc-home-dealer { min-height: 49px; align-items: flex-start; flex-direction: column; gap: 5px; }
  .atc-home .atc-home-chart-price .atc-home-price strong { font-size: 25px; }
  .atc-home .atc-home-card-footer { margin: 0 10px; gap: 8px; }
  .atc-home .atc-home-card-footer .atc-home-dealer { align-items: flex-start; flex-direction: column; min-height: 49px; font-size: 13px; }
  .atc-home .atc-home-card-footer a.atc-home-button { min-height: 46px; padding: 8px 5px; font-size: 14px; }
  .atc-home .atc-home-discover-grid h3 { font-size: 17px; }
  .atc-home .atc-home-service-grid .atc-home-button { width: 100%; }
}
@media (max-width: 390px) {
  .atc-home .atc-home-intro h1 { font-size: 27px; }
  .atc-home .atc-home-card-main { padding: 8px; }
  .atc-home .atc-home-card-title { min-height: 68px; }
  .atc-home .atc-home-card-footer { margin-inline: 8px; }
  .atc-home .atc-home-chart-price { margin-inline: 8px; padding: 7px; }
  .atc-home .atc-home-chart-price .atc-home-price strong { font-size: 24px; }
}

/* Mobile offers: one outer gutter, aligned with the section heading. */
@media (max-width: 767px) {
  #atc-home .atc-home-offers-section #atc-home-offer-results.atc-results-section {
    padding: 0;
  }
  .atc-home .atc-home-offers-section .atc-home-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 14px;
    margin-bottom: 10px;
  }
  .atc-home .atc-home-offers-section .atc-home-section-head > a {
    justify-self: start;
  }
}

/* Home card readability. Two IDs keep these overrides effective when the
   shared Search card stylesheet is loaded after this file. */
#atc-home #atc-home-offer-results .atc-card-btn {
  font-size: 14px;
}

@media (max-width: 767px) {
  #atc-home #atc-home-offer-results .atc-search-card__mobile-type {
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #atc-home #atc-home-offer-results .atc-benefit-chip,
  #atc-home #atc-home-offer-results .atc-overall-score small,
  #atc-home #atc-home-offer-results .atc-search-card__mobile-price > small,
  #atc-home #atc-home-offer-results .atc-search-card__mobile-price-label,
  #atc-home #atc-home-offer-results .atc-search-card__mobile-insights--empty {
    font-size: 11px;
  }

  #atc-home #atc-home-offer-results .atc-search-card__partner-status {
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
  }

  #atc-home #atc-home-offer-results .atc-search-card__partner-status > span:last-child {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
  }

  #atc-home #atc-home-offer-results .atc-search-card__partner--empty {
    grid-template-columns: minmax(0, 1fr);
  }

  #atc-home #atc-home-offer-results .atc-search-card__partner--empty > strong {
    font-size: 11px;
    white-space: normal;
  }
}
/* ลดขนาดตัวอย่างแก้มยาง เฉพาะ desktop */
@media (min-width: 769px) {
  .atc-home .atc-home-size-guide {
    grid-template-columns: 280px minmax(0, 1fr);
    max-width: 820px;
    align-items: center;
    gap: 20px;
    padding: 14px;
  }

  .atc-home .atc-home-size-guide img,
  .atc-home .atc-home-size-guide svg {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0;
  }
}
/* ขยายปุ่ม LINE ทั้ง desktop และ mobile */
#atc-home a.atc-home-contact {
  font-size: 14px;
  font-weight: 700;
  min-height: 52px;
  padding: 12px 22px;
  gap: 10px;
  border-radius: 999px;
}

#atc-home a.atc-home-contact span {
  font-size: inherit;
}
/* ซ่อนช่อง Auto ads ว่างที่ทำให้หน้า Home ล้น */
body.atc-home-v2 #atc-home
.google-auto-placed > ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}
.atc-home .atc-home-hero > .atc-home-wrap {
  width: min(
    var(--atc-width),
    calc(100% - var(--atc-shell-gutter, 24px) * 2)
  );
}
/* =========================================================
   ATC HOME — SHOP DIRECTORY
   /shops/
   ========================================================= */

.atc-home .atc-home-shop-directory {
    background: #fff;
}

.atc-home .atc-home-shop-directory-card {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: center;
    gap: 36px;

    padding: 28px 30px;

    border: 1px solid var(--atc-line);
    border-top: 3px solid var(--atc-yellow);
    border-radius: 12px;

    background:
        linear-gradient(
            110deg,
            #fffaf0 0%,
            #ffffff 58%,
            #f7f8fa 100%
        );

    box-shadow: 0 3px 14px rgba(17, 24, 39, .04);
}

/* LEFT CONTENT */

.atc-home .atc-home-shop-directory-copy {
    min-width: 0;
}

.atc-home .atc-home-shop-directory-copy .atc-home-eyebrow {
    margin: 0 0 7px;

    color: #9b5d00;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    line-height: 1.5;
}

.atc-home .atc-home-shop-directory-copy h2 {
    margin: 0;

    color: var(--atc-ink);

    font-size: 27px;
    line-height: 1.4;
}

.atc-home .atc-home-shop-directory-description {
    max-width: 720px;

    margin-top: 8px;

    color: var(--atc-muted);

    font-size: 14px;
    line-height: 1.75;
}


/* FEATURE CHIPS */

.atc-home .atc-home-shop-features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 16px;
}

.atc-home .atc-home-shop-features span {
    display: inline-flex;
    align-items: center;

    min-height: 31px;

    padding: 4px 10px;

    border: 1px solid #e1e5ea;
    border-radius: 5px;

    background: #fff;

    color: #4d5963;

    font-size: 12px;
    line-height: 1.5;
}

.atc-home .atc-home-shop-features span::before {
    content: "✓";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 16px;
    height: 16px;

    margin-right: 6px;

    border-radius: 50%;

    background: #fff4d8;

    color: #8a5c0c;

    font-size: 10px;
    font-weight: 700;
}


/* RIGHT CTA */

.atc-home .atc-home-shop-directory-action {
    width: 250px;

    padding-left: 28px;

    border-left: 1px solid #e5e8ec;

    text-align: center;
}

.atc-home .atc-home-shop-directory-action .atc-home-button {
    width: 100%;

    min-height: 50px;

    padding-right: 16px;
    padding-left: 16px;

    justify-content: space-between;

    font-size: 15px;
}

.atc-home .atc-home-shop-directory-action p {
    margin-top: 9px;

    color: #75818a;

    font-size: 11px;
    line-height: 1.5;
}


/* HOVER */

.atc-home .atc-home-shop-directory-card:hover {
    border-color: #d8c17e;
    border-top-color: var(--atc-yellow);

    box-shadow: 0 7px 22px rgba(17, 24, 39, .06);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .atc-home .atc-home-shop-directory-card {
        grid-template-columns: minmax(0, 1fr) 220px;

        gap: 24px;

        padding: 25px 24px;
    }

    .atc-home .atc-home-shop-directory-action {
        width: 220px;

        padding-left: 22px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .atc-home .atc-home-shop-directory-card {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 22px 20px;

        border-radius: 10px;
    }

    .atc-home .atc-home-shop-directory-copy h2 {
        font-size: 23px;
    }

    .atc-home .atc-home-shop-directory-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .atc-home .atc-home-shop-features {
        gap: 6px;

        margin-top: 14px;
    }

    .atc-home .atc-home-shop-features span {
        min-height: 29px;

        padding: 4px 8px;

        font-size: 11px;
    }

    .atc-home .atc-home-shop-directory-action {
        width: 100%;

        padding: 18px 0 0;

        border-top: 1px solid #e5e8ec;
        border-left: 0;
    }

    .atc-home .atc-home-shop-directory-action .atc-home-button {
        width: 100%;

        justify-content: center;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

    .atc-home .atc-home-shop-directory-card {
        padding: 19px 16px;
    }

    .atc-home .atc-home-shop-directory-copy h2 {
        font-size: 21px;
    }

    .atc-home .atc-home-shop-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .atc-home .atc-home-shop-features span {
        width: 100%;

        justify-content: flex-start;
    }

}
/* =========================================================
   SHOP OWNER CARD
   ========================================================= */

.atc-home .atc-home-shop .atc-home-link,
.atc-home .atc-home-shop .atc-home-link:link,
.atc-home .atc-home-shop .atc-home-link:visited {
    color: #ffd56a;
    font-weight: 700;
    text-decoration: none;
}

.atc-home .atc-home-shop .atc-home-link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* PRICE */

.atc-home .atc-home-shop-price {
    display: flex;
    flex-direction: column;
    gap: 3px;

    max-width: 390px;
    margin-top: 18px !important;
    padding: 13px 15px;

    border: 1px solid rgba(255, 208, 102, .32);
    border-radius: 8px;

    background: rgba(255, 196, 71, .08);
}

.atc-home .atc-home-shop-price strong {
    color: #ffd56a;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.atc-home .atc-home-shop-price span {
    color: #cbd5e1;

    font-size: 12px;
    line-height: 1.5;
}


/* ACTIONS */

.atc-home .atc-home-shop-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;

    margin-top: 18px;
}

.atc-home .atc-home-shop-actions .atc-home-link {
    margin-top: 0;
}


/* JOIN = stronger CTA */

.atc-home .atc-home-shop .atc-home-shop-join,
.atc-home .atc-home-shop .atc-home-shop-join:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 9px 14px;

    border: 1px solid #f6a128;
    border-radius: 7px;

    background: linear-gradient(180deg, #ffb33b, #ff9800);

    color: #241900;
    font-size: 14px;
    text-decoration: none;
}

.atc-home .atc-home-shop .atc-home-shop-join:hover {
    background: linear-gradient(180deg, #ffc05d, #ffa51d);
    color: #241900;
    text-decoration: none;
}


@media (max-width: 600px) {

    .atc-home .atc-home-shop-price strong {
        font-size: 18px;
    }

    .atc-home .atc-home-shop-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .atc-home .atc-home-shop .atc-home-shop-join {
        width: 100%;
    }

}