/* ==========================================================================
   Battle Tested — Page & Homepage Block
   ========================================================================== */

/* --- Battle Tested Page Section --- */
.bt-page-section {
	background: #000 url('../images/bt-home-bg.png') no-repeat center center;
	background-size: cover;
	padding: 60px 5%;
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	box-sizing: border-box;
}

.bt-page-section__inner {
	max-width: 1200px;
	margin: 0 auto;
}

/* --- Page Header --- */
.bt-page-header {
	text-align: center;
	margin-bottom: 40px;
}

.bt-page-header__title {
	font-family: 'Klavika', sans-serif;
	font-size: 48px;
	font-weight: 900;
	font-style: italic;
	color: #fff;
	margin: 0 0 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.bt-page-header__subtitle {
	font-family: 'Klavika', sans-serif;
	font-size: 22px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.75);
	margin: 0 0 20px;
	line-height: 1.4;
}

.bt-page-header__desc p {
	color: rgba(255, 255, 255, 0.55);
	font-size: 14px;
	line-height: 1.7;
	margin: 0 auto;
	max-width: 800px;
}

/* --- Page Tabs --- */
.bt-page-tabs {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 40px;
}

.bt-page-tab {
	background: transparent !important;
	color: #797979 !important;
	border: 1px solid #767676 !important;
	padding: 8px 28px;
	font-family: 'Klavika', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.25s ease;
	border-radius: 3px;
}

.bt-page-tab:hover {
	background-color: #262525 !important;
	border-color: #767676 !important;
	color: #797979 !important;
}

.bt-page-tab.active {
	background-color: #820201 !important;
	border-color: #820201 !important;
	color: #FFFFFF !important;
}

/* --- Video Card Grid --- */
.bt-video-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	min-height: 100px;
}

.bt-video-card a {
	display: block;
	text-decoration: none;
	color: #fff;
}

.bt-video-card__thumb {
	overflow: hidden;
	position: relative;
	padding-left: 8px;
	padding-bottom: 8px;
}

.bt-video-card__thumb::before {
	content: '';
	position: absolute;
	top: 8px;
	left: 0;
	bottom: 0;
	right: 8px;
	border-bottom: 8px solid #820201;
	border-left: 8px solid #820201;
	pointer-events: none;
	z-index: 1;
}

.bt-video-card__thumb img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;

}

.bt-video-card__caption {
	font-family: 'Klavika', sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: #FFFFFF;
	margin: 20px 0 0;
}

/* --- Page Pagination --- */
.bt-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 50px;
}

.bt-pagination__num {
	background: transparent !important;
	color: rgba(255, 255, 255, 0.5) !important;
	border: none !important;
	font-family: 'Klavika', sans-serif;
	font-size: 16px;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 0;
	transition: color 0.25s ease;
}

.bt-pagination__num:hover {
	color: #fff !important;
}

.bt-pagination__num.active {
	color: #FF0200 !important;
}

.bt-pagination__arrow {
	background: transparent !important;
	border: none !important;
	cursor: pointer;
	padding: 0;
	border-radius: 0;
	width: 70px;
	height: 28px;
	background-image: url('../images/bt-arrow-alt.png') !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: contain !important;
	font-size: 0;
	color: transparent !important;
	transition: opacity 0.25s ease;
}

.bt-pagination__arrow:hover {
	opacity: 0.7;
}

.bt-pagination__next {
	transform: scaleX(-1);
}

/* --- Where to Buy Section --- */
.bt-wtb-section {
	padding: 60px 5%;
	background: #000000;
	text-align: center;
	position: relative;
	overflow: hidden;
	width: 100vw;
	left: 50%;
	transform: translateX(-50%);
	box-sizing: border-box;
}

.bt-wtb-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('../images/wtb-bg.jpg') no-repeat center center;
	background-size: cover;
	opacity: 0.09;
	pointer-events: none;
	z-index: 0;
}

.bt-wtb-section > * {
	position: relative;
	z-index: 1;
}

.bt-wtb-section__header {
	margin-bottom: 30px;
}

.bt-wtb-section__title {
	font-family: 'Klavika', sans-serif;
	font-size: 36px;
	font-weight: 900;
	font-style: italic;
	color: #fff;
	margin: 0 0 8px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.bt-wtb-section__subtitle {
	font-family: 'Klavika', sans-serif;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
	font-style: italic;
}

/* --- WTB Tabs --- */
.bt-wtb-tabs {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 40px;
}

.bt-wtb-tab {
	background-color: #272727 !important;
	color: #797979 !important;
	border: none !important;
	padding: 8px 28px;
	font-family: 'Klavika', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.25s ease;
	border-radius: 0;
}

.bt-wtb-tab:hover {
	background-color: #4F4D4D !important;
	color: #C8C8C8 !important;
}

.bt-wtb-tab.active {
	background-color: #820201 !important;
	color: #FFFFFF !important;
}

/* --- Retailer Card Grid --- */
.bt-retailer-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	min-height: 80px;
	text-align: left;
}

