.aq-all-catalog,
.aq-all-catalog *,
.aq-all-compare,
.aq-all-compare *,
.aq-all-dialog,
.aq-all-dialog * {
  box-sizing: border-box;
}

.aq-all-catalog {
  --aq-blue: #0b8ed8;
  --aq-blue-dark: #0876b4;
  --aq-navy: #06334a;
  --aq-text: #547080;
  --aq-line: #cfe6f3;
  padding: 72px 20px 88px;
  background: #ffffff;
  color: var(--aq-navy);
  font-family: var(--t-text-font), Arial, sans-serif;
}

.aq-all-catalog__wrap {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.aq-all-catalog__head {
  max-width: 820px;
  margin-bottom: 30px;
}

.aq-all-catalog__eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e6f6ff;
  color: var(--aq-blue-dark);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aq-all-catalog__head h2 {
  margin: 0 0 12px;
  color: var(--aq-navy);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.aq-all-catalog__head p {
  margin: 0;
  color: var(--aq-text);
  font-size: 18px;
  line-height: 1.6;
}

.aq-all-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--aq-line);
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fdff, #eef9ff);
  box-shadow: 0 16px 40px rgba(6, 51, 74, 0.08);
}

.aq-all-filter h3 {
  margin: 0 0 5px;
  color: var(--aq-navy);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
}

.aq-all-filter__people > p {
  margin: 0 0 15px;
  color: var(--aq-text);
  font-size: 14px;
  line-height: 1.45;
}

.aq-all-filter__options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.aq-all-filter__options button {
  min-width: 0;
  min-height: 52px;
  padding: 9px 11px;
  border: 1px solid var(--aq-line);
  border-radius: 13px;
  background: #ffffff;
  color: var(--aq-navy);
  cursor: pointer;
  font: 800 14px/1.25 inherit;
  transition: 0.2s ease;
}

.aq-all-filter__options button:hover,
.aq-all-filter__options button[aria-pressed="true"] {
  border-color: var(--aq-blue);
  background: linear-gradient(135deg, #0b8ed8, #20b9e8);
  color: #ffffff;
  box-shadow: 0 9px 22px rgba(11, 142, 216, 0.2);
}

.aq-all-filter__options button:focus-visible,
.aq-all-filter__select select:focus-visible,
.aq-all-pagination button:focus-visible,
.aq-all-card a:focus-visible,
.aq-all-card button:focus-visible {
  outline: 3px solid rgba(11, 142, 216, 0.28);
  outline-offset: 2px;
}

.aq-all-filter__controls {
  display: grid;
  gap: 13px;
}

.aq-all-filter__select {
  display: grid;
  gap: 7px;
  color: var(--aq-navy);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 900;
}

.aq-all-filter__select select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--aq-line);
  border-radius: 13px;
  background: #ffffff;
  color: var(--aq-navy);
  cursor: pointer;
  font: 800 15px/1.2 inherit;
}

