/** Shopify CDN: Minification failed

Line 4737:0 Unexpected "{"
Line 4737:1 Expected identifier but found "%"
Line 4755:0 Unexpected "{"
Line 4755:1 Expected identifier but found "%"
Line 4756:28 Unexpected "{"
Line 4756:35 Expected ":"
Line 4756:63 Unexpected "{"
Line 4756:79 Expected ":"
Line 4757:1 Expected identifier but found "%"
Line 4759:0 Unexpected "{"
... and 76 more hidden warnings

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

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 {
  background-color: var(--color-input-hover-background);
}

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

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

.skip-to-content-link {
  position: absolute;
  overflow: hidden;
  height: 1px;
  left: -99999px;
  /* stylelint-disable-next-line declaration-no-important */
  word-wrap: normal !important;
}

.skip-to-content-link:focus {
  z-index: var(--layer-temporary);
  overflow: auto;
  width: auto;
  height: auto;
  padding: var(--padding-lg) var(--padding-4xl);
  left: var(--margin-lg);
  top: var(--margin-lg);
  background-color: var(--color-background);
  box-shadow: 0 0 0 var(--focus-outline-offset) var(--color-background);
}

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

.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 > * {
  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 > * {
  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 > * {
  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 > * {
  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 > * {
  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 > * {
  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 > * {
  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-primary, .button-secondary)),
.rte
  :is(p, ul, ol, table):not(.h1, .h2, .h3, .h4, .h5, .h6)
  a:where(:not(.button, .button-primary, .button-secondary)) {
  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: 1fr 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));
}

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

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

[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;
  }
}

.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.shopify-payment-button__button--unbranded {
  --text-align: center;

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

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

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

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

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

textarea,
input {
  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: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);
}

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

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

/* 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 {
  /* width and overflow forces children to shrink to parent width */
  --slide-width: round(up, 100%, 1px);

  display: flex;
  aspect-ratio: var(--gallery-aspect-ratio, var(--media-preview-ratio));
  max-height: var(--constrained-height);
  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;
  }
}

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 {
  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 calc(var(--animation-speed) * 0.5) var(--animation-easing) forwards;
    animation-delay: calc(var(--animation-speed) * 2);
  }

  .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 rgb(var(--color-border-rgb) / var(--media-border-opacity));
  }
}

.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;
  transition: opacity 0.3s ease;
}

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

deferred-media iframe {
  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);
}

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

@container (max-width: 70px) {
  .card-gallery:hover .quick-add__button {
    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(--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 (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-size: 22px;
  --checkbox-top: 50%;
  --checkbox-left: 1.5px;
  --checkbox-offset: 3px;
  --checkbox-border-radius: 7px;
  --checkbox-label-padding: 8px;
  --checkbox-path-opacity: 0;
  --checkbox-cursor: pointer;
  --checkbox-border: 1px solid rgb(var(--color-foreground-rgb) / var(--opacity-35-55));

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

  @media screen and (min-width: 750px) {
    --checkbox-size: 16px;
    --checkbox-border-radius: 5px;
    --checkbox-label-padding: 6px;
  }

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

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

.checkbox__input {
  position: absolute;
  opacity: 0;
  margin: 0;
  width: var(--checkbox-size);
  height: var(--checkbox-size);

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

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

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

/* 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-secondary) .quantity-selector {
  border-radius: var(--style-border-radius-buttons-secondary);
}

.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 {
  border-radius: var(--style-border-radius-buttons-primary);
}

.product-details .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 {
  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 (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);
  }
}

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

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

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

/* 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 (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 (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 {
  opacity: 0;
  animation: slide-reveal both linear;
  animation-timeline: var(--slideshow-timeline);

  @media (prefers-reduced-motion) {
    opacity: 1;
    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;
}

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

@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;
  }
}

.block-resource-list {
  display: flex;
  flex-direction: column;
  row-gap: var(--gap);
  min-width: 0;
  min-height: 0;
  container-type: inline-size;
  container-name: resource-list;
}

.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;
  -webkit-line-clamp: 3;
}

/* 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;
    -webkit-line-clamp: 3;
  }
}

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

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


/* --- COVERSTICK CART DRAWER BRANDING --- */

/* Background of the Drawer */
.drawer, 
.cart-drawer, 
.drawer__inner, 
.cart-drawer__content,
#CartDrawer {
    background-color: #002147 !important;
    color: #ffffff !important;
}

/* All Text, Titles, Prices, and Labels */
.drawer__heading, 
.cart-drawer .h2, 
.cart-item__name, 
.cart-item__price, 
.cart-item__details, 
.cart-drawer .price, 
.cart-drawer p,
.cart-drawer span,
.cart-drawer dl,
.cart-drawer dt,
.cart-drawer dd,
.cart-drawer label {
    color: #ffffff !important;
}

/* Icons: Close Button & Trash */
.drawer__close svg, 
.cart-drawer .icon-close, 
.cart-item__remove-button,
.cart-item__remove-button svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Checkout Button: Victory Red */
.cart__checkout-button, 
#checkout,
.cart-drawer__footer .button {
    background-color: #e31e24 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
}

/* Item Separator Lines */
.cart-item,
.drawer__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}


/* --- COVERSTICK PRODUCT PAGE TEXT FIX --- */

/* 1. Force Product Title and Price to White */
.product__title h1, 
.product__title,
.price,
.price-item,
.product__description,
.product__text,
.rte p {
    color: #ffffff !important;
}

/* 2. Fix for Quantity Selector Numbers */
.quantity__input {
    color: #ffffff !important;
}

/* 3. Ensure the 'Sold Out' button text is readable */
.product-form__submit span {
    color: #ffffff !important;
}

/* 4. Fix for the Header Icons (Search, Account, Cart) */
.header__icon svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}


/* --- NUCLEAR TITLE FIX --- */

/* Targets the specific ID and headings that themes often use to lock in black */
.product__title h1, 
.product__title *, 
[class*="product-title"], 
h1.h1, 
.h1 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important; /* Forces mobile browsers to comply */
}

/* Specifically for the main product name if it's inside a link */
.product__title a {
    color: #ffffff !important;
}


/* --- SURGICAL TITLE STRIKE --- */

/* This targets the exact hierarchy of a Shopify Product Page title */
.product__info-container .product__title h1,
.product__info-wrapper .product__title h1,
.product-single__title,
.main-product-wrapper h1 {
    color: #ffffff !important;
    --color-foreground: 255, 255, 255 !important;
    --color-base-text: 255, 255, 255 !important;
}

/* This targets the text if it is being controlled by a "Color Scheme" */
.color-scheme-1 h1, 
.color-scheme-2 h1,
.section-header h1 {
    color: #ffffff !important;
}


/* --- VICTORY RED BUTTON STRIKE --- */

/* Targets the main 'Sold Out' or 'Add to Cart' button */
.product-form__submit,
button[name="add"],
.shopify-payment-button__button--unbranded {
    background-color: #e31e24 !important;
    border: 1px solid #e31e24 !important;
    color: #ffffff !important;
    opacity: 1 !important; /* Removes the 'faded' look of sold out buttons */
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3) !important;
}

/* Forces the text inside the button to be White and Bold */
.product-form__submit span,
.product-form__submit {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

/* Adds a slight 'lift' effect when someone hovers over it */
.product-form__submit:hover {
    filter: brightness(1.1) !important;
    transform: scale(1.02) !important;
    transition: all 0.2s ease-in-out !important;
}


/* --- VICTORY RED BUTTON STRIKE --- */

/* Targets the main 'Sold Out' or 'Add to Cart' button */
.product-form__submit,
button[name="add"],
.shopify-payment-button__button--unbranded {
    background-color: #e31e24 !important;
    border: 1px solid #e31e24 !important;
    color: #ffffff !important;
    opacity: 1 !important; /* Removes the 'faded' look of sold out buttons */
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3) !important;
}

