/* Ported from fn-frontend size_124990: src/pages/product/page.scss (224e375). */
.btn-size {
  margin-top: 10px;
  font-weight: 400;
  font-size: 15px;
  line-height: 120%;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 20%;
}

.size-modal {
  --fn-modal-header-padding: 40px 25px 24px 40px;
  --fn-modal-padding: 0 12px 0 40px;
  --fn-modal-width: 1005px;
  --fn-modal-color: #000000;
  --fn-modal-bg: #ffffff;
  padding-inline: 20px;
}
@media only screen and (max-width: 768px) {
  .size-modal {
    --fn-modal-header-padding: 24px 20px 20px 20px;
    --fn-modal-padding: 0 15px 0 20px;
  }
}
@media only screen and (max-width: 680px) {
  .size-modal {
    --fn-modal-width: 100%;
    padding: 0;
  }
}
@media only screen and (max-width: 680px) {
  .size-modal .modal-dialog {
    padding: 0;
    margin: 0;
    height: 100%;
    max-height: 100%;
  }
}
@media only screen and (max-width: 680px) {
  .size-modal .modal-content {
    border-radius: 0;
  }
}
.size-modal .modal-title {
  text-align: left;
  font-weight: 500;
  font-size: 26px;
  text-transform: none;
}
@media only screen and (max-width: 768px) {
  .size-modal .modal-title {
    font-size: 20px;
  }
}
.size-modal .modal-header {
  display: flex;
  justify-content: space-between;
  padding: var(--fn-modal-header-padding);
}
.size-modal .modal-header .btn-close {
  position: static;
  margin: 0;
  color: #808080;
}
.size-modal .modal-header .btn-close svg {
  flex: 1 0 auto;
}
.size-modal .modal-body {
  display: flex;
  flex-direction: column;
  overflow: auto;
  scrollbar-width: thin;
  margin-right: 25px;
  margin-bottom: 40px;
}
@media only screen and (max-width: 768px) {
  .size-modal .modal-body {
    margin-right: 2px;
    margin-bottom: 33px;
  }
}
.size-modal .modal-body .line-table {
  flex: 1 0 auto;
  position: sticky;
  bottom: 0px;
  display: block;
  width: calc(100% - 2px);
  transform: translate(2px, 0px);
  height: 1px;
  background-color: #dddddd;
}
.size-modal .modal-body .size-modal__table {
  flex: 1;
}
.size-modal .modal-body .size-modal__table table {
  margin: 1px 1px 0 1px;
  width: 100%;
  height: 100%;
}
.size-modal .modal-body .size-modal__table table th,
.size-modal .modal-body .size-modal__table table td {
  padding: 12px 8px;
  text-align: center;
  white-space: nowrap;
}
.size-modal .modal-body .size-modal__table thead {
  top: 1px;
  position: sticky;
  background-color: #f5f5f5;
  box-shadow: 0 0 1px 1px #dddddd;
}
.size-modal .modal-body .size-modal__table thead th {
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
}
.size-modal .modal-body .size-modal__table thead th:not(:last-child) {
  border-right: 1px solid #dddddd;
}
@media only screen and (max-width: 768px) {
  .size-modal .modal-body .size-modal__table thead th {
    font-size: 14px;
  }
}
.size-modal .modal-body .size-modal__table tbody {
  margin-right: 1px;
}
.size-modal .modal-body .size-modal__table tbody tr:last-child td,
.size-modal .modal-body .size-modal__table tbody tr:last-child th {
  border-bottom: 1px solid transparent;
}
.size-modal .modal-body .size-modal__table tbody td,
.size-modal .modal-body .size-modal__table tbody th {
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}
.size-modal .modal-body .size-modal__table tbody tr > :first-child,
.size-modal .modal-body .size-modal__table tbody th {
  font-weight: 600;
}
.size-modal .modal-body .size-modal__table tbody td:has(p) {
  font-weight: 600;
}
.size-modal .modal-body .size-modal__table tbody td:has(p) p {
  font-weight: 400;
  margin-top: 4px;
}
