/** Shopify CDN: Minification failed

Line 1987:0 Unexpected "}"
Line 2200: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-transition-duration: 0.25s;
  --hover-transition-timing: ease-out;
  --submenu-animation-speed: 360ms;
}

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

@media (min-width: 990px) {
  html:has(.page-wrapper),
  html:has(.page-wrapper) body {
    height: 100dvh;
    overflow: hidden;
  }
}

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

/* Only lock .page-wrapper where it is the scroll container. Below 990px the document scrolls, and
   overflow on .page-wrapper would make it the sticky header's scroll container, moving the header off screen. */
@media (min-width: 990px) {
  html[scroll-lock] .page-wrapper {
    overflow: hidden;
  }
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  transition: margin-inline-end var(--animation-speed) var(--animation-timing-fade-out);
}

@media (min-width: 990px) {
  .page-wrapper {
    height: 100dvh;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgb(var(--color-foreground-rgb) / var(--opacity-40)) var(--color-background);
  }

  .page-wrapper--drawer-open shopify-account::part(dialog) {
    translate: calc(-1 * var(--theme-drawer-width, var(--sidebar-width)));
  }

  /* The theme drawer opens from the inline-end edge, so the shift mirrors in RTL */
  [dir='rtl'] .page-wrapper--drawer-open shopify-account::part(dialog) {
    translate: var(--theme-drawer-width, var(--sidebar-width));
  }
}

.page-wrapper--drawer-open {
  margin-inline-end: var(--theme-drawer-width, var(--sidebar-width));
  transition-timing-function: var(--animation-timing-fade-in);
}

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

img {
  height: auto;
}

/* Theme images fill their container. Images in blog post content keep the size from their width
   attribute or their intrinsic size, and max-width keeps them inside the column. */
img:where(:not(.blog-post-content img)) {
  width: 100%;
}

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

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

.product-card,
.collection-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;
  cursor: pointer;
}

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

/*
 * The cross-document (MPA) opt-in `@view-transition { navigation: auto }` is declared per-layout
 * (layout/theme.liquid and layout/password.liquid), because this stylesheet is shared by both layouts
 * and a static stylesheet can't read theme settings.
 * It is gated on the same `settings.page_transition_enabled or settings.transition_to_main_product` condition as the
 * render blocker, so the opt-in and its opt-out switch can never disagree. The rules below only
 * take effect once an `@view-transition` opt-in is active, so they are inert without it.
 */
@media (prefers-reduced-motion: no-preference) {
  /* 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;
  display: flex;
  flex-direction: column;
}

.content-for-layout > .shopify-section:last-child {
  flex-grow: 1;
}

/* Set up page widths & margins. Gutters grow to the device safe-area insets (viewport-fit=cover)
   so section backgrounds bleed edge-to-edge while content stays clear of the notch; taking the
   larger of both insets keeps the centered page grid symmetric. */
.page-width-wide,
.page-width-normal,
.page-width-narrow,
.page-width-content {
  --page-margin: max(16px, var(--safe-area-inset-left, 0px), var(--safe-area-inset-right, 0px));
}

@media screen and (min-width: 750px) {
  .page-width-wide,
  .page-width-normal,
  .page-width-narrow,
  .page-width-content {
    --page-margin: max(40px, var(--safe-area-inset-left, 0px), var(--safe-area-inset-right, 0px));
  }
}

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

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

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

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

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

  width: 100%;

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

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

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

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

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

.shopify-section:not(.header-section) .section-background {
  content: '';
  position: absolute;
  inset: 0;
  z-index: var(--layer-section-background);
  background-color: var(--color-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;
  }
}

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

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

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

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

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

  text-align: start;
}

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

  text-align: center;
}

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

  text-align: end;
}

.text-inherit {
  color: inherit;
}

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

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

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

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

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

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

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

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

/* Typography presets */

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

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

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

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

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

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

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

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

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

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

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

@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 {
  color: currentcolor;
  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 {
  color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / 0.7);
}

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

  &:hover {
    text-decoration-color: currentcolor;
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / 0.7);
  }
}

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

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

/* Buttons */
.button,
.button-secondary,
.button-custom,
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-weight: var(--font-paragraph--weight);
  font-size: var(--font-paragraph--size);
  line-height: var(--font-paragraph--line-height);
  margin-block: 0;
  transition: color var(--animation-speed) var(--animation-easing),
    box-shadow var(--animation-speed) var(--animation-easing),
    background-color var(--animation-speed) var(--animation-easing);
  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);
  font-style: var(--button-font-style-primary);
  font-weight: var(--button-font-weight-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-focus-outline-color, var(--button-background-color));
}

.button-secondary {
  font-family: var(--button-font-family-secondary);
  font-style: var(--button-font-style-secondary);
  font-weight: var(--button-font-weight-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);
  font-style: var(--button-font-style-primary);
  font-weight: var(--button-font-weight-primary);
  text-transform: var(--button-text-case-primary);
}

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

textarea::placeholder,
input::placeholder {
  color: rgb(var(--color-input-text-rgb) / var(--opacity-muted-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-focus-outline-color: var(--color-primary-button-focus-outline);
}

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

.button-custom {
  --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-secondary);
  --button-focus-outline-color: var(--color-primary-button-focus-outline);

  font-family: var(--button-font-family-primary);
  font-style: var(--button-font-style-primary);
  font-weight: var(--button-font-weight-primary);
  text-transform: var(--button-text-case-primary);
  border-radius: var(--style-border-radius-buttons-primary);
  outline-color: var(--button-focus-outline-color, var(--button-background-color));
}

.button-custom:hover {
  --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);
}

/* 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: var(--color-foreground);
  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);
}

/* Link-style buttons that also carry a button class keep the paragraph weight, not the button font weight */
.button-unstyled:where(.button, .button-secondary, .button-custom) {
  font-weight: var(--font-paragraph--weight);
}

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

/* Default hover dim for link-style buttons, scoped via :where() so component-specific
   hover rules (.facets__clear-all-link, .header-actions__action, etc.) still win. */
:where(.button-unstyled):hover {
  --hover-color-rgb: var(--color-foreground-rgb);

  color: rgb(var(--hover-color-rgb) / var(--opacity-70));
}

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

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

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

summary:hover {
  color: rgb(var(--color-foreground-rgb) / var(--opacity-80));
}

/* Animate the UI elements in only after the view transition is complete */
.close-button {
  position: fixed;

  /* Keep the fixed close button clear of the status bar and inline-end notch (viewport-fit=cover) */
  top: max(var(--margin-lg), var(--safe-area-inset-top, 0px));
  inset-inline-end: max(var(--margin-lg), var(--safe-area-inset-right, 0px));
  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%;
}