/* Forces the text inside the button to be White and Bold */
.product-form__submit span,
.product-form__submit {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

/* Adds a slight 'lift' effect when someone hovers over it */
.product-form__submit:hover {
    filter: brightness(1.1) !important;
    transform: scale(1.02) !important;
    transition: all 0.2s ease-in-out !important;
}


/* --- QUANTITY SELECTOR VARIABLE OVERRIDE --- */

/* This targets the specific variables the theme uses for input boxes */
.quantity, 
.quantity__input, 
.quantity__button {
    --color-foreground: 255, 255, 255 !important;
    --color-background: 0, 33, 71 !important; /* Oxford Navy RGB */
    --color-button: 255, 255, 255 !important;
    
    background-color: #002147 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Kill the blue hover and the gray background */
.quantity__button:hover {
    background-color: #e31e24 !important; /* Victory Red background on hover */
    color: #ffffff !important;
    border: none !important;
}

/* Force the plus and minus icons to stay white */
.quantity__button svg, 
.quantity__button svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Ensure the number '1' is white and visible */
.quantity__input {
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}


/* --- QUANTITY SELECTOR TOTAL RESET --- */

/* 1. Kill the Gray Background and Black Text */
.quantity, 
quantity-input, 
.quantity__button, 
.quantity__input {
    background-color: #002147 !important; /* Oxford Navy */
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
}

/* 2. Force the Number 1 to be White */
.quantity__input {
    background: transparent !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* 3. Kill the Blue Hover - Change it to Victory Red */
.quantity__button:hover, 
.quantity__button:focus,
.quantity__button:active {
    background-color: #e31e24 !important; /* Victory Red */
    color: #ffffff !important;
    border-color: #e31e24 !important;
    box-shadow: none !important;
}

/* 4. Force the plus (+) and minus (-) symbols to stay white */
.quantity__button svg, 
.quantity__button svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* 5. Clean up the edges */
.quantity:before, .quantity:after {
    display: none !important; /* Removes theme-specific shadows/borders */
}


/* --- QUANTITY SELECTOR WHITE TEXT LOCK --- */

/* This forces the plus, minus, and number to stay white regardless of background */
.quantity__button, 
.quantity__input, 
.quantity-selector button,
.quantity-selector input {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important; /* Forces white on mobile/Safari */
    opacity: 1 !important;
}

/* This forces the SVG icons (the actual + and - shapes) to stay white */
.quantity__button svg, 
.quantity__button svg path,
.quantity-selector svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
}


/* --- HEADER LOGO SIZE & SPACING FIX --- */

/* 1. Shrink the Logo image */
.header__heading-logo, 
.header__heading-logo-wrapper img {
    height: auto !important;
    max-width: 120px !important; /* Adjust this number to make it bigger or smaller */
}

/* 2. Reduce the empty space in the header */
.header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* 3. Move the Product Info up higher */
.product__info-wrapper {
    padding-top: 0 !important;
}


/* --- PRODUCT PAGE LOGO & HEADER COMPRESSION --- */

/* 1. Force the Logo image to be much smaller */
.header__heading-logo, 
.header__heading-logo-wrapper img,
[class*="header__logo"] img {
    max-height: 50px !important; /* Forces the logo to stay short */
    width: auto !important;
    max-width: 100px !important;
}

/* 2. Remove all extra padding from the header container */
.header, 
.header-wrapper,
#shopify-section-header {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    min-height: 0 !important; /* Removes theme-forced tall headers */
}

/* 3. Pull the Product Title and Price even higher */
.product__info-container,
.product__info-wrapper {
    margin-top: -20px !important; /* Pulls the content up toward the header */
    padding-top: 0 !important;
}


/* --- ABSOLUTE LOGO SHRINK --- */

/* This shrinks the image AND the container it sits in */
.header__heading-logo-wrapper,
.header__heading-link,
.header__heading-logo {
    display: block !important;
    height: 60px !important; /* This is the key - change this to 40px if it's still too big */
    width: auto !important;
}

.header__heading-logo-wrapper img {
    height: 100% !important;
    width: auto !important;
    max-height: 60px !important; 
    object-fit: contain !important;
}

/* This removes the massive empty space around the logo */
.header {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    grid-template-rows: min-content !important;
}

/* This pulls the CoverStick title up to fill the gap */
.section-header {
    margin-bottom: 10px !important;
}/* --- PRODUCT INFO IMAGE/LOGO SHRINK --- */

/* Targets images specifically inside the product info column */
.product__info-container .image-block,
.product__info-container .image-block img,
.product__info-container .product__text img,
.product__info-container img {
    max-width: 120px !important; /* Forces the logo to a professional size */
    height: auto !important;
    margin-bottom: 10px !important; /* Reduces gap before the title */
    margin-left: 0 !important; /* Keeps it aligned left with the title */
    display: inline-block !important;
}

/* Reduces the massive empty gap between the image and the price */
.product__info-container > * {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}


/* --- PRODUCT LOGO CONTAINER & RED BORDER FIX --- */

/* 1. Shrink the Red Border Box */
.product__info-container .image-block, 
[class*="image-block"], 
[class*="logo-block"] {
    max-width: 150px !important; /* Limits the width of the red border */
    border-width: 1px !important; /* thins the red border if it was too thick */
    padding: 5px !important;     /* reduces space inside the red border */
    margin: 0 0 10px 0 !important; /* aligns it and adds small gap below */
    display: inline-block !important;
}

/* 2. Shrink the actual image inside that box */
.product__info-container .image-block img,
[class*="image-block"] img {
    max-height: 40px !important; /* Keeps the logo short */
    width: auto !important;
    display: block !important;
}

/* 3. Pull the Coverstick title up closer to the logo */
.product__title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* --- RESTORE HEADER LOGO --- */
.header__heading-logo-wrapper,
.header__heading-logo,
.header__heading-link img {
    height: auto !important;
    max-height: none !important; /* Removes the limit */
    width: 250px !important;    /* Adjust this to make your main logo as big as you want */
    max-width: 100% !important;
}

.header {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}


/* --- UNIVERSAL PRODUCT LOGO & RED BOX FIX --- */

/* This targets the 'Container' that holds the logo and the red border */
.product__info-container .image-block,
.product__info-container .image-block--wrapper,
.product__info-container .media-radius,
.product__info-container [data-block-handle="image"] {
    max-width: 120px !important;  /* Shrinks the width of the red box */
    height: auto !important;
    margin-left: 0 !important;    /* Keeps it aligned left */
    margin-right: auto !important;
    padding: 0 !important;
}

/* This targets the actual IMAGE inside that red box */
.product__info-container .image-block img,
.product__info-container .image-block--wrapper img,
.product__info-container img[class*="image"] {
    max-height: 50px !important;  /* Shrinks the logo height */
    width: auto !important;
    border: 2px solid #e31e24 !important; /* Forces the red border to be small */
    padding: 8px !important;      /* Space between logo and red line */
}

/* This shrinks the gap between the red box and the CoverStick title */
.product__info-container > * {
    margin-bottom: 5px !important;
}


/* --- TIGHT-FIT PRODUCT LOGO & BORDER --- */

/* --- THE FINAL CLEAN BRANDING --- */

/* 1. DESKTOP: THE PERFECT 45% LOOK */
.image-block {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important; 
    height: 100% !important;
    position: relative !important;
    margin-left: 8% !important; 
}

.image-block img {
    height: 45% !important; 
    width: auto !important;
    display: block !important;
}

/* 2. MOBILE: THE TINY 60px ICON */
@media screen and (max-width: 749px) {
    .image-block, 
    [class*="image-block--"] {
      position: absolute !important;
      top: 10px !important; 
      left: 10px !important;
      width: 60px !important; 
      height: 60px !important;
      margin: 0 !important;
      padding: 0 !important;
      transform: none !important;
      z-index: 999 !important;
    }

    .image-block img, 
    [class*="image-block--"] img {
      width: 60px !important;
      height: 60px !important;
      max-width: 60px !important;
      max-height: 60px !important;
      object-fit: contain !important;
      display: block !important;
    }
}


/* --- MASTER LOGO SIZING: FINAL VERSION --- */

/* 1. DESKTOP: The Perfect 45% Fit */
[class*="image-block--"] {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important; 
    height: 100% !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 8% !important; 
    width: auto !important;
    z-index: 10 !important;
}

[class*="image-block--"] img {
    height: 45vh !important; /* Forces the height you liked */
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* 2. MOBILE: The Tiny Icon Look */
@media screen and (max-width: 749px) {
    [class*="image-block--"] {
      top: 10px !important; 
      left: 10px !important;
      transform: none !important;
      width: 60px !important; 
      height: 60px !important;
    }

    [class*="image-block--"] img {
      height: 60px !important;
      width: 60px !important;
      max-height: 60px !important;
      max-width: 60px !important;
    }
}


/* --- WILDCARD LOGO OVERRIDE --- */

/* 1. DESKTOP: Force the 45% Sizing */
[class*="image-block"] {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important; 
    height: 100% !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 8% !important; 
    width: auto !important;
    z-index: 10 !important;
}

[class*="image-block"] img {
    height: 45vh !important; /* The desktop height you liked */
    width: auto !important;
    max-width: none !important;
    display: block !important;
}

/* 2. MOBILE: Force the Tiny 60px Icon */
@media screen and (max-width: 749px) {
    [class*="image-block"] {
      position: absolute !important;
      top: 15px !important; /* Pins to top left corner */
      left: 15px !important;
      transform: none !important;
      width: 60px !important; 
      height: 60px !important;
      display: block !important;
    }

    [class*="image-block"] img {
      height: 60px !important;
      width: 60px !important;
      max-height: 60px !important;
      max-width: 60px !important;
    }
}


/* --- THE FINAL LOGO SCALE: LARGE DESKTOP / SMALL MOBILE --- */

/* 1. DESKTOP: Scale the logo based on Screen Height */
[class*="image-block"] {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important; 
    height: 100% !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 8% !important; 
    width: auto !important;
    z-index: 10 !important;
}

[class*="image-block"] img {
    /* 45vh = 45% of the total screen height. This makes it massive. */
    height: 45vh !important; 
    width: auto !important;
    max-width: none !important;
    display: block !important;
    object-fit: contain !important;
}

/* 2. MOBILE: Scale the logo down to a clean Icon size */
@media screen and (max-width: 749px) {
    [class*="image-block"] {
      position: absolute !important;
      top: 15px !important; 
      left: 15px !important;
      transform: none !important;
      width: 70px !important; /* Fixed width for mobile */
      height: 70px !important; /* Fixed height for mobile */
      display: block !important;
    }

    [class*="image-block"] img {
      height: 100% !important;
      width: 100% !important;
      max-height: 70px !important;
      max-width: 70px !important;
    }
}


/* --- THE FINAL MASTER LOGO FIX --- */

/* 1. DESKTOP: Positioned Up and Left at 45% size */
.image-block, 
[class*="image-block--"] {
    position: absolute !important;
    top: 2% !important;   /* Pulls it way UP */
    left: 2% !important;  /* Pulls it way LEFT */
    display: flex !important;
    width: auto !important;
    height: auto !important;
    z-index: 100 !important;
    margin: 0 !important;
    transform: none !important;
}

.image-block img, 
.image-block__image {
    height: 45vh !important; /* Your perfect desktop height */
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0px 4px 12px rgba(0,0,0,0.2)) !important;
}

/* 2. MOBILE: Independent Tiny Icon size */
@media screen and (max-width: 749px) {
    .image-block, 
    [class*="image-block--"] {
        top: 10px !important;
        left: 10px !important;
        width: 60px !important;
        height: 60px !important;
    }

    .image-block img, 
    .image-block__image {
        height: 60px !important;
        width: 60px !important;
        max-height: 60px !important;
        max-width: 60px !important;
    }
}


{% liquid
  assign block_settings = block.settings
  assign ratio = 1

  case block_settings.image_ratio
    when 'landscape'
      assign ratio = '16 / 9'
    when 'portrait'
      assign ratio = '4 / 5'
    when 'adapt'
      assign ratio = block_settings.image.aspect_ratio
  endcase

  if ratio == 0 or ratio == null
    assign ratio = 1
  endif
%}

{% capture class %}
  image-block image-block--{{ block.id }} image-block--height-{{ block_settings.height }} spacing-style size-style
{% endcapture %}

{% capture style %}
  --ratio: {{ ratio }};
  {% if block_settings.width == 'custom' %}
    --custom-width: {{ block_settings.custom_width }}%;
  {% else %}
    --custom-width: 100%;
  {% endif %}
  {% render 'size-style', settings: block_settings %}
  {% render 'spacing-style', settings: block_settings %}
{% endcapture %}

{% capture image_border_style %}
  --ratio: {{ ratio }};
  {% render 'border-override', settings: block_settings %}
{% endcapture %}

{% liquid
  assign media_width_desktop = '100vw'
  assign media_width_mobile = '100vw'
  assign sizes = 'auto, (min-width: 750px) ' | append: media_width_desktop | append: ', ' | append: media_width_mobile
  assign widths = '240, 352, 832, 1200, 1600, 1920, 2560, 3840'
%}

{% capture image %}
  {%- if block_settings.image -%}
    {{
      block_settings.image
      | image_url: width: 3840
      | image_tag:
        width: block_settings.image.width,
        widths: widths,
        height: block_settings.image.height,
        class: 'image-block__image border-style',
        style: image_border_style,
        sizes: sizes
    }}
  {%- else -%}
    <div class="placeholder-image border-style size-style" style="{{ image_border_style }}">
      {{ 'detailed-apparel-1' | placeholder_svg_tag: 'hero__image' }}
    </div>
  {%- endif -%}
{% endcapture %}

{% if block_settings.link == blank %}
  <div
    class="{{ class }}"
    style="{{ style }}"
    {{ block.shopify_attributes }}
  >
    {{ image }}
  </div>
{% else %}
  <a
    href="{{ block_settings.link }}"
    class="{{ class }}"
    style="{{ style }}"
    {{ block.shopify_attributes }}
  >
    {{ image }}
  </a>
{% endif %}

{% stylesheet %}
  .image-block {
    /* POSITIONS THE BLOCK AT THE ABSOLUTE LEFT EDGE */
    position: absolute !important;
    left: 0 !important; 
    top: 50% !important;
    transform: translateY(-50%) !important;
    
    display: flex !important;
    width: 800px !important; /* Huge Size */
    max-width: 50vw !important;
    z-index: 5;
  }

  .image-block__image {
    object-fit: contain !important; 
    aspect-ratio: var(--ratio);
    width: 100% !important;
    height: auto !important;
    display: block;
    margin-left: 0 !important;
  }

  /* Adjust for Mobile so it doesn't cover everything */
  @media screen and (max-width: 749px) {
    .image-block {
      width: 250px !important;
      left: 0 !important;
      top: 20% !important;
    }
  }
{% endstylesheet %}

{% schema %}
{
  "name": "t:names.image",
  "tag": null,
  "settings": [
    {
      "type": "image_picker",
      "id": "image",
      "label": "t:settings.image"
    },
    {
      "type": "url",
      "id": "link",
      "label": "t:settings.link"
    },
    {
      "type": "header",
      "content": "t:content.size"
    },
    {
      "type": "select",
      "id": "image_ratio",
      "label": "t:settings.aspect_ratio",
      "options": [
        { "value": "adapt", "label": "t:options.auto" },
        { "value": "portrait", "label": "t:options.portrait" },
        { "value": "square", "label": "t:options.square" },
        { "value": "landscape", "label": "t:options.landscape" }
      ],
      "default": "adapt"
    },
    {
      "type": "select",
      "id": "width",
      "label": "t:settings.width_desktop",
      "options": [
        { "value": "fit-content", "label": "t:options.fit_content" },
        { "value": "fill", "label": "t:options.fill" },
        { "value": "custom", "label": "t:options.custom" }
      ],
      "default": "fill"
    },
    {
      "type": "range",
      "id": "custom_width",
      "label": "t:settings.custom_width",
      "min": 10,
      "max": 100,
      "step": 1,
      "unit": "%",
      "default": 100
    },
    {
      "type": "select",
      "id": "width_mobile",
      "label": "t:settings.width_mobile",
      "options": [
        { "value": "fit-content", "label": "t:options.fit_content" },
        { "value": "fill", "label": "t:options.fill" },
        { "value": "custom", "label": "t:options.custom" }
      ],
      "default": "fill"
    },
    {
      "type": "range",
      "id": "custom_width_mobile",
      "label": "t:settings.custom_width",
      "min": 10,
      "max": 100,
      "step": 1,
      "unit": "%",
      "default": 100
    },
    {
      "type": "select",
      "id": "height",
      "label": "t:settings.height",
      "options": [
        { "value": "fit", "label": "t:options.fit_content" },
        { "value": "fill", "label": "t:options.fill" }
      ],
      "default": "fit"
    }
  ],
  "presets": [
    {
      "name": "t:names.image",
      "category": "t:categories.basic"
    }
  ]
}
{% endschema %}


/* --- THE ULTIMATE DESKTOP/MOBILE SPLIT --- */

/* 1. DESKTOP: This targets the block by its generic tag to force 45% height */
div[class*="image-block"] {
    position: absolute !important;
    top: 2% !important;
    left: 2% !important;
    width: auto !important;
    height: 45vh !important; /* Forces the large size back */
    display: block !important;
    z-index: 999 !important;
    margin: 0 !important;
}

div[class*="image-block"] img {
    height: 100% !important; /* Fills the 45vh container */
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
}

/* 2. MOBILE: This overrides the desktop rule to make it a tiny icon */
@media screen and (max-width: 749px) {
    div[class*="image-block"] {
        top: 10px !important;
        left: 10px !important;
        width: 60px !important; /* The tiny size you want */
        height: 60px !important;
    }

    div[class*="image-block"] img {
        height: 60px !important;
        width: 60px !important;
        max-height: 60px !important;
        max-width: 60px !important;
    }
}


/* --- THE ULTIMATE DESKTOP/MOBILE SYNC --- */

/* 1. DESKTOP: Force the Container AND the Image to be Large */
.banner__content .image-block,
.banner__content [class*="image-block"] {
    position: absolute !important;
    top: 5% !important;   /* Pushes it UP */
    left: 2% !important;  /* Pushes it LEFT */
    width: auto !important;
    height: 45vh !important; /* Sets the height to 45% of screen */
    display: flex !important;
    z-index: 999 !important;
    transform: none !important;
    margin: 0 !important;
}

/* This forces the image to fill that 45vh space */
.banner__content [class*="image-block"] img {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    min-height: 300px !important; /* Safety floor to prevent 'tiny' look */
    object-fit: contain !important;
}

/* 2. MOBILE: Force it to be a tiny corner icon */
@media screen and (max-width: 749px) {
    .banner__content .image-block,
    .banner__content [class*="image-block"] {
        top: 10px !important;
        left: 10px !important;
        width: 60px !important; 
        height: 60px !important;
    }

    .banner__content [class*="image-block"] img {
        height: 60px !important;
        width: 60px !important;
        min-height: 0 !important;
    }
}


/* --- FRESH START: LOGO POSITION & SIZE --- */

/* 1. DESKTOP: THE LARGE UP-LEFT LOOK */
.banner__content [class*="image-block"] {
    position: absolute !important;
    top: 2% !important;   /* Pushes it UP */
    left: 2% !important;  /* Pushes it LEFT */
    width: auto !important;
    height: 45vh !important; /* The 45% size you liked */
    display: flex !important;
    z-index: 99 !important;
    transform: none !important;
    margin: 0 !important;
}

.banner__content [class*="image-block"] img {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
}

/* 2. MOBILE: THE TINY ICON */
@media screen and (max-width: 749px) {
    .banner__content [class*="image-block"] {
        top: 10px !important;
        left: 10px !important;
        width: 60px !important; 
        height: 60px !important;
    }

    .banner__content [class*="image-block"] img {
        height: 60px !important;
        width: 60px !important;
    }
}


/* --- THE ULTIMATE GRID BREAKER --- */

/* 1. DESKTOP: FORCE TO TOP-LEFT */
.banner__content [class*="image-block"],
.image-block--wrapper {
    position: absolute !important;
    top: 10px !important;    /* Forces it UP */
    left: 10px !important;   /* Forces it LEFT */
    
    /* These two lines "break" the center-lock */
    align-self: flex-start !important; 
    justify-self: flex-start !important;

    width: auto !important;
    height: 45vh !important; /* Your perfect desktop size */
    z-index: 999 !important;
    margin: 0 !important;
    transform: none !important;
}

.banner__content [class*="image-block"] img {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    display: block !important;
}

/* 2. MOBILE: FORCE TO TINY ICON */
@media screen and (max-width: 749px) {
    .banner__content [class*="image-block"] {
        top: 5px !important;
        left: 5px !important;
        width: 60px !important; 
        height: 60px !important;
    }
    .banner__content [class*="image-block"] img {
        height: 60px !important;
        width: 60px !important;
    }
}


/* --- PIXEL FORCE: LARGE DESKTOP / SMALL MOBILE --- */

/* 1. DESKTOP: THE LARGE LEFT-SIDE LOOK */
.banner__content [class*="image-block"] {
    position: absolute !important;
    top: 20px !important;   /* Pushes it UP */
    left: 20px !important;  /* Pushes it LEFT */
    
    /* Break the center-lock */
    align-self: flex-start !important;
    justify-self: flex-start !important;

    width: auto !important;
    height: 450px !important; /* FORCED TALL HEIGHT */
    display: flex !important;
    z-index: 999 !important;
    margin: 0 !important;
    transform: none !important;
}

.banner__content [class*="image-block"] img {
    height: 450px !important; /* MATCHES CONTAINER */
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    display: block !important;
}

/* 2. MOBILE: THE TINY ICON */
@media screen and (max-width: 749px) {
    .banner__content [class*="image-block"] {
        top: 10px !important;
        left: 10px !important;
        height: 80px !important; /* FORCED SMALL HEIGHT */
        width: auto !important;
    }

    .banner__content [class*="image-block"] img {
        height: 80px !important;
        width: auto !important;
        max-height: 80px !important;
    }
}


/* Center and resize header logo */
.header__heading-logo {
  max-width: 150px; /* Adjust this value - try 120px, 150px, 180px, etc. */
  margin: 0 auto;
}

.header__heading {
  text-align: center;
  justify-content: center;
}

.header__heading-link {
  margin: 0 auto;
}


/* Resize and center header logo */
.header__heading-logo {
  max-width: 150px !important;
  width: 150px !important;
}

.header__heading-logo img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
}

