/* :root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: white;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --asideWidth: 1px;
}

// is that really the best way ?
* {
  /* font-family: "TWK Lausanne" !important; 
}*/
:root {
  --asideWidth: 1px;
}

.page-wrapper {
  position: relative;
}

.xp-wrapper {
  width: 100vw;
  height: 80vh;
  min-height: 600px;
  overflow: visible;
  position: absolute;
  top: 0;
  border: 1px solid transparent;
  opacity: 1;
  pointer-events: all;
  will-change: transform, width, height, left, top;
}

.ease {
  transition: all ease 1s;
}
.no-transition {
  transition: none !important;
}

.controls {
  flex-wrap: wrap;
  width: 100%;
  padding: 0 12px;
  /* padding: 0; */
  bottom: 8dvh;
  transition: all ease 0.5;
  position: sticky;
  width: 0;
}
.hidden-opacity {
  opacity: 0;
  /* pointer-events: none; */
}

.controls,
.filtersMobile {
  /* position: absolute; */
  /* transform: translate3d(-50%, 0, 0);
  left: 50%; */
  z-index: 2000;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.close-button {
  content: "";
  position: relative;
  order: 10;
  padding: 7px;
  height: 3.5em;
  width: 3.5em;
  cursor: pointer;
  pointer-events: all;
}
.close-button::before,
.close-button::after,
.buttonCloseFocus::before,
.buttonCloseFocus::after,
.filterElementRemove::before,
.filterElementRemove::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0) rotate(45deg);
  width: 1.5px;
  height: 40%;
  background-color: white;
  transition: all ease-in-out 0.25s;
  border-radius: 5px;
}

.close-button::after,
.buttonCloseFocus::after,
.filterElementRemove::after {
  transform: translate3d(-50%, -50%, 0) rotate(-45deg);
}

/* Focus mode buttons */

.focusCTAs {
  pointer-events: none;
}

.focusCTA,
.focusCTA .split-parent,
.focusCTA .secondLine {
  white-space: nowrap;
  word-break: keep-all;
  white-space: normal !important;
}
.button-regular .button-arrow {
  transform: rotateZ(0deg);
  transform-style: preserve-3d;
  transition: all ease-in-out 0.5s;
}
.button-regular:hover .button-arrow {
  transform: rotateZ(-45deg);
}

.button-group {
  display: flex;
  justify-content: center;
  align-items: center;
}

.filter-CTA {
  word-break: break-all;
  white-space: pre-wrap;
}
/* .explore-button {
  top: auto;
  right: auto;
} */

.explore-button .button-icon svg,
.button-default .button-icon svg {
  transform: rotateZ(0deg);
  transform-style: preserve-3d;
  transition: all ease 0.3s;
}
.explore-button:hover .button-icon svg,
.button-default:hover .button-icon svg {
  transform: rotateZ(-45deg);
}

/* .close-button img {
  max-width: none;
  width: 32px;
  height: 32px;
} */
.filtersMobile {
  position: absolute;
  display: none;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 0 var(--padding-global--mobile);
  /* bottom: 12dvh; */
  bottom: 3dvh;
}

.closeFilters {
  height: 48px;
  width: 100%;
  border: 1px solid var(--swatch--grey);
  border-radius: 1px;
  background: var(--_theme---color--background);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  margin-top: -1px;
}

.filter-category {
  justify-content: start;
  align-items: center;
  border-radius: 4px;
  padding: 0;
  /* font-size: var(--size-font); */
  /* font-size: calc(var(--size-unit) * 1px); */
  font-weight: 500;
  overflow: hidden;
  width: auto;
  height: 3.5em;
}

.filter-category button {
  display: flex;
  gap: 4px;
  /* padding: 12px 16px; */
  padding: 0 16px;
  color: var(--swatch--dark);
  white-space: nowrap;
  position: relative;
  
  height: 100%;
  display: flex;
  align-items: center;
}

.colorFilter,
.typeFilter {
  display: none;
  justify-content: space-around;
  padding: 16px;
  height: fit-content !important;
}

.typeFilter {
  gap: 10px;
}

.typeFilter > .option {
  color: var(--swatch--dark);
  background-color: rgba(224, 225, 218, 0.1);
  padding: 10px 15px;
  border-radius: 100px;
  cursor: pointer;
  transition: all ease 0.25s;
}

.typeFilter > .option.selected {
  color: white;
  background-color: var(--swatch--dark);
}

.colorFilter > .option.selected::after {
  opacity: 1;
}

.colorFilter {
  gap: 5px;
  flex-wrap: wrap;
}