.aq-all-catalog__summary {
  margin: 0 0 18px;
  color: var(--aq-text);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.aq-all-catalog__summary strong {
  color: var(--aq-navy);
  font-weight: 900;
}

.aq-all-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.aq-all-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--aq-line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(6, 51, 74, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.aq-all-card:hover {
  border-color: rgba(11, 142, 216, 0.38);
  box-shadow: 0 22px 52px rgba(6, 51, 74, 0.14);
  transform: translateY(-4px);
}

.aq-all-card__visual {
  position: relative;
  display: flex;
  height: 230px;
  padding: 16px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #e4f1f7;
  background: #ffffff;
  text-decoration: none !important;
}

.aq-all-card__visual > span {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(6, 51, 74, 0.92);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.aq-all-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s ease;
}

.aq-all-card:hover .aq-all-card__visual img {
  transform: scale(1.04);
}

.aq-all-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.aq-all-card h3 {
  margin: 0 0 15px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.aq-all-card h3 a {
  color: var(--aq-navy) !important;
  text-decoration: none !important;
}

.aq-all-card__specs {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.aq-all-card__specs > div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-bottom: 7px;
  border-bottom: 1px dashed rgba(84, 112, 128, 0.24);
  font-size: 14px;
  line-height: 1.35;
}

.aq-all-card__specs dt {
  color: var(--aq-text);
}

.aq-all-card__specs dd {
  margin: 0;
  color: var(--aq-navy);
  text-align: right;
  font-weight: 900;
}

.aq-all-card__price {
  margin-top: auto;
  margin-bottom: 16px;
}

.aq-all-card__price small {
  display: block;
  margin-bottom: 4px;
  color: var(--aq-text);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.aq-all-card__price strong {
  color: var(--aq-navy);
  font-size: 25px;
  line-height: 1.1;
  font-weight: 900;
}

.aq-all-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.aq-all-card__actions a,
.aq-all-card__actions button {
  display: flex;
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aq-line);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  font: 800 14px/1.2 inherit;
}

.aq-all-card__actions a {
  border-color: var(--aq-blue);
  background: var(--aq-blue);
  color: #ffffff !important;
}

.aq-all-card__actions button {
  background: #eef9ff;
  color: var(--aq-blue-dark);
}

.aq-all-card__actions button[aria-pressed="true"] {
  border-color: var(--aq-blue);
  background: #dff4ff;
}

.aq-all-empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  border: 1px solid var(--aq-line);
  border-radius: 22px;
  background: #f8fdff;
  color: var(--aq-text);
  text-align: center;
  font-size: 17px;
  line-height: 1.55;
}

.aq-all-empty button {
  display: block;
  min-height: 46px;
  margin: 16px auto 0;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--aq-navy);
  color: #ffffff;
  cursor: pointer;
  font: 800 14px/1 inherit;
}

.aq-all-pagination {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  align-items: center;
  justify-content: center;
}

.aq-all-pagination__pages {
  display: flex;
  gap: 7px;
  align-items: center;
}

.aq-all-pagination button {
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--aq-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--aq-navy);
  cursor: pointer;
  font: 800 14px/1 inherit;
}

.aq-all-pagination button[aria-current="page"] {
  border-color: var(--aq-blue);
  background: var(--aq-blue);
  color: #ffffff;
}

.aq-all-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.aq-all-catalog__noscript {
  margin: 20px 0 0;
  color: var(--aq-text);
  font-size: 15px;
}

.aq-all-compare {
  position: fixed;
  z-index: 90000;
  left: 50%;
  bottom: 22px;
  display: flex;
  width: min(720px, calc(100% - 32px));
  gap: 10px;
  padding: 13px 14px 13px 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(6, 51, 74, 0.96);
  color: #ffffff;
  box-shadow: 0 20px 55px rgba(0, 27, 44, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 45px));
  transition: 0.24s ease;
  font-family: var(--t-text-font), Arial, sans-serif;
}

.aq-all-compare.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.aq-all-compare > div {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.aq-all-compare strong {
  font-size: 15px;
  line-height: 1.35;
}

.aq-all-compare small {
  min-height: 16px;
  color: #bfeaff;
  font-size: 12px;
  line-height: 1.3;
}

.aq-all-compare button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font: 800 14px/1 inherit;
}