/* Center the logo in the header */
.header__heading {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.header__heading-link {
  margin: 0 auto !important;
}


/* Force left-side hero image (logo) to stay small and anchored */
.hero__media:first-child img,
.banner__media:first-child img,
.collage__item:first-child img {
    max-width: 280px;        /* controls logo size */
    width: auto;
    height: auto;
    object-fit: contain;
    margin-left: 0;
    padding-left: 20px;      /* spacing from the edge */
    display: block;
}

/* Prevent Shopify from stretching both images to equal height */
.hero__media,
.banner__media,
.collage__item {
    align-items: flex-start !important;
}

/* Give the right-side hero image full dominance */
.hero__media:last-child img,
.banner__media:last-child img,
.collage__item:last-child img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* Make the left-side hero logo 20x bigger */
.hero__media:first-child img,
.banner__media:first-child img,
.collage__item:first-child img {
    max-width: 5600px;   /* 20x bigger */
    width: auto;
    height: auto;
    object-fit: contain;
    margin-left: 0;
    padding-left: 20px;
    display: block;
}

/* Prevent Shopify from forcing equal heights */
.hero__media,
.banner__media,
.collage__item {
    align-items: flex-start !important;
}

/* Keep the right-side hero image dominant */
.hero__media:last-child img,
.banner__media:last-child img,
.collage__item:last-child img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* Horizon theme — force left hero image to enlarge and anchor left */
.section-hero .hero__media--left img {
    width: auto !important;
    height: auto !important;
    max-width: 5000px !important; /* 20x bigger */
    object-fit: contain !important;
    margin-left: 0 !important;
    padding-left: 20px !important;
    display: block !important;
}

/* Prevent Horizon from equalizing heights */
.section-hero .hero__media--left,
.section-hero .hero__media--right {
    align-items: flex-start !important;
}

/* Keep right-side hero image normal */
.section-hero .hero__media--right img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}


/* Force the hero image block to enlarge and anchor left */
.section-hero .image-block img {
    max-width: 5000px !important;   /* 20x bigger */
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin-left: 0 !important;
    padding-left: 20px !important;
    display: block !important;
}

/* Prevent Horizon from resizing or centering the image */
.section-hero .image-block {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
}


/* Make the center "View all" button smaller in the Collection list section */
.collection-list .button,
.collection-list a.button {
  padding: 8px 14px !important;
  min-height: auto !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
}


/* HORIZON: shrink the centered "View all" control in Collection list / Collections section */
.collection-list-view-all a,
.collection-list-view-all .button,
.collection-list-view-all .btn,
.collection-list-view-all .link {
  font-size: 13px !important;
  padding: 6px 12px !important;
  min-height: auto !important;
  line-height: 1.1 !important;
}

/* If it's styled like a text link instead of a button */
.collection-list-view-all a {
  text-underline-offset: 3px;
}


/* Horizon sometimes renders it as a centered link with no button classes */
.center.collection-list-view-all a {
  font-size: 13px !important;
  padding: 6px 12px !important;
}


/* HORIZON: shrink the centered "View all / Shop all" control in Collections/Collection list sections */
.shopify-section .section__footer a,
.shopify-section .section-footer a,
.shopify-section .view-all a,
.shopify-section .collection-list__view-all a,
.shopify-section .collection-list-view-all a {
  font-size: 13px !important;
  padding: 6px 12px !important;
  line-height: 1.1 !important;
}

