/** Shopify CDN: Minification failed

Line 738:17 Expected identifier but found whitespace
Line 738:22 Unexpected ";"

**/
/*=============================================================================

The Model Shop
TMS Paint Hub

Author
------
ChatGPT & Darren

Version
-------
1.0

Purpose
-------
Visual system for the Paints & Accessories landing page.

Responsibilities
----------------
• Large modelling-paint hero
• Paint type and finish guide
• Paint and accessory category grid
• Service reassurance strip
• Responsive behaviour

Design Principles
-----------------
• Beginner friendly
• Strong visual merchandising
• Clear separation between paint guidance and shopping
• Consistent with the TMS visual framework

=============================================================================*/


/* --------------------------------------------------
   Paint Hub
   -------------------------------------------------- */

.tms-paint-hub {
  width: 100%;
  background: #ffffff;
  padding: 0 0 72px;
}

.tms-paint-hub__inner {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 32px;
}


/* --------------------------------------------------
   Hero
   -------------------------------------------------- */

.tms-paint-hub__hero {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);

  height: 390px;
  min-height: 390px;

  overflow: hidden;
  background: #0f2341;
}

.tms-paint-hub__hero-image {
  position: absolute;
  inset: 0;
}

.tms-paint-hub__hero-image img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center center;
}

.tms-paint-hub__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.94) 25%,
      rgba(0, 0, 0, 0.78) 45%,
      rgba(0, 0, 0, 0.35) 68%,
      rgba(0, 0, 0, 0.05) 100%
    ) !important;
}

.tms-paint-hub__hero-content {
  position: relative;
  z-index: 2;

  max-width: 560px;

  padding: 24px 40px;
}

.tms-paint-hub__hero-eyebrow {
  margin: 0 0 12px;

  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;

  color: #ffffff;
}

.tms-paint-hub__hero-heading {
  margin: 0;

  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.03;
  font-weight: 800;

  color: #ffffff;
}

.tms-paint-hub__hero-text {
  max-width: 560px;
  margin-top: 22px;

  font-size: 19px;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.92);
}

.tms-paint-hub__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 22px;
}

.tms-paint-hub__hero-button {
  display: inline-flex;
  align-items: center;

  min-height: 44px;
  padding: 11px 18px;

  border-radius: 5px;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease;
}

.tms-paint-hub__hero-button:hover {
  transform: translateY(-1px);
}

.tms-paint-hub__hero-button--primary {
  background: #0f5eb7;
  color: #ffffff;
}

.tms-paint-hub__hero-button--primary:hover {
  background: #0f2341;
}

.tms-paint-hub__hero-button--secondary {
  background: #ffffff;
  color: #0f2341;
}

.tms-paint-hub__hero-button--secondary:hover {
  background: #f4efe4;
}


/* --------------------------------------------------
   Paint Guide
   -------------------------------------------------- */

.tms-paint-hub__guide {
  margin-top: 10px;
}

.tms-paint-hub__guide-heading {
  margin: 0 0 24px;

  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;

  color: #0f2341;
  text-align: center;
}

.tms-paint-hub__guide-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}


/* --------------------------------------------------
   Paint Guide Card
   -------------------------------------------------- */

.tms-paint-hub__guide-card {
  display: flex;
  flex-direction: column;

  min-width: 0;

  padding: 22px;

  background: #f8f5f0;
  border: 1px solid #e5e0d8;
  border-radius: 14px;

  text-decoration: none;
  color: #0f2341;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

.tms-paint-hub__guide-card:hover {
  transform: translateY(-4px);

  border-color: #cfc6b7;

  box-shadow: 0 10px 26px rgba(15, 35, 65, 0.10);
}


/* --------------------------------------------------
   Guide Icon
   -------------------------------------------------- */

.tms-paint-hub__guide-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  margin-bottom: 18px;

  border-radius: 50%;

  background: #0f5eb7;
  color: #ffffff;

  font-size: 18px;
  font-weight: 700;
}

.tms-paint-hub__guide-icon span {
  width: 12px;
  height: 12px;

  border-radius: 50%;

  background: #ffffff;
}


.tms-paint-hub__guide-title {
  margin: 0;

  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;

  color: #0f2341;
}

.tms-paint-hub__guide-description {
  margin: 10px 0 18px;

  font-size: 14px;
  line-height: 1.55;

  color: #55616f;
}

.tms-paint-hub__guide-link {
  margin-top: auto;

  font-size: 13px;
  font-weight: 700;

  color: #0f5eb7;
}


/* --------------------------------------------------
   Shop the Range
   -------------------------------------------------- */

.tms-paint-hub__range {
  margin-top: 58px;
}

.tms-paint-hub__range-heading {
  margin: 0;

  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;

  color: #0f2341;
}

.tms-paint-hub__range-description {
  max-width: 780px;
  margin-top: 12px;

  font-size: 16px;
  line-height: 1.55;

  color: #55616f;
}


/* --------------------------------------------------
   Paint Category Grid
   -------------------------------------------------- */

.tms-paint-hub__range-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;

  margin-top: 28px;
}


