/** Shopify CDN: Minification failed

Line 836:0 Expected "}" to go with "{"

**/
/*=============================================================================
The Model Shop Portsmouth
TMS Track & Accessories Landing Page
Version 1.0
=============================================================================*/

.tms-track-accessories {
  width: 100%;
  padding: 2px 0 64px;
  background: #fff;
  color: #0f2341;
}

.tms-track-accessories__inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 18px;
}

.tms-track-accessories__hero {
  position: relative;
  width: 100vw;
  min-height: 430px;
  overflow: hidden;
  margin-left: calc((100% - 100vw) / 2);
  margin-bottom: 28px;
  border-radius: 0;
  background: #f8f5f0;
}

.tms-track-accessories__hero-image,
.tms-track-accessories__hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tms-track-accessories__hero-image img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.tms-track-accessories__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 24%,
    rgba(255, 255, 255, .98) 34%,
    rgba(255, 255, 255, .90) 44%,
    rgba(255, 255, 255, .62) 54%,
    rgba(255, 255, 255, .25) 66%,
    rgba(255, 255, 255, 0) 78%
  ) !important;
}

.tms-track-accessories__hero-content {
  position: relative;
  z-index: 3;
  width: 56%;
  max-width: 760px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 42px 42px 48px;
}

.tms-track-accessories__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #a68a3f;
}

.tms-track-accessories__hero-title {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  color: #ffffff;
}

.tms-track-accessories__hero-intro {
  max-width: 700px;
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.45;
  color: #ffffff;
}

.tms-track-accessories__hero-intro p {
  margin: 0;
}

.tms-track-accessories__hero-tagline {
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 3px solid #a68a3f;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
    color: #ffffff;
}

.tms-track-accessories__primary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.tms-track-accessories__primary-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #0f294d;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 35, 65, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.tms-track-accessories__primary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 35, 65, .14);
}

.tms-track-accessories__primary-image {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #f3f3f3;
}

.tms-track-accessories__primary-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tms-track-accessories__primary-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 94px;
  padding: 18px 18px 18px 20px;
}

.tms-track-accessories__primary-content h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
}

.tms-track-accessories__primary-content p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}

.tms-track-accessories__arrow,
.tms-track-accessories__small-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: inherit;
  line-height: 1;
}

.tms-track-accessories__arrow {
  width: 40px;
  height: 40px;
  font-size: 23px;
}

.tms-track-accessories__small-arrow {
  width: 30px;
  height: 30px;
  font-size: 17px;
}

.tms-track-accessories__panel {
  margin-bottom: 18px;
  padding: 24px;
  border-radius: 14px;
}

.tms-track-accessories__panel--gauge {
  background: #f1f8fc;
}

.tms-track-accessories__panel--browse {
  background: #e9f3f8;
}

.tms-track-accessories__panel--rolling {
  background: #eef3f8;
}

.tms-track-accessories__section-heading {
  margin-bottom: 16px;
}

.tms-track-accessories__section-heading h2,
.tms-track-accessories__browse-header h2 {
  margin: 0 0 4px;
  color: #0f294d;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 800;
}

.tms-track-accessories__section-heading p,
.tms-track-accessories__browse-header p {
  margin: 0;
  color: #0f294d;
  font-size: 14px;
  line-height: 1.45;
}

.tms-track-accessories__gauge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tms-track-accessories__gauge-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #bdd5e6;
  border-radius: 11px;
  background: #fff;
  color: #0f294d;
  text-decoration: none;
}

.tms-track-accessories__gauge-image {
  aspect-ratio: 2.2 / 1;
  overflow: hidden;
}

.tms-track-accessories__gauge-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tms-track-accessories__gauge-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 10px;
}

.tms-track-accessories__gauge-footer h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
}

.tms-track-accessories__browse-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

/* =========================================================
   SIGNALS / CONTROLLERS & ELECTRICAL NOTE
   ========================================================= */