/* If it's styled like a button */
.shopify-section .section__footer .button,
.shopify-section .section-footer .button,
.shopify-section .view-all .button,
.shopify-section .collection-list__view-all .button,
.shopify-section .collection-list-view-all .button {
  font-size: 13px !important;
  padding: 6px 12px !important;
  min-height: auto !important;
}


/* Shrink the "Coming soon" logo image wherever it appears */
img[src*="Coming_soon_logo.png"]{
  width: 140px !important;   /* change this number */
  height: auto !important;
  max-width: 100% !important;
  display: block;
  margin: 0 auto;            /* keeps it centered */
}

/* Slightly larger on desktop */
@media (min-width: 990px){
  img[src*="Coming_soon_logo.png"]{
    width: 170px !important; /* change this number */
  }
}


/* Shrink the *surrounding box* that contains the Coming Soon logo */
.shopify-section:has(img[src*="Coming_soon_logo.png"]),
.shopify-section :has(> img[src*="Coming_soon_logo.png"]) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* If it’s inside a card/block with padding */
.shopify-section :has(img[src*="Coming_soon_logo.png"]) {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
}

/* If there’s a centered “content wrapper” adding spacing */
.shopify-section :has(img[src*="Coming_soon_logo.png"]) > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* Target ONLY the product card that uses the Coming Soon image */
.card:has(img[src*="Coming_soon_logo"]) .card__content{
  padding-top: 10px !important;   /* tighten */
  padding-bottom: 10px !important;
}

/* Optional: tighten the title/price spacing */
.card:has(img[src*="Coming_soon_logo"]) .card__heading{
  margin: 6px 0 4px !important;
}

.card:has(img[src*="Coming_soon_logo"]) .price{
  margin-top: 0 !important;
}

/* Optional: make the whole card less tall by removing forced aspect-ratio container space */
.card:has(img[src*="Coming_soon_logo"]) .card__media,
.card:has(img[src*="Coming_soon_logo"]) .media{
  aspect-ratio: 1 / 1 !important;   /* forces square image box */
  height: auto !important;
}


/* FIX: stop Horizon from forcing the product card content box to be tall in the NEW PRODUCT section */
#shopify-section-template--20364316049630__main .card__content{
  height: auto !important;
  aspect-ratio: auto !important;
}

/* Optional: keep spacing clean */
#shopify-section-template--20364316049630__main .card__content{
  padding: 12px 0 !important;
}


#shopify-section-template--20364316049630__main .card__heading{
  margin: 6px 0 4px !important;
}
#shopify-section-template--20364316049630__main .price{
  margin-top: 0 !important;
}


#shopify-section-template--20364316049630__main .card__image-wrapper{
  max-height: 420px;
}
#shopify-section-template--20364316049630__main .card__image-wrapper img{
  height: 100%;
  object-fit: contain;
}


/* CONTACT PAGE: match section spacing + alignment */
main[data-template*="contact"] .page-width {
  max-width: var(--page-width);
}

main[data-template*="contact"] .shopify-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* CONTACT FORM: match your card/section look */
main[data-template*="contact"] form,
main[data-template*="contact"] .contact,
main[data-template*="contact"] .contact__wrapper {
  background: transparent;
}


main[data-template*="contact"] form {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 24px;
}


/* =========================
   CONTACT PAGE FORM STYLES
   ========================= */

/* Target common Shopify/Horizon input classes */
main[data-template*="contact"] :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select,
  .field__input,
  .input__field
){
  background: rgba(255,255,255,0.08) !important;   /* dark, matches navy site */
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
  border-radius: 12px;
}

/* Placeholder text readable */
main[data-template*="contact"] :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  .field__input,
  .input__field
)::placeholder{
  color: rgba(255,255,255,0.65) !important;
}

/* Fix the bad hover/focus behavior */
main[data-template*="contact"] :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select,
  .field__input,
  .input__field
):hover{
  background: rgba(255,255,255,0.10) !important;
}

main[data-template*="contact"] :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select,
  .field__input,
  .input__field
):focus,
main[data-template*="contact"] :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select,
  .field__input,
  .input__field
):focus-visible{
  background: rgba(255,255,255,0.10) !important;   /* do NOT turn bright blue */
  color: #fff !important;
  border-color: rgba(255,255,255,0.55) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.18) !important;
}

/* Autofill (Chrome) so it doesn't go yellow/blue */
main[data-template*="contact"] input:-webkit-autofill,
main[data-template*="contact"] textarea:-webkit-autofill{
  -webkit-text-fill-color: #fff !important;
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0px 1000px rgba(255,255,255,0.08) inset !important;
}

/* Submit button to match */
main[data-template*="contact"] button,
main[data-template*="contact"] .button{
  border-radius: 14px;
}


/* =========================
   PRODUCT PAGE: Quantity UI
   Match Contact form fields
   ========================= */

main[data-template*="product"] :is(.quantity, .quantity-input, .product-quantity) {
  border-radius: 12px;
}

/* The number field */
main[data-template*="product"] :is(
  .quantity__input,
  input[type="number"][name="quantity"],
  .quantity input[type="number"]
){
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
  border-radius: 12px !important;
}

/* Plus / minus buttons */
main[data-template*="product"] :is(
  .quantity__button,
  .quantity button,
  button[name="plus"],
  button[name="minus"]
){
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
  border-radius: 12px !important;
}

/* Hover */
main[data-template*="product"] :is(
  .quantity__input,
  .quantity__button,
  input[type="number"][name="quantity"]
):hover{
  background: rgba(255,255,255,0.10) !important;
}

/* Focus (fix the “blue fill you can’t read” issue) */
main[data-template*="product"] :is(
  .quantity__input,
  .quantity__button,
  input[type="number"][name="quantity"]
):focus,
main[data-template*="product"] :is(
  .quantity__input,
  .quantity__button,
  input[type="number"][name="quantity"]
):focus-visible{
  background: rgba(255,255,255,0.10) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.55) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.18) !important;
}

/* Make sure +/- icons (often SVG) inherit the white color */
main[data-template*="product"] :is(.quantity__button svg, .quantity__button path){
  fill: currentColor !important;
  stroke: currentColor !important;
}


/* FIX: jumbled "Products" heading in Search drawer/modal */
#SearchModal .predictive-search__heading,
#SearchDrawer .predictive-search__heading,
.predictive-search__heading,
.search__results-title,
.search__heading {
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-transform: none !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-shadow: none !important;
  filter: none !important;
  font-kerning: normal;
  font-variant-ligatures: none;
}

/* Kill any duplicate/outline heading effects */
#SearchModal .predictive-search__heading::before,
#SearchModal .predictive-search__heading::after,
#SearchDrawer .predictive-search__heading::before,
#SearchDrawer .predictive-search__heading::after,
.predictive-search__heading::before,
.predictive-search__heading::after {
  content: none !important;
}


/* SEARCH: fix "Products" wrapping/jumbling in predictive search */
#SearchModal :is(.predictive-search__heading, .predictive-search__result-group-title, .predictive-search__results-title),
#SearchDrawer :is(.predictive-search__heading, .predictive-search__result-group-title, .predictive-search__results-title),
:where(.predictive-search) :is(.predictive-search__heading, .predictive-search__result-group-title, .predictive-search__results-title){
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 160px !important;     /* prevents narrow column wrap */
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}


/* SEARCH RESULTS: prevent "Products" heading from breaking into two lines */
main[data-template*="search"] .product-grid-container :is(
  .predictive-search__heading,
  .product-grid__title,
  .results-list__title,
  .collection-title,
  .section-title,
  h1, h2, h3
){
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Most important: make the heading span the full grid width (so it doesn't get a tiny column) */
main[data-template*="search"] .product-grid-container :is(
  .product-grid__title,
  .results-list__title,
  .collection-title,
  .section-title,
  h2
){
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  white-space: nowrap !important;
}


main[data-template*="search"] .product-grid-container .collection-wrapper{
  grid-template-columns: 1fr !important;
}


/* COLLECTION GRID: make title + price look like a button */
.product-grid .card__content{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  padding: 12px 18px !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 14px !important;

  background: rgba(255,255,255,0.06);
  width: fit-content;
  margin: 14px auto 0; /* centers it */
}

/* Optional: on hover, give it a little “button” feedback */
.product-grid .card-wrapper:hover .card__content{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.35);
}


/* COLLECTION GRID: red outline + subtle shadow like the big box */
.product-grid .card__content{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  padding: 12px 18px !important;
  width: fit-content;
  margin: 14px auto 0;

  /* Red border like your section accents */
  border: 2px solid #d11f2a !important;
  border-radius: 14px !important;

  /* Soft glow/shadow */
  background: rgba(255,255,255,0.06);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.35),
    0 0 0 4px rgba(209,31,42,0.10) !important;
}

/* Hover: a bit more pop */
.product-grid .card-wrapper:hover .card__content{
  box-shadow:
    0 14px 30px rgba(0,0,0,0.40),
    0 0 0 5px rgba(209,31,42,0.16) !important;
}


/* COLLECTION GRID: big card gets red border + shadow always, brighter on hover */
.product-grid .card-wrapper{
  border: 2px solid #d11f2a;
  border-radius: 18px;
  box-shadow:
    0 12px 26px rgba(0,0,0,0.40),
    0 0 0 4px rgba(209,31,42,0.10);
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}

/* keep inner card corners aligned */
.product-grid .card,
.product-grid .card__inner,
.product-grid .card__media{
  border-radius: 16px;
  overflow: hidden;
}

/* Hover: brighter border + stronger glow */
.product-grid .card-wrapper:hover{
  border-color: #ff2a3a;
  box-shadow:
    0 16px 34px rgba(0,0,0,0.45),
    0 0 0 6px rgba(255,42,58,0.18);
  transform: translateY(-2px);
}


/* GLOBAL: add shadow/glow to logos (header + coming soon images) */
img[src*="logo"],
img[src*="Logo"],
img[src*="coming"],
img[src*="Coming"],
img[alt*="CoverStick"],
img[src*="Coming_soon_logo"]{
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35))
          drop-shadow(0 0 10px rgba(255,42,58,0.18)) !important;
}

/* Slightly stronger on hover (optional) */
a:hover img[src*="logo"],
a:hover img[src*="Logo"],
a:hover img[src*="coming"],
a:hover img[src*="Coming"],
a:hover img[alt*="CoverStick"],
a:hover img[src*="Coming_soon_logo"]{
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.45))
          drop-shadow(0 0 14px rgba(255,42,58,0.24)) !important;
}


/* GLOBAL: subtle themed border + shadow for logos + Coming Soon images */
img[src*="Coming_soon_logo"],
img[src*="Coming soon"],
img[alt*="CoverStick"],
header img,
.site-header img,
.header img{
  border: 2px solid rgba(209,31,42,0.70) !important;   /* CoverStick red */
  border-radius: 14px !important;
  padding: 6px !important;
  background: rgba(255,255,255,0.03) !important;       /* slight lift on navy */
  box-shadow:
    0 10px 20px rgba(0,0,0,0.35),
    0 0 0 4px rgba(209,31,42,0.10) !important;
}

