:root {
  --jd-navy: #0c1c3b;
  --jd-navy-soft: #17294d;
  --jd-blue: #2166f3;
  --jd-blue-dark: #1551cd;
  --jd-blue-soft: #edf3ff;
  --jd-citrus: #ff9a23;
  --jd-text: #1a2742;
  --jd-muted: #667085;
  --jd-border: #dce3ee;
  --jd-surface: #f6f8fc;
  --jd-white: #fff;
  --jd-radius: 14px;
  --jd-container: 1320px;
  --jd-shadow: 0 12px 34px rgba(12, 28, 59, .08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--jd-white);
  color: var(--jd-text);
  font-family: Inter, "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.filters-open { overflow: hidden; }

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }

.jd-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  white-space: nowrap !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}

.jd-container {
  width: min(calc(100% - 48px), var(--jd-container));
  margin-inline: auto;
}

.jd-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--jd-navy);
  color: #fff;
  transform: translateY(-150%);
}

.jd-skip:focus { transform: translateY(0); }

.jd-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 227, 238, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}

.jd-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 42px;
}

.jd-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--jd-navy);
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1;
}

.jd-logo span { color: var(--jd-blue); }

.jd-nav { margin-left: auto; }
.jd-nav__list {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jd-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 10px;
  color: #33405c;
  font-size: 15px;
  font-weight: 650;
  transition: color .2s ease, background .2s ease;
}

.jd-nav__link:hover,
.jd-nav__link:focus-visible,
.jd-nav__link[aria-current="page"] {
  background: var(--jd-blue-soft);
  color: var(--jd-blue-dark);
  outline: none;
}

.jd-header__search {
  width: min(260px, 21vw);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 14px;
  border: 1px solid var(--jd-border);
  border-radius: 12px;
  background: #fff;
}

.jd-header__search svg { flex: 0 0 18px; color: #7a869d; }
.jd-header__search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--jd-navy);
  background: transparent;
}

.jd-header__search button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: var(--jd-blue);
  color: #fff;
}

.jd-menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--jd-border);
  border-radius: 11px;
  background: #fff;
  color: var(--jd-navy);
}

.jd-menu-toggle svg { width: 22px; height: 22px; }

.jd-hero {
  overflow: hidden;
  border-bottom: 1px solid #e7ebf3;
  background:
    radial-gradient(circle at 11% 17%, rgba(33, 102, 243, .10), transparent 25%),
    linear-gradient(110deg, #fff 0%, #fff 52%, #f2f7ff 100%);
}

.jd-hero__inner {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: 52px;
  padding-block: 70px;
}

.jd-hero__copy { position: relative; z-index: 2; }
.jd-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--jd-navy);
  font-size: clamp(48px, 5vw, 74px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.jd-hero h1 span {
  display: block;
  color: var(--jd-blue);
}

.jd-hero__intro {
  max-width: 610px;
  margin: 25px 0 0;
  color: #536078;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.jd-search {
  max-width: 670px;
  display: flex;
  align-items: center;
  margin-top: 34px;
  padding: 7px;
  border: 1px solid #d7dfec;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(24, 48, 93, .10);
}

.jd-search__icon {
  width: 48px;
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  color: #7b879c;
}

.jd-search__icon svg { width: 22px; height: 22px; }

.jd-search input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--jd-navy);
  font-size: 17px;
}

.jd-search button,
.jd-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--jd-blue);
  color: #fff;
  font-weight: 760;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.jd-search button:hover,
.jd-button:hover { background: var(--jd-blue-dark); }
.jd-search button:active,
.jd-button:active { transform: translateY(1px); }
.jd-search button:focus-visible,
.jd-button:focus-visible { outline: 3px solid rgba(33, 102, 243, .25); outline-offset: 2px; }

.jd-hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 450px;
}

.jd-hero__visual::after {
  content: "";
  position: absolute;
  inset: 12% 8% 5% 20%;
  z-index: 0;
  border-radius: 50%;
  background: rgba(33, 102, 243, .08);
  filter: blur(28px);
}