.tms-track-accessories__browse-note {
  min-width: 0;
  height: 100%;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 18px 14px 18px 20px;

  border-left: 1px solid #a9c6d9;

  color: #0f294d;
  font-size: 13px;
  line-height: 1.45;
}

.tms-track-accessories__browse-note-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.tms-track-accessories__browse-note-heading strong {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.tms-track-accessories__browse-note-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1.5px solid #0f294d;
  border-radius: 50%;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.tms-track-accessories__browse-note > span {
  display: block;
  margin-bottom: 13px;
}

.tms-track-accessories__browse-note a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  box-sizing: border-box;

  padding: 9px 10px;

  border-radius: 6px;

  background: #0f294d;
  color: #ffffff;

  text-decoration: none;

  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.tms-track-accessories__browse-note a:hover {
  opacity: 0.9;
}

.tms-track-accessories__browse-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.tms-track-accessories__browse-grid--lineside {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tms-track-accessories__browse-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  color: #0f294d;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 35, 65, .05);
}

.tms-track-accessories__browse-image {
  aspect-ratio: 1 / .82;
  overflow: hidden;
}

.tms-track-accessories__browse-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tms-track-accessories__browse-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 58px;
  padding: 8px 9px 9px;
}

.tms-track-accessories__browse-footer h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
}

.tms-track-accessories__starter {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding: 26px 30px;
  border-radius: 14px;
  background: #faf7f0;
}

.tms-track-accessories__starter-copy h2 {
  margin: 0 0 5px;
  color: #0f294d;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
}

.tms-track-accessories__starter-copy p {
  margin: 0 0 18px;
  max-width: 520px;
  color: #0f294d;
  font-size: 14px;
  line-height: 1.5;
}

.tms-track-accessories__button {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 8px;
  background: #0f294d;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.tms-track-accessories__starter-showcase {
  min-width: 0;
}

.tms-track-accessories__starter-showcase img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

.tms-track-accessories__trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dfe7ee;
  border-radius: 12px;
  background: #f7fafc;
}

.tms-track-accessories__trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 18px;
}

.tms-track-accessories__trust-item + .tms-track-accessories__trust-item {
  border-left: 1px solid #dfe7ee;
}

.tms-track-accessories__trust-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #0f294d;
  font-size: 22px;
  font-weight: 700;
}

.tms-track-accessories__trust-item strong,
.tms-track-accessories__trust-item div span {
  display: block;
}

.tms-track-accessories__trust-item strong {
  color: #0f294d;
  font-size: 13px;
  line-height: 1.2;
}

.tms-track-accessories__trust-item div span {
  margin-top: 2px;
  color: #3c4f63;
  font-size: 12px;
  line-height: 1.25;
}

/* DESKTOP: Four reassurance tiles in one row */
@media screen and (min-width: 750px) {
  .tms-track-accessories__trust {
    display: block;
  }

  .tms-track-accessories__trust-track {
    display: block;
    width: 100%;
    animation: none;
    transform: none;
  }

  .tms-track-accessories__trust-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    padding: 0;
  }

  .tms-track-accessories__trust-group[aria-hidden="true"] {
    display: none;
  }

  .tms-track-accessories__trust-item {
    display: flex;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* MOBILE */
/* RESPONSIVE */

@media screen and (max-width: 1199px) {
  .tms-track-accessories__browse-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 989px) {
  .tms-track-accessories__inner {
    padding: 0 14px;
  }

  .tms-track-accessories__hero,
  .tms-track-accessories__hero-content {
    min-height: 380px;
  }

  .tms-track-accessories__hero-content {
    width: 65%;
    padding: 32px;
  }

  .tms-track-accessories__primary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tms-track-accessories__primary-card:last-child {
    grid-column: 1 / -1;
  }

  .tms-track-accessories__gauge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tms-track-accessories__browse-header {
    flex-direction: column;
  }

  .tms-track-accessories__browse-note {
    width: 100%;
    flex-basis: auto;
  }

  .tms-track-accessories__starter {
    grid-template-columns: 1fr;
  }

  .tms-track-accessories__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tms-track-accessories__trust-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #dfe7ee;
  }

  .tms-track-accessories__trust-item:nth-child(4) {
    border-top: 1px solid #dfe7ee;
  }
}