/* --------------------------------------------------
   Paint Category Card
   -------------------------------------------------- */

.tms-paint-hub__category-card {
  display: flex;
  flex-direction: column;

  min-width: 0;

  background: #ffffff;
  border: 1px solid #e5e0d8;
  border-radius: 12px;

  overflow: hidden;

  text-decoration: none;
  color: #0f2341;

  box-shadow: 0 6px 18px rgba(15, 35, 65, 0.07);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.tms-paint-hub__category-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 12px 28px rgba(15, 35, 65, 0.12);
}


/* --------------------------------------------------
   Category Image
   -------------------------------------------------- */

.tms-paint-hub__category-image {
  width: 100%;
  aspect-ratio: 1 / 1;

  overflow: hidden;

  background: #faf8f4;
}

.tms-paint-hub__category-image img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;

  transition: transform .35s ease;
}

.tms-paint-hub__category-card:hover
.tms-paint-hub__category-image img {
  transform: scale(1.04);
}


/* --------------------------------------------------
   Category Content
   -------------------------------------------------- */

.tms-paint-hub__category-content {
  display: flex;
  flex-direction: column;
  flex: 1;

  padding: 15px 15px 17px;
}

.tms-paint-hub__category-title {
  margin: 0;

  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;

  color: #0f2341;
}

.tms-paint-hub__category-description {
  margin: 8px 0 14px;

  font-size: 12px;
  line-height: 1.45;

  color: #596575;
}

.tms-paint-hub__category-link {
  margin-top: auto;

  display: inline-flex;
  align-items: center;

  font-size: 12px;
  font-weight: 700;

  color: #0f5eb7;
}


/* --------------------------------------------------

   Service Strip

   -------------------------------------------------- */

.tms-paint-hub__service-strip {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  margin-top: 34px;

  background: #f8f5f0;

  border: 1px solid #e5e0d8;

  border-radius: 12px;

  overflow: hidden;

}

.tms-paint-hub__service-item {

  display: flex;

  align-items: center;

  gap: 12px;

  min-height: 74px;

  padding: 12px 18px;

  border-right: 1px solid #e5e0d8;

}

.tms-paint-hub__service-item:last-child {

  border-right: 0;

}

.tms-paint-hub__service-icon {

  flex: 0 0 22px;

  width: 22px;

  height: 22px;

  color: #0f2341;

}

.tms-paint-hub__service-icon svg {

  display: block;

  width: 22px;

  height: 22px;

  stroke: currentColor;

}

.tms-paint-hub__service-text {

  min-width: 0;

}

.tms-paint-hub__service-item strong {

  font-size: 12px;

  line-height: 1.2;

  font-weight: 700;

  color: #0f2341;

}

.tms-paint-hub__service-item span {

  margin-left: 4px;

  font-size: 11px;

  line-height: 1.45;

  color: #687485;

}

/* --------------------------------------------------
   Tablet
   -------------------------------------------------- */

@media screen and (max-width: 1200px) {

  .tms-paint-hub__range-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tms-paint-hub__guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}


@media screen and (max-width: 900px) {

  .tms-paint-hub__inner {
    padding: 0 24px;
  }

  .tms-paint-hub__hero {
    min-height: 460px;
  }

  .tms-paint-hub__hero-content {
    padding: 72px 48px;
  }

  .tms-paint-hub__hero-heading {
    font-size: 48px;
  }

  .tms-paint-hub__guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tms-paint-hub__range-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tms-paint-hub__service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tms-paint-hub__service-item:nth-child(2) {
    border-right: 0;
  }

  .tms-paint-hub__service-item:nth-child(-n+2) {
    border-bottom: 1px solid #e5e0d8;
  }

}


/* --------------------------------------------------
   Mobile
   -------------------------------------------------- */

@media screen and (max-width: 749px) {

  .tms-paint-hub {
    padding-bottom: 54px;
  }

  .tms-paint-hub__inner {
    padding: 0 18px;
  }

  .tms-paint-hub__hero {
    min-height: 520px;
    border-radius: 0 0 14px 14px;
  }

  .tms-paint-hub__hero-content {
    padding: 72px 28px;
  }

  .tms-paint-hub__hero-heading {
    font-size: 38px;
  }

  .tms-paint-hub__hero-text {
    font-size: 16px;
  }

  .tms-paint-hub__hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .tms-paint-hub__hero-button {
    width: auto;
  }

  .tms-paint-hub__guide {
    margin-top: 42px;
  }

  .tms-paint-hub__guide-heading,
  .tms-paint-hub__range-heading {
    font-size: 28px;
  }

  .tms-paint-hub__guide-grid {
    grid-template-columns: 1fr;
  }

  .tms-paint-hub__range {
    margin-top: 46px;
  }

  .tms-paint-hub__range-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .tms-paint-hub__category-content {
    padding: 13px;
  }

  .tms-paint-hub__category-title {
    font-size: 15px;
  }

  .tms-paint-hub__service-strip {
    grid-template-columns: 1fr;
  }

  .tms-paint-hub__service-item {
    border-right: 0;
    border-bottom: 1px solid #e5e0d8;
  }

  .tms-paint-hub__service-item:last-child {
    border-bottom: 0;
  }

}