.jd-hero__visual img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  mix-blend-mode: multiply;
}

.jd-hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #6a768c;
  font-size: 13px;
}

.jd-hero__note svg { width: 18px; height: 18px; color: var(--jd-blue); }

.jd-categories {
  border-bottom: 1px solid var(--jd-border);
  background: #fff;
}

.jd-categories__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: 112px;
}

.jd-categories h2 {
  margin: 0;
  color: var(--jd-navy);
  font-size: 17px;
  font-weight: 760;
}

.jd-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.jd-category {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 15px;
  border: 1px solid var(--jd-border);
  border-radius: 12px;
  background: #fff;
  color: var(--jd-navy);
  font-weight: 720;
  transition: border .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}

.jd-category:hover,
.jd-category[aria-current="true"] {
  border-color: rgba(33, 102, 243, .55);
  background: var(--jd-blue-soft);
  color: var(--jd-blue-dark);
  transform: translateY(-1px);
}

.jd-category__icon {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 10px;
  background: var(--jd-surface);
  color: var(--jd-blue);
}

.jd-category__icon svg { width: 21px; height: 21px; }
.jd-category__arrow { margin-left: auto; color: #9aa5b7; }

.jd-results-head {
  border-bottom: 1px solid var(--jd-border);
  background:
    radial-gradient(circle at 80% 20%, rgba(33, 102, 243, .10), transparent 28%),
    linear-gradient(120deg, #fff 0%, #f5f8fe 100%);
}

.jd-results-head__inner {
  min-height: 168px;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(460px, 1.28fr);
  align-items: center;
  gap: 58px;
  padding-block: 30px;
}

.jd-results-head__copy h1 {
  margin: 0;
  color: var(--jd-navy);
  font-size: clamp(28px, 3.1vw, 42px);
  font-weight: 830;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.jd-results-head__reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: var(--jd-blue-dark);
  font-size: 13px;
  font-weight: 720;
}

.jd-results-head__reset:hover { text-decoration: underline; }
.jd-results-head__reset svg { width: 16px; height: 16px; }
.jd-results-search {
  width: 100%;
  max-width: 680px;
  justify-self: end;
  margin-top: 0;
  box-shadow: 0 10px 30px rgba(24, 48, 93, .08);
}

.jd-catalog { padding: 72px 0 92px; }
.jd-catalog--compact { padding-top: 42px; }
.jd-catalog__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.jd-catalog__heading h2 {
  margin: 0;
  color: var(--jd-navy);
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -.035em;
  line-height: 1.12;
}

.jd-catalog__heading p {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--jd-muted);
}

.jd-catalog__layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 38px;
}

.jd-filter {
  align-self: start;
  position: sticky;
  top: 104px;
  padding-right: 30px;
  border-right: 1px solid var(--jd-border);
}

.jd-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.jd-filter__head h3 {
  margin: 0;
  color: var(--jd-navy);
  font-size: 18px;
}

.jd-filter__close {
  width: 40px;
  height: 40px;
  display: none;
  place-items: center;
  border: 1px solid var(--jd-border);
  border-radius: 10px;
  background: #fff;
  color: var(--jd-navy);
}

.jd-filter__group { padding: 22px 0; border-top: 1px solid var(--jd-border); }
.jd-filter__group h4 { margin: 0 0 13px; color: var(--jd-navy); font-size: 14px; }
.jd-filter__links { display: grid; gap: 3px; }
.jd-filter__links a {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-radius: 9px;
  color: #57647b;
  font-size: 14px;
  font-weight: 600;
}

.jd-filter__links a:hover,
.jd-filter__links a[aria-current="true"] { background: var(--jd-blue-soft); color: var(--jd-blue-dark); }
.jd-filter__hint { margin: 0; color: var(--jd-muted); font-size: 13px; }

