.setPage {
  --set-primary: #FFD50D;
  --set-text: #222222;
  --set-muted: #7A7A7A;
  --set-line: #E3E3E3;
  --set-border: #9E9E9E;
  --set-red: #E53935;
  --set-green: #43A047;
  --set-soft: #F2F2F2;
  padding: 10px 0 60px;
  color: var(--set-text);
}

.setPage *,
.setModal *,
.setPage *::before,
.setModal *::before,
.setPage *::after,
.setModal *::after {
  box-sizing: border-box;
}

.setPage button,
.setModal button {
  font-family: inherit;
  cursor: pointer;
}

.setPage__title {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--set-text);
}

.setPage__body {
  display: flex;
  align-items: flex-start;
  gap: 44px;
}

.setPage__side {
  flex: 1 1 auto;
  min-width: 0;
}

.setPage__gallery {
  flex: 0 0 48.6%;
  max-width: 48.6%;
}

.setGallery__main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.setGallery__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 612 / 821;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
}

.setGallery__slider:not(.slick-initialized) .setGallery__slide:not(:first-child),
.setModal__slider:not(.slick-initialized) .setModal__slide:not(:first-child) {
  display: none;
}

.setGallery__thumbs-list:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}

.setGallery__thumbs-list:not(.slick-initialized) .setGallery__thumb {
  flex: 0 0 20%;
  padding: 0 1px;
}

.setGallery__slider .slick-list,
.setModal__slider .slick-list {
  margin: 0 -6px;
}

.setGallery__slider .slick-slide,
.setModal__slider .slick-slide {
  padding: 0 6px;
}

.setGallery__thumbs {
  position: relative;
  margin: 14px -1px 0;
}

.setGallery__thumbs .slick-slide {
  border: solid transparent;
  border-width: 0 1px;
}

.setGallery__thumb {
  display: block !important;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.setGallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 115 / 155;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
  border-radius: 8px;
}

.setGallery__thumb:hover img {
  transform: scale(1.12);
}

.setArrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
}

.setArrow svg {
  width: 14px;
  height: 14px;
}

.setArrow--next {
  right: 16px;
}

.setArrow--prev {
  left: 16px;
}

.setArrow:hover {
  background: var(--set-primary);
}

.setArrow--sm {
  width: 24px;
  height: 24px;
}

.setArrow--sm svg {
  width: 11px;
  height: 11px;
}

.setArrow--sm.setArrow--prev {
  left: 14px;
}

.setArrow--sm.setArrow--next {
  right: 14px;
}

.setArrow--sm:hover {
  background: var(--set-primary);
}

.setArrow.slick-disabled {
  opacity: 0.5;
}

.setList {
  position: relative;
  max-height: 745px;
  padding-left: 40px;
  overflow-y: auto;
}

@supports not selector(::-webkit-scrollbar) {
  .setList {
    scrollbar-width: thin;
    scrollbar-color: #555 #E6E6E6;
  }
}

.setList::-webkit-scrollbar {
  width: 3px;
}

.setList::-webkit-scrollbar-track {
  background: #E6E6E6;
}

.setList::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}

.setItem {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--set-line);
}

.setItem:first-child {
  padding-top: 0;
}

.setItem:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.setItem__media {
  flex: 0 0 146px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--set-red);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.setItem__media img {
  display: block;
  width: 100%;
  aspect-ratio: 144 / 192;
  object-fit: cover;
  object-position: center center;
  border-radius: 5px 5px 0 0;
}

.setItem__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  font-size: 12px;
  color: var(--set-red);
  background: #fff;
}

.setItem__status svg {
  width: 12px;
  height: 12px;
}

.setItem__status--on {
  display: none;
  color: var(--set-green);
}

.setItem.is-selected .setItem__media {
  border-color: var(--set-green);
}

.setItem.is-selected .setItem__status--off {
  display: none;
}

.setItem.is-selected .setItem__status--on {
  display: flex;
}

.setItem__content {
  flex: 1 1 auto;
  min-width: 0;
}

.setItem__title {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  color: var(--set-text);
}

.setPrice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.setPrice__off {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--set-primary);
  font-size: 13px;
  font-weight: 700;
  color: #000;
}

.setPrice__values {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: auto;
  line-height: 1.5;
}

.setPrice__old {
  font-size: 12px;
  color: var(--set-muted);
  text-decoration: line-through;
}

.setPrice__new {
  font-size: 18px;
  font-weight: 800;
  color: #000;
}

.setPrice__new small,
.setPrice__old small {
  font-size: 11px;
  font-weight: 400;
  margin-right: 3px;
}

.setBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #555;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  color: var(--set-text);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.setBtn:hover {
  background: var(--set-primary);
  border-color: var(--set-primary);
}

.setItem__info {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 46px;
  margin-bottom: 16px;
  padding: 0 10px;
  border: 1px solid var(--set-border);
  border-radius: 8px;
  font-size: 15px;
}

.setItem.is-selected .setItem__info {
  display: flex;
}

.setItem__info b {
  font-weight: 400;
  color: var(--set-muted);
}

