.aakst-root .aakst-trigger {
  font: inherit;
  cursor: pointer;
  background: none;
  color: inherit;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.aakst-root .aakst-trigger-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.elementor-widget-amirhossein-size-table-button .aakst-root .aakst-trigger {
  border: 0;
  text-decoration: none;
}
body:has(.elementor-widget-amirhossein-size-table-button .aakst-data)
  .aakst-auto {
  display: none;
}
.aakst-dialog {
  box-sizing: border-box;
  width: 608px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: #fafaf7;
  color: #000;
  padding: 24px;
  direction: rtl;
  text-align: right;
  font-family: inherit;
  box-shadow: none;
}
.aakst-dialog::backdrop {
  background: #0008;
}
.aakst-dialog * {
  box-sizing: border-box;
  font-family: inherit;
}
.aakst-dialog [hidden] {
  display: none !important;
}
.aakst-dialog .aakst-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 35px;
  margin: 0 0 16px;
}
.aakst-dialog .aakst-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aakst-dialog .aakst-icon {
  width: 55px;
  height: 35px;
  object-fit: contain;
}
.aakst-dialog .aakst-title {
  font-size: 18px;
  line-height: 35px;
  font-weight: 600;
  margin: 0;
  color: #000;
}
dialog.aakst-dialog .aakst-close,
dialog.aakst-dialog .aakst-close:is(:hover, :focus, :active, :focus-visible) {
  position: relative;
  appearance: none;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  color: #4d4d46;
  min-width: 36px;
  width: 36px;
  height: 36px;
  border-radius: 0;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
}
dialog.aakst-dialog .aakst-close::before,
dialog.aakst-dialog .aakst-close::after {
  content: "";
  position: absolute;
  background: #4d4d46;
  width: 25px;
  height: 4px;
  border-radius: 2px;
  left: 6px;
  top: 16px;
  transform: rotate(45deg);
}
dialog.aakst-dialog .aakst-close::after {
  transform: rotate(-45deg);
}
.aakst-dialog p {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
}
.aakst-dialog .aakst-scroll {
  overflow-x: auto;
  margin-top: 16px;
}
.aakst-dialog table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  margin: 0;
  table-layout: auto;
  border: 0;
}
.aakst-dialog th,
.aakst-dialog td {
  min-width: 80px;
  height: 40px;
  text-align: center;
  padding: 8px 10px;
  border: 0;
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
  color: #000;
}
.aakst-dialog thead,
.aakst-dialog tbody tr:nth-child(even) {
  background: #ececec;
}
.aakst-dialog th {
  font-weight: 600;
}
.aakst-dialog .aakst-guide {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
}
.aakst-dialog .aakst-guide-text {
  flex: 1;
}
.aakst-dialog .aakst-guide h3 {
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 8px;
  font-weight: 600;
  color: #000;
}
.aakst-dialog .aakst-guide p {
  white-space: pre-line;
}
.aakst-dialog .aakst-guide img {
  width: 149px;
  max-height: 220px;
  object-fit: contain;
}
.aakst-dialog :focus-visible {
  outline: 2px solid #565add;
  outline-offset: 3px;
}
.aakst-dialog .aakst-mobile-table {
  display: none;
}
@media (max-width: 600px) {
  .aakst-dialog {
    padding: 20px;
    max-width: calc(100vw - 24px);
    border-radius: 20px;
  }
  .aakst-dialog .aakst-scroll {
    display: none;
  }
  .aakst-dialog .aakst-mobile-table {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-top: 16px;
  }
  .aakst-dialog .aakst-mobile-table th,
  .aakst-dialog .aakst-mobile-table td {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 10px 6px;
    font-size: 13px;
  }
  .aakst-dialog .aakst-mobile-table.aakst-many-columns,
  .aakst-dialog .aakst-many-columns tbody {
    display: block;
  }
  .aakst-dialog .aakst-many-columns thead {
    display: none;
  }
  .aakst-dialog .aakst-many-columns tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #e2e3e9;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: transparent;
  }
  .aakst-dialog .aakst-many-columns tbody th {
    grid-column: 1/-1;
    background: #ececec;
  }
  .aakst-dialog .aakst-many-columns td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #555;
  }
  .aakst-dialog .aakst-guide {
    flex-wrap: wrap;
  }
  .aakst-dialog .aakst-guide img {
    margin: auto;
  }
  .aakst-dialog .aakst-guide-text {
    flex-basis: 100%;
  }
}