/* Safe-area env() values are physical; in RTL the button sits by the left-side notch */
[dir='rtl'] .close-button {
  inset-inline-end: max(var(--margin-lg), var(--safe-area-inset-left, 0px));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.shopify-block:has(> [shopify-block-empty]) {
  display: none;
}

.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);
    height: auto;

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

    > .group-block--height-fill {
      height: calc(var(--section-min-height, auto) - var(--section-height-offset, 0px));
    }
  }
}

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

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

.field__input {
  flex-grow: 1;
  text-align: start;
  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:focus {
  box-shadow: var(--input-box-shadow-focus);
}

.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);
  inset-inline-start: 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) var(--font-heading--spacing);
  }

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

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

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

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

:where(input[type='radio']):checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%; /* stylelint-disable-line csstools/use-logical -- centring pair with a physical translate(-50%) */
  transform: translate(-50%, -50%);
  width: calc(var(--checkbox-size) / 2);
  height: calc(var(--checkbox-size) / 2);
  background: var(--color-foreground);
  border-radius: var(--style-border-radius-50);
  transition: background 0.2s ease;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Slideshow Arrow Hover Animation - must stay in base.css for proper CSS cascade */

slideshow-container[animate-arrows]:hover > slideshow-arrows .slideshow-control,
slideshow-component:focus-within > slideshow-container[animate-arrows] > slideshow-arrows .slideshow-control {
  animation: arrowsSlideIn var(--animation-speed) var(--animation-easing) forwards;
}

/* Clipped controls preserve accessible paging without intercepting touch taps. */
@media (hover: none) and (pointer: coarse) {
  .resource-list__carousel > [animate-arrows] > :where(slideshow-arrows) > .slideshow-control:not(:focus-visible) {
    position: absolute;
    clip: rect(0 0 0 0);
    animation: none;
  }

  .resource-list__carousel > [animate-arrows] > :where(slideshow-arrows) > .slideshow-control:focus-visible {
    opacity: 1;
    animation: none;
  }
}

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

  to {
    opacity: 1;
  }
}

.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__header:is(:empty, :has(.group-block-content:empty)),
.section-resource-list__content:empty {
  display: none;
}

:where(.section-resource-list.section--full-width) product-card[data-product-transition] > .group-block,
:where(.section-carousel.section--full-width) product-card[data-product-transition] > .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));
  }
}

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

.group-block:has(> video-background-component) {
  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);
}

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

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

/* When the header is transparent, and when there is no header-section below it, offset the first main-section with
 * the height of the header
 */
main > .shopify-section:first-child .section:not(.disable-section-top-offset) {
  &.spacing-style,
  .spacing-style {
    --section-top-offset: calc(var(--header-height) * var(--transparent-header-offset-boolean));

    /* Any nested sections should not be offset */
    .spacing-style {
      --section-top-offset: 0px;
    }
  }

  /* Make sticky content immediately stick to the top of the page */
  .sticky-content {
    margin-top: calc(var(--header-height) * var(--transparent-header-offset-boolean) * -1);
  }
}

/* ===== Dreams Setup overrides (carried over from 1.8) ===== */
.shopify-policy__container {
  padding-block: var(--padding-xl) !important;
  padding-inline: 16px !important;
  max-width: 880px !important;
  margin-inline: auto !important;
}
.shopify-policy__title h1 {
  margin-block-end: 16px;
}
@media (max-width: 768px) {
  .shopify-policy__container {
    max-width: 100% !important;
    font-size: 16.5px !important;
  }

  .shopify-policy__container p,
  .shopify-policy__container li {
    line-height: 1.85 !important;
  }
}

/* Mobile menu drawer: top-level items */
.menu-drawer__menu-item--mainlist .menu-drawer__menu-item-text {
  font-size: 1.2rem !important;
}
/* Mobile menu drawer: child items */
.menu-drawer__menu-item--child .menu-drawer__menu-item-text {
  font-size: 0.8rem !important;
}


/* Product cards: red title on hover on every page */
:is(.product-grid__item, .resource-list__item):hover .product-card__title-link *,
:is(.product-grid__item, .resource-list__item):hover h4,
:is(.product-grid__item, .resource-list__item):hover .h4 {
  color: #cc000e !important;
  transition: color 0.2s ease !important;
}


/* ====================================
   تخصيص النقاط في قوائم النصوص
   ==================================== */

/* النقاط العادية (ul) */
.text-block ul,
.rte ul,
.product-description ul {
  list-style: none;
  padding-left: 0;
}

.text-block ul li,
.rte ul li,
.product-description ul li {
  position: relative;
  padding-left: clamp(10px, 2vw, 14px) !important; /* المسافة بين النقطة والنص */
  margin-bottom: 8px;
  font-size: clamp(11px, 2vw, 13px) !important;
}
/* اختصار النقاط لسطر واحد مع ثلاث نقاط ... */
.text-block ul li,
.rte ul li,
.product-description ul li,
.product-card .text-block ul li {
  position: relative;
  padding-left: clamp(10px, 2vw, 14px) !important;
  margin-bottom: 8px;
  font-size: clamp(11px, 2vw, 13px) !important;
  
  /* Single line with ellipsis - FIXED */
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  width: 100% !important;
  line-height: 1.4 !important;
}

/* النقطة الحمراء */
.text-block ul li::before,
.rte ul li::before,
.product-description ul li::before {
  content: "●";
  color: #cc000e;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap !important;
}

/* العناصر الداخلية - CRITICAL FIX */
.text-block ul li *,
.product-card .text-block ul li *,
.text-block ul li span,
.text-block ul li p {
  display: inline !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

}

.text-block ul li::before,
.rte ul li::before,
.product-description ul li::before {
  content: "●";
  color: #cc000e;
  position: absolute;
  left: 0;
  top: 0;
}

@media screen and (max-width: 360px) {
  .text-block ul li::before,
  .rte ul li::before,
  .product-description ul li::before {
    font-size: 8px;
    top: 2px;
  }
}
/* ====================================
   إخفاء النص والنقطة إذا كان li يحتوي نقطة فقط
   بدون حذف البلوك أو الخلفية
   ==================================== */

/* إخفاء النص */
.text-block ul li:has(> :is(:empty, br)),
.text-block ul li:has(> br:only-child),
.text-block ul li:has(> span:only-child:is(:empty)),
.text-block ul li:has(> p:only-child:is(:empty)) {
  color: transparent;
}

/* إخفاء النقطة */
.text-block ul li:has(> :is(:empty, br))::before,
.text-block ul li:has(> br:only-child)::before,
.text-block ul li:has(> span:only-child:is(:empty))::before,
.text-block ul li:has(> p:only-child:is(:empty))::before {
  content: none;
}
.text-block ul li::before,
.rte ul li::before,
.product-description ul li::before {
  content: "●";
  color: #cc000e;
}