.colorFilter > .option {
  content: "";
  width: 60px;
  height: 60px;
  background-color: red;
  border-radius: 100%;
  cursor: pointer;
  position: relative;
}

.colorFilter > .option::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background-color: white;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity ease 0.25s;
}

.colorFilter > .option.option-border, .filterElement > .option-border {
  outline: 1px solid #a1a19c;
}

.filterElementWrapper {
  /* position: absolute; */
  /* top: -34px; */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  /* top: -100%; */
  padding: 0 12px;
  flex-wrap: wrap;
  /* bottom: 8vh; */
  bottom: 5em;
  position: relative;
  transition: width 0.5s ease;
  /* max-width: 60%; */
}

.filterElement {
  display: flex;
  align-items: center;
  border: 1px solid var(--swatch--grey);
  border-radius: 4px;
  background: var(--_theme---color--background);
  gap: 4px;
  padding: 8px 11px;
  width: fit-content;
  font-weight: 500;
      white-space: nowrap;
  /* transition: all ease 1s; */
}

.filterElementRemove {
  width: 12px;
  height: 12px;
  position: relative;
}

.filterElementRemove::after,
.filterElementRemove::before {
  width: 1px; /* Épaisseur de la croix */
  height: 12px;
}

.colorIndic {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 100%;
}

.xp_section_collection {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  width: 95vw;
  height: auto;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  padding: 20px 40px;
  min-width: 80%;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0;
}

/* Slot wrapper — fixed 1/4-width slot per bubble (matching the 4-item row).
   The bubble itself stays its natural circular size, centred inside the slot. */
.bubble-slot {
  width: 25%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

/*.column:nth-child(even) {
  margin-top: 20vw;
}*/

/* ========================================
   PREMIUM GLASSMORPHISM DEPARTMENT CARDS
   Deep blue frosted glass with teal glow
   ======================================== */
.xp_products-collection_item {
  width: 190px;
  height: 190px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  padding: 20px;
  background: linear-gradient(
    145deg,
    rgba(10, 80, 160, 0.55) 0%,
    rgba(78, 202, 255, 0.45) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 10px 40px rgba(10, 60, 130, 0.25),
    inset 0 0 20px rgba(78, 202, 255, 0.15),
    0 0 30px rgba(10, 100, 180, 0.18);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: 0 !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 10;
  box-sizing: border-box;
  animation: cardFloat 6s ease-in-out infinite;
  letter-spacing: 0.3px;
}

/* Stagger float timing for each card */
.xp_products-collection_item:nth-child(odd)  { animation-delay: -2s; }
.xp_products-collection_item:nth-child(even) { animation-delay: -4s; }

/* Top glass highlight shimmer */
.xp_products-collection_item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 60%,
    transparent 100%
  );
  border-radius: 22px 22px 0 0;
  pointer-events: none;
  z-index: 1;
}

/* Bottom cyan gradient glow */
.xp_products-collection_item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(
    0deg,
    rgba(78, 202, 255, 0.18) 0%,
    transparent 100%
  );
  border-radius: 0 0 22px 22px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.xp_products-collection_item:hover::after {
  opacity: 1.6;
}

.xp_products-collection_item:hover {
  background: linear-gradient(
    145deg,
    rgba(10, 100, 180, 0.75) 0%,
    rgba(78, 202, 255, 0.65) 100%
  );
  transform: translateY(-15px) scale(1.25);
  box-shadow:
    0 30px 60px rgba(10, 60, 130, 0.35),
    0 0 40px rgba(78, 202, 255, 0.45),
    0 0 80px rgba(10, 100, 180, 0.30),
    inset 0 0 0 2px rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.8);
  animation-play-state: paused;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ---- Big Icon Image ---- */
.xp_products-collection_item img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  opacity: 1;
  margin: 0 0 10px 0 !important;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
  transition: filter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 5;
}

.xp_products-collection_item:hover img {
  filter:
    drop-shadow(0 8px 24px rgba(78, 202, 255, 0.65))
    drop-shadow(0 0 20px rgba(10, 100, 180, 0.45));
}

