/*
 * A LA MODE designs Custom CSS -- V2021.06.13
 */

/*
 * AquaSeal Trademark Theme Custom Styles
 * Temporary stabilization layer for the live Trademark theme.
 */

/* =========================================================
   01. Root Variables
   ========================================================= */

:root {
  /* Brand colors */
  --brand-red: #CF4028;
  --brand-blue: #19C5D9;
  --brand-yellow: #F4B400;
  --brand-dark: #313131;
  --brand-light: #e4e4e4;
  --brand-gray: #707070;
  --brand-white: #ffffff;

  /* Reusable UI values */
  --aq-radius-sm: 7px;
  --aq-shadow-soft: 0 29px 47px -29px rgba(0, 0, 0, 0.3);
}


/* =========================================================
   02. Global Typography / RTE
   ========================================================= */

.rte h2,
.rte h3,
.rte h4,
.rte h5,
.rte h6 {
  text-wrap: balance;
}


/* =========================================================
   03. Utility Classes
   ========================================================= */

/* Text color utilities */
.text-red {
  color: var(--brand-red) !important;
}

.text-blue {
  color: var(--brand-blue) !important;
}

.text-yellow {
  color: var(--brand-yellow) !important;
}

.text-dark {
  color: var(--brand-dark) !important;
}

.text-light {
  color: var(--brand-light) !important;
}

.text-white {
  color: var(--brand-white) !important;
}


/* =========================================================
   04. Announcement Bar
   ========================================================= */

.announcement-bar {
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--brand-white);
}


/* =========================================================
   05. Header
   ========================================================= */

.header {
  padding: 2em 0;
}

.header__links {
  font-family: var(--slideshow-heading-font-family);
}

/* Trademark: prevent mobile header logo from causing horizontal overflow */
@media screen and (max-width: 749px) {
  .header__inner {
    min-width: 0;
  }

  .header__logo,
  .header__logo-link {
    min-width: 0;
    max-width: 58vw !important;
  }

  .header__logo-image,
  .header__logo-image--desktop {
    display: block;
    width: auto;
    max-width: 100% !important;
    height: auto;
  }
}


/* =========================================================
   06. Homepage / Front Page
   ========================================================= */

/* Slideshow: remove Trademark homepage section margin */
.template-index .section {
  margin: 120px 0 0;
}

/* Section: Leader in Innovation */
.image-background__title.h1 {
  line-height: 1.25;
}

/* Section: Shop Collections */
.collection-item__title.h4 {
  text-transform: uppercase;
  font-size: 1.35rem;
  font-family: var(--slideshow-heading-font-family);
  text-align: center;
}

.collection__title {
  word-break: keep-all;
}


/* =========================================================
   07. Slideshow
   ========================================================= */

#shopify-section-slideshow .fs-slideshow__heading {
  max-width: 768px;
  margin-bottom: 30px;
  font-size: clamp(2.5rem, 5vw, 4.125rem);
  word-break: keep-all;
  text-wrap: balance;
}

#shopify-section-slideshow .fs-slideshow__subheading {
  max-width: 768px;
  margin-bottom: 30px;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  word-break: keep-all;
  text-wrap: balance;
}


/* =========================================================
   08. Homepage Intro / Safety Surfacing Section
   ========================================================= */

#shopify-section-custom_html_NJnEBd .aq-intro-section {
  background-color: var(--brand-white);
  padding: clamp(4rem, 8vw, 8rem) 1.5rem;
}

#shopify-section-custom_html_NJnEBd .aq-intro-left h2,
#shopify-section-custom_html_NJnEBd .rte .aq-intro-left h2 {
  margin: 0 0 2rem;
  color: var(--brand-dark) !important;
  font-family: var(--slideshow-heading-font-family);
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  text-wrap: balance;
}

#shopify-section-custom_html_NJnEBd .html.rte p.aq-intro-lead {
  max-width: 440px;
  color: var(--brand-red) !important;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.45;
}

#shopify-section-custom_html_NJnEBd .aq-intro-right {
  color: var(--brand-dark);
  font-size: 1rem;
  line-height: 1.75;
}

#shopify-section-custom_html_NJnEBd .aq-intro-right p {
  margin: 0 0 2rem;
}

/* Trademark: style normal text links in AquaSeal intro copy, but exclude buttons */
#shopify-section-custom_html_NJnEBd .aq-intro-right a:not(.button):not([class*="button"]) {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: underline;
}

