@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

.aeip-vd {
  --navy: #0b2545;
  --harbor: #134074;
  --steel: #c4d3e0;
  --steel-light: #eaf0f5;
  --canvas: #f7f5ef;
  --card: #ffffff;
  --ink: #14213d;
  --ink-muted: #5c6b82;
  --orange: #e85d2c;
  --black-dark: #b8431a;
  --whatsapp: #25a35a;
  --amber: #8a5a0b;
  --amber-bg: #faeeda;
  --teal: #0f6e56;
  --teal-bg: #e1f5ee;
  --radius: 10px;
  --black: #000;

  font-family: "Inter", sans-serif;
  color: var(--ink);
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
  box-sizing: border-box;
}

.aeip-vd * {
  box-sizing: border-box;
}

.aeip-vd-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
  align-items: start;
}

/* ===== GALLERY ===== */
.aeip-gallery-main {
  background: var(--steel-light);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  height: 480px; /* Standardize viewport height for better premium look */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}

.aeip-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation arrows for gallery slider matching SBT design */
.aeip-gallery-main .aeip-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 37, 69, 0.6);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  user-select: none;
  z-index: 5;
}

.aeip-gallery-main .aeip-slider-arrow:hover {
  background: rgba(232, 93, 44, 0.9);
}

.aeip-gallery-main .aeip-slider-prev {
  left: 15px;
}

.aeip-gallery-main .aeip-slider-arrow.aeip-slider-prev::after {
  content: "\2039";
}

.aeip-gallery-main .aeip-slider-next {
  right: 15px;
}

.aeip-gallery-main .aeip-slider-arrow.aeip-slider-next::after {
  content: "\203A";
}

.aeip-thumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.aeip-thumbs img {
  width: 74px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
}

.aeip-thumbs img.active {
  border-color: var(--black);
}

.aeip-download-photos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--black);
  color: var(--black);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 7px;
  cursor: pointer;
  margin-bottom: 20px;
  text-decoration: none !important;
}

/* ===== CARD ===== */
.aeip-card {
  background: var(--card);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 18px;
}

.aeip-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14.5px;
  margin: 0 0 14px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.aeip-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.aeip-kv-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aeip-kv-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eeebe2;
}

.aeip-kv-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.aeip-kv-row .k {
  color: var(--ink-muted);
}

.aeip-kv-row .v {
  font-weight: 600;
}

.aeip-kv-row .colors {
  display: flex;
  gap: 6px;
}

.aeip-kv-row .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* ===== CAR OPTIONS ===== */
.aeip-opt-group {
  margin-bottom: 18px;
}

.aeip-opt-group:last-child {
  margin-bottom: 0;
}

.aeip-opt-group h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--harbor);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.aeip-opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.aeip-opt-item {
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  border: 1px solid var(--steel);
}

.aeip-opt-item.filled {
  background: #fff;
  color: var(--ink);
  font-weight: 500;
}

.aeip-opt-item.empty {
  background: var(--steel-light);
  color: var(--ink-muted);
  opacity: 0.55;
}

/* Tooltip overlay styling matching the main layout */
.aeip-opt-item .ae-option-info-trigger {
  float: right;
  background: var(--steel);
  color: var(--navy);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}

.aeip-opt-item .ae-tooltip-content {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  width: 220px;
  z-index: 999;
  font-size: 11.5px;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aeip-opt-item .ae-option-info-trigger:hover .ae-tooltip-content {
  display: block;
}

/* ===== REMARKS / OVERVIEW ===== */
.aeip-prose {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ===== RIGHT COLUMN ===== */
.aeip-vd-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.aeip-stock-badge {
  display: inline-block;
  border: 1.5px solid var(--black);
  color: var(--black);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
}

.aeip-share {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.aeip-loc {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.aeip-vd-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--navy);
}

.aeip-vd-tags {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.aeip-vd-tags .dot-sep {
  margin: 0 6px;
}

.aeip-vd-social {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.aeip-vd-social .stars {
  color: #e8a93c;
}

.aeip-vd-social span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.aeip-vd-social button.ae-btn-favorite {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ink-muted);
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.aeip-vd-social button.ae-btn-favorite.active {
  color: var(--black);
}

.aeip-price-block {
  margin-bottom: 16px;
}

.aeip-price-block .old {
  color: var(--ink-muted);
  text-decoration: line-through;
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

.aeip-price-block .now {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
}

.aeip-price-block .now-sub {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.aeip-quickspecs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 18px;
}

.aeip-quickspecs .item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eeebe2;
}

.aeip-quickspecs .k {
  color: var(--ink-muted);
}

.aeip-quickspecs .v {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
}

.aeip-alert-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--steel-light);
  border: 1px solid var(--steel);
  border-radius: 8px;
  padding: 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--harbor);
  margin-bottom: 18px;
  cursor: pointer;
  text-decoration: none !important;
}

/* ===== CALCULATOR ===== */
.aeip-calc {
  background: var(--card);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
}

.aeip-calc-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.aeip-calc-title h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13.5px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.aeip-calc-title .ae-currency-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-muted);
}