.jd-results { min-width: 0; }
.jd-toolbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--jd-border);
}

.jd-toolbar__count { margin-right: auto; color: #5e6a80; font-size: 14px; }
.jd-toolbar__count strong { color: var(--jd-navy); }
.jd-filter-toggle {
  min-height: 44px;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--jd-border);
  border-radius: 10px;
  background: #fff;
  color: var(--jd-navy);
  font-weight: 700;
}

.jd-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jd-sort label { color: var(--jd-muted); font-size: 14px; }
.jd-sort select {
  min-height: 46px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--jd-border);
  border-radius: 10px;
  background: #fff;
  color: var(--jd-navy);
  font-weight: 650;
  outline: none;
}

.jd-sort select:focus { border-color: var(--jd-blue); box-shadow: 0 0 0 3px rgba(33, 102, 243, .12); }

.jd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 22px;
}

.jd-product {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.jd-product__media-shell {
  min-width: 0;
}

.jd-product__media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  background: #f7f8fb;
}

.jd-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .28s ease;
}

.jd-product:hover .jd-product__media img { transform: scale(1.035); }
.jd-product__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .92);
  color: var(--jd-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jd-product__body {
  min-height: 142px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 15px;
}

.jd-product__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--jd-text);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.43;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.jd-product__title a:hover { color: var(--jd-blue-dark); }
.jd-product__price {
  margin: 12px 0 15px;
  color: var(--jd-navy);
  font-size: 20px;
  font-weight: 820;
  letter-spacing: -.025em;
}

.jd-product .jd-button { width: 100%; min-height: 44px; padding-inline: 14px; font-size: 14px; }

.jd-ad-banners {
  grid-column: 1 / -1;
  margin: 12px 0 2px;
  padding: 18px;
  border: 1px solid #d9e3f4;
  border-radius: 14px;
  background: linear-gradient(110deg, #f3f7ff, #fffaf1);
}

.jd-ad-banners__label {
  display: block;
  margin-bottom: 12px;
  color: #77839a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jd-ad-banners__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.jd-banner {
  min-width: 0;
  min-height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(22, 45, 82, .09);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(25, 48, 84, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.jd-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 28px rgba(25, 48, 84, .11);
}

.jd-banner img {
  width: 100%;
  height: auto;
  max-height: 180px;
  display: block;
  object-fit: contain;
}

.jd-banner__fallback,
.jd-floating-ad__fallback {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 18px;
  color: var(--jd-navy);
  text-align: center;
}

.jd-banner__fallback strong,
.jd-floating-ad__fallback strong { font-size: 18px; letter-spacing: -.02em; }
.jd-banner__fallback small,
.jd-floating-ad__fallback small { color: var(--jd-blue-dark); font-size: 12px; font-weight: 750; }
.has-image-error > img { display: none; }
.has-image-error > .jd-banner__fallback,
.has-image-error > .jd-floating-ad__fallback { display: flex; }

.jd-floating-ad {
  width: min(480px, calc(100vw - 24px));
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  overflow: hidden;
  border: 1px solid rgba(22, 45, 82, .12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(10, 28, 59, .24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 70px));
  visibility: hidden;
  transition: transform .45s ease, opacity .3s ease, visibility 0s linear .45s;
}

.jd-floating-ad.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
  transition-delay: 0s;
}

.jd-floating-ad__head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 15px;
  border-bottom: 1px solid var(--jd-border);
  background: #f7f9fc;
}

