/* ===== LOT DETAIL PAGE РІР‚вЂќ REDESIGN (bid.cars style, Figma 1:1) ===== */

/* === PAGE BODY === */
body.lot-body { background: #F6F6F8; }

/* === BREADCRUMB === */
.lot-breadcrumb {
  max-width: 1440px; margin: 0 auto; padding: 10px 18px;
  font-family: 'Lato', sans-serif; font-size: 13px; color: #7F8FA4;
}
.lot-breadcrumb a { color: #1598F6; text-decoration: none; }
.lot-breadcrumb a:hover { text-decoration: underline; }

/* === ARCHIVE BANNER === */
.lot-archive-banner {
  max-width: 1440px; margin: 0 auto; padding: 10px 18px;
  background: #FEF3C7; border-radius: 6px;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Lato', sans-serif; font-size: 13px; color: #92400E;
}

/* === LOT HEADER === */
.lot-header-new {
  background: #fff; padding-top: 10px;
  box-shadow: 0 2px 3px rgba(51,65,80,0.03);
}
.lot-header-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px; margin: 0 auto;
  padding: 0 18px; gap: 20px;
}
.lot-header-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 13px; }
.lot-name-row {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
}
.lot-title {
  font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 20px; line-height: 24px; color: #000;
  text-transform: uppercase; padding-right: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lot-tags-inline {
  display: inline-flex; align-items: center; gap: 10px;
}
.lot-vin-badge {
  display: inline-flex; align-items: center;
  background: #E6EDF6; border-radius: 4px; padding: 2px 10px;
  font-family: 'Lato', sans-serif; font-weight: 400;
  font-size: 12px; line-height: 22px; color: #000;
  height: 26px;
}
.lot-source-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 26px; padding: 0 10px; border-radius: 4px;
  font-family: 'Lato', sans-serif; font-weight: 400;
  font-size: 12px; line-height: 22px;
  color: #fff;
}
.lot-source-iaai { background: #D91E1E; }
.lot-source-copart { background: #0E5DB8; }

/* Info row (location, terminal, est price) */
.lot-info-row {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  margin-top: 0;
}
.lot-info-item {
  display: inline-flex; align-items: center;
  font-family: 'Lato', sans-serif; font-size: 13px; line-height: 20px;
  color: #495057;
  padding-right: 10px; margin-right: 10px;
  border-right: 1px solid rgba(127,143,164,0.21);
}
.lot-info-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.lot-info-item .info-label {
  color: #7F8FA4; font-size: 13px; margin-right: 4px;
}
.lot-info-item .info-value { color: #1D1E20; font-weight: 400; }
.lot-info-item .info-value b { font-weight: 700; }
.lot-info-item .est-green { color: #10B452; font-weight: 700; }
.lot-info-item .est-question {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 4px; cursor: help; vertical-align: middle;
  position: relative;
}
.lot-info-item .est-question svg { pointer-events: none; }
.lot-info-item .est-question::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: #36414F; color: #fff; font-size: 12px; line-height: 1.4;
  padding: 8px 12px; border-radius: 6px; white-space: normal;
  width: 260px; text-align: center;
  pointer-events: none; opacity: 0; transition: opacity .2s;
  z-index: 100; font-family: 'Lato', sans-serif; font-weight: 400;
}
.lot-info-item .est-question:hover::after { opacity: 1; }

/* Header right side */
.lot-header-right {
  display: flex; align-items: stretch; gap: 15px; flex-shrink: 0;
}
.lot-delivery-box {
  display: flex; align-items: center;
  background: #fff; border: 1px solid #E6EDF6; border-radius: 8px;
  padding: 8px 15px; gap: 10px;
}
.lot-delivery-icon { width: 20px; height: 20px; flex-shrink: 0; }
.lot-delivery-content { display: flex; flex-direction: column; gap: 1px; }
.lot-delivery-label { font-size: 12px; color: #7F8FA4; line-height: 16px; }
.lot-delivery-value { font-size: 15px; font-weight: 700; color: #1D1E20; line-height: 20px; }
.lot-delivery-calc { margin-top: 6px; display: flex; flex-direction: column; gap: 3px; }
.lot-delivery-calc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.lot-delivery-calc-row .dcr-l { color: #7F8FA4; }
.lot-delivery-calc-row .dcr-v { color: #36414F; font-weight: 500; }
.lot-fav-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 18px; border-radius: 8px;
  border: 1px solid #E6EDF6; background: #fff; cursor: pointer;
  transition: background .15s; white-space: nowrap; flex-shrink: 0;
}
.lot-fav-btn:hover { background: #F8F9FA; }
.lot-fav-btn svg { width: 20px; height: 20px; flex-shrink: 0; display: block; }
.lot-fav-btn span { font-size: 14px; color: #1D1E20; font-weight: 400; }

/* Bottom bar (auction status) */
.lot-bottom-bar {
  border-top: 1px solid #EAEDF0; margin-top: 10px;
}
.lot-bottom-bar-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 18px;
  display: flex; align-items: center; height: 48px;
}
.lot-auction-status {
  display: flex; align-items: center; gap: 20px;
}
.lot-auction-indicator-wrap {
  display: flex; align-items: center; gap: 8px;
}
.lot-auction-indicator {
  width: 7px; height: 7px; border-radius: 50%;
  background: #7F8FA4; flex-shrink: 0;
}
.lot-auction-indicator.live {
  background: #DC3545;
  box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.5);
  animation: lot-indicator-pulse 1.4s ease-in-out infinite;
}
.lot-auction-indicator.ended { background: #DC3545; }
@keyframes lot-indicator-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.5); }
  60%  { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}
.lot-auction-type {
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 20px; color: #7F8FA4;
}
.lot-auction-date {
  display: inline-flex; align-items: center;
  background: #F6F6F8; border-radius: 6px; padding: 5px 10px;
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 20px; color: #7F8FA4;
}

/* === 3-COLUMN LAYOUT === */
.lot-container {
  max-width: 1440px; margin: 0 auto; padding: 15px 0 40px;
  display: flex; gap: 0;
}
.lot-col-left {
  width: 620px; flex-shrink: 0; padding: 0 18px;
}
.lot-col-right {
  flex: 1; display: flex; gap: 0; min-width: 0;
}
.lot-col-info {
  width: 391px; flex-shrink: 0;
}
.lot-col-price {
  width: 391px; flex-shrink: 0; display: grid; gap: 20px;
}

/* === GALLERY === */
.lot-gallery { width: 100%; }
.lot-gallery-main {
  width: 100%; aspect-ratio: 620/452;
  border-radius: 8px 8px 0 0;
  overflow: hidden; position: relative; cursor: pointer;
  background: #f0f2f5;
}
.lot-gallery-main .main-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.lot-gallery-main .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: none;
  background: rgba(0,0,0,0.35);
  border-radius: 50%; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  font-size: 22px; color: #fff; line-height: 1;
  transition: background .15s;
  z-index: 2;
}
.lot-gallery-main .nav-btn:hover { background: rgba(0,0,0,0.55); }
.lot-gallery-main .nav-btn.prev { left: 12px; }
.lot-gallery-main .nav-btn.next { right: 12px; }
/* Bottom bar on main image */
.gallery-bottom-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 8px; padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 100%);
  z-index: 2; pointer-events: none;
}
.gallery-bottom-bar > * { pointer-events: auto; }
.gallery-photo-count {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.5); border-radius: 6px;
  padding: 6px 14px; color: #fff;
  font-family: 'Lato', sans-serif; font-size: 13px;
  font-weight: 400; cursor: pointer; border: none;
  transition: background .15s;
}
.gallery-photo-count:hover { background: rgba(0,0,0,0.7); }
.gallery-photo-count svg { flex-shrink: 0; }
.gallery-video-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.5); border-radius: 6px;
  padding: 6px 14px; color: #fff;
  font-family: 'Lato', sans-serif; font-size: 13px;
  font-weight: 400; cursor: pointer; border: none;
  transition: background .15s;
}
.gallery-video-btn:hover { background: rgba(0,0,0,0.7); }
.gallery-video-btn svg { flex-shrink: 0; }
/* Thumbnails grid */
.lot-thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 10px; padding: 20px; background: #fff;
  border-radius: 0 0 8px 8px; margin-top: 0;
  border: 1px solid #EAEDF0; border-top: none;
}
.lot-thumbs img {
  width: 100%; aspect-ratio: 108/79; object-fit: cover;
  border-radius: 6px; cursor: pointer; opacity: 0.7;
  transition: opacity .15s, border-color .15s;
  border: 2px solid transparent;
}
.lot-thumbs img.active { opacity: 1; border-color: #1598F6; }
.lot-thumbs img:hover { opacity: 1; }

/* === INFO BLOCKS (middle column) === */
.lot-info-block {
  background: #fff; border-radius: 8px;
  border: 1px solid #EAEDF0; margin: 0 15px 20px;
  overflow: hidden;
}
.lot-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px; min-height: 42px;
  border-bottom: 1px solid #F0F2F5;
}
.lot-option:last-child { border-bottom: none; }
.lot-option-label {
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 20px; color: #7F8FA4;
}
.lot-option-value {
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 21px; color: #1D1E20; text-align: right;
  display: inline-flex; align-items: center; gap: 6px;
}
/* Copy button */
.lot-copy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border: none; background: none;
  cursor: pointer; padding: 0; opacity: 0.4; transition: opacity .15s;
  flex-shrink: 0;
}
.lot-copy-btn:hover { opacity: 0.8; }
.lot-copy-btn svg { width: 16px; height: 16px; }
.lot-copyable {
  cursor: pointer; transition: color .15s;
}
.lot-copyable:hover { color: #1598F6; }
.lot-copyable svg {
  width: 16px; height: 16px; flex-shrink: 0;
  opacity: 0.4; transition: opacity .15s; margin-left: 6px;
}
.lot-copyable:hover svg { opacity: 0.8; }
/* Copy toast notification */
.copy-toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #36414F; color: #fff; padding: 10px 24px;
  border-radius: 8px; font-family: 'Lato', sans-serif; font-size: 14px;
  z-index: 10000; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
/* Copy toast notification */
.copy-toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #36414F; color: #fff; padding: 8px 20px; border-radius: 6px;
  font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 500;
  opacity: 0; transition: opacity .25s, transform .25s;
  pointer-events: none; z-index: 10000;
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
/* Green badge value (seller, title) */
.lot-option-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #E8F8EE; border-radius: 6px; padding: 4px 12px;
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 21px; color: #10B452; font-weight: 500;
}
.lot-option-badge svg { flex-shrink: 0; }

