/**
 * EPIMAX Products — front-end styles.
 */

.epimax-products {
  --epimax-product-colour: #e6007e;
  --epimax-buy-now-label-colour: #ffffff;
  --epimax-size-active-colour: #231e46;
  --epimax-magenta: #e6007e;
  --epimax-ink: #231e46;
  --epimax-text: #5c5870;
  --epimax-muted: #8a8699;
  --epimax-surface: #ffffff;
  --epimax-line: #e4e2ea;
  --epimax-scale-dot: #c5d5e8;
  --epimax-radius-card: 18px;
  --epimax-radius-pill: 999px;
  --epimax-radius-btn: 999px;
  --epimax-space-1: 0.5rem;
  --epimax-space-2: 1rem;
  --epimax-space-3: 1.5rem;
  --epimax-space-4: 2rem;
  --epimax-space-5: 3rem;
  --epimax-shadow-card: 0 12px 30px rgba(35, 30, 70, 0.1);
  color: var(--epimax-text);
  box-sizing: border-box;
}

.epimax-products *,
.epimax-products *::before,
.epimax-products *::after {
  box-sizing: inherit;
}

.epimax-products img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Shared components */
.epimax-card__tag {
  display: inline-block;
  border: 1px solid var(--epimax-line);
  border-radius: var(--epimax-radius-pill);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--epimax-ink);
  background: transparent;
}

#top #wrap_all #main .epimax-products .epimax-single__tag,
.epimax-single__tag {
  display: inline-block;
  border: 1px solid var(--epimax-ink);
  border-radius: var(--epimax-radius-pill);
  padding: calc(0.25rem - 2px) 0.75rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--epimax-ink);
  background: transparent;
}

.epimax-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--epimax-radius-card);
  box-shadow: var(--epimax-shadow-card);
  background: var(--epimax-surface);
}

.epimax-card__media {
  position: relative;
}

.epimax-card__tag {
  position: absolute;
  top: var(--epimax-space-2);
  right: var(--epimax-space-2);
  z-index: 1;
}

.epimax-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: var(--epimax-space-1);
  padding: var(--epimax-space-3);
}

.epimax-card__title {
  margin: 0;
  color: var(--epimax-ink);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.epimax-card__description {
  margin: 0;
  line-height: 1.6;
}

.epimax-card__link {
  color: var(--epimax-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  margin-top: auto;
}

.epimax-card__link:hover,
.epimax-card__link:focus-visible {
  opacity: 0.85;
}

.epimax-card--clickable {
  cursor: pointer;
}

.epimax-card--clickable:focus-visible {
  outline: 2px solid var(--epimax-ink);
  outline-offset: 2px;
}

/* Grid */
.epimax-grid-filters {
  margin-bottom: var(--epimax-space-3);
}

.epimax-grid-filters__label {
  display: block;
  color: var(--epimax-ink);
  font-size: 1rem;
  margin-bottom: var(--epimax-space-1);
}

.epimax-grid-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--epimax-space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

#top #wrap_all #main .epimax-products .epimax-grid-filters__list,
#top #wrap_all #main .epimax-products .epimax-grid-filters__list li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#top #wrap_all #main .epimax-products .epimax-grid-filters__list li::before,
#top #wrap_all #main .epimax-products .epimax-grid-filters__list li::marker {
  content: none !important;
  display: none !important;
}

.epimax-filter {
  appearance: none;
  border: 1px solid var(--epimax-ink);
  border-radius: var(--epimax-radius-pill);
  background: transparent;
  color: var(--epimax-ink);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  text-transform: uppercase;
  transform-origin: center center;
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) {
  .epimax-filter:not(:disabled):not(.is-disabled):hover,
  .epimax-filter:not(:disabled):not(.is-disabled):focus-visible {
    transform: scale(1.02);
  }
}

.epimax-filter.is-active,
.epimax-filter[aria-pressed="true"] {
  background: var(--epimax-ink);
  color: #fff;
}

.epimax-filter.is-disabled,
.epimax-filter:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.epimax-filter:focus-visible {
  outline: 2px solid var(--epimax-product-colour);
  outline-offset: 2px;
}

.epimax-grid__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--epimax-space-3);
}

.epimax-card.epimax-card--grid {
  background: transparent;
  transform-origin: center center;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.epimax-card--grid .epimax-card__hit {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.epimax-card--grid .epimax-card__hit:focus {
  outline: none;
}

.epimax-card--grid:has(.epimax-card__hit:focus-visible) {
  outline: 2px solid var(--epimax-ink);
  outline-offset: 2px;
}

.epimax-card.epimax-card--grid .epimax-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--epimax-radius-card);
}

