/* ============================================================
   Bimmer Yard – eBay aprašymo šablono stilius (laikomas savo serveryje)
   Tekstai ir meniu – iš esamo šablono, čia keičiamos tik spalvos ir išvaizda.
   Spalvos: grafitas (kaip prekės / automobilio lentelės) + BMW M juostelė iš logotipo.
   ============================================================ */

:root {
	--by-dark: #1f2937;
	--by-darker: #111827;
	--by-mid: #374151;
	--by-bg: #f3f4f6;
	--by-line: #e5e7eb;
	--by-m-light: #00abed;
	--by-m-dark: #2b2d8e;
	--by-m-red: #eb1c21;
	--by-stripe: linear-gradient(90deg, #00abed 0 33.3%, #2b2d8e 33.3% 66.6%, #eb1c21 66.6% 100%);
}

@media (min-width: 1200px) {
	.container { max-width: 1180px; }
}

#page + center { display: none; }
#page { font-family: 'Outfit', Arial, sans-serif; color: var(--by-darker); background: var(--by-bg); }
.pull-left { float: left; }
.pull-right { float: right; }
.clearfix::after { content: ""; display: table; clear: both; }
.hidden { display: none; }
a { color: var(--by-m-dark); }
a:focus, a:hover { color: var(--by-m-light); }

/* ---------- Antraštė su logotipu ---------- */
#header {
	text-align: center;
	background: #fff;
	position: relative;
	padding-bottom: 5px;
}
#header::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 5px;
	background: var(--by-stripe);
}
#header .logo { display: inline-block; margin: 14px 0 10px; }
#header .logo img { max-width: 100%; height: auto; }
@media (max-width: 575px) {
	#header .logo { margin: 8px 0 !important; }
	#header .logo img { width: 260px; }
}

/* ---------- Privalumų juosta ---------- */
#selling-points { background: var(--by-dark); text-align: center; }
#selling-points .row { margin: 0; }
#selling-points .row div { padding: 13px 0; border-right: 1px solid rgba(255, 255, 255, .12); }
#selling-points .row div:first-child { border-left: 1px solid rgba(255, 255, 255, .12); }
#selling-points span {
	display: inline-block;
	line-height: 24px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .2px;
}
#selling-points span::before {
	content: "✓";
	display: inline-block;
	width: 22px; height: 22px; line-height: 22px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--by-m-light);
	color: #fff;
	font-size: 13px;
	text-align: center;
	vertical-align: 1px;
}
@media (max-width: 1023px) { #selling-points span { font-size: 12px; } }
@media (max-width: 575px) {
	#selling-points .row { margin: 0 -15px; }
	#selling-points .row div { border: none !important; padding: 9px 2px; }
	#selling-points span { font-size: 11px; line-height: 14px; }
	#selling-points span::before { display: block; margin: 0 auto 4px; }
}

/* ---------- Meniu ---------- */
#header-menu, #header-menu-mobile { background: #fff; border-bottom: 1px solid var(--by-line); }
#header-menu ul.categories { display: flex; flex-wrap: wrap; position: relative; padding: 0; margin: 0; }
#header-menu ul.categories > li { flex: 1 1 auto; list-style: none; position: relative; }
#header-menu ul.categories > li > a {
	display: block;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	height: 50px;
	line-height: 50px;
	color: var(--by-dark);
	border-bottom: 3px solid transparent;
	text-transform: uppercase;
	letter-spacing: .6px;
}
#header-menu ul.categories > li > a:hover {
	text-decoration: none;
	color: var(--by-darker);
	background: #f9fafb;
	border-bottom-color: var(--by-m-light);
}

#header-menu-mobile .mobile-menu-toggle {
	cursor: pointer; display: block; font-size: 16px; height: 44px; line-height: 44px;
	color: var(--by-dark); margin: 0; font-weight: 600;
}
#header-menu-mobile .mobile-menu-toggle .icon { float: left; width: 22px; margin: 12px 8px 0 0; }
#header-menu-mobile .mobile-menu-toggle .icon span { display: block; background: var(--by-dark); height: 3px; }
#header-menu-mobile .mobile-menu-toggle .icon span + span { margin-top: 3px; }
#header-menu-mobile .categories { display: none; padding: 0 0 10px; margin: 0; }
#header-menu-mobile .categories > li { list-style: none; }
#header-menu-mobile .categories > li > a { display: block; font-size: 16px; padding: 6px 0; color: var(--by-dark); }
#header-menu-mobile .mobile-control { display: none; }
#header-menu-mobile .mobile-control:checked ~ ul { display: block !important; }