.aq-all-compare [data-compare-clear] {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.aq-all-compare [data-compare-open] {
  background: linear-gradient(135deg, #0b8ed8, #20b9e8);
  color: #ffffff;
}

.aq-all-compare [data-compare-open]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.aq-all-dialog {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfe6f3;
  border-radius: 26px;
  background: #ffffff;
  color: #06334a;
  box-shadow: 0 30px 90px rgba(0, 27, 44, 0.34);
  font-family: var(--t-text-font), Arial, sans-serif;
}

.aq-all-dialog::backdrop {
  background: rgba(3, 27, 39, 0.66);
  backdrop-filter: blur(5px);
}

.aq-all-dialog > header {
  display: flex;
  gap: 20px;
  padding: 25px 28px 20px;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #dcecf5;
}

.aq-all-dialog h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
}

.aq-all-dialog header p {
  margin: 0;
  color: #547080;
  font-size: 15px;
  line-height: 1.45;
}

.aq-all-dialog [data-dialog-close] {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid #cfe6f3;
  border-radius: 50%;
  background: #f3faff;
  color: #06334a;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.aq-all-dialog__content {
  max-height: calc(100dvh - 145px);
  padding: 20px 28px 28px;
  overflow: auto;
}

.aq-all-dialog table {
  width: 100%;
  min-width: 680px;
  border: 1px solid #dcecf5;
  border-spacing: 0;
  border-radius: 18px;
  border-collapse: separate;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
}

.aq-all-dialog th,
.aq-all-dialog td {
  padding: 15px;
  border-right: 1px solid #dcecf5;
  border-bottom: 1px solid #dcecf5;
  text-align: left;
  vertical-align: top;
}

.aq-all-dialog tr:last-child th,
.aq-all-dialog tr:last-child td {
  border-bottom: 0;
}

.aq-all-dialog th:last-child,
.aq-all-dialog td:last-child {
  border-right: 0;
}

.aq-all-dialog th[scope="row"] {
  width: 175px;
  background: #f5fbfe;
  color: #547080;
  font-weight: 800;
}

.aq-all-dialog th[scope="col"] {
  background: #edf9ff;
  font-size: 17px;
  font-weight: 900;
}

.aq-all-dialog td a {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  border-radius: 999px;
  background: #0b8ed8;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
}

.aq-all-dialog__mobile {
  display: none;
}

@media (max-width: 1040px) {
  .aq-all-filter {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .aq-all-filter__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }

  .aq-all-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .aq-all-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aq-all-filter__options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .aq-all-catalog {
    padding: 48px 12px 120px;
  }

  .aq-all-catalog__head {
    margin-bottom: 22px;
  }

  .aq-all-catalog__head h2 {
    font-size: 34px;
  }

  .aq-all-catalog__head p {
    font-size: 16px;
  }

  .aq-all-filter {
    gap: 20px;
    padding: 18px 14px;
    border-radius: 20px;
  }

  .aq-all-filter h3 {
    font-size: 19px;
  }

  .aq-all-filter__options {
    grid-template-columns: 1fr 1fr;
  }

  .aq-all-filter__options button:first-child {
    grid-column: 1 / -1;
  }

  .aq-all-filter__controls {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .aq-all-grid {
    grid-template-columns: 1fr;
  }

  .aq-all-card__visual {
    height: 210px;
  }

  .aq-all-pagination {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .aq-all-pagination__pages {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: center;
  }

  .aq-all-pagination button {
    min-height: 48px;
  }

  .aq-all-compare {
    bottom: 99px;
    display: grid;
    width: calc(100% - 20px);
    grid-template-columns: 1fr 1fr;
    padding: 11px;
  }

  .aq-all-compare > div {
    grid-column: 1 / -1;
  }

  .aq-all-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
  }

  .aq-all-dialog > header {
    position: relative;
    z-index: 2;
    padding: 20px 18px 16px;
    background: #ffffff;
  }

  .aq-all-dialog h2 {
    font-size: 24px;
  }

  .aq-all-dialog__content {
    max-height: calc(100dvh - 128px);
    padding: 14px 12px 20px;
  }

  .aq-all-dialog table {
    display: none;
  }

  .aq-all-dialog__mobile {
    display: grid;
    gap: 12px;
  }

  .aq-all-dialog__model {
    overflow: hidden;
    border: 1px solid #cfe6f3;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 9px 25px rgba(6, 51, 74, 0.08);
  }

  .aq-all-dialog__model > header {
    display: grid;
    gap: 7px;
    padding: 15px;
    border-bottom: 1px solid #dcecf5;
    background: #edf9ff;
  }

  .aq-all-dialog__model > header span {
    width: max-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: #0a4864;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
  }

  .aq-all-dialog__model h3 {
    margin: 0;
    color: #06334a;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 900;
  }

  .aq-all-dialog__model dl {
    margin: 0;
  }

  .aq-all-dialog__model dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 12px 15px;
    align-items: baseline;
    border-bottom: 1px solid #e5f1f6;
  }

  .aq-all-dialog__model dt,
  .aq-all-dialog__model dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
  }

  .aq-all-dialog__model dt {
    color: #5d7786;
    font-weight: 700;
  }

  .aq-all-dialog__model dd {
    color: #06334a;
    text-align: right;
    font-weight: 900;
  }

  .aq-all-dialog__model dl > div:last-child {
    background: #f5fbfe;
  }

  .aq-all-dialog__model dl > div:last-child dd {
    color: #078bd2;
    font-size: 17px;
  }

  .aq-all-dialog__model > a {
    display: flex;
    min-height: 48px;
    margin: 12px 15px 15px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b8ed8, #20b9e8);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 900;
  }
}
