/** Shopify CDN: Minification failed

Line 13003:0 Expected "}" to go with "{"

**/
* {
  box-sizing: border-box;
}

body {
  color: var(--color-foreground);
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100svh;
  font-variation-settings: 'slnt' 0;
}

:root {
  --hover-lift-amount: 4px;
  --hover-scale-amount: 1.03;
  --hover-subtle-zoom-amount: 1.015;
  --hover-shadow-color: var(--color-shadow);
  --hover-transition-duration: 0.25s;
  --hover-transition-timing: ease-out;
  --surface-transition-duration: 0.3s;
  --surface-transition-timing: var(--ease-out-quad);
  --submenu-animation-speed: 360ms;
  --submenu-animation-easing: cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--color-foreground-rgb) / var(--opacity-40)) var(--color-background);
  scroll-behavior: smooth;
}

html[scroll-lock] {
  overflow: hidden;
}


img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  width: 100%;
  height: auto;
}

input,
textarea,
select {
  font: inherit;
  border-radius: var(--style-border-radius-inputs);
}

input:hover,
textarea:hover {
  background-color: var(--color-input-hover-background);
}

/** override ios and firefox defaults */
select {
  background-color: var(--color-background);
  color: currentcolor;
}

/* review app css */

.Ry-Badge-Wrapper.Layout-0 {
    padding:unset !important;
    color:#D26C4E;
  }
  .Ry-Badge-Wrapper .Ry-Avg-Badge {
    display:none !important;
    
  }
  .Ry-Badge-Wrapper .Ry-Footer-Badge {
    display:none !important;
  }
  .ryviu--badge-box {
    margin:unset !important;
  }
.star-container svg path {
  fill:#D26C4E !important;
}

/* button css */

/* .add-to-cart-button {
  clip-path: polygon(
    20px 0,
    calc(100% - 20px) 0,
    100% 50%,
    calc(100% - 20px) 100%,
    20px 100%,
    0 50%
  );
 background-color:#4B5752 !important;
} */
.add-to-cart-button.button-turnary {
  background-color:#F7C0B0 !important;
  border:none !important;
  border-width:unset !important;
  font-weight:800 !important;
  text-transform:uppercase;
}
.buy-buttons-block {
  display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
}

.collection-card,
.featured-blog-posts-card {
  width: 100%;
  position: relative;
  height: 100%;
}

/* Editorial layout */
.resource-list:not(.hidden--desktop) .collection-card--flexible-aspect-ratio,
.resource-list:not(.hidden--desktop) .blog-post-card--flexible-aspect-ratio {
  .collection-card__image,
  .featured-blog-posts-card__image,
  .blog-placeholder-svg {
    aspect-ratio: 99;
    height: 100%;
  }

  .collection-card__inner,
  .featured-blog-posts-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .collection-card__content,
  .featured-blog-posts-card__content {
    flex-shrink: 0;
  }

  &:not(.collection-card--image-bg) .collection-card__content,
  .featured-blog-posts-card__content {
    height: auto;
  }
}

.collection-card__inner,
.featured-blog-posts-card__inner {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: var(--layer-flat);
  pointer-events: none;
}

.collection-card__content,
.featured-blog-posts-card__content {
  display: flex;
  position: relative;
  height: 100%;
  width: 100%;
  gap: var(--gap);
}

.collection-card__link,
.featured-blog-posts-card__link {
  position: absolute;
  inset: 0;

  /* allows focus outline to have radius in supported browsers */
  border-radius: var(--border-radius);
}

.product-card,
.collection-card,
.resource-card,
.predictive-search-results__card--product,
.predictive-search-results__card {
  position: relative;
  transition: transform var(--hover-transition-duration) var(--hover-transition-timing),
    box-shadow var(--hover-transition-duration) var(--hover-transition-timing);
  z-index: var(--layer-flat);
}

.product-card__link {
  position: absolute;
  inset: 0;
}

.product-card__content {
  position: relative;
}

.product-card__content {
  cursor: pointer;
}

.product-card__content slideshow-component {
  --cursor: pointer;
}

.predictive-search-results__card .product-card,
.predictive-search-results__card .collection-card,
.predictive-search-results__card .resource-card {
  transition: none;
  will-change: auto;
}

@media (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card-hover-effect-lift .product-card:hover,
  .card-hover-effect-lift .collection-card:hover,
  .card-hover-effect-lift .resource-card:hover,
  .card-hover-effect-lift .predictive-search-results__card:hover {
    transform: translateY(calc(-1 * var(--hover-lift-amount)));
  }

  .card-hover-effect-lift .header .product-card:hover,
  .card-hover-effect-lift .header .collection-card:hover,
  .card-hover-effect-lift .header .resource-card:hover,
  .card-hover-effect-lift .header-drawer .product-card:hover,
  .card-hover-effect-lift .header-drawer .collection-card:hover,
  .card-hover-effect-lift .header-drawer .resource-card:hover {
    transform: none;
  }

  .card-hover-effect-scale .product-card:hover,
  .card-hover-effect-scale .collection-card:hover,
  .card-hover-effect-scale .resource-card:hover,
  .card-hover-effect-scale .predictive-search-results__card:hover {
    transform: scale(var(--hover-scale-amount));
  }

  .card-hover-effect-scale .header .product-card:hover,
  .card-hover-effect-scale .header .collection-card:hover,
  .card-hover-effect-scale .header .resource-card:hover,
  .card-hover-effect-scale .header-drawer .product-card:hover,
  .card-hover-effect-scale .header-drawer .collection-card:hover,
  .card-hover-effect-scale .header-drawer .resource-card:hover {
    transform: none;
  }

  .card-hover-effect-subtle-zoom .card-gallery,
  .card-hover-effect-subtle-zoom .collection-card__image,
  .card-hover-effect-subtle-zoom .product-card__image,
  .card-hover-effect-subtle-zoom .resource-card__image {
    overflow: hidden;
    transition: transform var(--hover-transition-duration) var(--hover-transition-timing);
  }

  .predictive-search-results__card .card-gallery,
  .predictive-search-results__card .collection-card__image,
  .predictive-search-results__card .product-card__image,
  .predictive-search-results__card .resource-card__image {
    transition: none;
  }

  .card-hover-effect-subtle-zoom .product-card:hover .card-gallery,
  .card-hover-effect-subtle-zoom .collection-card:hover .collection-card__image,
  .card-hover-effect-subtle-zoom .product-card:hover .product-card__image,
  .card-hover-effect-subtle-zoom .resource-card:hover .resource-card__image,
  .card-hover-effect-subtle-zoom .predictive-search-results__card:hover {
    transform: scale(var(--hover-subtle-zoom-amount));
  }

  .card-hover-effect-subtle-zoom .header .product-card:hover .card-gallery,
  .card-hover-effect-subtle-zoom .header .collection-card:hover .collection-card__image,
  .card-hover-effect-subtle-zoom .header .product-card:hover .product-card__image,
  .card-hover-effect-subtle-zoom .header .resource-card:hover .resource-card__image,
  .card-hover-effect-subtle-zoom .header-drawer .product-card:hover .card-gallery,
  .card-hover-effect-subtle-zoom .header-drawer .collection-card:hover .collection-card__image,
  .card-hover-effect-subtle-zoom .header-drawer .product-card:hover .product-card__image,
  .card-hover-effect-subtle-zoom .header-drawer .resource-card:hover .resource-card__image {
    transform: none;
  }

  .predictive-search-results__card .product-card:hover,
  .predictive-search-results__card .collection-card:hover,
  .predictive-search-results__card .resource-card:hover,
  .header .product-card:hover,
  .header .collection-card:hover,
  .header .resource-card:hover,
  .header-drawer .product-card:hover,
  .header-drawer .collection-card:hover,
  .header-drawer .resource-card:hover {
    transform: none;
    box-shadow: none;
  }
}

dialog {
  /* the ::backdrop inherits from the originating element, custom properties must be set on the dialog element */
  --backdrop-color-rgb: var(--color-shadow-rgb);

  background-color: var(--color-background);
  color: var(--color-foreground);
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

.wrap-text {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

p:empty {
  display: none;
}

:first-child:is(p, h1, h2, h3, h4, h5, h6),
:first-child:empty + :where(p, h1, h2, h3, h4, h5, h6) {
  margin-block-start: 0;
}

/* Remove bottom margin from last text item, or previous to last if the last is empty */
:last-child:is(p, h1, h2, h3, h4, h5, h6),
:where(p, h1, h2, h3, h4, h5, h6):nth-child(2):has(+ :last-child:empty) {
  margin-block-end: 0;
}

/* view transitions */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  /* Keep page interactive while view transitions are running */
  :root {
    view-transition-name: none;
  }

  /* Have the root transition during page navigation */
  html:active-view-transition-type(page-navigation),
  html:active-view-transition-type(product-image-transition) {
    view-transition-name: root-custom;
  }

  ::view-transition {
    pointer-events: none;
  }

  html:active-view-transition-type(page-navigation) main[data-page-transition-enabled='true'] {
    view-transition-name: main-content;
  }

  html:active-view-transition-type(page-navigation) main[data-product-transition='true'][data-template*='product'] {
    view-transition-name: none;
  }

  ::view-transition-old(main-content) {
    animation: var(--view-transition-old-main-content);
  }

  ::view-transition-new(main-content) {
    animation: var(--view-transition-new-main-content);
  }

  html:active-view-transition-type(product-image-transition) {
    [data-view-transition-type='product-image-transition'] {
      view-transition-name: product-image-transition;
    }

    [data-view-transition-type='product-details'] {
      view-transition-name: product-details;
    }
  }

  ::view-transition-group(product-image-transition) {
    z-index: 1;
  }

  ::view-transition-group(product-image-transition),
  ::view-transition-group(product-details) {
    animation-duration: var(--animation-speed);
    animation-timing-function: var(--animation-easing);
  }

  ::view-transition-old(product-image-transition),
  ::view-transition-new(product-image-transition) {
    block-size: 100%;
    overflow: hidden;
    object-fit: cover;
    animation-duration: 0.25s;
    animation-timing-function: var(--animation-easing);
  }

  ::view-transition-new(product-details) {
    animation: var(--view-transition-new-main-content);
  }
}

/* Focus */
*:focus-visible {
  outline: var(--focus-outline-width) solid currentcolor;
  outline-offset: var(--focus-outline-offset);
}

@supports not selector(:focus-visible) {
  *:focus {
    outline: var(--focus-outline-width) solid currentcolor;
    outline-offset: var(--focus-outline-offset);
  }
}

.focus-inset {
  outline-offset: calc(var(--focus-outline-width) * -1);
}

/* Layout */
.content-for-layout {
  flex: 1;
}

/* Set up page widths & margins */
.page-width-wide,
.page-width-normal,
.page-width-narrow,
.page-width-content {
  --page-margin: 16px;
}

@media screen and (min-width: 750px) {
  .page-width-wide,
  .page-width-normal,
  .page-width-narrow,
  .page-width-content {
    --page-margin: 40px;
  }
}

.page-width-wide {
  /* NOTE: This results in a page width of 2400px because of how we set up margins with grid */
  --page-content-width: var(--wide-page-width);
  --page-width: calc(var(--page-content-width) + (var(--page-margin) * 2));
}

.page-width-normal {
  --page-content-width: var(--normal-page-width);
  --page-width: calc(var(--page-content-width) + (var(--page-margin) * 2));
}

.page-width-narrow,
.page-width-content {
  /* NOTE: This results in a page width of 1400px because of how we set up margins with grid */
  --page-content-width: var(--narrow-page-width);
  --page-width: calc(var(--page-content-width) + (var(--page-margin) * 2));
}

.page-width-content {
  --page-content-width: var(--normal-content-width);
  --page-width: calc(var(--page-content-width) + (var(--page-margin) * 2));
}

/* Section width full vs. page
   The reason we use a grid to contain the section is to allow for the section to have a
   full-width background image even if the section content is constrained by the page width. Do not try
   to rewrite this to max-width: --page-width; margin: 0 auto;, it doesn't work. */
.section {
  --full-page-grid-central-column-width: min(
    var(--page-width) - var(--page-margin) * 2,
    calc(100% - var(--page-margin) * 2)
  );
  --full-page-grid-margin: minmax(var(--page-margin), 1fr);
  --full-page-grid-with-margins: var(--full-page-grid-margin) var(--full-page-grid-central-column-width)
    var(--full-page-grid-margin);

  /* Utility variable gives the grid's first column width. Provides an offset width for components like carousels */
  --util-page-margin-offset: max(
    var(--page-margin),
    calc((100% - min(var(--page-content-width), 100% - var(--page-margin) * 2)) / 2)
  );

  /* Offset for full-width sections to account for the page margin,
  used for Marquee — note that --util-page-margin-offset doesn't work here */
  --full-page-margin-inline-offset: calc(((100vw - var(--full-page-grid-central-column-width)) / 2) * -1);

  width: 100%;

  /* This is required to make background images work, which are <img> rendered absolutely */
  position: relative;

  /* Set up the grid */
  display: grid;
  grid-template-columns: var(--full-page-grid-with-margins);
  min-height: var(--section-min-height, 'auto');
}

/* Place all direct children in the center column by default */
.section > * {
  grid-column: 2;
}

/* Make the actual section background transparent, and instead apply it to a separate sibling element to enable stacking with hero shadow  */
.shopify-section:not(.header-section) :is(.section, .cart-summary) {
  background: transparent;
}

.shopify-section:not(.header-section):has(.section) {
  position: relative;
}

.shopify-section:not(.header-section) .section-background {
  content: '';
  position: absolute;
  inset: 0;
  z-index: var(--layer-section-background);
}

/* For page-width sections, all content goes in the center column */
.section--page-width > * {
  grid-column: 2;
}

/* For full-width sections, content spans all columns */
.section--full-width > * {
  grid-column: 1 / -1;
}

@media screen and (max-width: 749px) {
  .section--mobile-full-width > * {
    grid-column: 1 / -1;
  }
}

/* Some page-width sections should still extend all the way to the right edge of the page, e.g. collection carousel */
.section--page-width.section--full-width-right > * {
  grid-column: 2 / 4;
}

/* For full-width sections with margin, content still spans full width but with space on the sides */
.section--full-width.section--full-width-margin > * {
  grid-column: 1 / -1;

  @media screen and (min-width: 750px) {
    padding-left: var(--page-margin);
    padding-right: var(--page-margin);
  }
}

/* Some section content break out to full width of the page */
.section > .force-full-width {
  grid-column: 1 / -1;
}

.section--height-small {
  --section-min-height: var(--section-height-small);
}

.section--height-medium {
  --section-min-height: var(--section-height-medium);
}

.section--height-large {
  --section-min-height: var(--section-height-large);
}

.section--height-full-screen {
  --section-min-height: 100svh;
}

.section-content-wrapper.section-content-wrapper {
  min-height: calc(var(--section-min-height, 'auto') - var(--section-height-offset, 0px));
  position: relative;
  width: 100%;
  height: 100%;
}

/* Utility */

.hidden {
  /* stylelint-disable-next-line declaration-no-important */
  display: none !important;
}

@media screen and (max-width: 749px) {
  .hidden--mobile,
  .mobile\:hidden {
    /* stylelint-disable-next-line declaration-no-important */
    display: none !important;
  }
}

@media screen and (min-width: 750px) {
  .hidden--desktop,
  .desktop\:hidden {
    /* stylelint-disable-next-line declaration-no-important */
    display: none !important;
  }
}

.hide-when-empty:empty {
  /* stylelint-disable-next-line declaration-no-important */
  display: none !important;
}

.visually-hidden:not(:focus, :active) {
  /* stylelint-disable-next-line declaration-no-important */
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  /* stylelint-disable-next-line declaration-no-important */
  word-wrap: normal !important;
}

@media screen and (max-width: 749px) {
  .is-visually-hidden-mobile:not(:focus, :active) {
    /* stylelint-disable-next-line declaration-no-important */
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    /* stylelint-disable-next-line declaration-no-important */
    word-wrap: normal !important;
  }
}

.contents {
  display: contents;
}

.flex {
  display: flex;
  gap: var(--gap-md);
}

.grid {
  --centered-column-number: 12;
  --full-width-column-number: 14;
  --centered: column-1 / span var(--centered-column-number);
  --full-width: column-0 / span var(--full-width-column-number);

  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 750px) {
  .grid {
    display: grid;
    gap: 0;
    grid-template-columns: var(--margin-4xl) repeat(var(--centered-column-number), minmax(0, 1fr)) var(--margin-4xl);
    grid-template-areas: 'column-0 column-1 column-2 column-3 column-4 column-5 column-6 column-7 column-8 column-9 column-10 column-11 column-12 column-13';
  }
}

@media screen and (min-width: 1400px) {
  .grid {
    grid-template-columns:
      1fr repeat(
        var(--centered-column-number),
        minmax(0, calc((var(--page-width) - var(--page-margin) * 2) / var(--centered-column-number)))
      )
      1fr;
  }
}

.flex {
  display: flex;
  gap: var(--gap-md);
}

.flip-x {
  scale: -1 1;
}

.flip-y {
  scale: 1 -1;
}

.list-unstyled {
  margin: 0;
  padding: 0;
  list-style: none;
}

.text-left {
  --text-align: left;

  text-align: left;
}

.text-center {
  --text-align: center;

  text-align: center;
}

.text-right {
  --text-align: right;

  text-align: right;
}

.text-inherit {
  color: inherit;
}

.user-select-text {
  user-select: text;
}

.justify-left {
  justify-content: left;
}

.justify-center {
  justify-content: center;
}

.justify-right {
  justify-content: right;
}

.title--aligned-center {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.background-image-container {
  overflow: hidden;
  position: absolute;
  inset: 0;
  opacity: var(--image-opacity);
}

.background-image-container img,
.background-image-container svg {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.background-image-fit img,
.background-image-fit svg {
  object-fit: contain;
}

.svg-wrapper {
  color: currentcolor;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  pointer-events: none;
}

.svg-wrapper--smaller {
  width: var(--icon-size-2xs);
  height: var(--icon-size-2xs);
}

.svg-wrapper--small {
  width: var(--icon-size-xs);
  height: var(--icon-size-xs);
}

.svg-wrapper > svg {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
}

.relative {
  position: relative;
}

/* Icons */
.icon-success,
.icon-error {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  flex-shrink: 0;
}

/* Button styles */

.button--pill {
  border-radius: 9999px !important;
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--color-foreground);
  color: var(--color-background);
  border: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.button--pill:hover {
  opacity: 0.9;
}

.button--pointed-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--border-color, currentColor);
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 50%,
    calc(100% - 12px) 100%,
    12px 100%,
    0 50%
  );
  padding: var(--border-width, 2px);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.button--pointed-outline:hover {
  opacity: 0.9;
}

.button--pointed-outline > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
  color: var(--color-foreground);
  padding: 0.8rem 2rem;
  clip-path: inherit;
}

.icon-success {
  color: var(--color-success);
}

.icon-error {
  fill: var(--color-error);
}

.icon-default {
  fill: currentColor;
}

[data-placeholder='true'] * {
  cursor: default;
}

slideshow-component [data-placeholder='true'] * {
  cursor: grab;
}

/* Base text and heading styles */
body,
.paragraph:not(.button),
.paragraph > *,
.text-block.paragraph :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-paragraph--family);
  font-style: var(--font-paragraph--style);
  font-weight: var(--font-paragraph--weight);
  font-size: var(--font-paragraph--size);
  line-height: var(--font-paragraph--line-height);
  text-transform: var(--font-paragraph--case);
  -webkit-font-smoothing: antialiased;
  color: var(--color, var(--color-foreground));
}

/* Ensure inputs with type presets maintain minimum 16px on mobile to prevent iOS zoom */
@media screen and (max-width: 1200px) {
  input.paragraph.paragraph,
  input.paragraph.paragraph:not([type]),
  textarea.paragraph.paragraph,
  select.paragraph.paragraph {
    font-size: max(1rem, var(--font-paragraph--size));
  }
}

.paragraph > small {
  font-size: smaller;
}

/* Typography presets */

h1,
.h1.h1,
.text-block.h1 > *,
.text-block.h1 :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-h1--family);
  font-style: var(--font-h1--style);
  font-weight: var(--font-h1--weight);
  font-size: var(--font-h1--size);
  line-height: var(--font-h1--line-height);
  letter-spacing: var(--font-h1--letter-spacing);
  text-transform: var(--font-h1--case);
  color: var(--color, var(--font-h1-color));
}

@media screen and (max-width: 1200px) {
  input.h1.h1,
  textarea.h1.h1,
  select.h1.h1 {
    font-size: max(1rem, var(--font-h1--size));
  }
}

h2,
.h2.h2,
.text-block.h2 > *,
.text-block.h2 :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-h2--family);
  font-style: var(--font-h2--style);
  font-weight: var(--font-h2--weight);
  font-size: var(--font-h2--size);
  line-height: var(--font-h2--line-height);
  letter-spacing: var(--font-h2--letter-spacing);
  text-transform: var(--font-h2--case);
  color: var(--color, var(--font-h2-color));
}

@media screen and (max-width: 1200px) {
  input.h2.h2,
  textarea.h2.h2,
  select.h2.h2 {
    font-size: max(1rem, var(--font-h2--size));
  }
}

h3,
.h3,
.h3.h3,
.text-block.h3 > *,
.text-block.h3 :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-h3--family);
  font-style: var(--font-h3--style);
  font-weight: var(--font-h3--weight);
  font-size: var(--font-h3--size);
  line-height: var(--font-h3--line-height);
  letter-spacing: var(--font-h3--letter-spacing);
  text-transform: var(--font-h3--case);
  color: var(--color, var(--font-h3-color));
}

@media screen and (max-width: 1200px) {
  input.h3,
  textarea.h3,
  select.h3 {
    font-size: max(1rem, var(--font-h3--size));
  }
}

h4,
.h4.h4,
.text-block.h4 > *,
.text-block.h4 :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-h4--family);
  font-style: var(--font-h4--style);
  font-weight: var(--font-h4--weight);
  font-size: var(--font-h4--size);
  line-height: var(--font-h4--line-height);
  letter-spacing: var(--font-h4--letter-spacing);
  text-transform: var(--font-h4--case);
  color: var(--color, var(--font-h4-color));
}

@media screen and (max-width: 1200px) {
  input.h4.h4,
  textarea.h4.h4,
  select.h4.h4 {
    font-size: max(1rem, var(--font-h4--size));
  }
}

h5,
.h5.h5,
.text-block.h5 > *,
.text-block.h5 :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-h5--family);
  font-style: var(--font-h5--style);
  font-weight: var(--font-h5--weight);
  font-size: var(--font-h5--size);
  line-height: var(--font-h5--line-height);
  letter-spacing: var(--font-h5--letter-spacing);
  text-transform: var(--font-h5--case);
  color: var(--color, var(--font-h5-color));
}

@media screen and (max-width: 1200px) {
  input.h5.h5,
  textarea.h5.h5,
  select.h5.h5 {
    font-size: max(1rem, var(--font-h5--size));
  }
}

h6,
.h6.h6,
.text-block.h6 > *,
.text-block.h6 :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-h6--family);
  font-style: var(--font-h6--style);
  font-weight: var(--font-h6--weight);
  font-size: var(--font-h6--size);
  line-height: var(--font-h6--line-height);
  letter-spacing: var(--font-h6--letter-spacing);
  text-transform: var(--font-h6--case);
  color: var(--color, var(--font-h6-color));
}

@media screen and (max-width: 1200px) {
  input.h6.h6,
  textarea.h6.h6,
  select.h6.h6 {
    font-size: max(1rem, var(--font-h6--size));
  }
}

:first-child:is(.h1, .h2, .h3, .h4, .h5, .h6) {
  margin-block-start: 0;
}

:last-child:is(.h1, .h2, .h3, .h4, .h5, .h6) {
  margin-block-end: 0;
}

/* Links */
a {
  --button-color: var(--color, var(--color-primary));

  color: var(--button-color);
  text-decoration-color: transparent;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.125em;
  transition: text-decoration-color var(--animation-speed) var(--animation-easing),
    color var(--animation-speed) var(--animation-easing);
}

:is(h1, h2, h3, h4, h5, h6, p) > a:hover {
  --button-color: var(--color, var(--color-primary-hover));
}

/* Add underline to text using our paragraph styles only. */
p:not(.h1, .h2, .h3, .h4, .h5, .h6) a:where(:not(.button, .button-secondary, .button-ternary)),
.rte :is(p, ul, ol, table):not(.h1, .h2, .h3, .h4, .h5, .h6) a:where(:not(.button, .button-secondary, .button-ternary)) {
  text-decoration-color: currentcolor;

  &:hover {
    text-decoration-color: transparent;
    color: var(--color-primary-hover);
  }
}

.container-background-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

details[open] .summary-closed {
  display: none;
}

details:not([open]) .summary-open {
  display: none;
}

details[open] > summary .icon-animated > svg {
  transform: rotate(180deg);
}

/* iOS fix: hide the default arrow on the summary */
summary::-webkit-details-marker {
  display: none;
}

/* When header is transparent, pull the first main content section up to sit under the floating header */
body:has(.header[transparent]) .content-for-layout > .shopify-section:first-child {
  margin-top: calc(var(--header-group-height) * -1);
}

body:has(.header[transparent]) #header-group > .header-section {
  z-index: var(--layer-sticky);
}

/* All other header group content should be beneath the floating header,
but above the rest of the page content */
body:has(.header[transparent]) #header-group > *:not(.header-section) {
  z-index: calc(var(--layer-sticky) - 1);
}

/* Featured collection block */
.featured-collection-block {
  width: 100%;
}

/* Product grid */
.product-grid-container {
  display: block;
  width: 100%;
  padding-block: var(--padding-block-start) var(--padding-block-end);

  @media screen and (min-width: 750px) {
    display: grid;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--product-grid-gap);
  margin: auto;
  padding: 0;
  list-style: none;
}

@media screen and (min-width: 750px) {
  .product-grid {
    grid-template-columns: var(--product-grid-columns-desktop);
  }
}

.product-grid :is(h3, p) {
  margin: 0;
}

.product-grid__item {
  border: var(--product-card-border-width) solid rgb(var(--color-border-rgb) / var(--product-card-border-opacity));
  border-radius: 8px;
  background: #FFF;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.20);
  padding: 8px !important;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-grid--organic[product-grid-view='default'] .product-grid__item {
  height: fit-content;
}

.is-hidden {
  display: none !important;
}

.product-grid__card.product-grid__card {
  display: flex;
  flex-flow: column nowrap;
  gap: var(--product-card-gap);
  align-items: var(--product-card-alignment);
  text-decoration: none;
  color: var(--color, var(--color-foreground));
  padding-block: var(--padding-block-start) var(--padding-block-end);
  padding-inline: var(--padding-inline-start) var(--padding-inline-end);
  overflow: hidden;
  height: 100%;
}

.product-card__content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  height: 100% !important;
}

/* Group 1: Items that should stay at the top */
.product-card__content > *:not(:has(.custom-divider-wrapper)):not(:has(.subs-wrapper)):not(:has(.product-price-block)):not(.buy-buttons-block) {
  flex-grow: 0;
}

/* Group 2: The summary block should grow to push the rest down */
.product-card__content > *:has(.product-summary) {
  flex-grow: 1 !important;
}

/* Group 3: Items that should stay together at the bottom */
.product-card__content > *:has(.custom-divider-wrapper) {
  margin-top: auto !important;
}

[product-grid-view='zoom-out'] .product-grid__card {
  row-gap: var(--padding-xs);
}

[product-grid-view='default'] {
  --product-grid-gap: 16px;
  --padding-block-start: 24px;
  --padding-block-end: 24px;
  --padding-inline-start: 0px;
  --padding-inline-end: 0px;
}

[product-grid-view='default'] .product-grid__item {
  padding-block: 0;
}

[product-grid-view='mobile-single'],
.product-grid-mobile--large {
  @media screen and (max-width: 749px) {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 749px) {
  .product-grid .product-summary,
  .product-grid .subs-wrapper {
    display: none;
  }

  .product-grid .product-title {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .product-grid .product-price-block,
  .product-grid .product-price-wrapper {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .product-grid .buy-buttons-block,
  .product-grid .product-form-buttons {
    min-width: 0;
    max-width: 100%;
  }

  .product-grid .product-form-buttons .button {
    width: 100%;
    min-width: 0;
  }

  .product-grid .add-to-cart-button {
    white-space: nowrap;
    font-size: 11px !important;
    padding-inline: 8px !important;
  }
}

.product-grid__card .group-block > * {
  @media screen and (max-width: 749px) {
    flex-direction: column;
  }
}

ul[product-grid-view='zoom-out'] .product-grid__card > * {
  display: none;
}

ul[product-grid-view='zoom-out'] .product-grid__card .card-gallery {
  display: block;
}

[product-grid-view='zoom-out']
  .card-gallery
  > :is(quick-add-component, .product-badges, slideshow-component > slideshow-controls) {
  display: none;
}

ul[product-grid-view='zoom-out'] .card-gallery > img {
  display: block;
}

[product-grid-view='zoom-out'] {
  --product-grid-columns-desktop: repeat(
    10,
    minmax(clamp(50px, calc(100% - 9 * var(--product-grid-gap)) / 10, 80px), 1fr)
  );
}

.product-grid-view-zoom-out--details {
  display: none;
}

.product-grid-view-zoom-out--details .h4,
.product-grid-view-zoom-out--details span,
.product-grid-view-zoom-out--details s {
  font-size: var(--font-size--xs);
  font-family: var(--font-paragraph--family);
}

.product-grid-view-zoom-out--details span {
  font-weight: 500;
}

.product-grid-view-zoom-out--details .h4 {
  line-height: 1.3;
  font-weight: 400;
}

.product-grid-view-zoom-out--details > span.h6,
.product-grid-view-zoom-out--details > div.h6 > product-price {
  display: inline-block;
  line-height: 0;
  margin-top: var(--margin-2xs);
}

.product-grid-view-zoom-out--details > span.h6 > *,
.product-grid-view-zoom-out--details > div.h6 > * > * {
  line-height: 1.2;
}

@media (prefers-reduced-motion: no-preference) {
  :root:active-view-transition-type(product-grid) {
    details[open] floating-panel-component {
      view-transition-name: panel-content;

      .checkbox *,
      .facets__pill-label {
        transition: none;
      }

      .facets--vertical & {
        view-transition-name: none;
      }
    }

    .product-grid {
      view-transition-name: product-grid;
    }

    footer {
      view-transition-name: footer;
    }

    .product-grid__item,
    floating-panel-component {
      transition: none;
    }
  }
}

::view-transition-group(panel-content) {
  z-index: 1;
}

::view-transition-new(product-grid) {
  animation-delay: 150ms;
  animation-name: fadeInUp;
  animation-duration: var(--animation-speed);
  animation-timing-function: var(--animation-easing);
}

results-list[initialized] {
  .product-grid__item {
    transition: opacity var(--animation-speed) var(--animation-easing),
      transform var(--animation-speed) var(--animation-easing);

    @starting-style {
      opacity: 0;
      transform: translateY(10px);
    }
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Collection and product list cards have equal heights */
:is(.product-grid__item, .resource-list__item) .product-card {
  display: grid;
  height: 100%;
}

/* Video background */
.video-background,
.video-background * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-background--cover * {
  object-fit: cover;
}

.video-background--contain * {
  object-fit: contain;
}

.text-block {
  width: 100%;
}

.text-block > *:first-child,
.text-block > *:first-child:empty + * {
  margin-block-start: 0;
}

.text-block > *:last-child,
.text-block > *:has(+ *:last-child:empty) {
  margin-block-end: 0;
}

/* This is to deal with the margin applied to the p when custom styles are enabled. The p isn't the first child anymore due to the style tag */
.text-block > style + * {
  margin-block-start: 0;
}

/* Dialog */
.dialog-modal {
  border: none;
  box-shadow: var(--shadow-popover);

  @media screen and (min-width: 750px) {
    border-radius: var(--style-border-radius-popover);
    max-width: var(--normal-content-width);
  }

  @media screen and (max-width: 749px) {
    max-width: 100%;
    max-height: 100%;
    height: 100dvh;
    width: 100dvw;
    padding: var(--padding-md);
  }
}

.dialog-modal::backdrop {
  transition: backdrop-filter var(--animation-speed) var(--animation-easing);
  backdrop-filter: brightness(1);
  background: rgb(var(--backdrop-color-rgb) / var(--backdrop-opacity));
}

.dialog-modal[open] {
  animation: elementSlideInTop var(--animation-speed) var(--animation-easing) forwards;

  &::backdrop {
    animation: backdropFilter var(--animation-speed) var(--animation-easing) forwards;
    transition: opacity var(--animation-speed) var(--animation-easing);
  }
}

.dialog-modal.dialog-closing {
  animation: elementSlideOutTop var(--animation-speed) var(--animation-easing) forwards;

  &::backdrop {
    opacity: 0;
  }
}

/* stylelint-disable value-keyword-case */
.dialog-drawer {
  --dialog-drawer-opening-animation: move-and-fade;
  --dialog-drawer-closing-animation: move-and-fade;
}

.dialog-drawer--right {
  --dialog-drawer-opening-animation: move-and-fade;
  --dialog-drawer-closing-animation: move-and-fade;
}
/* stylelint-enable value-keyword-case */

.dialog-drawer[open] {
  --start-x: var(--custom-transform-from, 100%);
  --end-x: var(--custom-transform-to, 0px);
  --start-opacity: 1;

  animation: var(--dialog-drawer-opening-animation) var(--animation-speed) var(--animation-easing) forwards;
}

.dialog-drawer[open].dialog-closing {
  --start-x: 0px;
  --end-x: 100%;
  --start-opacity: 1;
  --end-opacity: 1;

  animation: var(--dialog-drawer-closing-animation) var(--animation-speed) var(--animation-easing);
}

.dialog-drawer--right[open] {
  --start-x: -100%;
  --start-opacity: 1;
}

.dialog-drawer--right[open].dialog-closing {
  --start-x: 0px;
  --end-x: -100%;
  --start-opacity: 1;
  --end-opacity: 1;

  animation: var(--dialog-drawer-closing-animation) var(--animation-speed) var(--animation-easing);
}

/* Buttons */
.button,
.button-secondary,
.button-ternary,
button.shopify-payment-button__button--unbranded {
  --text-align: center;
  --button-angle-width: 18px;

  display: grid;
  align-content: center;
  text-decoration: none;
  text-align: var(--text-align);
  color: var(--button-color);
  appearance: none;
  background-color: var(--button-background-color);
  border: none;
  font-family: var(--font-paragraph--family);
  font-style: var(--font-paragraph--style);
  font-weight: var(--font-paragraph--weight);
  font-size: var(--font-paragraph--size);
  line-height: var(--font-paragraph--line-height);
  margin-block: 0;
  transition: color var(--animation-speed) var(--animation-easing),
    box-shadow var(--animation-speed) var(--animation-easing),
    background-color var(--animation-speed) var(--animation-easing),
    transform var(--animation-speed) var(--animation-easing);
  cursor: pointer;
  width: fit-content;
  box-shadow: inset 0 0 0 var(--button-border-width) var(--button-border-color);
  padding-block: var(--button-padding-block);
  padding-inline: var(--button-padding-inline);
  clip-path: polygon(
    var(--button-angle-width) 0%, 
    calc(100% - var(--button-angle-width)) 0%, 
    100% 50%, 
    calc(100% - var(--button-angle-width)) 100%, 
    var(--button-angle-width) 100%, 
    0% 50%
  );
}

.button {
    font-family: var(--button-font-family-primary) !important;
    text-transform: var(--button-text-case-primary);
    font-weight: 700;
    border-radius: var(--style-border-radius-buttons-primary);
}

.button:not(.button-secondary, .button-ternary, .button-unstyled) {
  outline-color: var(--button-background-color);
}

.button-secondary {
    font-family: var(--button-font-family-secondary) !important;
    text-transform: var(--button-text-case-secondary);
    font-weight: 700;
    border-radius: var(--style-border-radius-buttons-secondary);
}

.button-ternary {
    font-family: var(--button-font-family-ternary) !important;
    text-transform: var(--button-text-case-ternary);
    font-weight: 700;
    border-radius: var(--style-border-radius-buttons-ternary);
}

button.shopify-payment-button__button--unbranded {
  font-family: var(--button-font-family-primary) !important;
  text-transform: var(--button-text-case-primary);
}

textarea,
input:not([type='checkbox'], [type='radio']) {
  background-color: var(--color-input-background);
  border-color: var(--color-input-border);
}

textarea::placeholder,
input::placeholder {
  color: var(--color-input-text);
}

textarea:not(:placeholder-shown)::placeholder,
input:not(:placeholder-shown)::placeholder {
  opacity: 0;
}

/* The declaration above is messing with buttons that have an attribute of hidden as it overwrites the display value */
.button[hidden] {
  display: none;
}

.button[aria-disabled='true'],
.button-secondary[aria-disabled='true'],
.button-ternary[aria-disabled='true'],
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button,
button.shopify-payment-button__button--unbranded {
  --button-color: var(--color-primary-button-text);
  --button-background-color: var(--color-primary-button-background);
  --button-border-color: var(--color-primary-button-border);
  --button-border-width: var(--style-border-width-primary);
}

.button:hover,
button.shopify-payment-button__button--unbranded:hover:not([disabled]) {
  --button-color: var(--color-primary-button-hover-text);
  --button-background-color: var(--color-primary-button-hover-background);
  --button-border-color: var(--color-primary-button-hover-border);
  transform: scale(1.03);
}

.button-secondary {
  --button-color: var(--color-secondary-button-text);
  --button-background-color: var(--color-secondary-button-background);
  --button-border-color: var(--color-secondary-button-border);
  --button-border-width: var(--style-border-width-secondary);
}

.button-secondary:hover {
  --button-color: var(--color-secondary-button-hover-text);
  --button-background-color: var(--color-secondary-button-hover-background);
  --button-border-color: var(--color-secondary-button-hover-border);
  transform: scale(1.03);
}


.button-ternary {
  --button-color: var(--color-ternary-button-text);
  --button-background-color: var(--color-ternary-button-background);
  --button-border-color: var(--color-ternary-button-border);
  --button-border-width: var(--style-border-width-ternary);
}

.button-ternary:hover {
  --button-color: var(--color-ternary-button-hover-text);
  --button-background-color: var(--color-ternary-button-hover-background);
  --button-border-color: var(--color-ternary-button-hover-border);
  transform: scale(1.03);
}

/* Needed to override the default Shopify styles */
button.shopify-payment-button__button--unbranded:hover:not([disabled]) {
  background-color: var(--button-background-color);
}

.button-unstyled {
  display: block;
  padding: 0;
  background-color: inherit;
  color: inherit;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  clip-path: none;
  font-family: var(--font-paragraph--family);
  font-style: var(--font-paragraph--style);
  font-size: var(--font-paragraph--size);
}

.button-unstyled:hover {
  background-color: inherit;
}

.button-unstyled--with-icon {
  color: var(--color-foreground);
  display: flex;
  gap: var(--gap-2xs);
  align-items: center;
}

.button-unstyled--transparent {
  background-color: transparent;
  box-shadow: none;
}

/* Show more */

.show-more__button {
  color: var(--color-primary);
  cursor: pointer;
}

.show-more__button:hover {
  @media screen and (min-width: 750px) {
    color: var(--color-primary-hover);
  }
}

.show-more__label {
  text-align: start;
  font-size: var(--font-size--body-md);
  font-family: var(--font-paragraph--family);
}

.show-more__button .svg-wrapper {
  width: var(--icon-size-xs);
  height: var(--icon-size-xs);
}

.show-more[data-expanded='true'] .show-more__label--more,
.show-more[data-expanded='false'] .show-more__label--less {
  display: none;
}

.link {
  display: inline-block;
  text-align: center;
}

shopify-accelerated-checkout,
shopify-accelerated-checkout-cart {
  --shopify-accelerated-checkout-button-border-radius: var(--style-border-radius-buttons-primary);
  --shopify-accelerated-checkout-button-block-size: var(--height-buy-buttons);
}

.product-form-buttons:has(.add-to-cart-button.button-secondary)
  :is(shopify-accelerated-checkout, shopify-accelerated-checkout-cart) {
  --shopify-accelerated-checkout-button-border-radius: var(--style-border-radius-buttons-secondary);
  --shopify-accelerated-checkout-button-block-size: var(--height-buy-buttons);
}
.product-form-buttons:has(.add-to-cart-button.button-ternary)
  :is(shopify-accelerated-checkout, shopify-accelerated-checkout-cart) {
  --shopify-accelerated-checkout-button-border-radius: var(--style-border-radius-buttons-ternary);
  --shopify-accelerated-checkout-button-block-size: var(--height-buy-buttons);
}

/* Collapsible row */

.icon-caret svg {
  transition: transform var(--animation-speed) var(--animation-easing);
}

.icon-caret--forward svg {
  transform: rotate(-90deg);
}

.icon-caret--backward svg {
  transform: rotate(90deg);
}

summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding-block: var(--padding-sm);
}

summary:hover {
  color: var(--color-primary-hover);
}

summary .svg-wrapper {
  margin-inline-start: auto;
  height: var(--icon-size-xs);
  width: var(--icon-size-xs);
  transition: transform var(--animation-speed) var(--animation-easing);
}

/* Shared plus/minus icon animations */
summary .icon-plus :is(.horizontal, .vertical),
.show-more__button .icon-plus :is(.horizontal, .vertical) {
  transition: transform var(--animation-speed) var(--animation-easing);
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  opacity: 1;
}

details[open] > summary .icon-plus .horizontal,
.details-open > summary .icon-plus .horizontal,
.show-more:where([data-expanded='true']) .show-more__button .icon-plus .horizontal {
  transform: rotate(90deg);
}

details[open] > summary .icon-plus .vertical,
.details-open > summary .icon-plus .vertical,
.show-more:where([data-expanded='true']) .show-more__button .icon-plus .vertical {
  transform: rotate(90deg);
  opacity: 0;
}

/* Product Media */
media-gallery {
  display: block;
  width: 100%;
}

:where(media-gallery, .product-grid__item) {
  .media-gallery__grid {
    grid-template-columns: 1fr;
    gap: var(--image-gap);
  }
}

.product-media-gallery__slideshow--single-media slideshow-container {
  @media screen and (max-width: 749px) {
    grid-area: unset;
  }
}

:not(.dialog-zoomed-gallery) > .product-media-container {
  --slide-width: 100%;

  display: flex;
  aspect-ratio: var(--gallery-aspect-ratio, var(--media-preview-ratio));
  max-height: var(--constrained-height);
  width: var(--slide-width, 100%);

  /* Relative position needed for video and 3d models */
  position: relative;
  overflow: hidden;

  &:where(.constrain-height) {
    /* arbitrary offset value based on average theme spacing and header height */
    --viewport-offset: 400px;
    --constrained-min-height: 300px;
    --constrained-height: max(var(--constrained-min-height), calc(100vh - var(--viewport-offset)));

    margin-right: auto;
    margin-left: auto;
  }

  @supports (--test: round(up, 100%, 1px)) {
    /* width and overflow forces children to shrink to parent width */
    --slide-width: round(up, 100%, 1px);
  }
}

media-gallery:where(.media-gallery--grid) .media-gallery__grid {
  display: none;
}

media-gallery.media-gallery--grid .media-gallery__grid .product-media-container {
  /* Needed for safari to stretch to full grid height */
  height: 100%;
}

.product-media :is(deferred-media, product-model) {
  position: absolute;
}

@media screen and (max-width: 749px) {
  .product-media-container.constrain-height {
    max-height: none;
  }
}

@media screen and (min-width: 750px) {
  .product-media-container.constrain-height {
    --viewport-offset: var(--header-height, 100px);
    --constrained-min-height: 500px;
  }

  body:has(header-component[transparent]) .product-media-container.constrain-height {
    --viewport-offset: 0px;
  }

  .media-gallery--two-column .media-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-gallery--large-first-image .product-media-container:first-child,
  .media-gallery--two-column .product-media-container:only-child {
    /* First child spans 2 columns */
    grid-column: span 2;
  }

  /* Display grid view as a carousel on mobile, grid on desktop */
  media-gallery:is(.media-gallery--grid) slideshow-component {
    display: none;
  }

  media-gallery:where(.media-gallery--grid) .media-gallery__grid {
    display: grid;
  }
}

.product-media-container--model {
  /* Usefull when view in your space is shown */
  flex-direction: column;
}

.shopify-model-viewer-ui__controls-area {
  bottom: calc(var(--minimum-touch-target) + var(--padding-sm));
}

.product-media-container img {
  aspect-ratio: inherit;
  object-fit: contain;
}

.product-media-container.media-fit-contain img {
  object-position: center center;
}

.product-media-container.media-fit {
  --product-media-fit: cover;

  img {
    object-fit: var(--product-media-fit);
  }
}

/* Media gallery zoom dialog */
.product-media-container__zoom-button {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: var(--layer-flat);
  cursor: zoom-in;
  background-color: transparent;

  &:hover {
    background-color: transparent;
  }
}

zoom-dialog dialog {
  width: 100vw;
  height: 100vh;
  border: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  opacity: 0;
  transition: opacity var(--animation-speed) var(--animation-easing);
  scrollbar-width: none;

  &[open] {
    opacity: 1;
  }

  @media (prefers-reduced-motion: no-preference) {
    scroll-behavior: smooth;
  }

  &::backdrop {
    background: transparent;
  }
}

/* Animate the UI elements in only after the view transition is complete */
.close-button {
  position: fixed;
  top: var(--margin-lg);
  right: var(--margin-lg);
  width: var(--minimum-touch-target);
  height: var(--minimum-touch-target);
  z-index: var(--layer-flat);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;

  /* For the outline radius */
  border-radius: 50%;
}

/* This triggers iOS < 16.4. The outline bug is not recognized as a lack of @supports */

@supports not (background-color: rgb(from red 150 g b / alpha)) {
  /**
    There is a bug in safari < 16.4 that causes the outline to not follow the elements border radius. This is a workaround.
    Using element selector to increase specificity.
  **/

  .close-button:focus-visible {
    outline: none;
    overflow: visible;
  }

  .close-button:focus-visible::after {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--focus-outline-offset));
    border: var(--focus-outline-width) solid currentColor;
    border-radius: 50%;
    display: inherit;
  }
}

.dialog--closed .close-button {
  animation: elementSlideOutBottom calc(var(--animation-speed) * 0.5) var(--animation-easing) forwards;
}

.dialog-thumbnails-list-container {
  position: fixed;
  width: 100%;
  bottom: 0;
  display: flex;
  z-index: var(--layer-raised);
}

.dialog-thumbnails-list {
  --active-thumbnail-border-color: rgb(var(--color-border-rgb) / var(--media-border-opacity));

  position: relative;
  display: inline-flex;
  flex-direction: row;
  gap: 8px;
  bottom: 0;
  overflow-x: auto;
  opacity: 0;
  padding: var(--padding-lg);
  margin-inline: auto;
  scrollbar-width: none;
  animation: thumbnailsSlideInBottom calc(var(--animation-speed) * 0.75) var(--animation-easing) forwards;
  animation-delay: calc(var(--animation-speed) * 1.5);
}

.dialog--closed .dialog-thumbnails-list {
  animation: thumbnailsSlideOutBottom var(--animation-speed) var(--animation-easing) forwards;
}

@media screen and (min-width: 750px) {
  .dialog-thumbnails-list {
    position: fixed;
    flex-direction: column;
    inset: 50% var(--margin-lg) auto auto;
    right: 0;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    animation: thumbnailsSlideInTop var(--spring-d220-b0-duration) var(--spring-d220-b0-easing) forwards;
    animation-delay: calc(var(--spring-d220-b0-duration) * 0.5);
  }

  .dialog--closed .dialog-thumbnails-list {
    animation: thumbnailsSlideOutTop var(--animation-speed) var(--animation-easing) forwards;
  }
}

.dialog-thumbnails-list__thumbnail {
  width: var(--thumbnail-width);
  height: auto;
  transition: transform var(--animation-speed) var(--animation-easing);
  flex-shrink: 0;
  border-radius: var(--media-radius);

  img {
    height: 100%;
    object-fit: cover;
    border-radius: var(--media-radius);
    aspect-ratio: var(--aspect-ratio);
  }

  &:is([aria-selected='true']) {
    outline: var(--focus-outline-width) solid currentcolor;
    outline-offset: calc(var(--focus-outline-offset) / 2);
    border: var(--style-border-width) solid var(--active-thumbnail-border-color);
  }
}

@supports (anchor-name: --test) {
  .dialog-thumbnails-list:has(.dialog-thumbnails-list__thumbnail:is([aria-selected='true']))::after {
    --inset-offset: calc(var(--focus-outline-offset) / 2);

    content: '';
    position: absolute;
    inset: anchor(top) anchor(right) anchor(bottom) anchor(left);
    position-anchor: --selected-thumbnail;
    outline: var(--focus-outline-width) solid currentcolor;
    outline-offset: calc(var(--focus-outline-offset) / 2);
    border: var(--style-border-width) solid var(--active-thumbnail-border-color);
    border-radius: var(--media-radius);
    z-index: var(--layer-raised);
  }

  @media (prefers-reduced-motion: no-preference) {
    .dialog-thumbnails-list:has(.dialog-thumbnails-list__thumbnail:is([aria-selected='true']))::after {
      transition-property: inset;
      transition-duration: var(--spring-d180-b0-duration);
      transition-timing-function: var(--spring-d180-b0-easing);
    }
  }

  .dialog-thumbnails-list__thumbnail:is([aria-selected='true']) {
    outline: none;
    border: none;
    anchor-name: --selected-thumbnail;
  }
}

.close-button:hover {
  background-color: transparent;
  opacity: 0.8;
}

.close-button svg {
  width: var(--icon-size-xs);
  height: var(--icon-size-xs);
}

/* Product media */
.product-media {
  display: flex;
  flex: 1;
}

/* If the product media is already providing an image cover, hide images provided by sibling deferred-media */
.product-media__image ~ * .deferred-media__poster-image {
  display: none;
}

/* If the product media is playing, hide the preview image */
.product-media-container:has(.deferred-media__playing) .product-media__image {
  opacity: 0;
  transition: opacity var(--animation-speed) var(--animation-easing);
}

/* Deferred media & Product model  */
:is(product-model, deferred-media) {
  /* Height needed to make sure when it's set to be stretched, it takes the full height */
  height: 100%;
  width: 100%;
  position: relative;
}

product-model model-viewer,
/* Media that have a poster button sibling providing the size should be absolute-positioned.
Otherwise, it should be a block to rely on its own size */
:is(deferred-media, product-model) > .deferred-media__poster-button ~ *:not(template) {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;

  /* Required to make sure the absolute position respects the padding of the wrapper: */
  padding: inherit;
}

slideshow-slide .shopify-model-viewer-ui__controls-area.shopify-model-viewer-ui__controls-area {
  bottom: var(--padding-sm);
  right: var(--padding-sm);
}

.dialog-zoomed-gallery .shopify-model-viewer-ui__controls-area.shopify-model-viewer-ui__controls-area {
  /* Move the controls above the thumbnails. Need to calculate the height of the thumbnails list */
  bottom: calc(var(--thumbnail-width) / var(--media-preview-ratio) + var(--padding-lg) * 2);
  right: var(--padding-lg);
}

@media screen and (max-width: 749px) {
  slideshow-component:has(:not(.mobile\:hidden) :is(.slideshow-controls__dots, .slideshow-controls__counter))
    .shopify-model-viewer-ui__controls-area {
    /* Position the controls just above the counter */
    bottom: calc(var(--minimum-touch-target) + var(--padding-sm));
  }
}

@media screen and (min-width: 750px) {
  slideshow-component:has(:not(.desktop\:hidden) :is(.slideshow-controls__dots, .slideshow-controls__counter))
    .shopify-model-viewer-ui__controls-area {
    /* Position the controls just above the counter */
    bottom: calc(var(--minimum-touch-target) + var(--padding-sm));
  }

  .dialog-zoomed-gallery .shopify-model-viewer-ui__controls-area.shopify-model-viewer-ui__controls-area {
    /* Move the controls up to match the padding on the thumbnails */
    bottom: var(--padding-lg);

    /* Move the controls to the left of the thumbnails list on the right */
    right: calc(var(--thumbnail-width) + var(--padding-lg) * 2);
  }
}

:is(deferred-media, .video-placeholder-wrapper).border-style {
  /* Apply the border radius to the video */
  overflow: hidden;
}

deferred-media {
  /* The overflow hidden in the deferred-media won't let the button show the focus ring */
  &:has(:focus-visible) {
    outline: var(--focus-outline-width) solid currentcolor;
    outline-offset: var(--focus-outline-offset);
  }

  @supports not selector(:focus-visible) {
    &:has(:focus) {
      outline: var(--focus-outline-width) solid currentcolor;
      outline-offset: var(--focus-outline-offset);
    }
  }
}

.deferred-media__poster-button {
  width: 100%;
  height: 100%;
  aspect-ratio: var(--video-aspect-ratio, auto);
}

.deferred-media__poster-button.deferred-media__playing {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

deferred-media img {
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 749px) {
  .hero-video-group {
    margin-top: 120px;
  }
}

deferred-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  aspect-ratio: var(--size-style-aspect-ratio, auto);
}

deferred-media[data-media-loaded] img {
  opacity: 0;
}

.deferred-media__poster-icon,
.video-placeholder-wrapper__poster-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deferred-media__poster-icon svg,
.video-placeholder-wrapper__poster-icon svg {
  width: var(--button-size);
  height: var(--button-size);
  color: var(--color-white);
  filter: drop-shadow(var(--shadow-button));

  &:hover {
    color: rgb(var(--color-white-rgb) / var(--opacity-80));
  }

  @media screen and (min-width: 750px) {
    width: 4rem;
    height: 4rem;
  }
}

deferred-media[class] :is(.deferred-media__poster-button img, .deferred-media__poster-button ~ video) {
  /* only apply this on the video block not product media */
  object-fit: cover;
  height: 100%;
  aspect-ratio: var(--size-style-aspect-ratio, auto);
}

.button-shopify-xr {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--padding-md);
}

.button-shopify-xr > svg {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  margin-inline-end: var(--margin-md);
}

.button-shopify-xr[data-shopify-xr-hidden] {
  display: none;
}

/* Swatches */
.swatch {
  --color-border: rgb(var(--color-foreground-rgb) / var(--style-border-swatch-opacity));
  --min-width-unitless: 15.9999; /* want to avoid division by 0 */
  --min-height-unitless: 15.9999; /* want to avoid division by 0 */
  --min-height: 16px;
  --min-width: 16px;

  /* mobile values */
  --scaling-factor: 0.5;
  --max-swatch-size: 28px;
  --max-pill-size: 20px;
  --max-filter-size: 32px;

  /* From the settings */
  --offset-swatch-width: calc(var(--variant-picker-swatch-width-unitless) - var(--min-width-unitless));
  --offset-swatch-height: calc(var(--variant-picker-swatch-height-unitless) - var(--min-height-unitless));

  /**
    Offset values are obtained from the following formulas:
      offset-width = width - min-width
      offset-height = height - min-height

    The offset-scaled-width and heigth are obtained by extending the line from
    [min,min] to [W,H] and taking the intersection with a square that starts at
    [min,min] and ends at [max,max].

    The extending line forms right angle triangles with the [min,min]->[max,max]
    box that enable us to derive the following formulas

    We also want the result to always be smaller than the input (pdp > everywhere else)
    by some scaling factor.
  */
  --offset-scaled-width: calc(
    var(--scaling-factor) * var(--offset-swatch-width) / var(--offset-swatch-height) * var(--offset-max-swatch-size)
  );
  --offset-scaled-height: calc(
    var(--scaling-factor) * var(--offset-swatch-height) / var(--offset-swatch-width) * var(--offset-max-swatch-size)
  );
  --offset-max-swatch-size: calc(var(--max-swatch-size) - var(--min-width));

  /* width = min(m + sU, (m + s * W'/H' * M'), M) */
  --swatch-width: min(
    calc(var(--min-width) + var(--scaling-factor) * var(--offset-swatch-width) * 1px),
    calc(var(--min-width) + var(--offset-scaled-width)),
    var(--max-swatch-size)
  );

  /* height = min(m + sV, (m + s * H'/W' * M'), M) */
  --swatch-height: min(
    calc(var(--min-height) + var(--scaling-factor) * var(--offset-swatch-height) * 1px),
    calc(var(--min-height) + var(--offset-scaled-height)),
    var(--max-swatch-size)
  );

  display: block;
  background: var(--swatch-background);
  background-position: var(--swatch-focal-point, center);
  border-radius: var(--variant-picker-swatch-radius);
  border: var(--style-border-swatch-width) var(--style-border-swatch-style) var(--color-border);
  width: var(--swatch-width);
  height: var(--swatch-height);

  /* This is different than `background-size: cover` because we use `box-sizing: border-box`,
   * doing it like makes the background clip under the border without repeating.
   */
  background-size: var(--swatch-width) var(--swatch-height);

  &.swatch--unavailable {
    border-style: dashed;
  }

  &.swatch--unscaled {
    /* for when you want fixed sizing (e.g. pdp) */
    --swatch-width: var(--variant-picker-swatch-width);
    --swatch-height: var(--variant-picker-swatch-height);
  }

  &.swatch--filter {
    --swatch-width: var(--max-filter-size);
    --swatch-height: var(--max-filter-size);

    border-radius: var(--variant-picker-swatch-radius);
  }

  &.swatch--pill {
    --swatch-width: var(--max-pill-size);
    --swatch-height: var(--max-pill-size);

    border-radius: var(--variant-picker-swatch-radius);
  }

  /* swatches in filters and pills always have a border  */
  &.swatch--filter,
  &.swatch--pill {
    --style-border-swatch-width: var(--variant-picker-border-width);
    --style-border-swatch-style: var(--variant-picker-border-style);
    --color-border: rgb(var(--color-foreground-rgb) / var(--variant-picker-border-opacity));
  }

  &.swatch--variant-image {
    background-size: cover;
  }

  @media screen and (min-width: 750px) {
    /* desktop values */
    --max-swatch-size: 32px;
    --max-pill-size: 16px;
    --max-filter-size: 28px;
    --scaling-factor: 0.65;
  }
}

.variant-picker .variant-option--buttons label:has(.swatch) {
  border-radius: var(--variant-picker-swatch-radius);
}

/* Variant option component */
.variant-option {
  --options-border-radius: var(--variant-picker-button-radius);
  --options-border-width: var(--variant-picker-button-border-width);
  --variant-option-padding-inline: var(--padding-md);
}

.variant-option + .variant-option {
  margin-top: var(--padding-lg);
}

.variant-option--swatches {
  --options-border-radius: var(--variant-picker-swatch-radius);

  width: 100%;

  overflow-list::part(list) {
    padding-block: var(--overflow-list-padding-block, 0);
    padding-inline: var(--overflow-list-padding-inline, 0);
  }
}

.variant-option--swatches > overflow-list {
  justify-content: var(--product-swatches-alignment);

  @media screen and (max-width: 749px) {
    justify-content: var(--product-swatches-alignment-mobile);
  }
}

.variant-option--buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin: 0;
  padding: 0;
  border: none;
}

.variant-option--buttons legend {
  padding: 0;
  margin-block-end: var(--margin-xs);
}

.variant-option__swatch-value {
  padding-inline-start: var(--padding-xs);
  color: rgb(var(--color-foreground-rgb) / var(--opacity-70));
}

@media (prefers-reduced-motion: no-preference) {
  .variant-option__button-label,
  .variant-option__select-wrapper,
  .variant-option__button-label::before,
  .variant-option__button-label::after,
  .variant-option__button-label:has([data-previous-checked='true'], [data-current-checked='true'])
    .variant-option__button-label__pill,
  .variant-option__button-label:not(.variant-option__button-label--has-swatch) svg line:last-of-type {
    transition-duration: var(--animation-speed);
    transition-timing-function: var(--animation-easing);
  }

  .variant-option__button-label__pill {
    transition-property: transform;
  }

  .variant-option__button-label:not(.variant-option__button-label--has-swatch) svg line:last-of-type {
    transition-property: clip-path;
  }

  .variant-option__button-label:has([data-previous-checked='true'], [data-current-checked='true'])
    .variant-option__button-label__pill {
    transition-property: transform;
  }

  .variant-option__button-label::after {
    transition-property: clip-path;
  }

  .variant-option__button-label::before {
    transition-property: border-color;
  }

  .variant-option__select-wrapper,
  .variant-option__button-label {
    transition-property: background-color, border-color, color;
  }
}

.variant-option__button-label {
  --variant-picker-stroke-color: var(--color-variant-border);

  cursor: pointer;
  display: flex;
  flex: 0 0 3.25em;
  align-items: center;
  position: relative;
  padding-block: var(--padding-sm);
  padding-inline: var(--padding-lg);
  border: var(--options-border-width) solid var(--color-variant-border);
  border-radius: var(--options-border-radius);
  overflow: clip;
  justify-content: center;
  min-height: 3.25em;
  min-width: fit-content;
  white-space: nowrap;
  background-color: var(--color-variant-background);
  color: var(--color-variant-text);
  gap: 0;

  &:hover,
  &:hover:has([aria-disabled='true']):has([data-option-available='false']) {
    background-color: var(--color-variant-hover-background);
    border-color: var(--color-variant-hover-border);
    color: var(--color-variant-hover-text);
  }

  /* we need something like overflow-clip-margin to use the pseudoelement but it doesn't work in Safari */

  /* so instead use the layered background image trick */
  &:not(.variant-option__button-label--has-swatch):has([data-option-available='false']) {
    border-width: 0;
  }

  /* ::after/::before act as a fake border for the button style variant */

  /* ::after is the unavailable variant border that clips in */
  &:not(.variant-option__button-label--has-swatch)::before,
  &:has([data-option-available='false']):not(.variant-option__button-label--has-swatch)::after {
    content: '';
    position: absolute;
    inset: 0;
    border: var(--options-border-width) solid var(--color-selected-variant-border);
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: inset(var(--clip, 0 0 0 0));
  }

  &:has([data-option-available='false']):not(.variant-option__button-label--has-swatch)::before {
    inset: 0;
  }

  &:not(.variant-option__button-label--has-swatch)::before {
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: inset(0 0 0 0);
    border-color: var(--color-variant-border);
    inset: calc(var(--options-border-width) * -1);
  }

  &:has(:checked):not(.variant-option__button-label--has-swatch, :has([data-option-available='false']))::before {
    border-color: var(--color-selected-variant-border);
  }

  /* setting left/right accounts for variant buttons of different widths */
  &:not(:has(:checked)):has(~ label > :checked),
  &:has(:checked):has(~ label > [data-previous-checked='true']) {
    .variant-option__button-label__pill {
      right: 0;
      left: unset;
    }
  }

  &:has([data-previous-checked='true']) ~ label:has([data-current-checked='true']),
  &:has(:checked) ~ label {
    .variant-option__button-label__pill {
      left: 0;
      right: unset;
    }
  }

  &:not(:has(:checked)):has(~ label > :checked) {
    --pill-offset: calc(100% + 1px);
  }

  &:has(:checked) ~ label {
    --pill-offset: calc(-100% - 1px);
  }

  &:has([data-current-checked='true']):first-of-type
    ~ label:last-of-type:not(.variant-option__button-label--has-swatch),
  &:not(:has(:checked)):has(~ label > :checked):not(.variant-option__button-label--has-swatch) {
    --clip: 0 0 0 100%;
  }

  &:not(:has([data-current-checked='true'])):first-of-type:has(~ label:last-of-type > :checked):not(
      .variant-option__button-label--has-swatch
    ),
  &:has(:checked) ~ label:not(.variant-option__button-label--has-swatch) {
    --clip: 0 100% 0 0;
  }

  &:has([data-previous-checked='true'], [data-current-checked='true']) .variant-option__button-label__pill {
    width: max(var(--pill-width-current, 100%), var(--pill-width-previous, 100%));
  }

  @media screen and (min-width: 750px) {
    padding: var(--padding-xs) var(--variant-option-padding-inline);
  }
}

/* wrap around only for 3 or more variants in a row */

/* the more complex selector rules here produce the wrap around effect for first/last variants */
.variant-option--buttons:has(:nth-of-type(3)) {
  .variant-option__button-label:has([data-current-checked='true']):first-of-type ~ label:last-of-type {
    --pill-offset: calc(100% + 1px);
  }

  .variant-option__button-label:not(:has([data-current-checked='true'])):first-of-type:has(
      ~ label:last-of-type > :checked
    ) {
    --pill-offset: calc(-100% - 1px);
  }
}

.variant-option__button-label__pill {
  background: var(--color-selected-variant-background);
  position: absolute;
  top: calc(var(--options-border-width) * -1);
  bottom: calc(var(--options-border-width) * -1);
  border-radius: inherit;
  pointer-events: none;
  width: 100%;
  transform: translateX(var(--pill-offset, 0));
}

.variant-option__button-label__text {
  pointer-events: none;
  text-align: start;
  text-wrap: auto;
  z-index: 2;
}

.variant-option--equal-width-buttons {
  --variant-min-width: clamp(44px, calc(var(--variant-option-padding-inline) * 2 + var(--variant-ch)), 100%);

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--variant-min-width), 1fr));

  .variant-option__button-label {
    min-width: var(--variant-min-width);
  }

  .variant-option__button-label__text {
    text-align: center;
    text-wrap: balance;
  }
}

.variant-option__button-label:has(:focus-visible) {
  --variant-picker-stroke-color: var(--color-foreground);

  border-color: var(--color-foreground);
  outline: var(--focus-outline-width) solid var(--color-foreground);
  outline-offset: var(--focus-outline-offset);
}

.variant-option__button-label--has-swatch {
  --focus-outline-radius: var(--variant-picker-swatch-radius);

  padding: 0;
  border: none;
  flex-basis: auto;
  min-height: auto;
}

/* Override global label:has(input) display rule with higher specificity */
.variant-option__button-label--has-swatch:has(input) {
  display: block;
}

.variant-option__button-label:has(:checked) {
  color: var(--color-selected-variant-text);
  border-color: var(--color-selected-variant-border);
}

.variant-option__button-label:has(:checked):hover {
  border-color: var(--color-selected-variant-hover-border);
  color: var(--color-selected-variant-hover-text);

  .variant-option__button-label__pill {
    background-color: var(--color-selected-variant-hover-background);
  }
}

.variant-option__button-label:has([data-option-available='false']) {
  color: rgb(var(--color-variant-text-rgb) / var(--opacity-60));
}

.variant-option__button-label--has-swatch:hover {
  outline: var(--focus-outline-width) solid rgb(var(--color-foreground-rgb) / var(--opacity-35-55));
  outline-offset: var(--focus-outline-offset);
}

.variant-option__button-label--has-swatch:has(:checked) {
  --focus-outline: var(--focus-outline-width) solid var(--color-foreground);

  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}

/* This triggers iOS < 16.4. The outline bug is not recognized as a lack of @supports */
@supports not (background-color: rgb(from red 150 g b / alpha)) {
  /** There is a bug in safari < 16.4 that causes the outline to not follow the elements border radius. This is a workaround. **/
  .variant-option__button-label--has-swatch:has(:checked),
  .variant-option__button-label:has(:focus-visible) .swatch {
    outline: none;
    position: relative;
    overflow: visible;
  }

  .variant-option__button-label--has-swatch:has(:checked)::after,
  .variant-option__button-label:has(:focus-visible) .swatch::after {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--focus-outline-offset));
    border: var(--focus-outline);
    border-radius: var(--focus-outline-radius, 50%);
    background-color: transparent;
    display: inherit;
  }
}

.variant-option__button-label:has([data-option-available='false']):has(:checked) {
  background-color: inherit;
  color: rgb(var(--color-variant-text-rgb) / var(--opacity-60));
}

.variant-option__button-label input {
  /* remove the checkbox from the page flow */
  position: absolute;

  /* set the dimensions to match those of the label */
  inset: 0;

  /* hide it */
  opacity: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  border: none;
  border-radius: 0;
  background: transparent;
  appearance: auto;
  display: block;
  cursor: pointer;
}

.variant-option__button-label svg {
  position: absolute;
  left: var(--options-border-width);
  top: var(--options-border-width);
  height: calc(100% - (var(--options-border-width) * 2));
  width: calc(100% - (var(--options-border-width) * 2));
  cursor: pointer;
  pointer-events: none;
  stroke-width: var(--style-border-width);
  stroke: var(--variant-picker-stroke-color);
}

.variant-option__button-label:not(.variant-option__button-label--has-swatch) svg {
  stroke: var(--color-variant-border);

  line {
    stroke-width: var(--options-border-width);
  }

  line:last-of-type {
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: inset(var(--clip, 0 0 0 0));
    stroke: rgb(var(--color-variant-text-rgb) / 1);
  }
}

.sticky-content {
  position: sticky;
  top: var(--sticky-header-offset, 0);
  z-index: var(--layer-flat);
}

@media screen and (min-width: 750px) {
  .sticky-content--desktop,
  .sticky-content--desktop.full-height--desktop > .group-block {
    position: sticky;
    top: var(--sticky-header-offset, 0);
    z-index: var(--layer-flat);
  }
}

.price,
.compare-at-price,
.unit-price {
  white-space: nowrap;
}

.unit-price {
  display: block;
  font-size: min(0.85em, var(--font-paragraph--size));
  color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
}

.tax-note.tax-note.tax-note {
  font-size: min(0.85em, var(--font-paragraph--size));
  font-weight: var(--font-paragraph--weight);
  color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
}

product-price.text-block:is(.h1, .h2, .h3, .h4, .h5, .h6) > *:not(.tax-note) {
  margin-block: 0;
}

.compare-at-price {
  opacity: 0.4;
  text-decoration-line: line-through;
  text-decoration-thickness: 1.5px;
}

.card-gallery {
  position: relative;
  max-width: 100%;
}

.card-gallery img {
  max-width: 100%;
}

@container (max-width: 70px) {
  .card-gallery:hover .quick-add__button {
    display: none;
  }
}

/* Hide "Add" button when "Choose" button is shown */
[data-quick-add-button='choose'] add-to-cart-component {
  display: none;
}

/* Hide "Choose" button when "Add" button is shown */
[data-quick-add-button='add'] .quick-add__button--choose {
  display: none;
}

/* Drawer */
.drawer {
  background-color: var(--color-background);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  z-index: var(--layer-raised);
  transform: translateX(-120%);
  transition: transform var(--animation-speed) var(--animation-easing);
}

.drawer[data-open='true'] {
  transform: translateX(0);
}

.drawer-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--drawer-header-block-padding) var(--drawer-inline-padding);
}

.drawer__title {
  font-size: var(--font-h2--size);
  margin: 0;
}

.drawer__close {
  width: var(--minimum-touch-target);
  height: var(--minimum-touch-target);
}

.drawer__content {
  display: block;
  padding: var(--drawer-content-block-padding) var(--drawer-inline-padding);
  width: 100%;
}

/* Background overlay */
.background-overlay {
  position: relative;

  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-overlay-color, rgb(0 0 0 / 15%));
  }
}

/* Spacing style */
.spacing-style {
  --spacing-scale: var(--spacing-scale-md);

  @media screen and (min-width: 990px) {
    --spacing-scale: var(--spacing-scale-default);
  }

  /* Must disable this, when you use these with calc and another unit type, things break — see logo.liquid */
  /* stylelint-disable length-zero-no-unit */
  --padding-block: 0px;
  --padding-block-start: var(--padding-block, 0px);
  --padding-block-end: var(--padding-block, 0px);
  --padding-inline: 0px;
  --padding-inline-start: var(--padding-inline, 0px);
  --padding-inline-end: var(--padding-inline, 0px);
  --margin-block: 0px;
  --margin-block-start: var(--margin-block, 0px);
  --margin-block-end: var(--margin-block, 0px);
  --margin-inline: 0px;
  --margin-inline-start: var(--margin-inline, 0px);
  --margin-inline-end: var(--margin-inline, 0px);
}

.spacing-style,
.inherit-spacing {
  padding-block: calc(var(--padding-block-start) + var(--section-top-offset, 0px)) var(--padding-block-end);
  padding-inline: var(--padding-inline-start) var(--padding-inline-end);
  margin-block: var(--margin-block-start) var(--margin-block-end);
  margin-inline: var(--margin-inline-start) var(--margin-inline-end);
}

/* Size style */
.size-style {
  width: var(--size-style-width-mobile, var(--size-style-width));
  height: var(--size-style-height-mobile, var(--size-style-height));

  @media screen and (min-width: 750px) {
    width: var(--size-style-width);
    height: var(--size-style-height);
  }
}

/* Custom Typography style */
.custom-typography,
.custom-typography > * {
  font-family: var(--font-family);
  font-weight: var(--font-weight);
  text-transform: var(--text-transform);
  text-wrap: var(--text-wrap);
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
}

.custom-typography {
  h1 {
    line-height: var(--line-height--display, var(--line-height));
  }

  h2,
  h3,
  h4 {
    line-height: var(--line-height--heading, var(--line-height));
  }

  p {
    line-height: var(--line-height--body, var(--line-height));
  }
}

.custom-font-size,
.custom-font-size > * {
  font-size: var(--font-size);
}

.custom-font-weight,
.custom-font-weight > * {
  font-weight: var(--font-weight);
}

/* Border override style */
.border-style {
  border-width: var(--border-width);
  border-style: var(--border-style);
  border-color: var(--border-color);
  border-radius: var(--border-radius);
}

/* Gap scaling style */
.gap-style,
.layout-panel-flex {
  --gap-scale: var(--spacing-scale-md);

  @media screen and (min-width: 990px) {
    --gap-scale: var(--spacing-scale-default);
  }
}

.layout-panel-flex {
  display: flex;
  gap: var(--gap);
  height: 100%;
}

.layout-panel-flex--row {
  flex-flow: row var(--flex-wrap);
  justify-content: var(--horizontal-alignment);
  align-items: var(--vertical-alignment);
}

.layout-panel-flex--column {
  flex-flow: column var(--flex-wrap);
  align-items: var(--horizontal-alignment);
  justify-content: var(--vertical-alignment);
}

@media screen and (max-width: 749px) {
  .mobile-column {
    flex-flow: column nowrap;
    align-items: var(--horizontal-alignment);
    justify-content: var(--vertical-alignment-mobile);
  }

  .layout-panel-flex--row:not(.mobile-column) {
    flex-wrap: var(--flex-wrap-mobile);

    > .menu {
      flex: 1 1 min-content;
    }

    > .text-block {
      flex: 1 1 var(--max-width--display-tight);
    }

    > .image-block {
      flex: 1 1 var(--size-style-width-mobile-min);
    }

    > .button {
      flex: 0 0 fit-content;
    }
  }
}

@media screen and (min-width: 750px) {
  .layout-panel-flex {
    flex-direction: var(--flex-direction);
  }
}

/* Form fields */
.field {
  position: relative;
  width: 100%;
  display: flex;
  transition: box-shadow var(--animation-speed) ease;
}

.field__input {
  flex-grow: 1;
  text-align: left;
  border-radius: var(--style-border-radius-inputs);
  transition: box-shadow var(--animation-speed) ease, background-color var(--animation-speed) ease;
  padding: var(--input-padding);
  box-shadow: var(--input-box-shadow);
  background-color: var(--color-input-background);
  color: var(--color-input-text);
  border: none;
  outline: none;
  font-size: var(--font-paragraph--size);

  &:autofill {
    background-color: var(--color-input-background);
    color: var(--color-input-text);
  }
}

.field__input:is(:focus, :hover) {
  box-shadow: var(--input-box-shadow-focus);
  background-color: var(--color-input-hover-background);
}

.field__input--button-radius {
  border-radius: var(--style-border-radius-buttons-primary);
}

.field__input--button-padding {
  padding-inline: var(--padding-3xl);
}

.field__label {
  color: rgb(var(--color-input-text-rgb) / var(--opacity-80));
  font-size: var(--font-paragraph--size);
  left: var(--input-padding-x);
  top: 50%;
  transform: translateY(-50%);
  margin-bottom: 0;
  pointer-events: none;
  position: absolute;
  transition: top var(--animation-speed) ease, font-size var(--animation-speed) ease;
}

/* RTE styles */
.rte,
.shopify-policy__title {
  :is(h1, h2, h3, h4, h5, h6) {
    margin-block: clamp(1.5rem, 1em * 3.3, 2.5rem) clamp(1rem, 1em * 0.25, 2rem);
  }

  :first-child:is(p, h1, h2, h3, h4, h5, h6),
  :first-child:empty + :is(p, h1, h2, h3, h4, h5, h6) {
    margin-block-start: 0;
  }

  ul,
  ol {
    margin-block-start: 0;
    padding-inline-start: 1.5em;
  }

  /* Only apply margin-block-end to the higher level list, not nested lists */
  :is(ul, ol):not(:is(ul, ol) :is(ul, ol)) {
    margin-block-end: 1em;
  }

  blockquote {
    margin-inline: 1.5em 2.3em;
    margin-block: 3.8em;
    padding-inline-start: 0.8em;
    border-inline-start: 1.5px solid rgb(var(--color-foreground-rgb) / var(--opacity-25));
    font-style: italic;
    font-weight: 500;
  }

  .rte-table-wrapper {
    overflow-x: auto;
  }

  table {
    /* stylelint-disable-next-line declaration-no-important */
    width: 100% !important;
    border-collapse: collapse;
  }

  tr:not(:has(td)),
  thead {
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
    font-weight: bold;
    text-transform: uppercase;
  }

  tr:has(td) {
    border-bottom: 1px solid rgb(var(--color-foreground-rgb) / var(--opacity-10));
  }

  th,
  td {
    text-align: start;
    padding-inline: var(--padding-md);
    padding-block: var(--padding-sm);
  }
}

.shopify-policy__container {
  padding-block: var(--padding-xl);
}

.checkbox {
  --checkbox-top: 50%;
  --checkbox-left: 1.5px;
  --checkbox-offset: 3px;
  --checkbox-path-opacity: 0;
  --checkbox-cursor: pointer;

  position: relative;
  display: flex;
  align-items: center;

  &:has(.checkbox__input:checked) {
    --checkbox-path-opacity: 1;
  }

  &.checkbox--disabled {
    --checkbox-cursor: not-allowed;
  }
}

.checkbox__input {
  position: absolute;
  opacity: 0;
  margin: 0;
  padding: 0;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  aspect-ratio: unset;
  border: none;
  border-radius: 0;
  background: transparent;
  appearance: auto;
  display: block;
  cursor: pointer;

  /* Outline is on the SVG instead, to allow it to have border-radius */
  &:focus-visible {
    outline: none;
  }

  &:focus-visible + .checkbox__label .icon-checkmark {
    outline: var(--focus-outline-width) solid currentcolor;
    outline-offset: var(--focus-outline-offset);
  }

  &:checked + .checkbox__label .icon-checkmark {
    background-color: var(--color-foreground);
    border-color: var(--color-foreground);
  }

  &:disabled + .checkbox__label .icon-checkmark {
    background-color: var(--input-disabled-background-color);
    border-color: var(--input-disabled-border-color);
  }
}

.checkbox__label {
  position: relative;
  display: inline-flex;
  cursor: var(--checkbox-cursor);
  line-height: var(--checkbox-size);
  min-width: var(--minimum-touch-target);
}

.checkbox .icon-checkmark {
  height: var(--checkbox-size);
  width: var(--checkbox-size);
  flex-shrink: 0;
  border: var(--checkbox-border);
  border-radius: var(--checkbox-border-radius);
  background-color: var(--color-background);
}

.checkbox__label-text {
  padding-inline-start: var(--checkbox-label-padding);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkbox .icon-checkmark path {
  stroke: var(--color-background);
  opacity: var(--checkbox-path-opacity);
  transition: opacity var(--animation-speed) var(--animation-easing);
}

.checkbox__input:disabled + .checkbox__label {
  color: var(--input-disabled-text-color);
}

/* Radio buttons and checkboxes - shared base styles */
:where(input[type='radio']),
:where(input[type='checkbox']) {
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  aspect-ratio: 1;
  margin: 0;
  margin-inline-end: var(--padding-3xs);
  padding: 0;
  border: var(--checkbox-border);
  appearance: none;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}

/* Radio buttons */
input[type='radio'] {
  border-radius: var(--style-border-radius-50);
  background: transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

:where(input[type='radio']):checked {
  border-color: var(--color-foreground);
  background: var(--color-background);
}

:where(input[type='radio']):checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--checkbox-size) / 2);
  height: calc(var(--checkbox-size) / 2);
  background: var(--color-foreground);
  border-radius: var(--style-border-radius-50);
  transition: background 0.2s ease;
}

:where(input[type='radio']):disabled {
  border-color: var(--input-disabled-border-color);
  background-color: var(--input-disabled-background-color);
  cursor: not-allowed;
}

:where(input[type='radio']):disabled:checked::after {
  background: var(--input-disabled-background-color);
}

:where(input[type='radio']):not(:disabled):hover {
  border-color: rgb(var(--color-foreground-rgb) / var(--opacity-40-60));
  background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
}

:where(input[type='radio']):not(:disabled):hover:checked {
  border-color: var(--color-foreground);
  background-color: var(--color-background);
}

:where(input[type='radio']):not(:disabled):hover:checked::after {
  background: rgb(var(--color-foreground-rgb) / var(--opacity-85));
}

/* Checkboxes */
:where(input[type='checkbox']) {
  border-radius: var(--checkbox-border-radius);
  background-color: var(--color-background);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

:where(input[type='checkbox']):checked {
  background-color: var(--color-foreground);
  border-color: var(--color-foreground);
}

:where(input[type='checkbox']):checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  background-color: var(--color-background);
  mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.75439 10.7485L7.68601 14.5888C7.79288 14.7288 7.84632 14.7988 7.91174 14.8242C7.96907 14.8466 8.03262 14.8469 8.09022 14.8253C8.15596 14.8007 8.21026 14.7314 8.31886 14.5927L15.2475 5.74658' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

:where(input[type='checkbox']):not(:disabled):hover {
  border-color: rgb(var(--color-foreground-rgb) / var(--opacity-40-60));
  background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
}

:where(input[type='checkbox']):not(:disabled):hover:checked {
  border-color: var(--color-foreground);
  background-color: rgb(var(--color-foreground-rgb) / var(--opacity-85));
}

:where(input[type='checkbox']):disabled {
  background-color: var(--input-disabled-background-color);
  border-color: var(--input-disabled-border-color);
  cursor: not-allowed;
}

:where(input[type='checkbox']):disabled:checked::after {
  background-color: var(--input-disabled-text-color);
}

/* Shared styles for radio buttons and checkboxes */
:where(input[type='radio']) + label,
:where(input[type='checkbox']) + label {
  display: inline;
  vertical-align: middle;
  cursor: pointer;
}

:where(input[type='radio']):disabled + label,
:where(input[type='checkbox']):disabled + label {
  color: var(--input-disabled-text-color);
  cursor: not-allowed;
}

/* Flexbox for labels wrapping radio buttons or checkboxes */
label:has(input[type='radio']),
label:has(input[type='checkbox']) {
  display: inline-flex;
  align-items: center;
  gap: var(--padding-2xs);
  cursor: pointer;
}

label:has(input[type='radio']:disabled),
label:has(input[type='checkbox']:disabled) {
  cursor: not-allowed;
}

/* Override for swatch labels to maintain block display */
.variant-option__button-label--has-swatch:has(input[type='radio']) {
  display: block;
}

/* Add to cart button */
.button[id^='BuyButtons-ProductSubmitButton-'] {
  position: relative;
  overflow: hidden;
}

/* Cart items component */
.cart-items-component {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Cart bubble */
.cart-bubble {
  --cart-padding: 0.2em;

  position: relative;
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  border-width: 0;
  display: flex;
  line-height: normal;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-button-text);
  padding-inline: var(--cart-padding);
}

.cart-bubble[data-maintain-ratio] {
  aspect-ratio: 1;
}

.cart-bubble[data-maintain-ratio] .cart-bubble__background {
  border-radius: var(--style-border-radius-50);
}

.cart-bubble__background {
  position: absolute;
  inset: 0;
  background-color: var(--color-primary-button-background);
  border-radius: var(--style-border-radius-lg);
}

.cart-bubble__text {
  font-size: var(--font-size--3xs);
  z-index: var(--layer-flat);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cart typography */
.cart-primary-typography {
  font-family: var(--cart-primary-font-family);
  font-style: var(--cart-primary-font-style);
  font-weight: var(--cart-primary-font-weight);
}

.cart-secondary-typography {
  font-family: var(--cart-secondary-font-family);
  font-style: var(--cart-secondary-font-style);
  font-weight: var(--cart-secondary-font-weight);
}

.cart-ternary-typography {
  font-family: var(--cart-ternary-font-family);
  font-style: var(--cart-ternary-font-style);
  font-weight: var(--cart-ternary-font-weight);
}

/* Quantity selector */
.quantity-selector {
  --quantity-selector-width: 124px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-input-text);
  background-color: var(--color-input-background);
  border: var(--style-border-width-inputs) solid var(--color-input-border);
  border-radius: var(--style-border-radius-inputs);
  flex: 1 1 var(--quantity-selector-width);
  align-self: stretch;
  transition: background-color var(--animation-speed) var(--animation-easing);

  &:hover {
    background-color: var(--color-input-hover-background);
  }
}

.product-form-buttons:has(.add-to-cart-button.button) .quantity-selector {
  border-radius: var(--style-border-radius-buttons-primary);
}
.product-form-buttons:has(.add-to-cart-button.button-secondary) .quantity-selector {
  border-radius: var(--style-border-radius-buttons-secondary);
}
.product-form-buttons:has(.add-to-cart-button.button-ternary) .quantity-selector {
  border-radius: var(--style-border-radius-buttons-ternary);
}

.quantity-selector :is(.quantity-minus, .quantity-plus) {
  /* Unset button styles */
  padding: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: var(--minimum-touch-target);
  height: var(--minimum-touch-target);
  flex-shrink: 0;
  color: var(--color-input-text);
}

.quantity-selector .quantity-minus {
  border-start-start-radius: var(--style-border-radius-inputs);
  border-end-start-radius: var(--style-border-radius-inputs);
}

.quantity-selector .quantity-plus {
  border-start-end-radius: var(--style-border-radius-inputs);
  border-end-end-radius: var(--style-border-radius-inputs);
}

.product-details .quantity-selector,
.quick-add-modal .quantity-selector {
  border-radius: var(--style-border-radius-buttons-primary);
}

.product-details .quantity-selector .quantity-minus,
.quick-add-modal .quantity-selector .quantity-minus {
  border-start-start-radius: var(--style-border-radius-buttons-primary);
  border-end-start-radius: var(--style-border-radius-buttons-primary);
}

.product-details .quantity-selector .quantity-plus,
.quick-add-modal .quantity-selector .quantity-plus {
  border-start-end-radius: var(--style-border-radius-buttons-primary);
  border-end-end-radius: var(--style-border-radius-buttons-primary);
}

.quantity-selector .svg-wrapper {
  transition: transform var(--animation-speed) var(--animation-easing);
}

.quantity-selector svg {
  width: var(--icon-size-xs);
  height: var(--icon-size-xs);
}

:is(.quantity-minus, .quantity-plus):active .svg-wrapper {
  transform: scale(0.9);
}

.quantity-selector input[type='number'] {
  margin: 0;
  text-align: center;
  border: none;
  appearance: none;
  max-width: calc(var(--quantity-selector-width) - var(--minimum-touch-target) * 2);
  border-radius: var(--style-border-radius-buttons);
  color: var(--color-input-text);
  background-color: transparent;
}

/* Chrome, Safari, Edge, Opera */
.quantity-selector input[type='number']::-webkit-inner-spin-button,
.quantity-selector input[type='number']::-webkit-outer-spin-button {
  appearance: none;
}

/* Firefox */
.quantity-selector input[type='number'] {
  appearance: textfield;
}

/* Pills (used in facets and predictive search) */

.pills__pill {
  --pills-pill-background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5-15));

  color: var(--color-foreground);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap-sm);
  min-width: 48px;
  padding: 6px 12px;
  border-radius: var(--style-border-radius-pills);
  cursor: pointer;
  background-color: var(--pills-pill-background-color);
  transition: background-color var(--animation-speed) var(--animation-easing);

  &:hover {
    --pills-pill-background-color: rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
  }

  @media screen and (max-width: 749px) {
    padding: var(--padding-xs) var(--padding-md);
  }
}

.pills__pill > .svg-wrapper {
  --close-icon-opacity: 0.4;
  --icon-stroke-width: 1px;

  color: var(--color-foreground);
}

.pills__pill--swatch {
  @media screen and (max-width: 749px) {
    padding-inline-start: var(--padding-sm);
  }
}

.pills__pill--swatch .swatch {
  margin-right: -4px;
}

.pills__pill--desktop-small {
  @media screen and (min-width: 750px) {
    font-size: var(--font-size--xs);
  }
}

/* Fly to cart animation */
fly-to-cart {
  --offset-y: 10px;

  position: fixed;
  width: var(--width, 40px);
  height: var(--height, 40px);
  left: 0;
  top: 0;
  z-index: calc(infinity);
  pointer-events: none;
  border-radius: var(--style-border-radius-buttons-primary);
  overflow: hidden;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  opacity: 0;
  background-color: var(--color-foreground);
  translate: var(--start-x, 0) var(--start-y, 0);
  transform: translate(-50%, -50%);
  animation-name: travel-x, travel-y, travel-scale;
  animation-timing-function: var(--x-timing), var(--y-timing), var(--scale-timing);
  animation-duration: 0.6s;
  animation-composition: accumulate;
  animation-fill-mode: both;
}

fly-to-cart.fly-to-cart--main {
  --x-timing: cubic-bezier(0.7, -5, 0.98, 0.5);
  --y-timing: cubic-bezier(0.15, 0.57, 0.9, 1.05);
  --scale-timing: cubic-bezier(0.85, 0.05, 0.96, 1);
}

fly-to-cart.fly-to-cart--quick {
  --x-timing: cubic-bezier(0, -0.1, 1, 0.32);
  --y-timing: cubic-bezier(0, 0.92, 0.92, 1.04);
  --scale-timing: cubic-bezier(0.86, 0.08, 0.98, 0.98);

  animation-duration: 0.6s;
}

fly-to-cart.fly-to-cart--sticky {
  --x-timing: cubic-bezier(0.98, -0.8, 0.92, 0.5);
  --y-timing: cubic-bezier(0.14, 0.56, 0.92, 1.04);
  --scale-timing: cubic-bezier(0.86, 0.08, 0.98, 0.98);
  --radius: var(--style-border-radius-buttons-primary);

  @media screen and (max-width: 749px) {
    --x-timing: cubic-bezier(0.98, -0.1, 0.92, 0.5);
  }

  animation-duration: 0.8s;
}

@keyframes travel-scale {
  0% {
    opacity: var(--start-opacity, 1);
  }

  5% {
    opacity: 1;
  }

  100% {
    border-radius: 50%;
    opacity: 1;
    transform: translate(-50%, calc(-50% + var(--offset-y))) scale(0.25);
  }
}

@keyframes travel-x {
  to {
    translate: var(--travel-x, 0) 0;
  }
}

@keyframes travel-y {
  to {
    translate: 0 var(--travel-y, 0);
  }
}

/* ------------------------------------------------------------------------------ */

/* Collection Wrapper - Shared layout CSS for collection and search pages */

/* ------------------------------------------------------------------------------ */

.collection-wrapper {
  @media screen and (min-width: 750px) {
    --facets-vertical-col-width: 6;

    grid-template-columns:
      1fr repeat(
        var(--centered-column-number),
        minmax(0, calc((var(--page-width) - var(--page-margin) * 2) / var(--centered-column-number)))
      )
      1fr;
  }

  @media screen and (min-width: 990px) {
    --facets-vertical-col-width: 5;
  }
}

.collection-wrapper:has(.facets-block-wrapper--full-width),
.collection-wrapper:has(.collection-wrapper--full-width) {
  @media screen and (min-width: 750px) {
    grid-column: 1 / -1;
    grid-template-columns:
      minmax(var(--page-margin), 1fr) repeat(
        var(--centered-column-number),
        minmax(0, calc((var(--page-width) - var(--page-margin) * 2) / var(--centered-column-number)))
      )
      minmax(var(--page-margin), 1fr);
  }
}

.collection-wrapper:has(.facets--vertical) .facets-block-wrapper--vertical:not(.hidden) ~ .main-collection-grid {
  @media screen and (min-width: 750px) {
    grid-column: var(--facets-vertical-col-width) / var(--full-width-column-number);
  }
}

.collection-wrapper:has(.facets-block-wrapper--vertical:not(#filters-drawer)):has(.collection-wrapper--full-width) {
  @media screen and (min-width: 750px) {
    grid-column: 1 / -1;
    grid-template-columns: 0fr repeat(var(--centered-column-number), minmax(0, 1fr)) 0fr;
  }
}

:is(.collection-wrapper--full-width, .collection-wrapper--full-width-on-mobile)
  [product-grid-view='default']
  .product-grid__card {
  @media screen and (max-width: 749px) {
    padding-inline-start: max(var(--padding-xs), var(--padding-inline-start));
    padding-inline-end: max(var(--padding-xs), var(--padding-inline-end));
  }
}

:is(.collection-wrapper--full-width, .collection-wrapper--full-width-on-mobile)
  [product-grid-view='mobile-single']
  .product-grid__card {
  @media screen and (max-width: 749px) {
    padding-inline-start: max(var(--padding-xs), var(--padding-inline-start));
    padding-inline-end: max(var(--padding-xs), var(--padding-inline-end));
  }
}

/* Make product media go edge-to-edge by using negative margins */
:is(.collection-wrapper--full-width) .card-gallery,
:is(.collection-wrapper--full-width-on-mobile) .card-gallery {
  @media screen and (max-width: 749px) {
    margin-inline-start: calc(-1 * max(var(--padding-xs), var(--padding-inline-start)));
    margin-inline-end: calc(-1 * max(var(--padding-xs), var(--padding-inline-end)));
  }
}

.collection-wrapper--full-width .main-collection-grid__title {
  margin-left: var(--page-margin);
}

.collection-wrapper--full-width-on-mobile .main-collection-grid__title {
  @media screen and (max-width: 749px) {
    margin-left: var(--page-margin);
  }
}

.collection-wrapper--grid-full-width .facets--vertical:not(.facets--drawer) {
  @media screen and (min-width: 750px) {
    padding-inline-start: max(var(--padding-sm), var(--padding-inline-start));
  }
}

.collection-wrapper:has(.product-grid-mobile--large) .facets-mobile-wrapper.facets-controls-wrapper {
  @media screen and (max-width: 749px) {
    display: none;
  }
}

.collection-wrapper:has(> .facets--horizontal) .facets__panel[open] {
  @media screen and (min-width: 750px) {
    z-index: var(--facets-open-z-index);
  }
}

/* ------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------ */

/* Animation declarations - to be kept at the bottom of the file for ease of find */
@keyframes grow {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes move-and-fade {
  from {
    transform: translate(var(--start-x, 0), var(--start-y, 0));
    opacity: var(--start-opacity, 0);
  }

  to {
    transform: translate(var(--end-x, 0), var(--end-y, 0));
    opacity: var(--end-opacity, 1);
  }
}

@keyframes slideInTopViewTransition {
  from {
    transform: translateY(100px);
  }
}

@keyframes elementSlideInTop {
  from {
    margin-top: var(--padding-sm);
    opacity: 0;
  }

  to {
    margin-top: 0;
    opacity: 1;
  }
}

@keyframes elementSlideOutTop {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(var(--padding-sm));
    opacity: 0;
  }
}

@keyframes elementSlideInBottom {
  from {
    transform: translateY(calc(-1 * var(--padding-sm)));
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes elementSlideOutBottom {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(calc(-1 * var(--padding-sm)));
    opacity: 0;
  }
}

@keyframes thumbnailsSlideInTop {
  from {
    transform: translateY(calc(-50% + var(--margin-lg)));
    opacity: 0;
  }

  to {
    transform: translateY(-50%);
    opacity: 1;
  }
}

@keyframes thumbnailsSlideOutTop {
  from {
    transform: translateY(-50%);
    opacity: 1;
  }

  to {
    transform: translateY(calc(-50% + var(--margin-lg)));
    opacity: 0;
  }
}

@keyframes thumbnailsSlideInBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes thumbnailsSlideOutBottom {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

@keyframes search-element-slide-in-bottom {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes search-element-slide-out-bottom {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

@keyframes dialogZoom {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  to {
    opacity: 0;
    transform: scale(0.95) translateY(1em);
  }
}

@keyframes thumbnail-selected {
  0%,
  100% {
    box-shadow: 0 0 0 2px transparent;
    scale: 0.9;
  }

  50% {
    box-shadow: 0 0 0 2px #000;
    scale: 1;
  }
}

@keyframes backdropFilter {
  from {
    backdrop-filter: brightness(1);
  }

  to {
    backdrop-filter: brightness(0.75);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalSlideInTop {
  from {
    transform: translateY(var(--padding-sm));
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes modalSlideOutTop {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(var(--padding-sm));
    opacity: 0;
  }
}

.bubble {
  display: inline-flex;
  height: calc(var(--variant-picker-swatch-height) / 1.5);
  font-size: var(--font-size--xs);
  border-radius: 20px;
  min-width: 20px;
  padding: 0 6px;
  background-color: rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
  color: var(--color-foreground);
  align-items: center;
  justify-content: center;
}

.bubble svg {
  width: 12px;
  height: 12px;
}

.top-shadow::before {
  content: '';
  box-shadow: 0 0 10px var(--color-shadow);
  position: absolute;
  z-index: var(--layer-lowest);
  inset: 0;
  clip-path: inset(-50px 0 0 0); /* stylelint-disable-line */
}

@media screen and (min-width: 750px) {
  .top-shadow--mobile::before {
    display: none;
  }
}

.bottom-shadow::before {
  content: '';
  box-shadow: 0 0 10px var(--color-shadow);
  position: absolute;
  z-index: var(--layer-lowest);
  inset: 0;
  clip-path: inset(0 0 -50px 0); /* stylelint-disable-line */
}

@media screen and (min-width: 750px) {
  .bottom-shadow--mobile::before {
    display: none;
  }
}

.video-placeholder-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--size-style-aspect-ratio, auto);
}

:not(deferred-media) > .video-placeholder-wrapper {
  width: var(--video-placeholder-width);
}

.video-placeholder-wrapper > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*
 * Slideshow Component
 */
slideshow-component {
  --cursor: grab;
  --slide-offset: 6px;

  position: relative;
  display: flex;
  flex-direction: column;
  timeline-scope: var(--slideshow-timeline);
}

slideshow-component.slideshow--content-below-media slideshow-slide {
  display: grid;
}

.slideshow--content-below-media slideshow-slide :is(.slide__image-container, .slide__content) {
  position: static;
}

.slideshow--content-below-media slideshow-slide {
  grid-template-rows: var(--grid-template-rows);

  @media screen and (min-width: 750px) {
    grid-template-rows: var(--grid-template-rows-desktop);
  }
}

.slide__content {
  @supports (animation-timeline: auto) {
    opacity: 0;
    animation: slide-reveal both linear;
    animation-timeline: var(--slideshow-timeline);
  }

  @media (prefers-reduced-motion) {
    opacity: 1;
    animation: none;
  }
}

/*
 * Force Safari to recalculate the timeline state on timeline refresh (after loop)
*/
slideshow-component[refreshing-timeline] .slide__content {
  animation: none;
}

.slideshow--single-media {
  --cursor: default;
}

a slideshow-component {
  --cursor: pointer;
}

/*
 * Slideshow Slides
 */
slideshow-slides {
  width: 100%;
  position: relative;
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-color: transparent transparent;
  scrollbar-width: none;
  gap: var(--slideshow-gap, 0);
  cursor: var(--cursor);
  min-height: var(--slide-min-height);

  @media (prefers-reduced-motion) {
    scroll-behavior: auto;
  }

  &::-webkit-scrollbar {
    width: 0;
  }

  &::-webkit-scrollbar-track {
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
  }

  @media screen and (min-width: 750px) {
    min-height: var(--slide-min-height-desktop);
  }
}

slideshow-component[disabled='true'] slideshow-slides {
  overflow: hidden;
}

/**
 * By default, slideshows have overflow: hidden (no compositor layer).
 * When the slideshow enters the viewport, JavaScript adds [in-viewport] which enables scrolling.
 */
slideshow-component:not([in-viewport]) slideshow-slides {
  overflow: hidden;
}

slideshow-component[mobile-disabled] slideshow-slides {
  @media screen and (max-width: 749px) {
    overflow: hidden;
  }
}

slideshow-slide {
  position: relative;
  scroll-snap-align: center;
  width: var(--slide-width, 100%);
  max-height: 100%;
  flex-shrink: 0;
  view-timeline-name: var(--slideshow-timeline);
  view-timeline-axis: inline;
  content-visibility: auto;
  contain-intrinsic-size: auto none;
  border-radius: var(--corner-radius, 0);
  overflow: hidden;

  slideshow-component[actioned] &,
  &[aria-hidden='false'] {
    content-visibility: visible;
  }

  slideshow-component slideshow-slide:not([aria-hidden='false']) {
    content-visibility: hidden;
  }

  &[hidden]:not([reveal]) {
    display: none;
  }

  /* Make inactive slides appear clickable */
  &[aria-hidden='true'] {
    cursor: pointer;
  }
}

slideshow-slide .slide__image-container--rounded {
  border-radius: var(--corner-radius, 0);
}

slideshow-slide.product-media-container--tallest {
  content-visibility: visible;
}

@media screen and (max-width: 749px) {
  /* Media gallery has a peeking slide on the right side always, and on the left side when the current slide is the last one */
  .media-gallery--hint
    :is(
      slideshow-slide:has(+ slideshow-slide[aria-hidden='false']:last-of-type),
      slideshow-slide[aria-hidden='false'] + slideshow-slide
    ) {
    content-visibility: auto;

    slideshow-component[actioned] & {
      content-visibility: visible;
    }
  }
}

/*
 * Collection and Resource list carousels have peeking slides on both sides.
 * Card galleries preview the next or previous images on 'pointerenter', so we
 * try to kick load them beforehand (they are lazy loaded otherwise).
 */
:is(.resource-list__carousel, .card-gallery)
  :is(
    slideshow-slide:has(+ slideshow-slide[aria-hidden='false']),
    slideshow-slide[aria-hidden='false'] + slideshow-slide
  ) {
  content-visibility: auto;

  slideshow-component[actioned] & {
    content-visibility: visible;
  }
}

/*
 * Be specific about HTML children structure to avoid targeting nested slideshows.
 * Ensure that the content is 'visible' while scrolling instead of 'auto' to avoid issues in Safari.
 */
slideshow-component:is([dragging], [transitioning], :hover) > slideshow-container > slideshow-slides > slideshow-slide {
  content-visibility: visible;
}

slideshow-slides[gutters*='start'] {
  padding-inline-start: var(--gutter-slide-width, 0);
  scroll-padding-inline-start: var(--gutter-slide-width, 0);
}

slideshow-slides[gutters*='end'] {
  padding-inline-end: var(--gutter-slide-width, 0);
}

slideshow-component[dragging] {
  --cursor: grabbing;

  * {
    pointer-events: none;
  }
}

slideshow-component[dragging] slideshow-arrows {
  display: none;
}

slideshow-container {
  width: 100%;
  display: block;
  position: relative;
  grid-area: container;
  container-type: inline-size;
  background-color: var(--color-background);
}

@media screen and (min-width: 750px) {
  .media-gallery--carousel slideshow-component:has(slideshow-controls[thumbnails]) {
    &:has(slideshow-controls[pagination-position='right']) {
      display: grid;
      grid-template:
        'container controls' auto
        'arrows controls' min-content
        / 1fr auto;
    }

    &:has(slideshow-controls[pagination-position='left']) {
      display: grid;
      grid-template:
        'controls container' auto
        'controls arrows' min-content
        / auto 1fr;
    }

    slideshow-controls[pagination-position='left'] {
      order: -1;
    }
  }
}

/* Slideshow Play/Pause */
.slideshow-control:is(.icon-pause, .icon-play) {
  color: var(--color-active);

  &:hover {
    color: var(--color-hover);
  }

  svg {
    display: none;
  }
}

slideshow-component:is([autoplay]) {
  &:is([paused]) {
    .icon-play > svg {
      display: block;
    }
  }

  &:not([paused]) {
    .icon-pause > svg {
      display: block;
    }
  }
}

/* Slideshow Arrows */
slideshow-arrows {
  --cursor-previous: w-resize;
  --cursor-next: e-resize;

  position: absolute;
  inset: 0;
  display: flex;
  z-index: var(--layer-heightened);
  pointer-events: none;
  mix-blend-mode: difference;
  align-items: flex-end;

  &[position='left'] {
    justify-content: flex-start;
    padding-inline: var(--padding-xs);
  }

  &[position='right'] {
    justify-content: flex-end;
    padding-inline: var(--padding-xs);
  }

  &[position='center'] {
    justify-content: space-between;
    align-items: center;
  }
}

slideshow-arrows:has(.slideshow-control--shape-square),
slideshow-arrows:has(.slideshow-control--shape-circle) {
  mix-blend-mode: normal;
}

slideshow-component[disabled='true'] slideshow-arrows {
  display: none;
}

slideshow-arrows .slideshow-control {
  pointer-events: auto;
  opacity: 0;
  min-height: var(--minimum-touch-target);
  min-width: var(--minimum-touch-target);
  padding: 0 var(--padding-xs);
  color: var(--color-white);
}

slideshow-arrows .slideshow-control.slideshow-control--style-none {
  display: none;
}

.media-gallery--carousel slideshow-arrows .slideshow-control {
  padding-inline: 0 var(--padding-md);
  opacity: 1;
}

.card-gallery slideshow-arrows .slideshow-control {
  /* Align icons with quick-add button */
  padding-inline: var(--padding-xl);

  @container (max-width: 249px) {
    padding-inline: 0 var(--padding-sm);
  }
}

:not(.media-gallery--carousel)
  > :is(slideshow-component:hover, slideshow-component:focus-within):not(:has(slideshow-controls:hover))
  > slideshow-container
  > slideshow-arrows
  .slideshow-control {
  animation: arrowsSlideIn var(--animation-speed) var(--animation-easing) forwards;
}

@keyframes arrowsSlideIn {
  from {
    transform: translate(var(--padding-sm), 0);
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slide-reveal {
  0% {
    translate: calc(var(--slideshow-slide-offset, 6) * 1rem) 0;
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    translate: calc(var(--slideshow-slide-offset, 6) * -1rem) 0;
    opacity: 0;
  }
}

.section-resource-list,
.section-carousel {
  row-gap: var(--gap);
}

.section-resource-list__content {
  display: flex;
  flex-direction: column;
  align-items: var(--horizontal-alignment);
  gap: var(--gap);
  width: 100%;
}

.section-resource-list__content:empty {
  display: none;
}

.section-resource-list__header:is(:empty, :has(.group-block-content:empty)),
.section-resource-list__content:empty {
  display: none;
}

.section-resource-list.section--full-width product-card-link > .group-block,
.section-carousel.section--full-width product-card-link > .group-block {
  @media screen and (max-width: 749px) {
    padding-inline: max(var(--padding-xs), var(--padding-inline-start))
      max(var(--padding-xs), var(--padding-inline-end));
  }
}

.resource-list--carousel-mobile {
  display: block;

  @media screen and (min-width: 750px) {
    display: none;
  }
}

.resource-list {
  --resource-list-mobile-gap-max: 9999px;
  --resource-list-column-gap: min(var(--resource-list-column-gap-desktop), var(--resource-list-mobile-gap-max));
  --resource-list-row-gap: min(var(--resource-list-row-gap-desktop), var(--resource-list-mobile-gap-max));

  width: 100%;

  @media screen and (max-width: 749px) {
    --resource-list-mobile-gap-max: 12px;
  }

  @container resource-list (max-width: 749px) {
    --resource-list-mobile-gap-max: 12px;
  }
}

.resource-list--grid {
  display: grid;
  gap: var(--resource-list-row-gap) var(--resource-list-column-gap);
  grid-template-columns: var(--resource-list-columns-mobile);

  @media screen and (min-width: 750px) {
    grid-template-columns: var(--resource-list-columns);
  }

  @container resource-list (max-width: 449px) {
    grid-template-columns: var(--resource-list-columns-mobile);
  }

  @container resource-list(min-width: 450px) and (max-width: 749px) {
    --resource-list-columns-per-row: 3;

    grid-template-columns: repeat(var(--resource-list-columns-per-row), 1fr);

    /* Avoid orphan in last row when there are 4, 7, or 10 items */
    &:has(.resource-list__item:first-child:nth-last-child(3n + 1)),
    /* Clean two full rows when there are 8 items */
    &:has(.resource-list__item:first-child:nth-last-child(8n)) {
      --resource-list-columns-per-row: 4;
    }
  }

  @container resource-list (min-width: 750px) {
    grid-template-columns: repeat(var(--resource-list-columns-per-row), 1fr);

    &:has(.resource-list__item:first-child:nth-last-child(n + 9)) {
      --resource-list-columns-per-row: 5;
    }

    &:has(.resource-list__item:first-child:nth-last-child(n + 7):nth-last-child(-n + 8)) {
      --resource-list-columns-per-row: 4;
    }

    &:has(.resource-list__item:first-child:nth-last-child(6)) {
      --resource-list-columns-per-row: 3;
    }

    &:has(.resource-list__item:first-child:nth-last-child(5)) {
      --resource-list-columns-per-row: 5;
    }

    &:has(.resource-list__item:first-child:nth-last-child(-n + 4)) {
      --resource-list-columns-per-row: 4;
    }
  }

  @container resource-list (min-width: 1200px) {
    &:has(.resource-list__item:first-child:nth-last-child(6)) {
      --resource-list-columns-per-row: 6;
    }
  }
}

.resource-list__item {
  height: 100%;
  color: var(--color-foreground);
  text-decoration: none;
}

.resource-list__carousel {
  --slide-width: 60vw;

  width: 100%;
  position: relative;
  container-type: inline-size;
  container-name: resource-list-carousel;

  .slideshow-control[disabled] {
    display: none;
  }

  .slideshow-control--next {
    margin-inline-start: auto;
  }
}

@container resource-list-carousel (max-width: 749px) {
  .resource-list__carousel .resource-list__slide {
    --slide-width: clamp(150px, var(--mobile-card-size, 60cqw), var(--slide-width-max));
  }
}

@container resource-list-carousel (min-width: 750px) {
  .resource-list__carousel .resource-list__slide {
    --section-slide-width: calc(
      (100% - (var(--resource-list-column-gap) * (var(--column-count) - 1)) - var(--peek-next-slide-size)) /
        var(--column-count)
    );
    --fallback-slide-width: clamp(150px, var(--mobile-card-size, 60cqw), var(--slide-width-max));
    --slide-width: var(--section-slide-width, var(--fallback-slide-width));
  }
}

.resource-list__carousel slideshow-slides {
  gap: var(--resource-list-column-gap);

  /* Add padding to prevent hover animations from being clipped in slideshow
     15px accommodates:
     - Scale effect (9px on each side from 1.03 scale)
     - Lift effect (4px upward movement)
     - Shadow (15px spread with -5px offset)
     Using 16px for better alignment with our spacing scale */

  margin-block: -16px;
  padding-block: 16px;
}

.resource-list__carousel slideshow-arrows {
  padding-inline: var(--util-page-margin-offset);
}

.resource-list__carousel .resource-list__slide {
  width: var(--slide-width);
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 0;
}

/* Base styles */
.group-block,
.group-block-content {
  position: relative;
}

.group-block:has(> video-background-component),
.group-block:has(> .background-image-container) {
  overflow: hidden;
}

.group-block-content {
  height: 100%;
  width: 100%;
}

/* Container styles */
.section-content-wrapper.section-content-wrapper:where(.layout-panel-flex) .group-block--fill {
  flex: 1;
}

/* Flex behavior for width variants */
.layout-panel-flex--row > .group-block--width-fit {
  flex: 0;
}

.layout-panel-flex--row > .group-block--width-fill {
  flex: 1;
}

.layout-panel-flex--row > .group-block--width-custom {
  flex-basis: var(--size-style-width);
}

/* Dimension utilities - Height */
.group-block--height-fit {
  height: auto;
}

.group-block--height-custom,
.group-block--height-fill {
  height: var(--size-style-height);
}

/* Flex behavior for height variants */
.layout-panel-flex--column > .group-block--height-fit {
  flex: 0 1 auto;
}

.layout-panel-flex--column > .group-block--height-fill {
  flex: 1;
}

.layout-panel-flex--column > .group-block--height-custom {
  flex-basis: var(--size-style-height);
}

accordion-custom {
  details {
    &::details-content,
    .details-content {
      block-size: 0;
      overflow-y: clip;
      opacity: 0;
      interpolate-size: allow-keywords;
      transition: content-visibility var(--animation-speed-slow) allow-discrete,
        padding-block var(--animation-speed-slow) var(--animation-easing),
        opacity var(--animation-speed-slow) var(--animation-easing),
        block-size var(--animation-speed-slow) var(--animation-easing);
    }

    /* Disable transitions when the content toggle is not caused by the direct user interaction, e.g. opening the filters on mobile. */
    &:not(:focus-within)::details-content,
    &:not(:focus-within) .details-content {
      transition: none;
    }

    &:not([open]) {
      &::details-content,
      .details-content {
        padding-block: 0;
      }
    }

    &[open] {
      &::details-content,
      .details-content {
        opacity: 1;
        block-size: auto;

        @starting-style {
          block-size: 0;
          opacity: 0;
          overflow-y: clip;
        }

        &:focus-within {
          overflow-y: visible;
        }
      }
    }
  }
}

accordion-custom[data-disable-on-mobile='true'] summary {
  @media screen and (max-width: 749px) {
    cursor: auto;
  }
}

accordion-custom[data-disable-on-desktop='true'] summary {
  @media screen and (min-width: 750px) {
    cursor: auto;
  }
}

text-component {
  --shimmer-text-color: rgb(var(--color-foreground-rgb) / var(--opacity-50));
  --shimmer-color-light: rgb(var(--color-foreground-rgb) / var(--opacity-10));
  --shimmer-speed: 1.25s;

  display: inline-block;
  position: relative;
  transition: color var(--animation-speed-slow) ease;
  line-height: 1;

  &::after {
    content: attr(value);
    position: absolute;
    inset: 0;
    color: transparent;
    opacity: 0;
    transition: opacity var(--animation-speed-slow) var(--animation-easing);
    pointer-events: none;
    background-image: linear-gradient(
      -85deg,
      var(--shimmer-text-color) 10%,
      var(--shimmer-color-light) 50%,
      var(--shimmer-text-color) 90%
    );
    background-clip: text;
    background-size: 200% 100%;
    background-position: 100% 0;
    place-content: center;
  }

  &[shimmer] {
    color: transparent;

    &::after {
      opacity: 1;
      animation: text-shimmer var(--shimmer-speed) infinite linear;
    }
  }
}

@keyframes text-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* Animation transitions */
.transition-background-color {
  transition: background-color var(--animation-speed-medium) ease-in-out;
}

.transition-transform {
  transition: transform var(--animation-speed-medium) var(--animation-timing-bounce);
}

.transition-border-color {
  transition: border-color var(--animation-speed-medium) var(--animation-timing-hover);
}

/* Global scrollbar styles */

/* Webkit browsers */
::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(var(--color-foreground-rgb) / var(--opacity-40));
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
  transition: background-color 0.2s;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(var(--color-foreground-rgb) / var(--opacity-60));
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Product card title truncation - applied only to zoom-out view */
[product-grid-view='zoom-out'] :is(.product-card, .product-grid__card) :is(h4, .h4) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Product card title truncation - applied on mobile regardless of view */
@media screen and (max-width: 749px) {
  :is(.product-card, .product-grid__card) :is(h4, .h4) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.product-card:hover,
.collection-card:hover,
.resource-card:hover,
.predictive-search-results__card--product:hover,
.predictive-search-results__card:hover {
  position: relative;
  z-index: var(--layer-raised);
  transition: transform var(--hover-transition-duration) var(--hover-transition-timing),
    box-shadow var(--hover-transition-duration) var(--hover-transition-timing);
}

.header .product-card:hover,
.header .collection-card:hover,
.header .resource-card:hover,
.header-drawer .product-card:hover,
.header-drawer .collection-card:hover,
.header-drawer .resource-card:hover {
  z-index: auto;
  transform: none;
  box-shadow: none;
}

.predictive-search-results__inner {
  flex-grow: 1;
  overflow-y: auto;
  padding-block: var(--padding-lg);
  container-type: inline-size;
  color: var(--color-foreground);
}

/* Prevent iOS zoom on input focus by ensuring minimum 16px font size on mobile */
@media screen and (max-width: 1200px) {
  input,
  textarea,
  select,
  /* Higher specificity to override type preset classes like .paragraph, .h1, etc. */
  .paragraph.paragraph input,
  .paragraph.paragraph textarea,
  .paragraph.paragraph select,
  .h1.h1 input,
  .h1.h1 textarea,
  .h1.h1 select,
  .h2.h2 input,
  .h2.h2 textarea,
  .h2.h2 select,
  .h3.h3 input,
  .h3.h3 textarea,
  .h3.h3 select,
  .h4.h4 input,
  .h4.h4 textarea,
  .h4.h4 select,
  .h5.h5 input,
  .h5.h5 textarea,
  .h5.h5 select,
  .h6.h6 input,
  .h6.h6 textarea,
  .h6.h6 select {
    font-size: max(1rem, 100%);
  }
}

.product-recommendations {
  display: block;
}

.product-recommendations__skeleton-item {
  aspect-ratio: 3 / 4;
  background-color: var(--color-foreground);
  opacity: var(--skeleton-opacity);
  border-radius: 4px;
}

@media screen and (max-width: 749px) {
  .product-recommendations__skeleton-item:nth-child(2n + 1) {
    display: none;
  }
}

product-recommendations:has([data-has-recommendations='false']) {
  display: none;
}

.add-to-cart-button {
  --text-speed: 0.26;
  --base-delay: calc(var(--text-speed) * 0.25);
  --tick-speed: 0.1;
  --ring-speed: 0.2;
  --check-speed: 0.2;
  --burst-speed: 0.32;
  --step-delay: 3;
  --speed: 1;

  user-select: none;
  transition-property: color, box-shadow, background-color, scale, translate;
  transition-duration: var(--animation-speed);
  transition-timing-function: var(--ease-out-cubic);

  &:active {
    scale: 0.99;
    translate: 0 1px;
  }
}

.add-to-cart-button .add-to-cart-icon {
  transform: translateY(0);
}

.add-to-cart-button .svg-wrapper .checkmark-burst {
  width: 30px;
  height: 30px;
}

.add-to-cart-text {
  --atc-opacity: 0;
  --atc-destination: -1em;

  display: flex;
  gap: var(--gap-2xs);
  align-items: center;
  justify-content: center;
  line-height: 1;
  animation-duration: var(--animation-speed);
  animation-timing-function: var(--animation-easing);
  animation-fill-mode: forwards;
  transition: width var(--animation-speed) var(--animation-easing),
    opacity var(--animation-speed) var(--animation-easing);
}

.add-to-cart-text__content {
  line-height: 1;
}

.add-to-cart__added {
  --atc-opacity: 1;
  --atc-destination: 0px;

  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.add-to-cart__added-icon {
  width: 32px;
  height: 32px;
}

[data-added='true'] .add-to-cart-text,
[data-added='true'] .add-to-cart__added {
  animation-name: atc-slide;
}

.checkmark-burst {
  opacity: 0;
  overflow: visible;

  .burst {
    rotate: 20deg;
  }

  .check {
    opacity: 0.2;
    scale: 0.8;
    filter: blur(2px);
    transform: translateZ(0);
  }

  :is(.ring, .line, .check, .burst, .tick) {
    transform-box: fill-box;
    transform-origin: center;
  }

  :is(.line) {
    stroke-dasharray: 1.5 1.5;
    stroke-dashoffset: -1.5;
    translate: 0 -180%;
  }

  g {
    transform-origin: center;
    rotate: calc(var(--index) * (360 / 8) * 1deg);
  }
}

.add-to-cart-button[data-added='true'] .checkmark-burst {
  opacity: 1;
}

.add-to-cart-button[data-added='true'] {
  .check {
    opacity: 1;
    scale: 1;
    filter: blur(0);
  }

  .tick {
    scale: 1.75;
  }

  .ring {
    opacity: 0;
    scale: 1;
  }

  .line {
    stroke-dashoffset: 1.5;
  }

  .add-to-cart-text {
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: circle(0% at 50% 50%);
    filter: blur(2px);
    opacity: 0;
    translate: 0 4px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .add-to-cart-button[data-added='true'] {
    .check {
      transition-property: opacity, scale, filter;
      transition-duration: calc(calc(var(--check-speed) * 1s));
      transition-delay: calc((var(--base-delay) * 1s));
      transition-timing-function: var(--ease-out-quad);
    }

    .tick {
      transition-property: scale;
      transition-duration: calc((calc(var(--tick-speed) * 1s)));
      transition-delay: calc(((var(--base-delay) + (var(--check-speed) * (var(--step-delay) * 1.1))) * 1s));
      transition-timing-function: ease-out;
    }

    .ring {
      transition-property: opacity, scale;
      transition-duration: calc((calc(var(--ring-speed) * 1s)));
      transition-delay: calc(((var(--base-delay) + (var(--check-speed) * var(--step-delay))) * 1s));
      transition-timing-function: var(--ease-out-quad);
    }

    .line {
      transition-property: stroke-dashoffset;
      transition-duration: calc((calc(var(--burst-speed) * 1s)));
      transition-delay: calc(((var(--base-delay) + (var(--check-speed) * var(--step-delay))) * 1s));
      transition-timing-function: var(--ease-out-cubic);
    }
  }

  .add-to-cart-text {
    transition-property: clip-path, opacity, filter, translate;
    transition-duration: calc((var(--text-speed) * 0.6s)), calc((var(--text-speed) * 1s));
    transition-timing-function: ease-out;
  }
}

.add-to-cart-text {
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
  clip-path: circle(100% at 50% 50%);
}

@keyframes atc-slide {
  to {
    opacity: var(--atc-opacity, 1);
    translate: 0px var(--atc-destination, 0px);
  }
}

/* Custom Product Gallery Styling */
.product-information__media :is(.product-media-container, .product-media, slideshow-container) {
  border-radius: 32px;
  overflow: hidden;
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.product-information__media .product-media__image {
  object-fit: contain;
  padding: 0;
  border-radius: 32px;
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.product-information__media button.slideshow-control.slideshow-controls__thumbnail {
    clip-path: unset !important;
}

.slideshow-controls__thumbnails {
  justify-content: center !important;
  gap: 12px !important;
  padding-top: 4px !important;
  width: calc(100% - 4px);
  margin-inline: auto;
}

.slideshow-controls__thumbnails .slideshow-control {
  flex: 1;
  width: auto !important;
  max-width: 100px !important;
  border-radius: 8px;
  border: 1px solid transparent;
  overflow: hidden;
  background-color: #828981;
}

.slideshow-controls__thumbnails .slideshow-control[aria-selected="true"] {
  border: 2px solid #344c3d;
}

a.menu-list__link span.menu-list__link-title {
    position: relative;
}
a.menu-list__link span.menu-list__link-title:after {
    position: absolute;
    content: '';
    width: 0%;
    height: 2px;
    background: #344C3D;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
    transition:.2s linear
}
a.menu-list__link:hover span.menu-list__link-title:after {
   width: 80%;
}
a.menu-list__link.menu-list__link--active span.menu-list__link-title:after {
    position: absolute;
    content: '';
    width: 80%;
    height: 2px;
    background: #344C3D;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
}

/* Super Berberine landing page: footer shows only the newsletter signup and copyright */
body.template-product-super-berberine .footer-main,
body.template-product-super-berberine .social-icons__wrapper {
  display: none;
}

body.template-product-super-berberine .footer-newsletter {
  margin-bottom: 20px;
}

body.template-product-super-berberine .custom-footer {
  padding-bottom: 10px;
}

body.template-product-super-berberine .utilities {
  --padding-block-start: 0px;
  --padding-block-end: 20px;
}

/* Position the "Find Your Formula" button roughly mid-height next to the taller neighboring card.
   Note: this box is not stretched to match the card's height, so top/bottom padding is the
   only reliable lever for vertical position here (justify-content has no free space to work with).
   Mobile and desktop use different values since the card's text wraps differently at each width,
   giving it a different height. */
@media screen and (max-width: 749px) {
  .group-block:has(> .group-block__media-wrapper.shop-now-btn-group) {
    --padding-block-start: 100px !important;
    --padding-block-end: 100px !important;
  }
}

@media screen and (min-width: 750px) {
  .group-block:has(> .group-block__media-wrapper.shop-now-btn-group) {
    --padding-block-start: 60px !important;
    --padding-block-end: 40px !important;
  }
}

/*
  "Why take them together?" section (core section + group/text/button blocks).
  Group blocks put their custom class on .group-block__media-wrapper (a sibling of the content),
  so groups are targeted with :has(). Text blocks size their inner <p> from inline vars, so text
  rules target both the block and its children.
*/

.shopify-section:has(.wt-header) {
  background: #fbf7f1;
}
/* Design container is 1670px wide (wider than the theme page width) */
@media screen and (min-width: 990px) {
  .shopify-section:has(.wt-header) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1670px, calc(100% - 80px)) minmax(40px, 1fr);
  }
}
.text-block.wt-intro > * {
  max-width: none;
}
.text-block.wt-intro,
.text-block.wt-intro > * {
  letter-spacing: 0;
}
.group-block:has(> .group-block__media-wrapper.wt-header) {
  padding-top: 6px;
}
.text-block:is(.wt-desc, .wt-price, .wt-banner-price, .wt-save),
.text-block:is(.wt-desc, .wt-price, .wt-banner-price, .wt-save) > * {
  letter-spacing: 0;
}

/* Body copy is Libre Franklin in the design (theme body font var resolves to the heading face) */
.text-block:is(.wt-eyebrow, .wt-intro, .wt-tag, .wt-meta, .wt-desc, .wt-banner-label),
.text-block:is(.wt-eyebrow, .wt-intro, .wt-tag, .wt-meta, .wt-desc, .wt-banner-label) > * {
  /* !important: a global `p { font-family: Gullia !important }` rule overrides block typography */
  font-family: 'Libre Franklin', sans-serif !important;
  text-transform: uppercase;
}
.wt-spec__label,
.wt-spec__value {
  font-family: 'Libre Franklin', sans-serif !important;
}

@media screen and (max-width: 989px) {
  .shopify-section:has(.wt-header) .section-content-wrapper {
    padding-block: 24px;
  }
  .text-block.wt-banner-label,
  .text-block.wt-banner-label > * {
    white-space: nowrap;
  }
}

@media screen and (max-width: 989px) {
  .shopify-section:has(.wt-header) :is(
    .group-block:has(> .group-block__media-wrapper.wt-header),
    .group-block:has(> .group-block__media-wrapper.wt-panels),
    .group-block:has(> .group-block__media-wrapper.wt-banner)
  ) {
    margin-inline: 4px;
    width: calc(100% - 8px);
  }
}

.group-block:has(> .group-block__media-wrapper.wt-banner) a.button {
  min-width: 229px;
  height: 46px;
  padding: 0 32px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
}

/* ---------- Header ---------- */
.group-block:has(> .group-block__media-wrapper.wt-header) {
  max-width: 1334px;
  margin-inline: auto;
}
.text-block.wt-eyebrow,
.text-block.wt-eyebrow > * {
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0.3px;
  color: #434846;
}
.text-block.wt-heading,
.text-block.wt-heading > * {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.85px;
  color: #171f1c;
}
.text-block.wt-heading {
  padding-top: 4px;
}
.text-block.wt-intro,
.text-block.wt-intro > * {
  font-size: 18px;
  line-height: 24px;
  color: #434846;
}
.text-block.wt-intro {
  max-width: 1334px;
  padding-top: 4px;
}

/* ---------- Panels ---------- */
.group-block:has(> .group-block__media-wrapper.wt-panels) > .group-block-content {
  gap: 16px;
  align-items: stretch;
}
.group-block:has(> .group-block__media-wrapper.wt-panel) {
  padding: 32px 8px 16px;
  background: #fcf9f3;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.group-block:has(> .group-block__media-wrapper.wt-panel--alt) {
  padding: 32px 8px;
  background: rgba(214, 227, 221, 0.3);
}
.group-block:has(> .group-block__media-wrapper.wt-panel) > .group-block-content {
  justify-content: flex-start;
  gap: 16px;
}
.group-block:has(> .group-block__media-wrapper.wt-panel--alt) > .group-block-content {
  gap: 8px;
}

.text-block.wt-tag {
  align-self: flex-start;
  padding: 4px 24px 4px 8px;
  background: #f0eee8;
}
.group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-tag {
  padding: 4px 17px 4px 4px;
  background: #ebe8e2;
}
.text-block.wt-tag,
.text-block.wt-tag > * {
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 1px;
  color: #434846;
}
.group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-tag,
.group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-tag > * {
  color: #596561;
}

.group-block:has(> .group-block__media-wrapper.wt-title-row) > .group-block-content {
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
}
.group-block:has(> .group-block__media-wrapper.wt-title-row) > .group-block-content > .text-block.wt-title {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0;
}
.text-block.wt-title > * {
  overflow-wrap: normal;
  word-break: normal;
}
.group-block:has(> .group-block__media-wrapper.wt-title-row) > .group-block-content > .text-block.wt-price {
  flex: 0 0 auto !important;
  width: auto !important;
}
.text-block.wt-title,
.text-block.wt-title > * {
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -1px;
  color: #171f1c;
}
.text-block.wt-price,
.text-block.wt-price > * {
  font-size: 24px;
  line-height: 32px;
  color: #000;
}

/* Meta line sits 4px under the title row (panel gap is 16px / 8px) */
.text-block.wt-meta {
  margin-top: -12px;
}
.group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-meta {
  margin-top: -4px;
}
.text-block.wt-meta,
.text-block.wt-meta > * {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0;
}
.group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-meta,
.group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-meta > * {
  line-height: 16px;
}
.text-block.wt-desc,
.text-block.wt-desc > * {
  font-size: 16px;
  line-height: 24px;
  color: #434846;
}
.group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-desc,
.group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-desc > * {
  font-size: 15px;
  font-weight: 300;
  line-height: 24.38px;
}

.wt-specs {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 12px 8px;
  width: 100%;
  margin: 0;
}
.wt-spec {
  display: contents;
}
.wt-spec__label {
  flex-shrink: 0;
}
.wt-spec__value {
  flex: 1 1 0;
  min-width: 0;
}
.wt-spec__label,
.wt-spec__value {
  margin: 0;
  font-family: var(--font-body--family);
  font-size: 14px;
  line-height: 18px;
  color: #434846;
}
.wt-spec__label {
  font-weight: 600;
  text-transform: uppercase;
}

.image-block.wt-panel-image {
  width: 192px;
  margin: auto auto 0;
  padding-top: 16px;
}
.image-block.wt-panel-image img {
  aspect-ratio: 316 / 224;
  object-fit: cover;
  border-radius: 16px;
}

/* ---------- Bundle banner ---------- */
.group-block:has(> .group-block__media-wrapper.wt-banner) {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 24px;
  background: #4b5753;
}
.group-block:has(> .group-block__media-wrapper.wt-banner) > .group-block-content {
  align-items: center;
  gap: 16px;
}
.group-block:has(> .group-block__media-wrapper.wt-banner-info) {
  width: 100%;
}
.group-block:has(> .group-block__media-wrapper.wt-banner-info) > .group-block-content {
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.text-block.wt-banner-label,
.text-block.wt-banner-label > * {
  font-size: 18px;
  line-height: normal;
  letter-spacing: 0.5px;
  color: #fff;
}
.text-block.wt-banner-price,
.text-block.wt-banner-price > * {
  font-size: 24px;
  line-height: 24px;
  color: #fff;
}
.text-block.wt-save {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 93px !important;
  width: 93px;
  min-height: 46px;
  padding: 8px 16px;
  border-radius: 4px;
  background: #fff;
}
.text-block.wt-save,
.text-block.wt-save > * {
  font-family: 'Montserrat', 'Libre Franklin', sans-serif !important;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: #d26c4e;
}

@media screen and (min-width: 990px) {
  .text-block.wt-eyebrow,
  .text-block.wt-eyebrow > * {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.5px;
  }
  .text-block.wt-heading,
  .text-block.wt-heading > * {
    font-size: 56px;
    line-height: 64px;
    letter-spacing: 0;
  }
  .text-block.wt-heading {
    max-width: 908px;
    margin-inline: auto;
  }
  .text-block.wt-intro,
  .text-block.wt-intro > * {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.085px;
  }

  .group-block:has(> .group-block__media-wrapper.wt-panels) {
    max-width: 1541px;
    margin-inline: auto;
    padding: 56px 0 0;
  }
  .group-block:has(> .group-block__media-wrapper.wt-panels) > .group-block-content {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 141px;
  }
  .group-block:has(> .group-block__media-wrapper.wt-panels) > .group-block-content > .group-block {
    flex: 1 1 0;
    min-width: 0;
  }
  .group-block:has(> .group-block__media-wrapper.wt-panel),
  .group-block:has(> .group-block__media-wrapper.wt-panel--alt) {
    padding: 56px 24px;
  }
  .group-block:has(> .group-block__media-wrapper.wt-panel) > .group-block-content,
  .group-block:has(> .group-block__media-wrapper.wt-panel--alt) > .group-block-content {
    gap: 16px;
  }
  .group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-meta {
    margin-top: -12px;
  }

  .text-block.wt-tag,
  .group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-tag {
    padding: 4px 32px 4px 4px;
  }
  .text-block.wt-tag,
  .text-block.wt-tag > * {
    font-size: 16px;
    line-height: 20px;
  }
  .text-block.wt-title,
  .text-block.wt-title > * {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: 0;
  }
  .text-block.wt-price,
  .text-block.wt-price > * {
    font-size: 40px;
    line-height: 40px;
  }
  .text-block.wt-meta,
  .text-block.wt-meta > *,
  .group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-meta,
  .group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-meta > * {
    font-size: 16px;
    line-height: 24px;
  }
  .group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-meta,
  .group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-meta > * {
    letter-spacing: 1.1px;
    font-weight: 300;
  }
  .text-block.wt-desc,
  .text-block.wt-desc > *,
  .group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-desc,
  .group-block:has(> .group-block__media-wrapper.wt-panel--alt) .text-block.wt-desc > * {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
  }
  .wt-specs {
    column-gap: 12px;
  }
  .wt-spec__label,
  .wt-spec__value {
    font-size: 16px;
    line-height: 20px;
  }
  .image-block.wt-panel-image {
    width: 316px;
    padding-top: 32px;
  }
  .image-block.wt-panel-image img {
    border-radius: 24px;
  }

  .group-block:has(> .group-block__media-wrapper.wt-banner) {
    max-width: 1595px;
    min-height: 94px;
    margin: 32px auto 0;
    padding: 16px 32px;
  }
  .group-block:has(> .group-block__media-wrapper.wt-banner) > .group-block-content {
    flex-flow: row nowrap;
    justify-content: space-between;
  }
  .group-block:has(> .group-block__media-wrapper.wt-banner-info) {
    width: auto;
  }
  .group-block:has(> .group-block__media-wrapper.wt-banner-info) > .group-block-content {
    justify-content: flex-start;
    gap: 32px;
  }
  .text-block.wt-banner-label {
    padding-left: 27px;
  }
  .text-block.wt-banner-label,
  .text-block.wt-banner-label > * {
    font-size: 24px;
    line-height: 32px;
  }
  .text-block.wt-banner-price,
  .text-block.wt-banner-price > * {
    font-size: 40px;
    line-height: 40px;
  }
  .text-block.wt-save {
    flex-basis: 156px !important;
    width: 156px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 24px;
  }
  .text-block.wt-save,
  .text-block.wt-save > * {
    font-size: 18px;
    line-height: normal;
  }
}

/* Design is drawn at 440px; tighten the banner row on narrower phones so the badge fits */
@media screen and (max-width: 439px) {
  .group-block:has(> .group-block__media-wrapper.wt-banner) {
    padding-inline: 16px;
  }
  .group-block:has(> .group-block__media-wrapper.wt-banner-info) > .group-block-content {
    gap: 8px;
  }
  .text-block.wt-banner-label,
  .text-block.wt-banner-label > * {
    font-size: clamp(14px, 3.8vw, 18px);
    letter-spacing: 0.3px;
  }
  .text-block.wt-banner-price,
  .text-block.wt-banner-price > * {
    font-size: clamp(20px, 5.5vw, 24px);
  }
}

/*
  "What Our Customers Say" section (core section + group/text/image blocks + review-slider,
  review-card and rating-summary blocks). Groups are targeted via their media-wrapper class.
*/
.shopify-section:has(.wcs-slider) {
  background: #fbf7f1;
}
.shopify-section:has(.wcs-slider) .section-content-wrapper {
  padding-block: 32px;
}
.shopify-section:has(.wcs-slider) :is(p, blockquote, dt, dd, li, span) {
  font-family: 'Libre Franklin', sans-serif !important;
}

.shopify-section:has(.wcs-slider) :is(.text-block.wcs-heading > *, .wcs-summary__value) {
  font-family: 'Gullia', serif !important;
}
@media screen and (max-width: 989px) {
  .shopify-section:has(.wcs-slider) :is(.wcs-review__avatar, .wcs-review__name, .wcs-summary__bar-label) {
    font-family: 'Montserrat', 'Libre Franklin', sans-serif !important;
  }
}

/* Layout: heading, summary, reviews (mobile); heading, reviews, summary (desktop) */
.group-block:has(> .group-block__media-wrapper.wcs-layout) > .group-block-content {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.group-block:has(> .group-block__media-wrapper.wcs-main) {
  width: 100%;
}
.group-block:has(> .group-block__media-wrapper.wcs-main) > .group-block-content {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.group-block:has(> .group-block__media-wrapper.wcs-main) .wcs-summary {
  order: 1;
}
.group-block:has(> .group-block__media-wrapper.wcs-main) .wcs-slider {
  order: 2;
}

/* Heading */
.text-block.wcs-heading {
  max-width: 342px;
  margin-inline: auto;
}
.text-block.wcs-heading,
.text-block.wcs-heading > * {
  font-family: 'Gullia', serif;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
  text-align: center;
  color: #2c3a42;
}

/* Stars */
.wcs-star {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.wcs-review__stars .wcs-star--desktop {
  width: 18px;
  height: 18px;
}
.wcs-summary__stars .wcs-star--desktop {
  width: 20px;
  height: 20px;
}
.wcs-star--desktop {
  display: none;
}

/* Review slider */
.wcs-slider {
  width: 100%;
  max-width: 400px;
  min-width: 0;
}
.wcs-slider__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.wcs-slider__track::-webkit-scrollbar {
  display: none;
}
.wcs-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
}
.wcs-slider__dots[hidden] {
  display: none;
}
.wcs-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(44, 58, 66, 0.2);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}
.wcs-slider__dot.is-active {
  width: 24px;
  background: #d26c4e;
}

/* Review card (mobile: stars, quote, author row) */
.wcs-review {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  grid-template-areas:
    "stars stars stars"
    "quote quote quote"
    "avatar meta tag";
  align-items: center;
  column-gap: 12px;
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 20px;
  scroll-snap-align: start;
  border: 1px solid rgba(44, 58, 66, 0.05);
  border-radius: 24px;
  background: #f6f8f8;
}
.wcs-review__avatar {
  grid-area: avatar;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 16px;
  border-radius: 50%;
  background: #c2d7cd;
  font-family: 'Montserrat', 'Libre Franklin', sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #fff;
}
.wcs-review__meta {
  grid-area: meta;
  min-width: 0;
  margin-top: 16px;
}
.wcs-review__name {
  margin: 0;
  font-family: 'Montserrat', 'Libre Franklin', sans-serif !important;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #2c3a42;
}
.wcs-review__verified {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  font-size: 11px;
  line-height: 16.5px;
  color: #a9c470;
}
.wcs-review__verified img {
  display: none;
}
.wcs-review__verified span::before {
  content: "\2713\00a0";
}
.wcs-review__tag {
  grid-area: tag;
  justify-self: end;
  margin: 16px 0 0;
  padding: 4px 6px;
  border-radius: 4px;
  background: #c2d7cd;
  font-size: 10px;
  line-height: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #2e3a46;
}
.wcs-review__stars {
  grid-area: stars;
  display: flex;
  gap: 2px;
}
.wcs-review__quote {
  grid-area: quote;
  margin: 0;
  padding-top: 12px;
  font-size: 16px;
  line-height: 24.375px;
  font-style: italic;
  color: #2c3a42;
}
/* customer-reported results */
.wcs-review__quote strong {
  font-weight: 700;
}

/* Rating summary (mobile: score + bars) */
.wcs-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  border-radius: 24px;
  background: #f8fafc;
}
.wcs-summary__score {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wcs-summary__value {
  margin: 0;
  font-size: 48px;
  line-height: 48px;
  color: #2c3a42;
}
.wcs-summary__stars {
  display: flex;
  gap: 2px;
  padding-top: 6px;
}
.wcs-summary__count,
.wcs-summary__divider,
.wcs-summary__stats {
  display: none;
}
.wcs-summary__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 128px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wcs-summary__bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wcs-summary__bar-label {
  width: 8px;
  font-family: 'Montserrat', 'Libre Franklin', sans-serif !important;
  font-size: 10px;
  line-height: 15px;
  color: #4b5752;
}
.wcs-summary__bar-track {
  flex: 1 1 auto;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
}
.wcs-summary__bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #ee962f;
}

@media screen and (min-width: 990px) {
  .shopify-section:has(.wcs-slider) {
    background: #fdfbf8;
  }
  .shopify-section:has(.wcs-slider) .section-content-wrapper {
    padding-block: 56px;
  }
  .shopify-section:has(.wcs-slider) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1670px, calc(100% - 80px)) minmax(40px, 1fr);
  }

  .group-block:has(> .group-block__media-wrapper.wcs-main) {
    flex: 1 1 auto !important;
    width: 100%;
    min-width: 0;
  }
  .group-block:has(> .group-block__media-wrapper.wcs-main) > .group-block-content {
    gap: 32px;
  }
  .group-block:has(> .group-block__media-wrapper.wcs-main) .wcs-summary {
    order: 3;
  }

  .text-block.wcs-heading {
    max-width: none;
    height: 68px;
    padding-top: 12px;
  }
  .text-block.wcs-heading,
  .text-block.wcs-heading > * {
    font-size: 56px;
    line-height: 64px;
    color: #2a3b44;
  }

  .wcs-star--desktop {
    display: block;
  }
  .wcs-star--mobile {
    display: none;
  }

  .wcs-slider {
    max-width: none;
  }
  .wcs-slider__dot {
    width: 19px;
    background: #e5eeea;
  }
  .wcs-slider__dot.is-active {
    width: 19px;
    background: #4b5753;
  }

  /* Review card (desktop: author row + tag/stars, then quote) */
  .wcs-review {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-areas:
      "avatar meta tag"
      "avatar meta stars"
      "quote quote quote";
    column-gap: 8px;
    row-gap: 8px;
    align-content: center;
    flex: 0 0 563px;
    min-height: 230px;
    padding: 32px 23px;
    border-color: rgba(129, 165, 180, 0.1);
    border-radius: 10px;
    background: #f8fafc;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  }
  .wcs-review__avatar {
    width: 40px;
    height: 40px;
    margin-top: 0;
    font-family: 'Libre Franklin', sans-serif !important;
    font-weight: 500;
  }
  .wcs-review__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 0;
  }
  .wcs-review__name {
    font-family: 'Libre Franklin', sans-serif !important;
    font-size: 18px;
    line-height: normal;
    color: #000;
  }
  .wcs-review__verified {
    font-size: 10px;
    line-height: normal;
    color: #505050;
  }
  .wcs-review__verified img {
    display: block;
    width: 16px;
    height: 16px;
  }
  .wcs-review__verified span::before {
    content: none;
  }
  .wcs-review__tag {
    margin-top: 0;
    font-size: 14px;
    line-height: 20px;
  }
  .wcs-review__stars {
    justify-self: end;
    gap: 0;
  }
  .wcs-review__quote {
    padding-top: 16px;
    font-size: 18px;
    line-height: 24px;
    /* browser metrics run ~1% wider than Figma; keeps the 3-line wrap from the design */
    letter-spacing: -0.1px;
    color: rgba(0, 0, 0, 0.8);
  }

  /* Rating summary (desktop: score, divider, three stats) */
  .wcs-summary {
    gap: 32px;
    max-width: none;
    padding: 32px;
  }
  .wcs-summary__score {
    width: 116px;
  }
  .wcs-summary__value {
    font-size: 60px;
    line-height: 60px;
    letter-spacing: -1.5px;
    color: #2a3b44;
  }
  .wcs-summary__stars {
    gap: 4px;
    padding-top: 8px;
  }
  .wcs-summary__count {
    display: block;
    margin: 0;
    padding-top: 8px;
    font-size: 14px;
    line-height: 20px;
    color: #5e7a85;
  }
  .wcs-summary__divider {
    display: block;
    width: 1px;
    height: 64px;
    background: #e9ecef;
  }
  .wcs-summary__stats {
    display: flex;
    gap: 32px;
    margin: 0;
  }
  .wcs-summary__stat {
    text-align: center;
  }
  .wcs-summary__stat dt {
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    letter-spacing: -0.75px;
    color: #2a3b44;
  }
  .wcs-summary__stat dd {
    margin: 0;
    padding-top: 4px;
    font-size: 14px;
    line-height: 20px;
    color: #5e7a85;
  }
  .wcs-summary__bars {
    display: none;
  }
}

/*
  Duo pack final CTA ("Start your daily metabolic routine") — core section + group/text/button blocks,
  asset-image and icon-text-item blocks. Groups are targeted via their media-wrapper class.
*/
.shopify-section:has(.dc-photo) {
  background: #f5efe4;
}
.shopify-section:has(.dc-photo) .section-content-wrapper {
  padding-block: 24px;
}
.shopify-section:has(.dc-photo) .section--page-width {
  grid-template-columns: 16px minmax(0, 1fr) 16px;
}
.shopify-section:has(.dc-photo) .text-block > * {
  font-family: 'Libre Franklin', sans-serif !important;
  letter-spacing: 0;
}
.shopify-section:has(.dc-photo) .text-block.dc-heading > * {
  font-family: 'Gullia', serif !important;
}
.shopify-section:has(.dc-photo) .text-block.dc-save > *,
.shopify-section:has(.dc-photo) .dc-trust-text {
  font-family: 'Montserrat', 'Libre Franklin', sans-serif !important;
}

/* Card */
.group-block:has(> .group-block__media-wrapper.dc-card) {
  overflow: hidden;
  padding: 16px;
  border-radius: 12px;
  background: #4b5753;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}
.group-block:has(> .group-block__media-wrapper.dc-card) > .group-block-content {
  gap: 12px;
  align-items: stretch;
}
.dc-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 686 / 627;
  object-fit: cover;
  border-radius: 12px;
}

/* Content column */
.group-block:has(> .group-block__media-wrapper.dc-content) > .group-block-content {
  gap: 0;
}
.text-block.dc-tag {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e9f1ed;
}
.text-block.dc-tag > * {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #465a55;
}
.text-block.dc-heading {
  max-width: 353px;
  margin-top: 8px;
}
.text-block.dc-heading > * {
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 0.9px !important;
  color: #fff;
}
.text-block.dc-sub {
  max-width: 295px;
  margin-top: 8px;
}
.text-block.dc-sub > * {
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
  color: #fff;
}

/* Product chips */
.group-block:has(> .group-block__media-wrapper.dc-chips) {
  margin-top: 16px;
}
.group-block:has(> .group-block__media-wrapper.dc-chips) > .group-block-content {
  gap: 8px;
}
.group-block:has(> .group-block__media-wrapper.dc-chip) {
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
}
.group-block:has(> .group-block__media-wrapper.dc-chip) > .group-block-content {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px;
}
.dc-chip-img {
  flex: 0 0 48px !important;
  width: 48px !important;
}
.dc-chip-img img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 5px;
}
.group-block:has(> .group-block__media-wrapper.dc-chip-text) > .group-block-content {
  gap: 8px;
}
.text-block.dc-chip-name > * {
  font-size: 18px;
  line-height: normal;
  font-weight: 600;
  color: #62695f;
}
.text-block.dc-chip-meta > * {
  font-size: 14px;
  line-height: normal;
  font-weight: 500;
  color: #62695f;
}

/* Price row */
.group-block:has(> .group-block__media-wrapper.dc-price-row) {
  margin-top: 12px;
}
.group-block:has(> .group-block__media-wrapper.dc-price-row) > .group-block-content {
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
}
.text-block.dc-price > * {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: #fff;
}
.text-block.dc-compare > * {
  text-decoration: line-through;
  font-size: 18px;
  line-height: 32px;
  font-weight: 500;
  color: #fff;
}
.text-block.dc-save {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 135px !important;
  width: 135px;
  height: 40px;
  margin-left: auto;
  border: 1px solid #d26c4e;
  border-radius: 24px;
  background: #fff;
}
.text-block.dc-save > * {
  font-size: 16px;
  line-height: normal;
  font-weight: 600;
  white-space: nowrap;
  color: #d26c4e;
}

/* Button */
.group-block:has(> .group-block__media-wrapper.dc-content) a.button {
  --button-angle-width: 20px;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 53px;
  margin-top: 16px;
  padding-block: 0;
  font-family: 'Montserrat', 'Libre Franklin', sans-serif !important;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Trust row */
.group-block:has(> .group-block__media-wrapper.dc-trust) {
  margin-top: 12px;
}
.group-block:has(> .group-block__media-wrapper.dc-trust) > .group-block-content {
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 59px;
  row-gap: 8px;
}
.shopify-section:has(.dc-photo) .dc-trust-text {
  font-size: 14px !important;
  line-height: 20px;
}

@media screen and (min-width: 990px) {
  .shopify-section:has(.dc-photo) .section-content-wrapper {
    padding-block: 56px;
  }
  .shopify-section:has(.dc-photo) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1600px, calc(100% - 80px)) minmax(40px, 1fr);
  }

  .group-block:has(> .group-block__media-wrapper.dc-card) {
    box-sizing: border-box;
    min-height: 683px;
    padding: 0 94px 0 100px;
    border-radius: 36px;
  }
  .group-block:has(> .group-block__media-wrapper.dc-card) > .group-block-content {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 56px;
  }
  /* photo takes up to 686px but never more than ~half the card, so the copy keeps room */
  .dc-photo {
    flex: 0 1 min(686px, 50%);
    min-width: 0;
    margin-top: 28px;
  }
  .dc-photo img {
    border-radius: 24px;
  }
  .group-block:has(> .group-block__media-wrapper.dc-content) {
    flex: 1 1 0 !important;
    min-width: 0;
    max-width: 664px;
    padding: 40px 46px 40px 32px;
  }

  .text-block.dc-tag > * {
    font-family: 'DM Sans', 'Libre Franklin', sans-serif !important;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.72px !important;
  }
  .text-block.dc-heading {
    max-width: none;
    margin-top: 16px;
    padding-top: 16px;
  }
  .text-block.dc-heading > * {
    font-size: 56px;
    line-height: 64px;
  }
  .text-block.dc-sub {
    max-width: 487px;
    margin-top: 16px;
  }
  .text-block.dc-sub > * {
    font-size: 18px;
    line-height: 21px;
  }

  .group-block:has(> .group-block__media-wrapper.dc-chips) > .group-block-content {
    flex-flow: row nowrap;
  }
  .group-block:has(> .group-block__media-wrapper.dc-chip) {
    /* up to 312px each, shrinking to fit the column instead of overflowing the card */
    flex: 1 1 0 !important;
    max-width: 312px;
    min-width: 0;
    min-height: 96px;
    padding: 14px;
  }
  .group-block:has(> .group-block__media-wrapper.dc-chip) > .group-block-content {
    align-items: center;
    gap: 12px;
  }
  .dc-chip-img {
    flex-basis: 48px !important;
    width: 48px !important;
  }
  .dc-chip-img img {
    width: 48px;
    height: 48px;
  }
  /* names scale with the viewport so "Super Berberine" stays on one line */
  .text-block.dc-chip-name > * {
    font-size: clamp(16px, 1.1vw, 24px);
    line-height: 1.3;
    white-space: nowrap;
  }
  .text-block.dc-chip-meta > * {
    font-size: clamp(14px, 0.95vw, 18px);
    line-height: 21px;
  }

  .group-block:has(> .group-block__media-wrapper.dc-price-row) {
    width: 473px;
    margin-top: 32px;
  }
  .text-block.dc-price > * {
    font-size: 40px;
    line-height: 48px;
  }
  .text-block.dc-compare > * {
    font-size: 24px;
  }
  /* Figma: price group is 278px wide, the pill follows it directly */
  .text-block.dc-save {
    flex-basis: 156px !important;
    width: 156px;
    height: 48px;
    margin-left: 6px;
  }
  .text-block.dc-save > * {
    font-size: 18px;
  }

  .group-block:has(> .group-block__media-wrapper.dc-content) a.button {
    --button-angle-width: 30px;
    width: 586px;
    max-width: 100%;
    height: 77px;
    margin-top: 40px;
    font-family: 'Libre Franklin', sans-serif !important;
    font-size: 24px;
    font-weight: 500;
  }

  .group-block:has(> .group-block__media-wrapper.dc-trust) {
    width: 586px;
    max-width: 100%;
    margin-top: 16px;
  }
  .group-block:has(> .group-block__media-wrapper.dc-trust) > .group-block-content {
    flex-wrap: nowrap;
    justify-content: space-between;
    column-gap: 16px;
  }
  .shopify-section:has(.dc-photo) .dc-trust-text {
    font-size: 16px !important;
  }
}

/* Duo CTA: design is drawn at 440px; tighten the price and trust rows on narrower phones */
@media screen and (max-width: 439px) {
  .group-block:has(> .group-block__media-wrapper.dc-price-row) > .group-block-content {
    gap: 10px;
  }
  .text-block.dc-price > * {
    font-size: clamp(26px, 7.4vw, 32px);
  }
  .text-block.dc-compare > * {
    font-size: clamp(15px, 4.2vw, 18px);
  }
  .text-block.dc-save {
    flex: 0 1 auto !important;
    width: auto;
    padding-inline: 12px;
  }
  .text-block.dc-save > * {
    font-size: clamp(13px, 3.8vw, 16px);
  }
  .group-block:has(> .group-block__media-wrapper.dc-trust) > .group-block-content {
    column-gap: 12px;
  }
}

/* ==========================================================================
   Duo Bundle LP: Footer (sections/duo-bundle-footer-group.json: core section + group/logo/text blocks)
   Figma 29429:2105 (desktop), 29506:797 (mobile)
   ========================================================================== */
.shopify-section:has(.dbf-disclaimer) {
  position: relative;
  overflow: hidden;
  background: #171f1c;
}
.shopify-section:has(.dbf-disclaimer) .section-background {
  background: #171f1c;
}
/* Subtle ambient backlight (mobile) */
.shopify-section:has(.dbf-disclaimer)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  max-width: 100%;
  height: 300px;
  transform: translate(-50%, -50%);
  background: rgba(85, 97, 93, 0.2);
  filter: blur(32px);
  pointer-events: none;
}
.shopify-section:has(.dbf-disclaimer) .custom-section-content {
  position: relative;
  padding-block: 32px;
  padding-inline: 4px;
}
.shopify-section:has(.dbf-disclaimer) .custom-section-content > .layout-panel-flex {
  gap: 0;
}
.shopify-section:has(.dbf-disclaimer) .logo-block__image {
  display: block;
  width: auto;
  height: 64px;
}
/* Footer links are desktop-only in Figma */
.group-block:has(> .group-block__media-wrapper.dbf-links) {
  display: none;
}
.text-block.dbf-link {
  flex: 0 0 auto !important;
  width: auto;
}
.shopify-section:has(.dbf-disclaimer) .text-block.dbf-link > *,
.shopify-section:has(.dbf-disclaimer) .text-block.dbf-link a {
  margin: 0;
  color: #fff;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.shopify-section:has(.dbf-disclaimer) .text-block.dbf-link a:hover {
  text-decoration: underline;
}
.shopify-section:has(.dbf-disclaimer) .text-block.dbf-disclaimer {
  margin-top: 16px;
  padding-top: 17px;
  border-top: 1px solid rgba(229, 226, 220, 0.1);
}
.shopify-section:has(.dbf-disclaimer) .text-block.dbf-disclaimer > * {
  max-width: none;
  margin: 0;
  color: #bdc9c4;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 19.5px;
  letter-spacing: 0.24px;
  text-align: center;
  text-transform: none;
}

@media (min-width: 990px) {
  .shopify-section:has(.dbf-disclaimer)::before {
    display: none;
  }
  .shopify-section:has(.dbf-disclaimer) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1024px, calc(100% - 80px)) minmax(40px, 1fr);
  }
  .shopify-section:has(.dbf-disclaimer) .custom-section-content {
    padding-block: 138px 72px;
    padding-inline: 0;
  }
  .shopify-section:has(.dbf-disclaimer) .logo-block__image {
    height: 97px;
  }
  .group-block:has(> .group-block__media-wrapper.dbf-links) {
    display: flex;
  }
  .shopify-section:has(.dbf-disclaimer) .text-block.dbf-disclaimer {
    margin-top: 32px;
    padding-top: 32px;
  }
  .shopify-section:has(.dbf-disclaimer) .text-block.dbf-disclaimer > * {
    font-size: 16px;
    line-height: 20px;
    /* Figma 0.24px; browser metrics run ~1% wider, which wrapped a fifth line */
    letter-spacing: 0.1px;
  }
}
/* ==========================================================================
   Duo Bundle LP: What the two formulas support together — Figma 29458:8874
   Design container is 1670px wide (wider than the theme page width)
   ========================================================================== */
@media screen and (min-width: 990px) {
  .shopify-section:has(.wb-frame) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1670px, calc(100% - 80px)) minmax(40px, 1fr);
  }
}
/* Figma uses Plus Jakarta Sans / DM Sans (not loaded) — use Libre Franklin instead of the global Gullia */
.wb-benefit-card .wb-benefit-card__title,
.wb-benefit-card .wb-benefit-card__text {
  font-family: 'Libre Franklin', sans-serif !important;
  letter-spacing: 0;
}
.text-block.wb-heading > * {
  letter-spacing: 0;
}
@media screen and (min-width: 990px) {
  .text-block.wb-heading {
    margin-top: 16px;
  }
  .wb-benefits .wb-benefit-card {
    padding-block: 15.2px;
    padding-right: 8px;
  }
  .wb-benefit-card .wb-benefit-card__text {
    letter-spacing: -0.1px;
  }
}

/* ==========================================================================
   Duo Bundle LP: Section - Start the routine (buy box)
   featured-product-information section + subscription-toggle / buy-buttons / trust-badges /
   text blocks. Figma 29444:3758 (desktop), 29526:1357 (mobile).
   Everything is scoped to this section (.dbp-title lives only here) so product pages using
   the same blocks keep their design.
   ========================================================================== */
.shopify-section:has(.dbp-title) {
  background: #fcf9f3;
}
.shopify-section:has(.dbp-title) .section-background {
  background: #FAF8F2;
}
.shopify-section:has(.dbp-title) .product-information__grid {
  position: relative;
}
.shopify-section:has(.dbp-title) .product-information__media,
.shopify-section:has(.dbp-title) .product-details,
.shopify-section:has(.dbp-title) .product-details .group-block,
.shopify-section:has(.dbp-title) .product-details .group-block-content {
  position: static;
}
.shopify-section:has(.dbp-title) media-gallery {
  position: static;
}

/* Gallery */
.shopify-section:has(.dbp-title) slideshow-slide,
.shopify-section:has(.dbp-title) slideshow-slide img {
  aspect-ratio: 861 / 775;
  border-radius: 25px;
}
.shopify-section:has(.dbp-title) slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* the theme pins padding-top: 4px !important here, so the extra space is a margin */
.shopify-section:has(.dbp-title) slideshow-controls .slideshow-controls__thumbnails {
  gap: 12px;
  margin: 4px 0 0;
  padding-inline: 0;
}
.shopify-section:has(.dbp-title) .slideshow-controls__thumbnail {
  flex: 0 0 auto;
  max-width: none !important;
  width: 69px !important;
  height: 69px;
  border-radius: 5px;
}

/* 25% OFF badge (text block) */
.shopify-section:has(.dbp-title) .text-block.dbp-badge {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 20px;
  width: 91px;
  height: 78px;
  margin: 0;
  background: url('dbp-badge.svg') center / 100% 100% no-repeat;
  pointer-events: none;
}
.shopify-section:has(.dbp-title) .text-block.dbp-badge > * {
  margin: 0;
  padding-top: 13px;
  color: #fff;
  font-family: 'Gullia', serif !important;
  font-size: 24px;
  line-height: 26px;
  letter-spacing: 0;
  text-align: center;
}

/* Heading group */
.shopify-section:has(.dbp-title) .text-block.dbp-rating > * {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #d26c4e;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0;
}
.shopify-section:has(.dbp-title) .text-block.dbp-rating a {
  color: #000;
  font-size: 16px;
  line-height: 22.4px;
  text-decoration: underline;
}
.shopify-section:has(.dbp-title) .text-block.dbp-title > * {
  margin: 0;
  color: #2a3b44;
  font-family: 'Gullia', serif !important;
  font-weight: 400;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 0;
}
.shopify-section:has(.dbp-title) .text-block.dbp-subtitle {
  margin-top: -8px;
}
.shopify-section:has(.dbp-title) .text-block.dbp-subtitle > * {
  margin: 0;
  color: #000;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0;
}

/* Subscription toggle */
.shopify-section:has(.dbp-title) .subs-cards {
  gap: 16px;
  padding-top: 16px;
}
.shopify-section:has(.dbp-title) .subs-cards .subs-card {
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}
.shopify-section:has(.dbp-title) .subs-cards .subs-card.active {
  border-color: transparent;
  background: rgba(194, 215, 205, 0.25);
  box-shadow: 0 0 5px 0.5px #c2d7cd;
}
.shopify-section:has(.dbp-title) .subs-cards .best-badge {
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 33px;
  padding: 0;
  border-radius: 24px;
  background: #d26c4e;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.shopify-section:has(.dbp-title) .subs-card[data-type='subscription'] {
  padding: 33px 16px 26px;
}
.shopify-section:has(.dbp-title) .subs-card[data-type='subscription'] .subs-top-row {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.shopify-section:has(.dbp-title) .subs-card[data-type='subscription'] .subs-card-header {
  justify-content: center;
  gap: 8px;
}
.shopify-section:has(.dbp-title) .subs-card .subs-radio-btn {
  flex: 0 0 auto;
  width: 19.5px;
  height: 19.5px;
  border: 1px solid #1d1f1e;
  background: transparent;
}
.shopify-section:has(.dbp-title) .subs-card.active .subs-radio-btn {
  width: 22px;
  height: 22px;
  border: 0;
  background: #d26c4e;
}
.shopify-section:has(.dbp-title) .subs-card .subs-title {
  color: #000;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 600;
  font-size: 18px;
  line-height: normal;
  letter-spacing: 0;
}
.shopify-section:has(.dbp-title) .subs-card[data-type='subscription'] .subs-price-row {
  align-items: center !important;
  gap: 8px !important;
}
.shopify-section:has(.dbp-title) .subs-card .subs-price {
  color: #000;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 600;
  font-size: 24px;
  line-height: normal;
}
.shopify-section:has(.dbp-title) .subs-card .subs-compare,
.shopify-section:has(.dbp-title) .subs-card .subs-per {
  margin: 0;
  opacity: 1;
  color: #d26c4e;
  font-weight: 500;
  line-height: normal;
}
.shopify-section:has(.dbp-title) .subs-card .subs-compare {
  margin-right: 8px;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 16px;
  text-decoration: line-through;
}
.shopify-section:has(.dbp-title) .subs-card .subs-per {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px;
}
.shopify-section:has(.dbp-title) .subs-card .subs-badge-row,
.shopify-section:has(.dbp-title) .subs-card .save-badge {
  display: none !important;
}
.shopify-section:has(.dbp-title) .subs-features {
  grid-template-columns: 1fr auto;
  gap: 16px 0;
  margin-top: 14px;
}
/* Figma lists three perks: hide the "Up to X% Savings" row */
.shopify-section:has(.dbp-title) .subs-features .feature:first-child {
  display: none;
}
.shopify-section:has(.dbp-title) .subs-features .feature:nth-child(2) {
  grid-column: 1 / -1;
  max-width: 140px;
}
.shopify-section:has(.dbp-title) .subs-features .feature:nth-child(4) {
  max-width: 105px;
}
.shopify-section:has(.dbp-title) .subs-features .feature {
  gap: 8px;
  color: #000;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500;
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0;
}
.shopify-section:has(.dbp-title) .subs-features .feature-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}
.shopify-section:has(.dbp-title) .subs-card[data-type='onetime'] {
  padding: 13px 15px;
}
.shopify-section:has(.dbp-title) .subs-card[data-type='onetime'] .subs-onetime-row {
  align-items: center;
  gap: 8px;
}
.shopify-section:has(.dbp-title) .subs-card[data-type='onetime'] .subs-title {
  font-family: 'Montserrat', sans-serif !important;
}
.shopify-section:has(.dbp-title) .subs-card[data-type='onetime'] .subs-onetime-price-row {
  align-items: flex-start !important;
  gap: 2px !important;
  min-width: 142px;
}
.shopify-section:has(.dbp-title) .subs-card[data-type='onetime'] .subs-price {
  font-weight: 500;
}

/* Plan dropdown */
.shopify-section:has(.dbp-title) .subs-qty {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-top: 16px;
}
.shopify-section:has(.dbp-title) .subs-qty > label {
  margin: 0;
  color: #000;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  font-size: 18px;
  line-height: normal;
  letter-spacing: 0;
}
.shopify-section:has(.dbp-title) .subs-qty .cplan {
  width: 100%;
}
.shopify-section:has(.dbp-title) .subs-qty .cplan-trigger {
  width: 100%;
  height: 52px;
  padding: 0 24px;
  border: 1.5px solid #c2d7cd;
  border-radius: 30px;
  background: transparent;
}
.shopify-section:has(.dbp-title) .subs-qty .cplan-label,
.shopify-section:has(.dbp-title) .subs-qty .cplan-option {
  color: #000;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
}
.shopify-section:has(.dbp-title) .subs-qty .cplan-chevron {
  width: 14px;
  height: 8px;
}
.shopify-section:has(.dbp-title) .subs-qty .cplan-chevron path {
  stroke: #000;
}

/* Add to cart (buy-buttons block) */
.shopify-section:has(.dbp-title) .add-to-cart-button {
  --dbp-angle: 20px;
  height: 53px;
  padding: 0 var(--dbp-angle);
  border-radius: 0;
  clip-path: polygon(var(--dbp-angle) 0, calc(100% - var(--dbp-angle)) 0, 100% 50%, calc(100% - var(--dbp-angle)) 100%, var(--dbp-angle) 100%, 0 50%);
}
.shopify-section:has(.dbp-title) .add-to-cart-button .add-to-cart-icon {
  display: none;
}
.shopify-section:has(.dbp-title) .add-to-cart-button .add-to-cart-text__content,
.shopify-section:has(.dbp-title) .add-to-cart-button .add-to-cart-text__content span {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}
.shopify-section:has(.dbp-title) .text-block.dbp-shipping {
  margin-top: -8px;
}
.shopify-section:has(.dbp-title) .text-block.dbp-shipping > * {
  margin: 0;
  color: #8e8e8e;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500;
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0;
  text-align: center;
}

/* Trust badges block */
.shopify-section:has(.dbp-title) .trust-badges-block {
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.shopify-section:has(.dbp-title) .trust-badge-item {
  gap: 8px;
}
.shopify-section:has(.dbp-title) .trust-badge-item__icon,
.shopify-section:has(.dbp-title) .trust-badge-item__icon svg,
.shopify-section:has(.dbp-title) .trust-badge-item__icon img {
  width: 24px !important;
  height: 24px !important;
}
.shopify-section:has(.dbp-title) .trust-badge-item__text {
  color: #4b5753;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500;
  font-size: 16px !important;
  line-height: 22.4px;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (max-width: 989px) {
  .shopify-section:has(.dbp-title) .product-information.section {
    padding-block: 24px 84px;
  }
  .shopify-section:has(.dbp-title) .product-details {
    padding-inline: 4px;
  }
  .shopify-section:has(.dbp-title) media-gallery {
    padding-inline: 4px;
  }
  .shopify-section:has(.dbp-title) .product-information__media {
    padding-top: 14px;
  }
  /* 32px in Figma; the thumbnail strip already carries ~11px of theme padding below it */
  .shopify-section:has(.dbp-title) .product-details {
    margin-top: 21px;
  }
  .shopify-section:has(.dbp-title) .text-block.dbp-badge {
    top: 0;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='subscription'] .subs-price-row {
    flex-direction: column !important;
    margin-top: 10px;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='onetime'] {
    min-height: 78px;
  }
}

@media (min-width: 990px) {
  .shopify-section:has(.dbp-title) .product-information__grid.product-information__grid--half {
    grid-template-columns: minmax(40px, 1fr) minmax(0, 861px) minmax(0, 809px) minmax(40px, 1fr);
    column-gap: 0;
  }
  /* the theme splits its column gap as padding on both columns; Figma gap is 39px */
  .shopify-section:has(.dbp-title) .product-information__media {
    padding: 56px 0 0 !important;
  }
  .shopify-section:has(.dbp-title) .product-details {
    justify-content: flex-start;
    padding: 0 0 0 39px !important;
  }

  .shopify-section:has(.dbp-title) slideshow-controls .slideshow-controls__thumbnails {
    gap: 24px;
    margin-top: 28px;
  }
  .shopify-section:has(.dbp-title) .slideshow-controls__thumbnail {
    width: 150px !important;
    height: 150px;
    border-radius: 10px;
  }

  .shopify-section:has(.dbp-title) .text-block.dbp-badge {
    top: -12px;
    /* Figma hangs it 54px left of the image; never past the viewport edge on narrower screens */
    left: max(8px, calc(max(40px, (100% - 1670px) / 2) - 54px));
    width: 183px;
    height: 157px;
  }
  .shopify-section:has(.dbp-title) .text-block.dbp-badge > * {
    padding-top: 31px;
    font-size: 40px;
    line-height: 45px;
  }

  .shopify-section:has(.dbp-title) .text-block.dbp-rating > * {
    gap: 16px;
    font-size: 40px;
    line-height: 40px;
  }
  .shopify-section:has(.dbp-title) .text-block.dbp-rating a {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
    font-size: 18px;
    line-height: normal;
  }
  .shopify-section:has(.dbp-title) .text-block.dbp-title > * {
    font-size: 56px;
    line-height: 60px;
  }
  .shopify-section:has(.dbp-title) .text-block.dbp-subtitle {
    margin-top: -16px;
  }
  .shopify-section:has(.dbp-title) .text-block.dbp-subtitle > * {
    font-size: 24px;
    line-height: 32px;
  }

  .shopify-section:has(.dbp-title) .subs-cards {
    gap: 24px;
  }
  .shopify-section:has(.dbp-title) .subs-cards .subs-card {
    border-color: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    background: rgba(194, 215, 205, 0.05);
  }
  .shopify-section:has(.dbp-title) .subs-cards .subs-card.active {
    border-color: transparent;
    background: #e1ebe6;
    box-shadow: 0 0 10px 1px #c2d7cd;
  }
  .shopify-section:has(.dbp-title) .subs-cards .best-badge {
    left: 40px;
    transform: none;
    width: 156px;
    height: 38px;
    font-size: 18px;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='subscription'] {
    min-height: 278px;
    padding: 42px 21px 48px 39.5px;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='subscription'] .subs-top-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='subscription'] .subs-card-header {
    justify-content: flex-start;
    margin-top: 12px;
  }
  .shopify-section:has(.dbp-title) .subs-card.active .subs-radio-btn {
    width: 26px;
    height: 26px;
  }
  .shopify-section:has(.dbp-title) .subs-card .subs-title {
    font-size: 24px;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='subscription'] .subs-price-row {
    align-items: flex-start !important;
    gap: 11px !important;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='subscription'] .subs-price {
    padding-left: 9px;
  }
  .shopify-section:has(.dbp-title) .subs-card .subs-price {
    font-size: 32px;
  }
  .shopify-section:has(.dbp-title) .subs-card .subs-compare,
  .shopify-section:has(.dbp-title) .subs-card .subs-per {
    color: #dd947f;
  }
  .shopify-section:has(.dbp-title) .subs-card .subs-compare {
    margin-right: 10px;
    font-size: 24px;
  }
  .shopify-section:has(.dbp-title) .subs-card .subs-per {
    font-family: 'Libre Franklin', sans-serif !important;
    font-size: 16px;
  }
  .shopify-section:has(.dbp-title) .subs-features {
    grid-template-columns: 1fr 286px;
    max-width: 690px;
    margin-top: 16px;
  }
  .shopify-section:has(.dbp-title) .subs-features .feature:nth-child(2),
  .shopify-section:has(.dbp-title) .subs-features .feature:nth-child(4) {
    max-width: none;
  }
  .shopify-section:has(.dbp-title) .subs-features .feature {
    font-size: 20px;
    white-space: nowrap;
  }
  .shopify-section:has(.dbp-title) .subs-features .feature-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='onetime'] {
    min-height: 113px;
    padding: 31px 40px 31px 39px;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='onetime'] .subs-title {
    color: #1d1f1e;
    font-family: 'Libre Franklin', sans-serif !important;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='onetime'] .subs-onetime-price-row {
    flex-direction: row !important;
    align-items: flex-end !important;
    gap: 8px !important;
    min-width: 0;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type='onetime'] .subs-price {
    color: #1d1f1e;
  }

  .shopify-section:has(.dbp-title) .subs-qty {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
  }
  .shopify-section:has(.dbp-title) .subs-qty > label {
    font-size: 26px;
  }
  .shopify-section:has(.dbp-title) .subs-qty .cplan {
    flex: 0 1 517px;
  }
  .shopify-section:has(.dbp-title) .subs-qty .cplan-trigger {
    height: 56px;
    border-width: 3px;
  }
  .shopify-section:has(.dbp-title) .subs-qty .cplan-label,
  .shopify-section:has(.dbp-title) .subs-qty .cplan-option {
    font-size: 20px;
  }

  .shopify-section:has(.dbp-title) .add-to-cart-button {
    --dbp-angle: 28px;
    height: 77px;
  }
  .shopify-section:has(.dbp-title) .add-to-cart-button .add-to-cart-text__content,
  .shopify-section:has(.dbp-title) .add-to-cart-button .add-to-cart-text__content span {
    font-weight: 700;
    font-size: 24px;
    line-height: normal;
  }
  .shopify-section:has(.dbp-title) .text-block.dbp-shipping {
    margin-top: -22px;
  }
  .shopify-section:has(.dbp-title) .text-block.dbp-shipping > * {
    font-size: 16px;
  }

  .shopify-section:has(.dbp-title) .trust-badges-block {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .shopify-section:has(.dbp-title) .trust-badge-item {
    gap: 12px;
  }
  .shopify-section:has(.dbp-title) .trust-badge-item__icon,
  .shopify-section:has(.dbp-title) .trust-badge-item__icon svg,
  .shopify-section:has(.dbp-title) .trust-badge-item__icon img {
    width: 40px !important;
    height: 40px !important;
  }
  .shopify-section:has(.dbp-title) .trust-badge-item__text {
    font-size: 20px !important;
    line-height: 29px;
  }
}

@media (min-width: 990px) and (max-width: 1439px) {
  .shopify-section:has(.dbp-title) .subs-card .subs-title {
    font-size: 20px;
  }
  .shopify-section:has(.dbp-title) .subs-features {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }
  .shopify-section:has(.dbp-title) .subs-features .feature {
    font-size: 16px;
    white-space: normal;
  }
  .shopify-section:has(.dbp-title) .subs-qty > label {
    font-size: 22px;
  }
  .shopify-section:has(.dbp-title) .subs-qty .cplan-label,
  .shopify-section:has(.dbp-title) .subs-qty .cplan-option {
    font-size: 16px;
  }
  .shopify-section:has(.dbp-title) .trust-badges-block {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
  .shopify-section:has(.dbp-title) .trust-badge-item__icon,
  .shopify-section:has(.dbp-title) .trust-badge-item__icon svg,
  .shopify-section:has(.dbp-title) .trust-badge-item__icon img {
    width: 32px !important;
    height: 32px !important;
  }
  .shopify-section:has(.dbp-title) .trust-badge-item__text {
    font-size: 16px !important;
    line-height: 22.4px;
  }
}

/* ==========================================================================
   Duo Bundle LP: Header (sections/duo-bundle-header-group.json: theme header-announcements + header)
   Figma 29441:2236 + 29441:2240 (desktop), 29506:886 (mobile)
   Scoped to this header group's sections so the site header is unchanged.
   ========================================================================== */
.shopify-section-group-duo-bundle-header-group .section-background {
  background: #4b5753;
}
.shopify-section-group-duo-bundle-header-group .announcement-bar {
  padding-block: 12px;
}
.shopify-section-group-duo-bundle-header-group .announcement-bar__inner .announcement-bar__text {
  color: #fcf9f3;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.shopify-section-group-duo-bundle-header-group #header-component.header .header__row {
  background: #f9f7f1;
  box-shadow: 0 1px 8px rgba(44, 52, 49, 0.06);
}
.shopify-section-group-duo-bundle-header-group #header-component.header .header__columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding-block: 0;
  padding-inline: clamp(20px, 13.6vw, 60px);
}
/* No navigation menu in this design */
.shopify-section-group-duo-bundle-header-group #header-component.header .header__drawer {
  display: none;
}
.shopify-section-group-duo-bundle-header-group .header-logo {
  padding: 0;
}
/* Logo size comes from the header-logo block height override (72px desktop / 44px mobile) */
.shopify-section-group-duo-bundle-header-group header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.shopify-section-group-duo-bundle-header-group header-actions .cart-drawer {
  order: -1;
}
/* Mobile design shows only the cart */
.shopify-section-group-duo-bundle-header-group header-actions .account-drawer,
.shopify-section-group-duo-bundle-header-group header-actions .account-popover {
  display: none;
}
.shopify-section-group-duo-bundle-header-group .header-actions__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 27px;
  padding: 0;
  color: #fff;
  background: url('dbh-hex.png') center / 100% 100% no-repeat;
}
.shopify-section-group-duo-bundle-header-group .header-actions__action svg {
  width: 14px;
  height: 14px;
}
.shopify-section-group-duo-bundle-header-group .header-actions__action .svg-wrapper {
  width: auto;
  height: auto;
}

@media (min-width: 990px) {
  .shopify-section-group-duo-bundle-header-group .announcement-bar {
    padding-block: 12px;
  }
  .shopify-section-group-duo-bundle-header-group .announcement-bar__inner .announcement-bar__text {
    color: #fff;
    font-size: 20px;
    line-height: 28px;
  }
  .shopify-section-group-duo-bundle-header-group #header-component.header .header__row {
    background: #fcf9f3;
    box-shadow: none;
    border-bottom: 1px solid #2e3a46;
  }
  .shopify-section-group-duo-bundle-header-group #header-component.header .header__columns {
    min-height: 88px;
    padding-block: 0;
    padding-inline: clamp(40px, 8.33vw, 160px);
  }
  .shopify-section-group-duo-bundle-header-group .header-actions__action {
    width: 62px;
    height: 56px;
  }
  .shopify-section-group-duo-bundle-header-group .header-actions__action svg {
    width: 24px;
    height: 24px;
  }
  .shopify-section-group-duo-bundle-header-group header-actions .account-popover {
    display: block;
  }
  .shopify-section-group-duo-bundle-header-group .account-button .account-button__icon,
  .shopify-section-group-duo-bundle-header-group .account-button svg {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   Duo Bundle LP: Hero (Figma update 29817:2214 mobile): 20px side margin
   ========================================================================== */
@media screen and (max-width: 989px) {
  .shopify-section:has(.hero-headline) .hero__container {
    grid-template-columns: 20px minmax(0, 1fr) 20px;
  }
}

/* ==========================================================================
   Duo Bundle LP: Section - Created by an Endocrinologist (core section + blocks)
   Figma 29806:1357 (desktop), 29526:12774 (mobile)
   ========================================================================== */
/* Dr. Ergin video popup (ergin_video_modal custom-liquid) */
.er-video-modal {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #000;
  overflow: visible;
}
.er-video-modal::backdrop {
  background: rgb(0 0 0 / 0.75);
}
.er-video-modal__frame {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}
.er-video-modal__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.er-video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.shopify-section:has(.er-layout) {
  background: #f7f3ec;
}
.shopify-section:has(.er-layout) .section-background {
  background: transparent;
}
.shopify-section:has(.er-layout) .section-content-wrapper {
  padding: 0;
}
.group-block:has(> .group-block__media-wrapper.er-layout) > .group-block-content {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

/* Portrait + caption */
.group-block:has(> .group-block__media-wrapper.er-media) {
  position: relative;
  order: -1;
  width: 100%;
  min-height: 415px;
  overflow: hidden;
}
.group-block:has(> .group-block__media-wrapper.er-media) > .group-block-content {
  gap: 0;
}
.image-block.er-photo {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: 415px;
}
.image-block.er-photo img,
.image-block.er-photo svg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}
.group-block:has(> .group-block__media-wrapper.er-caption) {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 84px;
  padding: 8px 16px 8px 8px;
  background: rgba(23, 31, 28, 0.9);
  backdrop-filter: blur(6px);
}
.group-block:has(> .group-block__media-wrapper.er-caption) > .group-block-content {
  gap: 0;
}
.shopify-section:has(.er-layout) .text-block.er-cap-name > * {
  margin: 0;
  color: #fff;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.shopify-section:has(.er-layout) .text-block.er-cap-bio > * {
  max-width: 400px;
  margin: 0;
  color: #fff;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.24px;
}

/* Copy column */
.group-block:has(> .group-block__media-wrapper.er-content) {
  padding: 16px 20px 24px;
  background: linear-gradient(to right, #e9e3d5, rgba(255, 255, 255, 0.1) 133.5%);
}
.group-block:has(> .group-block__media-wrapper.er-content) > .group-block-content {
  align-items: flex-start;
  gap: 8px;
}
.shopify-section:has(.er-layout) .text-block.er-heading > * {
  max-width: 330px;
  margin: 0;
  color: #4b5752;
  font-family: 'Gullia', serif !important;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0;
}
.shopify-section:has(.er-layout) .text-block.er-body > *,
.shopify-section:has(.er-layout) .text-block.er-check > * {
  max-width: none;
  margin: 0;
  color: #0d2b2d;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}
/* mobile Figma lists the three points with no gap after the body copy */
.shopify-section:has(.er-layout) .text-block.er-check {
  margin-top: -8px;
}
.shopify-section:has(.er-layout) .text-block.er-check > * {
  padding-left: 24px;
  background: url('er-icon-check.svg') left center / 16px 16px no-repeat;
}
.group-block:has(> .group-block__media-wrapper.er-content) a.button {
  --button-angle-width: 14px;
  align-self: center;
  justify-content: center;
  box-sizing: border-box;
  /* sized to the label, never narrower than the design */
  width: max-content;
  min-width: 229px;
  max-width: 100%;
  height: 46px;
  margin-top: 8px;
  padding: 0 32px;
  background: #d26c4e;
  color: #fff;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0;
  text-transform: none;
}

@media screen and (min-width: 990px) {
  .shopify-section:has(.er-layout) {
    background:
      linear-gradient(61deg, rgba(247, 241, 232, 0.3) 0%, rgba(255, 255, 255, 0.3) 38.6%),
      linear-gradient(198deg, rgba(233, 227, 213, 0.3) 24.3%, rgba(131, 128, 120, 0) 81.3%),
      #f7f3ec;
  }
  .group-block:has(> .group-block__media-wrapper.er-layout) > .group-block-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 673px;
  }
  .group-block:has(> .group-block__media-wrapper.er-media) {
    order: 2;
    flex: 0 0 41.15% !important;
    max-width: 790px;
    align-self: stretch;
  }
  .image-block.er-photo {
    height: 673px;
  }
  .group-block:has(> .group-block__media-wrapper.er-caption) {
    min-height: 101px;
    padding: 16px 32px;
  }
  .shopify-section:has(.er-layout) .text-block.er-cap-name > * {
    font-size: 18px;
    line-height: 22px;
  }
  .shopify-section:has(.er-layout) .text-block.er-cap-bio > * {
    max-width: 561px;
    font-size: 16px;
    line-height: 22px;
  }

  .group-block:has(> .group-block__media-wrapper.er-content) {
    order: 1;
    flex: 0 1 849px !important;
    min-width: 0;
    margin-left: clamp(40px, 6.72vw, 129px);
    padding: 0;
    background: none;
  }
  .group-block:has(> .group-block__media-wrapper.er-content) > .group-block-content {
    gap: 12px;
  }
  .shopify-section:has(.er-layout) .text-block.er-heading {
    margin-bottom: 12px;
  }
  .shopify-section:has(.er-layout) .text-block.er-heading > * {
    max-width: 560px;
    color: #0d2b2d;
    font-size: 56px;
    line-height: 61.6px;
  }
  .shopify-section:has(.er-layout) .text-block.er-body > *,
  .shopify-section:has(.er-layout) .text-block.er-check > * {
    font-size: 20px;
    line-height: 32px;
  }
  .shopify-section:has(.er-layout) .text-block.er-check {
    margin-top: 0;
  }
  .shopify-section:has(.er-layout) .text-block.er-check > * {
    padding-left: 32px;
    background-size: 24px 24px;
  }
  .group-block:has(> .group-block__media-wrapper.er-content) a.button {
    --button-angle-width: 26px;
    align-self: flex-start;
    min-width: 417px;
    height: 78px;
    /* scales with the viewport so the long label stays on one line in the column */
    padding-inline: 32px;
    margin-top: 28px;
    font-size: clamp(16px, 1.6vw, 24px);
    line-height: normal;
  }
}

/* Duo CTA: narrower desktops — tighter card padding and gap */
@media screen and (min-width: 990px) and (max-width: 1439px) {
  .group-block:has(> .group-block__media-wrapper.dc-card) {
    padding-inline: 40px;
  }
  .group-block:has(> .group-block__media-wrapper.dc-card) > .group-block-content {
    gap: 32px;
  }
  .group-block:has(> .group-block__media-wrapper.dc-content) {
    padding-right: 0;
  }
  .text-block.dc-heading > * {
    font-size: 44px;
    line-height: 52px;
  }
  .group-block:has(> .group-block__media-wrapper.dc-chips) > .group-block-content {
    flex-wrap: wrap;
  }
  .group-block:has(> .group-block__media-wrapper.dc-chip) {
    flex: 1 1 220px !important;
    min-width: 0;
  }
  .group-block:has(> .group-block__media-wrapper.dc-price-row),
  .group-block:has(> .group-block__media-wrapper.dc-trust),
  .group-block:has(> .group-block__media-wrapper.dc-content) a.button {
    width: 100%;
    max-width: 100%;
  }
  .group-block:has(> .group-block__media-wrapper.dc-trust) > .group-block-content {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 24px;
  }
  .group-block:has(> .group-block__media-wrapper.dc-price-row) > .group-block-content {
    flex-wrap: wrap;
    row-gap: 12px;
  }
}

/* Buy box single-purchase card on phones: keep title on one line, price stacked above compare */
@media screen and (max-width: 989px) {
  .shopify-section:has(.dbp-title) .subs-card[data-type=onetime] .subs-onetime-price-row {
    flex-direction: column !important;
    align-items: flex-end !important;
    min-width: 0;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type=onetime] .subs-onetime-info {
    flex: 1 1 auto;
    min-width: 0;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type=onetime] .subs-title {
    white-space: nowrap;
  }
}
@media screen and (max-width: 439px) {
  .shopify-section:has(.dbp-title) .subs-card[data-type=onetime] .subs-title {
    font-size: 16px;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type=onetime] .subs-price {
    font-size: 20px;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type=onetime] .subs-compare {
    font-size: 14px;
  }
  .shopify-section:has(.dbp-title) .subs-card[data-type=onetime] .subs-per {
    font-size: 12px;
  }
}

/* Duo Bundle LP hero: subtitle, review count and caption are Libre Franklin
   (!important: a global `p { font-family: Gullia !important }` rule overrides block typography) */
.hero:has(.hero-caption) .hero-trust-badge__text,
.hero:has(.hero-caption) .text-block:is(.hero-subtitle, .hero-caption),
.hero:has(.hero-caption) .text-block:is(.hero-subtitle, .hero-caption) > * {
  font-family: 'Libre Franklin', sans-serif !important;
}

/* Duo Bundle header: cart count sits on the hexagon's top-right corner instead of over the bag icon */
.shopify-section-group-duo-bundle-header-group .header-actions__action:has(.cart-bubble) {
  position: relative;
}
.shopify-section-group-duo-bundle-header-group .header-actions__cart-icon {
  position: static;
}
.shopify-section-group-duo-bundle-header-group .header-actions__cart-icon .cart-bubble {
  --cart-bubble-size: 16px;
  top: 0;
  right: 0;
  box-shadow: 0 0 0 2px #fcf9f3;
  border-radius: 50%;
}
@media (min-width: 990px) {
  .shopify-section-group-duo-bundle-header-group .header-actions__cart-icon .cart-bubble {
    --cart-bubble-size: 20px;
    top: 2px;
    right: 2px;
  }
}

/* Duo Bundle LP: Start the routine - tighter vertical rhythm on phones */
@media (max-width: 989px) {
  .shopify-section:has(.dbp-title) .product-information.section {
    padding-block-end: 32px;
  }
  .shopify-section:has(.dbp-title) .product-details > .group-block > .group-block-content {
    gap: 16px !important;
  }
  .shopify-section:has(.dbp-title) .group-block-content:has(> .text-block.dbp-title) {
    gap: 4px !important;
  }
  .shopify-section:has(.dbp-title) .text-block.dbp-subtitle {
    margin-top: -4px;
  }
}

/* Duo Bundle LP hero: caption sits over the bottle photo on phones; a soft halo keeps it readable */
@media (max-width: 749px) {
  .hero .hero-caption > * {
    line-height: 1.4;
    text-shadow: 0 0 6px #fcf9f3, 0 0 12px #fcf9f3;
  }
}

/* Dr. Ergin video CTA: on narrow phones the longer label wraps instead of clipping */
@media screen and (max-width: 989px) {
  .group-block:has(> .group-block__media-wrapper.er-content) a.button {
    height: auto;
    min-height: 46px;
    padding-block: 8px;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }
}
/* Dr. Ergin video CTA: below desktop the label wraps onto centered lines */
@media screen and (max-width: 989px) {
  .group-block:has(> .group-block__media-wrapper.er-content) a.button .button__label {
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
}
@media screen and (max-width: 749px) {
  .group-block:has(> .group-block__media-wrapper.er-content) a.button {
    /* scales with the viewport so the label stays on one line (12px at 375px) */
    padding-inline: 16px;
    font-size: min(14px, 3.2vw);
  }
  .group-block:has(> .group-block__media-wrapper.er-content) a.button .button__label {
    white-space: nowrap;
  }
}

/* Duo Bundle LP hero caption: one line with a "·" separator on desktop; on phones the
   separator (an <em> in the caption) becomes a line break */
.hero .hero-caption em {
  font-style: normal;
}
@media (max-width: 749px) {
  .hero .hero-caption em {
    display: block;
    height: 0;
    overflow: hidden;
  }
}

/* Title row on phones: price stays beside the title; the title scales with the viewport
   so its longest word ("BERBERINE") never runs into the price */
@media (max-width: 989px) {
  .group-block:has(> .group-block__media-wrapper.wt-title-row) > .group-block-content {
    gap: 12px;
  }
  .text-block.wt-title,
  .text-block.wt-title > * {
    font-size: min(40px, 8.5vw);
    line-height: 1.2;
  }
}

/* Reviews on phones: each card fits its own review instead of stretching to the tallest one
   (the extra height was spread as white space around the quote) */
@media screen and (max-width: 989px) {
  .wcs-slider__track {
    align-items: flex-start;
  }
  .wcs-review {
    align-content: start;
    row-gap: 16px;
  }
  .wcs-review__quote {
    padding-top: 0;
  }
}

/* Reviews on phones: the slider's JS sets the track to the active review's height */
@media screen and (max-width: 989px) {
  .wcs-slider__track {
    overflow-y: hidden;
    transition: height 0.25s ease;
  }
}

/* Google Preferred Source button (blog posts) */
.blog-post-preferred-source {
  margin-block: 24px;
}

/* PDP: Interactive product explorer */
.shopify-section:has(.pdp-interactive) {
  background: #f1f1ec;
}
.pdp-interactive {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  margin-top: -40px;
}

.pdp-interactive__images {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  /* image files carry their own side whitespace, so overlap them slightly */
  width: 100%;
  max-width: 1040px;
}

.pdp-interactive__img {
  display: block;
  cursor: pointer; /* clicking an image selects its tab */
  width: 26%;
  height: auto;
  object-fit: contain;
  opacity: 0.45; /* faded overlay on the unselected images */
  transition: width 0.35s ease, opacity 0.35s ease;
  /* room for the divider, drawn in the padding as a background line */
  padding-bottom: 12px;
  background: no-repeat center bottom / 55% 2px;
}

.pdp-interactive__img.is-active {
  width: 40%;
  opacity: 1;
  background-image: linear-gradient(#5b3a3a, #5b3a3a);
}

@media screen and (min-width: 750px) {
  .pdp-interactive__img + .pdp-interactive__img {
    margin-left: -9%;
  }
}

.pdp-interactive__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  background: #ffffff;
  border: 1px solid rgba(75, 87, 82, 0.15);
  border-radius: 9999px;
}

.pdp-interactive__tab {
  font-family: var(--font-body--family);
  font-size: 13px;
  font-weight: 600;
  color: #4b5752;
  background: transparent;
  border: none;
  border-radius: 9999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.pdp-interactive__tab:hover {
  background: rgba(75, 87, 82, 0.08);
}

.pdp-interactive__tab.is-active {
  color: #ffffff;
  background: #4b5752;
}

.pdp-interactive-panel {
  width: 100%;
  max-width: 760px;
}

.pdp-interactive-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-interactive-panel li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid rgba(75, 87, 82, 0.15);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #333333;
}

.pdp-interactive-panel li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: #e07b54;
}

.pdp-interactive-panel strong {
  font-weight: 700;
  color: #4b5752;
}

/* Tab 3: two-column pill grid with check icons */
.pdp-interactive-panel[data-panel="3"] ul {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: 12px 48px;
  counter-reset: pdp-ingredient;
}

.pdp-interactive-panel[data-panel="3"] li {
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 6px 18px 6px 6px;
  border: 1px solid rgba(224, 123, 84, 0.18);
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-size: 15px;
}

.pdp-interactive-panel[data-panel="3"] li::before {
  counter-increment: pdp-ingredient;
  content: counter(pdp-ingredient, decimal-leading-zero);
  width: auto;
  height: auto;
  margin-top: 0;
  padding-left: 12px;
  background: none;
  border-radius: 0;
  font-size: 15px;
  line-height: 1;
  color: #e8a99a;
}

@media (max-width: 749px) {
  .pdp-interactive__images {
    gap: 12px;
  }
  .pdp-interactive__tab {
    padding: 8px 14px;
    font-size: 12px;
  }
  .pdp-interactive-panel[data-panel="3"] ul {
    grid-template-columns: 1fr;
  }
}
/* Hide PDP sections whose pdp_content metaobject fields are empty */
.shopify-section[id$='__section_dabmfB']:not(:has(.pdp-interactive)),
.shopify-section[id$='__section_cdNtRf']:not(:has(.pdp-support-image, .pdp-large-boxes)),
.shopify-section[id$='__section_8AjLYX']:not(:has(.pdp-steps__item)),
.shopify-section[id$='__section_iw8rAL']:not(:has(.pdp-fit__box)) {
  display: none;
}
div:has(> .pdp-support-image) {
  width: 45%;
}
.pdp-support-image img {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 749px) {
  div:has(> .pdp-support-image) {
    width: 100%;
  }
}
.pdp-large-boxes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 520px;
}
.pdp-large-boxes__box {
  position: relative;
  padding: 18px 22px 18px 44px;
  background: #faf6ef;
  border: 1px solid #ece4d6;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #6b6b6b;
}
.pdp-large-boxes__box::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e88a73;
}
.pdp-large-boxes__note {
  margin: 4px 0 0;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 13px;
  line-height: 1.5;
  color: #4B5753;
}
.pdp-large-boxes__note em {
  font-style: italic;
}
@media screen and (max-width: 749px) {
  .pdp-large-boxes {
    max-width: none;
    width: 100%;
  }
}
.shopify-section:has(.pdp-steps) {
  background: #f1f1ec;
}
.pdp-steps-wrap {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 16px auto 0;
}
.pdp-steps__curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  overflow: visible;
  pointer-events: none;
}
.pdp-steps__curve path {
  fill: none;
  stroke: #6f8a7c;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.pdp-steps__dot {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #6f8a7c;
}
.pdp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin: 0;
  padding: 72px 0 0;
  list-style: none;
}
.pdp-steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 18px 18px 20px;
  background: #fbfbf8;
  border: 1px solid #ecebe5;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgb(23 31 28 / 0.06);
}
.pdp-steps__item:nth-child(1) { margin-top: 48px; }
.pdp-steps__item:nth-child(2) { margin-top: 32px; }
.pdp-steps__item:nth-child(3) { margin-top: 16px; }
.pdp-steps__item:nth-child(4) {
  padding-top: 34px;
  background: #e6eee8;
  border-color: #c9d8ce;
}
.pdp-steps__badge {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: #5d7a6b;
  color: #ffffff;
  font-size: 8px;
  line-height: 1;
  text-box: trim-both cap alphabetic;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pdp-steps__num {
  position: relative;
  display: block;
  margin-bottom: auto;
  padding-bottom: 10px;
  font-family: var(--font-heading--family);
  font-size: 22px;
  line-height: 1;
  color: #c4c9c5;
}
.pdp-steps__num::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18px;
  height: 1px;
  background: #c4c9c5;
}
.pdp-steps__label {
  display: block;
  margin: 16px 0 4px;
  font-family: var(--font-heading--family);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
  color: #2f3b36;
}
.pdp-steps__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5f6662;
}
.pdp-steps__note {
  margin: 32px 0 0;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  text-align: center !important;
  font-size: 13px;
  line-height: 1.5;
  color: #4B5753;
}
.pdp-steps__note em {
  font-style: italic;
}
@media screen and (max-width: 749px) {
  .pdp-steps__curve,
  .pdp-steps__dot {
    display: none;
  }
  .pdp-steps {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 0;
  }
  .pdp-steps__item,
  .pdp-steps__item:nth-child(n) {
    min-height: 0;
    margin-top: 0;
  }
  .pdp-steps__item:nth-child(4) {
    padding-top: 36px;
  }
}
.pdp-fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.pdp-fit__box {
  padding: 22px 26px 24px;
  background: #eef3ef;
  border: 1px solid #d5e2d9;
  border-radius: 12px;
  --pdp-fit-accent: #6f8a7c;
}
.pdp-fit__box--doctor,
.pdp-fit__box--note {
  background: #fbf7ee;
  border-color: #efe3cb;
  --pdp-fit-accent: #d9953f;
}
.pdp-fit__title {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pdp-fit-accent);
}
.pdp-fit__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pdp-fit__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #3f4743;
}
.pdp-fit__list li + li {
  margin-top: 8px;
}
.pdp-fit__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pdp-fit-accent);
}
.pdp-fit__box--good li::before,
.pdp-fit__box--use li::before {
  left: 0;
  top: 0.3em;
  width: 13px;
  height: 13px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f8a7c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media screen and (max-width: 749px) {
  .pdp-fit {
    grid-template-columns: 1fr;
  }
}
/* Safety info: serif titles, info-circle icons, narrower centred boxes */
.pdp-safety {
  max-width: 900px;
  margin: 0 auto;
}
.pdp-safety .pdp-fit__box {
  padding: 20px 24px 22px;
}
.pdp-safety .pdp-fit__box--note {
  background: #f8f7f2;
  border-color: #e6e3da;
}
.pdp-safety :is(li, p, span):not(.pdp-fit__title) {
  font-family: 'Libre Franklin', sans-serif !important;
  color: #2C3A31 !important;
}
.pdp-safety .pdp-fit__title {
  margin: 0 0 12px;
  font-family: 'Gullia', serif !important;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #4a5550;
}
.pdp-safety .pdp-fit__list li {
  padding-left: 24px;
  font-size: 13px;
  color: #4a524e;
}
.pdp-safety .pdp-fit__list li::before,
.pdp-safety .pdp-fit__box--use li::before {
  left: 0;
  top: 0.2em;
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa39f' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v6'/%3E%3Ccircle cx='12' cy='7.5' r='0.6' fill='%239aa39f'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* PDP new-design: subscription perk icons — Figma hexagon badges (28065-407/411/414), exported as PNG assets */
body.template-product-new-design .subs-features .feature .feature-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent no-repeat center / contain;
}
body.template-product-new-design .subs-features .feature .feature-icon > * { display: none; }
body.template-product-new-design .subs-card[data-type="subscription"] .subs-title {
  font-weight: 700;
  color: #000000;
}
body.template-product-new-design .subs-features .feature.feature,
body.template-product-new-design .subs-features .feature.feature * {
  font-weight: 700;
  color: #000000;
}
/* order in the markup: 1 savings, 2 out-of-stock protection, 3 fast shipping, 4 adjust/cancel (Figma reuses the savings icon for 4) */
body.template-product-new-design .subs-features .feature:nth-child(1) .feature-icon,
body.template-product-new-design .subs-features .feature:nth-child(4) .feature-icon {
  background-image: url("pdp-perk-save.png");
}
body.template-product-new-design .subs-features .feature:nth-child(2) .feature-icon {
  background-image: url("pdp-perk-stock.png");
}
body.template-product-new-design .subs-features .feature:nth-child(3) .feature-icon {
  background-image: url("pdp-perk-shipping.png");
}

/* PDP new-design: selected radio — green ring, thin white gap, large green dot */
body.template-product-new-design .subs-card.active .subs-radio-btn.subs-radio-btn {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1.5px solid #6f8a76;
  background: #fff;
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 8px #6f8a76;
}


/* PDP new-design: "Daily Metabolic Support" eyebrow label in Libre Franklin */
body.template-product-new-design [class*="text_cpCTXn"],
body.template-product-new-design [class*="text_cpCTXn"] * {
  font-family: 'Libre Franklin', sans-serif !important;
}

/* PDP new-design: "Good fit / Ask a doctor first" boxes in Libre Franklin */
body.template-product-new-design .shopify-section:has(.pdp-fit__box--good) .pdp-fit__box,
body.template-product-new-design .shopify-section:has(.pdp-fit__box--good) .pdp-fit__box * {
  font-family: 'Libre Franklin', sans-serif !important;
}

/* PDP new-design: product information (details column) */
body.template-product-new-design .product-information__background {
  background: #FAF8F2;
}
/* Pull the active-image divider up into the image file's transparent bottom whitespace */
body.template-product-new-design .pdp-interactive__img {
  padding-bottom: 0;
  background-position: center bottom 18%;
  background-size: 40% 2px;
}
/* Desktop: images keep their 1-2-3 order and the row slides so the selected one is centred (per Figma) */
@media screen and (min-width: 750px) {
  body.template-product-new-design .pdp-interactive__images {
    --pdp-step: min(250px, 19vw);
    display: grid;
    /* explicit width: the stacked images no longer push the shrink-wrapped block wrapper out to full size */
    width: min(1040px, 90vw);
    grid-template-columns: 100%;
    justify-items: center;
    align-items: center;
  }
  body.template-product-new-design .pdp-interactive__images:has(> .pdp-interactive__img:nth-child(1).is-active) { --pdp-active: 1; }
  body.template-product-new-design .pdp-interactive__images:has(> .pdp-interactive__img:nth-child(2).is-active) { --pdp-active: 2; }
  body.template-product-new-design .pdp-interactive__images:has(> .pdp-interactive__img:nth-child(3).is-active) { --pdp-active: 3; }
  body.template-product-new-design .pdp-interactive__img:nth-child(1) { --pdp-index: 1; }
  body.template-product-new-design .pdp-interactive__img:nth-child(2) { --pdp-index: 2; }
  body.template-product-new-design .pdp-interactive__img:nth-child(3) { --pdp-index: 3; }
  body.template-product-new-design .pdp-interactive__images .pdp-interactive__img {
    grid-area: 1 / 1;
    width: 26%;
    margin: 0;
    transform: translateX(calc((var(--pdp-index) - var(--pdp-active, 1)) * var(--pdp-step)));
    transition: width 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
  }
  body.template-product-new-design .pdp-interactive__images .pdp-interactive__img.is-active {
    position: relative;
    z-index: 1;
    width: 40%;
    align-self: end;
  }
}
body.template-product-new-design .product-details {
  --pdp-ink: #2f3a33;
  --pdp-muted: #5f6b63;
  --pdp-sage: #e4eae2;
  --pdp-sage-line: #a9b9ad;
  --pdp-green: #3f7a52;
  --pdp-coral: #d9715a;
  color: var(--pdp-ink);
}
body.template-product-new-design .product-details h1 {
  font-family: 'Gullia', serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
body.template-product-new-design .product-details *:not(h1, h1 *) {
  font-family: 'Libre Franklin', sans-serif !important;
}
body.template-product-new-design .product-details .price,
body.template-product-new-design .product-details product-price {
  display: none;
}
body.template-product-new-design .product-details [class*="ai-product-summary"],
body.template-product-new-design .product-details [class*="aips-wrap"] {
  background: transparent !important;
  padding: 0 !important;
}
body.template-product-new-design .product-details [class*="aips-text"] {
  font-size: 14px !important;
  line-height: 1.55;
  color: var(--pdp-muted) !important;
}

/* Highlights / key points: inline check row */
body.template-product-new-design .pdp-highlights,
body.template-product-new-design .product-key-points__grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.template-product-new-design .pdp-highlights li,
body.template-product-new-design .product-key-points__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--pdp-muted);
}
/* highlights: even 3-column grid, circled check icon */
body.template-product-new-design .pdp-highlights {
  display: grid !important;
  grid-template-columns: repeat(3, max-content);
  gap: 8px 20px;
}
body.template-product-new-design .pdp-highlights li {
  line-height: 1.3;
}
body.template-product-new-design .pdp-highlights li::before {
  content: "" !important;
  flex: 0 0 14px;
  width: 14px !important;
  height: 14px !important;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322a447' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / 14px no-repeat !important;
}
body.template-product-new-design .product-key-points__icon {
  width: 14px !important;
  height: 14px !important;
  background: none !important;
}

/* Subscription cards */
body.template-product-new-design .subs-cards { gap: 12px; }
body.template-product-new-design .subs-card {
  border: 1px solid #d9ddd6;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  padding: 18px 16px 14px;
}
body.template-product-new-design .subs-card.active {
  border-color: var(--pdp-sage-line);
  background: var(--pdp-sage);
  box-shadow: none;
  border-radius: 8px;
}
body.template-product-new-design .best-badge {
  top: -10px;
  left: 12px;
  transform: none;
  background: #fff;
  color: var(--pdp-ink);
  border: 1px solid var(--pdp-ink);
  border-radius: 2px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.template-product-new-design .subs-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
body.template-product-new-design .subs-save-pill {
  background: var(--pdp-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
}
body.template-product-new-design .subs-price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0;
}
body.template-product-new-design .subs-compare,
body.template-product-new-design .subs-per { font-size: 12px; }
body.template-product-new-design .cplan-trigger {
  border: 1px solid #cfd6cf;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
}
body.template-product-new-design .subs-card.active .subs-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-top: 12px;
}
body.template-product-new-design .subs-features .feature {
  margin: 0;
  font-size: 12px;
  color: var(--pdp-ink);
}
body.template-product-new-design .subs-features .feature-icon {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  background: #b8c8bb;
}
body.template-product-new-design .subs-features .feature-icon svg { display: none; }

/* Quantity + Add to cart on one row */
body.template-product-new-design .product-form-buttons--stacked,
body.template-product-new-design .product-form-buttons {
  display: flex;
  flex-direction: row !important;
  align-items: stretch;
  gap: 12px;
}
body.template-product-new-design quantity-selector-component,
body.template-product-new-design .quantity-selector {
  border: 1px solid #cfd6cf;
  border-radius: 4px;
  background: #fff;
  flex: 0 0 auto;
}
body.template-product-new-design .add-to-cart-button,
body.template-product-new-design add-to-cart-component .button {
  flex: 1;
  background: var(--pdp-coral) !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 600;
}

/* Trust badges: compact centered row */
body.template-product-new-design .trust-badges-block {
  justify-content: center;
  gap: 24px;
}
body.template-product-new-design .trust-badge-item__icon,
body.template-product-new-design .trust-badge-item__icon svg,
body.template-product-new-design .trust-badge-item__icon img {
  width: 16px !important;
  height: 16px !important;
}
body.template-product-new-design .trust-badge-item__text {
  font-size: 12px !important;
}

/* Benefits / How it works / How to take it accordions */
body.template-product-new-design .pdp-acc {
  border-top: 1px solid #dfe3dc;
  padding: 12px 0;
  font-size: 13px;
}
body.template-product-new-design .pdp-acc:last-child { border-bottom: 1px solid #dfe3dc; }
body.template-product-new-design .pdp-acc summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  color: var(--pdp-muted);
}
body.template-product-new-design .pdp-acc summary::-webkit-details-marker { display: none; }
body.template-product-new-design .pdp-acc summary::after { content: "+"; font-size: 16px; line-height: 1; }
body.template-product-new-design .pdp-acc[open] summary::after { content: "–"; }
body.template-product-new-design .pdp-acc > :not(summary) { margin-top: 10px; }
body.template-product-new-design .pdp-benefits {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 4px;
}
body.template-product-new-design .pdp-benefits li::before {
  content: "✓ ";
  color: var(--pdp-green);
}
/* Wrapped benefit lines align with the copy, not under the check mark */
body.template-product-new-design .pdp-benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 9px;
  align-items: start;
}

/* PDP new-design: refinements */
body.template-product-new-design .subs-radio-btn {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid #9aa79d;
  background: #fff;
}
body.template-product-new-design .subs-card.active .subs-radio-btn {
  background: #fff;
  border-color: var(--pdp-green);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px var(--pdp-green);
}
body.template-product-new-design .subs-radio-btn svg { display: none; }
body.template-product-new-design .subs-subtitle {
  font-size: 11px;
  color: var(--pdp-muted);
}
body.template-product-new-design .subs-card .subs-price { font-size: 22px; }
body.template-product-new-design .subs-features .feature-icon {
  background: #b8c8bb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 8px no-repeat;
}
body.template-product-new-design .pdp-highlights li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--pdp-green);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f7a52' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 8px no-repeat;
}

/* Qty box with dividers, arrow-ended Add to Cart */
body.template-product-new-design .quantity-selector {
  display: flex;
  align-items: center;
  height: 48px;
}
body.template-product-new-design .quantity-selector .button {
  width: 40px;
  height: 100%;
}
body.template-product-new-design .quantity-selector input {
  width: 44px;
  height: 100%;
  text-align: center;
  border-inline: 1px solid #cfd6cf;
}
/* Add to Cart: pointed on both ends, same height as the qty box */
body.template-product-new-design .add-to-cart-button,
body.template-product-new-design add-to-cart-component .button {
  --dbp-angle: 20px;
  height: 48px !important;
  min-height: 48px;
  padding: 0 var(--dbp-angle) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  clip-path: polygon(var(--dbp-angle) 0, calc(100% - var(--dbp-angle)) 0, 100% 50%, calc(100% - var(--dbp-angle)) 100%, var(--dbp-angle) 100%, 0 50%) !important;
}
body.template-product-new-design .product-form-buttons {
  align-items: center;
}
/* Qty box (matches mockup): soft rounded box, light border, no dividers, faded minus */
body.template-product-new-design .product-form-buttons .quantity-selector {
  height: 48px;
  min-width: 104px;
  padding: 0 6px;
  border: 1px solid #e2e2dc !important;
  border-radius: 10px !important;
  background: #fbfaf6 !important;
}
body.template-product-new-design .product-form-buttons .quantity-selector input {
  border-inline: 0 !important;
  font-size: 16px;
  font-weight: 700;
  color: #1f1f1f;
}
body.template-product-new-design .product-form-buttons .quantity-selector .quantity-plus {
  color: #1f1f1f;
}
body.template-product-new-design .product-form-buttons .quantity-selector .quantity-minus {
  color: #b5b5b0;
}
body.template-product-new-design .trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* PDP new-design: subscription card (matches mockup) */
body.template-product-new-design .subs-card.active {
  padding: 16px 14px 14px;
}
body.template-product-new-design .subs-card.active .subs-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.template-product-new-design .subs-card.active .subs-top-row .subs-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.template-product-new-design .subs-card.active .subs-price-row {
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 8px !important;
}
body.template-product-new-design .subs-card.active .subs-compare-row { display: none; }
body.template-product-new-design .subs-per-day {
  font-size: 11px;
  color: var(--pdp-muted);
  white-space: nowrap;
}
body.template-product-new-design .subs-card .subs-qty { margin-top: 12px; }
body.template-product-new-design .subs-card .subs-qty label { display: none; }
body.template-product-new-design .subs-card .cplan { display: block; width: 100%; }
body.template-product-new-design .subs-card .subs-sub-upsell-header,
body.template-product-new-design .subs-card .subs-sub-upsell-price { display: none !important; }
body.template-product-new-design .subs-card.active .cplan-trigger {
  background: #fff;
  border: 1px solid #c9d2ca;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 400;
}
body.template-product-new-design .subs-card.active .subs-features {
  gap: 10px 24px;
  margin-top: 14px;
  padding-left: 8px;
}
body.template-product-new-design .subs-features .feature { gap: 8px; }

/* PDP new-design: subscription card polish */
body.template-product-new-design .subs-card .subs-title {
  font-size: 15px;
  font-weight: 500;
}
body.template-product-new-design .subs-card.active .subs-price { font-size: 24px; }
body.template-product-new-design .subs-card .cplan-trigger {
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--pdp-ink);
}
body.template-product-new-design .subs-card.active .subs-features {
  gap: 10px 20px;
  padding-left: 6px;
}
body.template-product-new-design .subs-features .feature {
  font-size: 13px;
  white-space: nowrap;
}
body.template-product-new-design .subs-features .feature-icon {
  width: 12px;
  height: 12px;
  min-width: 12px;
  background: #c4d1c6;
  box-shadow: inset 0 0 0 3px #c4d1c6, inset 0 0 0 6px #9fb2a3;
  background-image: none;
}

/* PDP new-design: subscription card inner details */
body.template-product-new-design .subs-card.active {
  padding: 14px 14px 12px;
}
body.template-product-new-design .subs-card.active .subs-radio-btn {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border: 1px solid #8fa394;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #6f8a76;
}
body.template-product-new-design .subs-save-pill {
  background: #3d7a4f;
  font-size: 10px;
  line-height: 1;
  padding: 5px 7px;
  border-radius: 5px;
  letter-spacing: 0.03em;
}
body.template-product-new-design .subs-card.active .subs-price {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
body.template-product-new-design .subs-card .subs-qty { margin-top: 10px; }
body.template-product-new-design .subs-card .cplan-trigger {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 11px;
  border: 1px solid #cdd5ce;
  border-radius: 6px;
  background: #fff;
}
body.template-product-new-design .subs-card .cplan-chevron { width: 10px; }
body.template-product-new-design .subs-card.active .subs-features {
  margin-top: 10px;
  padding-left: 10px;
  gap: 8px 16px;
}
body.template-product-new-design .subs-features .feature {
  font-size: 12px;
  color: var(--pdp-ink);
}
body.template-product-new-design .subs-features .feature-icon {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border: 1px solid #9fb2a3;
  background: #dfe7df;
  box-shadow: inset 0 0 0 2px #dfe7df, inset 0 0 0 5px #9fb2a3;
}

/* PDP new-design: rounded frequency dropdown */
body.template-product-new-design .subs-card .cplan-trigger {
  border-radius: 999px;
  padding-inline: 16px;
}
body.template-product-new-design .subs-card .cplan.open .cplan-trigger {
  border-radius: 16px 16px 0 0;
}
body.template-product-new-design .subs-card .cplan-trigger {
  border-radius: 12px !important;
  border-color: transparent;
  min-height: 34px;
  font-size: 12px;
  font-weight: 400;
}
body.template-product-new-design .subs-card .cplan.open .cplan-trigger {
  border-radius: 12px 12px 0 0 !important;
}

/* PDP new-design (mobile): one-time purchase row matches desktop — subtitle shown, per-day price under the price */
@media screen and (max-width: 600px) {
  body.template-product-new-design .subs-onetime-info .subs-subtitle {
    display: block;
  }
  body.template-product-new-design .subs-onetime-price-row {
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 2px !important;
  }
  body.template-product-new-design .subs-onetime-price .subs-price {
    margin-bottom: 0;
  }
}

/* PDP new-design (mobile): interactive product explorer */
@media screen and (max-width: 749px) {
  /* Heading block (per Figma 27009-18345) */
  body.template-product-new-design .shopify-section:has(.pdp-interactive) .cro_InteractiveProduct,
  body.template-product-new-design .shopify-section:has(.pdp-interactive) .cro_InteractiveProduct * {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4b5753;
  }
  body.template-product-new-design .shopify-section:has(.pdp-interactive) .cro_WhyChoose,
  body.template-product-new-design .shopify-section:has(.pdp-interactive) .cro_WhyChoose * {
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    color: #2e3a46;
  }
  body.template-product-new-design .pdp-interactive {
    gap: 32px;
    margin-top: 0;
  }
  /* Images keep their 1-2-3 order and slide so the selected one is centred; neighbours run off the screen edge */
  body.template-product-new-design .pdp-interactive__images {
    --pdp-step: 50vw;
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    align-items: center;
    /* bleed past the 16px section gutters without widening the column */
    width: calc(100% + 32px);
    max-width: none;
    margin-inline: -16px;
    /* the divider sits ~18% up inside the image file; pull the tabs up to it */
    margin-bottom: -15vw;
    /* ...and trim the image files' top whitespace so the bottle sits close under the heading */
    margin-top: -12vw;
    overflow: hidden;
    padding: 0;
  }
  body.template-product-new-design .pdp-interactive__images:has(> .pdp-interactive__img:nth-child(1).is-active) { --pdp-active: 1; }
  body.template-product-new-design .pdp-interactive__images:has(> .pdp-interactive__img:nth-child(2).is-active) { --pdp-active: 2; }
  body.template-product-new-design .pdp-interactive__images:has(> .pdp-interactive__img:nth-child(3).is-active) { --pdp-active: 3; }
  body.template-product-new-design .pdp-interactive__img:nth-child(1) { --pdp-index: 1; }
  body.template-product-new-design .pdp-interactive__img:nth-child(2) { --pdp-index: 2; }
  body.template-product-new-design .pdp-interactive__img:nth-child(3) { --pdp-index: 3; }
  body.template-product-new-design .pdp-interactive__images .pdp-interactive__img {
    grid-area: 1 / 1;
    width: 62vw;
    margin: 0;
    opacity: 0.45;
    transform: translateX(calc((var(--pdp-index) - var(--pdp-active, 1)) * var(--pdp-step)));
    transition: width 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
  }
  body.template-product-new-design .pdp-interactive__images .pdp-interactive__img.is-active {
    position: relative;
    z-index: 1;
    width: 84vw;
    align-self: end;
    opacity: 1;
  }
  /* Tabs: separate pills, wrapping and centred */
  /* Figma: first two tabs on one row, Ingredients centred below */
  body.template-product-new-design .pdp-interactive__tabs {
    display: grid;
    /* columns may shrink below the label width so long labels (e.g. "Weight Management Support") wrap inside the gutters */
    grid-template-columns: repeat(2, minmax(0, max-content));
    max-width: 100%;
    justify-content: center;
    gap: 16px 12px;
    /* the image row overlaps the tabs (negative margin-bottom); keep the tabs on top so they stay clickable */
    position: relative;
    z-index: 2;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }
  body.template-product-new-design .pdp-interactive__tab {
    /* scale down on narrow phones so the first two tabs still share a row */
    padding: 9px min(14px, 3vw);
    white-space: normal;
    text-align: center;
    min-width: 0;
    font-family: 'Libre Franklin', sans-serif !important; /* a global Gullia !important rule wins otherwise */
    font-size: min(13px, 3.2vw);
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: rgba(46, 58, 70, 0.7);
    background: #ffffff;
    border: 1px solid rgba(75, 87, 82, 0.2);
  }
  body.template-product-new-design .pdp-interactive__tab:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }
  body.template-product-new-design .pdp-interactive__tab.is-active {
    color: #ffffff;
    background: #4b5753;
    border-color: #4b5753;
  }
  /* Panel: plain stacked lines, no cards or bullets */
  body.template-product-new-design .pdp-interactive-panel ul {
    gap: 16px;
  }
  body.template-product-new-design .pdp-interactive-panel li {
    display: block;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    font-size: 16px;
    line-height: 24px;
    color: #2e3a46;
  }
  body.template-product-new-design .pdp-interactive-panel li::before {
    display: none;
  }
  body.template-product-new-design .pdp-interactive-panel strong {
    color: #2e3a46;
  }
  body.template-product-new-design .pdp-interactive-panel[data-panel="3"] ul {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
  body.template-product-new-design .pdp-interactive-panel[data-panel="3"] li {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
  }
  body.template-product-new-design .pdp-interactive-panel[data-panel="3"] li::before {
    display: inline-block;
    flex-shrink: 0;
    min-width: 20px;
    padding-left: 0;
    font-size: 13px;
  }
}

/* PDP new-design: gallery dots above the thumbnails — mobile only (Figma 27009-18187) */
body.template-product-new-design .slideshow-controls__dots--with-thumbnails {
  display: none;
}
@media screen and (max-width: 749px) {
  body.template-product-new-design slideshow-controls:has(.slideshow-controls__dots--with-thumbnails) {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
  }
  body.template-product-new-design .slideshow-controls__dots--with-thumbnails {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: visible;
  }
  body.template-product-new-design .slideshow-controls__dots--with-thumbnails li {
    display: flex;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    padding: 0;
  }
  body.template-product-new-design .slideshow-controls__dots--with-thumbnails button {
    width: 8px;
    height: 8px;
    min-width: 0;
    margin: 0; /* theme uses a negative margin for a bigger hit area, which shifts the dot off-centre */
    padding: 0;
    border-radius: 50%;
    background: #e5eeea;
    font-size: 0;
    color: transparent;
    animation: none;
  }
  body.template-product-new-design .slideshow-controls__dots--with-thumbnails button[aria-selected="true"] {
    background: #d26c4e;
  }
  /* the theme draws its own dot as ::after; we colour the button itself instead */
  body.template-product-new-design .slideshow-controls__dots--with-thumbnails button::after {
    display: none;
  }
}

/* PDP new-design (mobile): product info column (per Figma 27009-18182) */
@media screen and (max-width: 749px) {
  /* Gallery thumbnails: 63px squares, 8px apart */
  body.template-product-new-design .slideshow-controls__thumbnails {
    gap: 8px !important;
  }
  body.template-product-new-design .slideshow-controls__thumbnail {
    flex: 0 0 63px !important;
    width: 63px !important;
    border-radius: 5px;
  }
  /* Subscribe & Save card */
  body.template-product-new-design .subs-cards .subs-card[data-type="subscription"] .subs-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #3c4b41 !important;
  }
  body.template-product-new-design .subs-cards .subs-card[data-type="subscription"] .subs-price {
    font-size: 18px !important;
    line-height: 26px;
  }
  body.template-product-new-design .subs-cards .subs-per-day {
    font-size: 12px;
    color: #6b7a70;
  }
  body.template-product-new-design .cplan-trigger {
    height: 32px;
    padding: 8px 16px;
    border-radius: 30px;
  }
  body.template-product-new-design .cplan-label {
    font-size: 14px;
    color: #000;
  }
  body.template-product-new-design .subs-features .feature,
  body.template-product-new-design .subs-features .feature * {
    font-weight: 500 !important;
  }
  /* One-Time Purchase card */
  body.template-product-new-design .subs-cards .subs-card[data-type="onetime"] .subs-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 24px;
    color: #3c4b41 !important;
  }
  body.template-product-new-design .subs-cards .subs-card[data-type="onetime"] .subs-subtitle {
    font-size: 14px;
    line-height: 20px;
    color: #6b7a70;
  }
  body.template-product-new-design .subs-cards .subs-card[data-type="onetime"] .subs-price {
    line-height: 28px;
  }
  /* Trust row under Add to cart */
  body.template-product-new-design .trust-badge-item__text {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #000 !important;
  }
  /* Accordions */
  body.template-product-new-design .pdp-acc summary {
    font-size: 16px;
    color: #4b5753;
  }
  body.template-product-new-design .pdp-acc ul {
    gap: 13px;
  }
  body.template-product-new-design .pdp-acc li {
    font-size: 14px;
    line-height: 18px;
    color: #242a28;
  }
  /* Figma: bullet dots, not check marks */
  body.template-product-new-design .pdp-acc li::before {
    content: "\2022";
    display: inline-block;
    width: 24px;
    padding-left: 10px;
    color: #242a28;
  }
  /* Benefits keep the desktop check marks */
  body.template-product-new-design .pdp-acc .pdp-benefits li::before {
    content: "✓";
    color: var(--pdp-green);
  }}

/* PDP new-design (mobile): What to Expect — narrow cards, so pin the step badge top-right instead of centring it over the number */
@media screen and (max-width: 749px) {
  body.template-product-new-design .pdp-steps__badge {
    left: auto;
    right: 14px;
    transform: none;
    white-space: nowrap;
  }
}

/* PDP new-design (mobile): "Daily Metabolic Support" body-map section */
@media screen and (max-width: 749px) {
  /* Figma: 20px page margin — the page-width grid already adds 16px gutters, so pad only the difference */
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .section {
    padding-inline: 4px;
  }
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .text-block:first-child p {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-align: center;
    color: #6f8a76;
  }
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .text-block.h3,
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .text-block.h3 p {
    width: 100%;
    font-family: 'Gullia', serif !important;
    letter-spacing: 0 !important;
    color: #3c4b41 !important;
  }
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .text-block.h3 p {
    margin: 4px auto 0;
    max-width: none;
    text-wrap: balance;
    font-size: min(28px, 7.4vw);
    line-height: 1.1;
    font-weight: 400;
    text-align: center;
    color: #2c3a42;
  }
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .image-block {
    width: 100%;
  }
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .group-block-content:has(> .pdp-large-boxes, > * > .pdp-large-boxes) {
    gap: 24px;
  }
  body.template-product-new-design .pdp-large-boxes {
    gap: 14px;
  }
  body.template-product-new-design .pdp-large-boxes__box {
    padding: 16px 16px 16px 38px;
    font-size: 14px;
    line-height: 1.5;
  }
  body.template-product-new-design .pdp-large-boxes__box::before {
    left: 16px;
    top: 22px;
    width: 8px;
    height: 8px;
  }
  body.template-product-new-design .pdp-large-boxes__note {
    font-size: 12px;
  }
}

/* PDP new-design (mobile): "What to Expect" steps as a swipeable card row */
@media screen and (max-width: 749px) {
  body.template-product-new-design .pdp-steps-wrap {
    margin-top: 20px;
    margin-right: -20px;
  }
  body.template-product-new-design .pdp-steps {
    display: flex;
    gap: 12px;
    padding: 0 20px 6px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  body.template-product-new-design .pdp-steps::-webkit-scrollbar {
    display: none;
  }
  body.template-product-new-design .pdp-steps__item,
  body.template-product-new-design .pdp-steps__item:nth-child(n) {
    flex: 0 0 72%;
    min-height: 200px;
    padding: 20px 18px 22px;
    background: #ffffff;
    border-color: #ecebe5;
    box-shadow: none;
    scroll-snap-align: start;
  }
  body.template-product-new-design .pdp-steps__item:nth-child(4) {
    padding-top: 36px;
    background: #e6eee8;
    border-color: #c9d8ce;
  }
  body.template-product-new-design .pdp-steps__num {
    margin-bottom: 0;
    padding-bottom: 12px;
    font-size: 34px;
    color: #c9d2cc;
  }
  body.template-product-new-design .pdp-steps__num::after {
    width: 32px;
  }
  body.template-product-new-design .pdp-steps__label {
    margin: 22px 0 10px;
    font-size: 22px;
  }
  body.template-product-new-design .pdp-steps__text {
    font-size: 14px;
    line-height: 1.5;
  }
  body.template-product-new-design .pdp-steps__note {
    margin-top: 22px;
    font-size: 13px;
  }
}
@media screen and (max-width: 749px) {
  /* Two cards visible at once; the rest scroll */
  body.template-product-new-design .pdp-steps-wrap {
    margin-right: 0;
  }
  body.template-product-new-design .pdp-steps {
    gap: 10px;
    padding-right: 0;
  }
  body.template-product-new-design .pdp-steps__item,
  body.template-product-new-design .pdp-steps__item:nth-child(n) {
    flex: 0 0 calc((100% - 10px) / 2);
    min-height: 180px;
    padding: 16px 14px 18px;
  }
  body.template-product-new-design .pdp-steps__item:nth-child(4) {
    padding-top: 32px;
  }
  body.template-product-new-design .pdp-steps__num { font-size: 28px; padding-bottom: 14px; }
  body.template-product-new-design .pdp-steps__num::after { width: 24px; }
  body.template-product-new-design .pdp-steps__label { margin: 16px 0 8px; font-size: 18px; }
  body.template-product-new-design .pdp-steps__text { font-size: 12px; }
}
@media screen and (max-width: 749px) {
  /* Match design: one full card with the next peeking in */
  body.template-product-new-design .pdp-steps {
    gap: 12px;
    padding-right: 16px;
    margin-right: -16px;
  }
  body.template-product-new-design .pdp-steps__item,
  body.template-product-new-design .pdp-steps__item:nth-child(n) {
    flex: 0 0 70%;
    min-height: 190px;
    padding: 20px 18px 22px;
  }
  body.template-product-new-design .pdp-steps__item:nth-child(4) {
    padding-top: 36px;
  }
  body.template-product-new-design .pdp-steps__num { font-size: 34px; padding-bottom: 18px; }
  body.template-product-new-design .pdp-steps__num::after { width: 32px; }
  body.template-product-new-design .pdp-steps__label { margin: 22px 0 10px; font-size: 22px; }
  body.template-product-new-design .pdp-steps__text { font-size: 14px; }
}
@media screen and (max-width: 749px) {
  /* What to Expect: header + card proportions per mobile design */
  body.template-product-new-design .shopify-section:has(.pdp-steps) .text-block:has(+ .text-block) p {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 300;
  }
  body.template-product-new-design .shopify-section:has(.pdp-steps) .text-block + .text-block p {
    font-size: 14px;
    line-height: 1.4;
  }
  body.template-product-new-design .shopify-section:has(.pdp-steps) .group-block-content {
    align-items: stretch;
  }
  body.template-product-new-design .pdp-steps-wrap {
    align-self: flex-start;
  }
  body.template-product-new-design .pdp-steps {
    align-items: stretch;
  }
  body.template-product-new-design .pdp-steps__item,
  body.template-product-new-design .pdp-steps__item:nth-child(n) {
    flex: 0 0 68%;
    min-height: 0;
    padding: 18px 18px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgb(23 31 28 / 0.05);
  }
  body.template-product-new-design .pdp-steps__num { font-size: 30px; padding-bottom: 16px; }
  body.template-product-new-design .pdp-steps__num::after { width: 28px; }
  body.template-product-new-design .pdp-steps__label { margin: 18px 0 8px; font-size: 20px; }
  body.template-product-new-design .pdp-steps__text { font-size: 13px; line-height: 1.45; }
  body.template-product-new-design .pdp-steps__note { margin-top: 20px; font-size: 13px; line-height: 1.5; }
}

/* PDP new-design (mobile): "Is SugarMD … Right for You?" */
@media screen and (max-width: 749px) {
  body.template-product-new-design .shopify-section:has(.pdp-fit__box--good) .text-block p,
  body.template-product-new-design .shopify-section:has(.pdp-fit__box--good) .text-block h2 {
    font-size: 26px;
    line-height: 1.25;
    font-weight: 300;
    text-align: center;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) {
    gap: 16px;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__box {
    padding: 18px 18px 14px;
    border-radius: 10px;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__title {
    margin-bottom: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--pdp-fit-accent) 25%, transparent);
    font-size: 12px;
    font-weight: 700;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__list li {
    padding: 10px 0 10px 24px;
    font-size: 13px;
    line-height: 1.45;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__list li + li {
    margin-top: 0;
    border-top: 1px solid color-mix(in srgb, var(--pdp-fit-accent) 18%, transparent);
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__list li::before {
    top: calc(10px + 0.45em);
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__box--good li::before {
    top: calc(10px + 0.2em);
  }
}

/* PDP new-design (mobile): Safety & Important Information */
@media screen and (max-width: 749px) {
  body.template-product-new-design .shopify-section:has(.pdp-safety) .text-block {
    width: 100%;
  }
  body.template-product-new-design .shopify-section:has(.pdp-safety) .text-block :is(h2, p),
  body.template-product-new-design .shopify-section:has(.pdp-safety) .text-block strong {
    font-family: var(--font-heading--family);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
  }
  body.template-product-new-design .pdp-safety {
    gap: 16px;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__box {
    padding: 18px 18px 20px;
    border-radius: 10px;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__title {
    margin-bottom: 14px;
    font-size: 22px;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__list li {
    padding-left: 22px;
    font-size: 13px;
    line-height: 1.45;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__list li + li {
    margin-top: 12px;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__list li::before {
    width: 12px;
    height: 12px;
    top: 0.25em;
  }
}

/* PDP new-design (mobile): product information — compact layout per mobile design */
@media screen and (max-width: 749px) {
  body.template-product-new-design .product-details h1 {
    font-size: 32px;
    font-weight: 400;
    line-height: 38px;
    color: #3c4b41;
  }
  body.template-product-new-design .product-details p {
    font-size: 13px;
    line-height: 1.45;
  }
  body.template-product-new-design .pdp-highlights {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }
  body.template-product-new-design .pdp-highlights li {
    font-size: 11px;
  }
  body.template-product-new-design .subs-cards {
    gap: 10px;
  }
  body.template-product-new-design .subs-card {
    padding: 12px !important;
  }
  body.template-product-new-design .subs-card .subs-title {
    font-size: 14px;
  }
  body.template-product-new-design .subs-card .subs-price,
  body.template-product-new-design .subs-card.active .subs-price {
    font-size: 20px;
  }
  body.template-product-new-design .subs-features {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
  }
  body.template-product-new-design .subs-features .feature {
    font-size: 10px;
  }
  body.template-product-new-design .trust-badges-block {
    display: flex !important;
    flex-wrap: wrap !important; /* narrow phones: third badge drops to its own line instead of overflowing */
    justify-content: center;
    gap: 10px 16px;
    /* Figma: 16px above (to Add to cart) and below (to the Benefits divider); the column already adds a 20px gap */
    margin-top: -4px !important;
    margin-bottom: -4px !important;
  }
  body.template-product-new-design .trust-badge-item__text {
    font-size: 10px;
    white-space: nowrap;
  }
}

/* PDP new-design: What to Expect — Libre Franklin body, Gullia headings */
.shopify-section:has(.pdp-steps) :is(p, span, li, .pdp-steps__text, .pdp-steps__badge, .pdp-steps__note) {
  font-family: 'Libre Franklin', sans-serif !important;
}
.shopify-section:has(.pdp-steps) .text-block:has(+ .text-block) :is(h1, h2, h3, p),
.shopify-section:has(.pdp-steps) :is(.pdp-steps__label, .pdp-steps__num) {
  font-family: 'Gullia', serif !important;
}
body .shopify-section:has(.pdp-steps) .text-block[class*="text_kVprVR"],
body .shopify-section:has(.pdp-steps) .text-block[class*="text_kVprVR"] * {
  font-family: 'Gullia', serif !important;
  font-weight: 400 !important;
}

.shopify-section:has(.pdp-fit__box--good) :is(p, span, li, h1, h2, h3, h4, h5, h6, a, strong):not([class*="text_gwHGQF"] *) {
  font-family: 'Libre Franklin', sans-serif !important;
}
body .shopify-section:has(.pdp-fit__box--good) .text-block[class*="text_gwHGQF"],
body .shopify-section:has(.pdp-fit__box--good) .text-block[class*="text_gwHGQF"] * {
  font-family: 'Gullia', serif !important;
  font-weight: 400 !important;
}

[class*="text_yb87Gp"],
[class*="text_yb87Gp"] * {
  font-family: 'Gullia', serif !important;
  font-weight: 400 !important;
  color: #3C4B41 !important;
}

[class*="text_ixzhbX"],
[class*="text_ixzhbX"] * {
  color: #2E3A46 !important;
}

body.template-product-new-design [class*="collection-bestseller-"],
body.template-product-new-design [class*="collection-bestseller-"] .home-bestsellers__container {
  background: #E5EEEA !important;
}
/* "Other Top Rated Products" on this template only — Figma 27009-17746: #E5EEEA at 30% over the page's #FAF8F2 */
body.template-product-new-design [class$="__bestseller_by_tags_43fxQb"],
body.template-product-new-design [class$="__bestseller_by_tags_43fxQb"] .home-bestsellers__container {
  background: #F4F5F0 !important;
}

/* PDP new-design: Right for You — tighten gap between heading and boxes */
body.template-product-new-design .shopify-section:has(.pdp-fit__box--good) .text-block :is(h1, h2, h3, p) {
  margin-block: 0 !important;
}
body.template-product-new-design .shopify-section:has(.pdp-fit__box--good) .text-block {
  margin-bottom: 8px;
}

/* PDP new-design (desktop): Safety & Important Information — sizes per Figma 27009-17551 */
@media screen and (min-width: 990px) {
  /* 56px above the heading, 50px below the boxes */
  body.template-product-new-design .shopify-section:has(.pdp-safety) .group-block {
    padding-top: 56px !important;
    padding-bottom: 50px !important;
  }
  body.template-product-new-design .shopify-section:has(.pdp-safety) .text-block,
  body.template-product-new-design .shopify-section:has(.pdp-safety) .text-block * {
    font-size: 48px !important;
    line-height: 56px !important;
    color: #3c4b41 !important;
  }
  body.template-product-new-design .shopify-section:has(.pdp-safety) .text-block {
    margin-top: 8px !important; /* Figma heading frame has 8px top padding */
    margin-bottom: 20px !important; /* + the column's 12px gap = 32px */
  }
  /* wrapper is shrink-wrapped by the centred flex column otherwise */
  body.template-product-new-design div:has(> .pdp-safety) {
    width: 100%;
  }
  body.template-product-new-design .pdp-safety {
    max-width: 1446px;
    gap: 24px;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__box {
    padding: 32px;
    border-color: #d3ddd5;
    border-radius: 16px;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__box--use {
    background: rgba(219, 230, 221, 0.5);
  }
  body.template-product-new-design .pdp-safety .pdp-fit__box--note {
    background: #faf8f2;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__title {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 40px;
    color: #3c4b41;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__list li {
    padding-left: 44px;
    font-size: 24px;
    line-height: 32px;
    color: #2c3a31;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__list li + li {
    margin-top: 12px;
  }
  body.template-product-new-design .pdp-safety .pdp-fit__list li::before,
  body.template-product-new-design .pdp-safety .pdp-fit__box--use li::before {
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23708b7c' stroke-width='1.07' stroke-linecap='round'%3E%3Ccircle cx='16' cy='16' r='12'/%3E%3Cpath d='M16 14.5v7'/%3E%3Ccircle cx='16' cy='11' r='0.6' fill='%23708b7c'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* PDP new-design (desktop): Right for You — sizes per Figma 27009-17486 */
@media screen and (min-width: 990px) {
  /* 56px above the heading; 25px + the section's own 30px = 55px below the boxes */
  body.template-product-new-design .shopify-section:has(.pdp-fit__box--good) .group-block {
    padding-top: 56px !important;
    padding-bottom: 25px !important;
  }
  body.template-product-new-design .shopify-section:has(.pdp-fit__box--good) .text-block,
  body.template-product-new-design .shopify-section:has(.pdp-fit__box--good) .text-block * {
    font-size: 48px !important;
    line-height: 56px !important;
    color: #3c4b41 !important;
  }
  body.template-product-new-design .shopify-section:has(.pdp-fit__box--good) .text-block {
    margin-bottom: 20px !important; /* Figma: 32px heading-to-boxes */
  }
  /* wrapper is shrink-wrapped by the centred flex column otherwise */
  body.template-product-new-design div:has(> .pdp-fit:not(.pdp-safety)) {
    width: 100%;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) {
    max-width: 1418px;
    margin-inline: auto;
    gap: 24px;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__box {
    padding: 32px;
    border-radius: 16px;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__box--good {
    background: rgba(219, 230, 221, 0.5);
    border-color: #708b7c;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__box--doctor {
    background: #faf8f2;
    border-color: #d3ddd5;
    --pdp-fit-accent: #c8963e;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__title {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 1.5px;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__box--good .pdp-fit__title {
    color: #708b7c;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__box--doctor .pdp-fit__title {
    letter-spacing: 1px;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__list li {
    padding-left: 22px;
    font-size: 24px;
    line-height: 32px;
    color: #2c3a31;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__list li + li {
    margin-top: 12px;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__list li::before {
    left: 0;
    top: 11px;
    width: 10px;
    height: 10px;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__box--good li {
    padding-left: 36px;
  }
  body.template-product-new-design .pdp-fit:not(.pdp-safety) .pdp-fit__box--good li::before {
    top: 4px;
    width: 24px;
    height: 24px;
    background-size: 14px;
  }
}

/* PDP new-design (mobile): What to Expect — heading, subheading and note centred */
@media screen and (max-width: 749px) {
  body.template-product-new-design .shopify-section:has(.pdp-steps) .text-block,
  body.template-product-new-design .shopify-section:has(.pdp-steps) .text-block :is(h1, h2, h3, p) {
    text-align: center !important;
    margin-inline: auto;
  }
  body.template-product-new-design .shopify-section:has(.pdp-steps) .text-block {
    align-self: center;
    padding-inline: 16px;
  }
  body.template-product-new-design .pdp-steps__note {
    text-align: center;
    padding-inline: 16px;
  }
}

/* PDP new-design (mobile): What to Expect — smaller cards so step 1 shows fully and step 2 peeks */
@media screen and (max-width: 749px) {
  body.template-product-new-design .pdp-steps__item,
  body.template-product-new-design .pdp-steps__item:nth-child(n) {
    flex: 0 0 54%;
    scroll-margin-left: 16px;
    padding: 14px 14px 16px;
  }
  body.template-product-new-design .pdp-steps {
    padding-left: 16px !important;
    scroll-padding-left: 16px;
  }
  body.template-product-new-design .pdp-steps__num { font-size: 22px; }
  body.template-product-new-design .pdp-steps__label { font-size: 17px; }
  body.template-product-new-design .pdp-steps__text { font-size: 12px; }
}

/* PDP new-design: trust strip's top padding continues the product-info cream instead of showing the white body */
body.template-product-new-design [id^="shopify-section-"] .trust-strip {
  background: #FAF8F2 !important;
}

/* PDP new-design (mobile): trust strip — 5 equal columns, icon above text, fits screen edge to edge */
@media screen and (max-width: 749px) {
  body.template-product-new-design :is(#pdp-x, [id^="shopify-section-"]) .trust-strip {
    padding-inline: 0 !important;
  }
  body.template-product-new-design :is(#pdp-x, [id^="shopify-section-"]) .trust-strip .container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 8px 6px !important;
    border-radius: 0 !important;
  }
  body.template-product-new-design :is(#pdp-x, [id^="shopify-section-"]) .trust-strip__list {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px !important;
    overflow: visible !important;
  }
  body.template-product-new-design :is(#pdp-x, [id^="shopify-section-"]) .trust-strip__item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px !important;
    min-width: 0;
  }
  body.template-product-new-design :is(#pdp-x, [id^="shopify-section-"]) .trust-strip__icon {
    flex-shrink: 0;
  }
  body.template-product-new-design :is(#pdp-x, [id^="shopify-section-"]) .trust-strip__text {
    min-width: 0;
    font-size: 8px !important;
    line-height: 10px !important;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
  }
}

/* PDP new-design (mobile): FAQ section */
@media screen and (max-width: 749px) {
  body.template-product-new-design .faq-section__container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body.template-product-new-design .faq-section__header {
    margin-bottom: 16px;
  }
  body.template-product-new-design .faq-section__title {
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.15;
  }
  body.template-product-new-design .faq-section__subtitle {
    font-size: 13px;
    line-height: 1.5;
  }
  body.template-product-new-design .faq-section__item summary {
    padding: 16px 0;
    font-family: 'Libre Franklin', sans-serif !important;
    font-size: 14px;
    line-height: 1.4;
  }
  body.template-product-new-design .faq-section__icon-wrapper {
    width: 24px;
    height: 24px;
    margin-left: 12px;
  }
  body.template-product-new-design .faq-section__icon {
    width: 10px;
    height: 10px;
  }
  body.template-product-new-design .faq-section__content p {
    padding-bottom: 16px;
    font-size: 13px;
    line-height: 1.55;
  }
}

/* PDP new-design (mobile): subscription perks as a 2x2 grid; columns are capped to the card so long perks wrap instead of overflowing on narrow phones */
@media screen and (max-width: 989px) {
  body.template-product-new-design .shopify-section .subs-card .subs-features {
    display: grid !important;
    grid-template-columns: minmax(0, auto) minmax(0, auto) !important;
    justify-content: space-between !important;
    gap: 10px 8px !important;
    padding-left: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }
  /* inline flow (not flex): the perk text is several bare text nodes + a span, which flex would wrap as separate columns */
  body.template-product-new-design .shopify-section .subs-card .subs-features .feature {
    display: block !important;
    grid-column: auto !important;
    justify-self: start !important;
    margin: 0 !important;
    /* hanging indent: wrapped lines line up with the text, not under the icon */
    padding-left: 22px !important; /* icon 18px + 4px gap */
    max-width: 100% !important;
    min-width: 0;
    white-space: normal;
    /* 11.5px + slight tracking: Libre Franklin runs wider than Figma's 12px Montserrat */
    font-size: 11.5px !important;
    letter-spacing: -0.01em;
    line-height: 15px;
  }
  body.template-product-new-design .shopify-section .subs-card .subs-features .feature-icon {
    display: inline-flex !important;
    vertical-align: -3px;
    margin-left: -22px;
    margin-right: 4px;
  }
  /* Figma: price and per-day sit on one line, right-aligned; per-day drops below only when the card is too narrow */
  body.template-product-new-design .shopify-section .subs-card[data-type="subscription"] .subs-price-row {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline !important;
    column-gap: 4px !important;
  }
}
@media screen and (max-width: 420px) {
  body.template-product-new-design .shopify-section .subs-card .subs-features .feature {
    font-size: 11px !important;
    gap: 5px;
  }
}

/* PDP new-design: delivery-plan dropdown as a full pill */
body.template-product-new-design .shopify-section .subs-card .cplan-trigger,
body.template-product-new-design .shopify-section .subs-card .cplan.open .cplan-trigger {
  border-radius: 9999px !important;
}

/* PDP new-design (mobile): keep "Subscribe & Save" + SAVE pill on one line */
@media screen and (max-width: 749px) {
  body.template-product-new-design .shopify-section .subs-card .subs-top-row {
    flex-wrap: nowrap;
    gap: 8px;
  }
  body.template-product-new-design .shopify-section .subs-card .subs-card-header {
    min-width: 0;
    flex: 1 1 auto;
  }
  body.template-product-new-design .shopify-section .subs-card .subs-title {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 14px !important;
  }
  body.template-product-new-design .shopify-section .subs-card .subs-save-pill {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 9px;
    padding: 4px 6px;
  }
}

/* PDP new-design (mobile): highlights as two even columns of small checks (per Figma 27009-18182) */
@media screen and (max-width: 749px) {
  body.template-product-new-design .product-details div:has(> .pdp-highlights) {
    width: 100%; /* wrapper is shrink-wrapped by the flex column otherwise */
  }
  body.template-product-new-design .product-details .pdp-highlights {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 24px !important;
    width: 100%;
  }
  body.template-product-new-design .product-details .pdp-highlights li {
    gap: 6px;
    font-size: 12px !important;
    line-height: 15px;
    color: #3c4b41;
    white-space: nowrap;
  }
}

/* PDP summary (metaobject "Summery" field) under the product title */
body.template-product-new-design .pdp-summary,
body.template-product-new-design .pdp-summary p {
  margin: 0 0 4px;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 16px;
  line-height: 1.5;
  color: var(--pdp-muted, #555);
}
body.template-product-new-design .pdp-summary p:last-child { margin-bottom: 0; }
/* Hide the zero-height key-points and AI summary blocks so their flex gaps don't pad out the summary/highlights */
body.template-product-new-design [id*="__ai_gen_block_4b1101b_qgDB9y"],
body.template-product-new-design [id$="__key_points_custom"] {
  display: none !important;
}

/* PDP new-design (desktop): What to Expect per Figma 30119-20779 (1920 frame).
   The wrap is the 1504px card row; its top sits at the highest dot so cards step down 24px each. */
@media screen and (min-width: 750px) {
  body.template-product-new-design .pdp-steps__curve {
    top: 6.5px;
    left: 8.9%;
    width: 79.4%;
    height: 98px;
  }
  body.template-product-new-design .pdp-steps__curve path {
    stroke: #708b7c;
    stroke-width: 2.2;
    stroke-linecap: round;
  }
  body.template-product-new-design .pdp-steps__dot {
    width: 15px;
    height: 15px;
    margin: -7.5px 0 0 -7.5px;
    background: #708b7c;
  }
  body.template-product-new-design .pdp-steps__dot--1 { left: 8.94% !important; top: 102.5px !important; }
  body.template-product-new-design .pdp-steps__dot--2 { left: 35.14% !important; top: 93.5px !important; }
  body.template-product-new-design .pdp-steps__dot--3 { left: 61.74% !important; top: 14.5px !important; }
  body.template-product-new-design .pdp-steps__dot--4 { left: 88.27% !important; top: 7.5px !important; }
}
@media screen and (min-width: 990px) {
  body.template-product-new-design .shopify-section:has(.pdp-steps) {
    background: #f7f9f8;
  }
  body.template-product-new-design .shopify-section:has(.pdp-steps) .cro_Whatto {
    margin-top: 38px;
  }
  body.template-product-new-design .shopify-section:has(.pdp-steps) .cro_Whatto p {
    font-family: 'Gullia', serif !important;
    font-size: clamp(36px, 2.5vw, 48px) !important;
    line-height: 56px !important;
    font-weight: 400;
    color: #3c4b41;
  }
  body.template-product-new-design .shopify-section:has(.pdp-steps) .cro_Asimple p {
    font-family: 'Libre Franklin', sans-serif !important;
    font-size: clamp(18px, 1.25vw, 24px) !important;
    line-height: 32px !important;
    color: #6b7a70;
  }
  body.template-product-new-design .pdp-steps-wrap {
    max-width: 1504px;
    width: min(1504px, 90vw);
    margin-top: 56px;
  }
  body.template-product-new-design .pdp-steps {
    gap: 24px;
    padding-top: 58px;
  }
  body.template-product-new-design .pdp-steps__item,
  body.template-product-new-design .pdp-steps__item:nth-child(n) {
    min-height: 236px;
    padding: 24px;
    background: #ffffff;
    border: 1.34px solid #e6ece5;
    border-radius: 24px;
    box-shadow: 0 8px 24px -16px rgb(60 75 65 / 0.22);
  }
  body.template-product-new-design .pdp-steps__item:nth-child(1) { margin-top: 72px; }
  body.template-product-new-design .pdp-steps__item:nth-child(2) { margin-top: 48px; }
  body.template-product-new-design .pdp-steps__item:nth-child(3) { margin-top: 24px; }
  body.template-product-new-design .pdp-steps__item:nth-child(4) {
    margin-top: 0;
    padding-top: 24px;
    background: #e9f0ea;
    border-color: #c8d6cb;
    box-shadow: 0 10px 30px -14px rgb(60 75 65 / 0.28);
  }
  body.template-product-new-design .pdp-steps__badge {
    top: 17px;
    /* anchor from the left so the badge stays clear of the step number when zoom narrows the card */
    left: clamp(84px, calc(100% - 148px), 130px);
    right: auto;
    transform: none;
    padding: 4px 10px;
    background: #708b7c;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    line-height: 15px;
    font-weight: 700;
    text-box: none;
    letter-spacing: 0.1em;
  }
  body.template-product-new-design .pdp-steps__num {
    margin-bottom: 0;
    padding-bottom: 12px;
    font-family: 'Fraunces', var(--font-heading--family);
    font-size: clamp(32px, 2.1vw, 40px);
    line-height: 40px;
    color: #b7c6ba;
  }
  body.template-product-new-design .pdp-steps__num::after {
    width: 32px;
    background: #cdd9cf;
  }
  body.template-product-new-design .pdp-steps__label {
    margin: 12px 0 8px;
    font-family: 'Gullia', serif;
    font-size: clamp(26px, 1.67vw, 32px);
    line-height: 40px;
    color: #3c4b41;
  }
  body.template-product-new-design .pdp-steps__text,
  body.template-product-new-design .pdp-steps__note {
    font-family: 'Libre Franklin', sans-serif !important;
    color: #6b7a70;
  }
  body.template-product-new-design .pdp-steps__text {
    max-width: 310px;
    font-size: clamp(16px, 1.04vw, 20px);
    line-height: 28px;
  }
  body.template-product-new-design .pdp-steps__note {
    margin: 34px 0 26px;
    font-size: clamp(15px, 0.94vw, 18px);
    line-height: 24px;
  }
}

/* PDP new-design (desktop): "Daily Metabolic Support" body-map section, Figma 27009:17160 */
@media screen and (min-width: 990px) {
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .section {
    /* inner layout panel already pads 32px top / 64px bottom; Figma: 56px top */
    padding-block: 24px 0;
  }
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .text-block:first-child p {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #708b7c;
  }
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .text-block.h3 p {
    padding-top: 8px;
    font-size: 48px !important;
    line-height: 56px !important;
    font-weight: 400 !important;
    color: #3c4b41 !important;
  }
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .group-block-content:has(> .pdp-large-boxes, > * > .pdp-large-boxes) {
    gap: 58px;
    /* Figma sits the row 28px right of centre */
    padding-left: 56px;
    align-items: flex-start;
  }
  body.template-product-new-design .shopify-section:has(.pdp-large-boxes) .image-block {
    width: 661px;
    max-width: 661px;
    flex: 0 0 661px;
  }
  body.template-product-new-design .pdp-large-boxes {
    flex: 0 1 604px;
    /* Figma: boxes start level with the first diagram label, 84px below the image top */
    margin-top: 84px;
    max-width: 604px;
    gap: 16px;
  }
  body.template-product-new-design .pdp-large-boxes__box {
    padding: 20px 20px 20px 52px;
    background: #faf8f2;
    border-radius: 12px;
    font-size: 18px;
    line-height: 26px;
    color: #6b7a70;
  }
  body.template-product-new-design .pdp-large-boxes__box::before {
    left: 20px;
    top: 24px;
    width: 16px;
    height: 16px;
    background: #f0a79c;
  }
  body.template-product-new-design .pdp-large-boxes__note {
    max-width: 552px;
    font-size: 18px;
    line-height: 24px;
  }
}

/* PDP new-design: "Interactive Product Explorer" eyebrow in Libre Franklin (beats the global Gullia p rule) */
body.template-product-new-design .shopify-section:has(.pdp-interactive) .cro_InteractiveProduct,
body.template-product-new-design .shopify-section:has(.pdp-interactive) .cro_InteractiveProduct * {
  font-family: 'Libre Franklin', sans-serif !important;
  text-transform: uppercase;
}

/* PDP: What to Expect cards left-aligned per Figma 30101:842 (section text is centred) */
.pdp-steps__item,
.pdp-steps__item .pdp-steps__label,
.pdp-steps__item .pdp-steps__text {
  text-align: left !important;
  align-items: flex-start;
}
.pdp-steps__item .pdp-steps__num { align-self: flex-start; }
/* PDP new-design (desktop): thumbnails in one row under the main image, spanning its width like mobile */
@media screen and (min-width: 750px) {
  body.template-product-new-design .product-information__media slideshow-controls[thumbnails] {
    display: block;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-top: 16px;
  }
  body.template-product-new-design .product-information__media .slideshow-controls__thumbnails {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  body.template-product-new-design .product-information__media .slideshow-controls__thumbnail {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 1;
    border-radius: 8px;
  }
  body.template-product-new-design .product-information__media .slideshow-controls__thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
}
/* PDP new-design: product highlights / key points with more breathing room (desktop + mobile) */
body.template-product-new-design .product-details .pdp-highlights,
body.template-product-new-design .product-details .product-key-points__grid {
  gap: 14px 32px !important;
  margin-block: 8px 4px;
}
body.template-product-new-design .product-details .pdp-highlights li,
body.template-product-new-design .product-details .product-key-points__item {
  gap: 8px !important;
  font-size: 13px !important;
  line-height: 18px;
}
@media screen and (max-width: 749px) {
  body.template-product-new-design .product-details .pdp-highlights,
  body.template-product-new-design .product-details .product-key-points__grid {
    gap: 12px 20px !important;
    margin-block: 12px 4px;
  }
  body.template-product-new-design .product-details .pdp-highlights li,
  body.template-product-new-design .product-details .product-key-points__item {
    font-size: 12px !important;
    line-height: 16px;
    white-space: normal;
  }
}

/* PDP new-design (tablet): keep the page within the viewport */
body.template-product-new-design .shopify-section:has(.pdp-interactive) {
  overflow-x: clip; /* interactive images slide off the edge */
}
@media screen and (min-width: 750px) and (max-width: 1199px) {
  body.template-product-new-design .product-details div:has(> .pdp-highlights) {
    width: 100%;
  }
  body.template-product-new-design .product-details .pdp-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 16px !important;
    width: 100%;
  }
}
@media screen and (min-width: 750px) and (max-width: 989px) {
  body.template-product-new-design [class*="collection-bestseller-"] .home-bestsellers__grid-wrapper {
    width: 100%;
  }
  body.template-product-new-design [class*="collection-bestseller-"] .home-bestsellers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  body.template-product-new-design [class*="collection-bestseller-"] .home-bestsellers__atc {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* Affiliate page: section container widths per Figma (cards 1600px, Partner Advantages panel 1824px) */
body.template-page-affiliate .shopify-section[id*="__section_af_"] .section--page-width {
  --page-content-width: 100rem;
  --page-width: calc(var(--page-content-width) + (var(--page-margin) * 2));
}

body.template-page-affiliate .shopify-section[id$="__section_af_advantages"] .section--page-width {
  --page-content-width: 114rem;
}

/* Affiliate page: hero copy aligned with the 1600px section container */
@media screen and (min-width: 990px) {
  body.template-page-affiliate .group-block:has(> .group-block-content > [class*="__text_afh00d"]) {
    --padding-inline-start: max(var(--page-margin), calc((100% - 100rem) / 2));
    padding-inline-start: max(var(--page-margin), calc((100% - 100rem) / 2));
  }
}

/* Affiliate page: Join Today image ~2:1 on desktop per Figma */
@media screen and (min-width: 990px) {
  body.template-page-affiliate .shopify-section[id$="__section_af_cta"] .image-block__image {
    aspect-ratio: 2 / 1;
  }
}

/* Affiliate page: honour each text block's font setting per Figma (headings Gullia, body Libre Franklin) over the global !important tag rules */
body.template-page-affiliate .shopify-section[id*="__section_af_"] .text-block[style*="--font-heading--family"] :is(p, h1, h2, h3, h4, h5, h6) {
  font-family: Gullia, serif !important;
}

body.template-page-affiliate .shopify-section[id*="__section_af_"] .text-block[style*="--font-body--family"] :is(p, h1, h2, h3, h4, h5, h6) {
  font-family: 'Libre Franklin', sans-serif !important;
}

/* Affiliate page: Wellness Community signup per Figma (48px heading, cream input, orange pill button) */
@media screen and (min-width: 990px) {
  body.template-page-affiliate .shopify-section[id$="__section_af_community"] h2 {
    font-size: 48px;
  }
}

body.template-page-affiliate .shopify-section[id$="__section_af_community"] .email-signup__input-group {
  gap: 18px;
}

body.template-page-affiliate .shopify-section[id$="__section_af_community"] .email-signup__input {
  height: 46px;
  background-color: #faf8f4;
  color: #1c3f32;
  font-size: 1.125rem;
}

body.template-page-affiliate .shopify-section[id$="__section_af_community"] .email-signup__button {
  height: 46px;
  padding-inline: 28px;
  clip-path: none;
  border-radius: 100px;
  background-color: #d26c4e;
  color: #ffffff;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}

/* Affiliate page: "Become an affiliate" buttons per Figma (deeper arrow tips, wider padding, larger arrow) */
body.template-page-affiliate .shopify-section[id*="__section_af_"] a.button {
  padding-inline: 34px;
  clip-path: polygon(26px 0%, calc(100% - 26px) 0%, 100% 50%, calc(100% - 26px) 100%, 26px 100%, 0% 50%);
}

body.template-page-affiliate .shopify-section[id*="__section_af_"] a.button svg {
  width: 20px;
  height: 20px;
}

body.template-page-affiliate .shopify-section[id*="__section_af_"] a.button {
  justify-content: center;
  justify-items: center;
  text-align: center;
}

/* Affiliate page: mobile hero divider between button and highlights per Figma */
body.template-page-affiliate .group-block:has(> .group-block-content > .group-block > .group-block-content > [class*="__text_xm004"]) {
  margin-block-start: 12px;
  padding-block-start: 16px;
  border-block-start: 1px solid rgb(255 255 255 / 0.2);
}

/* Testimonials page: "Real Reviews From Our Customers" subcopy was too small to read */
[class*="text_CaRbC7"] p {
  font-family: 'Libre Franklin', sans-serif !important; /* global p rule forces Gullia otherwise */
  font-size: 18px !important;
  line-height: 1.5 !important;
}
@media screen and (max-width: 749px) {
  [class*="text_CaRbC7"] p {
    font-size: 16px !important;
  }
}


/* Homepage hero: Black Friday heading (Figma 31853-1067) */
.bf-wait p,
.bf-heading p {
  font-size: 10px;
  line-height: 1.1;
  margin: 0;
}
.bf-heading {
  margin-block-start: -0.5rem;
}
.bf-heading p {
  color: #E1062C;
  text-shadow: 0 4px 10px rgba(225, 6, 44, 0.4);
}
.bf-heading em {
  font-style: normal;
  color: #000;
}


/* Homepage hero: offer badge + Shop Now (Figma 31853-1067) */
.bf-offer {
  clip-path: none !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  text-transform: none;
  box-shadow: none;
  transform: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 0 20px rgba(225, 6, 44, 0.8);
}
.bf-shop {
  filter: drop-shadow(0 6px 15px rgba(225, 6, 44, 0.4));
}


/* Homepage hero: subtext font (Figma 31853-1067) */
.bf-subtext,
.bf-subtext p {
  font-family: 'Libre Franklin', sans-serif;
}


/* Homepage hero: mobile (Figma 31963-3, 440px frame; sizes scale down on narrower phones) */
@media screen and (max-width: 749px) {
  .bf-wait,
  .bf-heading {
    margin: 0 !important;
  }
  .bf-wait p,
  .bf-heading p {
    font-family: 'Gullia', serif !important;
    font-size: min(40px, 9.1vw) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: center;
    max-inline-size: none;
  }
  .bf-heading p {
    text-shadow: 0 4px 10px rgba(225, 6, 44, 0.4);
  }
  .bf-subtext,
  .bf-subtext p {
    font-family: 'Libre Franklin', sans-serif !important;
  }
  .bf-subtext {
    margin-block-end: 16px !important;
  }
  .bf-subtext p {
    font-size: min(18px, 4.1vw) !important;
    font-weight: 500;
    line-height: 1.55 !important;
    text-align: center;
  }
  .bf-offer {
    padding: 12px 16px !important;
    font-size: min(20px, 4.5vw);
    line-height: 26px;
    margin-block-end: 16px;
    text-shadow: 0 0 15px rgba(225, 6, 44, 0.8);
  }
  .bf-shop {
    font-family: 'Libre Franklin', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600;
    line-height: 22px;
    text-transform: none !important;
    padding-block: 18px !important;
    padding-inline: 28px !important;
    filter: drop-shadow(0 6px 10px rgba(225, 6, 44, 0.4));
  }
  .bf-offer,
  .bf-shop {
    margin-inline: auto;
    justify-content: center;
    text-align: center;
  }
}

/* ---------- BF Top-up Bar (Figma 31963:24) ---------- */
.bf-topup {
  background: #080808;
  overflow: hidden;
}
.bf-topup__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 8px;
  min-height: 36px;
  padding-inline: 16px;
  color: #f6f6f6;
  text-decoration: none;
}
.bf-topup__icon {
  width: 26px;
  height: auto;
  flex-shrink: 0;
}
.bf-topup__text {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 600;
  font-size: 11px;
  line-height: 1.2;
  color: #f6f6f6;
  text-shadow: 0 0 10px rgba(225, 6, 44, 0.6);
}
.bf-topup__offer {
  height: 34px;
  width: auto;
  display: block;
}
@media (min-width: 990px) {
  .bf-topup__inner {
    min-height: 56px;
    column-gap: 4px;
  }
  .bf-topup__icon {
    width: 44px;
    margin-inline-end: 8px;
  }
  .bf-topup__text {
    font-size: 20px;
    line-height: 26px;
  }
  .bf-topup__offer {
    height: 56px;
  }
}
@media (max-width: 439px) {
  .bf-topup__text { font-size: 10px; }
  .bf-topup__icon { width: 22px; }
  .bf-topup__offer { height: 30px; }
}
.bf-topup__offer {
  animation: bf-topup-blink 1.2s ease-in-out infinite;
}
@keyframes bf-topup-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-topup__offer { animation: none; }
}

/* BF Top-up Bar: mobile two-line layout */
.bf-topup__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 4px;
}
.bf-topup__offer-text {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.2;
  color: #ff2a3d;
  text-shadow: 0 0 6px rgba(225, 6, 44, 0.9);
  animation: bf-topup-blink 1.2s ease-in-out infinite;
}
@media (max-width: 989px) {
  .bf-topup__inner { padding-block: 6px; column-gap: 6px; flex-wrap: nowrap; }
  .bf-topup__copy { flex-direction: row; }
  .bf-topup__headline { flex-basis: 100%; text-align: center; }
  .bf-topup__sep,
  .bf-topup__offer { display: none; }
}
@media (min-width: 990px) {
  .bf-topup__copy { column-gap: 4px; }
  .bf-topup__offer-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-topup__offer-text { animation: none; }
}

/* BF Top-up Bar: mobile per Figma 31963:126 */
@media (max-width: 989px) {
  .bf-topup__inner {
    min-height: 72px;
    padding-block: 5px;
    padding-inline-end: 24px;
    column-gap: 0;
  }
  .bf-topup__icon {
    width: clamp(38px, 13vw, 56px);
    margin-inline-end: 10px;
  }
  .bf-topup__copy {
    display: block;
    text-align: center;
  }
  .bf-topup__headline { display: block; }
  .bf-topup__offer-text { margin-inline: 0.3em; }
  .bf-topup__text,
  .bf-topup__offer-text {
    font-size: clamp(14px, 4.6vw, 20px);
    line-height: 1.25;
    font-weight: 600;
  }
  .bf-topup__offer-text {
    color: #e1062c;
    text-shadow: 0 0 10px rgba(225, 6, 44, 0.6);
  }
}

/* Homepage hero: mobile alignment per Figma 31963-3 (440 x 690 frame) */
@media screen and (max-width: 749px) {
  .hero:has(.bf-heading) {
    --hero-min-height-mobile: calc(100vw * 690 / 440) !important;
  }
  .hero:has(.bf-heading) .hero__content-wrapper {
    padding-block-start: 0 !important;
    padding-inline: 4px !important;
  }
  .bf-wait p,
  .bf-heading p,
  .bf-subtext p {
    margin: 0 !important;
  }
  .bf-heading p {
    line-height: 1.2 !important;
  }
  .bf-offer {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    padding: 12px 10px !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    font-size: min(20px, calc((100vw - 40px) / 20)) !important;
    line-height: 26px !important;
    letter-spacing: -0.2px;
    white-space: nowrap;
    margin-block-end: 8px !important;
  }
  .bf-shop {
    width: 100%;
    max-width: 100%;
    min-height: 58px;
  }
}

/* Homepage hero: mobile - one scale factor so every phone matches the 440px Figma frame */
@media screen and (max-width: 749px) {
  .hero:has(.bf-heading) {
    --bf-s: min(1px, calc((100vw - 40px) / 400));
  }
  .hero:has(.bf-heading) .hero__container {
    padding-block-start: calc(var(--bf-s) * 24) !important;
  }
  .bf-wait p,
  .bf-heading p {
    font-size: calc(var(--bf-s) * 40) !important;
    line-height: calc(var(--bf-s) * 48) !important;
  }
  .bf-subtext {
    margin-block-end: calc(var(--bf-s) * 16) !important;
  }
  .bf-subtext p {
    font-size: calc(var(--bf-s) * 18) !important;
    line-height: calc(var(--bf-s) * 28) !important;
  }
  .bf-offer {
    min-height: calc(var(--bf-s) * 50);
    padding: calc(var(--bf-s) * 12) calc(var(--bf-s) * 14) !important;
    font-size: calc(var(--bf-s) * 20) !important;
    line-height: calc(var(--bf-s) * 26) !important;
    letter-spacing: calc(var(--bf-s) * -0.2);
    border-radius: calc(var(--bf-s) * 12) !important;
    margin-block-end: calc(var(--bf-s) * 8) !important;
  }
  .bf-shop {
    min-height: calc(var(--bf-s) * 58);
    font-size: calc(var(--bf-s) * 18) !important;
    line-height: calc(var(--bf-s) * 22) !important;
    padding-block: calc(var(--bf-s) * 18) !important;
  }
}

/* Homepage hero: desktop feedback - Gullia headline, larger offer badge + CTA */
@media screen and (min-width: 750px) {
  .bf-wait p,
  .bf-heading p {
    font-family: 'Gullia', serif !important;
  }
  .bf-offer {
    padding: 14px 24px !important;
    font-size: 20px !important;
    line-height: 26px !important;
  }
  .bf-shop {
    font-size: 18px !important;
    line-height: 22px !important;
    padding: 20px 56px !important;
/* Keep the sticky header from covering the testimonials heading when jumped to via #testimonials */
#testimonials {
  scroll-margin-top: 80px;
}

/* ============================================================
   BFCM LP: Section - Cinematic Hero (Figma 31700:23695), prefix bh-
   ============================================================ */
.shopify-section:has(.bh-heading) {
  background:
    radial-gradient(ellipse 720px 430px at 50% 55%, rgba(225, 6, 44, 0.1), transparent 70%),
    radial-gradient(circle 300px at 95% 0%, rgba(225, 6, 44, 0.06), transparent 70%),
    #0e0e0e;
}
.shopify-section:has(.bh-heading) .section-content-wrapper {
  padding-block: 32px 48px;
}
.shopify-section:has(.bh-heading) .text-block > * {
  font-family: 'Libre Franklin', sans-serif !important;
  letter-spacing: 0;
  margin: 0;
}

/* Eyebrow pill */
.text-block.bh-eyebrow {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 6px 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(42, 42, 42, 0.8);
  backdrop-filter: blur(24px);
}
.text-block.bh-eyebrow::before {
  content: '';
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e1062c;
}
.shopify-section:has(.bh-heading) .text-block.bh-eyebrow > * {
  font-family: 'Inter', 'Libre Franklin', sans-serif !important;
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #ffb3af;
}

/* Heading */
.shopify-section:has(.bh-heading) .text-block.bh-heading > * {
  font-family: 'Gullia', serif !important;
  font-size: 40px;
  line-height: 1.11;
  font-weight: 400;
  color: #e5e2e1;
}
.text-block.bh-heading em {
  display: block;
  font-style: normal;
  color: #e1062c;
  text-shadow: 0 0 10px rgba(225, 6, 44, 0.4);
}

/* Subheading */
.text-block.bh-sub {
  margin-top: 12px;
}
.shopify-section:has(.bh-heading) .text-block.bh-sub > * {
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  max-width: none;
}

/* Deal badge */
.text-block.bh-badge {
  width: 100%;
  max-width: 576px;
  margin-top: 20px;
  padding: 14px 16px 16px;
  border-radius: 2px;
  background: rgba(42, 42, 42, 0.6);
  backdrop-filter: blur(8px);
}
.shopify-section:has(.bh-heading) .text-block.bh-badge > * {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-align: center;
  color: #e1062c !important;
}
.text-block.bh-badge strong {
  color: #e1062c;
  font-size: 24px;
  font-weight: 600;
}

/* CTA row */
.group-block:has(> .group-block__media-wrapper.bh-ctas) {
  margin-top: 24px;
}
.group-block:has(> .group-block__media-wrapper.bh-ctas) > .group-block-content {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 12px;
}
.shopify-section:has(.bh-heading) .text-block.bh-dates > * {
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  color: #e5e2e1;
}
.text-block.bh-dates strong {
  font-weight: 700;
}
.shopify-section:has(.bh-heading) .bh-btn {
  --button-angle-width: 20px;
  height: 60px;
  min-width: 240px;
  padding-inline: 48px;
  background: #e1062c;
  color: #ffffff;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  filter: drop-shadow(0 0 15px rgba(225, 6, 44, 0.35));
}

/* Media column */
.group-block:has(> .group-block__media-wrapper.bh-media) > .group-block-content {
  align-items: center;
}
.bfcm-countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 2px;
  background: #1c1b1b;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.1);
}
.bfcm-countdown__icon {
  flex: 0 0 15px;
  width: 15px !important;
  height: 18px;
  color: #e1062c;
}
.bfcm-countdown__label {
  font-family: 'Inter', 'Libre Franklin', sans-serif;
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #bbc8d7;
}
.bfcm-countdown__time {
  font-family: 'Anton', 'Oswald', Impact, sans-serif;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 1px;
  color: #e5e2e1;
  white-space: nowrap;
}
.bfcm-countdown__time i {
  font-style: normal;
  color: #e1062c;
}
.group-block:has(> .group-block__media-wrapper.bh-frame) {
  width: 100%;
  max-width: 880px;
  padding: 0;
  overflow: hidden;
}
/* The PNG has a dark border baked in; zoom past it so the artwork fills the frame */
.group-block:has(> .group-block__media-wrapper.bh-frame) img {
  transform: scale(1.14);
}
.group-block:has(> .group-block__media-wrapper.bh-frame) > .group-block-content > *,
.group-block:has(> .group-block__media-wrapper.bh-frame) img {
  width: 100% !important;
  max-width: none;
  border: 0;
}

@media (max-width: 989px) {
  /* Flatten both columns so their children can be reordered in one stack */
  .shopify-section:has(.bh-heading) .section-content-wrapper {
    gap: 0;
    align-items: center;
    text-align: center;
  }
  .group-block:has(> .group-block__media-wrapper.bh-text),
  .group-block:has(> .group-block__media-wrapper.bh-text) > .group-block-content,
  .group-block:has(> .group-block__media-wrapper.bh-media),
  .group-block:has(> .group-block__media-wrapper.bh-media) > .group-block-content {
    display: contents;
  }
  .group-block__media-wrapper.bh-text,
  .group-block__media-wrapper.bh-media {
    display: none;
  }
  .text-block.bh-eyebrow { order: 1; align-self: flex-start; margin-bottom: 12px; }
  .bfcm-countdown { order: 2; align-self: flex-start; padding: 6px 12px; }
  .text-block.bh-heading { order: 3; margin-top: 20px; }
  .text-block.bh-sub { order: 4; }
  .text-block.bh-badge { order: 5; }
  .group-block:has(> .group-block__media-wrapper.bh-ctas) { order: 6; width: 100%; }
  .group-block:has(> .group-block__media-wrapper.bh-frame) { order: 7; margin-top: 32px; }
  .shopify-section:has(.bh-heading) .text-block.bh-eyebrow > * { text-align: left; }
  .shopify-section:has(.bh-heading) .text-block > * { text-align: center; }
  .group-block:has(> .group-block__media-wrapper.bh-ctas) > .group-block-content {
    flex-direction: column;
    align-items: center;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-heading > * {
    font-size: 36px;
    line-height: 40px;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-dates > * {
    font-size: 12px;
  }
  .shopify-section:has(.bh-heading) .bh-btn {
    height: 52px;
    min-width: 200px;
    font-size: 18px;
  }
}

/* Desktop below ~1700px: shrink the media column so the heading never overflows */
@media (min-width: 990px) and (max-width: 1699px) {
  .shopify-section:has(.bh-heading) .group-block:has(> .group-block__media-wrapper.bh-media) {
    flex: 0 1 48% !important;
  }
  .group-block:has(> .group-block__media-wrapper.bh-text) {
    min-width: 0;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-heading > * {
    white-space: normal !important;
    font-size: clamp(48px, 4.2vw, 72px) !important;
    line-height: 1.1 !important;
  }
}
/* Mobile/tablet: stack in one column and fit the whole hero in one screen */
@media (max-width: 989px) {
  .shopify-section:has(.bh-heading) .section-content-wrapper {
    flex-direction: column;
    flex-wrap: nowrap;
    min-height: max(560px, calc(100svh - var(--header-height, 60px)));
    padding-block: 16px 20px;
  }
  .text-block.bh-heading { margin-top: 14px; }
  .text-block.bh-sub { margin-top: 8px; }
  .text-block.bh-badge { margin-top: 12px; padding: 8px 12px; }
  .group-block:has(> .group-block__media-wrapper.bh-ctas) { margin-top: 14px; }
  .group-block:has(> .group-block__media-wrapper.bh-ctas) > .group-block-content { row-gap: 10px; }
  /* Image takes whatever height is left */
  .group-block:has(> .group-block__media-wrapper.bh-frame) {
    flex: 1 0 auto;
    min-height: min(100vw - 32px, 560px);
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    align-self: center;
    margin-top: 6px;
  }
  .group-block:has(> .group-block__media-wrapper.bh-frame) > .group-block-content,
  .group-block:has(> .group-block__media-wrapper.bh-frame) > .group-block-content > * {
    height: 100%;
    min-height: 0;
  }
  .group-block:has(> .group-block__media-wrapper.bh-frame) img {
    height: 100%;
    width: 100% !important;
    max-width: 100%;
    margin-inline: auto;
    object-fit: cover;
    object-position: center;
    /* Crop the baked-in dark border off the PNG */
    transform: scale(1.2);
  }
  .group-block:has(> .group-block__media-wrapper.bh-frame),
  .group-block:has(> .group-block__media-wrapper.bh-frame) > .group-block-content {
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-heading > * {
    font-size: 40px;
    line-height: 44px;
  }
  .text-block.bh-heading em { display: inline; }
}
@media (min-width: 750px) {
  .bfh__bar-line { display: inline; }
}
/* Tablet + mobile: pill and countdown never shrink into each other */
@media (max-width: 989px) {
  .text-block.bh-eyebrow,
  .bfcm-countdown {
    flex-shrink: 0;
    position: relative;
    top: auto;
    transform: none;
  }
  .text-block.bh-eyebrow { order: 1; margin-bottom: 16px !important; }
  .bfcm-countdown { order: 2; margin: 0 !important; }
  /* The countdown is a theme block wrapped in .shopify-block - order that wrapper */
  .shopify-block:has(> .bfcm-countdown) {
    order: 2;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    justify-content: center;
  }
  .bfcm-countdown__label { white-space: nowrap; }
}
/* Tablet: centre eyebrow + countdown to line up with the centred hero copy */
@media (min-width: 750px) and (max-width: 989px) {
  .text-block.bh-eyebrow,
  .bfcm-countdown { align-self: center; }
  .shopify-section:has(.bh-heading) .text-block.bh-eyebrow > * { text-align: center; }
}
/* Hero - mobile (Figma 31700:24929, 440 frame) */
@media (max-width: 749px) {
  .shopify-section:has(.bh-heading) .section-content-wrapper {
    height: auto;
    min-height: 0;
    /* page gutter already gives 16px; Figma side margin is 20px */
    padding: 32px 4px 34px;
  }
  /* Eyebrow pill on the left, countdown full width below it (16px apart) */
  .text-block.bh-eyebrow {
    align-self: flex-start;
    max-width: 296px;
    margin: 0 0 16px;
    padding: 6px 16px;
    border-radius: 12px;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-eyebrow > * {
    text-align: left;
    font-size: 14px;
    line-height: 18px;
  }
  .bfcm-countdown {
    align-self: stretch;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 8px 16px;
  }
  /* Figma: icon 8px | label 42px | time */
  .bfcm-countdown {
    width: 100%;
    padding-inline: 12px;
  }
  .bfcm-countdown__label {
    margin-right: auto;
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 0.5px;
  }
  .bfcm-countdown__time {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
  }
  .text-block.bh-heading { margin-top: 16px; }
  .shopify-section:has(.bh-heading) .text-block.bh-heading > * {
    font-size: 40px;
    line-height: 48px;
    font-weight: 700 !important;
  }
  /* Red part on its own lines so the heading always reads as 4 lines */
  .shopify-section:has(.bh-heading) .text-block.bh-heading em { font-weight: inherit; display: block; }
  .text-block.bh-sub { align-self: stretch; margin-top: 0; padding-block: 0 16px; }
  .shopify-section:has(.bh-heading) .text-block.bh-sub > * {
    /* scales with width so the copy stays on 3 lines */
    font-size: clamp(13px, 4.2vw, 16px);
    line-height: 1.5;
    text-align: center !important;
    text-wrap: wrap;
  }
  .text-block.bh-badge {
    align-self: stretch;
    margin: 0 0 16px;
    padding: 16px;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-badge > * {
    font-size: 18px;
    line-height: 26px;
  }
  .text-block.bh-badge strong { font-size: 24px; }
  .group-block:has(> .group-block__media-wrapper.bh-ctas) { margin-top: 0; }
  .group-block:has(> .group-block__media-wrapper.bh-ctas) > .group-block-content { row-gap: 8px; }
  .shopify-section:has(.bh-heading) .bh-btn {
    width: 100%;
    height: 58px;
    min-width: 0;
    font-size: 18px;
  }
  /* Product stage: square, full width, 40px below the CTA (Figma 400x400 in the 440 frame).
     The art is cropped to fill the square so it reads larger than the letterboxed PNG. */
  .group-block:has(> .group-block__media-wrapper.bh-frame) {
    flex: none;
    width: 100%;
    margin-top: 40px;
    aspect-ratio: 1 / 1;
    /* drop the tablet min-height; the square ratio sets the height */
    min-height: 0;
  }
  .group-block:has(> .group-block__media-wrapper.bh-frame) > .group-block-content,
  .group-block:has(> .group-block__media-wrapper.bh-frame) > .group-block-content > * {
    height: 100%;
  }
  .group-block:has(> .group-block__media-wrapper.bh-frame) img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 990px) {
  /* Same content width as the site header (bfh__main / main header): 1440px centered */
  .shopify-section:has(.bh-heading) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1440px, calc(100% - 80px)) minmax(40px, 1fr);
  }
  .shopify-section:has(.bh-heading) .section-content-wrapper {
    padding-block: 24px 44px;
    justify-content: space-between;
  }
  /* Copy column sizes to its heading; the media column takes the rest (max 880px) */
  .group-block:has(> .group-block__media-wrapper.bh-text) {
    flex: 0 0 auto !important;
    width: auto !important;
    padding-top: 78px;
    align-self: flex-start;
  }
  .group-block:has(> .group-block__media-wrapper.bh-media) {
    flex: 1 1 0 !important;
    min-width: 0;
    max-width: 880px;
  }
  .text-block.bh-eyebrow {
    margin-bottom: 24px;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-eyebrow > *,
  .bfcm-countdown__label {
    font-size: 11px;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-heading > * {
    font-size: clamp(48px, 4.4vw, 72px);
    line-height: 1.11;
    white-space: nowrap;
  }
  .text-block.bh-sub {
    margin-top: 8px;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-sub > * {
    font-size: 24px;
    line-height: 32px;
  }
  .text-block.bh-badge {
    margin-top: 32px;
    padding: 16px 16px 19px;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-badge > * {
    font-size: 24px;
    line-height: 32px;
  }
  .text-block.bh-badge strong {
    font-size: 32px;
  }
  .group-block:has(> .group-block__media-wrapper.bh-ctas) {
    margin-top: 40px;
  }
  .group-block:has(> .group-block__media-wrapper.bh-ctas) > .group-block-content {
    justify-content: flex-start;
  }
  .shopify-section:has(.bh-heading) .text-block.bh-dates > * {
    font-size: 18px;
  }
  .shopify-section:has(.bh-heading) .bh-btn {
    --button-angle-width: 30px;
    height: 77px;
    width: 318px;
    font-size: 24px;
  }
  .bfcm-countdown__time {
    font-size: 20px;
  }
}

/* ============================================================
   BFCM LP: Section - Clinical Trust Strip (Figma 31700:23754), prefix bts-
   ============================================================ */
.shopify-section:has(.bts-row) {
  background: #1c1b1b;
}
.shopify-section:has(.bts-row) .section-content-wrapper {
  padding-block: 16px;
}
.group-block:has(> .group-block__media-wrapper.bts-row) > .group-block-content {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.group-block:has(> .group-block__media-wrapper.bts-row) > .group-block-content::-webkit-scrollbar {
  display: none;
}
.group-block:has(> .group-block__media-wrapper.bts-row) .icon-text-item {
  flex: 0 0 auto;
  margin: 0;
  padding-inline: 16px;
}
/* Red divider after every item */
.group-block:has(> .group-block__media-wrapper.bts-row) .icon-text-item::after {
  content: '';
  flex: 0 0 1px;
  width: 1px;
  height: 16px;
  margin-left: 16px;
  background: #e1062c;
}
.group-block:has(> .group-block__media-wrapper.bts-row) .icon-text-item:last-child::after {
  display: none;
}
.shopify-section:has(.bts-row) .icon-text-item__text.bts-text {
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 12px !important;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}
.shopify-section:has(.bts-row) .icon-text-item__icon img {
  width: 20px !important;
  height: 20px !important;
}

@media (min-width: 990px) {
  .shopify-section:has(.bts-row) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1670px, calc(100% - 80px)) minmax(40px, 1fr);
  }
  .shopify-section:has(.bts-row) .section-content-wrapper {
    padding-block: 32px;
  }
  .group-block:has(> .group-block__media-wrapper.bts-row) > .group-block-content {
    justify-content: space-between;
    overflow: visible;
  }
  .group-block:has(> .group-block__media-wrapper.bts-row) .icon-text-item {
    flex: 1 1 auto;
    justify-content: space-between;
    padding-inline: 0;
  }
  .group-block:has(> .group-block__media-wrapper.bts-row) .icon-text-item::after {
    /* centre the divider between this label and the next item */
    margin-inline: auto;
  }
  .group-block:has(> .group-block__media-wrapper.bts-row) .icon-text-item:last-child {
    flex: 0 0 auto;
  }
  .shopify-section:has(.bts-row) .icon-text-item__text.bts-text {
    font-size: 16px !important;
    line-height: 20px;
  }
  .shopify-section:has(.bts-row) .icon-text-item__icon img {
    width: 24px !important;
    height: 24px !important;
  }
}

/* ============================================================
   BFCM LP: Section - Why Customers Choose SugarMD (Figma 31700:24025), prefix bcr-
   Reuses review-slider / review-card (wcs-) styles; overrides scoped to this section.
   ============================================================ */
.shopify-section:has(.bcr-heading) {
  background: #201f1f;
}
.shopify-section:has(.bcr-heading) .section-content-wrapper {
  padding-block: 40px;
  gap: 24px;
}
.shopify-section:has(.bcr-heading) .text-block.bcr-heading > * {
  font-family: 'Gullia', serif !important;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
}
.text-block.bcr-heading em {
  font-style: normal;
  color: #e1062c;
}
.wcs-review__title {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.8);
}
.shopify-section:has(.bcr-heading) .wcs-slider {
  max-width: none;
}
.shopify-section:has(.bcr-heading) .wcs-review__quote {
  font-style: normal;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.8);
}
.shopify-section:has(.bcr-heading) .wcs-review__title {
  font-style: italic;
}
.shopify-section:has(.bcr-heading) .wcs-slider__dot {
  background: #ffffff;
}
.shopify-section:has(.bcr-heading) .wcs-slider__dot.is-active {
  background: #e1062c;
}

@media (min-width: 990px) {
  .shopify-section:has(.bcr-heading) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1670px, calc(100% - 80px)) minmax(40px, 1fr);
  }
  .shopify-section:has(.bcr-heading) .section-content-wrapper {
    padding-block: 56px;
    gap: 32px;
  }
  .shopify-section:has(.bcr-heading) .text-block.bcr-heading > * {
    font-size: 56px;
    line-height: 64px;
    padding-top: 12px;
  }
  .wcs-review__title {
    margin-bottom: 16px;
    font-size: 24px;
  }
  .shopify-section:has(.bcr-heading) .wcs-review {
    align-content: start;
  }
  .shopify-section:has(.bcr-heading) .wcs-review__quote {
    padding-top: 16px;
  }
}

/* BFCM reviews - mobile card: stars + tag, quote, author row */
@media (max-width: 989px) {
  .shopify-section:has(.bcr-heading) .wcs-review {
    grid-template-areas:
      "stars stars tag"
      "quote quote quote"
      "avatar meta meta";
    row-gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: #f8fafc;
  }
  .shopify-section:has(.bcr-heading) .wcs-review__tag {
    margin-top: 0;
    align-self: center;
  }
  .shopify-section:has(.bcr-heading) :is(.wcs-review__avatar, .wcs-review__meta) {
    margin-top: 0;
  }
  .shopify-section:has(.bcr-heading) .wcs-review__name {
    color: #000;
  }
  .shopify-section:has(.bcr-heading) .wcs-review__verified {
    color: #505050;
  }
  .shopify-section:has(.bcr-heading) .wcs-review__quote {
    font-size: 14px;
    line-height: 20px;
  }
  .shopify-section:has(.bcr-heading) .wcs-review__title {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 22px;
  }
  .shopify-section:has(.bcr-heading) .wcs-slider__dot {
    width: 8px;
  }
  .shopify-section:has(.bcr-heading) .wcs-slider__dot.is-active {
    width: 24px;
  }
}

/* ============================================================
   BFCM LP: Section - Purchase Reassurance (Figma 31700:24213), prefix bpr-
   ============================================================ */
.shopify-section:has(.bpr-row) {
  background: #0e0e0e;
}
.shopify-section:has(.bpr-row) .section-content-wrapper {
  padding-block: 24px;
}
/* 2x2 grid on phones, 4 across on desktop */
.group-block:has(> .group-block__media-wrapper.bpr-row) > .group-block-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.group-block:has(> .group-block__media-wrapper.bpr-row) .icon-text-item {
  margin: 0;
  padding: 16px;
  gap: 10px;
  border-radius: 2px;
  background: #1c1b1b;
}
.shopify-section:has(.bpr-row) .icon-text-item__icon img {
  width: 24px !important;
  height: 24px !important;
}
.shopify-section:has(.bpr-row) .icon-text-item__text.bpr-text {
  margin: 0;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 14px !important;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  color: #e5e2e1 !important;
}

@media (min-width: 990px) {
  .shopify-section:has(.bpr-row) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1792px, calc(100% - 80px)) minmax(40px, 1fr);
  }
  .shopify-section:has(.bpr-row) .section-content-wrapper {
    padding-block: 40px;
  }
  .group-block:has(> .group-block__media-wrapper.bpr-row) > .group-block-content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
  .group-block:has(> .group-block__media-wrapper.bpr-row) .icon-text-item {
    padding: 24px;
    gap: 16px;
  }
  .shopify-section:has(.bpr-row) .icon-text-item__icon img {
    width: 32px !important;
    height: 32px !important;
  }
  .shopify-section:has(.bpr-row) .icon-text-item__text.bpr-text {
    font-size: 24px !important;
    line-height: 28px;
  }
}

/* BFCM reassurance - phones: all four cards in one row */
@media (max-width: 989px) {
  .group-block:has(> .group-block__media-wrapper.bpr-row) > .group-block-content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .group-block:has(> .group-block__media-wrapper.bpr-row) .icon-text-item {
    padding: 12px 10px;
    gap: 8px;
  }
  .shopify-section:has(.bpr-row) .icon-text-item__icon img {
    width: 18px !important;
    height: 18px !important;
  }
  .shopify-section:has(.bpr-row) .icon-text-item__text.bpr-text {
    font-size: 11px !important;
    line-height: 14px;
    letter-spacing: 0;
    white-space: normal;
    text-align: center;
  }
  /* Icon above label so four cards fit across without overflowing */
  .group-block:has(> .group-block__media-wrapper.bpr-row) .icon-text-item {
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 10px 4px;
    gap: 6px;
    /* Equal-size cards: fill the grid cell regardless of label length */
    width: 100% !important;
    height: 100%;
    min-height: 72px;
    align-self: stretch;
  }
  .group-block:has(> .group-block__media-wrapper.bpr-row) > .group-block-content {
    align-items: stretch;
  }
}

/* ============================================================
   BFCM LP: Section - BFCM Questions (Figma 31700:24236), prefix bfq-
   ============================================================ */
.shopify-section:has(.bfq-heading) {
  background: #1c1b1b;
}
.shopify-section:has(.bfq-heading) .section-content-wrapper {
  padding-block: 40px;
  gap: 24px;
}
.shopify-section:has(.bfq-heading) .text-block > * {
  font-family: 'Libre Franklin', sans-serif !important;
  letter-spacing: 0;
  margin: 0;
  max-width: none;
}
.shopify-section:has(.bfq-heading) .text-block.bfq-heading > * {
  font-family: 'Gullia', serif !important;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  color: #ffffff;
}

/* Accordion */
.shopify-section:has(.bfq-heading) .accordion {
  width: 100%;
}
.shopify-section:has(.bfq-heading) .details {
  border-bottom: 2px solid #4b5752;
}
.shopify-section:has(.bfq-heading) .details__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #ffffff;
}
.shopify-section:has(.bfq-heading) .details__header .svg-wrapper {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: #ffffff;
}
.shopify-section:has(.bfq-heading) .details-content {
  padding-bottom: 16px;
}
.shopify-section:has(.bfq-heading) .text-block.bfq-answer > * {
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.75);
}

/* Support card */
.group-block:has(> .group-block__media-wrapper.bfq-support) {
  width: 100%;
  padding: 20px;
  border-radius: 2px;
  background: #353534;
}
.group-block:has(> .group-block__media-wrapper.bfq-support) > .group-block-content {
  align-items: center;
  gap: 16px;
}
.group-block:has(> .group-block__media-wrapper.bfq-support) .icon-text-item {
  margin: 0;
  gap: 16px;
}
.group-block:has(> .group-block__media-wrapper.bfq-support) .icon-text-item__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e1062c;
}
.group-block:has(> .group-block__media-wrapper.bfq-support) .icon-text-item__icon img {
  width: 18px !important;
  height: 22px !important;
}
.shopify-section:has(.bfq-heading) .icon-text-item__text.bfq-support-text {
  margin: 0;
  max-width: 420px;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: #ffffff;
}
.shopify-section:has(.bfq-heading) .bfq-btn {
  --button-angle-width: 0px;
  height: 42px;
  padding: 12px 32px;
  border-radius: 2px;
  background: #e1062c;
  color: #e5e2e1;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  clip-path: none;
}

@media (min-width: 990px) {
  .shopify-section:has(.bfq-heading) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1600px, calc(100% - 80px)) minmax(40px, 1fr);
  }
  .shopify-section:has(.bfq-heading) .section-content-wrapper {
    padding-block: 56px;
    gap: 32px;
  }
  .shopify-section:has(.bfq-heading) .text-block.bfq-heading > * {
    font-size: 56px;
    line-height: 62px;
  }
  .shopify-section:has(.bfq-heading) .details {
    border-bottom-width: 3px;
  }
  .shopify-section:has(.bfq-heading) .details__header {
    padding-block: 0 24px;
    margin-top: 32px;
    font-size: 24px;
    line-height: 28px;
  }
  .shopify-section:has(.bfq-heading) .details:first-child .details__header,
  .shopify-section:has(.bfq-heading) accordion-custom:first-child .details__header {
    margin-top: 0;
  }
  .shopify-section:has(.bfq-heading) .details__header .svg-wrapper {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  .shopify-section:has(.bfq-heading) .details-content {
    padding-bottom: 24px;
  }
  .shopify-section:has(.bfq-heading) .text-block.bfq-answer > * {
    font-size: 18px;
    line-height: 28px;
  }
  .group-block:has(> .group-block__media-wrapper.bfq-support) {
    padding: 40px;
  }
  .group-block:has(> .group-block__media-wrapper.bfq-support) > .group-block-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .group-block:has(> .group-block__media-wrapper.bfq-support) .icon-text-item__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
  .group-block:has(> .group-block__media-wrapper.bfq-support) .icon-text-item__icon img {
    width: 20px !important;
    height: 24px !important;
  }
  .shopify-section:has(.bfq-heading) .icon-text-item__text.bfq-support-text {
    font-size: 20px !important;
    line-height: 28px;
  }
  .shopify-section:has(.bfq-heading) .bfq-btn {
    padding-inline: 40px;
    font-size: 16px;
  }
}

.shopify-section:has(.bfq-heading) .text-block.bfq-answer a {
  color: #e1062c;
  text-decoration: underline;
}

/* BFCM FAQ: title in Gullia (rich-text h2 may sit inside a wrapper), everything else Libre Franklin */
.shopify-section:has(.bfq-heading) .text-block.bfq-heading,
.shopify-section:has(.bfq-heading) .text-block.bfq-heading :is(h1, h2, h3, p, span) {
  font-family: 'Gullia', serif !important;
}
.shopify-section:has(.bfq-heading) :is(.details__header, .text-block.bfq-answer, .text-block.bfq-answer *, .icon-text-item__text, .bfq-btn) {
  font-family: 'Libre Franklin', sans-serif !important;
}

/* ===== BFCM: Shop by Health Goal (sections/bfcm-bestsellers.liquid) ===== */
.home-bestsellers--bfcm {
  background: #f5f7fa;
  gap: 0;
}
.home-bestsellers--bfcm::before {
  display: none;
}
.home-bestsellers--bfcm .home-bestsellers__container {
  max-width: 1496px;
}
.home-bestsellers--bfcm .home-bestsellers__header {
  margin-bottom: 20px;
}
.home-bestsellers--bfcm .home-bestsellers__title,
.home-bestsellers--bfcm .home-bestsellers__title-accent {
  font-family: 'Gullia', serif !important;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
  color: #131313;
  margin: 0;
}
.home-bestsellers--bfcm .home-bestsellers__title-accent {
  color: #e1062c;
}
.home-bestsellers--bfcm .home-bestsellers__navigation {
  gap: 0;
  margin-bottom: 40px;
}
.home-bestsellers--bfcm .home-bestsellers__nav-link {
  padding: 8px 16px;
  font-family: 'Libre Franklin', sans-serif !important;
  border: 0;
  border-radius: 0;
  background: #e5e9ee;
  color: #26323d;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-bestsellers--bfcm .home-bestsellers__nav-link:first-child {
  border-radius: 2px 0 0 2px;
}
.home-bestsellers--bfcm .home-bestsellers__nav-link:last-child {
  border-radius: 0 2px 2px 0;
}
.home-bestsellers--bfcm .home-bestsellers__nav-link:hover {
  background: #d6dce3;
  color: #26323d;
}
.home-bestsellers--bfcm .home-bestsellers__nav-link--active,
.home-bestsellers--bfcm .home-bestsellers__nav-link--active:hover {
  background: #e1062c;
  color: #fff3f2;
  font-weight: 700;
  border-radius: 2px;
}
.home-bestsellers--bfcm .home-bestsellers__grid {
  margin-bottom: 0;
}
.home-bestsellers--bfcm .home-bestsellers__card {
  padding: 20px 20px 24px;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.home-bestsellers--bfcm .home-bestsellers__card-media,
.home-bestsellers--bfcm .home-bestsellers__card-media img {
  border-radius: 20px;
}
/* Tucked into the image corner with "90%" over "OFF", same as mobile */
.home-bestsellers--bfcm .home-bestsellers__badge {
  top: -14px;
  left: -14px;
  width: 88px;
  height: 78px;
}
.home-bestsellers--bfcm .home-bestsellers__badge-hexagon {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.home-bestsellers--bfcm .home-bestsellers__badge-text {
  font-size: 22px;
  line-height: 22px;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Collection tabs filter the grid in place */
.home-bestsellers--bfcm .home-bestsellers__grid[hidden] {
  display: none;
}
.home-bestsellers--bfcm button.home-bestsellers__nav-link {
  border: 0;
  cursor: pointer;
}
.home-bestsellers--bfcm .home-bestsellers__card-info {
  gap: 10px;
}
.home-bestsellers--bfcm .home-bestsellers__card-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 27px;
  min-height: 81px;
  color: #333;
}
.home-bestsellers--bfcm .home-bestsellers__card-summary {
  display: none;
}
.home-bestsellers--bfcm .home-bestsellers__card-price-group > .price {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: #333;
}
.home-bestsellers--bfcm .home-bestsellers__card-price-group .compare-at-price {
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  color: #9ea2ae;
}
.home-bestsellers--bfcm .home-bestsellers__atc {
  background: #e1062c;
  color: #fff;
}
.home-bestsellers--bfcm .home-bestsellers__atc:hover {
  background: #c00525;
}

@media (min-width: 990px) {
  .home-bestsellers--bfcm .home-bestsellers__title {
    font-size: 60px;
    line-height: 72px;
  }
  .home-bestsellers--bfcm .home-bestsellers__nav-link {
    font-size: 18px;
  }
  .home-bestsellers--bfcm .home-bestsellers__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
  .home-bestsellers--bfcm .home-bestsellers__atc {
    width: 240px;
    height: 60px;
  }
}

@media (max-width: 749px) {
  .home-bestsellers--bfcm .home-bestsellers__navigation {
    margin-bottom: 32px;
  }
  .home-bestsellers--bfcm .home-bestsellers__card {
    margin-top: 8px;
  }
  .home-bestsellers--bfcm .home-bestsellers__badge {
    top: -24px;
    left: -12px;
    width: 80px;
    height: 70px;
  }
  .home-bestsellers--bfcm .home-bestsellers__badge-text {
    font-size: 15px;
  }
  .home-bestsellers--bfcm .home-bestsellers__card-title {
    font-size: 18px;
    line-height: 23px;
    min-height: 69px;
  }
  .home-bestsellers--bfcm .home-bestsellers__card-price-group .price,
  .home-bestsellers--bfcm .home-bestsellers__card-price-group .compare-at-price {
    font-size: 20px;
    line-height: 28px;
  }
}

/* BFCM bestsellers - mobile (Figma 31700:25019): wrapped chips, 2-up product grid */
@media (max-width: 749px) {
  .home-bestsellers--bfcm .home-bestsellers__container {
    padding-inline: 20px;
  }
  .home-bestsellers--bfcm .home-bestsellers__header {
    margin-bottom: 16px;
  }
  .home-bestsellers--bfcm .home-bestsellers__title {
    font-size: 32px;
    line-height: 38px;
  }
  .home-bestsellers--bfcm .home-bestsellers__navigation {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow: visible;
    width: 100%;
    margin: 0 0 16px;
    padding: 6px;
    gap: 4px 0;
    background: #e5e9ee;
    border-radius: 4px;
  }
  .home-bestsellers--bfcm .home-bestsellers__nav-link {
    padding: 8px 16px;
    font-size: 14px;
    line-height: 18px;
    border-radius: 2px;
  }
  .home-bestsellers--bfcm .home-bestsellers__progress {
    display: none;
  }
  .home-bestsellers--bfcm .home-bestsellers__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .home-bestsellers--bfcm .home-bestsellers__grid > .home-bestsellers__card {
    flex: none;
    margin-top: 0;
    padding: 16px;
    gap: 8px;
    border-radius: 10px;
  }
  .home-bestsellers--bfcm .home-bestsellers__card-media,
  .home-bestsellers--bfcm .home-bestsellers__card-media img {
    border-radius: 10px;
  }
  /* Smaller discount badge on the narrow 2-up cards, tucked into the image corner */
  .home-bestsellers--bfcm .home-bestsellers__badge {
    top: -8px;
    left: -8px;
    width: 56px;
    height: 50px;
  }
  .home-bestsellers--bfcm .home-bestsellers__badge-text {
    font-size: 12px;
    line-height: 13px;
  }
  .home-bestsellers--bfcm .home-bestsellers__card-info {
    gap: 8px;
  }
  .home-bestsellers--bfcm .home-bestsellers__card-title {
    font-size: 14px;
    line-height: 17px;
    min-height: 51px;
  }
  /* Ryviu rating: 16px stars + 12px count on one line (Figma) */
  .home-bestsellers--bfcm .ryviu-collection,
  .home-bestsellers--bfcm .ryviu-collection * {
    font-size: 12px !important;
    line-height: 16px !important;
  }
  .home-bestsellers--bfcm .ryviu-collection > *,
  .home-bestsellers--bfcm .ryviu-collection ryviu-widget-total > * {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }
  .home-bestsellers--bfcm .ryviu-collection svg,
  /* No space between the stars themselves */
  .home-bestsellers--bfcm .ryviu-collection ryviu-widget-total > * > * {
    gap: 0 !important;
    letter-spacing: 0 !important;
  }
  .home-bestsellers--bfcm .ryviu-collection i {
    margin: 0 !important;
    padding: 0 !important;
    width: 13px !important;
    height: 13px !important;
    font-size: 13px !important;
    line-height: 13px !important;
  }
  .home-bestsellers--bfcm .home-bestsellers__card-price-group > .price {
    flex-wrap: wrap;
    gap: 0 8px;
  }
  .home-bestsellers--bfcm .home-bestsellers__card-price-group .price,
  .home-bestsellers--bfcm .home-bestsellers__card-price-group .compare-at-price {
    font-size: 20px;
    line-height: 30px;
  }
  .home-bestsellers--bfcm .home-bestsellers__atc-wrapper {
    margin-top: auto;
    padding-top: 8px;
  }
  .home-bestsellers--bfcm .home-bestsellers__atc {
    width: 100%;
    max-width: 150px;
    height: 41px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 17px;
  }
  .home-bestsellers--bfcm .home-bestsellers__footer {
    margin-top: 16px;
  }
  .home-bestsellers--bfcm .home-bestsellers__view-all {
    width: 150px;
    height: 41px;
    padding: 0;
    background: #e1062c;
    color: #fff;
    font-size: 15px;
    line-height: 19px;
    font-weight: 700;
    text-transform: none;
  }
}
@media (max-width: 389px) {
  .home-bestsellers--bfcm .home-bestsellers__grid > .home-bestsellers__card {
    padding: 12px;
  }
  .home-bestsellers--bfcm .home-bestsellers__card-price-group .price,
  .home-bestsellers--bfcm .home-bestsellers__card-price-group .compare-at-price {
    font-size: 17px;
  }
  .home-bestsellers--bfcm .home-bestsellers__atc {
    font-size: 12px;
    padding-inline: 8px;
  }
}

/* Accent words match the rest of the heading at every breakpoint */
.home-bestsellers--bfcm .home-bestsellers__title .home-bestsellers__title-accent {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

/* ============================================================
   BFCM LP: Header (Figma 31700:23662 + 31700:23666), prefix bfh-
   ============================================================ */
.bfh__bar {
  padding: 6px 16px;
  background: #000000;
  text-align: center;
}
.bfh__bar-text {
  margin: 0;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  color: #ffffff;
}
.bfh__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
  background: #131313;
  border-bottom: 1px solid #2e3a46;
}
.bfh__logo img {
  display: block;
  width: 112px;
  height: auto;
}
.bfh__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bfh__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  background: #4b5753;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  color: #ffffff;
}
.bfh__icon svg {
  width: 20px;
  height: 20px;
}
.bfh__count {
  position: absolute;
  top: 4px;
  right: 10px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 7px;
  background: #e1062c;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 9px;
  line-height: 14px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
}

@media (min-width: 990px) {
  .bfh__bar {
    padding: 10px 16px;
  }
  .bfh__bar-text {
    font-size: 20px;
    line-height: 28px;
  }
  /* Align with the theme's page width, same as the other pages' header */
  .bfh__main {
    padding-block: 12px;
    padding-inline: max(var(--page-margin, 40px), calc((100% - var(--page-content-width, 1400px)) / 2));
  }
  .bfh__logo img {
    width: 224px;
  }
  .bfh__actions {
    gap: 24px;
  }
  .bfh__icon {
    width: 62px;
    height: 56px;
  }
  .bfh__icon svg {
    width: 28px;
    height: 28px;
  }
  .bfh__count {
    top: 8px;
    right: 14px;
  }
}

/* ============================================================
   BFCM LP: Footer (Figma 31700:24274), prefix bff-
   ============================================================ */
.bff {
  padding: 48px 16px;
  background: linear-gradient(90deg, #380204 0%, #000000 100%);
}
.bff__inner {
  max-width: 1024px;
  margin: 0 auto;
}
.bff__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.bff__logo img {
  display: block;
  width: 180px;
  height: auto;
}
.bff__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}
.bff__link {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}
.bff__link:hover {
  color: #e1062c;
}
.bff__disclaimer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(229, 226, 220, 0.1);
}
.bff__disclaimer p {
  margin: 0;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.2px;
  text-align: center;
  color: #bdc9c4;
}

@media (min-width: 990px) {
  .bff {
    padding: 131px 16px 80px;
  }
  .bff__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .bff__logo img {
    width: 302px;
  }
  .bff__links {
    gap: 48px;
  }
  .bff__link {
    font-size: 20px;
    line-height: 28px;
  }
  .bff__disclaimer {
    margin-top: 32px;
    padding-top: 32px;
  }
  .bff__disclaimer p {
    font-size: 16px;
    line-height: 20px;
  }
}

/* BFCM header/footer - mobile (Figma 31700:24910, 31700:24912, 31700:25212) */
@media (max-width: 989px) {
  .bfh__bar {
    padding-inline: 30px;
  }
  .bfh__bar-text {
    font-size: clamp(12px, calc(3vw - 2px), 18px);
    line-height: 1.25;
    font-weight: 600;
  }
  /* Mobile: split after the "|" onto two centred lines */
  .bfh__bar-line {
    display: block;
  }
  .bfh__main {
    min-height: 78px;
    padding-inline: 0;
    margin-inline: 30px;
    background: transparent;
    border-bottom-color: #e5e2dc;
  }
  .bfh {
    background: #131313;
  }
  .bfh__logo img {
    width: 130px;
  }
  /* Figma mobile shows only the cart */
  .bfh__icon[aria-label="Account"] {
    display: none;
  }
  .bfh__icon {
    width: 31px;
    height: 28px;
  }
  .bfh__icon svg {
    width: 19px;
    height: 19px;
  }
  .bfh__count {
    top: -2px;
    right: -2px;
  }

  .bff {
    padding: 32px 20px;
  }
  .bff__top {
    align-items: flex-start;
  }
  .bff__logo img {
    width: 200px;
  }
  .bff__links {
    display: none;
  }
  .bff__disclaimer {
    margin-top: 16px;
    padding-top: 16px;
  }
  .bff__disclaimer p {
    font-size: 14px;
    line-height: 20px;
  }
}

/* BFCM bestsellers - mobile tabs (Figma 32874:676): one scrolling row of chips with a progress bar */
.bfcm-nav {
  display: contents;
}
.bfcm-nav__bar {
  display: none;
}
@media (max-width: 749px) {
  /* 16px side gutter instead of section 20px + container 20px */
  .home-bestsellers.home-bestsellers--bfcm {
    padding-inline: 16px;
  }
  .home-bestsellers--bfcm .home-bestsellers__container {
    padding-inline: 0;
  }
  .home-bestsellers--bfcm .bfcm-nav {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    padding: 15px 8px 12px;
    background: #e5e9ee;
    border-radius: 4px;
  }
  .home-bestsellers--bfcm .home-bestsellers__navigation {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    background: none;
    border-radius: 0;
  }
  .home-bestsellers--bfcm .home-bestsellers__navigation::-webkit-scrollbar {
    display: none;
  }
  .home-bestsellers--bfcm .home-bestsellers__nav-link,
  .home-bestsellers--bfcm button.home-bestsellers__nav-link {
    flex: 0 0 auto;
    border: 1px solid #9ea2ae;
    border-radius: 2px;
  }
  .home-bestsellers--bfcm .home-bestsellers__nav-link--active,
  .home-bestsellers--bfcm button.home-bestsellers__nav-link--active {
    border-color: #e1062c;
  }
  .home-bestsellers--bfcm .bfcm-nav__bar {
    display: block;
    height: 8px;
    margin-top: 11px;
    background: #b5b9bf;
    border-radius: 8px;
    overflow: hidden;
  }
  .home-bestsellers--bfcm .bfcm-nav__bar span {
    display: block;
    height: 100%;
    width: 30%;
    background: #2a2222;
    border-radius: 8px;
  }
}

/* BFCM header: theme header-actions (account popover + cart drawer) styled as the BFCM hexagon icons.
   header-actions forces clip-path: none, so the hexagon is a background SVG. */
.bfh header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bfh header-actions .cart-drawer {
  order: 1;
}
.bfh .header-actions__action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  padding: 0;
  color: #ffffff;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4' preserveAspectRatio='none'%3E%3Cpolygon points='1,0 3,0 4,2 3,4 1,4 0,2' fill='%234b5753'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.bfh .header-actions__action svg,
.bfh .account-button .account-button__icon {
  width: 20px;
  height: 20px;
}
.bfh .header-actions__action .svg-wrapper {
  width: auto;
  height: auto;
}
.bfh .header-actions__cart-icon {
  position: static;
  /* block + inline svg leaves a line-height gap under the icon, pushing it above centre */
  display: flex;
}
.bfh .header-actions__cart-icon .cart-bubble {
  --cart-bubble-size: 14px;
  top: 4px;
  right: 10px;
}
.bfh .cart-bubble__background {
  background: #e1062c;
}
.bfh .cart-bubble__text {
  color: #ffffff;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 9px;
  font-weight: 700;
}
@media (min-width: 990px) {
  .bfh header-actions {
    gap: 24px;
  }
  .bfh .header-actions__action {
    width: 62px;
    height: 56px;
  }
  .bfh .header-actions__action svg,
  .bfh .account-button .account-button__icon {
    width: 28px;
    height: 28px;
  }
  .bfh .header-actions__cart-icon .cart-bubble {
    top: 8px;
    right: 14px;
  }
}
/* Figma mobile shows only the cart */
@media (max-width: 989px) {
  .bfh header-actions .account-drawer,
  .bfh header-actions .account-popover {
    display: none;
  }
  .bfh .header-actions__action {
    width: 31px;
    height: 28px;
  }
  .bfh .header-actions__action svg {
    width: 19px;
    height: 19px;
  }
  .bfh .header-actions__cart-icon .cart-bubble {
    top: -2px;
    right: -2px;
  }
}
/* account popover positions itself with --header-padding, which only the main header defines */
.bfh {
  --header-padding: 12px;
}

/* BFCM trust strip: auto-scrolling marquee whenever the items don't fit the row (any width).
   layout/bfcm.liquid clones the items once and adds .bts-marquee, so sliding left by half loops seamlessly. */
.group-block:has(> .group-block__media-wrapper.bts-row):has(> .bts-marquee) {
  overflow: hidden;
}
.group-block:has(> .group-block__media-wrapper.bts-row) > .group-block-content.bts-marquee {
  width: max-content;
  overflow: visible;
  justify-content: flex-start;
  animation: bts-marquee 24s linear infinite;
}
.group-block:has(> .group-block__media-wrapper.bts-row) .bts-marquee .icon-text-item {
  flex: 0 0 auto;
  padding-inline: 16px;
}
.group-block:has(> .group-block__media-wrapper.bts-row) .bts-marquee .icon-text-item::after {
  display: block;
  margin: 0 0 0 16px;
}
.bts-marquee:hover {
  animation-play-state: paused;
}
@keyframes bts-marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .bts-marquee { animation: none !important; }
}

/* PDP new-design: "What to Expect" disclaimer styled like the support-boxes disclaimer, centred */
body.template-product-new-design .pdp-steps__note,
body.template-product-stage-new-design .pdp-steps__note {
  text-align: center !important;
  font-family: 'Libre Franklin', sans-serif !important;
  font-size: 13px;
  line-height: 1.5;
  color: #4B5753;
}
@media screen and (max-width: 749px) {
  body.template-product-new-design .pdp-steps__note,
  body.template-product-stage-new-design .pdp-steps__note {
    font-size: 12px;
  }
}
@media screen and (min-width: 990px) {
  body.template-product-new-design .pdp-steps__note,
  body.template-product-stage-new-design .pdp-steps__note {
    max-width: none;
    white-space: nowrap;
    font-size: 18px;
    line-height: 24px;
  }
}

/* Collection sub-heading copy: side gutters on mobile */
@media screen and (max-width: 749px) {
  .collection-sub-heading-libre p {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =========================================================
   Reviews page: Video testimonials ("Hear It Straight From Them")
   Figma 33441:3948 (desktop) / 33441:34593 (mobile)
   ========================================================= */
.shopify-section:has(.vt-slider) {
  background: #e5eeea;
}
.shopify-section:has(.vt-slider) .section-content-wrapper {
  gap: 0 !important;
  padding-block: 32px 32px !important;
  align-items: stretch !important;
}

/* Heading + intro */
.text-block.vt-heading {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 24px;
  text-align: center;
  gap: 8px;
}
.text-block.vt-heading > * {
  margin: 0;
  max-width: none;
  letter-spacing: 0 !important;
}
.shopify-section:has(.vt-slider) .text-block.vt-heading h2 {
  font-family: Gullia, serif !important;
  font-weight: 400;
  font-size: 40px !important;
  line-height: 48px;
  color: #4b5752;
  max-width: 400px;
  margin-inline: auto;
}
.shopify-section:has(.vt-slider) .text-block.vt-heading p {
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 500;
  font-size: 18px !important;
  line-height: 24px;
  color: #333;
  max-width: 400px;
  margin-inline: auto;
}

/* Slider */
.vt-slider {
  position: relative;
  width: 100%;
}
.vt-slider__arrows {
  display: none;
}
.vt-slider__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: -16px;
  padding-inline: 20px;
  scroll-padding-inline: 20px;
}
.vt-slider__track::-webkit-scrollbar {
  display: none;
}
.vt-slider__dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
}
.vt-slider--static .vt-slider__dots {
  display: none !important;
}
.vt-slider__arrow:disabled {
  cursor: default;
}
.vt-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50px;
  background: #d9d9d9;
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}
.vt-slider__dot.is-active {
  width: 16px;
  background: #4b5753;
}

/* Card */
.vt-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vt-card__media {
  position: relative;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: #4b5752;
}
.vt-card__poster,
.vt-card__video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.vt-card__video {
  z-index: 3;
  background: #000;
}
.vt-card__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 148px;
  background: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}
.vt-card__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0 0 0 3px;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
button.vt-card__play:hover {
  background: #fff;
}
.vt-card__play svg {
  width: 13px;
  height: 17px;
}
.vt-card__caption {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
}
.vt-card__media.is-playing :is(.vt-card__play, .vt-card__caption, .vt-card__poster),
.vt-card__media.is-playing::after {
  display: none;
}
.shopify-section:has(.vt-slider) .vt-card__name {
  margin: 0;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0;
  color: #fff;
}
.shopify-section:has(.vt-slider) .vt-card__verified {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0;
  color: #fff;
}
.vt-card__verified svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

/* Product chip */
.vt-card__product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: #f6f6f6;
  color: #222;
  text-decoration: none;
}
.vt-card__product-img {
  flex: 0 0 48px;
  width: 48px !important;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}
.vt-card__product-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shopify-section:has(.vt-slider) :is(.vt-card__product-title, .vt-card__product-price) {
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
}
.vt-card__product-title {
  color: #222;
}
.vt-card__product-price {
  color: #1f7a5a;
}
.vt-card__chevron {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: #000;
}

/* CTA row: button + social proof */

.shopify-section:has(.vt-slider) .group-block-content:has(.hero-trust-badge) {
  margin-top: 16px;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.shopify-section:has(.vt-slider) .group-block-content:has(.hero-trust-badge) > :is(.hero-trust-badge, :has(.hero-trust-badge)) {
  order: 2;
}
.shopify-section:has(.vt-slider) .group-block-content:has(.hero-trust-badge) .button {
  --button-angle-width: 20px;
  width: 270px;
  height: 51px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 500;
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0;
  background: #d9773f !important;
  color: #fff !important;
  border: 0 !important;
}
.shopify-section:has(.vt-slider) .group-block-content:has(.hero-trust-badge) .button:hover {
  background: #c4672f !important;
}
.shopify-section:has(.vt-slider) .hero-trust-badge {
  gap: 6px !important;
  margin: 0 !important;
}
.shopify-section:has(.vt-slider) .hero-trust-badge__img {
  width: 52px !important;
  height: auto !important;
}
.shopify-section:has(.vt-slider) .hero-trust-badge__content {
  gap: 4px !important;
  align-items: flex-start !important;
}
.shopify-section:has(.vt-slider) .hero-trust-badge__stars {
  gap: 0 !important;
}
.shopify-section:has(.vt-slider) .hero-trust-badge__star-img {
  width: 18px !important;
  height: 18px !important;
}
.shopify-section:has(.vt-slider) .hero-trust-badge__text {
  margin: 0;
  font-family: 'Libre Franklin', sans-serif !important;
  font-weight: 400;
  font-size: 14px !important;
  line-height: normal;
  letter-spacing: 0;
  color: #2e3a46;
  white-space: nowrap;
}
@media (min-width: 990px) {
  .shopify-section:has(.vt-slider) .section--page-width {
    grid-template-columns: minmax(40px, 1fr) min(1600px, calc(100% - 80px)) minmax(40px, 1fr);
  }
  .shopify-section:has(.vt-slider) .section-content-wrapper {
    padding-block: 56px 48px !important;
  }
  .text-block.vt-heading {
    margin-bottom: 32px;
    text-align: left;
    align-items: flex-start !important;
    gap: 16px;
  }
  .shopify-section:has(.vt-slider) .text-block.vt-heading h2 {
    font-size: 56px !important;
    line-height: 72px;
    max-width: none;
    margin-inline: 0;
  }
  .shopify-section:has(.vt-slider) .text-block.vt-heading p {
    font-size: 24px !important;
    line-height: 32px;
    max-width: 551px;
    margin-inline: 0;
  }
  .vt-slider__arrows {
    position: absolute;
    right: 0;
    top: -82px;
    display: flex;
    gap: 24px;
  }
  .vt-slider__arrow {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    color: #4b5753;
    cursor: pointer;
  }
  .vt-slider__arrow svg {
    width: 40px;
    height: 40px;
  }
  .vt-slider__track {
    gap: 24px;
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
  .vt-slider__dots {
    margin-top: 24px;
  }
  .vt-card {
    flex-basis: calc((100% - 96px) / 5);
    min-width: 260px;
  }
  .vt-card__media {
    height: 500px;
  }
  .shopify-section:has(.vt-slider) .vt-card__name {
    font-size: 18px;
    line-height: 22px;
  }
  .vt-card__product {
    padding: 8px 12px;
  }
  .shopify-section:has(.vt-slider) .vt-card__product-title {
    font-size: 16px;
    line-height: 18px;
  }
  .shopify-section:has(.vt-slider) .vt-card__product-price {
    font-size: 14px;
  }
  .shopify-section:has(.vt-slider) .group-block-content:has(.hero-trust-badge) {
    margin-top: 16px;
    flex-direction: row !important;
    gap: 16px !important;
  }
  .shopify-section:has(.vt-slider) .group-block-content:has(.hero-trust-badge) > :is(.hero-trust-badge, :has(.hero-trust-badge)) {
    order: 0;
  }
  .shopify-section:has(.vt-slider) .group-block-content:has(.hero-trust-badge) .button {
    --button-angle-width: 30px;
    width: 381px;
    height: 61px;
    font-size: 24px;
  }
  .shopify-section:has(.vt-slider) .hero-trust-badge {
    gap: 8px !important;
  }
  .shopify-section:has(.vt-slider) .hero-trust-badge__img {
    width: 64px !important;
  }
  .shopify-section:has(.vt-slider) .hero-trust-badge__content {
    gap: 8px !important;
  }
  .shopify-section:has(.vt-slider) .hero-trust-badge__star-img {
    width: 24px !important;
    height: 24px !important;
  }
  .shopify-section:has(.vt-slider) .hero-trust-badge__text {
    font-size: 18px !important;
  }
}