/* === PRICE SECTION (right column — Figma 1:1) === */
.lot-price-block {
  background: #fff; border-radius: 6px;
  box-shadow: 0 2px 3px rgba(51,65,80,0.03);
  overflow: visible; height: max-content;
}
.lot-price-top {
  display: flex; justify-content: space-between;
  padding: 14px 15px 15px; gap: 0;
  position: relative; z-index: 2;
}
.lot-price-col { flex-shrink: 0; }
.lot-price-col .field-name {
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 19.5px; color: #7F8FA4;
}
.lot-price-col .field-name .lp-info-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 2px; vertical-align: middle; cursor: help;
  position: relative;
}
.lot-price-col .field-name .lp-info-icon svg { width: 16px; height: 16px; }
/* Tooltip on ? icons */
.lp-info-icon[data-tip] { position: relative; }
.lp-info-icon[data-tip]::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: #36414F; color: #fff; font-size: 12px; line-height: 1.4;
  padding: 8px 12px; border-radius: 6px; white-space: normal;
  width: 240px; text-align: center;
  pointer-events: none; opacity: 0; transition: opacity .2s;
  z-index: 100; font-family: 'Lato', sans-serif; font-weight: 400;
}
.lp-info-icon[data-tip]:hover::after { opacity: 1; }
/* Right-aligned tooltip for time info */
.bid-time-info .lp-info-icon[data-tip]::after {
  left: auto; right: 0; transform: none;
}
.lot-price-col .price-val {
  font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 22px; line-height: 33px; color: #10B452;
  margin-top: 5px;
}
.lot-price-col .price-val.price-val-muted { color: #3a3a3a; }
/* Bid section (grey bg) */
.lot-price-bid {
  background: rgba(58,58,58,0.1);
  padding: 14px 15px 15px;
}
.lot-price-bid .bid-time-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 15px;
}
.lot-price-bid .bid-time-label {
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 19.5px; color: #3a3a3a; min-width: 80px;
}
.lot-price-bid .bid-time-value {
  display: flex; align-items: center; gap: 0;
}
.lot-price-bid .bid-time-text {
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 19.5px; color: #3a3a3a; text-align: right;
}
.lot-price-bid .bid-time-text.bid-time-active { color: #3a3a3a; }
.lot-price-bid .bid-time-text.bid-time-ended {
  color: #D91E1E; font-weight: 400;
}
.lot-price-bid .bid-time-info {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 5px; cursor: help;
}
.lot-price-bid .bid-time-info svg { width: 16px; height: 16px; }
/* Bid input with +/- buttons */
.lot-bid-input-wrap {
  position: relative; margin-bottom: 16px;
}
.lot-bid-input {
  width: 100%; height: 42px; border: 1px solid #E1E8EE;
  border-radius: 6px; background: #fff;
  font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 18px; line-height: normal; color: #3a3a3a;
  text-align: center; padding: 0 50px;
  outline: none;
}
.lot-bid-input:focus { border-color: #219AF3; }
.lot-bid-minus, .lot-bid-plus {
  position: absolute; top: 0; width: 44px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: none; border: none; padding: 0;
  color: #7F8FA4; transition: color .15s;
}
.lot-bid-minus:hover, .lot-bid-plus:hover { color: #3a3a3a; }
.lot-bid-minus { left: 0; border-right: 1px solid #E6EDF6; border-radius: 6px 0 0 6px; }
.lot-bid-plus { right: 0; border-left: 1px solid #E6EDF6; border-radius: 0 6px 6px 0; }
.lot-bid-minus svg, .lot-bid-plus svg { width: 20px; height: 20px; }
/* Green bid button */
.lot-bid-btn {
  width: 100%; height: 42.5px; border: 1px solid #3A3A3A;
  border-radius: 5px; background: #FFDB16; color: #1D1E20;
  font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 15px; line-height: 22.5px; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.lot-bid-btn:hover { background: #3A3A3A; border-color: #3A3A3A; color: #fff; }
/* CTA yellow button (for non-bid mode) */
.lot-cta-btn {
  width: 100%; height: 42px; border: none; border-radius: 6px;
  background: #FFDB16; color: #1D1E20; font-family: 'Lato', sans-serif;
  font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background .15s;
}
.lot-cta-btn:hover { background: #3A3A3A; color: #fff; }
/* How-to link */
.lot-bid-howto {
  display: flex; align-items: center; gap: 0;
  margin-top: 16px; font-family: 'Lato', sans-serif;
  font-size: 12px; line-height: 18px; color: #7F8FA4;
}
.lot-bid-howto a {
  color: #7F8FA4; font-weight: 700; text-decoration: underline;
  margin-left: 5px;
}

/* Savings */
.v-price-savings {
  display: flex; align-items: center; gap: 6px;
  margin-top: 12px; font-family: 'Lato', sans-serif;
  font-size: 13px; color: #223c2b;
}
.v-price-savings-locked { cursor: pointer; }
.savings-blur { filter: blur(4px); user-select: none; }

/* === CALCULATOR BLOCKS (Figma 1:1) === */
.lot-calc-block {
  background: #fff; border-radius: 6px;
  box-shadow: 0 2px 3px rgba(51,65,80,0.03);
  position: relative;
}
/* Header with icon + title + optional currency selector */
.lot-calc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px 11px; border-bottom: 1px solid #E6EDF6;
  min-height: 51px;
}
.lot-calc-header-left {
  display: flex; align-items: center; gap: 5px; flex: 1;
}
.lot-calc-header-left .calc-h-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.lot-calc-header-left .calc-h-icon svg { width: 20px; height: 20px; }
.lot-calc-header-left .calc-h-title {
  font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 15px; line-height: 18px; color: #3a3a3a;
}
.lot-calc-header-right { flex-shrink: 0; }
/* Custom dropdown for currency selector (calc-dd) */
.calc-dd {
  position: relative; min-width: 65px;
}
.calc-dd-trigger {
  display: flex; align-items: center; justify-content: space-between;
  height: 30px; border: 1px solid #249AF3; border-radius: 4px;
  padding: 0 8px 0 9px; gap: 6px;
  font-family: 'Lato', sans-serif; font-size: 14px;
  line-height: 21px; color: #36414F;
  background: #fff; cursor: pointer; user-select: none;
  transition: border-color .15s;
}
.calc-dd.open .calc-dd-trigger { border-color: #1598F6; }
.calc-dd-label {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.calc-dd-arrows {
  flex-shrink: 0; display: flex; align-items: center;
}
.calc-dd-arrows svg { width: 8px; height: 12px; }
.calc-dd-menu {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid #E6EDF6; border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  z-index: 100; display: none;
  animation: calcDdIn .15s ease;
}
@keyframes calcDdIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.calc-dd.open .calc-dd-menu { display: block; }
.calc-dd-opt {
  padding: 6px 10px; font-family: 'Lato', sans-serif;
  font-size: 13px; line-height: 19.5px; color: #36414F;
  cursor: pointer; transition: background .1s;
}
.calc-dd-opt:first-child { border-radius: 6px 6px 0 0; }
.calc-dd-opt:last-child { border-radius: 0 0 6px 6px; }
.calc-dd-opt:hover { background: #F6F6F8; }
.calc-dd-opt.selected { background: #E6EDF6; color: #1598F6; font-weight: 700; }
/* Inline dropdown variant (inside calc option row) */
.calc-dd.calc-dd-inline {
  display: inline-flex; vertical-align: middle; min-width: 139px;
}
.calc-dd.calc-dd-inline .calc-dd-trigger {
  height: 30px; padding: 0 8px 0 9px; gap: 4px;
}
/* Delivery option row (num + label with inline dropdown + value) */
.lot-calc-opt.lot-calc-opt-delivery {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 0; border-bottom: 1px solid #E6EDF6;
  min-height: 51px;
}
.lot-calc-opt.lot-calc-opt-delivery .calc-label {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
/* Floating badge above header */
.lot-calc-float-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #FFDB16; border-radius: 6px; padding: 1px 7px;
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 19.5px; color: #3A3A3A; font-weight: 600; white-space: nowrap; z-index: 2;
}
/* EU flag + label */
.lot-calc-flag {
  display: flex; align-items: center; gap: 4px;
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 19.5px; color: #7F8FA4;
}
.lot-calc-flag img { width: 20px; height: 20px; border-radius: 6px; }
/* Tabs row (Оціночна вартість / Поточна ставка) */
.lot-calc-tabs {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 8px 0;
}
.lot-calc-tab {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 14px; border-radius: 6px; border: 1px solid transparent;
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 19.5px; cursor: pointer; transition: all .15s;
  background: none; color: #16AD59;
}
.lot-calc-tab.active {
  background: #FFDB16; border-color: #FFDB16; color: #3A3A3A; font-weight: 600;
}
.lot-calc-tab:not(.active) { border-color: #16AD59; }
/* Summary block (grey bg, rounded — Figma 1:1) */
.lot-calc-summary-box {
  background: rgba(58,58,58,0.1); border-radius: 6px;
  margin: 0 20px 20px; padding: 0;
}
.lot-calc-summary-row {
  display: flex; flex-direction: column; align-items: center;
  padding: 9px 30px 11.3px; border-bottom: 1px solid #E6EDF6;
}
.lot-calc-summary-row:last-child { border-bottom: none; }
.lot-calc-summary-price {
  font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 22px; line-height: 26.4px; color: #3a3a3a;
  text-align: center;
}
.lot-calc-summary-price.summary-price-sm {
  font-size: 15px; line-height: 18px;
}
.lot-calc-summary-label {
  display: flex; align-items: center; gap: 0;
  font-family: 'Lato', sans-serif; font-size: 13px;
  line-height: 19.5px; color: #345164; text-align: center;
  margin-top: 4px;
}
.lot-calc-summary-label .calc-s-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.lot-calc-summary-label .calc-s-icon svg { width: 20px; height: 20px; }
/* Options list */
.lot-calc-options {
  padding: 5px 20px;
}
.lot-calc-opt {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 0; border-bottom: 1px solid #E6EDF6;
  font-family: 'Lato', sans-serif;
}
.lot-calc-opt:last-child { border-bottom: none; }
.lot-calc-opt .num {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid #ccc; display: flex; align-items: center;
  justify-content: center; font-size: 12px; color: #7F8FA4;
  flex-shrink: 0; background: none;
}
.lot-calc-opt .calc-label {
  font-size: 13px; line-height: 19.5px; color: #7F8FA4; flex: 1;
}
.lot-calc-opt .calc-label .lp-info-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 3px; vertical-align: middle; cursor: help;
}
.lot-calc-opt .calc-label .lp-info-icon svg { width: 16px; height: 16px; }
.lot-calc-opt .calc-value {
  font-size: 14px; line-height: 21px; color: #3a3a3a;
  text-align: right; flex-shrink: 0; font-weight: 700;
}
.lot-calc-opt .calc-value.calc-range-val {
  font-size: 13px; white-space: nowrap;
}
.lot-calc-opt .calc-label-sub {
  font-size: 11px; color: #7F8FA4; display: block;
}
/* Range row (1-4, 6-8 style) inside options */
.lot-calc-opt.lot-calc-opt-range {
  display: flex; align-items: center; justify-content: space-between;
  gap: 5px; padding: 10px 0; border-bottom: 1px solid #E6EDF6;
}
.lot-calc-opt.lot-calc-opt-range:last-child { border-bottom: none; }
.lot-calc-opt-range-left {
  display: flex; align-items: center; gap: 5px;
}
/* Subtotal row with green numbered circles + line */
.lot-calc-subtotal {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 20px 10px; border-top: 1px solid #E6EDF6;
  font-family: 'Lato', sans-serif;
}
.lot-calc-subtotal-left {
  display: flex; align-items: center; gap: 5px;
}
.lot-calc-num-range {
  display: inline-flex; align-items: center; gap: 5px;
}
.lot-calc-num-green {
  width: 19px; height: 19px; border-radius: 50%;
  border: 1px solid #10B452; display: flex; align-items: center;
  justify-content: center; font-family: 'Lato', sans-serif;
  font-size: 12px; color: #10B452; flex-shrink: 0;
  font-weight: 700;
}
.lot-calc-num-line {
  width: 8px; height: 1px; background: #10B452; flex-shrink: 0;
}
.lot-calc-subtotal-label {
  font-size: 16px; font-weight: 700; line-height: 24px; color: #3a3a3a; margin-left: 5px;
}
.lot-calc-subtotal-val {
  font-family: 'Lato', sans-serif; font-size: 18px;
  font-weight: 900; line-height: 27px; color: #3a3a3a;
  text-align: right; flex-shrink: 0;
}
/* Final total (bigger) */
.lot-calc-final-total {
  display: flex; flex-direction: column; align-items: center;
  padding: 10.5px 20px 36px; border-top: 1px solid #E6EDF6;
}
.lot-calc-final-total .lot-calc-subtotal-left {
  justify-content: flex-start; margin-bottom: 8px; width: 100%; min-width: 100%; display: inline-flex; gap: 5px;
}
.lot-calc-final-total .lot-calc-subtotal-val {
  font-size: 20px; line-height: 30px;
}
/* Footer text */
.lot-calc-footer {
  padding: 11px 20px 20px;
  font-family: 'Lato', sans-serif; font-size: 12px;
  line-height: 18px; color: #7F8FA4;
  border-top: 1px solid #E6EDF6;
}
.lot-calc-footer a {
  color: #7F8FA4; text-decoration: underline;
}
/* Inline select in option row */
.lot-calc-opt .calc-inline-select {
  height: 30px; border: 1px solid #E1E8EE; border-radius: 4px;
  padding: 0 20px 0 9px; font-family: 'Lato', sans-serif;
  font-size: 14px; line-height: 21px; color: #36414F;
  background: #fff url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 0L7.5 4H.5L4 0z' fill='%237F8FA4'/%3E%3Cpath d='M4 12L.5 8h7L4 12z' fill='%237F8FA4'/%3E%3C/svg%3E") right 6px center no-repeat;
  appearance: none; cursor: pointer; outline: none;
  margin-left: 4px;
}
/* Customs input with +/- */
.lot-calc-customs-input-wrap {
  position: relative; display: inline-flex; flex-shrink: 0;
}
.lot-calc-customs-input {
  width: 193px; height: 31px; border: 1px solid #E1E8EE;
  border-radius: 6px; background: #fff;
  font-family: 'Lato', sans-serif; font-size: 14px;
  line-height: 21px; color: #3a3a3a; text-align: center;
  padding: 0 35px; outline: none;
}
.lot-calc-customs-minus, .lot-calc-customs-plus {
  position: absolute; top: 0; width: 31px; height: 31px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: none; border: none; padding: 0;
  color: #7F8FA4;
}
.lot-calc-customs-minus svg, .lot-calc-customs-plus svg { width: 12px; height: 12px; }
.lot-calc-customs-minus { left: 0; border-right: 1px solid #E6EDF6; border-radius: 6px 0 0 6px; }
.lot-calc-customs-plus { right: 0; border-left: 1px solid #E6EDF6; border-radius: 0 6px 6px 0; }
.lot-calc-customs-minus:hover, .lot-calc-customs-plus:hover { background: #F0F4F8; }

/* === DRIVETRAIN BADGE === */
.lot-dt-badge {
  display: inline-block; background: #E6EDF6; color: #36414F;
  font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: 4px; margin-left: 6px; vertical-align: middle;
  font-family: 'Lato', sans-serif; letter-spacing: 0.3px;
}

/* === SHOW MORE BUTTON === */
.lot-show-more {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin: 10px 15px; padding: 9px 10px 10px; cursor: pointer; user-select: none;
  font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700;
  color: #3A3A3A; background: #EAECEF; border-radius: 6px;
  transition: background 0.15s;
}
.lot-show-more:hover { background: #DFE1E5; }
.lot-show-more-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: #7F8FA4; color: #fff; font-size: 11px; font-weight: 700;
  width: 20px; height: 20px; border-radius: 100px;
  font-family: 'Lato', sans-serif; line-height: 1;
}

/* === SPECS EXTRA (hidden by default) === */
.lot-specs-extra { display: none; }
.lot-info-block.expanded .lot-specs-extra { display: block; }

/* === LIGHTBOX === */
.v-lightbox {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.92); z-index: 9999;
  align-items: center; justify-content: center;
}
.v-lightbox.open { display: flex; }
.v-lightbox img { max-width: 90%; max-height: 90%; object-fit: contain; }
.v-lightbox .lb-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: #fff;
  font-size: 36px; cursor: pointer;
}
.v-lightbox .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none; color: #fff;
  font-size: 48px; cursor: pointer; padding: 10px 16px;
  border-radius: 6px;
}
.v-lightbox .nav-btn.prev { left: 20px; }
.v-lightbox .nav-btn.next { right: 20px; }
.v-lightbox .lb-counter {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%); color: #fff;
  font-size: 14px; background: rgba(0,0,0,0.5);
  padding: 4px 14px; border-radius: 4px;
}

/* === NO RESULT === */
.no-res {
  text-align: center; padding: 60px 20px;
  font-family: 'Lato', sans-serif; font-size: 18px; color: #7F8FA4;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .lot-container { flex-direction: column; padding: 15px 0; }
  .lot-col-left { width: 100%; padding: 0 0; padding-bottom: 15px; }
  .lot-col-right { flex-direction: column; width: 100%; }
  .lot-col-info, .lot-col-price { width: 100%; }
}
@media (max-width: 768px) {
  .lot-header-top { flex-direction: column; gap: 10px; }
  .lot-header-right { width: 100%; justify-content: flex-start; }
  .lot-name-row { flex-direction: column; align-items: flex-start; }
  .lot-info-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .lot-thumbs { grid-template-columns: repeat(3, 1fr); }
  .lot-info-block, .lot-price-block, .lot-calc-block { margin: 0 0 15px; }
}
