/* Compact used-product cards. */
.mg-catalog-card.is-used {
  min-height: 0;
}

/* Product page — polished mobile configuration and price block */
@media (max-width: 767px) {
  .mg-product-summary--v2 {
    padding: 16px 14px 18px;
  }

  .mg-product-summary--v2 .mg-product-meta {
    min-height: 30px;
    gap: 8px;
  }

  .mg-product-summary--v2 .mg-product-meta > span:last-child {
    max-width: 44%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mg-product-summary--v2 h1 {
    margin: 12px 0 14px;
    font-size: clamp(24px, 6.6vw, 29px);
    line-height: 1.08;
    letter-spacing: -.035em;
  }

  .mg-used-variants {
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: hidden;
    border-color: #d8e7e1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(23, 56, 74, .045);
  }

  .mg-used-variants__head {
    min-height: 54px;
    padding: 11px 13px;
    gap: 8px;
    border-bottom-color: #e5efeb;
    background: linear-gradient(135deg, #f0faf6, #f6fbf9);
  }

  .mg-used-variants__head small {
    flex: 0 0 auto;
    font-size: 8.5px;
    letter-spacing: .14em;
  }

  .mg-used-variants__head > span {
    min-width: 0;
    padding: 5px 7px;
    border-radius: 9px;
    color: #58747f;
    background: rgba(255, 255, 255, .8);
    font-size: 8.5px;
    line-height: 1.2;
  }

  .mg-used-variants__row {
    min-height: 58px;
    padding: 9px 13px;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
    border-bottom: 1px solid #edf3f0;
  }

  .mg-used-variants__row:last-child {
    border-bottom: 0;
  }

  .mg-used-variants__row > b {
    font-size: 10px;
    line-height: 1.25;
  }

  .mg-used-variants__row > div {
    gap: 6px;
  }

  .mg-used-variants__row a {
    min-height: 38px;
    padding: 7px 11px;
    border-radius: 11px;
    font-size: 10px;
    box-shadow: 0 3px 10px rgba(23, 56, 74, .025);
  }

  .mg-used-variants__row a.is-active {
    box-shadow: inset 0 0 0 1px #11aa70, 0 5px 12px rgba(17, 170, 112, .08);
  }

  .mg-used-variants__row--colors {
    min-height: 62px;
  }

  .mg-used-variants__row--colors a {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 4px;
  }

  .mg-used-variants__row--colors a i {
    width: 23px;
    height: 23px;
  }

  .mg-product-summary--v2 .mg-product-buybox {
    margin-top: 10px;
  }

  .mg-product-summary--v2 .mg-product-price {
    margin: 0 0 10px;
    padding: 14px 16px 13px;
    border-radius: 19px;
    background: linear-gradient(135deg, #f5faf7 0, #f3f7ff 58%, #faf7ff 100%);
  }

  .mg-product-summary--v2 .mg-product-price strong {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: -.035em;
  }

  .mg-product-price__promo {
    margin-bottom: 7px;
  }

  .mg-product-summary--v2 .mg-product-price > .mg-product-cashback {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid rgba(27, 87, 72, .08);
  }
}

@media (max-width: 380px) {
  .mg-product-summary--v2 {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mg-product-summary--v2 h1 {
    font-size: 23px;
  }

  .mg-used-variants__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mg-used-variants__head > span {
    width: 100%;
    text-align: left;
  }

  .mg-used-variants__row {
    padding-right: 10px;
    padding-left: 10px;
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .mg-used-variants__row a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 9.5px;
  }
}

/* Used iPhone category filter. */
.mg-used-filter .mg-filter-panel__head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mg-used-filter .mg-filter-panel__head h2 small {
  min-width: 23px;
  height: 23px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--mg-green);
  font-size: 10px;
}

.mg-used-filter .mg-filter-option > span:nth-last-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-used-filter .mg-filter-option small {
  margin-left: auto;
  min-width: 27px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #71877e;
  background: #f0f5f3;
  font-size: 9px;
  font-weight: 850;
  text-align: center;
}

.mg-filter-models:not(.is-expanded) .mg-filter-model-extra {
  display: none;
}

.mg-filter-model-toggle {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  color: var(--mg-green-dark);
  background: #edf7f3;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.mg-filter-model-toggle i {
  font-size: 10px;
  transition: transform .18s ease;
}

.mg-filter-models.is-expanded .mg-filter-model-toggle i {
  transform: rotate(180deg);
}

.mg-filter-group__options--chips {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mg-filter-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0 0 12px;
  padding: 0 14px;
  border: 1px solid #d7e5e1;
  border-radius: 15px;
  background: #f7faf9;
  color: #7b939c;
}
.mg-filter-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #143748;
  font: inherit;
}
.mg-filter-search input::placeholder { color: #8da1a8; }
.mg-filter-option[hidden], .mg-filter-chip[hidden] { display: none !important; }

.mg-filter-chip {
  cursor: pointer;
}

.mg-filter-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mg-filter-chip span {
  min-height: 41px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mg-line);
  border-radius: 12px;
  color: var(--mg-ink);
  background: #f8fbfa;
  font-size: 12px;
  font-weight: 850;
  transition: border-color .18s, color .18s, background .18s;
}

.mg-filter-chip input:checked + span {
  border-color: var(--mg-green);
  color: var(--mg-green-dark);
  background: #eaf9f2;
  box-shadow: inset 0 0 0 1px var(--mg-green);
}

.mg-filter-price {
  padding: 15px;
  display: grid;
  gap: 11px;
}

.mg-filter-price__inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mg-filter-price__inputs label {
  min-width: 0;
}

.mg-filter-price__inputs label > span {
  display: block;
  margin: 0 0 6px 2px;
  color: #789087;
  font-size: 10px;
  font-weight: 800;
}

.mg-filter-price__inputs label > div {
  min-height: 43px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--mg-line);
  border-radius: 12px;
  background: #f8fbfa;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.mg-filter-price__inputs label > div:focus-within {
  border-color: var(--mg-green);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(16,174,104,.1);
}

.mg-filter-price__inputs input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--mg-ink);
  background: transparent;
  font-size: 12px;
  font-weight: 850;
  appearance: textfield;
}