.aeip-calc-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.aeip-calc-price-row .k {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.aeip-calc-price-row .v {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  font-size: 15px;
}

.aeip-calc-contact-note {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.aeip-whatsapp-btn {
  width: 100%;
  background: var(--whatsapp);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 18px;
  text-decoration: none !important;
}

.aeip-calc-field {
  margin-bottom: 14px;
}

.aeip-calc-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.aeip-select-wrap {
  position: relative;
}

.aeip-select-wrap select {
  width: 100%;
  padding: 9px 30px 9px 12px;
  border: 1px solid var(--steel);
  border-radius: 7px;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
}

.aeip-select-wrap select:focus {
  outline: 2px solid var(--harbor);
  outline-offset: 1px;
}

.aeip-select-wrap svg {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.55;
}

.aeip-radio-row {
  display: flex;
  gap: 20px;
}

.aeip-radio {
  display: flex !important;
  align-items: center;
  gap: 7px;
  font-size: 13.5px !important;
  cursor: pointer;
  color: var(--ink) !important;
}

.aeip-radio input {
  width: 15px;
  height: 15px;
  accent-color: var(--black);
  cursor: pointer;
  margin: 0;
}

.aeip-total-block {
  border-top: 1px solid var(--steel);
  padding-top: 16px;
  margin-top: 6px;
}

.aeip-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.aeip-total-row .k {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.aeip-total-row .v {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--black);
}

.aeip-pricing-toggle {
  background: none !important;
  border: none !important;
  color: var(--harbor) !important;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  padding: 0;
}
.aeip-pricing-toggle:hover,
.aeip-pricing-toggle:focus {
  background: transparent !important;
}

.aeip-pricing-toggle svg {
  transition: transform 0.15s ease;
}

.aeip-pricing-toggle.open svg {
  transform: rotate(180deg);
}

.aeip-pricing-detail {
  display: none;
  background: var(--steel-light);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.aeip-pricing-detail.open {
  display: block;
}

.aeip-pricing-detail .row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 5px 0;
}

.aeip-pricing-detail .row .v {
  color: var(--black);
  font-weight: 600;
}

.aeip-ask-box {
  border: 1.5px solid var(--black);
  border-radius: 9px;
  padding: 16px;
  text-align: center;
}

.aeip-ask-box .headline {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--black);
  margin-bottom: 10px;
}

.aeip-estimate-btn {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--black);
  color: var(--black);
  border-radius: 7px;
  padding: 11px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aeip-estimate-btn:hover {
  background: var(--black);
  color: #fff;
}

/* Disabled reserve styling */
.aeip-estimate-btn[disabled] {
  background-color: #94a3b8 !important;
  border-color: #94a3b8 !important;
  color: #fff !important;
  cursor: not-allowed !important;
}

/* ===== REVIEWS ===== */
.aeip-reviews-head {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--navy);
}

.aeip-review-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.aeip-review-summary .score {
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
}

.aeip-review-summary .stars {
  color: #e8a93c;
  font-size: 14px;
}

.aeip-review-summary .sub {
  font-size: 12px;
  color: var(--ink-muted);
}

.aeip-review-summary .note {
  font-size: 12.5px;
  color: var(--ink-muted);
  border-left: 1px solid var(--steel);
  padding-left: 20px;
}

