/* FutureShop variation part improvement */
.fs-c-variationAndActions:not(.fs-cart-system-enhanced) {
  visibility: hidden;
  opacity: 0;
  animation: fs-cart-enhancer-failsafe 1ms linear 3000ms forwards;
}

.fs-cart-system-enhanced {
  margin-top: 20px;
  visibility: visible;
  opacity: 1;
  animation: fs-cart-enhancer-in 160ms ease-out both;
}

.fs-cart-system-enhanced .fs-c-variationAndActions__variationLabel {
  display: none;
}

.fs-cart-enhancer {
  margin-bottom: 18px;
}

.fs-cart-enhancer__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
}

.fs-cart-enhancer__header span {
  min-width: 0;
  color: #555555;
  font-size: 12px;
  font-weight: 400;
  text-align: right;
}

.fs-cart-enhancer__header--size {
  margin-top: 24px;
}

.fs-cart-enhancer__header--quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  margin-bottom: 10px;
}

.fs-cart-enhancer__colors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fs-cart-enhancer__color {
  display: grid;
  min-width: 0;
  padding: 7px;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #ffffff;
  color: #111111;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.fs-cart-enhancer__color.is-fs-cart-active {
  border-color: #111111;
  box-shadow: 0 0 0 1px #111111 inset;
  background: #fafafa;
}

.fs-cart-enhancer__swatch {
  display: block;
  width: 100%;
  aspect-ratio: 2.2 / 1;
  margin-bottom: 8px;
  border: 1px solid #eeeeee;
  background-color: #f7f7f7;
  background-position: center;
  background-size: cover;
}


.fs-cart-enhancer__color-name {
  display: block;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fs-cart-enhancer__sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fs-cart-enhancer__size {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #ffffff;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.fs-cart-enhancer__size.is-fs-cart-active {
  border-color: #111111;
  box-shadow: 0 0 0 1px #111111 inset;
  background: #fafafa;
}

.fs-cart-enhancer__size.is-unavailable {
  color: #777777;
  background: #f5f5f5;
}

.fs-cart-enhancer__size small {
  display: block;
  color: #c40018;
  font-size: 10px;
  font-weight: 700;
}

.fs-cart-enhancer__quantity {
  display: grid;
  grid-template-columns: 44px 48px 44px;
  justify-content: end;
  margin: 0;
}

.fs-cart-enhancer__quantity-button,
.fs-cart-enhancer__quantity-output {
  display: grid;
  min-width: 0;
  padding: 13px 0;
  place-items: center;
  border: 1px solid #cfcfcf;
  background: #ffffff;
  color: #111111;
  font-size: 16px;
  line-height: 1;
}

.fs-cart-enhancer__quantity-button {
  cursor: pointer;
}

#popupCart .fr3-productListCarousel__prev.is-disabled,
#popupCart .fr3-productListCarousel__next.is-disabled,
#popupCart .slick-prev.is-disabled,
#popupCart .slick-next.is-disabled,
#popupCart [class*="Carousel__prev"].is-disabled,
#popupCart [class*="Carousel__next"].is-disabled,
#popupCart [aria-disabled="true"] {
  opacity: 0.28;
  pointer-events: none !important;
  cursor: default;
}

.fs-cart-enhancer__quantity-button:disabled {
  cursor: default;
  color: #b0b0b0;
  background: #f7f7f7;
}

.fs-cart-enhancer__quantity-button:first-child {
  border-radius: 4px 0 0 4px;
}

.fs-cart-enhancer__quantity-button:last-child {
  border-radius: 0 4px 4px 0;
}

.fs-cart-enhancer__quantity-output {
  border-right: 0;
  border-left: 0;
  font-weight: 700;
}

.fs-cart-system-enhanced .fs-c-variationList__item {
  display: none;
}

.fs-cart-system-enhanced .fs-c-variationList__item.is-fs-cart-active {
  display: block;
  margin-top: 18px;
}

.fs-cart-system-enhanced .fs-c-variationList__item__title,
.fs-cart-system-enhanced .fs-c-variationList__item__image,
.fs-cart-system-enhanced .fs-c-variationCart__image,
.fs-cart-system-enhanced .fs-c-variationCart__variationName {
  display: none;
}

.fs-cart-system-enhanced .fs-c-variationCart {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fs-cart-system-enhanced .fs-c-variationCart > li {
  display: none;
}

.fs-cart-system-enhanced .fs-c-variationCart > li.is-fs-cart-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  align-items: stretch;
  gap: 10px;
}

.fs-cart-system-enhanced .fs-c-variationCart > li.is-fs-cart-active .fs-c-variationCart__cartButton {
  grid-column: 1;
  grid-row: 1;
}

.fs-cart-system-enhanced .fs-c-variationCart > li.is-fs-cart-active .fs-c-variationCart__wishlist {
  grid-column: 2;
  grid-row: 1;
}