.mg-filter-price__inputs input::-webkit-inner-spin-button,
.mg-filter-price__inputs input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.mg-filter-price__inputs b {
  color: var(--mg-green);
  font-size: 12px;
}

.mg-filter-price__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mg-filter-price__presets button {
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid #dce9e4;
  border-radius: 999px;
  color: #607970;
  background: #fff;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}

.mg-filter-price__presets button.is-active {
  border-color: var(--mg-green);
  color: var(--mg-green-dark);
  background: #eaf9f2;
}

.mg-filter-chip--color span {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  overflow: hidden;
}

.mg-filter-chip--color b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: inherit;
}

.mg-filter-chip--color input:checked + span .mg-filter-color {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--mg-green);
}

.mg-filter-color,
.mg-filter-status {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.mg-filter-color {
  border: 2px solid #fff;
  background: var(--mg-filter-color);
  box-shadow: 0 0 0 1px #bccbc6;
}

.mg-filter-status--in_stock { background: #10ae68; }
.mg-filter-status--waiting { background: #efad2f; }
.mg-filter-status--out_of_stock { background: #e75b65; }

.mg-filter-actions {
  padding: 14px;
  display: grid;
  gap: 9px;
  border-top: 1px solid #edf2f0;
}

.mg-filter-auto {
  min-height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  color: #587168;
  background: #edf7f3;
  font-size: 11px;
  font-weight: 800;
}

.mg-filter-auto i {
  color: var(--mg-green);
}

.mg-used-filter .mg-filter-submit {
  width: 100%;
  margin: 0;
  background: linear-gradient(135deg, var(--mg-blue), var(--mg-green));
}

.mg-filter-reset {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #667f75;
  background: #f2f7f5;
  font-size: 12px;
  font-weight: 800;
}

.mg-filter-done {
  display: none;
}

.mg-filter-results {
  transition: opacity .18s ease, transform .18s ease;
}

.mg-filter-busy .mg-filter-results {
  opacity: .45;
  transform: translateY(3px);
  pointer-events: none;
}

.mg-sort-control__icon {
  display: none;
}

@media (min-width: 981px) {
  .mg-catalog-sidebar {
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #b7d0c6 transparent;
  }

  .mg-catalog-sidebar::-webkit-scrollbar {
    width: 6px;
  }

  .mg-catalog-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #b7d0c6;
  }

  .mg-used-filter .mg-filter-panel__head {
    position: sticky;
    top: 0;
    z-index: 4;
  }

  .mg-used-filter .mg-filter-group__options {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 980px) {
  .mg-catalog-page.mg-filter-visible .mg-catalog-sidebar {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .mg-catalog-page.mg-filter-visible .mg-catalog-sidebar > .mg-sidebar-close {
    display: none;
  }

  .mg-catalog-page.mg-filter-visible .mg-catalog-sidebar > .mg-used-filter {
    width: 100%;
    max-width: 430px;
    height: calc(100dvh - 28px);
    min-height: 0;
    max-height: calc(100dvh - 28px);
    margin-left: auto;
    overflow-x: hidden;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    border-radius: 24px;
  }

  .mg-used-filter .mg-filter-panel__head {
    position: sticky;
    top: 0;
    z-index: 4;
  }

  .mg-used-filter .mg-filter-group__options {
    max-height: none;
    overflow: visible;
  }

  .mg-used-filter .mg-filter-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 28px rgba(23,56,74,.08);
  }

  .mg-used-filter .mg-filter-auto {
    display: none;
  }

  .mg-used-filter .mg-filter-reset {
    min-width: 94px;
    padding: 0 14px;
  }

  .mg-filter-done {
    min-height: 48px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--mg-blue), var(--mg-green));
    font-size: 13px;
    font-weight: 850;
  }

  .mg-filter-reset[hidden] + .mg-filter-done {
    grid-column: 1 / -1;
  }
}

.mg-catalog-card.is-used .mg-catalog-card__media {
  height: 280px;
  padding: 27px 18px 14px;
}

.mg-catalog-card.is-used .mg-catalog-card__stock {
  top: 37px;
  right: 27px;
}

.mg-catalog-card.is-used .mg-catalog-card__body {
  min-height: 0;
  padding: 15px 17px 16px;
  flex: 0 0 auto;
}

.mg-catalog-card.is-used .mg-catalog-card__color,
.mg-catalog-card.is-used .mg-catalog-card__chips span:first-child,
.mg-catalog-card__benefits {
  display: none !important;
}

.mg-catalog-card.is-used .mg-catalog-card__variant {
  margin-bottom: 10px;
}

.mg-catalog-card.is-used h3 {
  min-height: 40px;
}

.mg-catalog-card.is-used h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}

.mg-catalog-card.is-used .mg-catalog-card__chips span:last-child {
  display: inline-flex;
}

.mg-catalog-card.is-used .mg-catalog-card__bottom {
  margin-top: 16px;
  padding-top: 0;
  align-items: center;
}

.mg-catalog-card.is-used .mg-catalog-card__buy {
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 15px;
}

.mg-catalog-card.is-used .mg-catalog-card__buy i {
  margin: 0;
}

.mg-catalog-card.is-used .mg-catalog-card__buy span {
  display: none;
}

/* Accessory cards use the same compact visual rhythm as used devices,
   without device-specific chips that do not describe an accessory. */
.mg-catalog-card.is-accessory {
  min-height: 0;
  height: 100%;
}

.mg-catalog-card.is-accessory .mg-catalog-card__media {
  height: 280px;
  padding: 24px 18px 16px;
  background: linear-gradient(155deg, #fff 0%, #fbfdfc 64%, #f1f8f5 100%);
}

.mg-catalog-card.is-accessory .mg-catalog-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.mg-catalog-card.is-accessory:hover .mg-catalog-card__media img {
  transform: scale(1.025);
}

.mg-catalog-card.is-accessory .mg-catalog-card__stock {
  top: 20px;
  right: 20px;
}

.mg-catalog-card.is-accessory .mg-catalog-card__body {
  min-height: 0;
  padding: 16px 17px 17px;
  flex: 1 1 auto;
}

.mg-catalog-card.is-accessory h3 {
  min-height: 41px;
  margin: 0;
  font-size: 15px;
  line-height: 1.36;
}

.mg-catalog-card.is-accessory h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}

.mg-catalog-card.is-accessory .mg-catalog-card__bottom {
  margin-top: auto;
  padding-top: 17px;
  align-items: center;
}

.mg-catalog-card.is-accessory .mg-catalog-card__price strong {
  font-size: 22px;
  line-height: 1;
}

.mg-catalog-card.is-accessory .mg-catalog-card__buy {
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 15px;
}

.mg-catalog-card.is-accessory .mg-catalog-card__buy i {
  margin: 0;
}

.mg-catalog-card.is-accessory .mg-catalog-card__buy span {
  display: none;
}

.mg-catalog-card.is-accessory .mg-catalog-card__availability-note {
  margin: 8px 0 0;
  font-size: 9px;
  line-height: 1.3;
}

/* New iPhone cards follow the compact used-device layout while keeping
   the new-device warranty and SIM format explicit. */
.mg-catalog-card.is-new-iphone {
  min-height: 0;
  height: 100%;
}

.mg-catalog-card.is-new-iphone .mg-catalog-card__media {
  height: 280px;
  padding: 24px 18px 16px;
}

.mg-catalog-card.is-new-iphone .mg-catalog-card__stock {
  top: 20px;
  right: 20px;
}

.mg-catalog-card.is-new-iphone .mg-catalog-card__body {
  min-height: 0;
  padding: 15px 17px 16px;
  flex: 1 1 auto;
}

.mg-catalog-card.is-new-iphone .mg-catalog-card__variant {
  margin-bottom: 10px;
}

.mg-catalog-card.is-new-iphone h3 {
  min-height: 40px;
  margin: 0;
}

.mg-catalog-card.is-new-iphone h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}