.aeip-review-card {
  background: var(--card);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.aeip-review-card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.aeip-review-card .name {
  font-weight: 600;
  font-size: 13.5px;
}

.aeip-review-card .date {
  font-size: 12px;
  color: var(--ink-muted);
}

.aeip-review-card .stars {
  color: #e8a93c;
  font-size: 13px;
  margin-bottom: 6px;
}

.aeip-review-card .body {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.aeip-write-review {
  background: var(--card);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 16px;
  margin-bottom: 50px;
}

.aeip-write-review h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14.5px;
  margin: 0 0 14px;
}

.aeip-star-picker {
  display: flex;
  gap: 6px;
  font-size: 22px;
  color: var(--steel);
  margin-bottom: 14px;
  cursor: pointer;
  user-select: none;
}

.aeip-star-picker span.active {
  color: #e8a93c;
}

.aeip-write-review textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--steel);
  border-radius: 7px;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  resize: vertical;
  margin-bottom: 14px;
}

.aeip-write-review textarea:focus {
  outline: 2px solid var(--harbor);
  outline-offset: 1px;
}

.aeip-post-review-btn {
  background: #fff;
  border: 1.5px solid var(--black);
  color: var(--black);
  border-radius: 7px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aeip-post-review-btn:hover {
  background: var(--black);
  color: #fff;
}

/* ===== MODAL: GET AN ESTIMATE ===== */
.aeip-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.65);
  z-index: 99999;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}

.aeip-modal-overlay.open {
  display: flex;
}

.aeip-modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 460px;
  padding: 28px 28px 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.aeip-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  font-size: 20px;
  line-height: 1;
  padding: 0;
}
.aeip-modal-close:hover,
.aeip-modal-close:focus {
  background: transparent !important;
  color: var(--black-dark);
}

.aeip-modal h2 {
  font-family: "Space Grotesk", sans-serif;
  text-align: center;
  font-size: 20px;
  margin: 0 0 20px;
  color: var(--navy);
}

.aeip-modal-vehicle {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--steel-light);
  border: 1px solid var(--steel);
  border-radius: 9px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.aeip-modal-vehicle img {
  width: 74px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.aeip-modal-vehicle .name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
}

.aeip-modal-vehicle .stock {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 3px 0;
}

.aeip-modal-vehicle .price {
  font-weight: 600;
  font-size: 13.5px;
}

.aeip-modal-total {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.aeip-modal-hint {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin: 0 0 18px;
}

.aeip-mfield {
  margin-bottom: 16px;
}

.aeip-mfield label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.aeip-mfield input,
.aeip-mfield textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--steel);
  border-radius: 7px;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  background: #fff;
}

.aeip-mfield input:focus,
.aeip-mfield textarea:focus {
  outline: 2px solid var(--harbor);
  outline-offset: 1px;
}

.aeip-phone-row {
  display: flex;
  gap: 8px;
}

.aeip-phone-row select {
  width: 78px;
  padding: 10px 6px;
  border: 1px solid var(--steel);
  border-radius: 7px;
  font-size: 13px;
  background: #fff;
  color: var(--ink);
}

.aeip-phone-row input {
  flex: 1;
}

.aeip-mfield .note {
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 5px;
}

.aeip-mcheck {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  margin-bottom: 18px;
  cursor: pointer;
  color: var(--ink-muted);
}

.aeip-mcheck input {
  width: 17px;
  height: 17px;
  accent-color: var(--black);
  margin-top: 1px;
  cursor: pointer;
}

.aeip-modal-submit {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--black);
  color: var(--black);
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aeip-modal-submit:hover {
  background: var(--black);
  color: #fff;
}

.aeip-form-response {
  margin-top: 12px;
  font-size: 13.5px;
  text-align: center;
  font-weight: 600;
}

.aeip-form-response.success {
  color: var(--teal);
}

.aeip-form-response.error {
  color: var(--black-dark);
}