/* ---- Team Card Name Typography ---- */
.team-card-name {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-align: center !important;
  margin: 0 !important;
  width: 90% !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

/* ---- Zoom icon + text together as one unit on bubble hover ---- */
.xp_collection_item-img {
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  justify-content: center !important;
}

.xp_products-collection_item:hover .xp_collection_item-img {
  transform: scale(1.15);
}

.products-collection_list {
  transition: all ease-out 0.3s;
}

.products-collection_item {
  z-index: 1000000;
}

.collection_item-card {
  border-color: transparent;
  position: relative;
}
.collection_item-info {
  flex-direction: column;
}

.name-collection-card {
  font-size: 0.5em;
}

/* .collection_item-info h2, */
.collection_item-count {
  font-size: 0.75em;
}

.collection_item-wrap {
  grid-row-gap: 0.4em;
}

.scrollbar {
  height: 5px;
  width: var(--item-card-width);
  background: #ccc;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
}

.thumb {
  height: 5px;
  width: 25%;
  /* width: calc(var(--item-card-width) / 20); */
  background: #888;
  position: absolute;
  bottom: 0;
  transition: left 0.3s ease-out;
}

.overflow-visible {
  overflow: visible;
}
/* .overflow-hidden {
  overflow: hidden;
} */

.screen-height {
  height: 85vh;
  min-height: 650px;
}

.main-wrapper {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  /* display: none; */
}

.main-wrapper-visible {
  opacity: 1;
  pointer-events: all;
  z-index: 1000;
}

/* .main-wrapper .other {
} */

.line-height-slightup {
  line-height: 1.05;
  width: inherit;
}

.collection_item-indicator {
  align-items: center;
  /* background: var(--color-mode-default--background); */
  z-index: 1000000;
  color: var(--swatch--dark);
  opacity: 0;
}

.explore-button {
  display: none;
  z-index: 2000;
}

/* DRAG */
.drag-easing {
  transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1);
}

.button-default {
  top: auto;
  right: auto;
}

.dragformorewrapper {
  pointer-events: none;
  user-select: none;
}

/* .hidden {
  display: none !important;
} */

/* FOCUS */

.focus {
  position: absolute;
  display: flex;
  justify-content: center;
  width: 60%;
  left: 0;
  top: 0;
}

.focusWrapper img,
.focusWrapper video {
  /* width: 100%; */
  height: 30vw;
  max-height: 100vh;
  max-width: 100vh;
  /* scroll-snap-align: start; */
}


.focusWrapper {
  display: flex !important;
  justify-content: center;
  position: fixed !important;
  left: 0;
  top: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 2500 !important;
  pointer-events: none;
  /* Lighter Radial Gradient as requested */
  background: radial-gradient(circle at center, #1e3a8a 0%, #1e3a8a 30%, #001060 100%) !important;
  overflow: hidden;
  opacity: 0;
}

/* Subtle graphic element for premium feel */
.focusWrapper::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(0,22,122,0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2004;
  pointer-events: none;
}


.focusWrapper.active {
  opacity: 1;
  pointer-events: all;
}

/* Vertical Divider in the center */
.focusWrapper::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 2005;
}

.focusInfos {
  flex: 1.2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important; /* Align to start for right side text */
  padding: 5% 8% 5% 2% !important;
  text-align: left !important; /* Text on right, aligned left */
  position: relative !important;
  top: 0 !important;
  height: 100% !important;
  background: transparent !important;
  z-index: 10;
  order: 2 !important; /* Text on the right */
}

.focusCarousel {
  flex: 0.8 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding: 5% 2% 5% 8% !important;
  margin: 0 !important;
  height: 100% !important;
  position: relative !important;
  z-index: 10;
  order: 1 !important; /* Image on the left */
}

.focusCarousel img,
.focusCarousel video {
  max-width: 85% !important;
  max-height: 80vh !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(10, 60, 130, 0.35)) drop-shadow(0 0 30px rgba(78, 202, 255, 0.15));
}

.focusedCollectionTitle {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  color: #4ECAFF !important;
  margin-bottom: 30px !important;
  line-height: 1.1 !important;
  position: relative !important;
  top: auto !important;
  display: inline-block !important;
  width: auto !important;
  max-width: 55% !important;
  text-align: left !important;
  text-shadow: 0 0 24px rgba(78, 202, 255, 0.45);
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* Gradient Underline */
.focusedCollectionTitle::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  transform: none;
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, #0a64b4 0%, #4ECAFF 100%);
  border-radius: 3px;
}

.contextualInfo {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.15rem !important;
  line-height: 1.8 !important;
  color: rgba(226, 232, 240, 0.9) !important;
  max-width: 580px !important;
  width: 100% !important;
  margin: 0 !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  padding: 0 !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  text-align: justify !important;
  text-align-last: left !important;
  hyphens: auto !important;
}


.focusCTAs {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  margin-top: 50px !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  opacity: 1 !important;
  pointer-events: all !important;
  justify-content: flex-start !important;
  align-items: center !important;
  border: none !important;
  background: none !important;
  width: 100% !important;
}


