/* Shipping CTA in VDP card */
.vdp-spec-section__shipping {
  border: 2px solid #d64e00 !important;
  border-radius: 4px !important;
  background: rgba(214, 78, 0, 0.08);
  margin: 0 auto 22px !important;
  padding: 0 !important;
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vdp-spec-section__shipping:hover {
  background: rgba(214, 78, 0, 0.16);
}

.vdp-spec-section__shipping .shipping-quote-link {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 14px 16px !important;
  margin: 0 !important;
  text-decoration: none !important;
  text-align: center;
  transform: none !important;
}

.vdp-spec-section__shipping .shipping-quote-link:hover {
  color: #fff !important;
  transform: none !important;
}

.shipping-quote-link__label {
  display: block;
  font-family: "Roboto Condensed", "Gotham", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d64e00;
}

.shipping-quote-link__action {
  display: block;
  font-family: "Roboto Condensed", "Gotham", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.vdp-spec-section__shipping .shipping-quote-link:hover .shipping-quote-link__action {
  color: #d64e00;
}

/* CTA выше Shipping Info */
.vdp-spec-section__body > .vdp-spec-section__cta {
  margin-bottom: 16px !important;
}


body .cc-footer {
  margin-top: 0;
}

/* Vehicle title — clearer hierarchy and spacing */
.vdp-vehicle-name {
  padding: 28px 0 20px !important;
}

.vdp-vehicle-name h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 4px !important;
  line-height: 1.15;
}

.vdp-vehicle-name__year-make {
  display: block;
  margin: 0;
  letter-spacing: 0.02em;
}

.vdp-vehicle-name__model-submodel {
  display: block;
  margin: 2px 0 0;
  padding-top: 4px;
  color: #d64e00;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Info tabs — make headers identical */
.vdp-info-tabs-headers-container {
  display: flex !important;
  gap: 5px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vdp-info-tabs-headers-container .vdp-info-tabs-header {
  width: 100% !important;
  height: 80px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: #2c2c2c !important;
  cursor: pointer !important;
  clip-path: polygon(30px 0, 100% 0, calc(100% - 30px) 100%, 0% 100%) !important;
  margin-left: -20px !important;
  transition: all 0.1s linear !important;
}

.vdp-info-tabs-headers-container .vdp-info-tabs-header:first-child {
  clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0% 100%) !important;
  margin-left: 0 !important;
}

.vdp-info-tabs-headers-container .vdp-info-tabs-header:last-child {
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0% 100%) !important;
  margin-left: -20px !important;
}

/* With only 2 tabs, keep both ends clean */
.vdp-info-tabs-headers-container .vdp-info-tabs-header:first-child:last-child {
  clip-path: none !important;
  margin-left: 0 !important;
}

.vdp-info-tabs-headers-container .vdp-info-tabs-header:hover {
  width: 100% !important; /* avoid "jump" */
  background-color: #2c2c2c !important;
}

.vdp-info-tabs-headers-container .vdp-info-tabs-header.active {
  background-color: #d64e00 !important;
}

.vdp-info-tabs-headers-container .vdp-info-tabs-header.active:hover {
  background-color: #d64e00 !important;
}

.vdp-info-tabs-headers-container .vdp-info-tabs-header p {
  margin: 0 !important;
  font-style: normal !important;
  font-weight: bold !important;
  font-size: 24px !important;
  color: #fff !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}

@media (max-width: 1200px) {
  .vdp-info-tabs-headers-container {
    flex-direction: column !important;
    gap: 5px !important;
  }

  .vdp-info-tabs-headers-container .vdp-info-tabs-header {
    clip-path: unset !important;
    margin: unset !important;
    width: 100% !important;
    height: 64px !important;
  }

  .vdp-info-tabs-headers-container .vdp-info-tabs-header:first-child,
  .vdp-info-tabs-headers-container .vdp-info-tabs-header:last-child {
    clip-path: unset !important;
    margin: unset !important;
  }

  .vdp-info-tabs-headers-container .vdp-info-tabs-header:hover {
    width: 100% !important;
  }
}

.vdp-info-tabs-section.hidden {
  display: none !important;
}

.vdp-info-tabs-sections-container {
  margin-top: 0 !important;
}

/* Description / Specs — keep original Sarina headings, open content */
.vdp-description__body,
.vdp-specs__body {
  max-height: none !important;
  overflow: visible !important;
}

.vdp-description__body:after,
.vdp-specs__body:after {
  display: none !important;
  content: none !important;
}

.vdp-description__cta,
.vdp-specs__cta,
.vdp-calculator__head {
  display: none !important;
}

/* Finance calculator — cleaner layout */
.vdp-calculator__body {
  padding: 28px 0 40px !important;
}

.vdp-calculator__body .calculator .calc-block {
  display: flex !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.vdp-calculator__body .calculator .calc-block .calc {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 720px !important;
  background-color: #282828 !important;
  padding: 28px 28px 12px !important;
  box-sizing: border-box !important;
}

.vdp-calculator__body .calculator .calc-block .calc h2 {
  display: none !important;
}

.vdp-calculator-interest-payment {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  align-items: end;
  margin-bottom: 8px;
}

.vdp-calculator-interest-payment label {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
}

.vdp-calculator-interest-payment .dpayment-label {
  position: relative !important;
}

.vdp-calculator-interest-payment .dpayment-label:before {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #d64e00 !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  content: "$" !important;
}

.vdp-calculator-interest-payment #dpayment {
  margin-left: 0 !important;
  padding-left: 60px !important;
  height: 48px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  background: #fff !important;
  color: #111 !important;
  border: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.vdp-calculator-interest-payment .interest-value {
  margin: 0 !important;
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.vdp-calculator-interest-payment #interest {
  width: 100% !important;
  padding: 8px 0 !important;
  accent-color: #d64e00;
}

.loan-lable {
  display: block !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
}

.loan-lable .loan-container {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

.loan-lable .loan-container .vdp-calculator-term-button {
  width: auto !important;
  height: 52px !important;
  border-radius: 0 !important;
  background-color: #4f4f4f !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease !important;
}

.loan-lable .loan-container .vdp-calculator-term-button:hover {
  background-color: #792c00 !important;
}

.loan-lable .loan-container .vdp-calculator-term-button.active {
  background-color: #d64e00 !important;
}

.monthly-payment-label {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  border-top: 1px solid #4f4f4f !important;
  border-bottom: 1px solid #4f4f4f !important;
  margin: 24px 0 18px !important;
  padding: 14px 0 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}

.monthly-payment-label #monthly {
  width: auto !important;
  min-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-align: right !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vdp-calculator__body .calc-btns {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 8px auto 0 !important;
  max-width: 720px !important;
}

@media (max-width: 700px) {
  .vdp-calculator-interest-payment {
    grid-template-columns: 1fr !important;
  }

  .loan-lable .loan-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .vdp-calculator__body .calculator .calc-block .calc {
    padding: 22px 18px 10px !important;
  }

  .monthly-payment-label {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .monthly-payment-label #monthly {
    text-align: left !important;
    font-size: 22px !important;
  }
}

@media (max-width: 1200px) {
  .vdp-info-tabs-headers-container {
    flex-direction: column !important;
    gap: 6px !important;
  }

  .vdp-info-tabs-headers-container .vdp-info-tabs-header {
    height: 56px !important;
  }
}

/* Sticky scroll bar — Streetside-style, Crown Classics colors */
.vdp-top-bar {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: #fff;
  box-shadow: 0 4px 18px rgba(24, 25, 31, 0.14);
  transform: translateY(-110%);
  transition: transform 0.28s ease;
  pointer-events: none;
  visibility: hidden;
}

.vdp-top-bar.is-visible {
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.vdp-top-bar__inner {
  display: flex;
  align-items: stretch;
  min-height: 88px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 0 0 16px;
}

.vdp-top-bar__image {
  display: flex;
  align-items: center;
  margin: 0 18px 0 0 !important;
  flex-shrink: 0;
}

.vdp-top-bar__image img {
  display: block;
  width: 110px;
  height: 72px;
  max-height: none !important;
  object-fit: cover;
}

.vdp-top-bar__stock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 22px;
  flex-shrink: 0;
  line-height: 1.2;
}

.vdp-top-bar__stock-label {
  font-size: 12px;
  color: #8a8a8a;
  font-weight: 500;
}

.vdp-top-bar__stock-value {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.02em;
}

.vdp-top-bar__name {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 20px;
  font-size: clamp(18px, 1.6vw, 28px);
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vdp-top-bar__price-tag {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 12px;
  margin-right: 24px;
  padding: 10px 16px;
  flex-shrink: 0;
  border: 2px solid #d64e00;
  background: #fff;
}

.vdp-top-bar__price-old {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: #666;
  line-height: 1;
}

.vdp-top-bar__price-old::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: #d64e00;
  transform: translateY(-50%);
}

.vdp-top-bar__price-new {
  font-size: 22px;
  font-weight: 800;
  color: #d64e00;
  line-height: 1;
}

.vdp-top-bar__phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1.2;
  text-align: right;
}

.vdp-top-bar__phone-label {
  font-size: 12px;
  color: #8a8a8a;
}

.vdp-top-bar__phone-link {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.vdp-top-bar__phone-link:hover {
  color: #d64e00 !important;
}

.vdp-top-bar__message {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: 0 !important;
  padding: 12px 28px;
  flex-shrink: 0;
  background: #d64e00;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  line-height: 1.25;
  transition: background 0.2s ease, filter 0.2s ease;
}

.vdp-top-bar__message:hover {
  background: #b84200;
  color: #fff !important;
  filter: brightness(1.05);
}

@media (max-width: 1200px) {
  .vdp-top-bar__name {
    font-size: 18px;
  }

  .vdp-top-bar__phone {
    display: none;
  }

  .vdp-top-bar__price-tag {
    margin-right: 12px;
    padding: 8px 12px;
  }

  .vdp-top-bar__price-old {
    font-size: 15px;
  }

  .vdp-top-bar__price-new {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .vdp-top-bar__inner {
    min-height: 72px;
    padding-left: 10px;
  }

  .vdp-top-bar__image img {
    width: 84px;
    height: 56px;
  }

  .vdp-top-bar__stock {
    display: none;
  }

  .vdp-top-bar__name {
    font-size: 15px;
    margin-right: 10px;
  }

  .vdp-top-bar__price-old {
    display: none;
  }

  .vdp-top-bar__message {
    padding: 10px 16px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .vdp-top-bar__image {
    margin-right: 10px !important;
  }

  .vdp-top-bar__name {
    display: none;
  }

  .vdp-top-bar__price-tag {
    margin-right: auto;
    margin-left: 0;
  }

  .vdp-top-bar__message {
    padding: 10px 14px;
    font-size: 11px;
  }
}