#shopify-section-custom_html_NJnEBd .aq-intro-right h3,
#shopify-section-custom_html_NJnEBd .rte .aq-intro-right h3 {
  margin: 2.5rem 0 1.5rem;
  color: var(--brand-dark) !important;
  font-family: var(--slideshow-heading-font-family);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

#shopify-section-custom_html_NJnEBd .aq-intro-callout {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background-color: rgba(25, 197, 217, 0.3);
  border-radius: var(--aq-radius-sm);
}

#shopify-section-custom_html_NJnEBd .aq-intro-callout h4,
#shopify-section-custom_html_NJnEBd .rte .aq-intro-callout h4 {
  margin: 0 0 0.5rem;
  color: var(--brand-red) !important;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}


/* =========================================================
   09. Product Details
   ========================================================= */

/* Product title */
h1.product__title.h2 {
  font-size: 3em;
}

/* Product description list-item headline */
.product__li-headline {
  color: var(--brand-red);
  font-weight: 700;
}

/* Product Details: Download Spec Sheet headline */
.spec-sheet--headline {
  margin-top: 2em;
}

.product__h3-headline {
  color: var(--brand-red);
}

.product--callout {
  color: var(--brand-red) !important;
}


/* =========================================================
   10. Reusable Box Components
   ========================================================= */

.alert-box,
.note-box,
.contact-box {
  border-radius: var(--aq-radius-sm);
  box-shadow: var(--aq-shadow-soft);
  color: var(--brand-white);
  font-size: 1.1rem;
  margin: 1em 0;
  padding: 1em;
}

.alert-box {
  background-color: var(--brand-red);
}

.note-box {
  background-color: var(--brand-blue);
}

.contact-box {
  background-color: var(--brand-dark);
}

.note-box a:link,
.note-box a:visited,
.contact-box a:link,
.contact-box a:visited {
  color: var(--brand-red);
  font-size: 1.1rem;
  font-weight: 700;
}

.note-box a:hover,
.note-box a:focus,
.contact-box a:hover,
.contact-box a:focus {
  text-decoration: underline;
}

.contact-box h3 {
  color: var(--brand-white);
}


/* =========================================================
   11. Alert Components
   ========================================================= */

/* Alert components: reusable callout styles for product descriptions and custom content */
.alert {
  border-radius: 0.4375rem;
  padding: 1rem;
}

.alert > :last-child {
  margin-bottom: 0;
}

.alert-primary {
  background-color: #cf4028;
  color: #ffffff;
}

/* Primary alerts: keep links readable on red backgrounds */
.alert.alert-primary p a,
.alert.alert-primary a,
.alert.alert-primary a:link,
.alert.alert-primary a:visited,
.alert.alert-primary a:hover,
.alert.alert-primary a:focus,
.alert.alert-primary a:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration-color: #ffffff !important;
}

.alert-info {
  background-color: #19c5d9;
  color: #ffffff;
}

.alert-info-light {
  background-color: #bbebf1;
  color: #313131;
}

.alert-dark {
  background-color: #313131;
  color: #ffffff;
}

.alert-secondary {
  background-color: #b0b0b0;
  color: #313131;
}

.alert-light {
  background-color: #f1f1f1;
  color: #313131;
}

/* Dark alerts: keep links readable on dark backgrounds */
.alert.alert-dark p a,
.alert.alert-dark a,
.alert.alert-dark a:link,
.alert.alert-dark a:visited,
.alert.alert-dark a:hover,
.alert.alert-dark a:focus,
.alert.alert-dark a:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration-color: #ffffff !important;
}


/* =========================================================
   12. Footer
   ========================================================= */

.footer {
  background-color: var(--brand-dark);
  color: var(--brand-white);
}

.footer p,
.footer li,
.footer span,
.footer a {
  color: var(--brand-white);
}

.footer a:hover,
.footer a:focus {
  color: var(--brand-blue);
  text-decoration: underline;
}

.footer .footer__title {
  color: var(--footer-title-color, var(--brand-white)) !important;
  font-size: 1.25rem;
}

@media screen and (min-width: 1000px) {
  .footer__content--balanced {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
  }

  .footer__content--balanced .footer__block {
    width: auto;
  }

  .footer__block--text {
    max-width: 24rem;
  }
}