.fs-cart-system-enhanced .fs-c-variationCart > li.is-fs-cart-active:not(:has(.fs-c-variationCart__wishlist)) .fs-c-variationCart__cartButton {
  grid-column: 1 / -1;
}

.fs-cart-system-enhanced .fs-c-variationCart__wishlist {
  position: relative;
  box-sizing: border-box;
  display: grid !important;
  width: 56px;
  aspect-ratio: 1 / 1;
  place-items: center;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;
}

.fs-cart-system-enhanced .fs-c-variationCart__wishlist::before {
  content: "\2661";
  position: relative;
  z-index: 1;
  color: #111111;
  font-size: 30px;
  line-height: 1;
  pointer-events: none;
}

.fs-cart-system-enhanced .fs-c-variationCart__wishlist:is(.is-added, .is-active, .is-selected, .is-registered, [aria-pressed="true"], [data-is-added="true"], [class*="added"], [class*="Added"], [class*="active"], [class*="Active"], [class*="registered"], [class*="Registered"])::before,
.fs-cart-system-enhanced .fs-c-variationCart__wishlist:has(:is(a, button, [role="button"], .fs-c-button, [class*="WishList"], [class*="Wishlist"], [class*="wishList"], [class*="wishlist"]):is(.is-added, .is-active, .is-selected, .is-registered, [aria-pressed="true"], [data-is-added="true"], [class*="added"], [class*="Added"], [class*="active"], [class*="Active"], [class*="registered"], [class*="Registered"], [class*="remove"], [class*="Remove"], [class*="delete"], [class*="Delete"]))::before {
  content: "\2665";
  color: #c97991;
}

.fs-cart-system-enhanced .fs-c-variationCart__wishlist > * {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2;
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  opacity: 0;
  cursor: pointer;
}

.fs-cart-system-enhanced .fs-c-variationCart__cartButton {
  min-width: 0;
  width: 100%;
}

.fs-cart-system-enhanced .fs-c-button--addToCart--variation,
.fs-cart-system-enhanced .fs-c-button--subscribeToArrivalNotice--variation {
  display: grid;
  width: 100%;
  padding: 18px 0;
  place-items: center;
  border: 1px solid #e71a19;
  border-radius: 4px;
  color: #ffffff;
  background: #e71a19;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.fs-cart-system-enhanced .fs-c-button--subscribeToArrivalNotice--variation {
  border-color: #666666;
  background: #666666;
}

@media screen and (max-width: 768px) {
  .fs-cart-enhancer__colors,
  .fs-cart-enhancer__sizes {
    gap: 10px;
  }

  .fs-cart-enhancer__color {
    padding: 8px;
  }

  .fs-cart-enhancer__swatch {
    aspect-ratio: 2 / 1;
  }

  .fs-cart-enhancer__color-name {
    font-size: 10px;
  }
}

@media screen and (max-width: 420px) {
  .fs-cart-enhancer__colors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@keyframes fs-cart-enhancer-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fs-cart-enhancer-failsafe {
  to {
    visibility: visible;
    opacity: 1;
  }
}

/* Add-to-cart popup */
html.fs-cart-popup-open,
html.fs-cart-popup-open body {
  overflow: hidden;
}

#popupCart {
  position: fixed;
  z-index: 10000;
  display: none;
  inset: 0;
  color: #202020;
  font-family: "Noto Sans JP", sans-serif, Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

#popupCart.is-active {
  display: block;
}

#popupCart-bg.open {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgb(0 0 0 / 50%);
  backdrop-filter: blur(1px);
}

#popupCart ._container {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: min(calc(100% - 32px), 776px);
  max-height: min(calc(100vh - 106px), 599px);
  overflow: hidden;
  padding: 0;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 5px 24px rgb(0 0 0 / 20%);
  transform: translate(-50%, -50%);
  animation: fs-cart-popup-in 160ms ease-out;
  z-index: 999;
}

#popupCart .added-modal-header {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
}

#popupCart .added-modal-header h2 {
  margin: 0;
  color: #202020;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

#popupCart .added-modal-body {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
}

#popupCart .added-modal-content {
  flex: 0 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 20px 28px;
  overscroll-behavior: contain;
}

#popupCart .added-total {
  margin: 24px 0 12px;
  color: #202020;
  font-size: 18px;
  font-weight: 700;
}

#popupCart .added-shipping {
  max-width: 620px;
  margin: 0 0 32px;
  color: #202020;
  font-size: 14px;
  line-height: 1.7;
}

#popupCart .added-modal-content h3 {
  margin: 0;
  color: #202020;
  font-size: 21px;
  font-weight: 500;
}

#popupCart .added-modal-footer {
  flex: 0 0 84px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid #dddddd;
  background: #ffffff;
}

#popupCart .add_txt {
  margin: 24px 0 12px;
  color: #202020;
  font-size: 18px;
  font-weight: 700;
}

#popupCart .add_txt .cart-select {
  display: block;
  margin: 12px 0 0;
  color: #202020;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

