/** Shopify CDN: Minification failed

Line 8560:0 Unexpected "}"

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

.menulinks {
  display: block;
  padding-bottom: 10px;
  font-size: 12px;
  color: black;
  text-decoration: none;
  /* font-family: Nexa; */
  letter-spacing: 0.5px;
}

.row {
  display: flex !important;
}

.logoheader {
  text-align: center;
  width: 100%;
  position: absolute;
  top: 12px;
}

.product-details h1 {
  font-size: 18px !important;
  font-weight: normal !important;
}

.logoheader img {
  width: 200px;
  margin: auto;
}

.contacts {
  font-size: 11px;
  color: black;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-align: left;
  padding-right: 80px;
}

.header__column--right header-actions {
  z-index: 99;
}

/* Legacy <=967px mobile header alignment block removed; final authoritative mobile header alignment lives at the end of this file. */

.leftcolumn {
  /* v47 — reduced sidebar-content gap */
  flex: 0 0 auto;
  width: 12%;
  padding-left: 30px;
}

.rightcolumn {
  flex: 0 0 auto;
  width: 87%;

}

.menulinks {
  display: block;
  padding-bottom: 10px;
  font-size: 12px;
  color: black;
  text-decoration: none;
  /* font-family: Nexa; */
  letter-spacing: 0.5px;
}

.desktoponly {
  display: block;
}

.mobileonly {
  display: none;
}

#mobilemenu {
  display: none;
}

@media (max-width: 967px) {
  .desktoponly {
    display: none;
  }

  .mobileonly {
    display: block;

  }

  #mobilemenu {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
  }

  .blocktext {
    padding: 30px;
    padding-top: 50px;
    text-align: center;
  }

  #mobilefrontcontent {
    margin-top: 70px;
  }

  #mobilefrontcontent .contentblock {
    padding: 20px;
  }

  #mobilefrontcontent .contentblock img {
    width: 100%;
  }

  .contentslider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .rightcolumn.mobileindex {
    width: 100%;
  }

  .leftcolumn.mobileindex {
    display: none;
  }

  .contentslider .slilderitem {
    flex: 0 0 55%;
    scroll-snap-align: start;
    position: relative;
  }

  .contentslider .slilderitem .textlabel {
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
  }

  #mobilefrontcontent .contentblock.fullwidthsize {
    padding-left: 0px;
    padding-right: 0px;
  }

}

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

/* ========== CILYON CUSTOM OVERRIDES ========== */

/* Remove cookie consent popup */
.shopify-cookie-banner,
[id*="cookie"],
.cookie-consent,
.cc-banner,
.cookie-bar,
shopify-consent-tracking-api,
.Shopify-cookie-consent {
  display: none !important;
}

/* Product page: hide main nav, show MENU toggle */
.template-product .header-row__menu,
.template-product .header__column--center {
  visibility: hidden;
}
.template-product .header-row__menu.menu-revealed,
.template-product .header__column--center.menu-revealed {
  visibility: visible;
}

/* Product card hover: show only name and price */
.product-card__info {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover .product-card__info,
.product-card__info .product-card__title,
.product-card__info .product-card__price {
  opacity: 1;
}

/* Featured products: 2:3 aspect ratio */
.featured-collection .product-card__media,
.featured-collection .product-card-gallery__media {
  aspect-ratio: 2/3 !important;
}
.featured-collection .product-card__media img,
.featured-collection .product-card-gallery__media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Search text link styling */
.search-text-link button:hover {
  opacity: 0.6;
}

/* Cart text styling */
.cart-text-label {
  cursor: pointer;
}
.cart-text-label:hover {
  opacity: 0.6;
}

/* Mobile menu styling */
.mobilemenu {
  display: none;
}
@media (max-width: 749px) {
  .mobilemenu {
    display: block;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .desktoponly {
    display: none !important;
  }
}

/* YSL-style footer */
footer .footer-content {
  border-top: 1px solid #e5e5e5;
  padding-top: 40px;
}

footer .section {
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}


/* ===== CILYON CUSTOM OVERRIDES (Category Page PDF) ===== */

/* 1. Hide "FREE STANDARD SHIPPING / FREE RETURN" overlay on product cards */
.product-badges,
.product-badges__badge,
.product-badges--bottom-left,
.product-badges--top-left,
.product-badges--top-right,
.product-card .card-gallery .badge,
.product-card .card-gallery [class*="badge"],
.product-card .product-badges,
.card-gallery .product-badges,
[class*="product-badges"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  clip: rect(0,0,0,0) !important;
}

/* 2. Hide product info text on product cards (category + front page) - no hover reveal */
.product-card__info {
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  height: 0 !important;
  overflow: hidden !important;
}
.product-card:hover .product-card__info {
  opacity: 0 !important;
}

/* 3. Category page: full-width product grid, 4 columns */
.product-grid--grid {
  --product-grid-columns-desktop: repeat(4, 1fr) !important;
  gap: 2px !important;
}
@media screen and (max-width: 749px) {
  .product-grid--grid {
    --mobile-columns: 2 !important;
    gap: 2px !important;
  }

  /* Collection page: edge-to-edge on mobile */
  body.template-collection .section {
    --page-margin: 0px !important;
    grid-template-columns: 0px 1fr 0px !important;
  }

  body.template-collection .collection-wrapper {
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-collection .main-collection-grid {
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-collection .product-grid__card {
    padding-inline: 0 !important;
  }

  /* Loewe-style edge-to-edge: kill ALL horizontal spacing */
  body.template-collection .product-grid-container {
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-collection .product-grid {
    gap: 1px !important;
    --product-grid-gap: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-collection .product-grid__item {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-collection .product-grid__card {
    padding: 0 !important;
    margin: 0 !important;
    gap: 8px !important;
    --padding-block-start: 0px !important;
    --padding-block-end: 0px !important;
    --padding-inline-start: 0px !important;
    --padding-inline-end: 0px !important;
  }

  body.template-collection .product-grid__card .card-gallery {
    border-radius: 0 !important;
  }

  body.template-collection .spacing-style,
  body.template-collection .section-content-wrapper {
    padding-inline: 0 !important;
  }

  body.template-collection .section--page-width > *,
  body.template-collection .section--full-width-margin > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Product info text: shift the real visible title + price wrappers on mobile */
  body.template-collection .product-grid__card > a.contents > .text-block,
  body.template-collection .product-grid__card > .text-block,
  body.template-collection .product-grid__card > product-price {
    padding-inline-start: 25px !important;
    padding-inline-end: 20px !important;
    box-sizing: border-box !important;
  }

  /* Keep inner text flush so only the wrapper creates the offset */
  body.template-collection .product-grid__card > a.contents > .text-block > *,
  body.template-collection .product-grid__card > .text-block > *,
  body.template-collection .product-grid__card > product-price > * {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  /* Search results: same edge-to-edge treatment */
  body.template-search .product-grid-container {
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-search .product-grid__item {
    border: none !important;
    padding: 0 !important;
  }

  body.template-search .product-grid__card {
    padding: 0 !important;
    --padding-block-start: 0px !important;
    --padding-block-end: 0px !important;
    --padding-inline-start: 0px !important;
    --padding-inline-end: 0px !important;
  }

  body.template-search .section {
    --page-margin: 0px !important;
    grid-template-columns: 0px 1fr 0px !important;
  }
}

/* Category page: remove all grid padding for edge-to-edge */
.collection-wrapper--full-width .main-collection-grid,
.main-collection-grid {
  padding: 0 !important;
}
.product-grid-container {
  --padding-block-start: 0px !important;
  --padding-block-end: 0px !important;
}

/* 4. Slim minimalistic arrows on card gallery (like YSL.com) */
.card-gallery .slideshow-control {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0;
  transition: opacity 0.2s ease;
  padding: 0 !important;
  width: 32px !important;
  height: 32px !important;
}
.card-gallery:hover .slideshow-control {
  opacity: 0.6;
}
.card-gallery .slideshow-control:hover {
  opacity: 1;
}
.card-gallery .slideshow-control .svg-wrapper {
  width: 16px !important;
  height: 16px !important;
}
.card-gallery .slideshow-control .svg-wrapper svg {
  stroke-width: 1 !important;
}

/* ================================================================
   CILYON — YSL-inspired product page layout
   ================================================================ */

/* v50 — Logo 40% smaller globally */
.header__heading-logo,
.header .header__heading img,
header .header__heading-logo,
.logoheader img {
  transform: scale(0.6) !important;
  transform-origin: center center !important;
}

/* v45 — PDP: use the native site header behavior so menu/logo/search match home and collection pages */

/* Menu / left column must be above everything */
body.template-product .leftcolumn,
body.template-product .menu-drawer,
body.template-product [class*="menu-drawer"] {
  z-index: 2000 !important;
}

/* ------- PRODUCT PAGE: 60/40 full-width split ------- */
@media screen and (min-width: 750px) {
  /* Make product section full-width edge-to-edge */
  body.template-product .product-information.section {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.template-product .product-information.section.section--page-width {
    max-width: 100% !important;
  }

  /* Override the grid to be 60/40 full-width */
  body.template-product .product-information__grid {
    display: grid !important;
    grid-template-columns: 60% 40% !important;
    grid-column: 1 / -1 !important;
    gap: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* LEFT: images column */
  body.template-product .product-information__media {
    order: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    min-width: 100% !important;
    padding: 0 !important;
  }

  /* RIGHT: centered product details like YSL */
  body.template-product .product-details {
    order: 1 !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 60px 50px !important;
    align-self: start !important;
    z-index: 2 !important;
  }

  /* Product details inner content: constrained width, centered */
  body.template-product .product-details > * {
    width: 100% !important;
    max-width: 400px !important;
  }

  body.template-product .product-details::-webkit-scrollbar {
    display: none !important;
  }

  /* --- Margiela-style thumbnail gallery --- */

  /* Ensure carousel mode displays correctly */
  body.template-product .product-information__media media-gallery.media-gallery--grid slideshow-component {
    display: block !important;
  }

  body.template-product .product-information__media media-gallery.media-gallery--grid .media-gallery__grid {
    display: none !important;
  }

  /* Show slideshow controls (thumbnails) — do NOT hide them */
  body.template-product .product-information__media slideshow-controls[thumbnails] {
    display: flex !important;
  }

  /* Hide arrows and non-thumbnail controls */
  body.template-product .product-information__media slideshow-arrows,
  body.template-product .product-information__media .slideshow-pagination {
    display: none !important;
  }

  /* Thumbnail strip: narrow, vertical, clean */
  body.template-product slideshow-controls[thumbnails] {
    --thumbnail-width: 48px !important;
    padding: 0 8px 0 0 !important;
    gap: 6px !important;
  }

  body.template-product slideshow-controls[thumbnails] .slideshow-controls__thumbnails {
    gap: 6px !important;
  }

  /* Individual thumbnails: minimal, no clutter */
  body.template-product slideshow-controls[thumbnails] .slideshow-controls__thumbnail,
  body.template-product slideshow-controls[thumbnails] button {
    width: 48px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    opacity: 0.45;
    transition: opacity 0.2s ease !important;
    cursor: pointer !important;
    outline: none !important;
  }

  body.template-product slideshow-controls[thumbnails] .slideshow-controls__thumbnail:hover,
  body.template-product slideshow-controls[thumbnails] button:hover {
    opacity: 0.75;
  }

  /* Active / selected thumbnail: subtle thin border */
  body.template-product slideshow-controls[thumbnails] .slideshow-controls__thumbnail[aria-current="true"],
  body.template-product slideshow-controls[thumbnails] .slideshow-controls__thumbnail.is-active,
  body.template-product slideshow-controls[thumbnails] .slideshow-controls__thumbnail[aria-selected="true"],
  body.template-product slideshow-controls[thumbnails] button[aria-current="true"],
  body.template-product slideshow-controls[thumbnails] button.is-active {
    opacity: 1 !important;
    border: 1px solid #1a1a1a !important;
    box-shadow: none !important;
    animation: none !important;
  }

  /* Thumbnail images: fill cleanly */
  body.template-product slideshow-controls[thumbnails] img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
  }

  /* Hide zoom button overlay on main image */
  body.template-product .product-media-container__zoom-button {
    display: none !important;
  }
}

/* Restore native media sizing */
body.template-product .product-media-container {
  aspect-ratio: var(--gallery-aspect-ratio, var(--media-preview-ratio)) !important;
  background: transparent !important;
}

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

/* ------- SUBTLE TRANSITIONS ------- */
body.template-product .product-media-container img {
  transition: opacity 0.4s ease !important;
}

body.template-product .product-media-container:hover img {
  opacity: 0.97 !important;
}

/* ------- CLEAN LUXURY TYPOGRAPHY ------- */
body.template-product .product-details h1,
body.template-product .product-details .product-title {
  font-weight: 300 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
}

body.template-product .product-details .price {
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
}

/* ================================================================
   CILYON — Full-screen editorial menu overlay (YSL-inspired)
   ================================================================ */

/* Overlay container */
/* ============================================
   CILYON — The Row-style Full-Screen Menu Overlay
   MOBILE ONLY
   ============================================ */
.cilyon-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fafaf8;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
              visibility 0s linear 0.4s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cilyon-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
              visibility 0s linear 0s;
}

html.menu-overlay-open,
body.menu-overlay-open {
  overflow: hidden !important;
}

/* Header row — Menu label left, X right */
.cilyon-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0 28px;
  flex-shrink: 0;
}

.cilyon-overlay__label {
  font-family: var(--font-body--family), sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

/* Close button — thin X */
.cilyon-overlay__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #000;
  transition: opacity 0.25s ease;
}
.cilyon-overlay__close:hover {
  opacity: 0.4;
}
.cilyon-overlay__close svg {
  display: block;
}

/* Nav container — left-aligned, generous top padding */
.cilyon-overlay__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 60px 28px 0 28px;
}

/* Menu list — clean, no bullets */
.cilyon-overlay__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each menu item */
.cilyon-overlay__item {
  opacity: 0;
  transform: translateY(8px);
}

.cilyon-overlay.is-open .cilyon-overlay__item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease calc(var(--delay, 0) * 0.05s + 0.1s),
              transform 0.35s ease calc(var(--delay, 0) * 0.05s + 0.1s);
}

/* Primary links */
.cilyon-overlay__link--primary {
  font-family: var(--font-body--family), sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #000;
  text-decoration: none;
  display: block;
  padding: 14px 0;
  transition: opacity 0.2s ease;
  line-height: 1.4;
}
.cilyon-overlay__link--primary:hover {
  opacity: 0.4;
}

/* Toggle button for expandable items */
.cilyon-overlay__toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

/* Plus icon */
.cilyon-overlay__plus {
  font-size: 1.1rem;
  font-weight: 300;
  color: #999;
  transition: transform 0.25s ease;
  line-height: 1;
}

.cilyon-overlay__item.is-expanded .cilyon-overlay__plus {
  transform: rotate(45deg);
}

/* Sublist — hidden by default, expand smoothly */
.cilyon-overlay__sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.cilyon-overlay__item.is-expanded .cilyon-overlay__sublist {
  max-height: 300px;
  padding: 4px 0 12px 0;
}

/* Sub-links */
.cilyon-overlay__sublink {
  font-family: var(--font-body--family), sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #666;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: opacity 0.2s ease;
}
.cilyon-overlay__sublink:hover {
  opacity: 0.4;
}

/* Utility links — bottom, separated with whitespace */
.cilyon-overlay__utility {
  padding: 40px 28px 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.cilyon-overlay__utility-link {
  font-family: var(--font-body--family), sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #888;
  text-decoration: none;
  transition: opacity 0.2s ease;
  opacity: 0;
  transform: translateY(6px);
}

.cilyon-overlay.is-open .cilyon-overlay__utility-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease calc(var(--delay, 0) * 0.05s + 0.1s),
              transform 0.35s ease calc(var(--delay, 0) * 0.05s + 0.1s);
}

.cilyon-overlay__utility-link:hover {
  opacity: 0.4;
}

/* Desktop: hide Menu button — navigation is via category links */
@media (min-width: 750px) {
  #mobilemenu,
  .mobilemenu {
    display: none !important;
  }
}

/* Hide the old Shopify header-drawer on mobile since we use our overlay */
.header__icon--menu,
.header-drawer--mobile {
  display: none !important;
}

/* ================================================================
   CILYON — Remove ALL product card hover overlays globally
   ================================================================ */

/* Nuclear removal of all quick-add, hover overlays, shipping/return text on product cards */
.product-card .quick-add,
.product-card .quick-shop,
.product-card .card__quick-add,
.product-card .product-card__overlay,
.product-card .card__hover-content,
.product-card .thumbnail__overlay,
.product-card .product-card__actions,
.product-card .card-information__button,
.product-card .product-card__cta,
.product-card .product-card__quick-add,
.product-card quick-add-component,
.product-card add-to-cart-component,
.product-card .quick-add__button,
.product-card .quick-add__button--choose,
.product-grid .quick-add,
.product-grid quick-add-component,
.product-grid add-to-cart-component,
.product-grid .product-card__overlay,
.card-gallery .quick-add,
.card-gallery quick-add-component,
.card-gallery add-to-cart-component,
.card-gallery .product-card__overlay,
.resource-card .quick-add,
.featured-collection-block .quick-add,
.featured-collection-block quick-add-component,
.featured-collection-block add-to-cart-component {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  width: 0 !important;
}

/* Remove any absolute-positioned overlay inside product cards */
.product-card__content > [style*="position: absolute"],
.product-card__content > [style*="position:absolute"],
.card-gallery > div[style*="position: absolute"],
.product-card .product-card__content > div:last-child:not(.layout-panel-flex) {
  display: none !important;
}

/* Remove hover-triggered visibility/opacity changes on product cards */
.product-card:hover .quick-add,
.product-card:hover .product-card__overlay,
.product-card:hover .card__hover-content,
.product-card:hover quick-add-component,
.product-card:hover add-to-cart-component,
.product-card:focus-within .quick-add,
.product-card:focus-within quick-add-component,
.product-card:focus-within add-to-cart-component {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Kill any hover effect that reveals content on cards */
.product-card:hover .product-card__content::after,
.product-card:hover .product-card__content::before,
.card-gallery:hover::after,
.card-gallery:hover::before {
  display: none !important;
  opacity: 0 !important;
}

/* Ensure no ghost white box remains */
.product-card [data-quick-add-button],
.product-card [data-quick-add],
.product-grid__card [data-quick-add-button],
.product-grid__card [data-quick-add] {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Force --quick-add-display to none globally */
.product-card,
.product-card__content,
.product-grid__card {
  --quick-add-display: none !important;
  --quick-add-mobile-display: none !important;
  --quick-add-mobile-opacity: 0 !important;
}

/* Remove card hover effect styling */
.product-card .card-gallery::after {
  display: none !important;
  content: none !important;
}

/* ================================================================
   v9 — CILYON Theme Updates
   ================================================================ */

/* 1. Mobile header controls — reliable menu trigger + minimal icons */
@media screen and (max-width: 749px) {
  #mobilemenu,
  .mobilemenu {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    grid-area: leftA;
    justify-self: start;
    align-self: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    background: none !important;
    border: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    font-size: 0 !important;
    color: transparent !important;
    cursor: pointer;
    z-index: 9000 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  #mobilemenu::before,
  .mobilemenu::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 12px;
    width: 22px;
    height: 6px;
    border-top: 1.2px solid #000;
    border-bottom: 1.2px solid #000;
    pointer-events: none;
  }

  #mobilemenu::after,
  .mobilemenu::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 24px;
    width: 22px;
    border-top: 1.2px solid #000;
    pointer-events: none;
  }

  .search-text-link {
    display: inline-flex !important;
    grid-area: rightA;
    justify-self: end;
    align-items: center;
    align-self: center;
    margin: 0 !important;
    z-index: 9000 !important;
  }

  .search-text-link button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;
    color: transparent !important;
    width: 18px;
    min-width: 18px;
    height: 18px;
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: 0 !important;
    overflow: visible;
  }

  .search-text-link button::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 11px;
    height: 11px;
    border: 1.2px solid #000;
    border-radius: 50%;
    box-sizing: border-box;
  }

  .search-text-link button::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 11px;
    width: 6px;
    height: 0;
    border-top: 1.2px solid #000;
    transform: rotate(45deg);
    transform-origin: 0 0;
  }

  .header__column--right header-actions,
  header-actions {
    grid-area: rightB;
    justify-self: end !important;
    align-self: center;
    display: flex !important;
    align-items: center;
    margin-inline-start: 0 !important;
    z-index: 9000 !important;
  }

  header-actions .header-actions__action,
  header-actions .action__cart,
  header-actions [data-testid='cart-drawer-trigger'] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 18px;
    height: 18px;
    background: none !important;
    border: 0 !important;
  }

  header-actions .header-actions__cart-icon,
  header-actions cart-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 18px;
    position: relative;
    vertical-align: middle;
  }

  .cart-text-label {
    display: block;
    width: 18px;
    height: 18px;
    position: relative;
    font-size: 0 !important;
    color: transparent !important;
    line-height: 0;
    overflow: visible;
  }

  .cart-text-label::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 6px;
    width: 14px;
    height: 10px;
    border: 1.2px solid #000;
    border-radius: 0 0 2px 2px;
    box-sizing: border-box;
  }

  .cart-text-label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 8px;
    height: 7px;
    border: 1.2px solid #000;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    box-sizing: border-box;
    background: transparent !important;
  }

  .cilyon-overlay {
    pointer-events: none;
  }

  .cilyon-overlay.is-open {
    pointer-events: auto;
  }
}