/* إخفاء النقطة فقط */
.text-block ul li[style*="--hide-dot"],
.rte ul li[style*="--hide-dot"],
.product-description ul li[style*="--hide-dot"] {
  --dot-color: transparent;
}

.text-block ul li[style*="--hide-dot"]::before,
.rte ul li[style*="--hide-dot"]::before,
.product-description ul li[style*="--hide-dot"]::before {
  content: none;
}


/* إخفاء النص */
.text-block ul li.only-dot,
.rte ul li.only-dot,
.product-description ul li.only-dot {
  color: transparent;
}

/* إخفاء نقطة التنقيط */
.text-block ul li.only-dot::before,
.rte ul li.only-dot::before,
.product-description ul li.only-dot::before {
  content: none !important;
}

/* ====================================
   Dreams Setup - Product Card Images - FIXED
   ==================================== */

/* الحاوية */
.product-grid__item .card-gallery,
.resource-list__item .card-gallery {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #202020;
  overflow: hidden;
  display: block;
  z-index: auto; /* الطبقة الأساسية */
}

/* الصورة */
.product-grid__item .card-gallery img,
.resource-list__item .card-gallery img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2; /* فوق الخلفية الرمادية */
  transition: transform 0.5s ease;
}

/* التعديل هنا: شارة Sale فوق الصورة */
.product-grid__item .product-badges,
.resource-list__item .product-badges {
  position: absolute; /* غيرناها من relative لـ absolute */
  top: 10px;
  left: 10px;
  z-index: 5; /* رقم أعلى من z-index الصورة (2) */
}

/* Hover - زوم */
.product-grid__item:hover .card-gallery img,
.resource-list__item:hover .card-gallery img {
  transform: scale(1.05);
}

/* حذف المسافة البيضاء */
.product-grid__card.product-grid__card {
  gap: 0;
  padding-top: 0;
}

.product-card__content {
  margin-top: 0;
  padding-top: 0;
} 
/* ====================================
   تكبير عنوان المنتج - FINAL FIX
   ==================================== */

.product-card h4,
.product-card .h4,
.product-grid__card h4,
.product-grid__card .h4,
.product-card__title-link h4,
.product-card__title-link .h4,
.product-card__title-link p,
.resource-list__item h4,
.resource-list__item .h4 {
  font-size: 17px !important; /* حجم ثابت */
}

/* للموبايل */
@media screen and (max-width: 749px) {
  .product-card h4,
  .product-card .h4,
  .product-grid__card h4,
  .product-grid__card .h4 {
    font-size: 15px !important;
  }
}

/* للديسكتوب */
@media screen and (min-width: 750px) {
  .product-card h4,
  .product-card .h4,
  .product-grid__card h4,
  .product-grid__card .h4 {
    font-size: 22px !important;
  }
}
/* تخفيف الخط - قوة عالية */
.product-grid__item h4,
.product-grid__item .h4,
.product-card h4,
.product-card .h4 {
  font-weight: 400 !important;
}

/* العنوان "Popular Right Now" */
.text-block h2,
.rte-formatter h2 {
  color: #000 !important;
}

/* ====================================
   تحسين حجم البطاقات - موبايل وديسكتوب
   ==================================== */

/* حجم البطاقة الأساسي */
.section-resource-list .product-card,
.section-resource-list .resource-list__item {
  width: 100% !important;
  max-width: 280px !important;
  margin: 0 auto !important;
}