.setItem__btn-edit {
  display: none;
}

.setItem.is-selected .setItem__btn-edit {
  display: flex;
}

.setItem.is-selected .setItem__btn-choose {
  display: none;
}

.setSummary {
  margin-top: 28px;
  padding: 22px 18px 18px;
  border: 2px solid var(--set-primary);
  border-radius: 16px;
  background: #fff;
}

.setSummary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.setSummary__total {
  font-size: 18px;
  font-weight: 800;
}

.setSummary__total small {
  font-size: 13px;
  font-weight: 400;
  margin-right: 4px;
}

.setSummary__add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--set-primary);
  font-size: 16px;
  font-weight: 800;
  color: #000;
  transition: box-shadow 0.2s ease;
}

.setSummary__add:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.setSummary__progress {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  font-size: 13px;
}

.setSummary__progress span {
  flex: 0 0 auto;
}

.setSummary__bar {
  flex: 1 1 auto;
  height: 5px;
  border-radius: 5px;
  background: #D9D9D9;
  overflow: hidden;
}

.setSummary__bar i {
  display: block;
  height: 100%;
  width: 0;
  margin-left: auto;
  border-radius: 5px;
  background: var(--set-primary);
  transition: width 0.3s ease;
}

.setModal {
  --set-primary: #FFD50D;
  --set-text: #222222;
  --set-muted: #7A7A7A;
  --set-border: #9E9E9E;
  --set-soft: #F2F2F2;
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  visibility: hidden;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, -webkit-backdrop-filter 0.25s ease, visibility 0.25s ease;
  color: var(--set-text);
}

.setModal.is-open {
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  visibility: visible;
}

.setModal.is-open .setModal__dialog {
  opacity: 1;
}

body.setModal-open {
  overflow: hidden;
}

.setModal__dialog {
  position: relative;
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  width: 100%;
  max-width: 1072px;
  max-height: 100%;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}

.setModal__content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 64px 46px 40px 40px;
  overflow-y: auto;
}

.setModal__media {
  position: relative;
  overflow: hidden;
  flex: 0 0 496px;
  max-width: 496px;
}

.setModal__slider,
.setModal__slider .slick-list,
.setModal__slider .slick-track,
.setModal__slider .slick-slide > div {
  height: 100%;
}

.setModal__slide {
  height: 100%;
}

.setModal__slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 665px;
  object-fit: cover;
  object-position: center center;
}

.setModal__close {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.setModal__close svg {
  width: 22px;
  height: 22px;
}

.setModal__link {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

.setModal__link:hover,
.setModal__link:focus {
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.4);
}

.setModal__link svg {
  width: 18px;
  height: 18px;
}

.setModal__media .setArrow {
  display: none !important;
}

.setModal__dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  z-index: 2;
}

.setModal__dots .slick-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  direction: ltr;
}

.setModal__dots .slick-dots li {
  margin: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  transition: none;
}

.setModal__dots .slick-dots li:hover,
.setModal__dots .slick-dots li.slick-active {
  width: auto;
  border: 0;
  background: none;
}

.setModal__dots .slick-dots button {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 0;
}

.setModal__dots .slick-dots .slick-active button {
  background: var(--set-primary);
}

.setModal__title {
  margin: 0 0 30px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
}

.setModal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

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

.setIconBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--set-soft);
  color: #000;
  transition: background-color 0.2s ease;
}

.setIconBtn svg {
  width: 18px;
  height: 18px;
}

.setIconBtn:hover,
.setModal__like.is-active .setIconBtn {
  background: var(--set-primary);
}

.setModal__like {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--set-text);
}

.setModal__label {
  margin-bottom: 16px;
  font-size: 16px;
}

.setModal__label b {
  font-weight: 400;
  color: var(--set-muted);
}

.setColors {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.setColor {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #E6E6E6;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.setColor__swatch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  color: #fff;
}

.setColor__swatch svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.setColor__name {
  display: block;
  height: 18px;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  color: var(--set-text);
}

.setColor.is-active {
  border-color: #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.setColor.is-active .setColor__name {
  font-weight: 700;
}

.setColor.is-active .setColor__swatch svg {
  opacity: 1;
}

.setModal__size-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.setModal__size-head .setModal__label {
  margin: 0;
}

.setModal__guide {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--set-text);
}

.setModal__guide svg {
  width: 20px;
  height: 20px;
}

.setModal__guide:hover {
  color: #000;
  text-decoration: underline;
}

.setSelect {
  position: relative;
  margin-bottom: 32px;
}

.setSelect select {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--set-border);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--set-text);
  outline: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.setSelect select:focus {
  border-color: var(--set-primary);
}

.setSelect svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  pointer-events: none;
}

.setModal .setPrice {
  margin-bottom: 28px;
}

.setModal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 25px;
  background: var(--set-primary);
  font-size: 16px;
  font-weight: 800;
  color: #000;
  transition: box-shadow 0.2s ease;
}

.setModal__submit:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.setGuide {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 5;
  width: 468px;
  max-width: calc(100% - 28px);
  padding: 18px 20px 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.setGuide.is-open {
  opacity: 1;
  visibility: visible;
}

.setGuide__title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--set-muted);
}