/* Hover: brighter border + glow */
a:hover img[src*="Coming_soon_logo"],
a:hover img[src*="Coming soon"],
a:hover img[alt*="CoverStick"],
a:hover header img,
a:hover .site-header img,
a:hover .header img{
  border-color: rgba(255,42,58,0.95) !important;
  box-shadow:
    0 14px 28px rgba(0,0,0,0.45),
    0 0 0 6px rgba(255,42,58,0.18) !important;
}


/* Logos: border hugs the logo edge (no padded frame) */
img[src*="Coming_soon_logo"],
img[src*="Coming soon"],
img[alt*="CoverStick"],
header img,
.site-header img,
.header img{
  padding: 0 !important;                         /* key change */
  border: 2px solid rgba(209,31,42,0.80) !important;
  border-radius: 10px !important;                /* slightly tighter */
  background: transparent !important;

  /* keep your glow/shadow */
  box-shadow:
    0 10px 20px rgba(0,0,0,0.35),
    0 0 0 4px rgba(209,31,42,0.10) !important;
}

/* Hover: brighter */
a:hover img[src*="Coming_soon_logo"],
a:hover img[src*="Coming soon"],
a:hover img[alt*="CoverStick"],
a:hover header img,
a:hover .site-header img,
a:hover .header img{
  border-color: rgba(255,42,58,0.98) !important;
  box-shadow:
    0 14px 28px rgba(0,0,0,0.45),
    0 0 0 6px rgba(255,42,58,0.18) !important;
}


/* HEADER ICONS: cleaner, more professional + white labels */
header-component :is(.header__icons, .header-icons, .header__icon-wrapper){
  display: flex;
  gap: 18px;
  align-items: center;
}