@media screen and (max-width: 749px) {
  .section-resource-list .resource-list__slide {
    min-width: 160px !important;
  }
}
  
  /* البطاقات */
  .section-resource-list .resource-list__slide {
    width: calc(50% - 4px) !important;
    flex: 0 0 calc(50% - 4px) !important;
    min-width: 180px !important;
    max-width: 250px !important;
  }
  
  .section-resource-list .product-card {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  
  /* حاوية الصورة */
  .section-resource-list .card-gallery {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/* iPad / التابلت - 3 منتجات ونص */
@media screen and (min-width: 750px) and (max-width: 1199px) {
  .section-resource-list .resource-list__slide {
    width: calc(100% / 3.5) !important;
    flex: 0 0 calc(100% / 3.5) !important;
    min-width: 200px !important;
  }
}

/* ديسكتوب عادي - 4 منتجات ونص */
@media screen and (min-width: 1200px) and (max-width: 1599px) {
  .section-resource-list .resource-list__slide {
    width: calc(100% / 4.5) !important;
    flex: 0 0 calc(100% / 4.5) !important;
    min-width: 220px !important;
  }
}

/* شاشات كبيرة - 5 منتجات ونص */
@media screen and (min-width: 1600px) {
  .section-resource-list .resource-list__slide {
    width: calc(100% / 5.5) !important;
    flex: 0 0 calc(100% / 5.5) !important;
    min-width: 250px !important;
  }
}


/* ====================================
   أحجام الأزرار والأسعار - RESPONSIVE
   ==================================== */

/* الموبايل */
@media screen and (max-width: 749px) {
  .product-card.product-card {
    min-height: 420px !important;
  }
  
  .product-card .button.button {
    font-size: 10px !important;
    padding: 7px 11px !important;
    min-height: 36px !important;
  }
  
  .product-card .price.price,
  .product-card product-price.product-price {
    font-size: 15px !important;
    margin-bottom: 8px !important;
  }
}

/* التابلت */
@media screen and (min-width: 750px) and (max-width: 989px) {
  .product-card.product-card {
    min-height: 480px !important;
  }
  
  .product-card .button.button {
    font-size: 13px !important;
    padding: 10px 16px !important;
  }
  
  .product-card .price.price {
    font-size: 16px !important;
  }
}

/* الديسكتوب */
@media screen and (min-width: 990px) {
  .product-card.product-card {
    min-height: 520px !important;
  }
  
  
  .product-card .button.button {
    font-size: 14px !important;
    padding: 11px 18px !important;
  }
  
  .product-card .price.price {
    font-size: 18px !important;
  }
}
product-recommendations .product-card.product-card {
  min-height: unset !important;
}
/* عنوان ثابت سطرين مع ... */
:is(.product-card, .collection-card, .resource-card) .product-card__title-link .text-block,
:is(.product-card, .collection-card, .resource-card) h4,
:is(.product-card, .collection-card, .resource-card) .h4 {
  min-height: 50px !important;
  max-height: 50px !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* إصلاح الصورة - موبايل */
@media screen  {
  .section-resource-list .resource-list__slide {
    min-width: 160px !important;
  }
}

/* إخفاء أسهم التنقل في صور المنتجات */
.product-card__gallery-navigation,
.product-card__gallery-arrow {
  display: none !important;
}

/* خط فاصل تحت صورة المنتج */
.product-card .card-gallery::after,
.resource-list__item .card-gallery::after,
.product-grid__item .card-gallery::after {
  content: '';
  position: absolute;
  bottom: 0px; /* ← نزّل الخط 8px تحت الصورة */
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #5D5D5D;
}

.product-grid[data-product-card-size='small'] {
  --product-grid-columns-desktop: repeat(auto-fill, minmax(180px, 1fr)) !important;
}

.product-grid[data-product-card-size='medium'] {
  --product-grid-columns-desktop: repeat(auto-fill, minmax(250px, 1fr)) !important;
}

/* إلغاء عرض التفاصيل المصغرة في zoom-out */
[product-grid-view='zoom-out'] .product-grid-view-zoom-out--details {
  display: none !important;
}


.product-grid[data-product-card-size='small'] .product-card__title-link:not(:first-of-type) {
  display: none !important;
}

/* إلغاء المسافة بين الصفوف في Small */
.product-grid[data-product-card-size='small'] {
  row-gap: 0 !important;
}

/* إلغاء margin-bottom للبطاقات */
.product-grid[data-product-card-size='small'] .product-grid__item {
  margin-bottom: 0 !important;
  margin-top: 0!important;
  grid-row-gap: 0 !important;
}

/* إزالة المسافة بين صفوف المنتجات - FIX */
.product-grid {
  grid-row-gap: 16px !important;
}

/* الشاشات الصغيرة (430px وأقل) */
@media (max-width: 430px) and (min-width: 350px) {
  .product-grid {
    grid-row-gap: 8px !important;
  }
}


@media (max-width: 349px) {
  .product-grid {
    grid-row-gap: 0px !important;
  }
}


/* إخفاء أسهم داخل بطاقة المنتج فقط */
.product-card slideshow-arrows {
  display: none !important;
}
/* إخفاء الأسهم على الموبايل */
@media screen and (max-width: 749px) {
  product-recommendations slideshow-arrows {
    display: none !important;
  }
}

/* منع JavaScript من تغيير المسافات */
.product-grid,
.product-grid[data-product-card-size='small']
{
  column-gap: 16px !important;
}

/* ====================================
   زر Toggle للوصف - FIXED
   ==================================== */

/* الوصف مخفي افتراضياً */
.product-grid:not([show-details]) .text-block ul li {
  display: none !important;
}

.product-grid:not([show-details]) .product-card {
  min-height: auto !important;
  height: auto !important;
}

.product-grid:not([show-details]) {
  row-gap: 16px !important;
}

/* لما يضغط الزر - الوصف يظهر */
.product-grid[show-details] .text-block ul li {
  display: block !important;
}

.product-grid[show-details] .product-card {
  min-height: 420px !important;
}

.product-grid[show-details] {
  row-gap: 16px !important;
}

/* تنسيق الزر - ديسكتوب */
.details-toggle-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 0;
  margin-left: 0px;
  transition: opacity 0.2s ease;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.details-toggle-btn:hover {
  opacity: 0.7;
  background: transparent !important;
}

.details-toggle-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* النص - ديسكتوب أسود */
.details-toggle-btn .details-label {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.9);
  font-weight: 400;
}

/* موبايل - داخل الفلتر */
@media screen and (max-width: 749px) {
  .facets--filters-title + .details-toggle-btn {
    display: none !important;
  }
  
  .facets__title-wrapper .details-toggle-btn {
    display: inline-flex !important;
    margin-left: auto;
    margin-right: 8px;
  }
  
  /* النص - موبايل أبيض */
  .facets__title-wrapper .details-toggle-btn .details-label {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .facets__title-wrapper .details-toggle-btn svg path {
    fill: rgba(255, 255, 255, 0.9);
  }
}

/* ديسكتوب */
@media screen and (min-width: 750px) {
  .facets__title-wrapper .details-toggle-btn {
    display: none !important;
  }
}

/* ====================================
   🎨 Dreams Setup - ألوان موحدة
   Search + Main Collection + Filters
   ==================================== */

/* محاذاة العناوين - موبايل */
@media (max-width: 750px) {
  results-list h1, 
  results-list h2, 
  results-list [class*="title"] {
    text-align: left !important;
    padding-left: 15px;
    padding-top: 10px;
  }
}

/* لون العناوين الرئيسية - أسود */
results-list h1,
.main-collection-grid__title {
  color: #000000 !important;
}

/* النص والأيقونة */
.button.facets-toggle__button {
  color: #000000 !important;
}

/* خطوط الفاصل في Filter Drawer */
.facets--drawer .facets__item::before,
.facets--vertical .facets__item::before,
.facets--drawer .sorting-filter::before,
.facets-block-wrapper .facets__item:not(:first-of-type)::before {
  border-top-color: #5D5D5D !important;
}

/* كلمة Filters */
.facets.facets--horizontal.facets-controls-wrapper.spacing-style 
.facets--filters-title {
  color: #000000 !important;
}

/* كلمة Sort */
.facets.facets--horizontal.facets-controls-wrapper.spacing-style 
.sorting-filter .facets__label {
  color: rgba(0, 0, 0, 0.9) !important;
}

/* كلمة items */
.products-count-wrapper {
  color: rgba(0, 0, 0, 0.80) !important;
}

/* أيقونات الفلتر */
.facets.facets--horizontal.facets-controls-wrapper.spacing-style 
.svg-wrapper {
  color: rgba(0, 0, 0, 0.80);
}

/* الأيقونة الداخلية بيضاء */
.sorting-filter__options .svg-wrapper,
.sorting-filter__options svg {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* زر Clear All */
.facets__actions.facets__actions--active 
.button.button-secondary.facets__clear-all.active {
  color: #ffffff;
  background-color: #000000;
  border-radius: 12px !important;
}

/* زر See Results */
.facets__actions.facets__actions--active 
.button.button-primary.facets__see-results {
  border-radius: 12px !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* زر See Results - Hover */
.facets__actions.facets__actions--active 
.button.button-primary.facets__see-results:hover {
  background-color: #a8000b !important;
}

/* خط الفونت للـ Select */
.sorting-filter__select-wrapper select {
  font-family: inherit !important;
}

.facets.facets--horizontal.facets-controls-wrapper.spacing-style 
.facets--filters-title {
  font-size: 18px !important;
}

/* تصغير عناوين الفلاتر الجانبية */
.facets__label {
  font-size: 16px !important;
}

/* تصغير النص داخل الفلاتر */
.facets__display {
  font-size: 14px !important;
}

/* تصغير نص الـ checkbox والـ radio */
.checkbox__label-text,
.facets__item label {
  font-size: 14px !important;
    font-weight: 600 !important;
}


/* ====================================
   Product Cards Animation - FIXED
   ==================================== */

@keyframes productFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*  إخفاء البطاقات لحد ما يجهز الـ grid */
.product-grid__item {
  opacity: 0;
  transform: translateY(15px);
}

/* ✅ تشغيل الحركة بعد ما يستقر */
.product-grid[data-product-card-size] .product-grid__item {
  animation: productFadeUp 0.35s ease-out forwards;
}

/* Stagger */
.product-grid[data-product-card-size] .product-grid__item:nth-child(1) { animation-delay: 0s; }
.product-grid[data-product-card-size] .product-grid__item:nth-child(2) { animation-delay: 0.05s; }
.product-grid[data-product-card-size] .product-grid__item:nth-child(3) { animation-delay: 0.1s; }
.product-grid[data-product-card-size] .product-grid__item:nth-child(4) { animation-delay: 0.15s; }
.product-grid[data-product-card-size] .product-grid__item:nth-child(5) { animation-delay: 0.2s; }
.product-grid[data-product-card-size] .product-grid__item:nth-child(6) { animation-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .product-grid__item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== إعادة ترتيب شريط الفلاتر بالكامل ===== */


/* 15 items بجانب Filters (لا تتمدد) */
.products-count-wrapper{
  order:2 !important;
  margin:0 !important;
  margin-right:auto !important;
  padding-top: 4px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}


/* Details أول عنصر على اليمين */
button.details-toggle-btn{
  order:3 !important;
  margin:0 !important;
}

/* أيقونات الشبكة بعد Details */
.column-options-wrapper{
  order:4 !important;
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  margin:0 !important;
}

/* Sort آخر عنصر */
.sorting-filter{
  order:5 !important;
  margin:0 !important;
}

/* ====================================
   تحسين خط كلمة Sort
   ==================================== */

/* كلمة Sort */
.sorting-filter__label,
.sorting-filter .facets__label {
  font-size: 15px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* السهم بجانب Sort */
.sorting-filter svg {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.7 !important;
}

.facets.facets--horizontal.facets-controls-wrapper * {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* تخفيف سماكة نص الفلتر */
.facets__label,
.checkbox__label,
.checkbox__label-text,
.facets input + label {
  font-weight: 500 !important;
} 


@media screen and (min-width: 900px) {
  .product-information .product-information__grid {
    display: grid !important;
grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(180px, 22vw) !important;    column-gap: 28px !important;
    align-items: start !important;
    grid-template-areas: "media details buybox" !important;
  }

  .product-information .product-information__media {
    grid-area: media !important;
  }

  .product-information .product-details {
    grid-area: details !important;

    align-self: start !important;
  }

  .product-information .ds-buybox {
    grid-area: buybox !important;
    align-self: start !important;
    background: #202020 !important;
box-shadow: 0 10px 12px -8px rgba(0,0,0,0.35) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 20px !important;
  }

  .product-information .ds-buybox * {
    color: #fff !important;
  }

  .product-information .ds-buybox .compare-at-price,
  .product-information .ds-buybox s {
    color: rgba(255,255,255,0.5) !important;
    opacity: 1 !important;
  }

  .ds-buybox .quantity-selector,
  .ds-buybox quantity-selector-component {
    background: #333333 !important;
    border-color: rgba(255,255,255,0.15) !important;
    border-radius: 12px !important;
  }

  .ds-buybox .quantity-selector .quantity-minus {
    border-radius: 12px 0 0 12px !important;
    color: #fff !important;
    background: transparent !important;
  }

  .ds-buybox .quantity-selector .quantity-plus {
    border-radius: 0 12px 12px 0 !important;
    color: #fff !important;
    background: transparent !important;
  }

  .ds-buybox .quantity-selector input[type="number"] {
    background: transparent !important;
    color: #fff !important;
  }
}

@media screen and (max-width: 899px) {
  /* خلي صندوق ds-buybox موجود عشان الكمية تضل */
  .product-information .ds-buybox {
    visibility: visible !important;
    position: static !important;
    pointer-events: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: 0 !important;
  }

  /* اخفي فقط الزرين داخل ds-buybox */
  .product-information .ds-buybox .add-to-cart-button,
  .product-information .ds-buybox .quick-add__submit,
  .product-information .ds-buybox .shopify-payment-button,
  .product-information .ds-buybox .shopify-payment-button__button,
  .product-information .ds-buybox .shopify-payment-button__button--unbranded{
    display: none !important;
  }

  /* تأكيد ظهور الكمية */
  .product-information .ds-buybox quantity-selector-component,
  .product-information .ds-buybox .quantity-selector,
  .product-information .ds-buybox input[name="quantity"]{
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

.product-information .product-information__grid {
   column-gap: 28px !important;
  
}

/* زر Add to Cart - شفاف مع إطار أحمر */
.ds-buybox .add-to-cart-button,
.ds-buybox .quick-add__submit {
  background-color: #333333 !important;
  font-size: 16px !important;
  padding: 12px 0 !important;
}
.ds-buybox .add-to-cart-button:hover,
.ds-buybox .quick-add__submit:hover {
  background-color: #444444 !important;
  
}

/* زر Buy it now - أحمر بدون إطار */
.ds-buybox .shopify-payment-button__button--unbranded {
  background-color: #cc000e !important;
    font-size: 16px !important;
    padding: 14px 0 !important;
}

.ds-buybox .shopify-payment-button__button--unbranded:hover {
  background-color: #a8000b !important;
}


.sticky-pdp-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: transparent;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.sticky-pdp-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-pdp-inner {
  width: 100%;
  background: #202020;
  border-top: 1px solid rgb(70, 70, 70);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 12px;
}

.sticky-pdp-price {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  color: #fff;
  min-width: 90px;
  text-align: center;
}

.sticky-pdp-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* اجبار Add + Buy يكونو جنب بعض داخل الشريط */
#stickyPdpBar .product-form-buttons--stacked{
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}

/* امنع اي عنصر ياخذ عرض كامل */
#stickyPdpBar .product-form-buttons--stacked > *,
#stickyPdpBar .product-form-buttons--stacked .shopify-payment-button{
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}


/* ===== Add to Cart ===== */
#stickyPdpBar .quick-add__submit{
  background-color:#333333 !important;
  color:#ffffff !important;
}

#stickyPdpBar .quick-add__submit:hover{
  background-color:#555555 !important;
}


/* ===== Buy it now ===== */
#stickyPdpBar .shopify-payment-button__button{
  background-color:#cc000e !important;
  color:#ffffff !important;
}

#stickyPdpBar .shopify-payment-button__button:hover{
  background-color:#a8000b !important;
}


/* ===== Quantity box ===== */
#stickyPdpBar quantity-selector-component,
#stickyPdpBar .quantity-selector{
  display: flex !important;
}
/* لون رقم الكمية */
#stickyPdpBar quantity-selector-component input{
  color:#dcdcdc !important;
}

/* لون + و - */
#stickyPdpBar quantity-selector-component button{
  color:#dcdcdc !important;
}

/* لو الأيقونات SVG */
#stickyPdpBar quantity-selector-component svg{
  fill:#dcdcdc !important;
  stroke:#dcdcdc !important;
}

