/* Brand Promotions - logos */
/* Keep the theme's content wrapper full width so the full-bleed hero lines up,
   and clip any sub-pixel overflow so The7's layout JS doesn't resize #main. */
div#main { width: 100%; overflow-x: clip; }
.bpr-tabs img { width: 117px; height: auto; aspect-ratio: 18 / 10; object-fit: contain;margin-top: 15px;}
.bpr-fleet.bpr-theme-green h2 {color:#78FAAE;}

.wpb_wrapper { display: flex; flex-direction: column; }
.bpr-row-panel { background: #f4f5f7; }
.bpr-row-panel > div { margin: 0px; padding: 15px; }

/* Brand Promotions — VW Fleet offers page (editions tabs + per-edition hero + filter). */

.bpr-fleet {
	--bpr-ink: #14171c;
	--bpr-muted: #6b7280;
	--bpr-line: #e6e8ec;
	--bpr-panel: #f4f5f7;
	--bpr-cta: #1f4b6e;
	--bpr-cta-hover: #163a56;
	--bpr-red: #e2231a;
	--bpr-accent: #14503b;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--bpr-ink);
	width: 100%;
}
/* Offers (page title, filters, cards) stay readable-width; the hero is full-bleed. */
.bpr-offers {
	max-width: 1200px;
	margin: 0 auto;
}
.bpr-theme-green { --bpr-accent: #14503b; }
.bpr-theme-blue  { --bpr-accent: #14233f; }
.bpr-theme-red   { --bpr-accent: #b5121b; }
.bpr-theme-tan   { --bpr-accent: #6a4a32; }
.bpr-theme-teal  { --bpr-accent: #163a40; }
.bpr-theme-dark  { --bpr-accent: #20242b; }

.bpr-hide { display: none !important; }

/* ---------- Top bar (site-wide logo) — overlaid on top of the hero ---------- */
.bpr-topbar {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	display: grid;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 18px 24px;
	pointer-events: none;
	justify-items: center;
}
.bpr-topbar-logo { pointer-events: auto; }
.bpr-topbar-logo { height: auto; width: 111px; display: block; }
.bpr-topbar-text { color: #fff; font-weight: 800; letter-spacing: .04em; font-size: 18px; }
form.bpr-filters select { margin: 0px; }
label.bpr-filter { margin: 0; }
#page .bpr-offers select { margin-bottom: 0px; }

/* ---------- Edition tabs + navigation arrows ---------- */
#page .bpr-tabs { flex-wrap: wrap; justify-content: center; margin-top: 15px; }

button.bpr-tabarrow.bpr-tabnext , 
button.bpr-tabarrow.bpr-tabprev {
    position: absolute;
    top: 30%;background: rgb(255 255 255 / 15%);
}
button.bpr-tabarrow.bpr-tabnext {right:5%;}
button.bpr-tabarrow.bpr-tabprev {left:5%;}

.bpr-tabsnav {
	display: flex;
	align-items: center;
	gap: 6px;
	border-bottom: 1px solid var(--bpr-line);
	margin-top: 10px;
}
.bpr-tabarrow {
	flex: 0 0 auto;
	width: 36px;
	height: 48px;
	border: 0;
	background: transparent;
	color:#fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
}
.bpr-tabarrow:disabled { color: #c4c8ce; cursor: default; }

.bpr-tabs {
	display: flex;
	gap: 2px;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-behavior: smooth;
	flex: 1 1 auto;
	padding: 30px;
	margin-top: 30px;
}
.bpr-tabs::-webkit-scrollbar { display: none; }

.bpr-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 96px;
	background: transparent;
	border: 0;
	padding: 16px 22px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--bpr-muted);
	cursor: pointer;
	transition: color .15s ease, border-color .15s ease, opacity .15s ease;
}
.bpr-tab-logo { height: 30px; width: auto; display: block; opacity: .5; filter: grayscale( 1 ); transition: opacity .15s ease, filter .15s ease; }
.bpr-tab:hover { color: var(--bpr-ink); }
.bpr-tab:hover .bpr-tab-logo { opacity: .85; }
.bpr-tab.is-active .bpr-tab-logo { opacity: 1; filter: none; }

/* Visually-hidden (accessible label kept for logo-only tabs) */
.bpr-vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect( 0 0 0 0 ); border: 0; }

/* Page title (campaign name, e.g. "VW Fleet – Juin 2027") */
.bpr-pagetitle { margin: 28px 0 4px; font-size: clamp( 22px, 3vw, 32px ); font-weight: 800; letter-spacing: -0.01em; }

/* ---------- Filter bar ---------- */
form.bpr-filters { margin-top: 60px; }
.bpr-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	padding: 20px 0 28px;
}
.bpr-filter-reset {
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	border: 0;
	border-radius: 8px;
	background: var(--bpr-ink);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	align-self: flex-end;
}
.bpr-filter-reset:hover { background: #2b3138; }
.bpr-filter { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.bpr-filter select {
	appearance: none;
	width: 100%;
	border: 1px solid var(--bpr-line);
	border-radius: 8px;
	background: #fff url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E" ) no-repeat right 14px center;
	font-size: 14px;
	color: var(--bpr-ink);
	font-weight: 500;
	cursor: pointer;
}

/* ---------- Hero / slider — full-bleed; logo overlaid, slide, banner, tabs ---------- */
.bpr-hero {
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	width: 100vw;
}

/* Site-wide slogan — inside the top bar, under the logo. */
.bpr-slogan {
	margin: 8px 0 0;
	padding: 0;
	text-align: center;
	font-size: clamp( 20px, 2.4vw, 30px );
	font-weight: 800;
	line-height: 1.15;
	color: var(--bpr-ink);
}

.bpr-brand-skoda p.bpr-slogan { color: #78faae; }
.bpr-brand-volkswagen p.bpr-slogan { color: #fff; }
.bpr-brand-audi p.bpr-slogan { color: #fff; }
.bpr-brand-seat p.bpr-slogan { color: #93F8FF; } 
.bpr-brand-cupra p.bpr-slogan { color: #fff; }

p.bpr-slogan {
    font-size: 40px;
    line-height: 1em;
    max-width: 600px;
    padding-bottom: 15px;
	padding-left: 15px;
	padding-right: 15px;
}

/* One slide per brand (background + model PNG); JS shows the active one. */
.bpr-slide {
	position: absolute;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.bpr-slide[hidden] { display: none; }
.bpr-banner, .bpr-banner img , .bpr-slide{ aspect-ratio: 16 / 6; }

/* Text block — under the tabs, switches with the active tab. */
.bpr-slide-body { padding: 30px 6vw 8px; text-align: center; }
.bpr-slide-body[hidden] { display: none; }

/* Per-brand colours for the text block. */
.bpr-slide-body[data-brand="skoda"]      { background: #78FAAE; color: #030303; }
.bpr-slide-body[data-brand="volkswagen"] { background: #00B0F0; color: #fff; }
.bpr-slide-body[data-brand="audi"]       { background: #F50537; color: #fff; }
.bpr-slide-body[data-brand="seat"]       { background: #93F8FF; color: #030303; }
.bpr-slide-body[data-brand="cupra"]      { background: #D9CEBD; color: #95572B; }
#page .bpr-slide-body * { color: inherit; }
#page .bpr-slide-body { padding: 25px; margin: 10px 0px; }
.bpr-slide-title {
	margin: 0 0 14px;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.08;
	text-transform: uppercase;
}
/* Keep the hero heading readable over brand backgrounds (override theme tint). */
.bpr-fleet.bpr-theme-green h2.bpr-slide-title,
.bpr-fleet h2.bpr-slide-title { color: var(--bpr-ink); }
.bpr-slide-desc {
	margin: 0 auto;
	max-width: 560px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--bpr-ink);
}
.bpr-slide-cta {
	display: inline-block;
	margin-top: 22px;
	background: var(--bpr-cta);
	color: #fff;
	text-decoration: none;
	padding: 13px 30px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 15px;
	transition: background .15s ease;
}
.bpr-slide-cta:hover { background: var(--bpr-cta-hover); color: #fff; }
.bpr-slide-model {
    position: relative;
    z-index: 10;
    max-width: 100%;
    max-height: 85%;
    object-fit: contain;
    top: 15%;
}

/* Full-width banner directly under the slide (one per brand; JS shows active). */
.bpr-banner { width: 100%; margin: 0; }
.bpr-banner[hidden] { display: none; }

/* Tabs row — in normal flow, after the banner. */
.bpr-hero .bpr-tabsnav {
	margin: 0;
	border-bottom: 0;
	background: #fff;
	justify-content: center;
}
.bpr-hero .bpr-tabs { padding: 8px 12px; margin-top: 0; flex: 0 1 auto; }

/* ---------- Edition panel (cards) ---------- */
.bpr-edition[hidden] { display: none; }

/* ---------- Offer rows ---------- */
.bpr-rows { display: flex; flex-direction: column; gap: 28px; margin-bottom: 36px; }
.bpr-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch; }
.bpr-row-media { display: flex; flex-direction: column; gap: 8px; }
.bpr-gallery-main {
	border-radius: 3px;
	overflow: hidden;
	background: #eceef1;
	min-height: 260px;
	flex: 1 1 auto;
	cursor: zoom-in;
}
.bpr-gallery-main img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Magic box (lightbox) — opened by clicking the main gallery image. */
html.bpr-mb-open { overflow: hidden; }
.bpr-magicbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 4vmin;
	background: rgba( 10, 12, 16, .92 );
}
.bpr-magicbox[hidden] { display: none; }
.bpr-mb-stage { margin: 0; max-width: 92vw; max-height: 88vh; }
.bpr-mb-stage img { display: block; max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px; }
.bpr-mb-close, .bpr-mb-prev, .bpr-mb-next {
	border: 0;
	background: rgba( 255, 255, 255, .12 );
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	line-height: 1;
}
.bpr-mb-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; font-size: 26px; }
.bpr-mb-prev, .bpr-mb-next { width: 52px; height: 52px; font-size: 34px; flex: 0 0 auto; }
.bpr-mb-close:hover, .bpr-mb-prev:hover, .bpr-mb-next:hover { background: rgba( 255, 255, 255, .25 ); }
.bpr-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.bpr-gallery-thumb {
	width: 72px;
	height: 56px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	background: #eceef1;
	cursor: pointer;
	flex: 0 0 auto;
}
.bpr-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bpr-gallery-thumb.is-active { border-color: var(--bpr-cta); }
.bpr-row-panel { display: flex; flex-direction: column; }
.bpr-row-brand { margin: 0; font-size: 13px; color: var(--bpr-muted); }
.bpr-row-title { margin: 2px 0 4px; font-size: 30px; font-weight: 800; line-height: 1.1; }
.bpr-row-cond { margin: 0 0 14px; font-size: 12px; color: var(--bpr-muted); }

.bpr-row-price {
	background: var(--bpr-panel);
	border-radius: 12px;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-bottom: 16px;
}
.bpr-row-old { text-decoration: line-through; color: #9ca3af; font-size: 15px; width: 100%; }
.bpr-row-new { font-size: 30px; font-weight: 800; }
.bpr-row-new small { font-size: 14px; font-weight: 600; color: var(--bpr-muted); margin-left: 2px; }
.bpr-row-badge {
	margin-left: auto;
	background: var(--bpr-red);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 10px;
	border-radius: 6px;
	white-space: nowrap;
}

.bpr-specs { list-style: none; margin: 0 0 18px; padding: 0; }
.bpr-specs li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 2px;
	font-size: 14px;
	border-bottom: 1px solid var(--bpr-line);
}
.bpr-specs li::before { content: ""; width: 16px; height: 16px; flex: 0 0 auto; border-radius: 4px; background: var(--bpr-line); }

.bpr-row-cta {
	margin-top: auto;
	display: block;
	text-align: center;
	background: var(--bpr-cta);
	color: #fff;
	text-decoration: none;
	padding: 14px 18px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 15px;
	transition: background .15s ease;
}
.bpr-row-cta:hover { background: var(--bpr-cta-hover); color: #fff; }

/* ---------- Banner image ---------- */
.bpr-banner-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 5; }
.bpr-noresults, .bpr-empty { color: var(--bpr-muted); padding: 28px 0; text-align: center; }

/* ---------- Responsive ---------- */
@media ( max-width: 1224px ) {

.bpr-slide-model {top:15%;}
	.bpr-slide,
	.bpr-banner,
	.bpr-banner img { aspect-ratio: 16 / 7; }
}
@media ( max-width: 860px ) {
	p.bpr-slogan { min-height: 120px; font-size: 25px; display: grid; line-height: 1em; max-width: 600px; padding-bottom: 15px; align-items: center; }

	.bpr-row { grid-template-columns: 1fr; }
	.bpr-gallery-main { min-height: 200px; }
	.bpr-filter { flex-basis: 140px; }

	/* A 16/4 band is too short on phones: give the hero a taller ratio so the
	   overlaid logo/slogan and the model PNG have room. Slide stays absolute and
	   matches the banner ratio so they never overlap the tabs. */

	.bpr-slide { min-height: 0; padding: 0; background-size: cover; align-items: flex-end; }
	.bpr-banner img { object-fit: cover; }
	.bpr-slide-model { max-width: 62%; max-height: 78%; margin-bottom: 6px; }

	.bpr-topbar { padding: 20px 0px; }
	.bpr-topbar-logo { width: 84px; }
	.bpr-slogan { font-size: 18px; }

	.bpr-hero .bpr-tabs { padding: 6px 8px; }
	.bpr-tabs img { width: 70px; aspect-ratio: 17 / 12;}
	.bpr-tab { min-width: 0; padding: 12px 12px; }
	.bpr-tabarrow { width: 30px; }

	form.bpr-filters { margin-top: 24px; }
	.bpr-row-title { font-size: 24px; }
}
@media ( max-width: 560px ) {
	.bpr-filters { gap: 10px; }
	.bpr-filter { flex-basis: 100%; }
	.bpr-filter-reset { order: 99; }
.bpr-slide, .bpr-banner, .bpr-banner img { aspect-ratio: 16 / 11; }
	.bpr-slogan { font-size: 16px; }
	.bpr-topbar-logo { width: 100px; }
	.bpr-slide-model { max-width: 70%; }

	.bpr-row-price { padding: 14px; }
	.bpr-row-new { font-size: 26px; }
	.bpr-gallery-thumb { width: 60px; height: 46px; }
}
