/* Keep the enquiry colour pair together where the contact template sets its own background. */
html body .mc2-support-contact-form .ts-enquiry-form button.ts-button.mc11-whatsapp {
  background: #25d366 !important;
  color: #102a1a !important;
}

html body .ts-direct-contact__options .ts-button.mc11-whatsapp,
html body .mc11-whatsapp.mc11-whatsapp :is(.ts-whatsapp-control__label, .ts-button-whatsapp__label, .ts-contact-methods__whatsapp-label) {
  color: #102a1a !important;
  text-shadow: none;
}

html body .ts-contact-method--primary.mc11-whatsapp > img.mc11-wa-icon:has(+ .ts-parity-icon--whatsapp) {
  display: none;
}

/* These forms keep the native picker and match the surrounding fields. */
#mc2-enquiry select,
.mc-home-polish .ts-enquiry-form select {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  font-size: 16px;
}

@media (max-width: 760px) {
  #mc2-enquiry select,
  .mc-home-polish .ts-enquiry-form select {
    appearance: none;
    border: 1px solid #a9a8a4;
    border-radius: 0;
    color: #161813;
    background: #fff;
    padding-right: 38px;
  }
  #mc2-enquiry label:has(> select),
  .mc-home-polish .ts-enquiry-form label:has(> select) {
    position: relative;
  }
  #mc2-enquiry label:has(> select)::after,
  .mc-home-polish .ts-enquiry-form label:has(> select)::after {
    content: '';
    position: absolute;
    right: 16px;
    bottom: 20px;
    width: 8px;
    height: 8px;
    border: solid #161813;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
    pointer-events: none;
  }
}

/* Give the selected review the same readable width at desktop and phone sizes. */
.ts-live-feedback-carousel .ts-feedback-slide {
  width: min(calc(100% - 36px), 660px);
  left: 50%;
}
.ts-live-feedback-carousel:not(.ts-is-dragging) :is(.ts-feedback-slide.ts-is-prev, .ts-feedback-slide.ts-is-next):not(.ts-is-active) {
  visibility: hidden;
  opacity: 0;
}
.ts-live-feedback-carousel .ts-feedback-slide.ts-is-active blockquote {
  max-width: 620px;
}
.mc-qa-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 4px auto 25px;
  color: inherit;
  font-size: 12px;
}
.mc-qa-carousel-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.mc-qa-carousel-controls button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.mc-qa-carousel-controls svg {
  width: 15px;
  height: 15px;
}
.mc-qa-carousel-controls output {
  min-width: 42px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.mc-home-polish.mc-qa-home-opening .ts-whatsapp-float {
  visibility: hidden;
}

.mc-home-polish .ts-legacy-home-hero::after {
  background: linear-gradient(180deg, rgba(5, 5, 5, .69), rgba(5, 5, 5, .48) 56%, rgba(5, 5, 5, .45) 85%, #f4f4f4 100%),
    radial-gradient(ellipse at 50% 42%, transparent 35%, rgba(0, 0, 0, .38) 100%);
}
@media (max-width: 850px) {
  .mc-home-polish .ts-legacy-proof-carousel {
    display: none;
  }
  .mc-home-polish .ts-legacy-proof {
    display: grid;
    gap: clamp(4px, 1.5vw, 12px);
    width: calc(100% - 28px);
    margin-top: -52px;
  }
  .mc-home-polish .ts-legacy-proof article {
    min-height: 104px;
    padding: 9px 3px;
  }
  .mc-home-polish .ts-legacy-proof article strong {
    font-size: clamp(13px, 4vw, 18px);
  }
}

@media (min-width: 851px) {
  .ts-complete-work-grid:has(> figure:nth-child(3):last-child) > figure:nth-child(3) {
    grid-column: 2 / -1;
  }
}