/* ---------- Turinys ---------- */
#main { padding: 24px 0; background: var(--by-bg); }
@media (max-width: 767px) { #main { padding-top: 14px; } }

.tabsAll2 { display: block; width: 100%; box-shadow: 0 2px 10px rgba(17, 24, 39, .06); border-radius: 8px; overflow: hidden; }
.descT {
	display: block;
	margin: 0;
	padding: 0;
	background: var(--by-dark);
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	line-height: 50px;
	text-decoration: none;
	position: relative;
}
.descT span {
	display: inline-block;
	padding: 0 28px;
	border-left: 6px solid var(--by-m-light);
	letter-spacing: .4px;
}
.descT::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 3px;
	background: var(--by-stripe);
}
.desAll { display: block; width: 100%; padding: 24px; background: #fff; text-align: left; }
.desAll .desAll { padding: 0; }
@media (max-width: 575px) { .desAll { padding: 14px; } }

/* ---------- Skirtukai (Über uns, Versand, ...) ---------- */
.tabs {
	margin-top: 26px;
	background: var(--by-dark);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(17, 24, 39, .06);
}
.tabs .tab-control { display: none; }
.tabs > label {
	display: block;
	float: left;
	position: relative;
	z-index: 10;
	padding: 15px 32px;
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	border-right: 1px solid rgba(255, 255, 255, .12);
	cursor: pointer;
}
.tabs > label:hover { background: var(--by-mid); color: #fff; }
.tabs #tab-control-1:checked ~ label[for="tab-control-1"],
.tabs #tab-control-2:checked ~ label[for="tab-control-2"],
.tabs #tab-control-3:checked ~ label[for="tab-control-3"],
.tabs #tab-control-4:checked ~ label[for="tab-control-4"],
.tabs #tab-control-5:checked ~ label[for="tab-control-5"],
.tabs #tab-control-6:checked ~ label[for="tab-control-6"] {
	background: var(--by-m-light);
	color: #fff;
}
.tabs .tab-content {
	display: none;
	float: left;
	width: 100%;
	padding: 26px 36px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--by-darker);
	background: #fff;
	border-top: 3px solid var(--by-m-light);
}
.tabs .tab-content strong { color: var(--by-dark); }
.tabs .tab-content img { width: auto !important; height: auto !important; max-width: 100%; }
#tab-control-1:checked ~ #tab-content-1,
#tab-control-2:checked ~ #tab-content-2,
#tab-control-3:checked ~ #tab-content-3,
#tab-control-4:checked ~ #tab-content-4,
#tab-control-5:checked ~ #tab-content-5,
#tab-control-6:checked ~ #tab-content-6 { display: block; }

@media (max-width: 767px) {
	.tabs .desktop-label { display: none; }
	.tabs > label {
		width: 100%;
		padding: 14px 15px;
		border: 0;
		border-bottom: 1px solid rgba(255, 255, 255, .12);
	}
	.tabs > label::after { content: "▾"; float: right; opacity: .8; }
	.tabs .tab-content { padding: 15px; }
}
@media (min-width: 768px) { .tabs .mobile-label { display: none; } }

/* ---------- Poraštė ---------- */
#footer { padding: 26px 0 18px; background: #fff; position: relative; }
#footer::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 0;
	height: 4px;
	background: var(--by-stripe);
}
#footer .row > div { margin-bottom: 26px; }
#footer .subheading {
	color: var(--by-dark);
	font-size: 16px;
	font-weight: 700;
	padding: 10px 0;
	text-transform: uppercase;
	letter-spacing: .6px;
}
#footer ul { list-style: none; padding: 0; }
#footer ul li { margin-bottom: 9px; }
#footer ul li a { display: block; font-size: 15px; color: var(--by-mid); }
#footer ul li a:hover { color: var(--by-m-light); text-decoration: none; }
#footer p { font-size: 15px; color: var(--by-mid); margin-bottom: 15px; }
#footer .row > div > a {
	display: inline-block;
	padding: 11px 24px;
	background: var(--by-dark);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	border-radius: 6px;
	border-left: 5px solid var(--by-m-light);
}
#footer .row > div > a:hover { background: var(--by-m-light); text-decoration: none; }
#footer img { max-width: 100%; height: auto; }
@media (min-width: 768px) { #footer img { float: right; } }