.bt-retailer-card {
	display: block;
	text-decoration: none;
	background: #242424;
	padding: 10px 10px 20px;
	border: 1px solid #434343;
	transition: background 0.25s ease;
}

.bt-retailer-card:hover {
	background: #272727;
}

.bt-retailer-card:hover .bt-retailer-card__btn {
	background: #FF0200;
}

.bt-retailer-card__logo {
	background: #fff;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.bt-retailer-card__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
    width: 100%;
    height: 100%;
}

.bt-retailer-card__name {
	font-family: 'Klavika', sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 100%;
	color: #fff;
	margin: 0;
	padding: 28px 0 11px;
	text-transform: uppercase;
}

.bt-retailer-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #820201;
	color: #fff !important;
	text-decoration: none;
	padding: 8px 15px;
	margin: 0;
	font-family: 'Klavika', sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 100%;
	letter-spacing: 0.5px;
	border-radius: 3px;
	transition: background 0.25s ease;
}


.bt-retailer-card__btn img {
	flex-shrink: 0;
	vertical-align: middle;
}

/* --- No Results --- */
.bt-video-grid .no-results,
.bt-retailer-grid .no-results {
	grid-column: 1 / -1;
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
	font-size: 16px;
	padding: 40px 0;
}

/* --- Homepage Block --- */
.home-bt-section {
	position: relative;
	padding: 5% 5%;
	overflow: hidden;
	background: #000 url('../images/bt-home-bg.png') no-repeat center center;
	background-size: cover;
}

.home-bt-section__left {
	width: 45%;
	padding-top: 40px;
	position: relative;
	z-index: 1;
}

.home-bt-section__title {
	font-family: 'Klavika', sans-serif;
	font-size: 48px;
	font-weight: 900;
	font-style: italic;
	color: #fff;
	margin: 0 0 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.home-bt-section__subtitle {
	font-family: 'Klavika', sans-serif;
	font-size: 22px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.75);
	margin: 0 0 20px;
	line-height: 1.4;
}

.home-bt-section__desc {
	margin: 0 0 28px;
}

.home-bt-section__desc p {
	color: rgba(255, 255, 255, 0.55);
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
}

.home-bt-section__btn {
	display: inline-block;
	background: url('../images/bt-btn-bg.png') no-repeat left center;
	background-size: 168px 28px;
	width: 168px;
	height: 28px;
	line-height: 28px;
	padding: 0 0 0 20px;
	text-decoration: none;
	color: #fff !important;
	font-family: 'Klavika', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	transition: opacity 0.25s ease;
}

.home-bt-section__btn:hover {
	opacity: 0.85;
	color: #fff !important;
}

/* --- Homepage Right: Carousel --- */
.home-bt-section__right {
	position: absolute;
	top: 0;
	right: 5%;
	bottom: 0;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding-right: 50px;
}


.home-bt-carousel {
	width: calc(260px * 16 / 9);
	position: relative;
	overflow: hidden;
	height: 100%;
	-webkit-mask-image: linear-gradient(
		to bottom,
		transparent 0%,
		black 25%,
		black 75%,
		transparent 100%
	);
	mask-image: linear-gradient(
		to bottom,
		transparent 0%,
		black 25%,
		black 75%,
		transparent 100%
	);
}

.home-bt-carousel__track {
	display: flex;
	flex-direction: column;
	gap: 40px;
	transition: transform 0.5s ease;
}

.home-bt-card {
	position: relative;
	padding-left: 8px;
	padding-bottom: 8px;
}

/* Red border frame — left + bottom, offset from image */
.home-bt-card::before {
	content: '';
	position: absolute;
	top: 8px;
	left: 0;
	bottom: 0;
	right: 8px;
	border-bottom: 8px solid #820201;
	border-left: 8px solid #820201;
	pointer-events: none;
	z-index: 0;
}

.home-bt-card a {
	display: block;
	position: relative;
	z-index: 1;
}

.home-bt-card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	display: block;
	object-fit: cover;
}

