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

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

:root {
  /* Brand colors */
  --brand-red: #CF4028;
  --brand-blue: #19C5D9;
  --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);
}

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

/* =========================================================
   Header
   ========================================================= */
.header {
	padding: 2em 0;
}
.header__links {
	font-family: var(--slideshow-heading-font-family);
}

/* =========================================================
   Front Page
   ========================================================= */
/* 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;
}

/* =========================================================
   Product Details
   ========================================================= */

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

/* Product UL LI "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;
}

/* =========================================================
   Alerts, Boxes & Notes
   ========================================================= */

.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);
}

/* Colors */
.text-red {
  color: var(--brand-red) !important;
}
.text-blue {
  color: var(--brand-blue) !important;
}
.text-dark {
color: var(--brand-dark) !important;
}
.text-light {
color: var(--brand-light) !important;
}


/* =========================================================
   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;
}


/* =========================================================
   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;
}

/* 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;
  }
}

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


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


/* =========================================================
   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;
  }
}