#popupCart ._btnGroup {
  flex: 0 0 84px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid #dddddd;
  background: #ffffff;
  text-align: center;
}

#popupCart ._btn {
  display: grid;
  width: 100%;
  height: 52px;
  padding: 0;
  place-items: center;
  border: 1px solid #e52418;
  border-radius: 28px;
  background: #ffffff;
  color: #e52418;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
}

#popupCart .added-cart-button,
#popupCart #btnPurchase {
  border-color: #e52418;
  background: #e52418;
  color: #ffffff;
}

#popupCart .batsu {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#popupCart .batsu::before,
#popupCart .batsu::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 22px;
  border-radius: 1px;
  background: #202020;
}

#popupCart .batsu::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#popupCart .batsu::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#popupCart .add_product {
  margin: 0;
}


#popupCart .fr3-productListCarousel,
#popupCart .fr3-productListCarousel__frame {
  min-width: 0;
}

#popupCart .fr3-productListCarousel__responsive_2 .fr3-productListCarousel__slide {
  flex: 0 0 calc((100% - 36px) / 4);
}

#popupCart .fr3-productListCarousel__slides {
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #b8b8b8 #eeeeee;
}

#popupCart .fr3-productListCarousel__slides::-webkit-scrollbar {
  height: 6px;
}

#popupCart .fr3-productListCarousel__slides::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #eeeeee;
}

#popupCart .fr3-productListCarousel__slides::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #b8b8b8;
}

#popupCart .fr3-productListCarousel__slide {
  min-width: 0;
}

#popupCart .fr3-item {
  min-width: 0;
}

#popupCart .fr3-item__productImage,
#popupCart .fr3-item__imageContainer img,
#popupCart .fr3-item__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f1f1f1;
}

#popupCart .fr3-item__productName,
#popupCart .fr3-item__name {
  display: -webkit-box;
  min-height: 62px;
  margin-top: 7px;
  overflow: hidden;
  color: #202020;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#popupCart .fr3-item__productPrice,
#popupCart .fr3-item__price {
  margin-top: 0;
  color: #202020;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

#popupCart .fr3-item__rankContainer {
  display: none;
}

@keyframes fs-cart-popup-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 8px));
  }
}

@media screen and (max-width: 768px) {
  #popupCart {
    top: 56px;
    bottom: 0;
    height: calc(100vh - 56px);
  }

  #popupCart ._container {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: min(100%, 390px);
    max-height: calc(100vh - 72px);
    margin: 0 auto;
    border-radius: 8px 8px 0 0;
    transform: none;
    animation: fs-cart-popup-mobile-in 160ms ease-out;
  }

  #popupCart .added-modal-header,
  #popupCart .added-modal-content,
  #popupCart .added-modal-footer,
  #popupCart ._btnGroup {
    padding-right: 16px;
    padding-left: 16px;
  }

  #popupCart .added-total,
  #popupCart .add_txt {
    margin-top: 22px;
  }

  #popupCart .added-shipping {
    margin-bottom: 30px;
  }

  #popupCart .added-modal-content h3 {
    font-size: 20px;
  }

  #popupCart ._btn {
    height: 52px;
    font-size: 15px;
  }

  #popupCart .fr3-productListCarousel__responsive_2 .fr3-productListCarousel__slide {
    flex: 0 0 44%;
  }

  #popupCart .fr3-productListCarousel__slides {
    gap: 10px;
  }
}

@keyframes fs-cart-popup-mobile-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #popupCart ._container {
    animation: none;
  }
}

/* Popup cart: make carousel arrows clickable. */
#popupCart .fr3-productListCarousel,
#popupCart .fr3-productListCarousel__frame {
  position: relative;
  overflow: visible;
}

#popupCart .fr3-productListCarousel__prev,
#popupCart .fr3-productListCarousel__next,
#popupCart .slick-prev,
#popupCart .slick-next,
#popupCart [class*="Carousel__prev"],
#popupCart [class*="Carousel__next"] {
  position: relative;
  z-index: 20;
  pointer-events: auto;
  cursor: pointer;
}

#popupCart .fr3-productListCarousel__slides,
#popupCart .slick-list,
#popupCart .slick-track {
  pointer-events: auto;
}


#popupCart .fr3-productListCarousel__prev.is-disabled,
#popupCart .fr3-productListCarousel__next.is-disabled,
#popupCart .slick-prev.is-disabled,
#popupCart .slick-next.is-disabled,
#popupCart [class*="Carousel__prev"].is-disabled,
#popupCart [class*="Carousel__next"].is-disabled,
#popupCart [class*="previous" i].is-disabled,
#popupCart [class*="prev" i].is-disabled,
#popupCart [class*="next" i].is-disabled,
#popupCart [aria-disabled="true"] {
  opacity: 0.28 !important;
  pointer-events: none !important;
  cursor: default !important;
}