.mg-catalog-card.is-new-iphone .mg-catalog-card__bottom {
  margin-top: auto;
  padding-top: 16px;
  align-items: center;
}

.mg-catalog-card.is-new-iphone .mg-catalog-card__price strong {
  font-size: 22px;
  line-height: 1;
}

.mg-catalog-card.is-new-iphone .mg-catalog-card__buy {
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 15px;
}

.mg-catalog-card.is-new-iphone .mg-catalog-card__buy i {
  margin: 0;
}

.mg-catalog-card.is-new-iphone .mg-catalog-card__buy span {
  display: none;
}

@media (max-width: 767px) {
  .mg-catalog-toolbar {
    margin-bottom: 14px;
    display: block;
  }

  .mg-catalog-toolbar > div:first-child {
    display: none;
  }

  .mg-catalog-toolbar__actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .mg-filter-toggle,
  .mg-sort-control {
    width: 100%;
    height: 52px;
    min-width: 0;
    border-radius: 15px;
  }

  .mg-filter-toggle {
    padding: 0 14px;
    justify-content: center;
    color: #087658;
    border: 1px solid #b8e3d1;
    background: linear-gradient(135deg, #e2f7ee, #edf9f4);
    box-shadow: 0 7px 18px rgba(16,114,80,.07);
    font-size: 12px;
  }

  .mg-filter-toggle i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: #10ad6a;
    font-size: 12px;
  }

  .mg-sort-control {
    position: relative;
    padding: 0;
    overflow: hidden;
    display: block;
    border: 1px solid #d9e5e1;
    background: #f1f6f4;
    box-shadow: 0 7px 18px rgba(23,56,74,.035);
  }

  .mg-sort-control > span {
    display: none;
  }

  .mg-sort-control__icon {
    position: absolute;
    z-index: 1;
    left: 12px;
    top: 50%;
    display: block;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #087658;
    background: #dff2ea;
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .mg-sort-control select {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 28px 0 47px;
    border-radius: 14px;
    color: #49636b;
    background-color: transparent;
    font-size: 11px;
    font-weight: 750;
    text-overflow: ellipsis;
  }

  .mg-catalog-card.is-used {
    min-height: 0;
  }

  .mg-catalog-card.is-used .mg-catalog-card__media {
    height: 195px;
    padding: 25px 10px 8px;
  }

  .mg-catalog-card.is-used .mg-catalog-card__stock {
    top: 32px;
    right: 16px;
  }

  .mg-catalog-card.is-used .mg-catalog-card__body {
    min-height: 0;
    padding: 10px 11px 12px;
    flex: 0 0 auto;
  }

  .mg-catalog-card.is-used .mg-catalog-card__variant {
    margin-bottom: 7px;
  }

  .mg-catalog-card.is-used .mg-catalog-card__chips {
    gap: 4px;
  }

  .mg-catalog-card.is-used .mg-catalog-card__chips span {
    min-height: 23px;
    padding: 0 5px;
    display: inline-flex;
    font-size: 7.5px;
  }

  .mg-catalog-card.is-used .mg-catalog-card__chips span:last-child {
    display: none;
  }

  .mg-catalog-card.is-used h3 {
    min-height: 29px;
    font-size: 11px;
    line-height: 1.3;
  }

  .mg-catalog-card.is-used .mg-catalog-card__bottom {
    margin-top: 11px;
    padding-top: 0;
    align-items: center;
  }

  .mg-catalog-card.is-used .mg-catalog-card__price strong {
    font-size: 17px;
  }

  .mg-catalog-card.is-used .mg-catalog-card__buy {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .mg-catalog-card.is-used .mg-catalog-card__availability-note {
    margin: 7px 0 0;
    font-size: 8px;
  }

  .mg-catalog-card.is-accessory {
    min-height: 0;
  }

  .mg-catalog-card.is-accessory .mg-catalog-card__media {
    height: 195px;
    padding: 14px 10px 8px;
  }

  .mg-catalog-card.is-accessory .mg-catalog-card__stock {
    top: 9px;
    right: 9px;
  }

  .mg-catalog-card.is-accessory .mg-catalog-card__body {
    min-height: 0;
    padding: 11px 11px 12px;
  }

  .mg-catalog-card.is-accessory h3 {
    min-height: 30px;
    font-size: 11px;
    line-height: 1.32;
  }

  .mg-catalog-card.is-accessory .mg-catalog-card__bottom {
    padding-top: 12px;
  }

  .mg-catalog-card.is-accessory .mg-catalog-card__price strong {
    font-size: 17px;
  }

  .mg-catalog-card.is-accessory .mg-catalog-card__buy {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .mg-catalog-card.is-accessory .mg-catalog-card__availability-note {
    margin-top: 7px;
    font-size: 8px;
  }

  .mg-catalog-card.is-new-iphone {
    min-height: 0;
  }

  .mg-catalog-card.is-new-iphone .mg-catalog-card__media {
    height: 195px;
    padding: 14px 10px 8px;
  }

  .mg-catalog-card.is-new-iphone .mg-catalog-card__stock {
    top: 9px;
    right: 9px;
  }

  .mg-catalog-card.is-new-iphone .mg-catalog-card__body {
    min-height: 0;
    padding: 10px 11px 12px;
  }

  .mg-catalog-card.is-new-iphone .mg-catalog-card__variant {
    margin-bottom: 7px;
  }

  .mg-catalog-card.is-new-iphone .mg-catalog-card__chips {
    gap: 4px;
  }

  .mg-catalog-card.is-new-iphone .mg-catalog-card__chips span {
    min-height: 23px;
    padding: 0 5px;
    font-size: 7.5px;
  }

  .mg-catalog-card.is-new-iphone .mg-catalog-card__chips span:last-child {
    display: none;
  }

  .mg-catalog-card.is-new-iphone h3 {
    min-height: 29px;
    font-size: 11px;
    line-height: 1.3;
  }

  .mg-catalog-card.is-new-iphone .mg-catalog-card__bottom {
    margin-top: 11px;
    padding-top: 0;
  }

  .mg-catalog-card.is-new-iphone .mg-catalog-card__price strong {
    font-size: 17px;
  }

  .mg-catalog-card.is-new-iphone .mg-catalog-card__buy {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }
}