.epimax-card--grid .epimax-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(35, 30, 70, 0.3);
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  transition: opacity 0.35s ease;
}

.epimax-card--grid .epimax-card__image {
  display: block;
  width: 100%;
  height: auto;
}

.epimax-card--grid .epimax-card__tag {
  z-index: 3;
  border-color: var(--epimax-ink);
  transition: color 0.35s ease, border-color 0.35s ease;
}

.epimax-card--grid .epimax-card__body--grid-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 2.5rem var(--epimax-space-3) var(--epimax-space-3);
  background: transparent;
}

.epimax-card--grid .epimax-card__title {
  color: var(--epimax-ink);
  transition: color 0.35s ease;
}

.epimax-card--grid .epimax-card__description {
  color: var(--epimax-text);
  transition: color 0.35s ease;
}

.epimax-card--grid .epimax-card__link {
  display: inline-block;
  color: var(--epimax-ink);
  border-bottom: 1px solid var(--epimax-ink);
  transition: color 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

@media (hover: hover) {
  .epimax-card--grid .epimax-card__hit:hover .epimax-card__media::before,
  .epimax-card--grid .epimax-card__hit:focus-visible .epimax-card__media::before {
    opacity: 1;
  }

  .epimax-card--grid .epimax-card__hit:hover .epimax-card__title,
  .epimax-card--grid .epimax-card__hit:focus-visible .epimax-card__title,
  .epimax-card--grid .epimax-card__hit:hover .epimax-card__description,
  .epimax-card--grid .epimax-card__hit:focus-visible .epimax-card__description,
  .epimax-card--grid .epimax-card__hit:hover .epimax-card__link,
  .epimax-card--grid .epimax-card__hit:focus-visible .epimax-card__link {
    color: #fff;
    border-bottom-color: #fff;
    opacity: 1;
  }

  .epimax-card--grid .epimax-card__hit:hover .epimax-card__tag,
  .epimax-card--grid .epimax-card__hit:focus-visible .epimax-card__tag {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
  }
}

.epimax-card.epimax-card--grid:not(.is-filtered-out):not(.is-filter-settling):has(.epimax-card__hit:hover),
.epimax-card.epimax-card--grid:not(.is-filtered-out):not(.is-filter-settling):has(.epimax-card__hit:focus-visible) {
  transform: scale(1.02);
  z-index: 1;
}

.epimax-card.epimax-card--grid.is-filtered-out {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.epimax-card.epimax-card--grid.is-filter-settling {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.epimax-card.epimax-card--grid.is-filter-settling.is-filter-settling--instant {
  transition: none !important;
}

.epimax-card.epimax-card--grid.is-filtered-hidden {
  display: none !important;
}

.epimax-grid__empty {
  grid-column: 1 / -1;
}

/* Tsunami */
.epimax-products.epimax-tsunami {
  overflow: visible;
}

.epimax-tsunami {
  --epimax-tsunami-featured-width: clamp(18.7rem, 23.1vw, 25.3rem);
  --epimax-tsunami-gap: 1.5625rem;
  /* Align with Enfold .container content edge (max-width 1010px, padding 50px). */
  --epimax-tsunami-intro-inset: calc(50px + max(0px, (100vw - 1010px) / 2));
  --epimax-tsunami-controls-gap: clamp(2.5rem, 4.5vh, 3.75rem);
}

.epimax-tsunami__stage {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  min-height: 32rem;
  padding-bottom: 2rem;
}

.epimax-tsunami__intro {
  position: absolute;
  top: 0;
  left: var(--epimax-tsunami-intro-inset);
  z-index: 3;
  max-width: min(22rem, calc(100vw - (var(--epimax-tsunami-intro-inset) * 2)));
  min-width: 0;
  pointer-events: auto;
}

.epimax-tsunami__carousel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  padding-top: clamp(12.5rem, 28vh, 16.5rem);
}

.epimax-tsunami__eyebrow {
  margin: 0 0 var(--epimax-space-1);
  color: var(--epimax-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#top #wrap_all #main .epimax-products .epimax-tsunami__heading,
.epimax-tsunami__heading {
  margin: 0 0 var(--epimax-space-2);
  color: var(--epimax-ink);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.15;
  opacity: 0.6;
}

.epimax-tsunami__heading .epimax-reg {
  font-size: 0.55em;
  line-height: 0;
  position: relative;
  top: -0.35em;
  vertical-align: baseline;
}

.epimax-tsunami__text {
  margin: 0;
  line-height: 1.6;
}

.epimax-tsunami__controls {
  display: flex;
  gap: var(--epimax-space-1);
  margin-top: var(--epimax-space-3);
  margin-bottom: var(--epimax-tsunami-controls-gap);
}

.epimax-carousel-control {
  width: 44px;
  height: 44px;
  border: 1px solid var(--epimax-ink);
  border-radius: 4px;
  background: transparent;
  color: var(--epimax-ink);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.epimax-carousel-control:hover,
.epimax-carousel-control:focus-visible {
  background: var(--epimax-ink);
  color: #fff;
}

.epimax-carousel-control:focus-visible {
  outline: 2px solid var(--epimax-product-colour);
  outline-offset: 2px;
}

.epimax-tsunami__track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--epimax-tsunami-gap);
  min-height: 22rem;
  width: max-content;
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.epimax-card--tsunami {
  transform-origin: bottom center;
  will-change: transform;
}

.epimax-card--tsunami-featured,
.epimax-card--tsunami-thumb {
  flex: 0 0 auto;
  background: transparent;
  box-shadow: var(--epimax-shadow-card);
}

.epimax-card--tsunami-featured {
  width: var(--epimax-tsunami-featured-width);
}

.epimax-card--tsunami-thumb[data-offset="-1"],
.epimax-card--tsunami-thumb[data-offset="1"] {
  width: calc(var(--epimax-tsunami-featured-width) * 0.76);
}

.epimax-card--tsunami-thumb[data-offset="-2"],
.epimax-card--tsunami-thumb[data-offset="2"] {
  width: calc(var(--epimax-tsunami-featured-width) * 0.6);
}

.epimax-card--tsunami-thumb[data-offset="-3"],
.epimax-card--tsunami-thumb[data-offset="3"] {
  width: calc(var(--epimax-tsunami-featured-width) * 0.48);
}

.epimax-card--tsunami-featured .epimax-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--epimax-radius-card);
}

.epimax-card--tsunami-featured .epimax-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(35, 30, 70, 0.3);
  pointer-events: none;
  border-radius: inherit;
  opacity: 1;
  transition: opacity 0.35s ease 0.12s;
}

.epimax-card--tsunami-featured.epimax-card--body-pending .epimax-card__media::before {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.epimax-card--tsunami-featured .epimax-card__image {
  width: 100%;
  height: auto;
}

.epimax-card--tsunami-featured .epimax-card__body,
.epimax-card--tsunami-featured .epimax-card__body--tsunami-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 2.5rem 1rem 1rem;
  background: transparent;
  opacity: 1;
  transition: opacity 0.35s ease 0.12s;
}

.epimax-card--tsunami-featured.epimax-card--body-pending .epimax-card__body,
.epimax-card--tsunami-featured.epimax-card--body-pending .epimax-card__body--tsunami-overlay {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.epimax-card__body--tsunami-hidden {
  visibility: hidden;
  opacity: 0 !important;
  pointer-events: none;
}

.epimax-card--tsunami-featured .epimax-card__tag {
  z-index: 2;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
  font-weight: 400;
  padding-top: calc(0.25rem - 2px);
  padding-bottom: calc(0.25rem - 2px);
}

.epimax-card--tsunami-featured .epimax-card__title,
.epimax-card--tsunami-featured .epimax-card__description,
.epimax-card--tsunami-featured .epimax-card__link {
  color: #fff;
}

.epimax-card--tsunami-featured .epimax-card__title {
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
}

.epimax-card--tsunami-featured .epimax-card__link {
  border-bottom-color: currentColor;
}

.epimax-card--tsunami-thumb {
  overflow: hidden;
  border-radius: var(--epimax-radius-card);
}

.epimax-card--tsunami-thumb .epimax-card__media {
  border-radius: inherit;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  width: 100%;
}

.epimax-card--tsunami-thumb .epimax-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.epimax-tsunami-data {
  display: none;
}

/* Single product */
.epimax-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--epimax-space-4);
  align-items: start;
}

