/* Reusable Framer Light Mask motion helper (opt-in) */
.js-lightmask,
[data-lightmask] {
  --lm-duration: 0.4s;
  --lm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --lm-icon-shift: -51.087px;
  --lm-reflex-hover-left: calc(100% - 71px);
}

.js-lightmask.js-lightmask--xl,
[data-lightmask][data-lightmask-size="xl"] {
  --lm-icon-shift: -61.914px;
}

/* Default reflex: left-based (Steam badge in header, framer-c7usx0-container, etc.) */
.js-lightmask .framer-if38fd,
[data-lightmask] .framer-if38fd,
.js-lightmask [data-lightmask-reflex],
[data-lightmask] [data-lightmask-reflex] {
  transition: left var(--lm-duration) var(--lm-ease);
}

.js-lightmask.is-hover .framer-if38fd,
[data-lightmask].is-hover .framer-if38fd,
.js-lightmask.is-hover [data-lightmask-reflex],
[data-lightmask].is-hover [data-lightmask-reflex] {
  left: var(--lm-reflex-hover-left);
  right: auto;
}

/* Blog reset / small icon only: transform-based reflex (so it travels far enough) */
.framer-qtut98-container .js-lightmask .framer-if38fd,
.framer-qtut98-container .js-lightmask [data-lightmask-reflex],
.framer-qtut98-container [data-lightmask] .framer-if38fd,
.framer-qtut98-container [data-lightmask] [data-lightmask-reflex] {
  transition: transform var(--lm-duration) var(--lm-ease);
}

.framer-qtut98-container .js-lightmask.is-hover .framer-if38fd,
.framer-qtut98-container .js-lightmask.is-hover [data-lightmask-reflex],
.framer-qtut98-container [data-lightmask].is-hover .framer-if38fd,
.framer-qtut98-container [data-lightmask].is-hover [data-lightmask-reflex] {
  left: auto;
  right: auto;
  transform: translateX(115px) rotate(-6deg) !important;
}

.js-lightmask .framer-m32wvo-container,
.js-lightmask .framer-xq0126-container,
[data-lightmask] .framer-m32wvo-container,
[data-lightmask] .framer-xq0126-container,
.js-lightmask [data-lightmask-icon1],
.js-lightmask [data-lightmask-icon2],
[data-lightmask] [data-lightmask-icon1],
[data-lightmask] [data-lightmask-icon2] {
  transition: transform var(--lm-duration) var(--lm-ease);
}

.js-lightmask.is-hover .framer-m32wvo-container,
.js-lightmask.is-hover .framer-xq0126-container,
[data-lightmask].is-hover .framer-m32wvo-container,
[data-lightmask].is-hover .framer-xq0126-container,
.js-lightmask.is-hover [data-lightmask-icon1],
.js-lightmask.is-hover [data-lightmask-icon2],
[data-lightmask].is-hover [data-lightmask-icon1],
[data-lightmask].is-hover [data-lightmask-icon2] {
  transform: translateY(var(--lm-icon-shift)) !important;
}

/* Blog reset filter button: hover only when enabled */
.framer-qtut98-container > a[aria-disabled="false"]:hover .framer-ip913v,
.framer-qtut98-container > a:not([aria-disabled]):hover .framer-ip913v {
  transition: background-color 240ms ease-in-out;
  background-color: #732525 !important;
}

/* Keep disabled reset button visually inert */
.framer-qtut98-container > a[aria-disabled="true"] .framer-ip913v {
  transition: none;
}

/* ==========================================================================
   Floating cart button (56px default)
   ========================================================================== */
#tema-autom-floating-cart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8;
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #121212cc;
  border: 1px solid;
  border-color: #1f1f1f;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

/* Wrapper: overflow hidden solo su icon + reflection, il counter resta fuori e visibile */
#tema-autom-floating-cart .cart-btn-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tema-autom-floating-cart .icon-wrap {
  transition: background-color 240ms ease-in-out;
  display: flex;
  flex-direction: column;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  background-color: #4d0f0f;
  border: 1px solid;
  border-color: #611010;
  pointer-events: none;
}

#tema-autom-floating-cart .icon-wrap .vector {
  position: relative;
  width: 35px;
  height: 33px;
  aspect-ratio: 1.06;
  pointer-events: none;
}

#tema-autom-floating-cart .reflection-wrap {
  position: absolute;
  top: -30px;
  left: -97px;
  width: 72px;
  height: 115px;
  pointer-events: none;
}

#tema-autom-floating-cart .reflection-wrap .light {
  left: 3px;
  width: 50px;
  position: absolute;
  top: calc(50.00% - 40px);
  height: 80px;
  background-color: #ffffff4c;
  transform: rotate(15.00deg);
}

#tema-autom-floating-cart .reflection-wrap .div {
  left: 60px;
  width: 12px;
  position: absolute;
  top: calc(50.00% - 40px);
  height: 80px;
  background-color: #ffffff4c;
  transform: rotate(15.00deg);
}

#tema-autom-floating-cart .tema-autom-cart-count {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #c00;
  /* border-radius: 50% !important; */
  border: 2px solid #121212;
}

#tema-autom-floating-cart:hover .icon-wrap {
  transition: background-color 240ms ease-in-out;
  background-color: #732525;
}


/* ==========================================================================
   Floating cart button XL (70px when screen >= 1920px)
   ========================================================================== */
@media (min-width: 1920px) {
  #tema-autom-floating-cart {
    width: 70px;
    height: 70px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  #tema-autom-floating-cart .icon-wrap {
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
  }

  #tema-autom-floating-cart .reflection-wrap {
    top: calc(50.00% - 57px);
    left: -87px;
  }

  #tema-autom-floating-cart .reflection-wrap .light {
    left: 0;
    top: calc(50.00% - 50px);
    height: 100px;
  }

  #tema-autom-floating-cart .reflection-wrap .div {
    left: 57px;
    top: calc(50.00% - 50px);
    height: 100px;
  }

  #tema-autom-floating-cart .tema-autom-cart-count {
    font-size: 18px;
    min-width: 30px;
    height: 30px;
  }
}


/* light mask cart button animation */

#tema-autom-floating-cart .reflection-wrap {
	transition: transform 240ms ease-in-out, left 240ms ease-in-out;
	transform: translateX(0);
	/* right: auto; */
	opacity: 0.7; /* keep Framer base-like */
	/* avoid scale during debug */
}

/* Triggered when Framer sets .hover on root */
#tema-autom-floating-cart:hover .reflection-wrap {
	transform: translateX(170px);
	/* OR use left move instead of translate:
	left: calc(100% - 71px); */
}