/* تثبيت الشريط أسفل الشاشة فعليًا */
#stickyPdpBar{
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* دعم أجهزة فيها safe-area (آيفون وغيره) */
#stickyPdpBar{
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* تأكيد أن المحتوى نفسه ما يترك فراغ */
#stickyPdpBar .sticky-pdp-inner{
  margin: 0 !important;
}

/* Buy it now */
#stickyPdpBar .shopify-payment-button__button--unbranded{
  min-width: 220px !important;   /* أعرض */
  height: 44px !important;       /* أقل طول */
  font-size: 16px !important;
  font-weight: 500 !important;
  border-radius: 12px !important;
  padding: 0 24px !important;
}

/* Add to cart */
#stickyPdpBar .quick-add__submit,
#stickyPdpBar .add-to-cart-button{
  min-width: 220px !important;   /* أعرض */
  height: 44px !important;       /* أقل طول */
  font-size: 16px !important;
  font-weight: 400 !important;
  border-radius: 12px !important;
  padding: 0 24px !important;
}

/* لون صندوق الكمية داخل الشريط */
#stickyPdpBar quantity-selector-component,
#stickyPdpBar .quantity-selector{
  background:#333333 !important;
  border:1px solid rgba(255,255,255,0.15) !important;
  border-radius:12px !important;
    height: 44px !important;

}

