.stock-filters { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:35px; }
.stock-filters label { font-size:14px; font-weight:700; }
.stock-filters select { display:block; width:100%; border:1px solid #ddd; padding:12px; background:#fff; margin-top:6px; }
.stock-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; }
.stock-card { background:#000; color:#fff; text-align:center; overflow:hidden; }
.stock-card[hidden] { display:none; }
.stock-card__image { display:block; position:relative; color:#fff; overflow:hidden; }
.stock-card__image img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; display:block; }
.stock-status { position:absolute; top:12px; left:12px; background:#d2232a; color:#fff; padding:4px 8px; font-size:14px; font-weight:700; text-transform:uppercase; }
.stock-view { position:absolute; left:50%; bottom:20px; transform:translateX(-50%); padding:10px 18px; background:#00aeef; color:#fff; font-weight:700; }
.stock-card__text { padding:25px 20px; }
.stock-card h3 { font-size:22px; line-height:1.2; text-transform:uppercase; color:#fff; margin-bottom:15px; }
.stock-card h3 small { display:block; font-size:13px; margin-bottom:8px; font-weight:400; }
.stock-card h3 a { color:#fff; text-decoration:none; }
.stock-price { display:block; color:#00aeef; font-size:28px; font-weight:700; margin:0; }
/* Vehicle information uses the same shared component for touring, motorhome, static and car stock. */
.page-stockItem .page-content-shell__main>.umb-block-list>.nxb-block--stockDetails { padding:calc(var(--site-section-spacing) - 10px) 0 0; }
.stock-details.site-container { width:calc(100% - 24px); max-width:calc(var(--site-container-width) - 24px); text-align:center; }
.nxb-block .stock-details h1 { color:#00aeef; font-size:var(--site-heading-2); line-height:1; letter-spacing:normal; text-transform:uppercase; margin:0 0 20px; }
.stock-details h1 .stock-price { color:#fff; font-size:45px; line-height:var(--site-heading-2); padding:15px; }
.stock-main-image { display:block; width:auto; max-width:min(100%,800px); margin-inline:auto; border:1px solid #555; }
.stock-layout,.stock-key { display:flow-root; padding-top:20px; }
.stock-layout p,.stock-key p { font-size:22px; line-height:1.3; font-weight:700; text-transform:uppercase; margin:10px 0 20px; }
.stock-key p { font-size:27px; }
.stock-layout strong,.stock-key strong,.stock-specification dt { color:#00aeef; }
.stock-specification { display:grid; grid-template-columns:1fr 1fr; gap:0; width:800px; max-width:100%; margin:20px auto 0; padding-top:20px; border:1px solid #222; }
.stock-specification dl { margin:0; padding:0 12px; }
.stock-specification dl>div { font-size:22px; line-height:1.3; font-weight:700; text-transform:uppercase; margin:10px 0 20px; }
.stock-specification dd { margin:0; }
.stock-specification dt { font-weight:700; }
.nxb-block .stock-details h3 { font-size:var(--site-heading-3); line-height:1.2; margin:30px 0 20px; color:#00aeef; }
.page-stockItem .page-content-shell__main>.umb-block-list>.nxb-block--textBlock { padding:0; }
.page-stockItem .page-content-shell__main>.umb-block-list>.nxb-block--textBlock .nxb-text-block__inner { width:800px; max-width:min(calc(100% - 24px),calc(var(--site-container-width) - 24px)); padding:20px 12px 0; border:1px solid #222; margin-inline:auto; }
.page-stockItem .nxb-text-block__content p,.page-stockItem .nxb-text-block__content p:last-child { margin:10px 0 20px; }
.page-stockItem .nxb-text-block__content h3 { font-size:24px; }
.page-stockItem .nxb-text-block__content h4 { line-height:1.2; }
.page-stockItem .nxb-text-block__content h6 { font-size:18px; }
.page-stockItem .page-content-shell__main>.umb-block-list>.nxb-block--gallery { padding:40px 0 0; }
.page-stockItem .page-content-shell__main>.umb-block-list>.nxb-block--gallery>.nxb-gallery { width:800px; max-width:min(calc(100% - 24px),calc(var(--site-container-width) - 24px)); border:1px solid #222; padding:20px 12px 0; --nxb-gallery-gap:20px 24px; }
.page-stockItem .nxb-gallery__viewport { padding-bottom:20px; }
.page-stockItem .nxb-gallery__figure { margin:0; }
.page-stockItem .nxb-gallery__link { background:transparent; }
.page-stockItem .nxb-gallery__image { aspect-ratio:auto; }
.page-stockItem .page-content-shell__main>.umb-block-list>.nxb-block--stockEnquiry { padding:20px 0 var(--site-section-spacing); }
.stock-actions.site-container { width:calc(100% - 24px); max-width:calc(var(--site-container-width) - 24px); text-align:center; padding:0; }
.stock-actions__enquiry { padding:5px 0; }
.stock-actions__enquiry .nxb-button { display:inline-block; padding:8px 12px; font-size:16px; line-height:24px; border:1px solid transparent; border-radius:5px; }
.stock-actions__finance { display:flow-root; margin-top:48px; }
.stock-actions__finance .financeproposal-calc-wrapper { width:800px; max-width:100%; margin:0 auto 20px; }
.stock-actions__finance .financeproposal-calc-col-header-1,
.stock-actions__finance .financeproposal-calc-wrapper .hp_link { background:#00aeef!important; }
.stock-actions__finance .financeproposal-calc-wrapper .hp_link:hover { background:#000!important; }
.stock-actions__finance .financeproposal-calc-wrapper a.hp_link,
.stock-actions__finance .financeproposal-calc-wrapper a.pcp_link { color:#fff!important; }
.stock-actions__finance .financeproposal-calc-wrapper .select,
.stock-actions__finance .financeproposal-calc-wrapper select,
.stock-actions__finance .financeproposal-calc-wrapper input { line-height:30px!important; }
.stock-actions__finance .financeproposal-calc-wrapper label { display:inline-block; margin-bottom:5px; }
.stock-actions__finance .finance-calc-label img { width:unset!important; vertical-align:middle; }
.stock-actions__finance .financeproposal-calc-wrapper .what-is-hp * { color:#00aeef!important; fill:#00aeef!important; }
.stock-actions__credit { display:block; width:750px; max-width:100%; height:auto; margin:40px auto 0; }
.page-stockItem { background:#161010; color:#fff; }
.page-stockItem .nxb-block--textBlock { text-align:center; }
@media(max-width:990px) { .stock-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .stock-filters { grid-template-columns:1fr 1fr; } }
@media(max-width:600px) { .stock-grid { grid-template-columns:1fr; } .stock-filters { gap:10px; } }

.stock-listing.site-container { width:calc(100% - 30px); max-width:calc(var(--site-container-width) - 24px); }
.stock-grid { gap:30px 20px; }
.stock-card { background:#00aeef; }
.stock-view { bottom:-18.8px; background:#d2232a; padding:8px 12px; border:1px solid transparent; border-radius:5px; letter-spacing:normal; }
.stock-card__image { overflow:visible; }
.stock-card__text { padding:10px; padding-top:30px; }
.stock-card h3 { margin:10px 0 20px; line-height:1.2; }
.stock-card h3 small { font-size:22px; line-height:1.2; font-weight:700; margin-bottom:0; }
.stock-card .stock-price { color:#fff; font-size:25px; font-weight:400; line-height:24px; margin:10px 0 20px; }

.stock-listing.site-container { width:calc(100% - 24px); }
.stock-grid { display:flex; flex-wrap:wrap; gap:0; margin-inline:-12px; }
.stock-grid__item { width:100%; padding:0 12px 30px; }
.stock-grid__item>.stock-card { height:100%; }
@media(min-width:768px) { .stock-grid__item { width:50%; } }
@media(min-width:992px) { .stock-grid__item { width:33.3333333333%; } }
@media(min-width:1200px) { .stock-grid__item:nth-last-child(-n+3) { margin-bottom:30px; } }
.stock-status { inset:0 0 auto; background:rgba(0,174,239,.8); font-size:18px; line-height:35px; height:35px; padding:0; font-weight:700; }
.stock-card__text { padding-top:34px; }
.nxb-block .stock-card h3 { color:#fff; }
.stock-filters { display:flex; align-items:center; justify-content:center; flex-wrap:nowrap; gap:5px; margin:0 0 40px; }
.stock-filters__make { display:inline-block; position:relative; margin:0; text-align:center; }
.stock-filters__make select { display:inline-block; }
.stock-filters select { min-width:145px; width:auto; height:45px; padding:10px 30px 10px 10px; margin:0; color:#000; border:1px solid #767676; border-radius:0; text-transform:capitalize; appearance:none; background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAh0lEQVQ4T93TMQrCUAzG8V9x8QziiYSuXdzFC7h4AcELOPQAdXYovZCHEATlgQV5GFTe1ozJlz/kS1IpjKqw3wQBVyy++JI0y1GTe7DCBbMAckeNIQKk/BanALBB+16LtnDELoMcsM/BESDlz2heDR3WePwKSLo5eoxz3z6NNcFD+vu3ij14Aqz/DxGbKB7CAAAAAElFTkSuQmCC"); background-repeat:no-repeat; background-position:95% center; }
.stock-filters button[type=submit] { display:flex; min-width:28.5px; align-items:center; justify-content:center; width:50px; height:43px; background:#32bcf1; color:#fff; border:0; cursor:pointer; }
.stock-filters .select2-container--default .select2-selection--multiple { border:0; border-radius:0; min-height:43px; display:flex; align-items:center; padding:0 0 0 10px; background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAh0lEQVQ4T93TMQrCUAzG8V9x8QziiYSuXdzFC7h4AcELOPQAdXYovZCHEATlgQV5GFTe1ozJlz/kS1IpjKqw3wQBVyy++JI0y1GTe7DCBbMAckeNIQKk/BanALBB+16LtnDELoMcsM/BESDlz2heDR3WePwKSLo5eoxz3z6NNcFD+vu3ij14Aqz/DxGbKB7CAAAAAElFTkSuQmCC"); background-repeat:no-repeat; background-position:96% 50%; }
.stock-filters .select2-container--default .select2-selection--multiple .select2-selection__rendered { margin:0; display:flex; flex-wrap:wrap; justify-content:left; }
.stock-filters .select2-container--default .select2-selection--multiple .select2-selection__choice { background:#00aeef; border:0; }
.stock-filters .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { color:#fff; }
.stock-filters select[data-stock-layout]:not(.select2-hidden-accessible) { width:auto; }
.stock-filters .select2-search--inline { display:flex; flex:0 0 80%; font-size:16px; font-family:inherit; }
.stock-filters .select2-container--focus .select2-search--inline { flex-basis:0; }
.stock-filters .select2-container .select2-search--inline .select2-search__field { margin:0; color:#000; font-family:sans-serif; font-size:16px; line-height:22px; height:18px; }
.stock-filters .select2-search--inline .select2-search__field::placeholder { color:#000; opacity:1; font-family:Montserrat, sans-serif; font-size:16px; }
@media(max-width:991px) {
    .stock-filters select { width:90%; padding-right:10px; margin:0 10px 30px; background-position:98% center; }
}
@media(max-width:767px) {
    .stock-filters { flex-direction:column; }
    .stock-filters__make { width:100%; }
    .stock-filters select,.stock-filters .select2 { flex:none; width:90%!important; }
    .stock-filters .select2 { margin:0 0 30px; }
    .stock-filters select.select2-hidden-accessible { width:1px!important; }
}

@media(max-width:767px) {
    .stock-specification { grid-template-columns:1fr; }
    .page-stockItem .nxb-gallery__viewport { grid-template-columns:1fr; }
}

.stock-filters__search-icon::before { content:"\f4a5"; display:block; font:22px/1 TenbySymbols; }

/* Retain the responsive columns and spacing saved in vehicle descriptions. */
.page-stockItem .nxb-text-block__content .d-flex { display:flex!important; }
.page-stockItem .nxb-text-block__content .w-100 { width:100%!important; }
.page-stockItem .nxb-text-block__content .col-12 { width:100%; }
.page-stockItem .nxb-text-block__content .m-0 { margin:0!important; }
.page-stockItem .nxb-text-block__content .mb-2 { margin-bottom:8px!important; }
.page-stockItem .nxb-text-block__content .mb-4 { margin-bottom:24px!important; }
.page-stockItem .nxb-text-block__content .mt-4 { margin-top:24px!important; }
.page-stockItem .nxb-text-block__content .wp-block-group.container { width:100%; max-width:1350px; padding-inline:12px; margin-inline:auto; }
.page-stockItem .nxb-text-block__content .checklists li,
.page-stockItem .nxb-text-block__content .big-red-list li { list-style:none; }
.page-stockItem .nxb-text-block__content .text-right { text-align:right!important; }
.page-stockItem .nxb-text-block__content .mb-5 { margin-bottom:48px!important; }
.page-stockItem .nxb-text-block__content .list-unstyled { list-style:none; padding-left:0; }
.page-stockItem .nxb-text-block__content .text-white { color:#fff!important; }
@media(min-width:768px) {
    .page-stockItem .nxb-text-block__content .col-md-6 { flex:0 0 auto; width:50%; }
    .page-stockItem .nxb-text-block__content .mb-md-0 { margin-bottom:0!important; }
}
.page-stockItem .page-content-shell__main .nxb-text-block__content :is(h1,h2,h3,h4,h5,h6) { color:var(--nxb-heading-colour,#00aeef); margin:30px 0 20px; }

.page-stockItem .page-content-shell__main .nxb-text-block__content :is(h4,h5,h6) {
    margin: 10px 0;
}

.page-stockItem .nxb-text-block__content a { text-decoration:none; }
.page-stockItem .nxb-text-block__content a:hover { text-decoration:underline; }

/* Preserve the original empty-list spacing while announcing the result to screen readers. */
.stock-empty { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