/* =========================================================
   Paint Hero - reliable left-side shading
   ========================================================= */

.tms-paint-hub__hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tms-paint-hub__hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

    background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.76) 22%,
      rgba(0, 0, 0, 0.55) 40%,
      rgba(0, 0, 0, 0.22) 64%,
      rgba(0, 0, 0, 0.03) 100%
    );
}

  pointer-events: none;
}

.tms-paint-hub__hero-image img {
  position: relative;
  z-index: 0;
}

.tms-paint-hub__hero-overlay {
  display: none !important;
}

.tms-paint-hub__hero-content {
  position: relative;
  z-index: 2;
}


/* =========================================================
   TMS PAINT HUB
   MOBILE REFINEMENTS — FINAL
   ========================================================= */

@media screen and (max-width: 749px) {

  /* -------------------------------------------------------
     HERO
     ------------------------------------------------------- */

  .tms-paint-hub__hero {
  height: 430px;
  min-height: 430px;
}

  .tms-paint-hub__hero-text {
    max-width: 330px;
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  }


  /* -------------------------------------------------------
     CHOOSE THE RIGHT PAINT
     ------------------------------------------------------- */

  .tms-paint-hub__guide-heading {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}


  /* -------------------------------------------------------
     PAINT GUIDE — 2½ CARDS VISIBLE
     ------------------------------------------------------- */

  .tms-paint-hub__guide-grid {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    padding: 0 0 5px;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tms-paint-hub__guide-grid::-webkit-scrollbar {
    display: none;
  }

  .tms-paint-hub__guide-card {
  flex: 0 0 40%;
  width: 40%;
  min-width: 0;
}


  /* Slightly tighter cards */

  .tms-paint-hub__guide-card-inner {
    padding: 16px;
  }


  /* -------------------------------------------------------
     SHOP PAINTS
     ------------------------------------------------------- */

  .tms-paint-hub__range-description {
    max-width: 340px;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
  }


  /* -------------------------------------------------------
     SHOP PAINTS — 2½ CARDS VISIBLE
     ------------------------------------------------------- */

  .tms-paint-hub__range-grid {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    margin-top: 16px;
    padding: 0 0 5px;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tms-paint-hub__range-grid::-webkit-scrollbar {
    display: none;
  }

  .tms-paint-hub__category-card {
  flex: 0 0 40%;
  width: 40%;
  min-width: 0;
}


  /* -------------------------------------------------------
     TRUST BAR — PREP FOR GLOBAL.JS CAROUSEL
     ------------------------------------------------------- */

  .tms-paint-hub__service-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;

    width: 100%;
    overflow: hidden;

    margin-top: 28px;
  }

  .tms-paint-hub__service-item {
    flex: 0 0 78%;
    min-width: 0;
  }

}
/* =========================================================
   TMS PAINT HUB — CONTINUOUS MOBILE REASSURANCE CAROUSEL
   Desktop and tablet layouts remain static.
   ========================================================= */

/* Viewport: retains the existing reassurance bar appearance */
.tms-paint-hub__service-viewport {
  width: 100%;
  margin-top: 34px;
  background: #f8f5f0;
  border: 1px solid #e5e0d8;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Desktop: four cards in one row */
.tms-paint-hub__service-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.tms-paint-hub__service-set {
  display: contents;
}

/* The duplicate is only needed for mobile animation */
.tms-paint-hub__service-set--clone {
  display: none;
}


/* =========================================================
   TABLET — TWO COLUMNS
   ========================================================= */

@media screen and (min-width: 750px) and (max-width: 900px) {

  .tms-paint-hub__service-viewport {
    margin-top: 34px;
  }

  .tms-paint-hub__service-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tms-paint-hub__service-item:nth-child(2) {
    border-right: 0;
  }

  .tms-paint-hub__service-item:nth-child(-n+2) {
    border-bottom: 1px solid #e5e0d8;
  }

}


/* =========================================================
   MOBILE — CONTINUOUS REASSURANCE CAROUSEL
   ========================================================= */

@media screen and (max-width: 749px) {

  .tms-paint-hub__service-viewport {
    width: 100%;
    margin-top: 28px;
    overflow: hidden;
    border-radius: 12px;
  }

  .tms-paint-hub__service-track {
    display: flex;
    width: max-content;
    animation: tms-paint-hub-service-scroll 28s linear infinite;
    will-change: transform;
  }

  .tms-paint-hub__service-set {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }

  .tms-paint-hub__service-set--clone {
    display: flex;
  }

  .tms-paint-hub__service-item {
    flex: 0 0 78vw;
    width: 78vw;
    min-width: 0;
    box-sizing: border-box;
    border-right: 1px solid #e5e0d8;
    border-bottom: 0;
  }

  .tms-paint-hub__service-item:last-child {
    border-right: 0;
  }

  @keyframes tms-paint-hub-service-scroll {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }

}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tms-paint-hub__service-track {
    animation: none;
  }
}