/* Make the icon links stack: icon on top, label under */
header-component :is(a.header__icon, .header__icon, .header__icons a){
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

/* Icon sizing + crisp look */
header-component :is(a.header__icon svg, .header__icon svg, .header__icons a svg){
  width: 22px;
  height: 22px;
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
}

/* Labels (white) */
header-component :is(a.header__icon, .header__icon, .header__icons a)::after{
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.9;
  line-height: 1;
}

/* Label text mapping (robust selectors) */
header-component a[aria-label*="search" i]::after,
header-component a[aria-controls*="Search" i]::after,
header-component a[href*="search" i]::after{ content: "Search"; }

header-component a[aria-label*="account" i]::after,
header-component a[href*="/account" i]::after{ content: "Account"; }

header-component a[aria-label*="cart" i]::after,
header-component a[href*="/cart" i]::after{ content: "Cart"; }

/* Hover: slight brighten */
header-component :is(a.header__icon:hover svg, .header__icons a:hover svg){
  opacity: 1;
}
header-component :is(a.header__icon:hover, .header__icons a:hover)::after{
  opacity: 1;
}



/* FOOTER EMAIL SIGNUP: fit better + pro styling (red border + shadow) */
footer :is(form, .newsletter-form, .email-signup, .footer-newsletter){
  max-width: 720px;
}

/* Make input + button sit nicely */
footer :is(.newsletter-form__field-wrapper, .field, .field__input-wrapper){
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Email input */
footer input[type="email"]{
  width: 100% !important;
  min-width: 260px;
  padding: 14px 18px !important;

  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;

  border: 2px solid rgba(209,31,42,0.85) !important;
  border-radius: 16px !important;

  box-shadow:
    0 12px 24px rgba(0,0,0,0.40),
    0 0 0 4px rgba(209,31,42,0.10) !important;
}

/* Placeholder */
footer input[type="email"]::placeholder{
  color: rgba(255,255,255,0.70) !important;
}

/* Focus: keep readable, no weird blue fill */
footer input[type="email"]:focus,
footer input[type="email"]:focus-visible{
  outline: none !important;
  border-color: rgba(255,42,58,0.98) !important;
  box-shadow:
    0 14px 28px rgba(0,0,0,0.45),
    0 0 0 6px rgba(255,42,58,0.18) !important;
}

/* Submit button (round red arrow) */
footer :is(button, .newsletter-form__button, .field__button){
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;

  border-radius: 999px !important;
  border: 2px solid rgba(209,31,42,0.90) !important;
  background: rgba(209,31,42,0.95) !important;
  color: #fff !important;

  box-shadow:
    0 12px 22px rgba(0,0,0,0.35),
    0 0 0 4px rgba(209,31,42,0.10) !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hover: brighter */
footer :is(button, .newsletter-form__button, .field__button):hover{
  background: rgba(255,42,58,0.98) !important;
  border-color: rgba(255,42,58,0.98) !important;
  box-shadow:
    0 16px 30px rgba(0,0,0,0.45),
    0 0 0 6px rgba(255,42,58,0.18) !important;
}

/* Mobile: stack nicely */
@media (max-width: 749px){
  footer :is(.newsletter-form__field-wrapper, .field, .field__input-wrapper){
    flex-direction: column;
    align-items: stretch;
  }
  footer :is(button, .newsletter-form__button, .field__button){
    width: 100% !important;
    border-radius: 16px !important;
  }
}


/* FOOTER EMAIL SIGNUP (Horizon): label + perfect fit inside rounded pill */
.email-signup-block .email-signup__input-group--integrated{
  /* This is the rounded gray pill behind */
  border-radius: 999px !important;
  background: rgba(255,255,255,0.10) !important;
  border: 2px solid rgba(209,31,42,0.90) !important;

  /* Shadow effect */
  box-shadow:
    0 12px 26px rgba(0,0,0,0.40),
    0 0 0 4px rgba(209,31,42,0.10) !important;

  /* Make the inner input/button clip perfectly to the pill */
  overflow: hidden !important;

  /* spacing inside pill */
  padding: 8px !important;
  gap: 10px !important;
}

/* Make the input fill the pill cleanly (no squared edges) */
.email-signup-block .email-signup__input-group--integrated .email-signup__input{
  background: #fff !important;
  color: #111 !important;
  border-radius: 999px !important;
  border: 0 !important;
  margin: 0 !important;
  height: 52px !important;
  padding: 0 18px !important;
  box-shadow: none !important;
}

/* Placeholder color */
.email-signup-block .email-signup__input-group--integrated .email-signup__input::placeholder{
  color: rgba(0,0,0,0.55) !important;
}

/* Button (arrow) matches red + shadow, perfectly centered */
.email-signup-block .email-signup__input-group--integrated .email-signup__button--arrow{
  width: 52px !important;
  height: 52px !important;
  border-radius: 999px !important;

  background: rgba(209,31,42,0.95) !important;
  border: 2px solid rgba(209,31,42,0.95) !important;

  box-shadow:
    0 10px 20px rgba(0,0,0,0.25),
    0 0 0 4px rgba(209,31,42,0.10) !important;
}

/* Hover: brighter glow like the rest of your site */
.email-signup-block .email-signup__input-group--integrated:hover{
  border-color: rgba(255,42,58,0.98) !important;
  box-shadow:
    0 14px 30px rgba(0,0,0,0.45),
    0 0 0 6px rgba(255,42,58,0.18) !important;
}

.email-signup-block .email-signup__input-group--integrated .email-signup__button--arrow:hover{
  background: rgba(255,42,58,0.98) !important;
  border-color: rgba(255,42,58,0.98) !important;
}

/* Add visible label "Email" back (without changing Liquid) */
.email-signup-block .email-signup__input-group{
  position: relative;
  margin-top: 18px; /* makes room for label */
}

.email-signup-block .email-signup__input-group::before{
  content: "Email";
  position: absolute;
  top: -16px;
  left: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

/* Mobile: stack nicer if needed */
@media (max-width: 749px){
  .email-signup-block .email-signup__input-group--integrated{
    border-radius: 18px !important;
  }
  .email-signup-block .email-signup__input-group--integrated .email-signup__input{
    border-radius: 14px !important;
  }
  .email-signup-block .email-signup__input-group{
    margin-top: 20px;
  }
}


/* EMAIL SIGNUP: smoother submit (reduce flicker / layout jump) */

/* Smooth button + input transitions */
.email-signup-block .email-signup__input-group--integrated,
.email-signup-block .email-signup__input-group--integrated .email-signup__input,
.email-signup-block .email-signup__input-group--integrated .email-signup__button--arrow{
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, opacity .18s ease !important;
}

/* Prevent the "pressed" jump */
.email-signup-block .email-signup__button--arrow:active{
  transform: scale(0.98);
}

/* Keep focus from flashing an outline ring */
.email-signup-block .email-signup__button--arrow:focus,
.email-signup-block .email-signup__button--arrow:focus-visible{
  outline: none !important;
  box-shadow:
    0 10px 20px rgba(0,0,0,0.25),
    0 0 0 4px rgba(255,42,58,0.18) !important;
}

/* Reserve space so success/error message doesn't shove the layout (major source of flicker) */
.email-signup-block .email-signup__form{
  position: relative;
  padding-bottom: 34px; /* space for message */
}
.email-signup-block .email-signup__message{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 8px 0 0 0 !important;
}

/* Fade-in message instead of sudden pop */
.email-signup-block .email-signup__message{
  animation: csFadeIn .18s ease both;
}

@keyframes csFadeIn{
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* EMAIL SIGNUP: stop flicker when success/error aria-describedby gets added */

/* Keep the input rendering identical before/after submit */
.email-signup-block input.email-signup__input[aria-describedby]{
  background: #fff !important;
  color: #111 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Also keep focus styles consistent (no flash) */
.email-signup-block input.email-signup__input:focus,
.email-signup-block input.email-signup__input:focus-visible,
.email-signup-block input.email-signup__input[aria-describedby]:focus,
.email-signup-block input.email-signup__input[aria-describedby]:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}

/* Reserve space so the success message doesn't shift things */
.email-signup-block .email-signup__form{
  position: relative;
  padding-bottom: 34px;
}
.email-signup-block .email-signup__message{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 8px 0 0 0 !important;
  animation: csFadeIn .18s ease both;
}

@keyframes csFadeIn{
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Smooth the red arrow button interaction */
.email-signup-block .email-signup__button--arrow{
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
.email-signup-block .email-signup__button--arrow:active{
  transform: scale(0.98);
}
.email-signup-block .email-signup__button--arrow:focus,
.email-signup-block .email-signup__button--arrow:focus-visible{
  outline: none !important;
}


/* FOOTER / BOTTOM UTILITIES: force everything to white */
footer :is(.utilities, .utility, .footer-utilities, .footer__utilities, .footer__bottom, .footer__copyright, .footer__localization),
.footer :is(.utilities, .utility, .footer-utilities, .footer__utilities, .footer__bottom, .footer__copyright, .footer__localization){
  color: #fff !important;
}

/* Links */
footer :is(.utilities, .footer__bottom, .footer__utilities) a,
.footer :is(.utilities, .footer__bottom, .footer__utilities) a{
  color: #fff !important;
  text-decoration-color: rgba(255,255,255,0.55) !important;
}

/* Small text elements */
footer :is(p, span, small, li, strong, em),
.footer :is(p, span, small, li, strong, em){
  color: #fff !important;
}

/* SVG icons */
footer :is(svg, svg *),
.footer :is(svg, svg *){
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* Optional: hover slightly brighter */
footer :is(.footer__bottom, .footer__utilities, .utilities) a:hover,
.footer :is(.footer__bottom, .footer__utilities, .utilities) a:hover{
  color: rgba(255,255,255,0.90) !important;
}


/* Force the copyright/brand text to white (covers stubborn link colors) */
footer :is(.footer__copyright, .copyright, .footer__bottom, .footer-utilities, .footer__utilities)
  :is(a, span, p, small){
  color: #fff !important;
}

/* If that specific text is a link, force link states too */
footer :is(.footer__copyright, .copyright, .footer__bottom) a:link,
footer :is(.footer__copyright, .copyright, .footer__bottom) a:visited,
footer :is(.footer__copyright, .copyright, .footer__bottom) a:hover,
footer :is(.footer__copyright, .copyright, .footer__bottom) a:active{
  color: #fff !important;
}


/* HERO logo: bigger on desktop, keep mobile size */
@media (min-width: 750px){
  /* targets your hero logo image (Coming soon logo / CoverStick logo) */
  .shopify-section :is(.cs-hero, .banner, .hero, .slideshow, .image-with-text, .section)
    img[src*="Coming_soon_logo"],
  .shopify-section :is(.cs-hero, .banner, .hero, .slideshow, .image-with-text, .section)
    img[alt*="CoverStick"]{
    width: clamp(420px, 42vw, 720px) !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Mobile stays as-is (but here’s a “safety cap” if needed) */
@media (max-width: 749px){
  .shopify-section :is(.cs-hero, .banner, .hero, .slideshow, .image-with-text, .section)
    img[src*="Coming_soon_logo"],
  .shopify-section :is(.cs-hero, .banner, .hero, .slideshow, .image-with-text, .section)
    img[alt*="CoverStick"]{
    max-width: 320px !important;
    height: auto !important;
  }
}


/* HERO logo-block: bigger on desktop, keep mobile perfect */
@media (min-width: 750px){
  .hero__container .logo-block{
    --logo-width: clamp(320px, 32vw, 560px) !important;
  }
  .hero__container .logo-block__image-wrapper{
    max-width: var(--logo-width) !important;
  }
  .hero__container .logo-block__image{
    width: 100% !important;
    height: auto !important;
    display: block;
  }
}

/* Mobile: do NOT touch (keeps your current perfect size) */
@media (max-width: 749px){
  .hero__container .logo-block{
    --logo-width: 184px !important; /* matches your current mobile look */
  }
}/* HERO logo: force larger on desktop only (mobile unchanged) */
@media (min-width: 750px){
  .hero__container .logo-block__image-wrapper{
    width: 520px !important;
    max-width: 520px !important;
  }
  .hero__container .logo-block__image-wrapper img.logo-block__image{
    width: 520px !important;
    max-width: 520px !important;
    height: auto !important;
    display: block !important;
  }
}

/* Mobile stays exactly as-is */
@media (max-width: 749px){
  .hero__container .logo-block__image-wrapper{
    width: auto !important;
    max-width: 100% !important;
  }
  .hero__container .logo-block__image-wrapper img.logo-block__image{
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }
}


@media (min-width: 750px){
  .hero__container .logo-block__image-wrapper{
    width: clamp(320px, 28vw, 460px) !important;
    max-width: clamp(320px, 28vw, 460px) !important;
  }
  .hero__container .logo-block__image-wrapper img.logo-block__image{
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}


@media (min-width: 750px){
  .hero__container .logo-block__image-wrapper{
    width: clamp(224px, 19.2vw, 320px) !important;
    max-width: clamp(224px, 19.2vw, 320px) !important;
  }
  .hero__container .logo-block__image-wrapper img.logo-block__image{
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}


@media (min-width: 750px){
  .hero__container .hero__content-wrapper{
    font-size: 1.2em !important;
  }
}


/* HERO text: 20% bigger on desktop, keep mobile same */
@media (min-width: 750px){
  .hero__container .text-block h1{
    font-size: 1.2em !important;
    line-height: 1.15 !important;
  }
}


/* HERO quote + coming soon text: 20% bigger on desktop only */
@media (min-width: 750px){
  .hero__container .text-block h1{
    font-size: 1.2em !important;
    line-height: 1.15 !important;
  }
}


/* HERO text: exact 20% bigger on desktop only (targets your exact text block) */
@media (min-width: 750px){
  .hero__container .text-block--AM2RYamMvOWFGbGlyc__text_YLPk4p h1{
    display: inline-block !important;
    transform: scale(1.2) !important;     /* exactly +20% */
    transform-origin: 100% 100% !important; /* keeps it anchored bottom-right */
  }
}


/* COLLECTION PAGE HEADER: keep icons right, center only the logo */
@media (min-width: 750px){
  body[data-template="collection"] header-component .header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Keep the icon group on the far right */
  body[data-template="collection"] header-component .header__icons {
    margin-left: auto !important;
    justify-self: end !important;
  }

  /* Center ONLY the logo/brand block */
  body[data-template="collection"] header-component .header__heading {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 5 !important;
  }
}


/* Collection grid: make the title+price look like a solid red button */
.product-grid .card__content,
.collection-wrapper .card__content {
  /* keep it centered like your screenshot */
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* button look */
  background: #e31e24 !important;          /* victory red */
  color: #ffffff !important;
  border: 2px solid #e31e24 !important;
  border-radius: 14px !important;

  /* sizing */
  padding: 14px 18px !important;
  min-width: 170px;
  gap: 6px;

  /* always-on shadow like your boxes */
  box-shadow: 0 10px 22px rgba(0,0,0,.35) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* Make sure the text inside is white */
.product-grid .card__content .card__heading,
.collection-wrapper .card__content .card__heading,
.product-grid .card__content .price,
.collection-wrapper .card__content .price,
.product-grid .card__content .price-item,
.collection-wrapper .card__content .price-item {
  color: #ffffff !important;
}

/* Remove extra margins that make it look "floating weird" */
.product-grid .card__content .card__heading {
  margin: 0 !important;
  line-height: 1.1;
}
.product-grid .card__content .price {
  margin: 0 !important;
}

/* Hover = brighter + slight lift */
.product-grid .grid__item:hover .card__content,
.collection-wrapper .grid__item:hover .card__content {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.45) !important;
  filter: brightness(1.06);
}


/* Make only the bottom "button" area clickable (NOT the logo/image) */
product-card.product-card {
  position: relative;
}

/* The invisible product link becomes a "hit area" centered near the bottom */
product-card.product-card a.product-card__link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;                 /* tweak if needed */
  width: min(260px, 78%);       /* matches your button width vibe */
  height: 96px;                 /* matches your two-line title/price area */
  border-radius: 18px;
  z-index: 3;
}

/* Keep any real buttons/quick-add above the link if your theme uses them */
product-card.product-card .quick-add,
product-card.product-card button,
product-card.product-card [role="button"] {
  position: relative;
  z-index: 4;
}


/* =========================================================
   Product card: make ONLY the red title/price button clickable
   (and stop the logo/image from acting like the button)
   ========================================================= */

/* Make sure the card is a positioning context */
product-card.product-card {
  position: relative !important;
}

/* FORCE the theme's invisible link to stop covering the whole card */
product-card.product-card > a.product-card__link {
  position: absolute !important;

  /* override any theme full-cover rules */
  top: auto !important;
  right: auto !important;
  bottom: 26px !important;   /* adjust up/down if needed */
  left: 50% !important;

  transform: translateX(-50%) !important;

  width: min(260px, 78%) !important;  /* match your button width */
  height: 96px !important;            /* match your button height */

  z-index: 9999 !important;
  display: block !important;
  pointer-events: auto !important;
}

/* Turn OFF clicking on any links inside the card content (this kills logo/image clicks) */
product-card.product-card .product-card__content a {
  pointer-events: none !important;
}

/* But keep the product-card__link clickable */
product-card.product-card > a.product-card__link {
  pointer-events: auto !important;
}


/* Product card CTA button (title + price) */
.cs-card-cta{
  display: block;
  text-decoration: none;
  color: #fff !important;
  background: #e31e24;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  transition: filter .2s ease, box-shadow .2s ease, transform .2s ease;
  margin-top: 10px;
}

.cs-card-cta:hover{
  filter: brightness(1.08);
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
  transform: translateY(-1px);
}

.cs-card-cta .card__heading,
.cs-card-cta .price-item{
  color: #fff !important;
}


/* === CoverStick Collection Grid CTA Button (Title + Price on one red bar) === */
.cs-card-cta{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;

  background:#e31e24;
  color:#fff;

  border-radius:18px;
  padding:18px 16px;
  margin-top:18px;

  /* shadow like your theme cards */
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.cs-card-cta__title{
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:16px;
  line-height:1;
}

.cs-card-cta__price{
  font-weight:800;
  font-size:18px;
  line-height:1;
}

/* hover “brighten” */
a:hover .cs-card-cta{
  filter: brightness(1.07);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
  transform: translateY(-1px);
}

/* mobile sizing */
@media (max-width: 749px){
  .cs-card-cta{
    border-radius:16px;
    padding:16px 14px;
  }
  .cs-card-cta__title{ font-size:15px; }
  .cs-card-cta__price{ font-size:17px; }
}


/* Kill any legacy "button" styling accidentally applied to the wrapper */
.product-grid .card__content{
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}


/* ✅ Fix the “Coming Soon” image box corners on product pages (and similar media boxes) */
.product__media-wrapper .media,
.product__media-wrapper .media img,
.product__media-wrapper .product__media,
.product__media-wrapper .product__media img,
.card__image-wrapper,
.card__image-wrapper img {
  border-radius: 22px !important; /* match your box radius */
}

.product__media-wrapper .media,
.product__media-wrapper .product__media,
.card__image-wrapper {
  overflow: hidden !important;     /* THIS is the key: clips the corners cleanly */
  background: transparent !important;
}

.product__media-wrapper .media img,
.product__media-wrapper .product__media img,
.card__image-wrapper img {
  display: block;
  background: transparent !important;
}


/* ✅ HARD FIX: clip product image corners so nothing “peeks through” */
.product__media-wrapper,
.product__media-list,
.product__media-item,
.product-media-container,
.product__media,
.media {
  border-radius: 22px !important;  /* match your box */
  overflow: hidden !important;     /* key: clips the corners */
  background: transparent !important;
}

/* Make sure the actual image/video also follows the same rounding */
.product__media img,
.product__media-item img,
.product-media-container img,
.media > img,
.media img,
.media video,
.media iframe {
  border-radius: 22px !important;
  display: block !important;
  background: transparent !important;
}


/* ================================
   CoverStick: Header Consistency Fix
   - Keeps mobile unchanged
   - Makes desktop header taller + perfectly centered
   ================================ */

/* 1) Make header reliably tall enough and vertically centered */
@media screen and (min-width: 750px) {
  .header-wrapper,
  header-component.header-wrapper,
  .header-section,
  #shopify-section-header {
    /* if your header section id differs, this still works because wrapper/classes match */
    min-height: 92px !important;
  }

  .header {
    align-items: center !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  /* 2) Ensure the center logo truly centers (even if other templates inject stuff) */
  .header__heading {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  .header__heading-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 3) Desktop logo size only (mobile untouched) */
  .header__heading-logo,
  img.header__heading-logo {
    width: 54px !important;
    max-width: 54px !important;
    height: auto !important;
  }
}

/* 4) Keep icons aligned nicely */
.header__icons {
  align-items: center !important;
}

/* 5) Prevent any template from shrinking logo container */
.header__heading,
.header__heading-link {
  min-height: 0 !important;
}


/* =========================================================
   PRODUCT PAGE HEADER FIX (Default product template)
   - makes header taller + re-centers the logo
   ========================================================= */

body.template-product .header,
body.template-product .header-wrapper .header {
  padding-top: 34px !important;
  padding-bottom: 24px !important;
  min-height: 96px !important;  /* gives the logo room */
  align-items: center !important;
}

body.template-product .header__heading {
  align-self: center !important;
  justify-self: center !important;
}

body.template-product .header__heading-logo,
body.template-product .header__heading img {
  transform: translateY(2px); /* tiny nudge down so it sits visually centered */
}


/* =========================================================
   PRODUCT PAGE HEADER FIX (Horizon / Default product)
   - targets ANY product template body class
   - increases header height + centers logo vertically
   ========================================================= */

body[class*="template-product"] .header-wrapper,
body[class*="template-product"] .header-section,
body[class*="template-product"] #shopify-section-header,
body[class*="template-product"] .shopify-section-group-header-group,
body[class*="template-product"] .shopify-section-header,
body[class*="template-product"] header-component.header-wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Make the actual header bar taller */
body[class*="template-product"] .header,
body[class*="template-product"] header.header,
body[class*="template-product"] .header-wrapper .header {
  min-height: 96px !important;
  padding: 30px 20px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
}

/* Force the center slot (logo) to be truly centered */
body[class*="template-product"] .header__heading,
body[class*="template-product"] .header__heading-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  margin: 0 !important;
}

/* Keep left menu left + icons right (prevents “everything centered” issue) */
body[class*="template-product"] .header__inline-menu { justify-self: start !important; }
body[class*="template-product"] .header__icons { justify-self: end !important; }

/* Optional: tiny visual nudge if it still “floats” high */
body[class*="template-product"] .header__heading-logo,
body[class*="template-product"] .header__heading img {
  transform: translateY(2px) !important;
}


/* =========================================================
   PRODUCT PAGE HEADER FIX (Default product)
   Works with Shopify body class: template--product
   ========================================================= */

body[class*="template--product"] .header-wrapper,
body[class*="template--product"] .header-section,
body[class*="template--product"] #shopify-section-header,
body[class*="template--product"] .shopify-section-group-header-group,
body[class*="template--product"] header-component.header-wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Make header taller */
body[class*="template--product"] .header,
body[class*="template--product"] header.header,
body[class*="template--product"] .header-wrapper .header {
  min-height: 110px !important;      /* bigger */
  padding: 34px 20px !important;     /* bigger */
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
}

/* Center logo vertically + horizontally */
body[class*="template--product"] .header__heading,
body[class*="template--product"] .header__heading-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  margin: 0 !important;
}

/* Keep menu left + icons right */
body[class*="template--product"] .header__inline-menu { justify-self: start !important; }
body[class*="template--product"] .header__icons { justify-self: end !important; }

/* Optional tiny vertical nudge */
body[class*="template--product"] .header__heading-logo,
body[class*="template--product"] .header__heading img {
  transform: translateY(2px) !important;
}


/* TEST: if this works, you'll see a bright outline on the product page header */
body[class*="template--product"] header,
body[class*="template--product"] header-component,
body[class*="template--product"] .header-wrapper,
body[class*="template--product"] #shopify-section-header,
body[class*="template--product"] [id*="header"] {
  outline: 4px solid #e31e24 !important;
}


/* =========================================================
   PRODUCT PAGE HEADER — TALLER + CENTERED (aggressive match)
   ========================================================= */

body[class*="template--product"] header,
body[class*="template--product"] header-component,
body[class*="template--product"] .header-wrapper,
body[class*="template--product"] #shopify-section-header,
body[class*="template--product"] [id*="header"] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Increase header height */
body[class*="template--product"] header .header,
body[class*="template--product"] header-component .header,
body[class*="template--product"] .header-wrapper .header,
body[class*="template--product"] #shopify-section-header .header,
body[class*="template--product"] [id*="header"] .header {
  min-height: 118px !important;
  padding: 38px 20px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
}

/* Center the logo area */
body[class*="template--product"] .header__heading,
body[class*="template--product"] .header__heading-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  margin: 0 !important;
}

/* Keep nav left, icons right */
body[class*="template--product"] .header__inline-menu { justify-self: start !important; }
body[class*="template--product"] .header__icons { justify-self: end !important; }
}


/* PRODUCT PAGE HEADER — make it a bit taller */
body[class*="product"] header,
body[class*="product"] header-component,
body[class*="product"] .header-wrapper,
body[class*="product"] #shopify-section-header,
body[class*="product"] .header {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  min-height: 86px !important; /* adjust if you want taller */
  display: flex;
  align-items: center;
}

/* Keep logo vertically centered */
body[class*="product"] .header__heading,
body[class*="product"] .header__heading-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Optional: give the logo a touch more breathing room */
body[class*="product"] .header__heading-logo {
  max-height: 58px !important;
  height: auto !important;
}


/* HERO: tighten layout + make logo/text placement consistent */
.hero__content-wrapper {
  align-items: flex-end !important; /* keeps the right-side look */
}

.hero__content-wrapper .logo-block {
  margin-bottom: 14px !important;
}

/* Desktop: slightly larger logo, but keep mobile perfect */
@media (min-width: 750px) {
  .hero__content-wrapper .logo-block {
    --logo-width: 260px !important; /* tweak up/down if you want */
  }

  /* Make the hero headline ~20% bigger on desktop */
  .hero__content-wrapper .text-block h1 {
    font-size: 1.2em !important;
    line-height: 1.15 !important;
  }
}

/* Mobile: leave your current size alone */
@media (max-width: 749px) {
  .hero__content-wrapper .logo-block {
    --logo-width: 184px !important; /* matches what you already liked */
  }
}


/* Logo left, text right */
.hero__content-wrapper {
  align-items: stretch !important;
}

.hero__content-wrapper .logo-block {
  align-self: flex-start !important;
}

.hero__content-wrapper .text-block {
  align-self: flex-end !important;
  text-align: right !important;
}


/* --- Make header consistent on ALL pages (product pages included) --- */
.header-wrapper,
.header-section,
#header-group,
header-component,
header.header {
  background: #002147 !important;
}

header.header {
  padding: 25px 20px 15px 20px !important; /* same feel everywhere */
  min-height: 88px !important;             /* prevents “short” header on product pages */
  align-items: center !important;
}

/* Keep the logo centered consistently */
header.header .header__heading {
  justify-self: center !important;
  margin: 0 !important;
}

/* Ensure icons sit right, not vertically misaligned */
header.header .header__icons {
  align-items: center !important;
}


/* Horizon: policy page cleanup (prevents giant empty-looking card) */
.shopify-policy__body {
  min-height: auto !important;
  padding: 24px 20px !important;
}

/* remove empty spacer paragraphs that can create “blank” space */
.shopify-policy__body p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* ================================
   COVERSTICK: POLICY PAGE THEME
   (Horizon-safe, policy pages only)
================================ */
body[class*="template-policy"],
body.template-policy,
.shopify-policy__container {
  background: #002147 !important; /* Oxford Navy */
}

body[class*="template-policy"] .shopify-policy__container,
body.template-policy .shopify-policy__container,
.shopify-policy__container {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Card styling */
body[class*="template-policy"] .shopify-policy__body,
body.template-policy .shopify-policy__body,
.shopify-policy__body {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Text */
body[class*="template-policy"] .shopify-policy__title,
body.template-policy .shopify-policy__title,
.shopify-policy__title {
  color: #ffffff !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}

body[class*="template-policy"] .shopify-policy__body,
body.template-policy .shopify-policy__body,
.shopify-policy__body,
body[class*="template-policy"] .shopify-policy__body * ,
body.template-policy .shopify-policy__body * ,
.shopify-policy__body * {
  color: #ffffff !important;
}

/* Headings inside the policy */
.shopify-policy__body h1,
.shopify-policy__body h2,
.shopify-policy__body h3 {
  color: #ffffff !important;
  margin-top: 22px;
  margin-bottom: 10px;
}

/* Links + accent */
.shopify-policy__body a {
  color: #e31e24 !important; /* Victory Red */
  text-decoration: none;
  border-bottom: 1px solid rgba(227,30,36,0.45);
}
.shopify-policy__body a:hover {
  border-bottom-color: rgba(227,30,36,1);
}

/* Lists spacing */
.shopify-policy__body ul,
.shopify-policy__body ol {
  padding-left: 22px;
}
.shopify-policy__body li {
  margin: 6px 0;
}


/* ============================
   COVERSTICK — POLICY PAGES
   Fix white sides + widen layout
============================ */

/* Make the entire page background navy on policy templates */
html,
body {
  background: #002147;
}

/* Horizon uses this wrapper for the main area — force it navy on policy pages */
body[class*="template-policy"] #MainContent,
body[class*="template-policy"] .content-for-layout,
body[class*="template-policy"] main,
body[class*="template-policy"] .shopify-section,
body[class*="template-policy"] .section,
body[class*="template-policy"] .page-width {
  background: #002147 !important;
}

/* Widen the policy container (less narrow) */
body[class*="template-policy"] .shopify-policy__container {
  max-width: 1200px !important;
  width: min(1200px, 92vw) !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
}

/* OPTIONAL: If you want NO “boxed panel” look, uncomment this:
body[class*="template-policy"] .shopify-policy__body {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}
*/

/* Keep text readable on navy */
body[class*="template-policy"] .shopify-policy__title,
body[class*="template-policy"] .shopify-policy__body,
body[class*="template-policy"] .shopify-policy__body * {
  color: #ffffff !important;
}


/* =========================================================
   COVERSTICK — POLICY PAGES (Privacy / Refund / Terms)
   Navy background, wider layout, better typography
========================================================= */

:root {
  --cs-navy: #002147;
  --cs-white: #ffffff;
  --cs-red: #e31e24;
}

/* Force the policy page area off the default white */
.shopify-section.section .shopify-policy__container,
.shopify-policy__container,
.shopify-policy__container * {
  box-sizing: border-box;
}

.shopify-policy__container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 60px 24px !important;
}

/* Many themes wrap the policy in a default page container that stays white */
main#MainContent:has(.shopify-policy__container),
#MainContent:has(.shopify-policy__container) {
  background: var(--cs-navy) !important;
}

/* If the theme adds a generic page wrapper, make it navy too */
body:has(.shopify-policy__container) {
  background: var(--cs-navy) !important;
}

/* Title */
.shopify-policy__title,
.shopify-policy__title h1 {
  color: var(--cs-white) !important;
  text-align: center !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  margin: 10px 0 28px !important;
  font-size: clamp(40px, 4vw, 64px) !important;
}

/* Content card */
.shopify-policy__body {
  max-width: 980px !important;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  padding: 28px 28px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25) !important;
}

/* Text readability */
.shopify-policy__body,
.shopify-policy__body p,
.shopify-policy__body li {
  color: var(--cs-white) !important;
  line-height: 1.65 !important;
  font-size: 16px !important;
}

/* Headings inside the policy */
.shopify-policy__body h2,
.shopify-policy__body h3,
.shopify-policy__body h4 {
  color: var(--cs-white) !important;
  margin-top: 22px !important;
  margin-bottom: 10px !important;
}

/* Lists spacing */
.shopify-policy__body ul,
.shopify-policy__body ol {
  padding-left: 22px !important;
  margin: 10px 0 18px !important;
}

/* Links */
.shopify-policy__body a {
  color: var(--cs-white) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}
.shopify-policy__body a:hover {
  color: var(--cs-red) !important;
}

/* Mobile */
@media (max-width: 749px) {
  .shopify-policy__container { padding: 40px 16px !important; }
  .shopify-policy__body { padding: 22px 18px !important; }
}


/* ================================
   CoverStick — Newsletter polish
   ================================ */

/* Scope to footer newsletter form only (safe selectors) */
footer .email-signup-block,
#shopify-section-footer-group .email-signup-block,
.shopify-section--footer .email-signup-block {
  position: relative;
}

/* Reserve space so success/error message doesn't push layout */
footer .email-signup-block,
#shopify-section-footer-group .email-signup-block,
.shopify-section--footer .email-signup-block {
  padding-bottom: 42px;
}

/* Base form UX */
.email-signup__form {
  position: relative;
}

.email-signup__input-group {
  display: flex;
  align-items: stretch;
}

/* Button polish */
.email-signup__button,
.email-signup__form button[type="submit"] {
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
  will-change: transform;
}

.email-signup__button:active,
.email-signup__form button[type="submit"]:active {
  transform: translateY(1px);
}

/* Loading state */
.email-signup__form.is-submitting .email-signup__button,
.email-signup__form.is-submitting button[type="submit"] {
  opacity: 0.9;
  pointer-events: none;
  filter: saturate(0.95);
}

/* Spinner */
.email-signup__form.is-submitting .email-signup__button::after,
.email-signup__form.is-submitting button[type="submit"]::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.55);
  border-top-color: rgba(255,255,255,1);
  animation: csSpin 0.8s linear infinite;
  vertical-align: -2px;
}

@keyframes csSpin {
  to { transform: rotate(360deg); }
}

/* Success/error message: absolute in reserved space (no layout shift) */
footer .email-signup__message,
#shopify-section-footer-group .email-signup__message,
.shopify-section--footer .email-signup__message {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;

  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

/* When we "reveal" it */
footer .email-signup__message.cs-visible,
#shopify-section-footer-group .email-signup__message.cs-visible,
.shopify-section--footer .email-signup__message.cs-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: make the message text cleaner on dark backgrounds */
footer .email-signup__message,
#shopify-section-footer-group .email-signup__message,
.shopify-section--footer .email-signup__message {
  color: #ffffff;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}


/* =========================================================
   CoverStick — Product page background + quantity control
   (Horizon theme) — affects PRODUCT pages only
   ========================================================= */
body.template-product,
body.template-product .content-for-layout {
  background: #002147 !important; /* Oxford navy */
}

/* Kill any white canvas wrappers on product pages */
body.template-product main,
body.template-product .shopify-section,
body.template-product .page-width,
body.template-product .product,
body.template-product .product__media-wrapper,
body.template-product .product__info-wrapper,
body.template-product .product__info-container {
  background: transparent !important;
}

/* Make product text readable on navy */
body.template-product .product__title,
body.template-product .price,
body.template-product .price * ,
body.template-product .product__description,
body.template-product .product__description * ,
body.template-product .product__tax,
body.template-product .product__sku,
body.template-product label,
body.template-product legend {
  color: #ffffff !important;
}

/* Quantity control styling */
body.template-product .quantity {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

/* +/- buttons */
body.template-product .quantity__button {
  background: transparent !important;
  color: #ffffff !important;
}

body.template-product .quantity__button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

/* The number box */
body.template-product .quantity__input {
  background: transparent !important;
  color: #ffffff !important;
  border: 0 !important;
}

/* Some Horizon builds use SVG icons inside the buttons */
body.template-product .quantity__button svg {
  fill: currentColor !important;
  color: #ffffff !important;
}/* Product quantity: force readable on dark backgrounds */
main[data-template*="product"] .quantity,
main[data-template*="product"] .quantity__wrapper {
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
}

main[data-template*="product"] .quantity__button,
main[data-template*="product"] .quantity__input {
  color: #fff !important;
}

main[data-template*="product"] .quantity__button svg {
  color: #fff !important;
  fill: currentColor !important;
}


/* CoverStick — force Product template background to match site (navy) */
main[data-template*="product"] {
  background: #061f3a; /* your navy */
}

main[data-template*="product"] .shopify-section,
main[data-template*="product"] .section,
main[data-template*="product"] .product-information,
main[data-template*="product"] .product-media-gallery,
main[data-template*="product"] .product-details {
  background: transparent !important;
}

/* Keep text readable on navy */
main[data-template*="product"] {
  color: #ffffff;
}

/* Quantity (+/-) on dark background */
main[data-template*="product"] .quantity,
main[data-template*="product"] .quantity__wrapper {
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
}

main[data-template*="product"] .quantity__button,
main[data-template*="product"] .quantity__input {
  color: #fff !important;
}

main[data-template*="product"] .quantity__button svg {
  fill: currentColor !important;
}


/* CoverStick — force Search template background to match site (navy) */
main[data-template*="search"] {
  background: #061f3a;
  color: #ffffff;
}

main[data-template*="search"] .shopify-section,
main[data-template*="search"] .section,
main[data-template*="search"] .page-width,
main[data-template*="search"] .template-search {
  background: transparent !important;
}

/* Search input + results cards readability */
main[data-template*="search"] input,
main[data-template*="search"] textarea,
main[data-template*="search"] select {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.25) !important;
}

main[data-template*="search"] a,
main[data-template*="search"] .link {
  color: #fff;
}


/* CoverStick — force Cart template background to match site (navy) */
main[data-template*="cart"]{
  background:#061f3a !important;
  color:#ffffff !important;
}

main[data-template*="cart"] .shopify-section,
main[data-template*="cart"] .section,
main[data-template*="cart"] .page-width,
main[data-template*="cart"] .cart,
main[data-template*="cart"] .cart-drawer,
main[data-template*="cart"] .cart__items,
main[data-template*="cart"] .cart__footer{
  background:transparent !important;
}

/* Cart text + links */
main[data-template*="cart"] a,
main[data-template*="cart"] .link,
main[data-template*="cart"] p,
main[data-template*="cart"] span,
main[data-template*="cart"] h1,
main[data-template*="cart"] h2,
main[data-template*="cart"] h3{
  color:#ffffff !important;
}

/* Inputs */
main[data-template*="cart"] input,
main[data-template*="cart"] textarea,
main[data-template*="cart"] select{
  background:rgba(255,255,255,.08) !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.25) !important;
}

/* Quantity +/- buttons (usually the ugly part) */
main[data-template*="cart"] button,
main[data-template*="cart"] .quantity__button,
main[data-template*="cart"] .quantity__button svg{
  color:#ffffff !important;
  fill:#ffffff !important;
}

main[data-template*="cart"] .quantity,
main[data-template*="cart"] .quantity__input{
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.25) !important;
}


/* CoverStick — Cart empty-state button (Continue shopping) */
main[data-template*="cart"] .button,
main[data-template*="cart"] a.button,
main[data-template*="cart"] .btn{
  background:#c1121f !important;          /* CoverStick red */
  color:#ffffff !important;
  border:2px solid #c1121f !important;
  border-radius:999px !important;
  box-shadow:0 10px 24px rgba(0,0,0,.25) !important;
}

/* Hover */
main[data-template*="cart"] .button:hover,
main[data-template*="cart"] a.button:hover,
main[data-template*="cart"] .btn:hover{
  filter:brightness(1.05) !important;
  transform:translateY(-1px);
}

/* Focus ring */
main[data-template*="cart"] .button:focus-visible,
main[data-template*="cart"] a.button:focus-visible,
main[data-template*="cart"] .btn:focus-visible{
  outline:0 !important;
  box-shadow:0 0 0 3px rgba(255,255,255,.35), 0 0 0 6px rgba(193,18,31,.6) !important;
}


/* =========================================================
   CoverStick – Fix "default black" buttons (Cart + Contact)
   Paste at the bottom of base.css
   ========================================================= */

:root{
  --cs-accent: #c81f2a;        /* CoverStick red */
  --cs-accent-hover: #a81822;  /* darker red */
  --cs-accent-text: #ffffff;
  --cs-pill: 9999px;
}

/* Cart empty: "Continue shopping" button */
.cart__empty .button,
.cart__empty a.button,
.cart__empty button,
.cart__empty a[href*="/collections"]{
  background: var(--cs-accent) !important;
  color: var(--cs-accent-text) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: var(--cs-pill) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.28) !important;
  text-decoration: none !important;
}

.cart__empty .button:hover,
.cart__empty a.button:hover,
.cart__empty button:hover,
.cart__empty a[href*="/collections"]:hover{
  background: var(--cs-accent-hover) !important;
}

/* Contact page: "Submit" button */
form[action*="/contact"] .button,
form[action*="/contact"] button[type="submit"],
#ContactForm .button,
#ContactForm button[type="submit"]{
  background: var(--cs-accent) !important;
  color: var(--cs-accent-text) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 14px !important; /* match your rounded UI; change to pill if you want */
  padding: 12px 22px !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.28) !important;
}

form[action*="/contact"] .button:hover,
form[action*="/contact"] button[type="submit"]:hover,
#ContactForm .button:hover,
#ContactForm button[type="submit"]:hover{
  background: var(--cs-accent-hover) !important;
}

/* Make focus/active states feel consistent */
.cart__empty .button:focus,
.cart__empty button:focus,
#ContactForm button[type="submit"]:focus{
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(200,31,42,.35), 0 12px 26px rgba(0,0,0,.28) !important;
}


/* ============================================
   CoverStick: Contact Page ONLY Styling
   ============================================ */

/* Only target contact page - NOT catalog/collections */
body[class*="contact"] main,
body.template-page[class*="contact"] .shopify-section,
body.template-page[class*="contact"] .page-width,
main.page-contact,
.page-contact {
  background: #002147 !important; /* Oxford Navy */
}

/* Contact page text white */
body[class*="contact"] h1,
body[class*="contact"] h2,
body[class*="contact"] h3,
body[class*="contact"] p,
body[class*="contact"] label,
.page-contact h1,
.page-contact h2,
.page-contact p,
.page-contact label {
  color: #ffffff !important;
}

/* Contact form inputs */
body[class*="contact"] input[type="text"],
body[class*="contact"] input[type="email"],
body[class*="contact"] input[type="tel"],
body[class*="contact"] textarea,
.page-contact input,
.page-contact textarea {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 8px !important;
}

body[class*="contact"] input::placeholder,
body[class*="contact"] textarea::placeholder,
.page-contact input::placeholder,
.page-contact textarea::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Contact submit button */
body[class*="contact"] button[type="submit"],
.page-contact button[type="submit"] {
  background: #e31e24 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 32px !important;
  transition: all 0.3s ease !important;
}

body[class*="contact"] button[type="submit"]:hover,
.page-contact button[type="submit"]:hover {
  background: #c81f2a !important;
  transform: translateY(-2px) !important;
}
.card__image-wrapper {
  border-radius: 20px;        /* match card border radius */
  overflow: hidden;           /* hides square image corners */
}































































































