/* Dealer Manufacturer Showroom v3.2.8
 * Complete frontend styles owned by the Showroom plugin.
 * No Hepson theme or Showcase API CSS is required.
 */

.showroom-listing-page .base-container,
.dealer-single-showroom .base-container {
    width: calc(100% - 40px);
    max-width: 1680px;
    margin-left: auto;
    margin-right: auto;
}

.rsi-dealer-inventory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;}
		.rsi-dealer-inventory-card{min-width:0;background:#fff;border-radius:10px;overflow:hidden;border:1px solid rgba(14,14,14,.08);box-shadow:0 8px 26px rgba(14,14,14,.06);transition:transform .2s ease,box-shadow .2s ease;display:flex;flex-direction:column}
		.rsi-dealer-inventory-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(14,14,14,.10)}
		.rsi-dealer-inventory-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f1f1;
}
.rsi-dealer-inventory-media>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0;
}
		.rsi-dealer-inventory-card:hover .rsi-dealer-inventory-media>img{transform:scale(1.025)}
		.rsi-dealer-image-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#efefef,#ddd)}
		.rsi-dealer-inventory-body{padding:18px 18px 16px;display:flex;flex-direction:column;flex:1}
		.rsi-dealer-inventory-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
		.rsi-dealer-inventory-brand{font-size:12px;line-height:1;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
		.rsi-dealer-inventory-condition{font-size:11px;line-height:1;font-weight:700;padding:5px 8px;border-radius:999px;background:rgba(101,145,24,.11);color:#4f7410}
.rsi-dealer-inventory-title {
    line-height: 1.16;
    font-weight: 700;
    margin: 0;
    font-size: 20px;
}
.rsi-dealer-inventory-title a {
    color: inherit;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}
		.rsi-dealer-inventory-category{min-height:22px;color:rgba(14,14,14,.62);font-size:14px;line-height:1.4;margin-bottom:15px}
		.rsi-dealer-inventory-specs{display:flex;flex-wrap:wrap;gap:10px 18px;padding:14px 0;margin-top:auto;border-top:1px solid rgba(14,14,14,.09);border-bottom:1px solid rgba(14,14,14,.09)}
		.rsi-dealer-inventory-spec{display:inline-flex;align-items:center;gap:7px;font-size:13px;line-height:1.2;color:#272727}
		.rsi-dealer-inventory-spec svg{width:16px;height:16px;flex:0 0 16px;fill:currentColor}
		.rsi-dealer-inventory-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:15px}
		.rsi-dealer-inventory-price{font-size:22px;line-height:1;font-weight:800;white-space:nowrap}
		.rsi-dealer-inventory-price span{font-size:16px;text-transform:uppercase;letter-spacing:.02em}
.rsi-dealer-inventory-button {
    min-width: 132px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    background: #56bc00;
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform .2s ease, opacity .2s ease;
	border-radius: 5px;
}
		.rsi-dealer-inventory-button:hover{transform:translateY(-1px);opacity:.88}

/* =========================================================
   Dealer single inventory page — v3.0
   ========================================================= */
.dealer-single-inventory {
    padding-top: 170px;
}
.dealer-single-back {
    margin-bottom: 20px;
}
.dealer-single-back a {
    color: #111;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.dealer-single-gallery-column,
.dealer-single-summary,
.dealer-single-panel {
    min-width: 0;
}
.dealer-single-gallery .rsi-gallery-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(14,14,14,.08);
}
.dealer-single-gallery .rsi-gallery-slide {
    aspect-ratio: 16 / 10;
}
.dealer-single-gallery .rsi-gallery-slide a,
.dealer-single-gallery .rsi-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
}
.dealer-single-gallery .rsi-gallery-slide img {
    object-fit: cover !important;
    max-height: none;
    background: #f1f1f1;
}
.dealer-single-gallery .rsi-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 12px;
    padding-bottom: 4px;
}
.dealer-single-gallery .rsi-gallery-thumb {
    flex: 0 0 108px;
    height: 78px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    opacity: .72;
    background: transparent;
}
.dealer-single-gallery .rsi-gallery-thumb.is-active {
    border-color: var(--primary);
    opacity: 1;
}
.dealer-single-gallery .rsi-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dealer-gallery-count {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    padding: 7px 10px;
    border-radius: 5px;
    background: rgba(17,17,17,.78);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.dealer-single-summary {
    position: sticky;
    top: 145px;
    background: #fff;
    border: 1px solid rgba(14,14,14,.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 26px rgba(14,14,14,.05);
}
.dealer-single-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.dealer-single-brand {
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.dealer-single-meta-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.dealer-single-subtitle {
    margin-top: 9px;
    color: rgba(14,14,14,.56);
    font-size: 20px;
}
.dealer-single-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    margin: 28px 0;
    padding: 22px 0;
    border-top: 1px solid rgba(14,14,14,.1);
    border-bottom: 1px solid rgba(14,14,14,.1);
}
.dealer-single-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding-right: 14px;
}
.dealer-single-highlight + .dealer-single-highlight {
    border-left: 1px solid rgba(14,14,14,.1);
    padding-left: 14px;
}
.dealer-single-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #f3f3f3;
}
.dealer-single-highlight-icon svg {
    width: 21px;
    height: 21px;
    fill: #111;
}
.dealer-single-highlight div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.dealer-single-highlight strong {
    font-size: 15px;
    line-height: 1.2;
}
.dealer-single-highlight span:not(.dealer-single-highlight-icon) {
    margin-top: 3px;
    color: rgba(14,14,14,.55);
    font-size: 12px;
}
.dealer-single-price-row {
    margin-bottom: 20px;
}
.dealer-single-price {
    color: #111;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.03em;
}
.dealer-single-price span {
    font-size: 24px;
}
.dealer-single-primary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.dealer-single-secondary-button {
    border: 1px solid #111;
    color: #111 !important;
    background: #fff;
}
.dealer-single-utility-actions {
    display: flex;
    gap: 18px;
    margin-top: 15px;
}
.dealer-single-utility-actions a {
    color: rgba(14,14,14,.66);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.dealer-single-lower-grid {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(340px,.8fr);
    gap: 32px;
    margin-top: 46px;
}
.dealer-single-panel {
    background: #fff;
    border: 1px solid rgba(14,14,14,.08);
    border-radius: 10px;
    padding: 28px;
}
.dealer-single-section-heading {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}
.dealer-single-section-heading span {
    position: relative;
    padding-bottom: 9px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.dealer-single-section-heading span:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    background: var(--primary);
}
.dealer-single-description .rsi-showcase-description p:first-child {
    margin-top: 0;
}
.dealer-single-description .rsi-showcase-description {
    line-height: 1.7;
}
.dealer-single-spec-table {
    display: flex;
    flex-direction: column;
}
.dealer-single-spec-table > div {
    display: grid;
    grid-template-columns: minmax(120px,.7fr) minmax(0,1fr);
    gap: 20px;
    padding: 11px 12px;
    border-bottom: 1px solid rgba(14,14,14,.07);
}
.dealer-single-spec-table > div:nth-child(odd) {
    background: rgba(14,14,14,.025);
}
.dealer-single-spec-table span {
    color: rgba(14,14,14,.62);
    font-size: 13px;
}
.dealer-single-spec-table strong {
    font-size: 13px;
    font-weight: 700;
}
.dealer-single-placeholder {
    border-radius: 8px;
}



/* =========================================================
   Dealer single inventory refinements — v3.1
   ========================================================= */
.dealer-single-title {
    margin: 0;
    font-size: clamp(24px, 2.2vw, 44px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -.03em;
}

/* Gallery controls must stay below the fixed dealer navigation/logo layer. */
.dealer-single-gallery .rsi-gallery-arrow {
    z-index: 2;
}

/* Show the full thumbnail gallery with no horizontal scrolling. */
.dealer-single-gallery .rsi-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    margin-top: 12px;
    padding-bottom: 0;
}
.dealer-single-gallery .rsi-gallery-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    min-width: 0;
    max-width: none;
    flex: none;
}
.dealer-single-gallery .rsi-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.showroom-category-card-media img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.section.showroom-listing-page {
    padding-top: 170px;
}

