.erfanit-size-guide,
.erfanit-size-guide * {
  box-sizing: border-box;
}
.erfanit-size-guide {
  display: block;
  width: calc(100% + 24px);
  max-width: none;
  min-width: 0;
  margin: 22px -12px;
  padding: 18px;
  color: var(--esg-text);
  border: 1px solid var(--esg-border);
  border-radius: 18px;
  background: var(--esg-bg);
  font-family: inherit;
  clear: both;
}
.erfanit-size-guide__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.erfanit-size-guide__heading h3 {
  margin: 0;
  color: var(--esg-text);
  font: 800 19px/1.6 inherit;
}
.erfanit-size-guide__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  border-radius: 12px;
  color: #fff;
  background: var(--esg-primary);
}
.erfanit-size-guide__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.erfanit-size-guide__scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 12px;
}
.erfanit-size-guide table {
  width: 100%;
  min-width: 520px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--esg-text);
  background: #fff8;
}
.erfanit-size-guide th,
.erfanit-size-guide td {
  padding: 11px 9px;
  border: 0;
  border-bottom: 1px solid var(--esg-border);
  text-align: center;
  vertical-align: middle;
}
.erfanit-size-guide th {
  color: #fff;
  background: var(--esg-primary);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.erfanit-size-guide thead th:first-child {
  border-radius: 0 11px 0 0;
}
.erfanit-size-guide thead th:last-child {
  border-radius: 11px 0 0 0;
}
.erfanit-size-guide td {
  font-size: 13px;
}
.erfanit-size-guide tbody tr:last-child td {
  border-bottom: 0;
}
.erfanit-size-guide__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 2px 0 !important;
  color: var(--esg-text);
  font-size: 12px;
  opacity: 0.78;
}
.erfanit-size-guide__note span {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 19px;
  border-radius: 50%;
  color: #fff;
  background: var(--esg-primary);
  font-weight: 900;
}
.erfanit-style-soft {
  box-shadow: 0 12px 32px color-mix(in srgb, var(--esg-text) 10%, transparent);
  background: linear-gradient(
    135deg,
    var(--esg-bg),
    color-mix(in srgb, var(--esg-bg) 75%, #fff)
  );
}
.erfanit-style-soft tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--esg-bg) 55%, #fff);
}
.erfanit-style-minimal {
  padding: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}
.erfanit-style-minimal .erfanit-size-guide__icon {
  border-radius: 50%;
}
.erfanit-style-minimal .erfanit-size-guide__scroll {
  border: 1px solid var(--esg-border);
  border-radius: 0;
}
.erfanit-style-minimal table {
  background: transparent;
}
.erfanit-style-minimal th {
  color: var(--esg-text);
  border-bottom: 2px solid var(--esg-primary);
  background: transparent;
}
.erfanit-style-dark {
  --esg-text: #f7f7f7;
  padding: 20px;
  border-color: #ffffff24;
  background: #222;
  box-shadow: 0 15px 35px #0003;
}
.erfanit-style-dark table {
  background: #ffffff0a;
}
.erfanit-style-dark td {
  border-color: #ffffff1c;
}
.erfanit-style-striped tbody tr:nth-child(even) td {
  background: var(--esg-bg);
}
.erfanit-style-striped tbody tr:nth-child(odd) td {
  background: #fff;
}
.erfanit-style-striped .erfanit-size-guide__scroll {
  border: 1px solid var(--esg-border);
}
@media (max-width: 600px) {
  .erfanit-size-guide {
    width: calc(100% + 20px);
    max-width: none;
    margin-right: -10px;
    margin-left: -10px;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--esg-text) 10%, transparent);
  }
  .erfanit-size-guide__heading h3 {
    font-size: 16px;
  }
  .erfanit-size-guide__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .erfanit-mobile-cards .erfanit-size-guide__scroll {
    overflow: hidden;
    border: 1px solid var(--esg-border);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 18px color-mix(in srgb, var(--esg-text) 7%, transparent);
  }
  .erfanit-mobile-cards table {
    display: table;
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    background: #fff;
  }
  .erfanit-mobile-cards thead {
    display: table-header-group;
  }
  .erfanit-mobile-cards tbody {
    display: table-row-group;
  }
  .erfanit-mobile-cards tr {
    display: table-row;
  }
  .erfanit-mobile-cards th,
  .erfanit-mobile-cards td {
    display: table-cell;
    width: auto;
    padding: 10px 3px;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .erfanit-mobile-cards th {
    color: #fff;
    border: 0;
    border-left: 1px solid #ffffff35;
    background: linear-gradient(
      145deg,
      var(--esg-primary),
      color-mix(in srgb, var(--esg-primary) 78%, #222)
    );
    font-size: 10px;
    font-weight: 900;
    line-height: 1.45;
  }
  .erfanit-mobile-cards th:first-child {
    width: 15%;
  }
  .erfanit-mobile-cards td {
    color: var(--esg-text);
    border: 0;
    border-bottom: 1px solid var(--esg-border);
    border-left: 1px solid
      color-mix(in srgb, var(--esg-border) 65%, transparent);
    background: #fff;
    font-size: 10px;
    line-height: 1.5;
  }
  .erfanit-mobile-cards tbody tr:nth-child(even) td {
    background: color-mix(in srgb, var(--esg-bg) 52%, #fff);
  }
  .erfanit-mobile-cards tbody tr:last-child td {
    border-bottom: 0;
  }
  .erfanit-mobile-cards th:last-child,
  .erfanit-mobile-cards td:last-child {
    border-left: 0;
  }
  .erfanit-mobile-cards td:first-child {
    color: var(--esg-primary);
    background: color-mix(in srgb, var(--esg-primary) 10%, #fff);
    font-size: 11px;
    font-weight: 900;
  }
  .erfanit-mobile-cards td::before {
    display: none;
    content: none;
  }
  .erfanit-size-guide__note {
    margin-top: 10px !important;
    font-size: 10px;
    line-height: 1.8;
  }
  .erfanit-mobile-scroll table {
    min-width: 560px;
  }
}