.epimax-single__hero {
  border-radius: var(--epimax-radius-card);
  overflow: hidden;
}

.epimax-single__hero-image {
  width: 100%;
  height: auto;
}

#top #wrap_all #main .epimax-products .epimax-single__thumbs,
.epimax-single__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: var(--epimax-space-1);
  list-style: none !important;
  list-style-type: none !important;
  margin: var(--epimax-space-2) 0 0;
  width: 100%;
  padding: 0 !important;
}

#top #wrap_all #main .epimax-products .epimax-single__thumbs li,
.epimax-single__thumbs li {
  width: 100%;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

#top #wrap_all #main .epimax-products .epimax-single__thumbs li::before,
#top #wrap_all #main .epimax-products .epimax-single__thumbs li::marker,
.epimax-single__thumbs li::before,
.epimax-single__thumbs li::marker {
  content: none !important;
  display: none !important;
}

.epimax-single__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.epimax-single__thumb-image,
.epimax-single__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.epimax-single__thumb.is-active,
.epimax-single__thumb[aria-pressed="true"] {
  border-color: var(--epimax-product-colour);
}

.epimax-single__thumb:focus-visible {
  outline: 2px solid var(--epimax-product-colour);
  outline-offset: 2px;
}

.epimax-single__title {
  margin: var(--epimax-space-1) 0 var(--epimax-space-2);
  color: var(--epimax-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
}

.epimax-single__description,
.epimax-single__usage {
  line-height: 1.6;
}

.epimax-single__sizes {
  margin-top: var(--epimax-space-3);
}

.epimax-single__sizes-label,
.epimax-single__ingredients-title {
  display: block;
  color: var(--epimax-ink);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--epimax-space-1);
}

.epimax-single__size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--epimax-space-1);
}

