.popup {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999; }

.popup .backdrop {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); }

.popup .popup-body {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50vw;
  max-width: 600px;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  max-height: 95vh;
  overflow-y: auto;
  overflow-x: hidden; }

.popup .popup-body .close-popup {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px; }

.popup .popup-body .close-popup:active, .popup .popup-body .close-popup:hover {
  transform: scale(1.1); }

.popup .popup-body.popup-lg {
  width: 70vw;
  max-width: 1080px;
  min-height: 70vh; }

.popup .popup-body.popup-xl {
  width: 90vw;
  max-width: 1920px;
  min-height: 90vh; }

@media (max-width: 768px) {
  .popup .popup-body.popup-xl {
    padding-top: 40px; } }

@media (max-width: 768px) {
  .popup .popup-body.popup-lg, .popup .popup-body.popup-xl {
    width: 100%; } }

.popup .popup-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-around; }

@media (max-width: 768px) {
  .popup {
    z-index: 1001; }
  .popup .popup-body {
    width: 100%;
    padding: 16px 24px 120px;
    top: auto;
    left: 0;
    bottom: 0;
    border: 1px solid #d9d9d9;
    transform: none; } }

.popup--slide .popup-body {
  height: 100%;
  max-width: 250px;
  left: auto;
  right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0; }

.popup-enter .backdrop, .popup-leave-to .backdrop {
  opacity: 0; }

.popup-enter .popup-body, .popup-leave-to .popup-body {
  transform: translate(-50%, 100vh) !important; }

@media (max-width: 768px) {
  .popup-enter .popup-body, .popup-leave-to .popup-body {
    transform: translateY(100vh) !important; } }

.popup-enter.popup--slide .popup-body, .popup-leave-to.popup--slide .popup-body {
  transform: translateX(100vw) !important; }

.popup-enter-active, .popup-enter-active .backdrop, .popup-enter-active .popup-body, .popup-leave-active, .popup-leave-active .backdrop, .popup-leave-active .popup-body {
  transition: all .3s ease; }

.popup-leave-to {
  pointer-events: none !important; }

.size-guide__head {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  margin-bottom: 24px; }

@media (max-width: 768px) {
  .size-guide__head {
    width: 100%; } }

.size-guide__switch {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  padding: 0 35px;
  border-radius: 16px; }

@media (max-width: 768px) {
  .size-guide__switch {
    width: 50%;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
    text-align: center; } }

.size-guide__switch.is-current {
  background-color: #d9d9d9; }

.size-guide__switch.is-active {
  background-color: #2f5acf;
  color: #fff; }

.size-suggestion__label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: .03em;
  margin-bottom: 20px; }

@media (max-width: 768px) {
  .size-chart .size-suggestion__label {
    margin-bottom: 5px; } }

.size-suggestion__control {
  -webkit-appearance: none;
  width: 100%;
  height: 9px;
  background: #fff;
  outline: none;
  transition: opacity .2s;
  border-radius: 100px;
  border: 1px solid #d9d9d9;
  margin-bottom: 20px; }

@media (max-width: 768px) {
  .size-suggestion__control {
    touch-action: pan-y; } }

.size-suggestion__control:hover {
  opacity: 1; }

.size-suggestion__control::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #2f5acf;
  cursor: pointer;
  border-radius: 100px;
  border: 0; }

.size-suggestion__control::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #2f5acf;
  cursor: pointer;
  border-radius: 100px;
  border: 0; }

@media (max-width: 768px) {
  .size-chart .size-suggestion__control {
    margin-bottom: 0; } }

@media (max-width: 768px) {
  .size-chart .size-suggestion__field {
    margin-bottom: 15px; } }

.size-suggestion__body {
  display: flex;
  align-items: center;
  margin-left: -8px;
  margin-right: -8px;
  margin-bottom: 30px; }

@media (max-width: 768px) {
  .size-chart .size-suggestion__body {
    width: 70%;
    margin-left: auto;
    margin-right: auto; } }

.size-suggestion__body-size {
  padding: 0 8px; }

@media (max-width: 768px) {
  .size-suggestion__body-size {
    padding-left: 5px;
    padding-right: 5px; } }

.size-suggestion__body-size input {
  display: none; }

.size-suggestion__body-size input:checked ~ span:after, .size-suggestion__body-size input:checked ~ span:before {
  opacity: 1; }

.size-suggestion__body-size span {
  display: block;
  width: 100%;
  border-radius: 14px;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  cursor: pointer;
  padding: 10px; }

.size-suggestion__body-size span:after, .size-suggestion__body-size span:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid #2f5acf;
  border-radius: 14px;
  opacity: 0;
  transition: all .3s; }

.size-suggestion__body-size span:before {
  border: 6px solid #fff; }

@media (max-width: 768px) {
  .size-chart .size-suggestion__body-size span {
    font-size: 10px;
    width: 100%;
    white-space: nowrap;
    display: flex;
    justify-content: center; } }

.size-suggestion__values {
  display: flex;
  margin-top: -5px; }

.size-suggestion__values > div {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  height: 30px;
  padding: 0 25px;
  background-color: #f9f86c;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  letter-spacing: .03em;
  color: #000;
  margin-right: 14px; }

@media (max-width: 768px) {
  .size-suggestion__values > div {
    padding: 0 12px;
    white-space: nowrap; } }

.size-suggestion__values.is-hidden {
  opacity: 0; }

.size-suggestion__active {
  position: relative; }

.size-suggestion__active.is-loading:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 15px);
  width: 30px;
  height: 30px;
  background-image: url(https://file.hstatic.net/1000333099/file/loading_4fe3eb75e12a4f61b3bb0ed980549c12.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50%; }

@media (max-width: 768px) {
  .size-suggestion__size-width {
    width: 100%; } }

.is-loading .size-suggestion__size-width {
  opacity: 0; }

.size-suggestion__size-width span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 150px;
  border-radius: 16px;
  background-color: #f9f86c;
  margin: 0 auto;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase; }

@media (max-width: 768px) {
  .size-suggestion__size-width span {
    font-size: 32px; } }

.size-suggestion__size-width.is-multi span {
  height: 50px;
  font-size: 14px;
  margin-top: 10px; }

.size-suggestion__footer {
  display: none !important;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  transition: all .3s;
  z-index: 1; }

@media (max-width: 768px) {
  .size-suggestion__footer {
    display: block !important; } }

.size-suggestion__footer .size-suggestion__size-width {
  height: 40px;
  border-radius: 0; }

.size-suggestion__footer .size-suggestion__size-width span {
  font-size: 28px; }

@media (max-width: 768px) {
  .size-suggestion__footer .size-suggestion__size-width span {
    max-height: 100%;
    width: 100%;
    border-radius: 0; } }

.size-suggestion__footer.is-loading {
  transform: translateY(100%); }