@media (max-width: 880px) {
  .aeip-vd-grid {
    grid-template-columns: 1fr;
  }

  .aeip-cards-row {
    grid-template-columns: 1fr;
  }

  .aeip-opt-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== OPTION HOVER POPUP ===== */
#ae-option-hover-popup {
  display: none;
  position: absolute;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  width: 260px;
  padding: 15px;
  z-index: 100000;
  font-family: sans-serif;
  pointer-events: none;
}
#ae-option-hover-popup .popup-image-wrap {
  border: 1px solid #ef4444;
  border-radius: 6px;
  overflow: hidden;
  height: 160px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
#ae-option-hover-popup .popup-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#ae-option-hover-popup .popup-desc {
  margin: 0;
  font-size: 12px;
  color: #334155;
  line-height: 1.5;
  font-weight: 500;
}

/* ===== SHARE MODAL ===== */
#ae-custom-share-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 99999 !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 20px !important;
}
#ae-custom-share-modal .ae-modal {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 30px !important;
  width: 400px !important;
  max-width: 100% !important;
  position: relative !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
#ae-custom-share-modal h3 {
  margin-top: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 10px;
}
#ae-custom-share-modal .share-vehicle-title {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 20px;
}
#ae-custom-share-modal .share-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
#ae-custom-share-modal .share-grid-row a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
#ae-custom-share-modal .share-grid-row span {
  font-size: 11px;
  font-weight: 600;
}
#ae-custom-share-modal .ae-copy-response {
  margin-top: 10px;
  font-size: 13px;
  color: #10b981;
  text-align: center;
  display: none;
}

/* Color Swatches Tooltip Styles */
.aeip-color-swatch-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.aeip-color-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.aeip-color-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

/* Tooltip arrow */
.aeip-color-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: var(--navy) transparent transparent transparent;
}

.aeip-color-swatch-wrap:hover .aeip-color-tooltip {
  visibility: visible;
  opacity: 1;
}

/* ================= LIGHTBOX POPUP ================= */
.aeip-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 37, 69, 0.96); /* Deep dark navy overlay */
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  backdrop-filter: blur(10px);
  animation: aeipFadeIn 0.3s ease-out;
}

@keyframes aeipFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.aeip-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100010;
}

.aeip-lightbox-close:hover {
  background: var(--orange, #e85d2c);
  transform: rotate(90deg);
}

.aeip-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100010;
}

.aeip-lightbox-arrow:hover {
  background: var(--orange, #e85d2c);
  color: #fff;
}

.aeip-lightbox-arrow.prev {
  left: 30px;
}

.aeip-lightbox-arrow.next {
  right: 30px;
}

.aeip-lightbox-content {
  max-width: 85%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.aeip-lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  object-fit: contain;
}

.aeip-lightbox-counter {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 30px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.aeip-lightbox-thumbs-wrap {
  width: 90%;
  max-width: 800px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.aeip-lightbox-thumbs-wrap::-webkit-scrollbar {
  height: 6px;
}

.aeip-lightbox-thumbs-wrap::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.aeip-lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  min-width: max-content;
  margin: 0 auto;
}

.aeip-lightbox-thumbs img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.aeip-lightbox-thumbs img:hover {
  opacity: 0.9;
}

.aeip-lightbox-thumbs img.active {
  opacity: 1;
  border-color: var(--orange, #e85d2c);
  transform: scale(1.05);
}

/* Make main gallery image clickable pointer */
.aeip-gallery-main img {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}
.aeip-gallery-main img:hover {
  opacity: 0.95;
}

@media (max-width: 768px) {
  .aeip-gallery-main {
    height: 320px;
  }
  .aeip-thumbs img {
    width: 60px;
    height: 45px;
  }
  .aeip-lightbox-arrow {
    width: 44px;
    height: 44px;
  }
  .aeip-lightbox-arrow.prev {
    left: 10px;
  }
  .aeip-lightbox-arrow.next {
    right: 10px;
  }
  .aeip-lightbox-content {
    max-width: 95%;
    max-height: 60vh;
  }
  .aeip-lightbox-content img {
    max-height: 60vh;
  }
  .aeip-lightbox-thumbs-wrap {
    width: 95%;
  }
}

@media (max-width: 576px) {
  .aeip-gallery-main {
    height: 240px;
  }
  .aeip-thumbs img {
    width: 48px;
    height: 36px;
  }
  .aeip-quickspecs {
    grid-template-columns: 1fr;
  }
}