#top #wrap_all #main .epimax-products .epimax-size-button,
.epimax-size-button {
  appearance: none;
  border: 1px solid var(--epimax-ink);
  border-radius: var(--epimax-radius-pill);
  background: var(--epimax-surface);
  color: var(--epimax-ink);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  min-height: 0;
  min-width: 0;
  padding: 0.4rem 1.5rem;
}

#top #wrap_all #main .epimax-products .epimax-size-button.is-active,
#top #wrap_all #main .epimax-products .epimax-size-button[aria-pressed="true"],
.epimax-size-button.is-active,
.epimax-size-button[aria-pressed="true"] {
  background: var(--epimax-size-active-colour);
  border-color: var(--epimax-size-active-colour);
  color: #fff;
}

.epimax-size-button:focus-visible {
  outline: 2px solid var(--epimax-product-colour);
  outline-offset: 2px;
}

#top #wrap_all #main .epimax-products a.epimax-more-shops,
.epimax-more-shops {
  color: var(--epimax-ink);
  text-decoration: none;
}

#top #wrap_all #main .epimax-products a.epimax-more-shops:hover,
#top #wrap_all #main .epimax-products a.epimax-more-shops:focus-visible,
.epimax-more-shops:hover,
.epimax-more-shops:focus-visible {
  text-decoration: underline;
}

.epimax-single__purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--epimax-space-2);
  margin: var(--epimax-space-3) 0;
}

