@keyframes loader-pulse {
  0%, 100% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}
@media screen and (min-width: 768px) {
  .familyLink {
    padding-bottom: 60px;
  }
}
@media screen and (max-width: 767px) {
  .familyLink {
    padding-bottom: 40px;
  }
}
.familyLink.is-loading [data-fl-list] {
  min-height: 60vh;
}

.familyLink .fs-c-subgroupList__link {
  cursor: pointer;
  background: #fff;
}
.familyLink .fs-c-subgroupList__link.is-active {
  color: #fff;
  background: #3ba4f1;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .familyLink-sizes {
    padding-bottom: 8px;
  }
}
.familyLink-sizes__label {
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  color: #2e2e2e;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .familyLink-sizes__label {
    margin-top: 8px;
  }
}
.familyLink-sizes__divider {
  flex-shrink: 0;
  width: 1px;
  height: 20px;
  background-color: #d5d5d5;
}
@media screen and (max-width: 767px) {
  .familyLink-sizes__divider {
    margin-top: 8px;
  }
}

.familyLink .fs-c-productList > .fs-c-productList__controller:first-of-type .fs-c-listControl {
  margin-right: auto !important;
}
.familyLink .fs-c-productList > .fs-c-productList__controller:first-of-type .fs-c-sortItems {
  order: 3 !important;
}

.familyLink-soldout {
  order: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.familyLink-soldout input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.familyLink-soldout__switch {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 100vh;
  background: #d5d5d5;
  transition: background-color 0.2s;
}
.familyLink-soldout__switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
input:checked + .familyLink-soldout__switch {
  background: #3ba4f1;
}
input:checked + .familyLink-soldout__switch::after {
  transform: translateX(14px);
}
input:focus-visible + .familyLink-soldout__switch {
  outline: 2px solid #3ba4f1;
  outline-offset: 2px;
}
.familyLink-soldout__label {
  font-size: 0.75rem;
  color: #2e2e2e;
}

@media screen and (max-width: 767px) {
  .familyLink-item__name {
    height: auto;
    -webkit-line-clamp: 1;
  }
}
.familyLink-item__name a {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.familyLink-item__name .fs-c-productName__name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
}
.familyLink-item__side {
  flex-shrink: 0;
  padding: 2px 5px;
  border-radius: 2px;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.familyLink-item__side--kids {
  background: #3ba4f1;
}
.familyLink-item__side--baby {
  background: #55bba7;
}
.familyLink-item__side--adult {
  background: #515151;
}
.familyLink-item__color {
  width: 100%;
  margin-top: 4px;
  padding: 0 10px;
  color: #707070;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (max-width: 767px) {
  .familyLink-item__color {
    font-size: 0.625rem;
  }
}
@media screen and (min-width: 768px) {
  .familyLink-item__color {
    font-size: 0.75rem;
  }
}
.familyLink-item.is-soldout .fs-c-productListItem__image__image {
  opacity: 0.4;
}
.familyLink-item .fs-c-productListItem__outOfStock {
  padding: 0 10px;
  margin-top: 4px;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .familyLink-item .fs-c-productListItem__outOfStock {
    font-size: 0.625rem;
  }
}

.familyLink-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #707070;
  background: #fff;
}
@media screen and (max-width: 767px) {
  .familyLink-notice {
    margin: 15px 5.5vw 0;
  }
}
@media screen and (min-width: 768px) {
  .familyLink-notice {
    margin-top: 15px;
  }
}
.familyLink-notice[hidden] {
  display: none;
}
.familyLink-notice__clear {
  flex-shrink: 0;
  color: #707070;
  text-decoration: underline;
  cursor: pointer;
}

.familyLink-item.is-current .fs-c-productListItem__imageContainer {
  position: relative;
}

.familyLink-item__current {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 1px solid #2e2e2e;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9) url(https://devirockstore.net/s/assets/image/common/icon/check_stroke_bk.svg) no-repeat center/14px;
  pointer-events: none;
}

.familyLink-message {
  grid-column: 1/-1;
  text-align: center;
  font-size: 0.875rem;
  color: #2e2e2e;
  padding: 60px 5.5vw;
}

.familyLink-wish {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.familyLink-wish::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url("https://devirockstore.net/s/assets/image/common/icon/heart_stroke_bk.svg") no-repeat 0 0/100%;
}
.familyLink-wish.is-active::after {
  background-image: url("https://devirockstore.net/s/assets/image/common/icon/heart_fill_pk.svg");
}

.familyLink-sheetHost {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.familyLink-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: visibility 0.3s;
}
.familyLink-sheet[hidden] {
  display: flex !important;
  visibility: hidden;
  pointer-events: none;
}
.familyLink-sheet__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s;
}
.familyLink-sheet[hidden] .familyLink-sheet__overlay {
  opacity: 0;
}
.familyLink-sheet__content {
  position: relative;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 0 20px calc(20px + env(safe-area-inset-bottom));
  transition: transform 0.3s ease;
}
@media screen and (min-width: 768px) {
  .familyLink-sheet__content {
    max-width: 600px;
  }
}
.familyLink-sheet[hidden] .familyLink-sheet__content {
  transform: translateY(100%);
}
.familyLink-sheet__header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  padding: 20px 0 15px;
  border-bottom: 1px solid #f2f2f2;
  text-align: center;
}
.familyLink-sheet__title {
  font-size: 1rem;
  font-weight: 700;
  color: #2e2e2e;
}
.familyLink-sheet__close {
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.familyLink-sheet__close img {
  width: 18px;
  height: auto;
}
.familyLink-sheet__color {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #f2f2f2;
}
.familyLink-sheet__thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.familyLink-sheet__colorName {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2e2e2e;
}
.familyLink-sheet__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #f2f2f2;
}
.familyLink-sheet__size {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.familyLink-sheet__sizeName {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2e2e2e;
}
.familyLink-sheet__stock {
  font-size: 0.75rem;
  color: #707070;
}
.familyLink-sheet__stock.is-soldout {
  color: #ee2e3e;
}
.familyLink-sheet__cart {
  flex-shrink: 0;
}
.familyLink-sheet__cartBtn {
  min-width: 120px;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 4px;
  background: #3ba4f1;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}
.familyLink-sheet__cartBtn:disabled {
  background: #d5d5d5;
  cursor: default;
}
.familyLink-sheet__wish {
  flex-shrink: 0;
}
.familyLink-sheet__wish .fs-c-button--particular {
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
}
.familyLink-sheet__wish .fs-c-button--particular::after {
  width: 24px;
  height: 24px;
}

.iziToast-capsule:has(.fs-c-toast:not(.is-error)) {
  display: none !important;
}

.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-modal[hidden] {
  display: flex !important;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.cart-modal:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.cart-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.cart-modal__content {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 40px 20px;
  overflow-y: auto;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .cart-modal__content {
    max-width: 520px;
    padding: 40px 30px 30px;
  }
}
.cart-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.cart-modal__close img {
  width: 20px;
  height: auto;
  display: block;
}
.cart-modal__title {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
}
.cart-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .cart-modal__actions {
    flex-direction: row;
  }
}
.cart-modal__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  border-radius: 100vh;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .cart-modal__btn {
    width: 50%;
  }
}
.cart-modal__btn--primary {
  background-color: #3ba4f1;
  color: #ffffff;
}
.cart-modal__btn--secondary {
  background-color: #ffffff;
  color: #2e2e2e;
  border: 1px solid #d5d5d5;
}