@media screen and (max-width: 749px) {
  .tms-track-accessories {
    padding-top: 14px;
  }

  .tms-track-accessories__hero {
    min-height: 300px;
    border-radius: 14px;
  }

  .tms-track-accessories__hero-content {
    width: 100%;
    min-height: 300px;
    justify-content: flex-end;
    padding: 28px 24px;
  }

  .tms-track-accessories__hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 10%,
      rgba(255, 255, 255, .2) 38%,
      rgba(255, 255, 255, .88) 68%,
      #fff 100%
    ) !important;
  }

  .tms-track-accessories__hero-tagline {
  position: relative;
  z-index: 4;

  padding: 14px 12px 12px;

  background: rgba(243, 238, 229, 0.88);

  border-radius: 4px;

  text-shadow: none;
}

  /* Primary feature tiles — mobile carousel */

.tms-track-accessories__primary-grid {
  display: flex;
  grid-template-columns: none;
  gap: 14px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  padding: 0 2px 10px;

  scrollbar-width: none;
}

.tms-track-accessories__primary-grid::-webkit-scrollbar {
  display: none;
}

.tms-track-accessories__primary-grid > .tms-track-accessories__primary-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
}


/* Track by Gauge — mobile remains a carousel */

.tms-track-accessories__gauge-grid {
  grid-template-columns: 1fr;
}

    /* Track by Gauge — mobile carousel */
  .tms-track-accessories__gauge-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    padding: 0 2px 10px;

    scrollbar-width: none;
  }

  .tms-track-accessories__gauge-grid::-webkit-scrollbar {
    display: none;
  }

  .tms-track-accessories__gauge-grid > * {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .tms-track-accessories__primary-card:last-child {
    grid-column: auto;
  }

    /* Lineside & Trackside Accessories — mobile carousel */

  .tms-track-accessories__browse-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    padding: 0 2px 10px;

    scrollbar-width: none;
  }

  .tms-track-accessories__browse-grid::-webkit-scrollbar {
    display: none;
  }

  .tms-track-accessories__browse-grid > .tms-track-accessories__browse-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  
  .tms-track-accessories__panel {
    padding: 18px;
  }

  /* =========================================================
   MOBILE — REMOVE PRODUCT TILE ARROWS
   ========================================================= */

.tms-track-accessories__browse-card .tms-track-accessories__small-arrow {
  display: none;
}

  /* =========================================================
REASSURANCE BAR — MOBILE CONTINUOUS CSS CAROUSEL
========================================================= */

.tms-track-accessories__trust {
display: block;
position: relative;
width: 100%;
overflow: hidden;
padding: 0 2px 8px;
box-sizing: border-box;
}

.tms-track-accessories__trust-track {
display: flex;
width: max-content;
gap: 0;
animation: tmsTrackAccessoriesTrustScroll 28s linear infinite;
will-change: transform;
}

.tms-track-accessories__trust-group {
display: flex;
flex: 0 0 auto;
gap: 12px;
padding-right: 12px;
box-sizing: border-box;
}

.tms-track-accessories__trust-item {
flex: 0 0 68vw;
width: 68vw;
min-width: 68vw;
box-sizing: border-box;
scroll-snap-align: none;
}

/* Remove the old stacked-card divider */
.tms-track-accessories__trust-item + .tms-track-accessories__trust-item {
border-left: 0;
border-top: 0;
}

@keyframes tmsTrackAccessoriesTrustScroll {
from {
transform: translateX(0);
}

to {
transform: translateX(-50%);
}
}


/* Remove the old stacked-card divider */
.tms-track-accessories__trust-item + .tms-track-accessories__trust-item {
  border-left: 0;
  border-top: 0;
}

  .tms-track-accessories__starter {
    padding: 22px 18px;
  }