@media screen and (max-width: 899px) {
   /* إلغاء min-width العام عشان نتحكم بعرض الأزرار */
  #stickyPdpBar .shopify-payment-button__button--unbranded {
    min-width: unset !important;
  }
  
  #stickyPdpBar .quick-add__submit,
  #stickyPdpBar .add-to-cart-button {
    min-width: unset !important;
  }

  /* الحاوية الرئيسية - block عشان text-align يشتغل */
  #stickyPdpBar .sticky-pdp-inner {
    display: block !important;
    padding: 6px 14px !important;
    text-align: center !important;
  }

  /* صف أول - السعر والكمية جنب بعض في المنتصف */
  #stickyPdpBar #stickyPdpPrice {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 6px !important;


  }

  /* السعر - يسار */
  #stickyPdpBar #stickyPdpPrice product-price {
    order: 1 !important;
  }

/* الكمية - يمين السعر */
#stickyPdpBar #stickyPdpPrice quantity-selector-component,
#stickyPdpBar #stickyPdpPrice .quantity-selector {
    order: 2 !important;
    height: 34px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    flex: 0 0 110px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#stickyPdpBar #stickyPdpPrice .quantity-selector input[type="number"] {
    font-size: 14px !important;
    text-align: center !important;
    width: 30px !important;
    flex: 1 !important;
}

#stickyPdpBar #stickyPdpPrice .quantity-minus,
#stickyPdpBar #stickyPdpPrice .quantity-plus {
    width: 30px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
  /* صف ثاني - الزرين في المنتصف */
  #stickyPdpBar #stickyPdpButtons {
    display: inline-flex !important;
    flex-direction: row !important;
    gap: 6px !important;
  }

  /* زر Add to cart */
  #stickyPdpBar .quick-add__submit,
  #stickyPdpBar .add-to-cart-button {
    width: 160px !important;
    height: 34px !important;
    font-size: 16px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    margin: 0 !important;
  }

/* زر Buy it now - الغلاف */
#stickyPdpBar .shopify-payment-button {
    width: 160px !important;
    display: flex !important;
}

/* زر Buy it now - الزر نفسه */
#stickyPdpBar .shopify-payment-button__button--unbranded {
    width: 160px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    font-size: 16px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    margin: 0 !important;
}
}

@media screen and (max-width: 750px) {
  #stickyPdpBar #stickyPdpPrice * {
    font-size: 20px !important;
  }

  #stickyPdpBar #stickyPdpPrice .price-item--regular * {
    font-size: 16px !important;
  }
    #stickyPdpBar #stickyPdpPrice .price-item--regular .price__value {
    font-size: 22px !important;
  }
}


.jdgm-star.jdgm--on::before,
.jdgm-star.jdgm--off::before,
.jdgm-star.jdgm--on,
.jdgm-star.jdgm--off {
  font-family: 'JudgemeStar' !important;
}

.jm-review-widget-minimal-header__title {
  font-weight: 500 !important;
  font-size: 24px !important;
}

@media screen and (min-width: 750px) {
  .jm-review-widget-minimal-header__title {
    font-size: 32px !important;
  }
}

/* Accept button */
#shopify-pc__banner__btn-accept {
  background-color: #cc000e !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
}

#shopify-pc__banner__btn-accept:hover {
  background-color: #a0000b !important;
}

/* Decline button */
#shopify-pc__banner__btn-decline {
  border: none !important;
  border-radius: 12px !important;
}

/* Manage preferences button */
#shopify-pc__banner__btn-manage-prefs {
  border: none !important;
  border-radius: 12px !important;
}

/* Banner container */
#shopify-pc__banner {
  border-radius: 12px !important;
  margin: 0 10px 10px 10px !important;
  overflow: hidden !important;
}

@media screen and (min-width: 750px) {
  #shopify-pc__banner {
    max-width: 500px !important;
    right: 10px !important;
    left: auto !important;
  }
}
/* ===== Cookie Preferences Dialog ===== */

/* الأزرار الثلاثة - كل الزوايا 12px */
#shopify-pc__prefs__header-accept,
#shopify-pc__prefs__header-decline,
#shopify-pc__prefs__header-save {
  border-radius: 12px !important;
  border: none !important;
}

/* Accept all - أحمر */
#shopify-pc__prefs__header-accept {
  background-color: #cc000e !important;
  color: #ffffff !important;
}

#shopify-pc__prefs__header-accept:hover {
  background-color: #a0000b !important;
}
/* Dialog container - كل الزوايا */
#shopify-pc__prefs__dialog {
  border-radius: 12px !important;
  overflow: hidden !important;
} 
/* Checkout button - Cart Drawer */
.cart__ctas .cart__checkout-button {
  background-color: #cc000e !important;
  color: #ffffff !important;
}

.cart__ctas .cart__checkout-button:hover {
  background-color: #a0000b !important;
  color: #ffffff !important;
}