.buttonCloseFocus {
  content: "";
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) scale(1.2) !important;
  width: 52px !important;
  height: 52px !important;
  background: rgba(10, 100, 180, 0.80) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3000 !important;
  cursor: pointer !important;
  border: 1.5px solid rgba(78, 202, 255, 1) !important;
  box-shadow: 0 8px 36px rgba(10, 100, 180, 0.65), 0 0 28px rgba(78, 202, 255, 0.50) !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease !important;
  transform: translate(-50%, -50%) scale(1.32) !important;
  background: rgba(10, 100, 180, 0.95) !important;
  box-shadow: 0 10px 44px rgba(10, 100, 180, 0.75), 0 0 36px rgba(78, 202, 255, 0.65) !important;
  border-color: rgba(78, 202, 255, 1) !important;
}

.buttonCloseFocus:hover {
  transform: translate(-50%, -50%) scale(1.32) !important;
  background: rgba(10, 100, 180, 0.95) !important;
  box-shadow: 0 10px 44px rgba(10, 100, 180, 0.75), 0 0 36px rgba(78, 202, 255, 0.65) !important;
  border-color: rgba(78, 202, 255, 1) !important;
}

.buttonCloseFocus::before,
.buttonCloseFocus::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.buttonCloseFocus::before { transform: rotate(45deg); }
.buttonCloseFocus::after  { transform: rotate(-45deg); }

.exploreCollection {
  background: linear-gradient(135deg, #0a64b4 0%, #0a2a4a 100%) !important;
  color: white !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  padding: 12px 35px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(78, 202, 255, 0.3) !important;
  cursor: pointer !important;
  box-shadow: 0 5px 20px rgba(10, 100, 180, 0.35) !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 140px !important;
  width: fit-content !important;
  height: auto !important;
}

.exploreCollection:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(10, 100, 180, 0.50), 0 0 16px rgba(78, 202, 255, 0.25) !important;
  background: linear-gradient(135deg, #0a80d4 0%, #0a3a6a 100%) !important;
  border-color: rgba(78, 202, 255, 0.6) !important;
}

.navbarWrap {
  z-index: 3500 !important; /* Keep above focus layer */
}


.buttonAppear {
  opacity: 1;
  pointer-events: all;
}

/* GUI */

.dg.ac {
  position: absolute !important;
  z-index: 100000 !important;
}

/* Controls */

.filterButton {
  padding: 10px 12px;
  background-color: var(--swatch--light);

  font-weight: 600;
}

.filterButton {
  background-color: var(--swatch--light);
}

.image-3 {
  margin: 0;
}

.reset-button {
  font-weight: 600;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  z-index: 10000000;
}
.reset-button img {
  transform: rotate3d(0, 0, 1, 0) !important;
  transition: all ease 1s;
}

.reset-button:hover img {
  transform: rotate3d(0, 0, 1, -360deg) !important;
}

select {
  padding: 10px 12px;
  border: 1px solid black;
  background: none;
  cursor: pointer;
  text-align: center;
}

/* Input range */

.typeFilter,
.colorFilter,
.double_range_slider_box {
  position: relative;
  height: 78px;

  background: var(--_theme---color--background);
  border: 1px solid var(--swatch--grey);
  display: flex;
  align-items: center;
  border-radius: 4px;
  width: calc(100% + 2px);
  transition: visibility 0s linear 0.6s;
  /* width: auto; */
  display: none;
}

.double_range_slider_box {
  justify-content: center;
}

.double_range_slider {
  width: 100%;
  height: 2px;
  position: relative;
  background-color: #dddddd;
  border-radius: 20px;
}
.range_track {
  height: 100%;
  position: absolute;
  border-radius: 20px;
  background-color: #222;
  top: 0;
}

input[type="range"] {
  position: absolute;
  width: 100%;
  height: 5px;
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  top: 50%;
  transform: translateY(-50%);
}
input[type="range"]::-webkit-slider-thumb
 {
  position: relative;
  height: 2em;
  width: 2em;
  border-radius: 100%;
  background-color: black;
  border: 10px solid var(--_theme---color--background);
  pointer-events: auto;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 1px;
  z-index: 100;
  box-shadow: 0 0 0 1px var(--swatch--grey);
  transition: all ease 0.25s;
  cursor: grab;
}

input[type="range"]::-moz-range-thumb {
  height: 1em;
  width: 1em;
    position: relative;
  border-radius: 100%;
  background-color: black;
  border: 10px solid var(--_theme---color--background);
  pointer-events: auto;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 1px;
  z-index: 100;
  box-shadow: 0 0 0 1px var(--swatch--grey);
  transition: all ease 0.25s;
  cursor: grab;
}


input[type="range"]:hover::-webkit-slider-thumb {
  /* height: 26px;
  width: 26px; */
  transform: scale(0.9);
  /* border: 4x solid var(--color-mode-default--background); */
  /* margin-left: 2px; */
}

/* input[type="range"] + label {
  z-index: 0;
  position: absolute;
  border: 1px solid black;
  width: 30px;
  height: 30px;
  pointer-events: none;
  padding: 4px;
  top: -14px;
  border-radius: 100px;
} */

#sizeInputMin {
  left: 0%;
}

