.lotmap-inventory-detail {
    --lotmap-green: #4f963f;
    --lotmap-green-light: #77bd58;
    --lotmap-border: #bcbcbc;
    --lotmap-soft: #e8e8e8;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    padding: 28px 18px 54px;
}
.lotmap-inventory-shell { max-width: 1380px; margin: 0 auto; }

.lotmap-inventory-hero {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
    gap: 60px;
    align-items: start;
}
.lotmap-inventory-left { min-width: 0; }
.lotmap-inventory-gallery-header { text-align: center; margin: 0 0 14px; }
.lotmap-inventory-gallery-header h1 {
    margin: 5px 0 12px;
    font-size: clamp(29px, 3vw, 38px);
    line-height: 1.12;
    font-weight: 700;
}
.lotmap-inventory-badges { min-height: 0; }
.lotmap-inventory-badge {
    display: inline-block;
    margin: 0 4px 4px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ececec;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.lotmap-inventory-badge-repo { background: #f3e2b9; }
.lotmap-inventory-badge-status { background: #f0d1d1; }

.lotmap-detail-map-button {
    display: inline-flex;
    min-width: 180px;
    min-height: 48px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    background: var(--lotmap-green);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    padding: 10px 22px;
}
.lotmap-detail-map-button:hover,
.lotmap-detail-map-button:focus { opacity: .9; color: #fff !important; }

.lotmap-inventory-gallery { width: 100%; }
.lotmap-gallery-main {
    background: #f5f5f5;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lotmap-gallery-main-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.lotmap-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}
.lotmap-gallery-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}
.lotmap-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lotmap-gallery-thumb.is-active { border-color: var(--lotmap-green); }
.lotmap-gallery-empty {
    min-height: 360px;
    display: grid;
    place-items: center;
    background: #f4f4f4;
    color: #666;
}

.lotmap-inventory-benefits {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    margin: 14px 0 0;
    background: var(--lotmap-soft);
    border-radius: 8px;
    overflow: hidden;
}
.lotmap-inventory-benefits div {
    min-height: 68px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
    padding: 11px 14px;
    border-right: 1px solid var(--lotmap-border);
}
.lotmap-inventory-benefits div:last-child { border-right: 0; }

.lotmap-inventory-purchase-card {
    --lotmap-purchase-left: minmax(220px, 1.10fr);
    --lotmap-purchase-middle: minmax(150px, .70fr);
    --lotmap-purchase-right: minmax(190px, .90fr);
    padding: 10px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.lotmap-inventory-shin {
    width: max-content;
    min-width: 125px;
    margin: 0 0 30px auto;
    text-align: center;
    border-bottom: 1px solid #777;
    padding: 0 10px 10px;
}
.lotmap-inventory-shin span { display: block; font-size: 19px; font-weight: 700; }
.lotmap-inventory-shin strong { display: block; margin-top: 4px; font-size: 29px; font-weight: 400; }
.lotmap-purchase-heading {
    text-align: center;
    font-size: clamp(20px, 2.1vw, 27px);
    font-weight: 700;
    padding: 12px 8px 15px;
    border-bottom: 1px solid var(--lotmap-border);
}

.lotmap-price-row {
    min-height: 138px;
    display: grid;
    grid-template-columns: var(--lotmap-purchase-left) var(--lotmap-purchase-middle) var(--lotmap-purchase-right);
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid var(--lotmap-border);
    padding: 14px 18px;
}
.lotmap-price-copy { text-align: center; justify-self: stretch; }
.lotmap-price-label { font-size: clamp(24px, 2.3vw, 31px); font-weight: 700; }
.lotmap-price-tax { font-size: 15px; margin-top: 5px; }
.lotmap-value-arrow { color: var(--lotmap-green); font-size: 46px; line-height: 1; text-align: center; justify-self: center; }
.lotmap-price-value { text-align: center; justify-self: stretch; }
.lotmap-price-value .lotmap-cash-price { margin: 0; }
.lotmap-price-value .lotmap-cash-price strong,
.lotmap-price-value .cash-price-regular,
.lotmap-price-value .cash-price-sale {
    font-size: clamp(44px, 4.6vw, 64px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}
.lotmap-price-value .lotmap-cash-price del,
.lotmap-price-value .cash-price-base.crossed-out { font-size: 25px !important; }

.lotmap-finance-row-block {
    min-height: 174px;
    display: grid;
    grid-template-columns: var(--lotmap-purchase-left) var(--lotmap-purchase-middle) var(--lotmap-purchase-right);
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid var(--lotmap-border);
    padding: 16px 12px;
}
.lotmap-finance-copy { text-align: center; justify-self: stretch; }
.lotmap-finance-title { font-size: clamp(20px, 2.1vw, 27px); font-weight: 700; line-height: 1.05; }
.lotmap-finance-note { font-size: 14px; line-height: 1.35; margin: 7px 0 10px; }
.lotmap-finance-due { font-size: 14px; font-weight: 600; line-height: 1.35; }
.lotmap-finance-control { display: flex; align-items: center; justify-content: center; justify-self: stretch; gap: 12px; }
.lotmap-value-arrow-small { font-size: 32px; color: var(--lotmap-green-light); }
.shed-finance-term-select { min-width: 148px; padding: 9px 10px; font-size: 16px; }
.lotmap-finance-payment {
    text-align: center;
    justify-self: stretch;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: 700;
    line-height: 1;
}
.lotmap-pricing-disclaimer { font-size: 12px; line-height: 1.45; margin: 22px 14px 0; }

.lotmap-inventory-product-details { margin-top: 42px; }
.lotmap-product-heading {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 22px;
}
.lotmap-product-heading::before,
.lotmap-product-heading::after { content: ''; height: 1px; background: #777; flex: 1 1 auto; }
.lotmap-product-heading span { flex: 0 0 auto; }
.lotmap-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.05fr;
    gap: 32px;
}
.lotmap-product-column { margin: 0; padding: 0 26px 0 0; border-right: 1px solid #d0d0d0; }
.lotmap-detail-row {
    display: grid;
    grid-template-columns: minmax(110px, .75fr) 1.25fr;
    gap: 14px;
    padding: 5px 0;
}
.lotmap-detail-row dt { font-weight: 500; }
.lotmap-detail-row dd { margin: 0; color: #444; }
.lotmap-included-items { min-width: 0; }
.lotmap-included-items h3 { font-size: 18px; margin: 0 0 7px; }
.lotmap-included-items p { margin: 0 0 7px; color: #444; line-height: 1.45; }
.lotmap-included-empty { font-style: italic; color: #666 !important; }

@media (max-width: 980px) {
    .lotmap-inventory-hero { grid-template-columns: 1fr; gap: 28px; }
    .lotmap-inventory-purchase-card { max-width: 720px; width: 100%; margin: 0 auto; }
    .lotmap-inventory-shin { margin-right: auto; }
    .lotmap-product-grid { grid-template-columns: 1fr 1fr; }
    .lotmap-included-items { grid-column: 1 / -1; }
    .lotmap-product-column:nth-child(2) { border-right: 0; }
}

@media (max-width: 700px) {
    .lotmap-inventory-detail { padding: 18px 12px 40px; }
    .lotmap-inventory-gallery-header h1 { font-size: 30px; }
    .lotmap-gallery-main { aspect-ratio: 4 / 3; }
    .lotmap-gallery-thumbs { gap: 7px; }
    .lotmap-inventory-benefits { grid-template-columns: 1fr; }
    .lotmap-inventory-benefits div { min-height: 48px; border-right: 0; border-bottom: 1px solid var(--lotmap-border); }
    .lotmap-inventory-benefits div:last-child { border-bottom: 0; }
    .lotmap-price-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 12px; }
    .lotmap-value-arrow { transform: rotate(90deg); font-size: 32px; }
    .lotmap-finance-row-block { grid-template-columns: 1fr; gap: 12px; padding: 22px 12px; }
    .lotmap-finance-control { flex-direction: column; gap: 3px; }
    .lotmap-value-arrow-small { transform: rotate(90deg); }
    .lotmap-product-heading { font-size: 25px; gap: 12px; }
    .lotmap-product-grid { grid-template-columns: 1fr; gap: 18px; }
    .lotmap-product-column { padding-right: 0; border-right: 0; border-bottom: 1px solid #ddd; padding-bottom: 14px; }
    .lotmap-included-items { grid-column: auto; }
}

@media (max-width: 460px) {
    .lotmap-gallery-thumbs { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .lotmap-detail-row { grid-template-columns: minmax(92px, .8fr) 1.2fr; gap: 8px; }
    .shed-finance-term-select { min-width: 138px; }
}