/* ===== Hero Section - Dreams Setup ===== */
.hero .button-secondary {
  font: 500 16px "Roboto Condensed", "Microsoft JhengHei", sans-serif !important;
  margin: 60px 0 !important;
  position: relative !important;
  bottom: 90px !important;
}

.hero__video-wrapper--desktop,
.hero__video-wrapper--mobile {
  overflow: hidden !important;
  position: relative !important;
}

.hero__video {
  object-fit: cover !important;
  object-position: center 80% !important;
  width: 100% !important;
  height: 100% !important;
}

.text-block--AS0RTajVTcTlYU0FuY__text_YLPk4p p {
  text-shadow: 4px 3px 6px rgba(0, 0, 0, 0.7) !important;
}

.cart-drawer a[href="/policies/shipping-policy"] {
  color: #fff !important;
  text-decoration: none !important;
  text-shadow: 0 0 6px rgb(0, 0, 0) !important;
  border-bottom: 1px solid #fff !important;
  padding-bottom: 1px !important;
  transition: border-color 0.2s ease, color 0.2s ease !important;
}

.cart-drawer a[href="/policies/shipping-policy"]:hover {
  border-bottom-color: #CC000E !important;
}
.cart-bubble__background {
  background: #2a2a2a !important;
  border: 1px solid #ffffff22 !important;
}

.hero a[href="/collections/all"].button-secondary {
  border-radius: 12px !important;
  border: none !important;
  color: #fff !important;
  background: #cc000e !important;
  box-shadow: none !important;
}

.hero a[href="/collections/all"].button-secondary:hover,
.hero a[href="/collections/all"].button-secondary:focus,
.hero a[href="/collections/all"].button-secondary:active {
  border: none !important;
  color: #fff !important;
  background: #A8000B !important;
  box-shadow: none !important;
}

.cart-page-title .cart-bubble,
.cart-page-title .cart-bubble__text,
.cart-page-title .cart-bubble__text-count,
.cart-title .cart-bubble,
.cart-title .cart-bubble__text,
.cart-title .cart-bubble__text-count {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* CART SUMMARY ONLY */
.cart-page__summary .cart__summary-container {
  background: #202020 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.cart-page__summary .cart__summary-inner {
  background: #202020 !important;
  border-radius: 12px !important;
  color: #fff !important;
}

/* desktop right spacing without breaking inner centering */
@media screen and (min-width: 750px) {
  .cart-page__summary {
    padding-right: 16px !important;
  }
}

/* mobile inner spacing */
@media screen and (max-width: 749px) {
  .cart-page__summary .cart__summary-inner {
    padding: 20px !important;
  }
}

/* main white text only inside this box */
.cart-page__summary .cart__summary-inner,
.cart-page__summary .cart__summary-inner h1,
.cart-page__summary .cart__summary-inner h2,
.cart-page__summary .cart__summary-inner h3,
.cart-page__summary .cart__summary-inner h4,
.cart-page__summary .cart__summary-inner h5,
.cart-page__summary .cart__summary-inner h6,
.cart-page__summary .cart__summary-inner .cart__summary-item,
.cart-page__summary .cart__summary-inner .cart__summary-item *,
.cart-page__summary .cart__summary-inner .disclosure-trigger,
.cart-page__summary .cart__summary-inner .disclosure-trigger * {
  color: #fff !important;
}

/* subdued text */
.cart-page__summary .cart__summary-inner .tax-note,
.cart-page__summary .cart__summary-inner .tax-note *,
.cart-page__summary .cart__summary-inner small,
.cart-page__summary .cart__summary-inner small * {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* shipping link */
.cart-page__summary .cart__summary-inner .tax-note a,
.cart-page__summary .cart__summary-inner small a {
  color: #fff !important;
  text-decoration: underline !important;
  text-decoration-color: #fff !important;
  text-underline-offset: 2px !important;
}

.cart-page__summary .cart__summary-inner .tax-note a:hover,
.cart-page__summary .cart__summary-inner small a:hover {
  color: #cc000e !important;
  text-decoration-color: #cc000e !important;
}

/* discount/apply button */
.cart-page__summary .cart-discount__button,
.cart-page__summary .cart-discount__button.button,
.cart-page__summary .cart-discount__button.button-primary {
  background: #CC000E !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
}

.cart-page__summary .cart-discount__button:hover,
.cart-page__summary .cart-discount__button.button:hover,
.cart-page__summary .cart-discount__button.button-primary:hover {
  background: #A8000B !important;
  color: #fff !important;
}

/* discount input */
.cart-page__summary .cart-discount__input {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  border-radius: 12px !important;
}

.cart-page__summary .cart-discount__input::placeholder {
  color: rgba(255, 255, 255, 0.28) !important;
  opacity: 1 !important;
}

/* if wrapper around input has its own style */
.cart-page__summary .cart-discount__form,
.cart-page__summary .cart-discount__content {
  color: #fff !important;
}

.cart-page__summary * {
  --color-border: rgba(255, 255, 255, 0.14) !important;
}

.shopify-email-marketing-confirmation__container {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.shopify-email-marketing-confirmation__container a {
  text-decoration: underline !important;
  text-decoration-color: currentColor !important;
  text-underline-offset: 2px !important;
}

.shopify-email-marketing-confirmation__container h1 {
  color: #000 !important;
}

.product-card .product-badges__badge {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

#quick-add-dialog .view-product-title,
#quick-add-dialog .view-product-title * {
  color: #fff !important;
}

#quick-add-dialog quantity-selector-component.quantity-selector,
#quick-add-dialog .quantity-selector {
  background: #333333 !important;
  border: 1px solid #666666 !important;
  border-radius: 12px !important;
}

#quick-add-dialog .quantity-selector button,
#quick-add-dialog .quantity-selector input,
#quick-add-dialog .quantity-selector-component button,
#quick-add-dialog .quantity-selector-component input,
#quick-add-dialog .quantity-selector svg,
#quick-add-dialog .quantity-selector path {
  color: #fff !important;
  fill: #fff !important;
  stroke: #fff !important;
  background: transparent !important;
}

#quick-add-dialog .quick-add__submit,
#quick-add-dialog button.quick-add__submit,
#quick-add-dialog [id*="quick-add-template"][type="submit"] {
  background: #333333 !important;
  border: 1px solid #333333 !important;
  color: #fff !important;
  border-radius: 12px !important;
}

#quick-add-dialog .quick-add__submit:hover,
#quick-add-dialog button.quick-add__submit:hover,
#quick-add-dialog [id*="quick-add-template"][type="submit"]:hover {
  background: #444444 !important;
  border-color: #444444 !important;
  color: #fff !important;
}

#quick-add-dialog .shopify-payment-button__button,
#quick-add-dialog .shopify-payment-button__button--unbranded,
#quick-add-dialog shopify-buy-it-now-button button {
  background: #CC000E !important;
  border: 1px solid #CC000E !important;
  color: #fff !important;
  border-radius: 12px !important;
}