/* 2. Featured products: remove text, 2:3 ratio, full width */
[data-section="product-recommendations"] .card__content_price,
[data-section="product-recommendations"] .card__content,
[data-section="product-recommendations"] .card__heading,
[data-section="product-recommendations"] .card__information,
[data-section="product-recommendations"] .card__badge {
  display: none !important;
}

[data-section="product-recommendations"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

[data-section="product-recommendations"] .product-recommendations__list {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  gap: 0 !important;
  column-gap: 4px !important;
}

[data-section="product-recommendations"] .card__inner.ratio {
  --ratio-percent: 150% !important;
}

[data-section="product-recommendations"] .card__media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

[data-section="product-recommendations"] .product-recommendations-wrapper,
[data-section="product-recommendations"] .slider-buttons-wrapper,
[data-section="product-recommendations"] .scrollable-content {
  max-width: 100% !important;
  padding: 0 !important;
}

.product-recommendations-wrapper.color-background-1 {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Mobile: product recommendation carousel — clean image-only strip */
@media screen and (max-width: 749px) {
  [data-section="product-recommendations"] slideshow-slides {
    padding-inline-start: 0px !important;
    padding-inline-end: 0px !important;
    scroll-padding-inline-start: 0px !important;
    gap: 2px !important;
  }

  [data-section="product-recommendations"] .resource-list__carousel {
    --gutter-slide-width: 0px !important;
  }

  [data-section="product-recommendations"] .resource-list__carousel slideshow-slides {
    padding-inline-start: 0px !important;
    padding-inline-end: 0px !important;
    gap: 2px !important;
  }

  [data-section="product-recommendations"] .section-resource-list__content,
  [data-section="product-recommendations"] .block-resource-list {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  [data-section="product-recommendations"] .section.section--page-width > * {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  [data-section="product-recommendations"] .section {
    --page-margin: 0px !important;
    grid-template-columns: 0px 1fr 0px !important;
  }

  /* Larger slides — show ~2 products filling screen */
  [data-section="product-recommendations"] slideshow-slide,
  product-recommendations slideshow-slide {
    --slide-size: 49% !important;
    min-width: 49% !important;
    flex: 0 0 49% !important;
  }

  /* Product card fills slide */
  [data-section="product-recommendations"] slideshow-slide .product-card,
  [data-section="product-recommendations"] slideshow-slide .resource-list__item,
  product-recommendations slideshow-slide .product-card,
  product-recommendations slideshow-slide .resource-list__item {
    width: 100% !important;
    padding: 0 !important;
  }

  [data-section="product-recommendations"] slideshow-slide .card-gallery,
  [data-section="product-recommendations"] slideshow-slide .product-media,
  [data-section="product-recommendations"] slideshow-slide .product-media-container,
  product-recommendations slideshow-slide .card-gallery,
  product-recommendations slideshow-slide .product-media,
  product-recommendations slideshow-slide .product-media-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  [data-section="product-recommendations"] slideshow-slide img,
  product-recommendations slideshow-slide img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  /* Hide product title, price, and all text below images */
  [data-section="product-recommendations"] slideshow-slide .product-card-title,
  [data-section="product-recommendations"] slideshow-slide .product-title,
  [data-section="product-recommendations"] slideshow-slide .price,
  [data-section="product-recommendations"] slideshow-slide .price-wrapper,
  [data-section="product-recommendations"] slideshow-slide .product-card__info,
  [data-section="product-recommendations"] slideshow-slide .text-block:not(.section-resource-list__content .text-block),
  product-recommendations slideshow-slide .product-card-title,
  product-recommendations slideshow-slide .product-title,
  product-recommendations slideshow-slide .price,
  product-recommendations slideshow-slide .price-wrapper,
  product-recommendations slideshow-slide .product-card__info,
  product-recommendations slideshow-slide .text-block:not(.section-resource-list__content .text-block) {
    display: none !important;
  }

  /* Hide non-gallery text blocks inside product cards */
  body.template-product [data-section="product-recommendations"] product-card > .text-block,
  body.template-product [data-section="product-recommendations"] product-card > .price,
  body.template-product [data-section="product-recommendations"] product-card > .price-wrapper,
  body.template-product product-recommendations product-card > .text-block,
  body.template-product product-recommendations product-card > .price,
  body.template-product product-recommendations product-card > .price-wrapper {
    display: none !important;
  }

  /* Grid fallback */
  #product-recommendations .product-grid,
  [data-section="product-recommendations"] .product-grid,
  product-recommendations .product-grid {
    --mobile-columns: 2 !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px !important;
  }

  #product-recommendations .product-grid .product-grid__item,
  [data-section="product-recommendations"] .product-grid .product-grid__item,
  product-recommendations .product-grid .product-grid__item {
    max-width: 100% !important;
  }

  /* "Discover The Collection" heading */
  [data-section="product-recommendations"] .section-resource-list__content .text-block,
  product-recommendations .section-resource-list__content .text-block {
    padding-left: 16px !important;
  }
}


/* ================================================================
   v31 — ICONIQUE by Cilyon: Page-Specific Styling
   Only applies to /pages/iconique-by-cilyon via body.page-iconique-by-cilyon
   ================================================================ */

/* ---- Full Black Background ---- */
body.page-iconique-by-cilyon,
body.page-iconique-by-cilyon html,
body.page-iconique-by-cilyon main,
body.page-iconique-by-cilyon #MainContent,
body.page-iconique-by-cilyon .content-for-layout,
body.page-iconique-by-cilyon .row,
body.page-iconique-by-cilyon .rightcolumn,
body.page-iconique-by-cilyon .leftcolumn,
body.page-iconique-by-cilyon .section-wrapper,
body.page-iconique-by-cilyon .section,
body.page-iconique-by-cilyon .section-background,
body.page-iconique-by-cilyon footer,
body.page-iconique-by-cilyon #header-group,
body.page-iconique-by-cilyon header-component,
body.page-iconique-by-cilyon .header-section,
body.page-iconique-by-cilyon .shopify-section,
body.page-iconique-by-cilyon [class*="color-"] {
  background: #000 !important;
  background-color: #000 !important;
}

/* ---- White Logo via Invert Filter ---- */
body.page-iconique-by-cilyon .logoheader img,
body.page-iconique-by-cilyon .header-logo img,
body.page-iconique-by-cilyon header-component img[src*="cilyonlogo"] {
  filter: invert(1) !important;
}

/* ---- Hide ALL Navigation / Menu ---- */
body.page-iconique-by-cilyon #linksblock,
body.page-iconique-by-cilyon .leftcolumn,
body.page-iconique-by-cilyon .header__row--mobile,
body.page-iconique-by-cilyon .header-row,
body.page-iconique-by-cilyon nav,
body.page-iconique-by-cilyon .header-actions,
body.page-iconique-by-cilyon #mobilemenu,
body.page-iconique-by-cilyon .mobilemenu,
body.page-iconique-by-cilyon .header-drawer,
body.page-iconique-by-cilyon [data-header-action],
body.page-iconique-by-cilyon .menulinks,
body.page-iconique-by-cilyon .cilyon-menu-trigger,
body.page-iconique-by-cilyon button[aria-label*="Menu"],
body.page-iconique-by-cilyon button[aria-label*="menu"],
body.page-iconique-by-cilyon .header__icon--menu {
  display: none !important;
  visibility: hidden !important;
}

/* ---- Keep only the logo visible in header ---- */
body.page-iconique-by-cilyon .logoheader {
  display: block !important;
  visibility: visible !important;
}

/* ---- White Text for Readability ---- */
body.page-iconique-by-cilyon,
body.page-iconique-by-cilyon h1,
body.page-iconique-by-cilyon h2,
body.page-iconique-by-cilyon h3,
body.page-iconique-by-cilyon h4,
body.page-iconique-by-cilyon h5,
body.page-iconique-by-cilyon h6,
body.page-iconique-by-cilyon p,
body.page-iconique-by-cilyon span,
body.page-iconique-by-cilyon a,
body.page-iconique-by-cilyon li,
body.page-iconique-by-cilyon .rte,
body.page-iconique-by-cilyon .rte *,
body.page-iconique-by-cilyon .page-title,
body.page-iconique-by-cilyon .utilities,
body.page-iconique-by-cilyon .utilities a,
body.page-iconique-by-cilyon footer *,
body.page-iconique-by-cilyon .section * {
  color: #fff !important;
}

/* ---- Footer Links on Iconique Page ---- */
body.page-iconique-by-cilyon footer a:hover {
  color: #ccc !important;
}

/* ---- Remove any pseudo-element backgrounds ---- */
body.page-iconique-by-cilyon .section-background::before,
body.page-iconique-by-cilyon .section-background::after,
body.page-iconique-by-cilyon header-component::before,
body.page-iconique-by-cilyon header-component::after {
  display: none !important;
  background: transparent !important;
}

/* ---- Full-width content on Iconique page ---- */
body.page-iconique-by-cilyon .rightcolumn {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* ---- Override color scheme variables ---- */
body.page-iconique-by-cilyon {
  --color-background: 0 0% 0%;
  --color-foreground: 0 0% 100%;
  --color-foreground-muted: 0 0% 80%;
  --color-border: 0 0% 20%;
}

/* ============================================
   v32 — CILYON EDITORIAL FOOTER (YSL LOGIC)
   ============================================ */

/* Kill all old footer styling */
footer .footer-content,
footer .section,
.footer-utilities,
.footer-utilities .utilities {
  display: none !important;
}

/* Footer container */
.cilyon-footer {
  background: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
  padding: 80px 60px 60px 60px !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  border-top: 1px solid #e0e0e0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Column grid — 4 columns, YSL-style */
.cilyon-footer__columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  gap: 0 !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Individual column */
.cilyon-footer__col {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Column headings — quiet, uppercase, editorial */
.cilyon-footer__heading {
  display: block !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #000 !important;
  margin-bottom: 24px !important;
  line-height: 1 !important;
}

/* Link lists */
.cilyon-footer__links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cilyon-footer__links li {
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
}

.cilyon-footer__links a {
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  color: #000 !important;
  text-decoration: none !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  transition: opacity 0.2s ease !important;
  border: none !important;
  background: none !important;
}

.cilyon-footer__links a:hover {
  opacity: 0.5 !important;
}

/* Newsletter input — bottom border only */
.cilyon-footer__newsletter {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 220px !important;
}

.cilyon-footer__email-input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0 !important;
  padding: 8px 0 !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  color: #000 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
}

.cilyon-footer__email-input::placeholder {
  color: #999 !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
}

.cilyon-footer__email-submit {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0 !important;
  padding: 8px 4px !important;
  cursor: pointer !important;
  color: #000 !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: none !important;
  outline: none !important;
  width: auto !important;
  min-width: 0 !important;
}

.cilyon-footer__email-submit:hover {
  opacity: 0.5 !important;
}

/* Bottom area — Instagram with massive whitespace */
.cilyon-footer__bottom {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 100px !important;
  margin-bottom: 20px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.cilyon-footer__instagram {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  color: #000 !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: opacity 0.2s ease !important;
  border: none !important;
  background: transparent !important;
}

.cilyon-footer__instagram:hover {
  opacity: 0.5 !important;
}

.cilyon-footer__instagram svg {
  stroke: #000 !important;
}

/* Copyright */
.cilyon-footer__copyright {
  text-align: center !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  color: #999 !important;
  margin-top: 40px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

/* MOBILE — clean stacked editorial */
@media screen and (max-width: 749px) {
  .cilyon-footer {
    padding: 60px 24px 48px 24px !important;
  }

  .cilyon-footer__columns {
    grid-template-columns: 1fr 1fr !important;
    gap: 48px 24px !important;
  }

  .cilyon-footer__heading {
    margin-bottom: 18px !important;
  }

  .cilyon-footer__links li {
    margin: 0 0 12px 0 !important;
  }

  .cilyon-footer__bottom {
    margin-top: 64px !important;
  }

  .cilyon-footer__newsletter {
    max-width: 100% !important;
  }
}

@media screen and (max-width: 480px) {
  .cilyon-footer__columns {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* Iconique page — override footer to dark */
body.page-iconique-by-cilyon .cilyon-footer {
  background: #000 !important;
  background-color: #000 !important;
  border-top-color: #333 !important;
}

body.page-iconique-by-cilyon .cilyon-footer__heading,
body.page-iconique-by-cilyon .cilyon-footer__links a,
body.page-iconique-by-cilyon .cilyon-footer__instagram,
body.page-iconique-by-cilyon .cilyon-footer__email-input,
body.page-iconique-by-cilyon .cilyon-footer__email-submit {
  color: #fff !important;
}

body.page-iconique-by-cilyon .cilyon-footer__instagram svg {
  stroke: #fff !important;
}

body.page-iconique-by-cilyon .cilyon-footer__email-input {
  border-bottom-color: #fff !important;
}

body.page-iconique-by-cilyon .cilyon-footer__email-submit {
  border-bottom-color: #fff !important;
}

body.page-iconique-by-cilyon .cilyon-footer__email-input::placeholder {
  color: #666 !important;
}

body.page-iconique-by-cilyon .cilyon-footer__copyright {
  color: #666 !important;
}

/* Section wrapper resets for footer */
footer.section-wrapper,
.footer-utilities {
  background: #fff !important;
  background-color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}

/* ============================================
   v32b — ICONIQUE PAGE: 3 STRICT CHANGES
   ============================================ */

/* CHANGE 1 — Hide page title H1 completely, zero space */
body.page-iconique-by-cilyon .page-title,
body.page-iconique-by-cilyon h1,
body.page-iconique-by-cilyon .rte h1,
body.page-iconique-by-cilyon .section-content-wrapper > .page-title,
body.page-iconique-by-cilyon [class*="heading"] h1 {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

/* CHANGE 2 — Fix spacing between text and images */
body.page-iconique-by-cilyon .section-content-wrapper,
body.page-iconique-by-cilyon .layout-panel-flex,
body.page-iconique-by-cilyon .layout-panel-flex--column {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

body.page-iconique-by-cilyon .group-block,
body.page-iconique-by-cilyon .group-block-content {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

body.page-iconique-by-cilyon .rte,
body.page-iconique-by-cilyon .rte-formatter,
body.page-iconique-by-cilyon .page-block,
body.page-iconique-by-cilyon .group-block,
body.page-iconique-by-cilyon .group-block-content,
body.page-iconique-by-cilyon image-block,
body.page-iconique-by-cilyon .section-content-wrapper > * {
  position: relative !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Each content block becomes a scroll section */
body.page-iconique-by-cilyon .section-content-wrapper > *,
body.page-iconique-by-cilyon .group-block-content > * {
  margin-top: 60px !important;
  margin-bottom: 60px !important;
}

body.page-iconique-by-cilyon .section-content-wrapper > *:first-child {
  margin-top: 0 !important;
}

body.page-iconique-by-cilyon .section-content-wrapper > *:last-child {
  margin-bottom: 0 !important;
}

/* Images must not be absolutely positioned */
body.page-iconique-by-cilyon image-block {
  position: relative !important;
  overflow: visible !important;
}

body.page-iconique-by-cilyon image-block img {
  position: relative !important;
  display: block !important;
}

/* Remove any forced gap=0 or margin collapse */
body.page-iconique-by-cilyon .layout-panel-flex--column > * + * {
  margin-top: 60px !important;
}

/* RTE text blocks need breathing room from images */
body.page-iconique-by-cilyon .rte {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

body.page-iconique-by-cilyon .rte p {
  margin-bottom: 1.6em !important;
}

/* CHANGE 3 — Cinematic section-driven scroll (Chanel-inspired) */

/* Scroll snap container on the main content area */
body.page-iconique-by-cilyon {
  scroll-behavior: smooth !important;
}

body.page-iconique-by-cilyon #MainContent,
body.page-iconique-by-cilyon .content-for-layout,
body.page-iconique-by-cilyon main {
  scroll-snap-type: y proximity !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Each section/block is a snap target */
body.page-iconique-by-cilyon .section-content-wrapper > *,
body.page-iconique-by-cilyon .group-block-content > * {
  scroll-snap-align: start !important;
  scroll-margin-top: 20px !important;
}

/* Sections need generous min-height for deliberate rhythm */
body.page-iconique-by-cilyon .section-content-wrapper > .group-block,
body.page-iconique-by-cilyon .section-content-wrapper > [class*="content"] {
  min-height: 60vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Image sections: full viewport presence */
body.page-iconique-by-cilyon image-block {
  min-height: 70vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-iconique-by-cilyon image-block img {
  max-height: 85vh !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* Text sections: centered with authority */
body.page-iconique-by-cilyon .rte {
  min-height: 40vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile adjustments */
@media screen and (max-width: 749px) {
  body.page-iconique-by-cilyon .section-content-wrapper > *,
  body.page-iconique-by-cilyon .group-block-content > *,
  body.page-iconique-by-cilyon .layout-panel-flex--column > * + * {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }

  body.page-iconique-by-cilyon image-block {
    min-height: 50vh !important;
  }

  body.page-iconique-by-cilyon .section-content-wrapper > .group-block,
  body.page-iconique-by-cilyon .section-content-wrapper > [class*="content"] {
    min-height: 40vh !important;
  }

  body.page-iconique-by-cilyon .rte {
    min-height: 30vh !important;
    max-width: 90% !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}

/* Fade-in animation for Iconique sections */
body.page-iconique-by-cilyon .section-content-wrapper > *,
body.page-iconique-by-cilyon .group-block-content > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

body.page-iconique-by-cilyon .section-content-wrapper > .is-visible,
body.page-iconique-by-cilyon .group-block-content > .is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ============================================================
   v32 — YSL-STRICT CONTACT PAGE
   ============================================================ */

/* Wrapper: narrow centered column */
.ysl-contact-wrapper {
  max-width: 680px !important;
  margin: 0 auto !important;
  padding: 60px 20px 100px 20px !important;
  background: #fff !important;
}

/* Form reset */
.ysl-contact-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  background: #fff !important;
}

/* Field groups */
.ysl-field-group {
  margin-bottom: 36px !important;
  position: relative !important;
}

/* Labels: uppercase, small, bold */
.ysl-label {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #000 !important;
  margin-bottom: 10px !important;
  font-family: inherit !important;
}

.ysl-required {
  color: #000 !important;
}

/* Underline-only inputs */
.ysl-input {
  width: 100% !important;
  border: none !important;
  border-bottom: 1.5px solid #000 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 8px 0 10px 0 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  color: #000 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  font-family: inherit !important;
  text-transform: uppercase !important;
}

.ysl-input::placeholder {
  color: #999 !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
}

.ysl-input:focus {
  border-bottom-color: #000 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Select (prefix) */
.ysl-select {
  border: none !important;
  border-bottom: 1.5px solid #000 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 8px 24px 10px 0 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  color: #000 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  font-family: inherit !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23000'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 4px center !important;
  background-size: 10px 6px !important;
}

/* Split row: prefix + phone */
.ysl-split-label-row {
  display: flex !important;
  gap: 24px !important;
}
.ysl-split-label-row .ysl-label:first-child {
  flex: 0 0 100px !important;
}
.ysl-split-label-row .ysl-label:last-child {
  flex: 1 !important;
}

.ysl-split-row {
  display: flex !important;
  gap: 24px !important;
  align-items: flex-end !important;
}
.ysl-prefix-wrap {
  flex: 0 0 100px !important;
}
.ysl-phone-wrap {
  flex: 1 !important;
}

/* Radio buttons: YSL minimal */
.ysl-radio-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  align-items: center !important;
}

.ysl-radio {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  color: #000 !important;
  cursor: pointer !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  font-family: inherit !important;
}

.ysl-radio input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.ysl-radio-circle {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  border: 1.5px solid #000 !important;
  background: #fff !important;
  flex-shrink: 0 !important;
  position: relative !important;
  transition: none !important;
}

.ysl-radio input[type="radio"]:checked + .ysl-radio-circle::after {
  content: '' !important;
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #000 !important;
}

/* Textarea: thin border box */
.ysl-textarea-wrap {
  position: relative !important;
}

.ysl-textarea {
  width: 100% !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  background: #fff !important;
  padding: 16px !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  color: #000 !important;
  outline: none !important;
  box-shadow: none !important;
  resize: vertical !important;
  min-height: 180px !important;
  font-family: inherit !important;
  text-transform: uppercase !important;
  -webkit-appearance: none !important;
}

.ysl-textarea::placeholder {
  color: #999 !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
}

.ysl-textarea:focus {
  border-color: #000 !important;
  outline: none !important;
  box-shadow: none !important;
}

.ysl-char-count {
  position: absolute !important;
  bottom: 12px !important;
  right: 14px !important;
  font-size: 11px !important;
  color: #999 !important;
  letter-spacing: 0.04em !important;
  pointer-events: none !important;
}

/* File upload */
.ysl-upload-group {
  margin-bottom: 24px !important;
}

.ysl-upload-label {
  display: block !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #000 !important;
  font-weight: 400 !important;
  margin-bottom: 8px !important;
  font-family: inherit !important;
}

.ysl-file-input {
  font-size: 12px !important;
  color: #000 !important;
  font-family: inherit !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.ysl-file-input::file-selector-button {
  background: transparent !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  padding: 6px 16px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #000 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  margin-right: 0 !important;
}

/* Required note */
.ysl-required-note {
  font-size: 10px !important;
  letter-spacing: 0.06em !important;
  color: #999 !important;
  text-transform: uppercase !important;
  margin-bottom: 40px !important;
  font-family: inherit !important;
}

/* Submit: flat black bar */
.ysl-submit-wrap {
  width: 100% !important;
}

.ysl-submit-btn {
  display: block !important;
  width: 100% !important;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 18px 0 !important;
  font-size: 12px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  transition: opacity 0.2s ease !important;
}

.ysl-submit-btn:hover {
  opacity: 0.85 !important;
  background: #000 !important;
  color: #fff !important;
}

/* Status messages */
.ysl-contact-form__status {
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  padding: 14px 0 !important;
  margin-bottom: 20px !important;
  font-family: inherit !important;
}
.ysl-contact-form__status--error {
  color: #c00 !important;
}
.ysl-contact-form__status--success {
  color: #000 !important;
}

/* Kill default contact-form styles from theme */
.contact-form .contact-form__input,
.contact-form .contact-form__form,
.contact-form .contact-form__form-row {
  all: unset !important;
  display: block !important;
}

/* Contact page: force white bg on entire section */
.section-wrapper:has(.ysl-contact-wrapper) {
  background: #fff !important;
}

/* Hide page title on contact page if it still shows */
body[class*="contact"] .page-title,
body[class*="contact"] main h1:first-of-type {
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  color: #000 !important;
  margin-bottom: 10px !important;
  padding: 0 !important;
}

/* Mobile refinements */
@media screen and (max-width: 749px) {
  .ysl-contact-wrapper {
    padding: 40px 16px 80px 16px !important;
  }
  .ysl-radio-row {
    gap: 14px !important;
  }
  .ysl-split-row {
    flex-direction: row !important;
    gap: 16px !important;
    align-items: flex-end !important;
  }
  .ysl-prefix-wrap {
    flex: 0 0 90px !important;
    margin-bottom: 0 !important;
  }
  .ysl-phone-wrap {
    flex: 1 !important;
  }
  .ysl-split-label-row {
    flex-direction: row !important;
    gap: 16px !important;
    text-align: left !important;
  }
  .ysl-split-label-row .ysl-label:first-child {
    flex: 0 0 90px !important;
    margin-bottom: 0 !important;
  }
}


/* v32 — Contact page: force 100% center alignment */
.ysl-contact-wrapper {
  text-align: center !important;
}
.ysl-contact-form {
  align-items: center !important;
}
.ysl-field-group {
  width: 100% !important;
  max-width: 520px !important;
  text-align: left !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ysl-upload-group {
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ysl-required-note {
  text-align: center !important;
}
.ysl-submit-wrap {
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ysl-contact-form__status {
  text-align: center !important;
}

/* v32 — Iconique: reduce space between header/logo and first content */
body.page-iconique-by-cilyon #MainContent {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.page-iconique-by-cilyon .content-for-layout {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.page-iconique-by-cilyon .section-wrapper:first-child {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.page-iconique-by-cilyon .section-wrapper:first-child .section {
  padding-top: 10px !important;
  margin-top: 0 !important;
}
body.page-iconique-by-cilyon .section-content-wrapper > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ============================================================
   v32 — YSL-STRICT CART DRAWER REBUILD
   ============================================================ */

/* ---- Drawer: wider, white, no shadow ---- */
.cart-drawer__dialog.dialog-drawer {
  --drawer-max-width: 520px !important;
  --drawer-width: 520px !important;
  background: #fff !important;
  box-shadow: none !important;
  border: none !important;
  border-left: 1px solid #e5e5e5 !important;
  border-radius: 0 !important;
  color: #000 !important;
}

/* Force all text inside cart drawer to black on white */
.cart-drawer__dialog,
.cart-drawer__dialog * {
  color: #000 !important;
  background-color: transparent !important;
}

.cart-drawer__dialog .section-background,
.cart-drawer__dialog .cart__summary-inner,
.cart-drawer__dialog .cart__summary-container {
  background: #fff !important;
  background-color: #fff !important;
}

/* ---- Inner layout ---- */
.cart-drawer__inner {
  background: #fff !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.cart-drawer__inner .cart-items-component {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* ---- Header: BAG (X) left, close right ---- */
.cart-drawer__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 24px 28px 20px 28px !important;
  border-bottom: none !important;
  background: #fff !important;
}

.cart-drawer__heading {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.cart-drawer__heading .cart-bubble {
  background: none !important;
  padding: 0 !important;
  min-width: auto !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
}

.cart-drawer__heading .cart-bubble__background {
  background: transparent !important;
}

.cart-drawer__heading .cart-bubble__text {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #000 !important;
}

/* Close button: thin X */
.cart-drawer__close-button {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  width: 20px !important;
  height: 20px !important;
  cursor: pointer !important;
}

.cart-drawer__close-button .svg-wrapper {
  width: 16px !important;
  height: 16px !important;
}

.cart-drawer__close-button svg {
  stroke: #000 !important;
  stroke-width: 1.5 !important;
}

/* ---- Content area ---- */
.cart-drawer__content {
  flex: 1 !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
}

.cart-drawer__items {
  flex: 1 !important;
  padding: 0 28px !important;
  overflow-y: auto !important;
}

/* ---- Product rows: minimal ---- */
.cart-drawer .cart-items {
  gap: 28px !important;
  border: none !important;
}

.cart-drawer .cart-items__table {
  border-collapse: collapse !important;
  width: 100% !important;
}

.cart-drawer .cart-items__table-row {
  display: flex !important;
  gap: 16px !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid #eee !important;
  align-items: flex-start !important;
}

.cart-drawer .cart-items__table-row:last-child {
  border-bottom: none !important;
}

/* Product image: small, no border */
.cart-drawer .cart-items__media {
  flex: 0 0 100px !important;
  width: 100px !important;
}

.cart-drawer .cart-items__media-container {
  display: block !important;
}

.cart-drawer .cart-items__media-image {
  width: 100% !important;
  height: auto !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Product details */
.cart-drawer .cart-items__details {
  flex: 1 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.cart-drawer .cart-items__title {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: #000 !important;
  line-height: 1.4 !important;
}

.cart-drawer .cart-items__variants {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 2px 0 !important;
}

.cart-drawer .cart-items__variant,
.cart-drawer .cart-items__variants dd {
  font-size: 11px !important;
  color: #000 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
}

/* Price: right-aligned */
.cart-drawer .cart-items__price-container,
.cart-drawer td[headers="productTotal"] {
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  color: #000 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

/* ---- Quantity: inline text-only ---- */
.cart-drawer .cart-quantity-selector,
.cart-drawer cart-quantity-selector {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: none !important;
  background: none !important;
  padding: 6px 0 0 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.cart-drawer .cart-quantity-selector button,
.cart-drawer cart-quantity-selector button {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font-size: 14px !important;
  color: #000 !important;
  cursor: pointer !important;
  min-width: auto !important;
  min-height: auto !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.cart-drawer .cart-quantity-selector input,
.cart-drawer cart-quantity-selector input {
  background: none !important;
  border: none !important;
  width: 20px !important;
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #000 !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
  box-shadow: none !important;
}

.cart-drawer .cart-quantity-selector input::-webkit-outer-spin-button,
.cart-drawer .cart-quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Quantity label */
.cart-drawer .cart-items__quantity-label,
.cart-drawer .quantity-label {
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
  color: #000 !important;
}

/* Remove link: text only */
.cart-drawer .cart-items__remove,
.cart-drawer .cart-remove,
.cart-drawer [data-remove],
.cart-drawer a[href*="/cart/change"] {
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  text-decoration: underline !important;
  color: #000 !important;
  background: none !important;
  border: none !important;
  padding: 4px 0 0 0 !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}

/* ---- Summary / totals ---- */
.cart-drawer__summary,
.cart-drawer .cart__summary-container,
.cart-drawer .cart__summary-inner {
  background: #fff !important;
  padding: 20px 28px 28px 28px !important;
  border-top: 1px solid #eee !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.cart-drawer .cart__summary-totals {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.cart-drawer .cart__summary-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.cart-drawer .cart__total {
  font-weight: 700 !important;
  font-size: 11px !important;
}

.cart-drawer .cart__total-label,
.cart-drawer .cart__original-total-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.cart-drawer .cart__total-value {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

/* Tax note */
.cart-drawer .tax-note,
.cart-drawer .cart__tax-note {
  font-size: 9px !important;
  color: #999 !important;
  letter-spacing: 0.04em !important;
}

/* ---- CTA: Checkout = flat black bar ---- */
.cart-drawer .cart__checkout-button,
.cart-drawer .cart-summary-checkout-button,
.cart-drawer form[action="/checkout"] button,
.cart-drawer a[href="/checkout"],
.cart-drawer .button--primary,
.cart-drawer .cart__summary-inner .button {
  display: block !important;
  width: 100% !important;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 16px 0 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  cursor: pointer !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none !important;
}

.cart-drawer .cart__checkout-button:hover,
.cart-drawer .cart-summary-checkout-button:hover,
.cart-drawer form[action="/checkout"] button:hover,
.cart-drawer a[href="/checkout"]:hover,
.cart-drawer .button--primary:hover,
.cart-drawer .cart__summary-inner .button:hover {
  opacity: 0.85 !important;
  background: #000 !important;
  color: #fff !important;
}

/* ---- KILL PayPal / accelerated checkout ---- */
.cart-drawer .shopify-payment-button,
.cart-drawer .additional-checkout-buttons,
.cart-drawer [data-shopify="dynamic-checkout-cart"],
.cart-drawer .dynamic-checkout__buttons,
.cart-drawer .dynamic-checkout__content,
.cart-drawer shopify-accelerated-checkout,
.cart-drawer shopify-accelerated-checkout-cart,
.cart-drawer .accelerated-checkout-block,
.cart-drawer .shopify-payment-button__button--unbranded,
.cart-drawer .shopify-payment-button__button--branded,
.cart-drawer [data-testid="dynamic-checkout-cart"],
.cart-drawer .cart__dynamic-checkout-buttons,
.cart-drawer iframe[title*="PayPal"],
.cart-drawer iframe[src*="paypal"],
.cart-drawer .paypal-buttons,
.cart-drawer .paypal-button-container,
.cart-drawer more-payment-options-link {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---- Kill cart notes/discount in drawer ---- */
.cart-drawer .cart-actions,
.cart-drawer .cart-note,
.cart-drawer .cart-discount,
.cart-drawer .cart__installments {
  display: none !important;
}

/* ---- Kill all borders, shadows, card styles inside drawer ---- */
.cart-drawer .border-style {
  border: none !important;
}

.cart-drawer [class*="color-"] {
  background: #fff !important;
  color: #000 !important;
}

/* ---- Scroll hint styling ---- */
.cart-drawer scroll-hint {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
}

.cart-drawer scroll-hint scroll-hint {
  flex: 1 !important;
  overflow-y: auto !important;
}

/* ---- Kill scroll hint fade effects ---- */
.cart-drawer scroll-hint::before,
.cart-drawer scroll-hint::after {
  display: none !important;
  content: none !important;
}

/* ---- Cart bubble in drawer header ---- */
.cart-drawer .cart-bubble {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-width: auto !important;
}

/* ---- Empty cart state ---- */
.cart-drawer .cart-drawer__heading--empty {
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  padding: 60px 0 !important;
}

/* ---- Dividers between items: ultra subtle ---- */
.cart-drawer .cart-items--dividers .cart-items__table-row {
  border-bottom: 1px solid #f0f0f0 !important;
}

/* ---- Cart page (full page /cart) YSL override ---- */
.cart-page .cart__summary-inner {
  background: #fff !important;
}

.cart-page .section-background {
  background: #fff !important;
}


/* v32 — Cart micro-refinements: price size -2px, quantity smaller */

/* Price text: reduce by 2px (was 11px → 9px) */
.cart-drawer .cart-items__price,
.cart-drawer .cart-items__price *,
.cart-drawer td[headers="productTotal"],
.cart-drawer td[headers="productTotal"] * {
  font-size: 9px !important;
}

.cart-drawer .cart__total-value,
.cart-drawer .cart__total-value *,
.cart-drawer .cart__original-total-value {
  font-size: 11px !important;
}

.cart-drawer .cart__total-label,
.cart-drawer .cart__original-total-label {
  font-size: 11px !important;
}

/* Quantity: smaller, lighter */
.cart-drawer .cart-quantity-selector,
.cart-drawer cart-quantity-selector,
.cart-drawer .quantity-selector,
.cart-drawer quantity-selector {
  gap: 5px !important;
  padding: 2px 0 0 0 !important;
}

.cart-drawer .cart-quantity-selector button,
.cart-drawer cart-quantity-selector button,
.cart-drawer .quantity-selector button,
.cart-drawer quantity-selector button {
  font-size: 11px !important;
  line-height: 1 !important;
  padding: 0 !important;
  min-width: 14px !important;
  min-height: 14px !important;
}

.cart-drawer .cart-quantity-selector input,
.cart-drawer cart-quantity-selector input,
.cart-drawer .quantity-selector input,
.cart-drawer quantity-selector input {
  font-size: 9px !important;
  width: 16px !important;
  font-weight: 700 !important;
}


/* v32 — Fix 1: Newsletter underline — single continuous line on wrapper */
.cilyon-footer__email-row {
  display: flex !important;
  align-items: center !important;
  border-bottom: 1px solid #000 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cilyon-footer__email-input {
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  flex: 1 !important;
  padding: 8px 0 !important;
  font-size: 13px !important;
  color: #000 !important;
  font-family: inherit !important;
}

.cilyon-footer__email-submit {
  border: none !important;
  border-bottom: none !important;
  background: none !important;
  padding: 8px 0 8px 8px !important;
  cursor: pointer !important;
  line-height: 0 !important;
  flex-shrink: 0 !important;
}

/* v32 — Fix 2: Instagram as inline Legal link */
.cilyon-footer__instagram-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: inherit !important;
  color: inherit !important;
  text-decoration: none !important;
}

.cilyon-footer__instagram-link svg {
  flex-shrink: 0 !important;
}

/* Remove old bottom Instagram block */
.cilyon-footer__bottom {
  display: none !important;
}


/* ============================================================
   v32 — YSL-STRICT SIZE SELECTOR REFINEMENT
   ============================================================ */

/* ---- Variant picker: slim, light, seamless ---- */
.variant-picker {
  font-family: inherit !important;
}

/* Legend / label: lighter, smaller */
.variant-option legend,
.variant-option label[for^="Option-"] {
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #000 !important;
  margin-bottom: 8px !important;
  padding: 0 !important;
}

/* ---- Button-style variants: slim pills ---- */
.variant-option--buttons {
  gap: 6px !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

.variant-option__button-label {
  border: 1px solid #d0d0d0 !important;
  border-radius: 0 !important;
  padding: 6px 14px !important;
  min-width: auto !important;
  min-height: auto !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #000 !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
}

.variant-option__button-label:hover {
  border-color: #000 !important;
  background: #fff !important;
  color: #000 !important;
}

/* Selected state: thin black border, no fill */
.variant-option__button-label:has(:checked) {
  border-color: #000 !important;
  background: #fff !important;
  color: #000 !important;
  outline: none !important;
  box-shadow: none !important;
}

.variant-option__button-label:has(:checked) .variant-option__button-label__pill {
  background: transparent !important;
}

/* Unavailable: lighter */
.variant-option__button-label:has([data-option-available='false']) {
  color: #bbb !important;
  border-color: #e8e8e8 !important;
}

.variant-option__button-label:has([data-option-available='false']) .variant-option__button-label__text {
  text-decoration: line-through !important;
}

/* Button label text */
.variant-option__button-label__text {
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.4 !important;
}

/* Pill background: kill */
.variant-option__button-label__pill {
  display: none !important;
}

/* ---- Dropdown-style variants: YSL-inspired minimal select ---- */
@media screen and (max-width: 749px) {
  .variant-option--dropdowns {
    margin-bottom: 12px !important;
    position: relative !important;
  }

  /* Label: inline with select, bold weight, uppercase */
  .variant-option--dropdowns label {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: #000 !important;
    margin-bottom: 0 !important;
    display: block !important;
    padding-bottom: 10px !important;
  }

  /* Select wrapper: bottom border only, generous spacing */
  .variant-option__select-wrapper {
    border: none !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 44px !important;
    align-items: center !important;
  }

  .variant-option__select-wrapper:hover,
  .variant-option__select-wrapper:focus-within {
    border-bottom-color: #000 !important;
  }

  /* Select element: clean, readable, uppercase placeholder feel */
  .variant-option__select {
    padding: 10px 32px 10px 0 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #999 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
  }

  /* When a value is selected, make text black */
  .variant-option__select:not(:invalid) {
    color: #000 !important;
  }

  /* Chevron: thin, elegant, right-aligned */
  .variant-option__select-wrapper .icon,
  .variant-option__select-wrapper .icon-caret {
    width: 10px !important;
    height: 10px !important;
    right: 2px !important;
    stroke-width: 1.5 !important;
    color: #000 !important;
  }

  /* Swatch value label */
  .variant-option__swatch-value {
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em !important;
    color: #999 !important;
    margin-left: 8px !important;
    text-transform: uppercase !important;
  }
}

/* Desktop: keep existing dropdown styles */
@media screen and (min-width: 750px) {
  .variant-option--dropdowns {
    margin-bottom: 8px !important;
  }

  .variant-option--dropdowns label {
    font-size: 10px !important;
    font-weight: 400 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #000 !important;
    margin-bottom: 4px !important;
    display: block !important;
  }

  .variant-option__select-wrapper {
    border: none !important;
    border-bottom: 1px solid #d0d0d0 !important;
    border-radius: 0 !important;
    margin-top: 2px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .variant-option__select-wrapper:hover {
    border-color: #000 !important;
  }

  .variant-option__select {
    padding: 6px 24px 6px 0 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
    color: #000 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
  }

  .variant-option__select-wrapper .icon,
  .variant-option__select-wrapper .icon-caret {
    width: 8px !important;
    height: 8px !important;
    right: 4px !important;
    stroke-width: 1 !important;
  }

  .variant-option__swatch-value {
    font-size: 10px !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
    color: #666 !important;
    margin-left: 6px !important;
  }
}

/* ---- Equal width buttons: override sizing ---- */
.variant-option--equal-width-buttons .variant-option__button-label {
  min-width: auto !important;
  padding: 6px 14px !important;
}


/* v32 — Quantity selector: 50% size reduction */
.cart-drawer .cart-quantity-selector,
.cart-drawer cart-quantity-selector,
.cart-drawer .quantity-selector,
.cart-drawer quantity-selector,
.cart-drawer .quantity {
  gap: 3px !important;
  padding: 1px 0 0 0 !important;
  height: auto !important;
  min-height: 0 !important;
  border-width: 0.5px !important;
}

.cart-drawer .cart-quantity-selector button,
.cart-drawer cart-quantity-selector button,
.cart-drawer .quantity-selector button,
.cart-drawer quantity-selector button,
.cart-drawer .quantity button,
.cart-drawer .quantity__button {
  font-size: 9px !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  padding: 0 !important;
  line-height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cart-drawer .cart-quantity-selector input,
.cart-drawer cart-quantity-selector input,
.cart-drawer .quantity-selector input,
.cart-drawer quantity-selector input,
.cart-drawer .quantity input,
.cart-drawer .quantity__input {
  font-size: 8px !important;
  width: 14px !important;
  height: 16px !important;
  padding: 0 !important;
  line-height: 16px !important;
}


/* v32 — Iconique: aggressively reduce top gap before first content */
body.page-iconique-by-cilyon .section-wrapper:first-child .section {
  padding-top: 0 !important;
}
body.page-iconique-by-cilyon .section-content-wrapper > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  scroll-margin-top: 0 !important;
  min-height: auto !important;
}
body.page-iconique-by-cilyon .section-content-wrapper > .group-block:first-child,
body.page-iconique-by-cilyon .section-content-wrapper > [class*="content"]:first-child {
  min-height: auto !important;
}
body.page-iconique-by-cilyon .group-block-content > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  min-height: auto !important;
}
body.page-iconique-by-cilyon image-block:first-child,
body.page-iconique-by-cilyon .rte:first-child {
  min-height: auto !important;
}
/* Kill any header-height compensation */
body.page-iconique-by-cilyon #MainContent {
  margin-top: -20px !important;
}



/* v37 — Contact page: keep original width, fix only wrapper centering */
body.page-contact .page-width-content .section-content-wrapper,
body.page-contact .section-wrapper:has(.ysl-contact-wrapper) .section-content-wrapper {
  align-items: center !important;
}

body.page-contact .page-width-content .section-content-wrapper > .text-block,
body.page-contact .page-width-content .section-content-wrapper > .rte,
body.page-contact .section-wrapper:has(.ysl-contact-wrapper) .contact-form.size-style,
body.page-contact .section-wrapper:has(.ysl-contact-wrapper) .ysl-contact-wrapper {
  margin-left: auto !important;
  margin-right: auto !important;
  justify-self: center !important;
  align-self: center !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* v38 — PDP: fix header/media overlap at root cause
   The transparent header overlays the page content. Instead of a spacer,
   we offset the media column and details column by the real header height
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* removed */
/* v39 — Contact heading: left-align and match form column width */
body.page-contact .text-block--align-center {
  --text-align: left !important;
  text-align: left !important;
}
body.page-contact .section-content-wrapper > .text-block {
  width: 50% !important;
  max-width: 50% !important;
  align-self: center !important;
}
@media screen and (max-width: 749px) {
  body.page-contact .section-content-wrapper > .text-block {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================
   v41 — YSL-style search overlay
   ============================================ */

/* Full-screen overlay — no boxed modal */
.search-modal--ysl .search-modal__content {
  width: 100dvw !important;
  height: 100dvh !important;
  max-width: 100dvw !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  inset: 0 !important;
}

.search-modal--ysl .search-modal__content::backdrop {
  background: rgba(255,255,255,0.95) !important;
}

/* Smooth fade in/out */
.search-modal--ysl .dialog-modal[open].search-modal__content {
  animation: ysl-fade-in 350ms ease forwards !important;
}
.search-modal--ysl .dialog-modal.search-modal__content.dialog-closing {
  animation: ysl-fade-out 250ms ease forwards !important;
}

@keyframes ysl-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ysl-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Split layout container */
.ysl-search-overlay {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Left panel — atmospheric image */
.ysl-search-overlay__left {
  display: none;
}

@media screen and (min-width: 750px) {
  .ysl-search-overlay__left {
    display: block;
    width: 50%;
    position: relative;
    overflow: hidden;
    background: #f5f3f0;
  }
}

.ysl-search-overlay__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
  filter: saturate(0.6) brightness(1.05);
}

/* Right panel — white search area */
.ysl-search-overlay__right {
  width: 100%;
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

@media screen and (min-width: 750px) {
  .ysl-search-overlay__right {
    width: 50%;
  }
}

/* Close button — minimal X, top right */
.ysl-search-close {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 10;
  background: none !important;
  border: none !important;
  padding: 8px !important;
  cursor: pointer;
  color: #1a1a1a;
  line-height: 0;
}
.ysl-search-close:hover {
  opacity: 0.5;
}

/* Search content — centered column */
.ysl-search-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 120px 48px 48px;
  max-width: 540px;
}

@media screen and (max-width: 749px) {
  .ysl-search-content {
    padding: 80px 24px 24px;
    max-width: 100%;
  }
}

/* Override predictive-search-component styles */
.ysl-predictive-search {
  background: transparent !important;
  display: block !important;
  width: 100% !important;
  z-index: auto !important;
}

.ysl-search-form {
  width: 100% !important;
}

/* Search header — no borders, no backgrounds */
.ysl-search-header {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  position: relative !important;
}

/* Input wrapper — underline only */
.ysl-search-input-wrap {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  border-bottom: 1px solid #1a1a1a !important;
  padding-bottom: 12px !important;
  outline: none !important;
}

.ysl-search-input-wrap:focus-within {
  outline: none !important;
  border-color: #1a1a1a !important;
}

/* Search input — clean editorial text */
.ysl-search-input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 14px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-family: var(--font-body--family), sans-serif !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  padding: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  -webkit-appearance: none !important;
}

.ysl-search-input::placeholder {
  color: #999 !important;
  opacity: 1 !important;
  letter-spacing: 0.15em !important;
}

.ysl-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none !important;
  display: none !important;
}

/* Search icon — right aligned, minimal */
.ysl-search-icon {
  flex-shrink: 0;
  color: #1a1a1a;
  margin-left: 12px;
  line-height: 0;
}

/* Reset button styling */
.ysl-reset-btn {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #999 !important;
  padding: 0 12px !important;
  flex-shrink: 0 !important;
}

/* Results wrapper — inline, no dropdown effect */
.ysl-results-wrap {
  position: relative !important;
  top: auto !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  max-height: none !important;
  background: transparent !important;
}

.ysl-results-content {
  max-height: none !important;
  overflow: visible !important;
  background: transparent !important;
  padding: 0 !important;
}

/* HIGHLIGHTS section */
.ysl-highlights {
  padding-top: 48px;
}

.ysl-highlights__title {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  margin: 0 0 24px 0 !important;
  font-family: var(--font-body--family), sans-serif !important;
}

.ysl-highlights__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ysl-highlights__item {
  margin-bottom: 16px !important;
}

.ysl-highlights__link {
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
  font-family: var(--font-body--family), sans-serif !important;
  font-weight: 400 !important;
  transition: opacity 0.2s ease !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ysl-highlights__link:hover {
  opacity: 0.5 !important;
}

/* Footer — hide the bulky "view all" button in default state */
.ysl-footer {
  display: none !important;
}

/* When search results appear, show a minimal view-all */
.ysl-predictive-search:has([data-search-results]):not(:has(.predictive-search-results__no-results)) .ysl-footer {
  display: block !important;
  position: static !important;
  background: transparent !important;
  padding: 24px 0 0 !important;
}

.ysl-view-all-btn {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #1a1a1a !important;
  border-radius: 0 !important;
  padding: 4px 0 !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  cursor: pointer !important;
  font-weight: 400 !important;
}

/* Hide highlights when real search results load */
.ysl-predictive-search:has([data-search-results]) .ysl-highlights {
  display: none;
}

/* Override predictive search results for YSL style */
.ysl-predictive-search .predictive-search-dropdown {
  box-shadow: none !important;
  border: none !important;
}

.ysl-predictive-search .predictive-search-results__inner {
  padding: 0 !important;
}

/* Product results — minimal list, no cards */
.ysl-predictive-search .predictive-search-results__wrapper {
  padding: 0 !important;
  gap: 16px !important;
}

.ysl-predictive-search .predictive-search-results__card--query .pills__pill {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #e0e0e0 !important;
  border-radius: 0 !important;
  padding: 8px 0 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
}

/* Hide the existing close button from old layout */
.ysl-predictive-search .predictive-search__close-modal-button {
  display: none !important;
}

/* Hide old search icon */
.ysl-predictive-search .predictive-search__icon {
  display: none !important;
}

/* =============================================
   DESKTOP ONLY — Search as right-side drawer
   (matches cart drawer design)
   ============================================= */
@media screen and (min-width: 750px) {
  /* Dialog becomes a right-side drawer instead of fullscreen */
  .search-modal--ysl .search-modal__content {
    width: var(--sidebar-width, 480px) !important;
    max-width: 95vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 0 0 auto !important;
    inset: 0 0 0 auto !important;
    border-left: var(--style-border-drawer, 1px solid #e5e5e5) !important;
    box-shadow: var(--shadow-drawer, -4px 0 24px rgba(0,0,0,0.06)) !important;
    background: #fff !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  .search-modal--ysl .search-modal__content::backdrop {
    background: rgba(0, 0, 0, 0.25) !important;
  }

  /* Slide-in animation */
  .search-modal--ysl .dialog-modal[open].search-modal__content {
    animation: search-drawer-slide-in 300ms cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }
  .search-modal--ysl .dialog-modal.search-modal__content.dialog-closing {
    animation: search-drawer-slide-out 250ms ease forwards !important;
  }

  @keyframes search-drawer-slide-in {
    from { transform: translateX(100%); opacity: 0.8; }
    to   { transform: translateX(0); opacity: 1; }
  }
  @keyframes search-drawer-slide-out {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(100%); opacity: 0.8; }
  }

  /* Hide the left image panel in drawer mode */
  .search-modal--ysl .ysl-search-overlay__left {
    display: none !important;
  }

  /* Right panel takes full width of drawer */
  .search-modal--ysl .ysl-search-overlay__right {
    width: 100% !important;
  }

  .search-modal--ysl .ysl-search-overlay {
    height: 100% !important;
  }

  /* Close button — match cart drawer positioning */
  .search-modal--ysl .ysl-search-close {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
  }

  /* Search content — match cart drawer padding */
  .search-modal--ysl .ysl-search-content {
    padding: 80px 32px 32px !important;
    max-width: 100% !important;
  }

  /* Highlights spacing tighter for drawer */
  .search-modal--ysl .ysl-highlights {
    padding-top: 32px !important;
  }
}


body.page-delivery-returns h1,
body.page-delivery-returns h2,
body.page-delivery-returns h3,
body.page-delivery-returns .rte h1,
body.page-delivery-returns .rte h2,
body.page-delivery-returns .rte h3 {
  font-size: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  font-weight: inherit !important;
}

body.page-press h1,
body.page-press h2,
body.page-press h3,
body.page-press .rte h1,
body.page-press .rte h2,
body.page-press .rte h3 {
  font-size: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  font-weight: inherit !important;
}

/* v49 — Iconique page: editorial spacing between text and image blocks */
body.page-iconique-by-cilyon .rte img,
body.page-iconique-by-cilyon rte-formatter img {
  margin-top: 120px !important;
  margin-bottom: 120px !important;
}

body.page-iconique-by-cilyon .rte h3,
body.page-iconique-by-cilyon rte-formatter h3 {
  margin-top: 120px !important;
  margin-bottom: 40px !important;
}

body.page-iconique-by-cilyon .rte > div > p,
body.page-iconique-by-cilyon rte-formatter > div > div > p {
  margin-bottom: 30px !important;
}

/* First image on page — no extra top margin */
body.page-iconique-by-cilyon .rte img:first-child,
body.page-iconique-by-cilyon rte-formatter img:first-child,
body.page-iconique-by-cilyon .rte > :first-child img,
body.page-iconique-by-cilyon rte-formatter > :first-child img {
  margin-top: 0 !important;
}

/* v49 — Cart: remove all bold text */
.cart-drawer__dialog,
.cart-drawer__dialog * {
  font-weight: 400 !important;
}

/* v49 — Cart: product images 2:3 portrait ratio */
.cart-drawer .cart-items__media {
  flex: 0 0 90px !important;
  width: 90px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.cart-drawer .cart-items__media-container {
  aspect-ratio: 2 / 3 !important;
  overflow: hidden !important;
  padding-bottom: 0 !important;
  height: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
}

.cart-drawer .cart-items__media-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  aspect-ratio: 2 / 3 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Ensure cart images are never filtered/hidden by homepage or other overrides */
.cart-drawer img,
.cart-drawer__dialog img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  max-width: 100% !important;
}

/* v49 — Cart: tighter product title line spacing */
.cart-drawer .cart-items__title {
  line-height: 1.15 !important;
}

/* v50 — Hide stray price element bleeding outside cart drawer */
.cart-drawer__dialog.dialog-drawer {
  overflow: hidden !important;
}

/* v50 — Delivery-Returns & Press: H1 matches Contact page title style */
body.page-delivery-returns h1,
body.page-delivery-returns .rte h1,
body.page-press h1,
body.page-press .rte h1 {
  font-size: 12px !important;
  text-decoration: underline !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  font-weight: 400 !important;
}

/* v50 — Hide hCaptcha badge */
.hcaptcha-box,
.h-captcha,
[data-hcaptcha-widget-id],
iframe[src*="hcaptcha"],
.hcaptcha_badge,
div[style*="hcaptcha"] {
  display: none !important;
  visibility: hidden !important;
}

/* v81 — Press/pages: more space between header and content on mobile */
@media screen and (max-width: 749px) {
  .section-content-wrapper {
    padding-top: 40px !important;
  }
}

/* v52 — Move line-item total price below quantity in cart drawer */
.cart-drawer .cart-items tr {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: 0 !important;
  align-items: start !important;
}
.cart-drawer .cart-items td.cart-items__image {
  grid-row: 1 / 4 !important;
  grid-column: 1 !important;
}
.cart-drawer .cart-items td.cart-items__details {
  grid-column: 2 !important;
  grid-row: 1 !important;
}
.cart-drawer .cart-items td.cart-items__quantity {
  grid-column: 2 !important;
  grid-row: 2 !important;
}
.cart-drawer .cart-items td.cart-items__price {
  grid-column: 2 !important;
  grid-row: 3 !important;
  text-align: left !important;
  padding-top: 4px !important;
}
.cart-drawer .cart-items td.cart-items__error {
  grid-column: 2 !important;
  grid-row: 4 !important;
}

/* v54 — Search fixes: polished predictive results YSL style + mobile */

/* Ensure search-modal is visible as a custom element */
dialog-component#search-modal {
  display: contents;
}

/* Product result cards — minimal luxury list */
.ysl-predictive-search .predictive-search-results__products {
  padding: 0 !important;
}
.ysl-predictive-search .predictive-search-results__title {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  margin: 32px 0 20px 0 !important;
  padding: 0 !important;
  font-family: var(--font-body--family), sans-serif !important;
}
.ysl-predictive-search .predictive-search-results__wrapper-products {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ysl-predictive-search .predictive-search-results__card--product {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.ysl-predictive-search .predictive-search-results__card--product:last-child {
  border-bottom: none !important;
}
/* Resource card overrides inside search */
.ysl-predictive-search .resource-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.ysl-predictive-search .resource-card__image-wrapper,
.ysl-predictive-search .resource-card__gallery {
  width: 56px !important;
  height: 70px !important;
  min-width: 56px !important;
  flex-shrink: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  aspect-ratio: auto !important;
}
.ysl-predictive-search .resource-card__image-wrapper img,
.ysl-predictive-search .resource-card__gallery img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.ysl-predictive-search .resource-card__content {
  flex: 1 !important;
  padding: 0 !important;
}
.ysl-predictive-search .resource-card__title {
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
  font-family: var(--font-body--family), sans-serif !important;
}
.ysl-predictive-search .resource-card__title a {
  text-decoration: none !important;
  color: inherit !important;
}
.ysl-predictive-search .resource-card__price,
.ysl-predictive-search .price {
  font-size: 11px !important;
  color: #666 !important;
  font-weight: 400 !important;
  margin-top: 4px !important;
}
/* Hide hover gallery overlay in search */
.ysl-predictive-search .card-gallery__hover,
.ysl-predictive-search .resource-card__badge {
  display: none !important;
}
/* No results message */
.ysl-predictive-search .predictive-search-results__no-results {
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  color: #999 !important;
  padding: 32px 0 !important;
  text-align: left !important;
}

/* Query pill overrides */
.ysl-predictive-search .predictive-search-results__wrapper-queries {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 24px 0 0 !important;
  margin: 0 !important;
}
.ysl-predictive-search .predictive-search-results__card--query .pills__pill {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #ccc !important;
  border-radius: 0 !important;
  padding: 4px 0 !important;
  text-decoration: none !important;
}

/* Resource carousel overrides — minimal */
.ysl-predictive-search .resource-list-carousel {
  padding: 0 !important;
}
.ysl-predictive-search .resource-list-carousel__title {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  margin: 24px 0 12px !important;
}

/* Mobile: make search-text-link visible + hide product previews in search */
@media screen and (max-width: 749px) {
  .search-text-link {
    display: inline-flex !important;
  }
  .search-text-link button {
    margin-right: 0 !important;
  }
  .ysl-search-overlay__left {
    display: none !important;
  }
  .ysl-search-overlay__right {
    width: 100% !important;
  }

  /* Hide product cards, collections, resource carousels, highlights in mobile search */
  .ysl-predictive-search .predictive-search-results__card--product,
  .ysl-predictive-search .predictive-search-results__card:has(.product-card),
  .ysl-predictive-search .predictive-search-results__card:has(.resource-card),
  .ysl-predictive-search .predictive-search-results__card:has(.collection-card),
  .ysl-predictive-search .resource-list-carousel,
  .ysl-predictive-search .predictive-search-resource-carousel,
  .ysl-predictive-search .ysl-highlights,
  .ysl-predictive-search .predictive-search-results__wrapper:not(.predictive-search-results__wrapper-queries) {
    display: none !important;
  }
}

/* Keyboard focus for result items */
.ysl-predictive-search .predictive-search-results__card.keyboard-focus,
.ysl-predictive-search .predictive-search-results__card[aria-selected="true"].keyboard-focus {
  outline: 1px solid #1a1a1a !important;
  outline-offset: 2px !important;
}

/* Scrollable results area */
.ysl-results-content {
  max-height: calc(100dvh - 280px) !important;
  overflow-y: auto !important;
}
@media screen and (max-width: 749px) {
  .ysl-results-content {
    max-height: calc(100dvh - 200px) !important;
  }
}

/* Recently viewed wrapper in search — hide on mobile */
@media screen and (max-width: 749px) {
  .ysl-predictive-search .recently-viewed-wrapper {
    display: none !important;
  }
}
.ysl-predictive-search .recently-viewed-wrapper {
  padding: 0 !important;
}

/* v55 — Cart: more space between image & text + larger prices */
.cart-drawer .cart-items td.cart-item__media {
  padding-right: 20px !important;
}
.cart-drawer .cart-items .cart-item__price,
.cart-drawer .cart-items .cart-item__total-price,
.cart-drawer .cart-items td.cart-items__price,
.cart-drawer .cart-items .price {
  font-size: calc(1em + 2.5px) !important;
}
.cart-drawer .cart-drawer__summary .totals__total-value,
.cart-drawer .cart-drawer__summary .cart-summary__total,
.cart-drawer .cart-drawer__summary .price,
.cart-drawer .cart-drawer__summary .totals .price {
  font-size: calc(1em + 2.5px) !important;
}

/* ============================================
   MOBILE ONLY — Product Page Layout
   Full-width image + uniform-width info below (YSL style)
   ============================================ */
/* ============================================
   MOBILE ONLY — PDP width / position fix
   Single authoritative mobile layout block
   ============================================ */
@media screen and (max-width: 749px) {
  /* Kill the section's page margin so the 3-column grid has zero side gutters */
  body.template-product .product-information.section {
    --page-margin: 0px !important;
  }

  body.template-product .product-information__grid {
    display: block !important;
    width: 100% !important;
  }

  body.template-product .product-information__media {
    order: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.template-product .product-information__media media-gallery {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.template-product .product-information__media media-gallery.media-gallery--hint {
    --slideshow-gap: 0px !important;
  }

  body.template-product .product-information__media :is(
    .media-gallery__grid,
    slideshow-component,
    slideshow-container
  ) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.template-product .product-information__media slideshow-slides {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
  }

  body.template-product .product-information__media slideshow-slides[gutters],
  body.template-product .product-information__media slideshow-slides[gutters*='start'],
  body.template-product .product-information__media slideshow-slides[gutters*='end'] {
    --gutter-slide-width: 0px !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
    scroll-padding-inline-start: 0 !important;
    scroll-padding-inline-end: 0 !important;
  }

  body.template-product .product-information__media slideshow-slide,
  body.template-product .product-information__media .product-media-container,
  body.template-product .product-information__media media-gallery.media-gallery--hint
    :not(.dialog-zoomed-gallery)
    > .product-media-container:not(:only-child) {
    --slide-width: 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body.template-product .product-information__media .product-media-container.constrain-height {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-height: none !important;
  }

  body.template-product .product-information__media .product-media-constraint-wrapper,
  body.template-product .product-information__media .product-media,
  body.template-product .product-information__media .product-media > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.template-product .product-information__media img,
  body.template-product .product-information__media .product-media__image {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    inset: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
  }

  body.template-product .product-details {
    order: 1 !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 28px 16px 32px !important;
    text-align: left !important;
  }

  body.template-product .product-details > *,
  body.template-product .product-details .group-block,
  body.template-product .product-details .group-block-content,
  body.template-product .product-details form,
  body.template-product .product-details variant-picker,
  body.template-product .product-details .variant-picker,
  body.template-product .product-details .product-form__input,
  body.template-product .product-details .buy-buttons,
  body.template-product .product-details buy-buttons {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.template-product .product-details .price {
    justify-content: flex-start !important;
  }

  /* Preserve current minimal size selector styling */
  body.template-product .product-details .variant-option--dropdowns .variant-option__select-wrapper {
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 0 !important;
    background: transparent !important;
    margin-top: 4px !important;
  }

  body.template-product .product-details .variant-option--dropdowns .variant-option__select {
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 10px 0 !important;
    background: transparent !important;
    color: var(--color-foreground) !important;
  }

  body.template-product .product-details .variant-option--dropdowns label {
    font-size: 11px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
    color: var(--color-foreground) !important;
  }

  body.template-product .product-details .variant-option__select-wrapper .icon {
    width: 10px !important;
    height: 10px !important;
    right: 4px !important;
    opacity: 0.5 !important;
  }

  body.template-product .product-details .variant-option--buttons .variant-option__button-label {
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 12px 0 !important;
    min-height: auto !important;
    justify-content: center !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
  }

  body.template-product .product-details .variant-option--buttons .variant-option__button-label:has(:checked) {
    border-bottom-color: var(--color-foreground) !important;
    font-weight: 600 !important;
  }

  body.template-product .product-details .variant-option--buttons {
    flex-direction: column !important;
    gap: 0 !important;
  }

  body.template-product .product-details .variant-option--buttons .variant-option__button-label__pill {
    display: none !important;
  }

  /* =============================================
     YSL-style mobile PDP image navigation
     - No thumbnails, no arrows
     - Ultra-minimal thin line indicators
     - Smooth swipe, no clutter
     ============================================= */

  /* Hide thumbnail strip on mobile */
  body.template-product .product-information__media slideshow-controls[thumbnails] {
    display: none !important;
  }

  /* Hide arrows on mobile — swipe only */
  body.template-product .product-information__media slideshow-arrows {
    display: none !important;
  }

  /* Smooth snap scrolling */
  body.template-product .product-information__media slideshow-slides {
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.template-product .product-information__media slideshow-slide {
    scroll-snap-align: center !important;
  }

  /* Hide default pagination — replaced by YSL-style progress bar */
  body.template-product .product-information__media .slideshow-pagination,
  body.template-product .product-information__media slideshow-controls:not([thumbnails]) {
    display: none !important;
  }

  /* YSL-style scroll progress bar */
  .ysl-scroll-progress {
    position: relative !important;
    width: 40% !important;
    max-width: 200px !important;
    height: 2px !important;
    background: rgba(0, 0, 0, 0.12) !important;
    margin: 16px auto 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    z-index: 10 !important;
  }

  .ysl-scroll-progress__thumb {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 2px !important;
    background: #000 !important;
    border-radius: 0 !important;
    transition: left 0.25s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
    will-change: left !important;
  }

  /* Ensure slideshow-component is position:relative */
  body.template-product .product-information__media slideshow-component {
    position: relative !important;
  }
}

/* ============================================
   MOBILE ONLY — Homepage Full-Screen Hero Banner
   ============================================ */

/* Hero banner — hidden on desktop */
.cilyon-mobile-hero {
  display: none;
}

@media screen and (max-width: 967px) {
  /* Lock viewport on mobile homepage — no scrolling past hero */
  body.template-index {
    overflow: hidden !important;
    height: 100dvh !important;
  }

  /* Show the hero on mobile */
  .cilyon-mobile-hero {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 0;
  }

  .cilyon-mobile-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 80px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  }

  .cilyon-mobile-hero__title {
    display: block;
    font-family: var(--font-heading--family, sans-serif);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
  }

  .cilyon-mobile-hero__cta {
    display: inline-block;
    font-family: var(--font-body--family, sans-serif);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.6);
    padding-bottom: 2px;
    transition: border-color 0.2s;
  }

  .cilyon-mobile-hero__cta:hover {
    border-color: #fff;
  }

    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  /* Hide all other mobile homepage content blocks when hero is present */
  #mobilefrontcontent > .contentblock,
  #mobilefrontcontent > .contentslider,
  #mobilefrontcontent > .fullwidthsize {
    display: none !important;
  }

  #mobilefrontcontent {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Remove top margin on mobile index to let hero sit under header */
  body.template-index #MainContent {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body.template-index .mobileindex {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* ---- White header overlay on mobile homepage ---- */

  /* Make header transparent on mobile homepage */
  body.template-index header-component,
  body.template-index .header,
  body.template-index #header-component,
  body.template-index .header-section {
    background: transparent !important;
    background-color: transparent !important;
  }

  body.template-index .section-background {
    background: transparent !important;
  }

  body.template-index .header__row,
  body.template-index .header__columns,
  body.template-index .header__row--top,
  body.template-index .header__row--bottom,
  body.template-index .header__row--top.divider--page-width .header__columns {
    --header-bg-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  /* White logo */
  body.template-index .logoheader img,
  body.template-index .header__heading-logo,
  body.template-index header-component img {
    filter: brightness(0) invert(1) !important;
  }

  /* White menu hamburger icon */
  body.template-index #mobilemenu::before,
  body.template-index .mobilemenu::before,
  body.template-index #mobilemenu::after,
  body.template-index .mobilemenu::after {
    border-color: #fff !important;
  }

  /* White cart icon */
  body.template-index .cart-text-label {
    color: #fff !important;
  }
  body.template-index .cart-text-label::before,
  body.template-index .cart-text-label::after {
    border-color: #fff !important;
  }
  body.template-index .cart-text-label::after {
    background: transparent !important;
  }

  /* White search icon */
  body.template-index .search-text-link button::before {
    border-color: #fff !important;
  }
  body.template-index .search-text-link button::after {
    border-color: #fff !important;
  }

  /* Ensure header sits above the hero — absolute so it doesn't push content */
  body.template-index #header-group,
  body.template-index .header-section,
  body.template-index header-component,
  body.template-index .header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    width: 100% !important;
  }

  body.template-index #header-group {
    height: 0 !important;
    min-height: 0 !important;
  }

  body.template-index .content-for-layout,
  body.template-index #MainContent,
  body.template-index .row,
  body.template-index .rightcolumn.mobileindex,
  body.template-index #mobilefrontcontent {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* White SVG icons in header */
  body.template-index .header svg,
  body.template-index header-component svg {
    color: #fff !important;
    stroke: #fff !important;
  }

  /* White text in header */
  body.template-index .header a,
  body.template-index .header button,
  body.template-index header-component a,
  body.template-index header-component button {
    color: #fff !important;
  }
}

@media screen and (max-width: 749px) {
  iframe[id*="chat" i],
  iframe[class*="chat" i],
  iframe[id*="widget" i],
  iframe[class*="widget" i],
  iframe[title*="accessibility" i],
  iframe[title*="chat" i],
  [id*="userway" i],
  [class*="userway" i],
  [id*="accessibe" i],
  [class*="accessibe" i],
  [id*="accessibility" i],
  [class*="accessibility" i],
  [id*="launcher" i],
  [class*="launcher" i],
  [id*="beacon" i],
  [class*="beacon" i],
  [id*="intercom" i],
  [class*="intercom" i],
  [id*="gorgias" i],
  [class*="gorgias" i],
  [id*="tidio" i],
  [class*="tidio" i],
  [id*="crisp" i],
  [class*="crisp" i],
  [id*="helpscout" i],
  [class*="helpscout" i],
  [data-testid*="launcher" i],
  [aria-label*="accessibility" i],
  [aria-label*="chat" i] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ==========================================
   YSL-STYLE SEARCH RESULTS PAGE
   ========================================== */

/* Hide search input on results page when search has been performed */
body.template-search .search-page-input {
  display: none !important;
}

/* Hide filters/sorting bar on search results */
body.template-search .facets-container,
body.template-search facets-component,
body.template-search .collection-facets,
body.template-search .facets-wrapper,
body.template-search [data-testid="facets"],
body.template-search .facets-vertical,
body.template-search .facets-horizontal {
  display: none !important;
}

/* Full-width search results grid */
body.template-search .main-collection-grid {
  padding: 0 !important;
}

body.template-search .collection-wrapper {
  gap: 0 !important;
}

body.template-search .product-grid-container {
  --padding-block-start: 0px !important;
  --padding-block-end: 0px !important;
}

/* Remove card borders/padding for edge-to-edge look */
body.template-search .product-grid__card {
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  gap: 8px !important;
  --padding-block-start: 0px !important;
  --padding-block-end: 0px !important;
  --padding-inline-start: 0px !important;
  --padding-inline-end: 0px !important;
}

body.template-search .product-card {
  border: none !important;
  border-radius: 0 !important;
}

/* Product images: natural aspect ratio (match collection page) */
body.template-search .product-media,
body.template-search .product-media-container {
  overflow: hidden;
}

body.template-search .product-media img,
body.template-search .product-media-container img {
  object-fit: cover !important;
  width: 100% !important;
}

body.template-search .card-gallery {
  border-radius: 0 !important;
}

/* White background for search page (match collection) */
body.template-search {
  background-color: #fff !important;
}

/* Search results: show product titles and prices (match collection page) */
/* Remove the old hide rules — titles/prices now visible */

/* Product info text: same padding as collection */
body.template-search .product-grid__card > *:not(.card-gallery) {
  padding-inline: 12px !important;
}

body.template-search .product-grid__card .product-card-title,
body.template-search .product-grid__card .product-title,
body.template-search .product-grid__card .text-block,
body.template-search .product-grid__card [class*="title"] {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body.template-search .product-grid__card .price,
body.template-search .product-grid__card [class*="price"] {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Large screens: 3 columns */
@media screen and (min-width: 750px) {
  body.template-search .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    --product-grid-gap: 2px !important;
  }
}

/* Mobile: 2 columns, match collection page exactly */
@media screen and (max-width: 749px) {
  body.template-search .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-search .product-grid__item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  body.template-search .spacing-style,
  body.template-search .section-content-wrapper {
    padding-inline: 0 !important;
  }

  body.template-search .section--page-width > *,
  body.template-search .section--full-width-margin > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ==========================================
   MOBILE: Cart drawer full-page + spacing
   ========================================== */
/* ================================================================
   MOBILE ONLY — Cart drawer item layout (authoritative)
   Two-column: image left, all content right, with generous gap
   ================================================================ */
@media screen and (max-width: 749px) {
  /* Full-page cart drawer */
  .cart-drawer__dialog.dialog-drawer {
    --drawer-max-width: 100vw !important;
    --drawer-width: 100vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-left: none !important;
    border: none !important;
  }

  /* Each cart row: CSS grid, 2 columns, generous gap */
  .cart-drawer .cart-items__table-row {
    display: grid !important;
    grid-template-columns: 110px 1fr !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 0 24px !important;
    align-items: start !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  .cart-drawer .cart-items__table-row:last-child {
    border-bottom: none !important;
  }

  /* Image: spans all rows in column 1 */
  .cart-drawer .cart-items__media {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    flex: none !important;
    width: 110px !important;
    min-width: 110px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Details (title/variant/unit price): column 2, row 1 */
  .cart-drawer .cart-items__details {
    grid-column: 2 !important;
    grid-row: 1 !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Quantity + remove: column 2, row 2 */
  .cart-drawer .cart-items__quantity {
    grid-column: 2 !important;
    grid-row: 2 !important;
    flex: none !important;
    width: 100% !important;
    padding: 6px 0 0 0 !important;
    margin: 0 !important;
  }

  /* Line-item total price: column 2, row 3 */
  .cart-drawer td[headers="productTotal"],
  .cart-drawer .cart-items__price {
    grid-column: 2 !important;
    grid-row: 3 !important;
    flex: none !important;
    width: 100% !important;
    text-align: left !important;
    padding: 6px 0 0 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
  }

  /* Error: column 2, row 4 */
  .cart-drawer .cart-items__error {
    grid-column: 2 !important;
    grid-row: 4 !important;
  }
}

/* ================================================================
   v106 — DEFINITIVE Mobile Header Icon Alignment Fix
   One block to rule them all. Overrides all previous scattered rules.
   MOBILE ONLY — desktop unchanged.
   ================================================================ */
@media screen and (max-width: 749px) {

  /* 1. Grid container: force center alignment on all items */
  .header__columns {
    align-items: center !important;
    padding-block: 0 !important;
    padding-inline: 4px !important;
    column-gap: 0 !important;
  }

  /* 2. Menu button — leftA slot, fixed 44px touch target, icon centered */
  #mobilemenu,
  .mobilemenu {
    grid-area: leftA !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    background: none !important;
    border: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    line-height: 1 !important;
    cursor: pointer;
    z-index: 9000 !important;
  }

  /* Hamburger lines — optically centered in the 44px box */
  /* 3 lines: top at 16, middle at 21, bottom at 26 — centered in 44px */
  #mobilemenu::before,
  .mobilemenu::before {
    content: '' !important;
    position: absolute !important;
    left: 11px !important;
    top: 16px !important;
    width: 22px !important;
    height: 5px !important;
    border-top: 1.2px solid currentColor !important;
    border-bottom: 1.2px solid currentColor !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  #mobilemenu::after,
  .mobilemenu::after {
    content: '' !important;
    position: absolute !important;
    left: 11px !important;
    top: 27px !important;
    width: 22px !important;
    height: 0 !important;
    border-top: 1.2px solid currentColor !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  /* Make hamburger lines black (override transparent color) */
  #mobilemenu,
  .mobilemenu {
    color: #000 !important;
  }

  /* 3. Search button — rightA slot, same 44px touch target */
  .search-text-link {
    grid-area: rightA !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 9000 !important;
  }

  .search-text-link button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    background: none !important;
    border: 0 !important;
    position: relative !important;
    cursor: pointer;
  }

  /* Search icon — magnifying glass centered in 44px box */
  .search-text-link button::before {
    content: '' !important;
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    width: 12px !important;
    height: 12px !important;
    border: 1.2px solid #000 !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    background: none !important;
    transform: none !important;
  }

  .search-text-link button::after {
    content: '' !important;
    position: absolute !important;
    top: 25px !important;
    left: 24px !important;
    width: 6px !important;
    height: 0 !important;
    border-top: 1.2px solid #000 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    transform: rotate(45deg) !important;
    transform-origin: 0 0 !important;
  }

  /* 4. Cart / header-actions — rightB slot, same 44px touch target */
  .header__column--right header-actions,
  header-actions {
    grid-area: rightB !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    align-self: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 9000 !important;
  }

  header-actions .header-actions__action,
  header-actions .action__cart,
  header-actions [data-testid='cart-drawer-trigger'] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: 0 !important;
    position: relative !important;
    cursor: pointer;
  }

  header-actions .header-actions__cart-icon,
  header-actions cart-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    position: relative !important;
    vertical-align: middle !important;
  }

  /* Cart icon — bag centered in 44px box */
  .cart-text-label {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    position: relative !important;
    font-size: 0 !important;
    color: transparent !important;
    line-height: 0 !important;
    overflow: visible !important;
  }

  /* Bag body */
  .cart-text-label::before {
    content: '' !important;
    position: absolute !important;
    left: 15px !important;
    top: 19px !important;
    width: 14px !important;
    height: 10px !important;
    border: 1.2px solid #000 !important;
    border-radius: 0 0 2px 2px !important;
    box-sizing: border-box !important;
    background: none !important;
    transform: none !important;
  }

  /* Bag handle */
  .cart-text-label::after {
    content: '' !important;
    position: absolute !important;
    left: 18px !important;
    top: 14px !important;
    width: 8px !important;
    height: 7px !important;
    border: 1.2px solid #000 !important;
    border-bottom: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    transform: none !important;
  }

  /* 5. Logo stays centered */
  .header-logo {
    grid-area: center !important;
    align-self: center !important;
  }

  /* 6. Hide any leftover desktop-only header elements on mobile */
  .header-drawer,
  .header__column--right .header-drawer {
    display: none !important;
  }
}


.cilyon-header-utilities {
  display: contents;
}

@media screen and (max-width: 749px) {
  .header__columns {
    align-items: center !important;
    padding-block: 0 !important;
    padding-inline: 4px !important;
    column-gap: 0 !important;
  }

  #mobilemenu,
  .mobilemenu {
    grid-area: leftA !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    justify-self: start !important;
    align-self: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    background: none !important;
    border: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    color: var(--color-foreground) !important;
    cursor: pointer !important;
    z-index: 9000 !important;
  }

  #mobilemenu::before,
  .mobilemenu::before {
    content: '' !important;
    position: absolute !important;
    left: 11px !important;
    top: 16px !important;
    width: 22px !important;
    height: 5px !important;
    border-top: 1.2px solid currentColor !important;
    border-bottom: 1.2px solid currentColor !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  #mobilemenu::after,
  .mobilemenu::after {
    content: '' !important;
    position: absolute !important;
    left: 11px !important;
    top: 27px !important;
    width: 22px !important;
    height: 0 !important;
    border-top: 1.2px solid currentColor !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .cilyon-header-utilities {
    grid-column: 4 / 6 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    justify-self: end !important;
    align-self: center !important;
    gap: 2px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 9000 !important;
  }

  .cilyon-header-utilities .search-text-link,
  .cilyon-header-utilities header-actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cilyon-header-utilities .search-text-link {
    grid-area: auto !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  .cilyon-header-utilities .search-text-link button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    color: var(--color-foreground) !important;
    background: none !important;
    border: 0 !important;
    position: relative !important;
    transform: none !important;
    cursor: pointer !important;
  }

  .cilyon-header-utilities .search-text-link button::before {
    content: '' !important;
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    width: 12px !important;
    height: 12px !important;
    border: 1.2px solid currentColor !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    background: none !important;
    transform: none !important;
  }

  .cilyon-header-utilities .search-text-link button::after {
    content: '' !important;
    position: absolute !important;
    top: 25px !important;
    left: 24px !important;
    width: 6px !important;
    height: 0 !important;
    border-top: 1.2px solid currentColor !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    transform: rotate(45deg) !important;
    transform-origin: 0 0 !important;
  }

  .cilyon-header-utilities header-actions,
  .header__column--right .cilyon-header-utilities header-actions {
    grid-area: auto !important;
    justify-self: auto !important;
    align-self: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    margin-inline-start: 0 !important;
    padding: 0 !important;
  }

  .cilyon-header-utilities header-actions .header-actions__action,
  .cilyon-header-utilities header-actions .action__cart,
  .cilyon-header-utilities header-actions [data-testid='cart-drawer-trigger'] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: 0 !important;
    position: relative !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .cilyon-header-utilities header-actions .header-actions__cart-icon,
  .cilyon-header-utilities header-actions cart-icon,
  .cilyon-header-utilities header-actions cart-drawer-component {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
    position: relative !important;
    vertical-align: top !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cilyon-header-utilities .cart-text-label {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    position: relative !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: var(--color-foreground) !important;
    overflow: visible !important;
  }

  .cilyon-header-utilities .cart-text-label::before {
    content: '' !important;
    position: absolute !important;
    left: 15px !important;
    top: 19px !important;
    width: 14px !important;
    height: 10px !important;
    border: 1.2px solid currentColor !important;
    border-radius: 0 0 2px 2px !important;
    box-sizing: border-box !important;
    background: none !important;
    transform: none !important;
  }

  .cilyon-header-utilities .cart-text-label::after {
    content: '' !important;
    position: absolute !important;
    left: 18px !important;
    top: 14px !important;
    width: 8px !important;
    height: 7px !important;
    border: 1.2px solid currentColor !important;
    border-bottom: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    transform: none !important;
  }

  .header-logo {
    grid-area: center !important;
    align-self: center !important;
  }

  .header-drawer,
  .header__column--right .header-drawer {
    display: none !important;
  }
}

/* ================================================================
   v114 — ROOT-CAUSE MOBILE FIX: .row/.leftcolumn/.rightcolumn layout
   The real bug: .rightcolumn is locked at width:87% on mobile because
   .leftcolumn is only hidden via .desktoponly{display:none} but the
   flex parent still allocates space. Fix: hide leftcolumn and make
   rightcolumn 100% on mobile for product + collection pages.
   MOBILE ONLY — max-width: 749px
   ================================================================ */
@media screen and (max-width: 749px) {

  /* --- ROOT CAUSE: Make .rightcolumn fill 100% on mobile --- */
  body.template-product .row,
  body.template-collection .row,
  body.template-search .row {
    display: block !important;
  }

  body.template-product .leftcolumn,
  body.template-collection .leftcolumn,
  body.template-search .leftcolumn {
    display: none !important;
  }

  body.template-product .rightcolumn,
  body.template-collection .rightcolumn,
  body.template-search .rightcolumn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* --- SHARED: Zero out section grid margins --- */
  body.template-product .product-information.section,
  body.template-product .section,
  body.template-collection .section,
  body.template-search .section {
    --page-margin: 0px !important;
    grid-template-columns: 0px 1fr 0px !important;
  }

  /* --- PDP: Full-width product image --- */
  body.template-product .product-information {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.template-product .product-information__grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-product .product-information__media {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Force carousel/slideshow mode on mobile, hide grid */
  body.template-product .product-information__media media-gallery.media-gallery--grid .media-gallery__grid {
    display: none !important;
  }

  body.template-product .product-information__media media-gallery.media-gallery--grid slideshow-component {
    display: block !important;
  }

  body.template-product .product-information__media media-gallery,
  body.template-product .product-information__media slideshow-component {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  body.template-product .product-information__media slideshow-slides {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  body.template-product .product-information__media slideshow-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  body.template-product .product-information__media .product-media-container,
  body.template-product .product-information__media .product-media {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  body.template-product .product-information__media .product-media img,
  body.template-product .product-information__media .product-media-container img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* Product details: match button width */
  body.template-product .product-details {
    padding: 24px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Make all product detail children (text, description, buttons) same width */
  body.template-product .product-details > *,
  body.template-product .product-details .group-block,
  body.template-product .product-details .group-block > *,
  body.template-product .product-details .group-block-content,
  body.template-product .product-details .group-block-content > *,
  body.template-product .product-details .text-block,
  body.template-product .product-details .product-description,
  body.template-product .product-details [class*="description"],
  body.template-product .product-details .rte,
  body.template-product .product-details .rte p,
  body.template-product .product-details .accordion,
  body.template-product .product-details details {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
  }

  /* --- COLLECTION: Full-width centered 2-col grid --- */
  body.template-collection #ResultsList,
  body.template-collection .main-collection-grid {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-collection .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-collection .product-grid__item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.template-collection .spacing-style,
  body.template-collection .section-content-wrapper {
    padding-inline: 0 !important;
  }
  /* --- CART DRAWER: proper spacing between image and details --- */
  .cart-drawer .cart-items__table-row {
    gap: 14px !important;
    padding: 16px 0 !important;
  }

  .cart-drawer .cart-items__media {
    flex: 0 0 90px !important;
    width: 90px !important;
    min-width: 90px !important;
  }

  .cart-drawer .cart-items__details {
    flex: 1 !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
  }

  .cart-drawer .cart-items__title {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* ================================================================
   MOBILE ONLY — Force 100% white background on product + collection
   ================================================================ */
@media screen and (max-width: 749px) {
  body.template-product,
  body.template-collection {
    --color-background: rgb(255 255 255) !important;
    --color-background-rgb: 255 255 255 !important;
    background: #fff !important;
    background-color: #fff !important;
  }

  body.template-product html,
  body.template-product main,
  body.template-product #MainContent,
  body.template-product .content-for-layout,
  body.template-product [class*='color-'],
  body.template-collection html,
  body.template-collection main,
  body.template-collection #MainContent,
  body.template-collection .content-for-layout,
  body.template-collection [class*='color-'] {
    --color-background: rgb(255 255 255) !important;
    --color-background-rgb: 255 255 255 !important;
    background: #fff !important;
    background-color: #fff !important;
  }

  body.template-product .section-background,
  body.template-collection .section-background {
    background: #fff !important;
    background-color: #fff !important;
  }

  body.template-product .section,
  body.template-product .shopify-section,
  body.template-product .section-wrapper,
  body.template-product .product-grid-container,
  body.template-product .product-information,
  body.template-product .product-information__media,
  body.template-product .product-details,
  body.template-collection .section,
  body.template-collection .shopify-section,
  body.template-collection .section-wrapper,
  body.template-collection .product-grid-container,
  body.template-collection .collection-wrapper,
  body.template-collection .main-collection-grid {
    background: #fff !important;
    background-color: #fff !important;
  }
}

/* ===== MOBILE: Remove product recommendation widget gaps ===== */
@media screen and (max-width: 749px) {
  body.template-product product-recommendations .resource-list,
  body.template-product [data-section='product-recommendations'] .resource-list {
    gap: 0 !important;
    --resource-list-column-gap: 0px !important;
    --resource-list-row-gap: 0px !important;
    --resource-list-column-gap-desktop: 0px !important;
    --resource-list-row-gap-desktop: 0px !important;
    --resource-list-mobile-gap-max: 0px !important;
  }

  body.template-product product-recommendations .resource-list__carousel slideshow-slides,
  body.template-product [data-section='product-recommendations'] .resource-list__carousel slideshow-slides,
  body.template-product product-recommendations slideshow-slides,
  body.template-product [data-section='product-recommendations'] slideshow-slides {
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
    scroll-padding-inline-start: 0 !important;
    scroll-padding-inline-end: 0 !important;
    --gutter-slide-width: 0px !important;
  }

  body.template-product product-recommendations .resource-list__slide,
  body.template-product [data-section='product-recommendations'] .resource-list__slide,
  body.template-product product-recommendations slideshow-slide,
  body.template-product [data-section='product-recommendations'] slideshow-slide {
    --slide-width: 50% !important;
    width: 50% !important;
    min-width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.template-product product-recommendations .resource-list__item,
  body.template-product [data-section='product-recommendations'] .resource-list__item,
  body.template-product product-recommendations product-card,
  body.template-product [data-section='product-recommendations'] product-card,
  body.template-product product-recommendations .product-card__content,
  body.template-product [data-section='product-recommendations'] .product-card__content,
  body.template-product product-recommendations .card-gallery,
  body.template-product [data-section='product-recommendations'] .card-gallery,
  body.template-product product-recommendations .product-media,
  body.template-product [data-section='product-recommendations'] .product-media,
  body.template-product product-recommendations .product-media-container,
  body.template-product [data-section='product-recommendations'] .product-media-container {
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.template-product product-recommendations .section-resource-list,
  body.template-product [data-section='product-recommendations'] .section-resource-list {
    --gap: 0px !important;
    row-gap: 0 !important;
  }
}