.showroom-listing-page .rsi-dealer-inventory-grid {
    margin-top: 50px;
}

.showroom-category-card-title a,
.rsi-dealer-inventory-title a {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
}

h3.rsi-dealer-inventory-title {
    line-height: 0;
    margin-bottom: 20px;
}

.showroom-category-card-media {
    display: block;
    overflow: hidden;
    background: #ffffff;
}

/* Latest Showroom-specific overrides */
.showroom-listing-page .rsi-dealer-inventory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
.showroom-grid-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.showroom-category-card{display:flex;flex-direction:column;min-width:0;background:#fff;overflow:hidden;border-radius:10px;}
.showroom-category-card-media {display: block;overflow: hidden;background: #f4f4f4;}
.showroom-category-card-media img{display:block;width:100%;height:100%;object-fit:contain}
.showroom-category-card-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px}
.showroom-category-card-brand{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.showroom-category-card-title{margin:0;font-size:24px;line-height:1}
.showroom-category-card-title a{text-decoration:none;color:inherit}
.showroom-category-card-meta{font-size:14px;opacity:.72}
.showroom-listing-header{margin-bottom:32px}
.rsi-showcase-description h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 30px 0;
}


.dealer-single-showroom .dealer-single-lower-grid{grid-template-columns:minmax(0,1fr)}
.dealer-single-showroom .dealer-single-description{width:100%;max-width:none;grid-column:1/-1}


.dealer-single-summary-specifications {
    margin: 28px 0;
}

.rsi-showcase-description.dealer-single-summary-overview {
    margin: 28px 0 0 0;
}

/* Wide desktop layout */
.showroom-listing-page .base-container,
.dealer-single-showroom .base-container {
    max-width: 1680px;
}

/* Manufacturer logo on Showroom product pages */
.dealer-single-showroom .dealer-single-brand-logo {
    display: flex;
    align-items: center;
}
.dealer-single-showroom .dealer-single-brand-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.dealer-single-showroom .dealer-single-condition {
    display: inline-flex;
    padding: 0px 10px;
    border-radius: 5px;
    background: #56bc00;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

/* Match the Inventory product-page Request a Quote button */
.dealer-single-showroom .dealer-single-primary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 5px;
    background: #56bc00;
    color: #fff !important;
}


/* Product page layout/spacing restored after CSS separation */
.dealer-single-showroom.section {
    padding-top: 170px;
}

.dealer-single-showroom .dealer-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
    gap: 32px;
    align-items: start;
}