/* Empty state cards */
.home-bt-card--empty {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.home-bt-card__coming-soon {
	color: #B8B8B8;
	font-family: 'Klavika', sans-serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	margin: 0;
}

/* Pagination indicators (parallelogram on red line) */
.home-bt-pagination {
	position: absolute;
	right: -12px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	z-index: 2;
}

/* Arrow above dots — pointing up */
.home-bt-pagination::before {
	content: '';
	display: block;
	width: 28px;
	height: 80px;
	background: url('../images/bt-arrow.png') no-repeat center center;
	background-size: contain;
	margin-bottom: 6px;
}

/* Arrow below dots — pointing down (rotated 180) */
.home-bt-pagination::after {
	content: '';
	display: block;
	width: 28px;
	height: 80px;
	background: url('../images/bt-arrow.png') no-repeat center center;
	background-size: contain;
	transform: rotate(180deg);
	margin-top: 6px;
}

button.home-bt-pagination__dot {
	width: 24px;
	height: 15px;
	background-color: #820201 !important;
	border: none;
	padding: 0;
	cursor: pointer;
	transform: skewY(20deg);
	border-radius: 0;
	opacity: 0.35;
	transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.4s ease;
}

button.home-bt-pagination__dot:hover {
	opacity: 0.7;
}

button.home-bt-pagination__dot.active {
	opacity: 1.0;
	background-color: #FF0200 !important;
}

.home-bt-pagination--disabled {
	pointer-events: none;
}

.home-bt-pagination--disabled .home-bt-pagination__dot {
	cursor: default;
	background-color: #820201 !important;
}

.home-bt-pagination--disabled .home-bt-pagination__dot.active {
	background-color: #FF0200 !important;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
	.bt-retailer-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.bt-wtb-tabs,
	.bt-page-tabs {
		flex-wrap: wrap;
	}

	.bt-page-header__title {
		font-size: 36px;
	}

	.home-bt-section {
		gap: 30px;
	}

	.home-bt-section__left {
		flex: 0 0 40%;
	}

	.home-bt-section__right {
		flex: 0 0 55%;
	}

	.home-bt-section__title {
		font-size: 36px;
	}

	.home-bt-deco {
		display: none;
	}
}

@media (max-width: 768px) {
	.home-bt-section {
		padding: 0;
		overflow: visible;
	}

	.home-bt-section__left {
		position: relative;
		width: 100%;
		padding: 8% 6%;
		z-index: 1;
		box-sizing: border-box;
	}

	.home-bt-section__right {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0;
		padding: 0;
		overflow: visible;
	}

	.home-bt-carousel {
		width: 100%;
		height: auto;
		overflow: hidden;
		-webkit-mask-image: none;
		mask-image: none;
		padding: 0 18px;
		box-sizing: border-box;
	}

	.home-bt-carousel__track {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 32px;
	}

	.home-bt-card {
		flex: none;
		width: 100%;
		padding-left: 8px;
		padding-bottom: 8px;
		box-sizing: border-box;
	}

	.home-bt-card::before {
		display: block;
		top: 8px;
		left: 0;
		bottom: 0;
		right: 8px;
	}

	.home-bt-card img {
		aspect-ratio: 16 / 9;
	}

	/* Pagination — horizontal layout below carousel */
	.home-bt-pagination {
		position: relative;
		top: auto;
		right: auto;
		transform: none;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin: 0 0 20px;
		display: flex;
	}

	/* Arrows — rotated bt-arrow.png */
	.home-bt-pagination::before,
	.home-bt-pagination::after {
		width: 70px;
		height: 70px;
		background: url('../images/bt-arrow.png') no-repeat center center;
		background-size: contain;
		flex-shrink: 0;
	}

	.home-bt-pagination::before {
		transform: rotate(-90deg);
		margin: 0 30px 0 0;
	}

	.home-bt-pagination::after {
		transform: rotate(90deg);
		margin: 0 0 0 30px;
	}

	/* Dots: horizontal parallelogram */
	/* Visual width ~24px after skew: width + height*tan(20deg) = 18.5 + 5.46 ≈ 24 */
	button.home-bt-pagination__dot {
		width: 18.5px;
		height: 15px;
		transform: skewX(-20deg);
	}

	/* Disabled pagination (empty state) */
	.home-bt-pagination--disabled {
		flex-direction: row;
	}

	.bt-video-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.bt-retailer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.bt-page-header__title {
		font-size: 32px;
	}

	.bt-page-tabs {
		gap: 10px;
	}

	.home-bt-section__title {
		font-size: 32px;
	}

	.home-bt-section__subtitle {
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.bt-retailer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.bt-retailer-card__name {
		font-size: 14px;
		padding: 16px 0 8px;
	}

	.bt-retailer-card__btn {
		font-size: 14px;
		padding: 6px 10px;
	}

	.bt-retailer-card__btn img {
		width: 16px;
		height: 16px;
	}

	.bt-wtb-tabs {
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}

	.bt-page-tabs {
		gap: 8px;
	}

	.bt-page-tab {
		padding: 6px 16px;
		font-size: 12px;
	}

	.home-bt-section__title {
		font-size: 28px;
	}

	.home-bt-section__subtitle {
		font-size: 16px;
	}

	.home-bt-section__desc p {
		font-size: 13px;
	}
}