html {
  height: auto;
}

/* -- Global -- */

@media (min-width: 990px) {
  :root {
    --size: 1600;
  }

  html {
    height: auto !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* font-size: calc(17.75 * 100vw / var(--size)); */
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  /* .maison_commerce-cart * {
    font-size: calc(12.75 * 100vw / var(--size)) !important;
  } */
}

:root {
  --all-transitions: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
  --simple-transition: all 300ms ease;
  --parallax-strength: 10%;
  --parallax-height: 4%;
}

/* -- Media -- */

@media only screen and (max-width: 1900px) {
}

@media only screen and (max-width: 1440px) {
}

@media only screen and (max-width: 991px) {
}

@media only screen and (max-width: 767px) {
}

@media only screen and (max-width: 479px) {
}

/* -- Keyframe Animations -- */

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes marqueeRev {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@media only screen and (max-width: 991px) {
}

.swiper-pagination-bullet {
  cursor: pointer;
  transition: var(--all-transitions);
}

/* -- Card Hover On Animations -- */

.swiper-wrapper.is--prod_gallery .mc_image-wrapper img {
  clip-path: inset(0rem);
  transition: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
}

.swiper-cover.is--invite .mc_image-wrapper img {
  clip-path: inset(0rem);
  transition: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
}

.swiper-wrapper.is--prod_gallery .mc_image-wrapper:hover img {
  clip-path: inset(0.75rem);
}

.swiper-cover.is--invite .mc_image-wrapper:hover img {
  clip-path: inset(0.75rem);
}

/* -- Side Card Styling -- */

.maison_commerce-cart_box-conent::-webkit-scrollbar {
  display: none;
}

[display="hidden"],
[action-cart="cart"] {
  display: none;
}

[action-cart="call"] .mc_nav-text {
  pointer-events: none;
}

[action-menu="toggle"] .mc_nav-text {
  pointer-events: none;
}

.cart-active {
  overflow: hidden;
}

.menu-active {
  overflow: hidden;
}

/* -- Marquee Animatios -- */

.mc_marquee-line {
  animation: marquee 20s linear infinite !important;
}

/* -- Nav Items -- */

.maison_commerce-tab_item {
  position: relative;
  transition: var(--all-transitions);
}

.maison_commerce-tab_item::before {
  content: "";
  position: absolute;
  bottom: -0.125em;
  left: 0;
  width: 100%;
  height: 0.125em;
  background-color: currentColor;
  transition: var(--all-transitions);
  transform-origin: center;
  transform: scaleX(0) rotate(0.001deg);
}

.maison_commerce-tab_item:hover::before {
  transform-origin: center;
  transform: scaleX(1) rotate(0.001deg);
}

/* -- Parallax Animations -- */

[data-parallax-strength] [data-parallax-target] {
  position: relative;
  height: calc(100% + (var(--parallax-height) * 2));
  max-height: calc(100% + (var(--parallax-height) * 2));
  top: calc(var(--parallax-height) * -1);
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
  z-index: 0;
  rotate: 0.001deg;
}

/* -- Pane Tab Box -- */

.maison_commerce-tab_pane_box {
  transition: var(--all-transitions);
  display: none;
  opacity: 0;
}

.maison_commerce-tab_pane_box.is--active {
  display: block;
  opacity: 1;
}

/* -- Bundle Picker Box -- */

.maison_commerce-bundle_picker_item {
  transition: var(--simple-transition);
  cursor: pointer;
  opacity: 0.5;
}

.maison_commerce-bundle_picker_item .maison_commerce-bundle_frame_dot {
  transition: var(--simple-transition);
  cursor: pointer;
}

.maison_commerce-bundle_picker_item.is--active {
  opacity: 1;
}

.maison_commerce-bundle_picker_item.is--active
  .maison_commerce-bundle_frame_dot {
  background-color: var(--300);
  color: var(--400);
}

.maison_commerce-bundle_box {
  transition: var(--all-transitions);
  display: none;
  opacity: 0;
}

.maison_commerce-bundle_box.is--active {
  display: block;
  opacity: 1;
}

.maison_commerce-bundle_picker_item:last-child {
  border-bottom: 1px solid transparent !important;
}

.maison_commerce-step_box_item:last-child {
  border-bottom: 1px solid transparent !important;
}

/* -- All transitions -- */

.maison_commerce-bundle_frame_dot {
  transition: var(--simple-transition);
}

/* -- FAQ Accordions -- */

.maison_commerce-faq_accord {
  cursor: pointer;
}

.maison_commerce-faq_accord:last-child [fs-accordion-element="trigger"] {
  border-bottom: 1px solid transparent !important;
}

.maison_commerce-faq_accord_content.is-active-accordion
  .maison_commerce-step_icon {
  transform: rotate(-180deg);
}

.maison_commerce-step_accord.is-active-accordion .maison_commerce-step_icon {
  transform: rotate(-180deg);
}

/* -- Product Gallery Swiper -- */

.swiper.is--product_thumbs {
  position: relative;
}

.maison_commerce-thumb_media {
  transition: var(--all-transitions);
}

.swiper-slide.is--product_thumb.swiper-slide-thumb-active
  .maison_commerce-thumb_media {
  border: 1px solid #000 !important;
}

@media (min-width: 990px) {
  .swiper.is--product_thumbs::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
    transition: var(--all-transitions);
    transform-origin: center;
    z-index: 1;
    pointer-events: none;
  }
}

/* -- Video Popup -- */

[video-popup-container] {
  transition: all 350ms ease !important;
  display: flex;
}

[media-popup-close] {
  transition: all 350ms ease !important;
  background-color: transparent;
  opacity: 0;
}

[media-popup="pause"] {
  transition: all 350ms ease !important;
  opacity: 0;
}

[video-popup-player] {
  transition: all 350ms ease !important;
}

[video-popup-container].is--close {
  pointer-events: none;
}

[video-popup-container].is--close [media-popup-close] {
  background-color: transparent;
  opacity: 0;
}

[video-popup-container].is--close [video-popup-player] {
  opacity: 0;
  transform: translateY(1.5rem) !important;
}

[video-popup-container].is--open {
  pointer-events: auto;
}

[video-popup-container].is--open [media-popup-close] {
  background-color: rgba(23, 18, 15, 0.6);
  opacity: 1;
}

[video-popup-container].is--open [video-popup-player] {
  opacity: 1;
  transform: translateY(0rem) !important;
}

[video-popup-container] video {
  object-fit: contain;
  width: auto !important;
  margin: auto !important;
  border-radius: 0.75rem;
}

[video-popup-container] img {
  object-fit: contain;
  width: auto !important;
  margin: auto !important;
  border-radius: 0.75rem;
}

/* -- Swiper Add-Ons --  */

.swiper_nav .swiper-pagination-bullet {
  width: 1rem;
  border-radius: 6.1875rem;
  background: #000716;
  opacity: 0.1;
  height: 0.25rem;
}

.swiper_nav .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
  width: 2rem;
}

.is--disabled {
  opacity: 0.5;
}