.jd-floating-ad__head span {
  color: #6d788b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jd-floating-ad__head button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #566177;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.jd-floating-ad__head button:hover { background: #e9eef6; color: var(--jd-navy); }
.jd-floating-ad__body { display: block; padding: 12px 12px 10px; background: linear-gradient(145deg, #fff, #f4f7fc); }
.jd-floating-ad__body img { width: 100%; height: auto; max-height: 230px; display: block; border-radius: 12px; object-fit: contain; }
.jd-floating-ad__cta {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
  border-radius: 9px;
  background: var(--jd-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.jd-floating-ad__body:hover .jd-floating-ad__cta { background: var(--jd-blue-dark); }
.jd-floating-ad__footer { margin: 0; padding: 0 14px 12px; color: #778196; font-size: 12px; text-align: center; }

.jd-empty {
  grid-column: 1 / -1;
  padding: 58px 24px;
  border: 1px dashed #cdd6e4;
  border-radius: 14px;
  background: var(--jd-surface);
  text-align: center;
}

.jd-empty h3 { margin: 0; color: var(--jd-navy); }
.jd-empty p { margin: 8px 0 22px; color: var(--jd-muted); }

.jd-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 52px;
}

.jd-pagination a,
.jd-pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--jd-border);
  border-radius: 10px;
  background: #fff;
  color: #4f5d74;
  font-size: 14px;
  font-weight: 700;
}

.jd-pagination a:hover,
.jd-pagination a[aria-current="page"] { border-color: var(--jd-blue); background: var(--jd-blue); color: #fff; }
.jd-pagination span { color: #98a2b3; }

.jd-steps { border-block: 1px solid var(--jd-border); background: var(--jd-surface); }
.jd-steps__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jd-step {
  position: relative;
  min-height: 210px;
  padding: 42px 34px;
  border-right: 1px solid var(--jd-border);
}

.jd-step:last-child { border-right: 0; }
.jd-step__number {
  display: block;
  margin-bottom: 26px;
  color: var(--jd-blue);
  font-size: 13px;
  font-weight: 850;
}

.jd-step h3 { margin: 0; color: var(--jd-navy); font-size: 20px; }
.jd-step p { margin: 9px 0 0; color: var(--jd-muted); font-size: 14px; }

.jd-footer { background: var(--jd-navy); color: #fff; }
.jd-footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .8fr);
  gap: 50px;
  padding: 68px 0 54px;
}

.jd-footer .jd-logo { color: #fff; }
.jd-footer__about p { max-width: 390px; margin: 19px 0 0; color: #b9c3d7; font-size: 14px; }
.jd-footer h3 { margin: 4px 0 18px; color: #fff; font-size: 14px; }
.jd-footer ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.jd-footer li, .jd-footer a { color: #b9c3d7; font-size: 14px; }
.jd-footer a:hover { color: #fff; }

.jd-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 76px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #9dabc2;
  font-size: 13px;
}

.jd-footer__bottom p { margin: 0; }
.jd-footer__hint { text-align: right; }

.jd-backdrop {
  position: fixed;
  inset: 0;
  z-index: 59;
  display: none;
  border: 0;
  background: rgba(4, 13, 33, .48);
}

.jd-backdrop.is-visible { display: block; }

@media (max-width: 1180px) {
  .jd-header__inner { gap: 20px; }
  .jd-nav__link { padding-inline: 9px; }
  .jd-header__search { display: none; }
  .jd-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); }
  .jd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .jd-container { width: min(calc(100% - 34px), var(--jd-container)); }
  .jd-header__inner { min-height: 70px; }
  .jd-menu-toggle { display: grid; }
  .jd-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 61;
    width: min(390px, 88vw);
    height: 100dvh;
    margin: 0;
    padding: 88px 25px 30px;
    background: #fff;
    box-shadow: -20px 0 55px rgba(12, 28, 59, .18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .jd-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .jd-nav__list { align-items: stretch; flex-direction: column; gap: 4px; }
  .jd-nav__link { min-height: 50px; padding-inline: 14px; font-size: 17px; }
  .jd-hero__inner { min-height: auto; grid-template-columns: 1fr; gap: 25px; padding: 64px 0 0; }
  .jd-hero h1 { max-width: 780px; }
  .jd-hero__intro { max-width: 680px; }
  .jd-hero__visual { min-height: 420px; margin-inline: -17px; }
  .jd-categories__inner { grid-template-columns: 1fr; gap: 17px; padding-block: 27px; }
  .jd-results-head__inner { grid-template-columns: 1fr; gap: 22px; padding-block: 30px; }
  .jd-results-search { max-width: none; justify-self: stretch; }
  .jd-catalog__layout { grid-template-columns: 1fr; }
  .jd-filter {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 61;
    width: min(380px, 90vw);
    height: 100dvh;
    overflow-y: auto;
    padding: 28px;
    border: 0;
    background: #fff;
    box-shadow: 20px 0 55px rgba(12, 28, 59, .18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .jd-filter.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .jd-filter__close { display: grid; }
  .jd-filter-toggle { display: inline-flex; }
  .jd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jd-steps__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jd-step:nth-child(2) { border-right: 0; }
  .jd-step:nth-child(-n+2) { border-bottom: 1px solid var(--jd-border); }
  .jd-footer__top { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 680px) {
  .jd-container { width: min(calc(100% - 28px), var(--jd-container)); }
  .jd-hero__inner { padding-top: 44px; }
  .jd-hero h1 { font-size: clamp(40px, 12.4vw, 56px); }
  .jd-hero__intro { margin-top: 18px; font-size: 16px; }
  .jd-search { margin-top: 27px; align-items: stretch; padding: 5px; }
  .jd-search__icon { width: 40px; flex-basis: 40px; }
  .jd-search input { height: 48px; font-size: 15px; }
  .jd-search button { min-height: 48px; padding-inline: 16px; }
  .jd-hero__note { align-items: flex-start; }
  .jd-hero__visual { min-height: 310px; margin-inline: 0; }
  .jd-category-list { grid-template-columns: 1fr; gap: 10px; }
  .jd-category { min-height: 58px; }
  .jd-results-head__inner { min-height: 0; gap: 18px; padding-block: 24px; }
  .jd-results-head__copy h1 { font-size: clamp(27px, 8vw, 36px); }
  .jd-results-head__reset { margin-top: 9px; }
  .jd-results-search { padding: 5px; }
  .jd-results-search input { height: 46px; }
  .jd-results-search button { min-height: 46px; }
  .jd-catalog { padding: 54px 0 70px; }
  .jd-catalog--compact { padding-top: 28px; }
  .jd-catalog__heading { align-items: flex-start; flex-direction: column; margin-bottom: 23px; }
  .jd-toolbar { align-items: stretch; flex-wrap: wrap; }
  .jd-toolbar__count { width: 100%; }
  .jd-sort { min-width: 0; flex: 1; }
  .jd-sort label { display: none; }
  .jd-sort select { width: 100%; }
  .jd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .jd-product__media img { padding: 10px; }
  .jd-product__body { min-height: 150px; padding-top: 12px; }
  .jd-product__title { font-size: 13px; }
  .jd-product__price { margin: 9px 0 12px; font-size: 17px; }
  .jd-product .jd-button { min-height: 42px; font-size: 13px; }
  .jd-ad-banners { padding: 14px; }
  .jd-ad-banners__grid { grid-template-columns: 1fr; gap: 10px; }
  .jd-banner { min-height: 84px; }
  .jd-floating-ad { width: calc(100vw - 20px); bottom: max(10px, env(safe-area-inset-bottom)); border-radius: 14px; }
  .jd-floating-ad__body { padding: 9px 9px 6px; }
  .jd-pagination { flex-wrap: wrap; }
  .jd-steps__inner { grid-template-columns: 1fr; }
  .jd-step { min-height: 0; padding: 32px 22px; border-right: 0; border-bottom: 1px solid var(--jd-border); }
  .jd-step:nth-child(3) { border-bottom: 1px solid var(--jd-border); }
  .jd-step:last-child { border-bottom: 0; }
  .jd-step__number { margin-bottom: 14px; }
  .jd-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 50px 0 40px; }
  .jd-footer__about { grid-column: 1 / -1; }
  .jd-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
  .jd-footer__hint { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
