.auto-page {
  min-height: 100vh;
  color: #ffffff;
  background:
    radial-gradient(ellipse at 10% 8%, rgba(30,136,229,0.09), transparent 45%),
    radial-gradient(ellipse at 90% 30%, rgba(46,204,113,0.06), transparent 45%),
    #05070c;
}

/* breadcrumbs */

.auto-page .breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 34px 0 0;
  margin-bottom: 24px;
  color: #7f8794;
  font-size: 14px;
}

.auto-page .breadcrumbs a {
  color: #b0b3bd;
  text-decoration: none;
  transition: 0.2s ease;
}

.auto-page .breadcrumbs a:hover {
  color: #2ecc71;
}

.auto-page .breadcrumbs .separator {
  color: #46505f;
}

.auto-main {
  padding-bottom: 70px;
}

/* hero */

.auto-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 30px;
  align-items: start;
  padding: 20px 0 56px;
}

/* gallery */

.auto-gallery {
  min-width: 0;
}

.auto-main-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #0f1219;
  border: 1px solid rgba(30,136,229,0.18);
}

.auto-main-slider {
  display: flex;
  width: 100%;
  transition: transform 0.32s ease;
  will-change: transform;
}

.auto-main-slide {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;
}

.auto-main-image {
  width: 100%;
  height: 560px;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

.auto-open-photo {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(5, 7, 12, 0.72);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
  backdrop-filter: blur(8px);
}

.auto-open-photo:hover {
  background: #2ecc71;
  border-color: #2ecc71;
  color: #05070c;
}

.auto-main-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 64px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: rgba(5, 7, 12, 0.68);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
  backdrop-filter: blur(8px);
}

.auto-main-arrow.prev {
  left: 16px;
}

.auto-main-arrow.next {
  right: 16px;
}

.auto-main-arrow:hover {
  background: rgba(46,204,113,0.9);
  border-color: rgba(46,204,113,0.9);
  color: #05070c;
}

.auto-main-counter {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  min-height: 34px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(5, 7, 12, 0.78);
  border: 1px solid rgba(255,255,255,0.10);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(8px);
}

.auto-notice {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(5, 7, 12, 0.82);
  border: 1px solid rgba(30,136,229,0.28);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.auto-notice + .auto-main-counter {
  bottom: 68px;
}

.auto-sold-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(5, 7, 12, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auto-sold-overlay span {
  padding: 16px 26px;
  border-radius: 999px;
  background: rgba(46,204,113,0.14);
  border: 1px solid rgba(46,204,113,0.35);
  color: #2ecc71;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.auto-gallery-strip {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.gallery-arrow {
  width: 44px;
  height: 76px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(15, 18, 25, 0.85);
  color: #ffffff;
  cursor: pointer;
  font-size: 32px;
  transition: 0.2s ease;
}

.gallery-arrow:hover {
  background: rgba(30,136,229,0.14);
  border-color: rgba(30,136,229,0.34);
}

.auto-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.auto-thumbs::-webkit-scrollbar {
  display: none;
}

.auto-thumb {
  flex: 0 0 112px;
  height: 76px;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0f1219;
  cursor: pointer;
  opacity: 0.62;
  transition: 0.2s ease;
}

.auto-thumb.active,
.auto-thumb:hover {
  opacity: 1;
  border-color: #2ecc71;
}

.auto-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* lightbox */

body.auto-lightbox-open {
  overflow: hidden;
}

.auto-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.auto-lightbox.show {
  display: flex;
}

.auto-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  cursor: pointer;
}

.auto-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  height: calc(100vh - 44px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auto-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 22px;
  object-fit: contain;
  background: #05070c;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}

.auto-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: rgba(5,7,12,0.78);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
  backdrop-filter: blur(8px);
}

.auto-lightbox-close:hover {
  color: #05070c;
  background: #2ecc71;
  border-color: #2ecc71;
}

.auto-lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 72px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  background: rgba(5,7,12,0.72);
  color: #ffffff;
  font-size: 38px;
  cursor: pointer;
  transition: 0.2s ease;
  backdrop-filter: blur(8px);
}

.auto-lightbox-arrow.prev {
  left: 18px;
}

.auto-lightbox-arrow.next {
  right: 18px;
}

.auto-lightbox-arrow:hover {
  color: #05070c;
  background: #2ecc71;
  border-color: #2ecc71;
}

.auto-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  transform: translateX(-50%);
  min-height: 36px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(5,7,12,0.78);
  border: 1px solid rgba(255,255,255,0.14);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(8px);
}