#sizeInputMax {
  right: 0%;
}

.minvalue,
.maxvalue {
  padding: 0px 14px;
  background: none;
  white-space: nowrap;
  width: 10ch;
}
.maxvalue {
  width: 18ch;
}

/* Not found */

.not_found {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: translate3d(-50%, 0, 0);
  left: 50%;
  top: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1);
}

.not_found .no_product {
  font-size: 2.5em;
  font-weight: 300;
  color: #222222;
  letter-spacing: -1.2px;
}

.dashed {
  position: relative;
  border: 2px dashed #a1a19c;
  padding: 16px;
  margin: 16px;
  width: 90vw;
  height: 90vw;

  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  cursor: pointer;
  transition: all cubic-bezier(0.65, 0, 0.35, 1) 0.6s;
}

.dashed img {
  transform: rotate3d(0, 0, 1, 0) !important;
  transition: all cubic-bezier(0.65, 0, 0.35, 1) 0.6s;
}

.dashed:hover img {
  transform: rotate3d(0, 0, 1, -360deg) !important;
}

.dashed:hover {
  width: 80vw;
  height: 80vw;
}

.dashed button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.dashed .resetIcon {
  border: 1px solid var(--swatch--grey);
  border-radius: 100%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dashed button p {
  /* font-size: calc(var(--size-unit) * 1px); */
  font-weight: 500;
  font-size: 1em;
}
.not_found button {
  position: absolute;
  font-weight: 300;
  gap: 12px;
  color: #222222;
  /* font-size: var(--size-font); */
  /* font-size: calc(var(--size-unit) * 1px); */
}
.not_found span {
  font-size: 40px;
  font-weight: 300;
  color: #222222;
}

.not_found_visible {
  opacity: 1;
  visibility: visible;
}

/* View change, similar with controls a bit */

.innerButton {
  padding: 12px 12px;
  /* padding: 0.85em; */
  background: var(--_theme---color--background);
  border-radius: 4px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--swatch--grey);
  overflow: hidden;
}

