@import url('https://fonts.googleapis.com/css?family=Muli:400,500,600&display=swap');

.custom-size-chart .custom-size-h {
  color: #000000;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 16px;
}

.custom-size-chart,
.custom-size-chart .custom-size-checkbox svg {
  display: none;
}

.custom-size-chart {
  position: relative;
  padding: 20px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.custom-size-chart .defaultdes {
  border: 1.5px solid #000000;
  background-color: #fff;
  padding: 10px 20px;
  width: 100%;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 150%;
}

.custom-size-chart .sizechat-flex {
  display: flex;
}

.custom-size-chart .size-form {
  flex: 0 0 auto;
  width: 50%;
}

.custom-size-chart .size-chart-img {
  flex: 1;
  cursor: pointer;
  position: relative;
}

.custom-size-chart .size-chart-img img {
  display: block;
}

.custom-size-chart .confirm {
  border: 1.5px solid #f1f1f1;
  padding: 20px;
  width: 100%;
  font-weight: 600;
  margin: 10px 0 0px 0;
  padding-left: 20px;
  position: relative;
}

p.des {
  display: none !important;
}

.custom-size-chart input,
.custom-size-chart select {
  min-height: auto;
  margin-right: 5px;
  padding: 8px 8px;
  border: 1.5px solid #f1f1f1;
}

.custom-size-chart label {
  flex: 1;
  font-weight: 600;
  font-size: 16px;
}

.custom-size-chart select {
  width: 90px;
  flex: 0 0 auto;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(https://cdn.shopify.com/s/files/1/0305/4482/2408/files/ico-select.svg?v=1656151004);
  background-repeat: no-repeat;
  background-position: right 10px center;
  line-height: 1.2;
  text-indent: .01px;
  text-overflow: "";
  cursor: pointer;
  padding: 8px 28px 8px 15px;
}

.size-form .ccc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  margin-top: 10px;
}

.size-form .ccc .in {
  flex: 0 0 auto;
  font-size: 14px;
}

p.confirm label {
  width: 100%;
}

.custom-size-chart .confirm-checkbox {
  position: absolute;
  left: 20px;
  top: 23px;
  cursor: pointer;
  opacity: 0;
  display: none;
}

.custom-size-chart .custom-size.custom-size-h {
  font-size: 16px;
  color: #000000 !important;
}

.custom-size-chart .custom-size .first_varintyes ~ .first_varintyes {
  display: none;
}

#plugin-pod[data-custom-size-chart-suppressed="true"] {
  display: none !important;
}

/* Preserve the reference theme's final computed typography and form styles. */
.custom-size-chart {
  color: #3c3c3c;
  font-family: 'Muli', 'sans-serif';
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.custom-size-chart .custom-size.custom-size-h {
  font-family: 'Muli', 'sans-serif';
  line-height: 20px;
}

.custom-size-chart .defaultdes {
  color: #3c3c3c;
  font-family: 'Muli', 'sans-serif';
  margin-top: 0;
}

.custom-size-chart label {
  color: #232323;
  font-family: 'Muli', 'sans-serif';
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  margin: 0 0 6px;
}

.custom-size-chart select {
  background-color: transparent;
  font-family: 'Muli', 'sans-serif';
}

.custom-size-chart .confirm {
  color: #3c3c3c;
  font-family: 'Muli', 'sans-serif';
  font-size: 12px;
  line-height: 20px;
}

.custom-size-chart .confirm label {
  display: inline-block;
  margin: 0 0 9px;
  padding: 0 0 0 26px;
  position: relative;
  width: 100%;
}

.custom-size-chart .confirm label::before {
  background: #fff;
  border: 1px solid #d0d0d0;
  box-sizing: border-box;
  content: '';
  display: block;
  height: 14px;
  left: 0;
  position: absolute;
  top: 2.5px;
  width: 14px;
}

.custom-size-chart .confirm label::after {
  border-bottom: 2px solid #232323;
  border-left: 2px solid #232323;
  box-sizing: border-box;
  content: '';
  display: block;
  height: 5px;
  left: 3px;
  opacity: 0;
  position: absolute;
  top: 6px;
  transform: scale(0) rotate(-45deg);
  transform-origin: center;
  width: 9px;
}

.custom-size-chart .confirm-checkbox:checked + label::after {
  opacity: 1;
  transform: scale(1) rotate(-45deg);
}

.custom-size-chart-lightbox {
  align-items: center;
  background: rgba(30, 30, 30, 0.87);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 44px;
  position: fixed;
  z-index: 99993;
}

.custom-size-chart-lightbox[hidden] {
  display: none;
}

.custom-size-chart-lightbox__content {
  background: #fff;
  display: inline-block;
  max-height: calc(100vh - 88px);
  max-width: calc(100vw - 100px);
  overflow: auto;
  padding: 24px;
  position: relative;
}

.custom-size-chart-lightbox img {
  display: block;
  max-height: calc(100vh - 136px);
  max-width: min(100%, 900px);
  object-fit: contain;
}

.custom-size-chart-lightbox__close {
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #888;
  cursor: pointer;
  font: 300 20px/30px Arial, "Helvetica Neue", Helvetica, sans-serif;
  height: 44px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  z-index: 10;
}

.custom-size-chart-lightbox__close::after {
  background: #fff;
  border-radius: 50%;
  box-sizing: border-box;
  content: "×";
  height: 30px;
  position: absolute;
  right: 5px;
  text-align: center;
  top: 5px;
  width: 30px;
}

.custom-size-chart-lightbox__close:hover::after {
  background: #eee;
  color: #555;
}

@media (max-width: 1199px) {
  .custom-size-chart .size-form {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .custom-size-chart-lightbox {
    padding: 44px 15px;
  }

  .custom-size-chart-lightbox__content {
    max-width: calc(100vw - 30px);
  }
}