.setGuide__close {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
}

.setGuide__close svg {
  width: 20px;
  height: 20px;
}

.setGuide table {
  width: 100%;
  max-width: 338px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 13px;
}

.setGuide th,
.setGuide td {
  height: 30px;
  padding: 0 10px;
  border: 1px solid #333;
  text-align: center;
  font-weight: 700;
}

.setGuide th {
  background: #F7F7F7;
}

@media only screen and (max-width: 991px) {
  .setPage {
    padding-bottom: 0;
  }

  .setPage__title {
    margin-bottom: 14px;
    font-size: 18px;
    text-align: center;
  }

  .setPage__body {
    flex-direction: column;
    gap: 0;
  }

  .setPage__gallery {
    order: -1;
    flex-basis: auto;
    max-width: 100%;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--set-line);
  }

  .setGallery__main {
    border-radius: 14px;
  }

  .setGallery__slide img {
    aspect-ratio: 462 / 620;
    border-radius: 14px;
  }

  .setGallery__thumbs {
    margin-top: 10px;
  }

  .setGallery__thumbs .slick-slide {
    border-width: 0 3px;
  }

  .setGallery__thumb img {
    aspect-ratio: 83 / 110;
  }

  .setPage__side {
    width: 100%;
  }

  .setList {
    max-height: none;
    padding-left: 0;
    overflow: visible;
  }

  .setItem {
    gap: 20px;
    padding: 12px 0;
  }

  .setItem:first-child {
    padding-top: 0;
  }

  .setItem__media {
    flex-basis: 36%;
    max-width: 178px;
    border-radius: 8px;
  }

  .setItem__media img {
    aspect-ratio: 176 / 236;
    border-radius: 7px 7px 0 0;
  }

  .setItem__status {
    height: 28px;
    gap: 7px;
    font-size: 12px;
  }

  .setItem__title {
    font-size: 14px;
  }

  .setPrice__new {
    font-size: 15px;
  }

  .setPrice__off {
    min-width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .setBtn,
  .setItem__info {
    height: 36px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 8px;
  }

  .setSummary {
    position: sticky;
    bottom: 50px;
    z-index: 100;
    margin: 20px -10px 0;
    padding: 18px 20px 30px;
    border: 0;
    border-top: 4px solid var(--set-primary);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
  }

  .setSummary__add {
    height: 50px;
    border-radius: 16px;
  }

  .setSummary__progress {
    gap: 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  .setModal {
    align-items: flex-start;
    padding: 50px 12px 20px;
    overflow-y: auto;
  }

  .setModal__dialog {
    flex-direction: column;
    max-width: 480px;
    max-height: none;
    overflow: visible;
  }

  .setModal__media {
    order: -1;
    flex-basis: auto;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
  }

  .setModal__slide img {
    min-height: 0;
    height: auto;
    aspect-ratio: 672 / 901;
  }

  .setModal__media .setArrow {
    display: flex !important;
    width: 26px;
    height: 26px;
  }

  .setModal__content {
    padding: 18px 20px 20px;
    overflow: visible;
  }

  .setModal__title {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .setModal__actions {
    margin-bottom: 36px;
  }

  .setColors {
    gap: 12px;
    margin-bottom: 20px;
  }

  .setColors li {
    width: 50px;
  }

  .setColor {
    width: 100%;
    height: 52px;
  }

  .setColor__name {
    height: 16px;
    line-height: 16px;
    font-size: 10px;
  }

  .setModal__link {
    height: 32px;
    top: 12px;
    right: 12px;
    gap: 6px;
    padding: 0 8px;
    font-size: 12px;
  }

  .setModal__link svg {
    width: 15px;
    height: 15px;
  }

  .setModal__close {
    top: 14px;
    left: 12px;
  }

  .setModal__close svg {
    width: 17px;
    height: 17px;
  }

  .setSelect {
    margin-bottom: 20px;
  }

  .setModal .setPrice {
    margin-bottom: 20px;
  }

  .setModal__dots {
    bottom: 14px;
  }

  .setModal__dots .slick-dots {
    gap: 6px;
  }

  .setModal__dots .slick-dots button {
    width: 10px;
    height: 10px;
  }

  .setItem .setPrice {
    margin-bottom: 8px;
  }

  .setItem__status--off svg {
    width: 9px;
    height: 9px;
  }

  .setGallery__main .setArrow {
    width: 26px;
    height: 26px;
  }

  .setGallery__main .setArrow svg,
  .setModal__media .setArrow svg {
    width: 11px;
    height: 11px;
  }

  .setArrow--sm {
    width: 20px;
    height: 20px;
  }

  .setArrow--sm svg {
    width: 9px;
    height: 9px;
  }

  .setGuide {
    position: absolute;
    top: calc(min(100vw - 24px, 480px) * 901 / 672 / 2);
    left: 50%;
    width: calc(100% - 28px);
    max-width: 468px;
    transform: translate(-50%, -50%);
  }
}