/* info card */

.auto-info-card {
  position: sticky;
  top: 105px;
  padding: 30px;
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(30,136,229,0.14), transparent 50%),
    #0f1219;
  border: 1px solid rgba(30,136,229,0.18);
}

.auto-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.auto-share-btn {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  color: #ffffff;
  cursor: pointer;
  transition: 0.2s ease;
}

.auto-share-btn:hover,
.auto-share-btn.copied {
  color: #05070c;
  background: #2ecc71;
  border-color: #2ecc71;
}

.auto-info-card h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.auto-prices {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 18px;
}

.auto-price-main {
  color: #1e88e5;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 12px;
}

.auto-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auto-price-row span {
  color: #cbd5e6;
  font-size: 14px;
  font-weight: 700;
}

.auto-price-row span:last-child {
  color: #b9f6ca;
}

.auto-address {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 16px;
  transition: 0.2s ease;
}

.auto-address:hover {
  border-color: rgba(46,204,113,0.35);
  background: rgba(46,204,113,0.06);
}

.auto-address-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(30,136,229,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auto-address small {
  display: block;
  color: #8f96a3;
  font-size: 12px;
  margin-bottom: 4px;
}

.auto-address strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.35;
}

.auto-address-arrow {
  margin-left: auto;
  color: #2ecc71;
  font-weight: 900;
}

.auto-quick-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 20px;
}

.auto-quick-specs div {
  min-width: 0;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.055);
}

.auto-quick-specs span {
  display: block;
  margin-bottom: 4px;
  color: #8f96a3;
  font-size: 11px;
  line-height: 1.15;
}

.auto-quick-specs strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.auto-buttons {
  display: grid;
  gap: 12px;
}

.auto-btn,
.auto-side-btn,
.auto-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  transition: 0.2s ease;
  text-align: center;
}

.auto-btn.primary,
.auto-side-btn,
.auto-cta-btn {
  background: #2ecc71;
  color: #05070c;
}

.auto-btn.primary:hover,
.auto-side-btn:hover,
.auto-cta-btn:hover {
  background: #35e47f;
  transform: translateY(-1px);
}

.auto-btn.secondary {
  background: #1e88e5;
  color: #ffffff;
}

.auto-btn.secondary:hover {
  background: #2a9bff;
  transform: translateY(-1px);
}

.auto-btn.outline {
  color: #cbd5e6;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.035);
}

.auto-btn.outline:hover {
  color: #ffffff;
  border-color: rgba(30,136,229,0.4);
  background: rgba(30,136,229,0.1);
}

/* details */

.auto-details-section {
  padding: 10px 0 56px;
}

.auto-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.auto-details-card,
.auto-side-card {
  border-radius: 30px;
  background: rgba(15, 18, 25, 0.82);
  border: 1px solid rgba(30,136,229,0.14);
}

.auto-details-card {
  padding: 28px;
}

.auto-description-head {
  margin-bottom: 18px;
}

.auto-description-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.12;
  font-weight: 900;
}

.auto-description {
  color: #cbd5e6;
  line-height: 1.75;
}

.auto-description p {
  margin-top: 0;
}

.auto-side-card {
  padding: 28px;
  position: sticky;
  top: 105px;
}

.auto-side-badge {
  display: inline-flex;
  padding: 7px 14px;
  margin-bottom: 16px;
  border-radius: 40px;
  background: rgba(30,136,229,0.15);
  border: 1px solid rgba(30,136,229,0.3);
  color: #7ac4ff;
  font-size: 13px;
  font-weight: 700;
}

.auto-side-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.1;
}

.auto-side-card p {
  margin: 0 0 20px;
  color: #aeb6c4;
  line-height: 1.6;
}

.auto-side-points {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.auto-side-points div {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  color: #cbd5e6;
  font-size: 14px;
}

.auto-side-btn {
  width: 100%;
}

/* related */

.auto-related-section,
.auto-benefits-section {
  padding: 56px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 34px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #9da1ab;
  line-height: 1.5;
}

.auto-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* benefits */

.auto-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.auto-benefit-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(15, 18, 25, 0.82);
  border: 1px solid rgba(255,255,255,0.06);
}