#top #wrap_all #main .epimax-products a.epimax-buy-now,
#top #wrap_all #main .epimax-products a.epimax-buy-now:link,
#top #wrap_all #main .epimax-products a.epimax-buy-now:visited,
#top #wrap_all #main .epimax-products a.epimax-buy-now:hover,
#top #wrap_all #main .epimax-products a.epimax-buy-now:focus,
#top #wrap_all #main .epimax-products a.epimax-buy-now:active,
.epimax-products .epimax-buy-now,
.epimax-products .epimax-buy-now--disabled {
  display: inline-block;
  text-decoration: none !important;
  background-color: var(--epimax-product-colour) !important;
  color: var(--epimax-buy-now-label-colour, #ffffff) !important;
  border-radius: 4px;
  font-weight: 600;
  min-height: 44px;
  padding: 0.85rem 2rem;
  border: 0;
}

.epimax-buy-now:hover {
  filter: brightness(0.95);
}

.epimax-buy-now:focus-visible {
  outline: 2px solid var(--epimax-product-colour);
  outline-offset: 2px;
}

.epimax-buy-now--disabled,
.epimax-buy-now[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.epimax-buy-now-disclaimer {
  margin: 0;
  flex: 1 1 220px;
  color: var(--epimax-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.epimax-single__ingredients-content {
  font-style: italic;
  line-height: 1.6;
}

.epimax-hydration-scale {
  margin-top: var(--epimax-space-4);
  padding: 2.5rem 1.5rem 2.75rem;
  border: 0;
  border-radius: 20px;
  background: var(--epimax-surface);
  box-shadow: 0 10px 40px rgba(35, 30, 70, 0.1);
  overflow: visible;
}

.epimax-hydration-scale__title {
  margin: 0 0 2rem;
  text-align: center;
  color: var(--epimax-ink);
  font-size: 1rem;
  line-height: 1.5;
}

.epimax-hydration-scale__chart {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.epimax-hydration-scale__track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0.875rem 0;
}

.epimax-hydration-scale__track::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 3px;
  background: var(--epimax-scale-dot);
  transform: translateY(-50%);
  z-index: 0;
  border-radius: 2px;
}

.epimax-hydration-scale__step {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--epimax-scale-dot);
  flex: 0 0 16px;
  position: relative;
  z-index: 1;
}

.epimax-hydration-scale__step.is-active {
  background: var(--epimax-product-colour);
}

.epimax-hydration-scale__labels {
  position: relative;
  width: 100%;
  min-height: 1.5rem;
  margin-top: 1.25rem;
}

.epimax-hydration-scale__label {
  position: absolute;
  top: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--epimax-ink);
  white-space: nowrap;
}

.epimax-hydration-scale__label:first-child {
  left: 0;
  text-align: left;
}

.epimax-hydration-scale__label:nth-child(2):not(:last-child) {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.epimax-hydration-scale__label:last-child:not(:first-child) {
  right: 0;
  left: auto;
  text-align: right;
}

@media (min-width: 600px) {
  .epimax-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (min-width: 768px) and (max-width: 989px) {
  .responsive .epimax-tsunami {
    --epimax-tsunami-intro-inset: calc(50px + max(0px, (100vw - 782px) / 2));
  }
}

@media (min-width: 992px) {
  .epimax-grid__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .epimax-single__layout {
    grid-template-columns: 1fr;
  }

  .epimax-tsunami__stage {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: 0;
    padding-bottom: 0;
  }

  .epimax-tsunami__intro {
    position: static;
    left: auto;
    max-width: none;
    padding: 0;
    margin-bottom: var(--epimax-space-3);
  }

  .epimax-tsunami {
    --epimax-tsunami-featured-width: 85vw;
    --epimax-tsunami-gap: 1.25rem;
  }

  .epimax-tsunami__carousel {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    padding-top: 0;
  }

  .epimax-tsunami__track {
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-height: 0;
    padding: 0;
  }

  .epimax-card--tsunami-thumb {
    display: none !important;
  }

  .epimax-card--tsunami-featured {
    width: 100%;
    max-width: var(--epimax-tsunami-featured-width);
    margin: 0 auto;
  }

  .epimax-single__thumbs {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .epimax-size-button {
    min-height: 44px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .epimax-card.epimax-card--grid,
  .epimax-filter,
  .epimax-card--tsunami {
    transition: none !important;
  }
}

/* HCP single product */
.epimax-hcp__headline {
  margin: var(--epimax-space-1) 0 var(--epimax-space-2);
  color: var(--epimax-ink);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
}

.epimax-hcp__description {
  line-height: 1.6;
}

.epimax-hcp__pip-codes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--epimax-space-1);
  margin: var(--epimax-space-3) 0 var(--epimax-space-2);
}

.epimax-hcp__pip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  background: var(--epimax-product-colour);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.epimax-hcp__pip-size {
  text-transform: uppercase;
}

.epimax-hcp__usage {
  margin-top: var(--epimax-space-2);
}

.epimax-hcp-comparison {
  margin-top: var(--epimax-space-4);
}

.epimax-hcp-comparison__banner {
  padding: 1.25rem 1.5rem;
  border-radius: 4px 4px 0 0;
  background: #4bbfe8;
  color: #fff;
  text-align: center;
}

.epimax-hcp-comparison__banner-saving {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
}

.epimax-hcp-comparison__banner-saving strong {
  font-weight: 600;
}

.epimax-hcp-comparison__banner-vs {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 500;
}

.epimax-hcp-comparison__footnote {
  font-size: 0.65em;
  line-height: 0;
}

.epimax-hcp-comparison__table-wrap {
  overflow-x: auto;
}

.epimax-hcp-comparison__table {
  width: 100%;
  border-collapse: collapse;
}

.epimax-hcp-comparison__table th,
.epimax-hcp-comparison__table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--epimax-line);
}

.epimax-hcp-comparison__table thead th {
  background: var(--epimax-ink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.epimax-hcp-comparison__table tbody tr:nth-child(even):not(.epimax-hcp-comparison__row--primary) {
  background: #f3f1f8;
}

.epimax-hcp-comparison__row--primary {
  background: #fff;
}

@media (max-width: 767px) {
  .epimax-hcp__pip-codes {
    flex-direction: column;
  }

  .epimax-hcp__pip-pill {
    width: 100%;
    justify-content: center;
  }
}