/* Showroom category card media */
.showroom-category-card-media {
    display: block;
    overflow: hidden;
    background: #ffffff;
    height: 150px;
}

.showroom-category-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Showroom single product section heading */
.dealer-single-section-heading {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    margin-top: 30px;
}

/* Showroom description lists */
.rsi-showcase-description ul {
    background-color: var(--dark-gray);
    color: var(--primary);
    -webkit-text-fill-color: var(--dark-gray);
}

		@media(max-width:991px){.rsi-dealer-inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rsi-dealer-inventory-title{font-size:18px}.rsi-dealer-inventory-footer{align-items:stretch;flex-direction:column}.rsi-dealer-inventory-button{width:100%}}
		@media(max-width:767px){.rsi-dealer-inventory-grid{grid-template-columns:1fr;gap:18px}.rsi-dealer-inventory-body{padding:16px}.rsi-dealer-inventory-footer{flex-direction:row;align-items:center}.rsi-dealer-inventory-button{width:auto}}
@media (max-width: 1100px) {
    .dealer-single-layout {
        grid-template-columns: 1fr;
    }
    .dealer-single-summary {
        position: static;
    }
    .dealer-single-lower-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .dealer-single-inventory {
        padding-top: 120px;
    }
    .dealer-single-summary,
    .dealer-single-panel {
        padding: 20px;
    }
    .dealer-single-highlights {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .dealer-single-highlight + .dealer-single-highlight {
        border-left: 0;
        padding-left: 0;
    }
    .dealer-single-primary-actions {
        grid-template-columns: 1fr;
    }
    .dealer-single-title {
        font-size: 34px;
    }
    .dealer-single-price {
        font-size: 34px;
    }
    .dealer-single-gallery .rsi-gallery-thumb {
        flex-basis: 88px;
        height: 64px;
    }
}
@media (max-width: 767px) {
    .dealer-single-gallery .rsi-gallery-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .dealer-single-gallery .rsi-gallery-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        flex-basis: auto;
    }
}
@media(max-width:991px){.showroom-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.showroom-grid-three{grid-template-columns:1fr}}
@media (max-width: 1100px) {
    .dealer-single-showroom .dealer-single-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .dealer-single-showroom.section {
        padding-top: 120px;
    }
}

@media screen and (max-width: 767px) {
    .showroom-listing-page .rsi-dealer-inventory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 479px) {
    .showroom-listing-page .rsi-dealer-inventory-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}