.auto-benefit-card > div {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(30,136,229,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.auto-benefit-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.auto-benefit-card p {
  margin: 0;
  color: #9da1ab;
  font-size: 14px;
  line-height: 1.5;
}

/* cta */

.auto-cta-section {
  padding: 20px 0 70px;
}

.auto-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 36px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(30,136,229,0.18), transparent 50%),
    linear-gradient(105deg, #0b111e, #070b12);
  border: 1px solid rgba(30,136,229,0.24);
}

.auto-cta-content {
  max-width: 760px;
}

.auto-cta-badge {
  display: inline-flex;
  padding: 7px 14px;
  margin-bottom: 16px;
  border-radius: 40px;
  background: rgba(30,136,229,0.15);
  border: 1px solid rgba(30,136,229,0.3);
  color: #7ac4ff;
  font-size: 13px;
  font-weight: 700;
}

.auto-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}

.auto-cta p {
  margin: 0;
  color: #aeb6c4;
  font-size: 16px;
  line-height: 1.6;
}

.auto-cta-action {
  flex-shrink: 0;
}

/* adaptive */

@media (max-width: 1200px) {
  .auto-hero,
  .auto-details-grid {
    grid-template-columns: 1fr;
  }

  .auto-info-card,
  .auto-side-card {
    position: static;
  }

  .auto-related-grid,
  .auto-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auto-quick-specs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .auto-page .breadcrumbs {
    padding-top: 24px;
    margin-bottom: 18px;
    font-size: 13px;
  }

  .auto-hero {
    gap: 20px;
    padding: 12px 0 42px;
  }

  .auto-main-image {
    height: 360px;
  }

  .auto-main-slider-wrap,
  .auto-info-card,
  .auto-details-card,
  .auto-side-card {
    border-radius: 24px;
  }

  .auto-open-photo {
    left: 12px;
    top: 12px;
    min-height: 34px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .auto-main-arrow {
    width: 40px;
    height: 56px;
    border-radius: 15px;
    font-size: 30px;
  }

  .auto-main-arrow.prev {
    left: 10px;
  }

  .auto-main-arrow.next {
    right: 10px;
  }

  .auto-main-counter {
    right: 12px;
    bottom: 12px;
  }

  .auto-notice {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 92px);
    border-radius: 16px;
  }

  .auto-info-card {
    padding: 24px;
  }

  .auto-title-row {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 12px;
  }

  .auto-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .auto-gallery-strip {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .gallery-arrow {
    width: 38px;
    height: 66px;
    border-radius: 15px;
  }

  .auto-thumb {
    flex-basis: 96px;
    height: 66px;
    border-radius: 15px;
  }

  .auto-price-main {
    font-size: 30px;
  }

  .auto-quick-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .auto-quick-specs div {
    padding: 10px;
    border-radius: 14px;
  }

  .auto-quick-specs span {
    font-size: 10.5px;
  }

  .auto-quick-specs strong {
    font-size: 12.5px;
  }

  .auto-details-card {
    padding: 24px;
  }

  .auto-lightbox {
    padding: 12px;
  }

  .auto-lightbox-dialog {
    height: calc(100vh - 24px);
  }

  .auto-lightbox-image {
    border-radius: 16px;
  }

  .auto-lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .auto-lightbox-arrow {
    width: 42px;
    height: 58px;
    border-radius: 16px;
    font-size: 32px;
  }

  .auto-lightbox-arrow.prev {
    left: 10px;
  }

  .auto-lightbox-arrow.next {
    right: 10px;
  }

  .auto-lightbox-counter {
    bottom: 12px;
  }

  .auto-related-section,
  .auto-benefits-section {
    padding: 42px 0;
  }

  .auto-related-grid,
  .auto-benefits-grid {
    grid-template-columns: 1fr;
  }

  .auto-cta-section {
    padding: 10px 0 48px;
  }

  .auto-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
    border-radius: 24px;
  }

  .auto-cta-action,
  .auto-cta-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .auto-main-image {
    height: 285px;
  }

  .auto-info-card h1 {
    font-size: 29px;
  }

  .auto-info-card {
    padding: 20px;
  }

  .auto-prices {
    padding: 18px;
  }

  .auto-address {
    padding: 13px;
  }

  .auto-quick-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auto-details-card {
    padding: 22px;
  }

  .auto-side-card {
    padding: 22px;
  }

  .auto-cta h2 {
    font-size: 30px;
  }
}

@media (max-width: 380px) {
  .auto-main-image {
    height: 250px;
  }

  .auto-open-photo span {
    display: none;
  }

  .auto-quick-specs {
    gap: 7px;
  }

  .auto-quick-specs div {
    padding: 9px;
  }

  .auto-quick-specs strong {
    font-size: 12px;
  }
}