#quick-add-dialog .shopify-payment-button__button:hover,
#quick-add-dialog .shopify-payment-button__button--unbranded:hover,
#quick-add-dialog shopify-buy-it-now-button button:hover {
  background: #A8000B !important;
  border-color: #A8000B !important;
  color: #fff !important;
}

#quick-add-dialog legend,
#quick-add-dialog variant-picker,
#quick-add-dialog variant-picker * {
  color: #fff !important;
}

#quick-add-dialog .variant-option__button-label {
  background: #202020 !important;
  color: #ffffff !important;
  border: 1px solid #555555 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  background-image: none !important;
}

#quick-add-dialog fieldset:has(input:checked) .variant-option__button-label {
  background: #202020 !important;
  color: #ffffff !important;
  border-color: #555555 !important;
}

#quick-add-dialog fieldset label:has(input:checked),
#quick-add-dialog fieldset .variant-option__button-label:has(input:checked),
#quick-add-dialog fieldset .variant-option:has(input:checked) .variant-option__button-label {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

#quick-add-dialog fieldset label:has(input:checked) *,
#quick-add-dialog fieldset .variant-option__button-label:has(input:checked) * {
  color: #000000 !important;
  fill: #000000 !important;
  stroke: #000000 !important;
}

#quick-add-dialog .variant-option__button-label::before,
#quick-add-dialog .variant-option__button-label::after {
  display: none !important;
  content: none !important;
}

#quick-add-dialog .variant-option--swatches .variant-option__button-label,
#quick-add-dialog .variant-option--swatches .variant-option__button-label::before,
#quick-add-dialog .variant-option--swatches .variant-option__button-label::after {
  border: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

#quick-add-dialog .variant-option--swatches label:has(input:checked),
#quick-add-dialog .variant-option--swatches .variant-option__button-label:has(input:checked),
#quick-add-dialog .variant-option--swatches .variant-option:has(input:checked) .variant-option__button-label {
  background: transparent !important;
  border-color: transparent !important;
  outline: 1px solid #ffffff !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

#quick-add-dialog .variant-option--swatches label:has(input:checked) *,
#quick-add-dialog .variant-option--swatches .variant-option__button-label:has(input:checked) *,
#quick-add-dialog .variant-option--swatches .variant-option:has(input:checked) .variant-option__button-label * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

#quick-add-dialog .product-details,
#quick-add-dialog .product-details > div,
#quick-add-dialog .product-details product-form-component,
#quick-add-dialog .product-details variant-picker {
  margin-top: 0 !important;
}

#quick-add-dialog .product-header {
  margin-bottom: 8px !important;
}

@media screen and (max-width: 749px) {
  #quick-add-dialog .product-header {
    padding-top: 0 !important;
    margin-bottom: 12px !important;
  }

  #quick-add-dialog .product-header a {
    font-size: 24px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    display: block !important;
    margin-bottom: 12px !important;
    padding-bottom: 6px !important;
    transform: translateY(-8px) !important;
  }

  #quick-add-dialog .product-header .price,
  #quick-add-dialog .product-header #priceContainer,
  #quick-add-dialog .product-header product-price,
  #quick-add-dialog .product-header .price * {
    color: #ffffff !important;
  }

  #quick-add-dialog .product-header .price,
  #quick-add-dialog .product-header #priceContainer {
    font-size: 21px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
  }

  #quick-add-dialog .product-header .price > *:first-child,
  #quick-add-dialog .product-header #priceContainer > *:first-child {
    font-size: 21px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    opacity: 1 !important;
  }

  #quick-add-dialog .product-header .price > *:only-child,
  #quick-add-dialog .product-header #priceContainer > *:only-child {
    font-size: 21px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    opacity: 1 !important;
  }

  #quick-add-dialog .product-header .price > *:nth-child(2),
  #quick-add-dialog .product-header #priceContainer > *:nth-child(2) {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-decoration: line-through !important;
    opacity: 1 !important;
    margin-left: 4px !important;
  }
}

a.cart-items__title:hover {
  color: #CC000E !important;
}

.shopify-challenge__container {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

p.shopify-challenge__message {
  color: #000000;
  font-size: 1rem;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

input.shopify-challenge__button {
  background-color: #CC000E !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 32px !important;
  font-size: 0.9rem !important;
  font-family: "Roboto Condensed", sans-serif !important;
  cursor: pointer !important;
  margin-top: 16px !important;
  transition: background 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

input.shopify-challenge__button:hover {
  background-color: #a3000b !important;
}

/* إلغاء الخطوط الفاصلة التلقائية داخل بطاقة المنتج */
.product-card__content > *,
.product-card__content .text-block,
.product-card__content product-price,
.product-card__content .price,
.product-card__content .product-card__title-link {
  border-bottom: none !important;
  border-top: none !important;
}

@media screen and (max-width: 749px) {
  .hero a[href="/collections/all"].button-secondary {
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  }
}

@media screen and (max-width: 749px) {
  .hero__content-wrapper {
    padding-inline: 20px !important;
  }
}

#more-payment-options-link,
a.shopify-payment-button__more-options {
  color: #ffffff !important;
  font-size: 14px !important;
  transition: color 0.2s ease !important;
}

#more-payment-options-link:hover,
a.shopify-payment-button__more-options:hover {
  color: #CC000E !important;
}


.announcement-bar__text {
  font-family: 'Roboto Condensed', sans-serif !important;
}

.announcement-bar__text .cd-prefix {
  font-size: 14px !important;
  font-weight: 400 !important;
}
.announcement-bar__text .cd-timer {
  font-size: 14px !important;
  font-weight: 500 !important;
}
.announcement-bar__text .cd-expired {
  font-size: 14px !important;
  font-weight: 500 !important;
}

@media screen and (max-width: 600px) {
  .announcement-bar__text .cd-prefix,
  .announcement-bar__text .cd-timer,
  .announcement-bar__text .cd-expired {
    font-size: 13px !important;
  }
}

@media (min-width: 900px) {
  .product-information__grid {
    align-items: stretch;
  }
  .product-information__media {
    align-self: stretch;
    height: 100%;
  }
}

/* Dreams Setup: keep the normal page scroll on desktop (the store's own scripts read window scroll) */
@media (min-width: 990px) {
  html:has(.page-wrapper), html:has(.page-wrapper) body { height: auto; overflow: visible; }
  html[scroll-lock] { overflow: hidden; }
  .page-wrapper { height: auto; min-height: 100dvh; overflow: visible; }
}
.skip-to-content-link:not(:focus) { position: absolute !important; inset-inline-start: -99999px !important; }