.innerIcon {
  /* width: 3.3em;
  height: 3.3em; */
  /* width: 48px;
  height: 48px; */
  height: 3.5em;
  width: 3.5em;
  background: var(--_theme---color--background);
  border: 1px solid var(--swatch--grey);
  border-radius: 4px;
  margin-right: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.heading-style-24px-old {
  line-height: 1.1;
}

.viewButton .innerButton {
  height: 48px;
}

.filterCTA .innerButton {
  padding: 0;
  height: 3.5em;
  width: 4.5em;
}


.viewButton .split-parent {
  display: none !important;
}

.filterCTA .innerIcon span {
  content: "";
  background: black;
  position: relative;
  display: flex;
  /* width: 18px;
  height: 1.5px; */
  width: calc(var(--size-font) * 1.3);
  height: calc(var(--size-font) / 9);
}
.filterCTA .innerIcon span::after {
  content: "";
  background: black;
  position: absolute;
  border-radius: 100%;
  width: 5px;
  height: 5px;
  top: -2px;
  transition: all ease 0.5s;
}

.filterCTA .innerIcon span:nth-child(1)::after,
.filterCTA .innerIcon span:nth-child(3)::after {
  left: 25%;
}
.filterCTA .innerIcon span:nth-child(2)::after {
  left: 50%;
}

.filterCTA:hover .innerIcon span:nth-child(1)::after,
.filterCTA:hover .innerIcon span:nth-child(3)::after {
  left: 50%;
}
.filterCTA:hover .innerIcon span:nth-child(2)::after {
  left: 25%;
}

.navbarWrap {
  display: flex;
  gap: 16px;
}

.viewButton .innerIcon span::after {
  content: "";
  background: black;
  position: absolute;
  border-radius: 100%;
  width: 4px;
  height: 4px;
  transition: all ease 0.5s;
}

.viewButton .innerIcon span {
  width: 4px;
  height: 4px;
  position: relative;
}

.viewButton .innerIcon {
  display: grid;
  grid-template-columns: repeat(3, auto); /* 3 colonnes */
  row-gap: 0px;
  column-gap: 4px;
  width: 48px;
  height: 48px;
  padding: 10px;
  /* margin: auto; */
  transition: all 0.5s ease;
}

.viewButton.toGrid .innerIcon span:nth-child(4)::after,
.viewButton.toGrid .innerIcon span:nth-child(6)::after {
  opacity: 0;
}
.viewButton.toGrid .innerIcon span:nth-child(1)::after,
.viewButton.toGrid .innerIcon span:nth-child(3)::after {
  transform: translate3d(0, 4px, 0);
}

.viewButton.toGrid .innerIcon span:nth-child(7)::after,
.viewButton.toGrid .innerIcon span:nth-child(9)::after {
  transform: translate3d(0, -4px, 0);
}

.viewButton {
  z-index: 100000;
  position: relative;
}

.viewButton,
.filterCTA {
  /* transition: all ease 0.5s; */
  display: flex;
}

.CTAWrapper {
  /* position: sticky; */
  position: fixed;
  /* top: 90dvh; */
  bottom: 0;
  transform: translate(-50%, -50%);
  left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  width: 100%;
  /* width: max-content; */
  gap: 5px;
  opacity: 0;
  height: fit-content;
}
.filterCTA .split-parent,
.contextualInfo {
  white-space: nowrap;
}

.heading-style-160px .split-parent {
  white-space: pre-wrap;
  /* white-space: nowrap; */
  /* white-space: break-spaces; */
}

.disableViewButton {
  pointer-events: none;
}

.hidden {
  opacity: 0;
  pointer-events: none !important;
  z-index: -1;
}

.hidden .filter-category {
  pointer-events: none !important;
}

.opacity-0 {
  opacity: 0;
  transition: all ease 1s;
}

.disablePointerEvents {
  pointer-events: none;
}

.buttonText {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  /* font-size: var(--size-font); */
}

.viewButton .buttonText {
  width: 14ch;
}

.flex {
  display: flex;
}

.none {
  display: none;
}

/* .invisibleBorder {
  border: 1px solid transparent;
} */

/* Split text */

.plus {
  pointer-events: none;
}

.pipe {
  display: none;
}
.grid-text {
  width: 100%;
  will-change: transform;
  word-break: break-all;
}
.grid-text .split-parent {
  /* white-space: pre-wrap; */
  white-space: normal;
}

.focusedCollectionTitle .split-parent {
  /* white-space: pre-wrap !important; */
  padding-bottom: 0.15em;
  margin-bottom: -0.45em;
}
h1 .split-parent {
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
  white-space: nowrap !important;
  /* white-space: normal; */
  /* word-break: break-all; */
  /* word-break: keep-all !important; */
  /* text-wrap: stable !important; */
  /* white-space: break-spaces; */
}

.split-parent {
  overflow: hidden;
  will-change: transform;
  display: inline-block !important;
  word-break: break-all;
  white-space: pre-wrap;
}
.split-parent > div {
  display: inline-block !important;
  will-change: transform;
  /* transform: translateZ(0); */

  /* padding-bottom: 0.1em; */
}

.absoluteHidden {
  position: absolute;
  visibility: hidden;
}

.margin-right-0 {
  margin-right: 0;
}

.secondLine {
  position: absolute !important;
  top: 100% !important;
}

.button-default .secondLine > div {
  left: 0.125em;
}

.explore-button .secondLine > div {
  left: 0;
}

.pointerAll {
  pointer-events: all !important;
}

.focusMarkeeWrapper {
  display: none;
}

.asideGrid {
  border-left: var(--asideWidth) solid black;
  /* transform: translate3d(60%, 0, 0) !important; */
}

.instruction-zoom-wrapper {
  display: none;
  opacity: 0;
}

.zooming {
  pointer-events: none;
}

.zoom-disabled {
  opacity: 0.5;
  pointer-events: none;
}

@media (min-width: 640px) {
  /* Tablette */

  .page-wrapper {
    /* font-size: 1em; */
  }

  /* .filterCTA {
    top: 80svh;
  } */

  .filterCTA,
  /* .controls, */
  .filtersMobile {
    /* bottom: 12svh; */
    top: auto;
    bottom: 0;
    max-width: 75%;
  }

  .filterCTA {
    top: 0;
  }

  .controls {
    bottom: 12svh;
  }

  .focusCarousel {
    margin-top: 10vh;
  }

  .dashed {
    width: 400px;
    height: 400px;
  }
  .dashed:hover {
    width: 375px;
    height: 375px;
  }

  /* .focusCarousel img {
    max-width: 80%;
  } */

  .zoomout,
  .zoomin,
  .close-button,
  .filter-category,
  .filterElementWrapper,
  .innerIcon,
  .filterCTA .innerButton,
  .filterCTA .innerIcon
   {
    height: 3em;
  }

  .close-button {
    width: 3em;
  }

  .filterElementWrapper {
    width: fit-content; /* Important pour bien gérer la transition */
    /* transition: width 0.5s ease; */
    /* bottom: 3.5em; */
    bottom: 3.5em;
  }

  .buttonCloseFocus {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
  }

}

@media (min-width: 1024px) {
  .desktop {
    .focusMarkeeWrapper {
      overflow: hidden;
      position: absolute;
      width: 80px !important;
      left: 2rem !important;
      bottom: 5rem !important;
      display: flex;
      flex-direction: column !important;
      align-items: center !important;
      z-index: 10010;
      height: 50vh !important;
      mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
      -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
    }
    
    .focusMarkee img {
      width: 60px !important;
      height: 60px !important;
      object-fit: contain !important;
      margin-bottom: 20px !important;
      cursor: pointer !important;
      opacity: 0.5 !important;
      transition: all 0.3s ease !important;
    }

    .focusMarkee img.active {
      opacity: 1 !important;
      transform: scale(1.2) !important;
    }
    

    .viewButton .split-parent {
      display: inline-block !important;
    }

    h1 .split-parent {
      white-space: normal;
    }
  }
  /* Desktop */
}

@media (orientation: landscape) and (min-width: 768px),
  screen and (orientation: landscape) and (min-width: 1024px) {
  .xp_section_collection {
    /* gap: 7vw; */
    gap: 2rem;
  }

    .controls {
    width: fit-content;
    /* top: 90svh; */
  }

  .close-button {
  order: 0;
  }

  .filterElementWrapper {
    bottom: 4.5em;
  }

  .drag-easing {
    transition: none;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .CTAWrapper {
    /* bottom: 2em; */
    bottom: 0em;
    /* width: max-content; */
      width: fit-content;
  transition: width 0.5s ease;
    transform: translate3d(-50%, -25%, 0);

  }

  /* Premium glassmorphism cards — proper desktop sizing */
  .xp_products-collection_item {
    width: clamp(160px, 12vw, 200px);
    height: clamp(160px, 12vw, 200px);
    min-width: 160px;
    min-height: 160px;
    aspect-ratio: 1;
  }
  .xp_products-collection_item img {
    width: clamp(72px, 5.5vw, 100px) !important;
    height: clamp(72px, 5.5vw, 100px) !important;
  }
  .column {
    gap: clamp(18px, 1.5vw, 28px);
  }

  .row {
    gap: 0;
  }

  .explore-button,
  .collection_item-indicator {
    display: flex;
    transform: translateY(-150%);
    transition: all ease 0.5s;
  }

  .collection_item-indicator {
    transform: translateY(150%);
  }

  .collection_item-card:hover .collection_item-indicator,
  .collection_item-card:hover .explore-button {
    transform: translateY(0%);
    opacity: 1;
  }

  .focusWrapper {
    display: flex !important;
    flex-direction: row !important;
    overflow: hidden !important;
  }

  .focusCarousel {
    order: 2 !important;
    width: 50% !important;
    margin-left: 0 !important;
    padding: 10% !important;
  }

  .focusInfos {
    order: 1 !important;
    width: 50% !important;
    padding: 10% !important;
    top: 0 !important;
  }

  .buttonCloseFocus {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) scale(1.2) !important;
  }

  .contextualInfo {
    width: 100% !important;
    padding-left: 0 !important;
    margin-top: 20px !important;
    text-align: justify !important;
  }

  .focusCTAs {
    width: 100% !important;
    top: auto !important;
    position: relative !important;
  }


  .colorFilter {
    gap: 10px;
    padding: 12px;
    padding-right: 16px;
  }

  .typeFilter,
  .colorFilter,
  .double_range_slider_box {
    border: none;
    height: auto;
    flex-wrap: nowrap;
    width: auto;
    display: flex;
    visibility: hidden;
  }

  .double_range_slider {
    width: 160px;
  }
  .minvalue,
  .maxvalue {
    width: 10ch;
    /* width: 12ch; */
  }
  .typeFilter {
    padding: 0 16px 0 8px;
  }
  .typeFilter > .option {
    padding: 0.4em;
  }
  .colorFilter > .option {
    height: 1.4em;
    width: 1.4em;
    position: relative;
  }

  .colorFilter > .option::after {
    /* width: 10px;
    height: 10px; */
    height: 40%;
    width: 40%;
  }
  .colorFilter > .option:hover::after {
    opacity: 1;
  }

  .filterCTA,
  /* .controls, */
  .filtersMobile {
    bottom: 54px;
  }
  .reset-button {
    padding: 0;
    height: 3em;
    width: 6.5em;
    /* padding: 13px 17px; */
  }

  .open .typeFilter,
  .open .colorFilter,
  .open .double_range_slider_box {
    transition: visibility 0s linear 0s;
    visibility: visible;
  }

  .pipe,
  .plus {
    pointer-events: none;
    position: absolute;
  }

  .pipe {
    right: 0;
    color: var(--swatch--dark);
    opacity: 0;
  }
  .plus {
    right: 4px;
    /* padding: 0 15px 0 0; */
    visibility: visible;
    opacity: 1;
  }

  .pipe,
  .open .plus {
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  }

  .open .pipe,
  .plus {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  }
  .open .plus {
    opacity: 0;
    visibility: hidden;
  }

  .open button {
    /* gap: 12px; */
    padding: 12px 12px 12px 16px;
  }

  .pipe {
    display: flex;
  }

  .open .pipe {
    opacity: 0.4;
    visibility: visible;
  }

  .filter-category-easing:not(.open) {
    transition: transform cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s,
      width ease 0.6s;
  }

  .filter-category.open {
    transition: transform cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s,
      width ease 0.6s;
      z-index: 10;
    /* transition: none; */
  }

  .filter-category:not(.open).filter-category:hover {
    transform: translate3d(0, -10px, 0) !important;
  }

  .focusMarkee {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
  }

  .focusMarkee img {
    /* width: 96px;
    height: 96px; */
    height: 7em;
    width: 7em;
    border: 1px solid var(--swatch--grey);
    border-radius: 4px;
    cursor: pointer;
  }

  /* .littleItems .focusMarkee img,
  .littleItems .focusMarkeeIndicator {
    height: 5em;
    width: 5em;
  } */

  .focusMarkeeIndicator {
    position: absolute;
    top: 0;
    /* width: 96px;
    height: 96px; */
    height: 7em;
    width: 7em;
    border: 1px solid black;
    z-index: 100;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none !important;
  }

  .option:hover {
    color: white;
    background-color: var(--swatch--dark);
  }

  .collection_item-wrap {
    grid-row-gap: 1em;
  }

  .close-button:hover::before,
  .buttonCloseFocus:hover::before,
  .filterElementRemove:hover::before {
    transform: translate3d(-50%, -50%, 0) rotate(55deg);
  }
  .close-button:hover::after,
  .buttonCloseFocus:hover::after,
  .filterElementRemove:hover::after {
    transform: translate3d(-50%, -50%, 0) rotate(-55deg);
  }

  .instruction-zoom-wrapper {
    display: flex;
    z-index: 10000;
    /* bottom: 54px; */
    /* top: 90svh; */
    bottom: 2em;
    right: 3em;
    position: absolute;
    transform: translate3d(0, 50%, 0);
  }

  .zoomout,
  .zoomin {
    position: relative;
    /* font-size: 4em; */
    height: 3em;
    width: 3em;
    padding: 0;
    /* height: 48px;
    width: 48px; */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease 0.25s;
  }

  .zoomout,
  .zoomin {
    background: var(--_theme---color--background);
  }

  .zoomin:before,
  .zoomout:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0) rotate(90deg);
    width: 1.5px;
    height: 25%;
    background-color: black;
    transition: all ease-in-out 0.25s;
    border-radius: 5px;
  }
  .zoomin:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 1.5px;
    height: 25%;
    background-color: black;
    transition: all ease-in-out 0.25s;
    border-radius: 5px;
  }

  .zoomout:hover,
  .zoomin:hover {
    background: black;
  }

  .zoomin:hover::before,
  .zoomout:hover::before,
  .zoomin:hover::after {
    background: var(--_theme---color--background);
  }

  .collection_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .button-default {
    top: var(--padding-global--desktop);
    right: var(--padding-global--desktop);
  }

  .heading-style-24px-old {
    line-height: 1.4;
  }
}

/* iPhone SE */

@media (max-height: 568px) {
  .focusCTAs {
    top: 91dvh;
  }
  .focusCTAs .button-default {
    height: 2.5em;
  }
}

.xp_products-collection_item:active {
  transform: translateY(-2px) scale(0.98);
  transition: all 0.1s ease;
}
