html[lang="ar"] .tba-home-unboxing {
    font-family: Tahoma, Arial, sans-serif;
}

html[lang="ar"] .tba-home-unboxing * {
    letter-spacing: 0 !important;
}


/* Compact homepage unboxing-video preview and vertical-video lightbox. */
.tba-home-unboxing {
	--tba-accent: #f5a300;
	--tba-border: #eadfd6;
	box-sizing: border-box;
	margin: 52px auto 54px;
	max-width: 1160px;
	padding: 0 20px;
	text-align: center;
	width: 100%;
}

.tba-home-unboxing[hidden],
.tba-unboxing-modal[hidden] {
	display: none !important;
}

.tba-unboxing-heading {
	margin-bottom: 10px;
}

.tba-unboxing-subtitle {
	color: #6d625b;
	font-size: 14px;
	line-height: 1.6;
	margin: 0 auto 20px;
}

.tba-unboxing-preview {
	appearance: none;
	background: #15110f;
	border: 1px solid var(--tba-border);
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(40, 28, 20, .13);
	color: #fff;
	cursor: pointer;
	display: block;
	height: clamp(280px, 26vw, 380px);
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.tba-unboxing-preview-video {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center 36%;
	pointer-events: none;
	width: 100%;
}

.tba-unboxing-preview-shade {
	background:
		linear-gradient(90deg, rgba(18, 13, 10, .5), rgba(18, 13, 10, .05) 42%, rgba(18, 13, 10, .35)),
		linear-gradient(0deg, rgba(18, 13, 10, .42), transparent 55%);
	inset: 0;
	position: absolute;
}

.tba-unboxing-play {
	align-items: center;
	display: inline-flex;
	flex-direction: column;
	font-size: 13px;
	font-weight: 600;
	gap: 9px;
	left: 50%;
	position: absolute;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
	top: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
}

.tba-unboxing-play-icon {
	align-items: center;
	background: var(--tba-accent);
	border: 3px solid rgba(255, 255, 255, .92);
	border-radius: 50%;
	box-shadow: 0 7px 22px rgba(0, 0, 0, .28);
	color: #111;
	display: flex;
	font-size: 17px;
	height: 58px;
	justify-content: center;
	padding-left: 3px;
	text-shadow: none;
	transition: transform .2s ease;
	width: 58px;
}

.tba-unboxing-preview:hover .tba-unboxing-play-icon,
.tba-unboxing-preview:focus-visible .tba-unboxing-play-icon {
	transform: scale(1.08);
}

.tba-unboxing-duration {
	background: rgba(20, 16, 13, .76);
	border-radius: 4px;
	bottom: 14px;
	color: #fff;
	font-size: 11px;
	padding: 4px 7px;
	position: absolute;
	right: 14px;
}

.tba-unboxing-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 22px;
	position: fixed;
	z-index: 100000;
}

.tba-unboxing-modal-backdrop {
	background: rgba(0, 0, 0, .84);
	inset: 0;
	position: absolute;
}

.tba-unboxing-modal-dialog {
	background: #000;
	border-radius: 14px;
	box-shadow: 0 18px 65px rgba(0, 0, 0, .5);
	max-height: calc(100vh - 44px);
	max-width: min(92vw, 500px);
	overflow: hidden;
	position: relative;
	width: auto;
	z-index: 1;
}

.tba-unboxing-player {
	display: block;
	height: min(88vh, 820px);
	max-width: 92vw;
	width: auto;
}

.tba-unboxing-close {
	align-items: center;
	background: rgba(255, 255, 255, .94);
	border: 0;
	border-radius: 50%;
	color: #111;
	cursor: pointer;
	display: flex;
	font-size: 24px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 3px;
	position: absolute;
	right: 10px;
	top: 10px;
	width: 36px;
	z-index: 3;
}

html.tba-unboxing-open {
	overflow: hidden;
}

.tba-home-section-heading {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(30px, 1fr) auto minmax(30px, 1fr);
	margin: 0 auto 22px;
	max-width: 740px;
	text-align: center;
}

.tba-home-section-heading h2 {
	font-size: clamp(22px, 2.3vw, 31px);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
}

.tba-heading-line {
	background: var(--tba-border);
	height: 1px;
	position: relative;
}

.tba-heading-line:first-child::after {
	background: var(--tba-accent);
	content: "";
	height: 6px;
	position: absolute;
	right: -3px;
	top: -2px;
	transform: rotate(45deg);
	width: 6px;
}

.tba-heading-line:last-child::before {
	background: var(--tba-accent);
	content: "";
	height: 6px;
	left: -3px;
	position: absolute;
	top: -2px;
	transform: rotate(45deg);
	width: 6px;
}
/* In RTL the first and last grid lines exchange sides. Keep both diamonds
 * on the inner edges beside the Arabic heading, matching the English design. */
.tba-language-ar .tba-heading-line:first-child::after {
	left: -3px;
	right: auto;
}

.tba-language-ar .tba-heading-line:last-child::before {
	left: auto;
	right: -3px;
}

@media (max-width: 767px) {
	.tba-home-unboxing {
		margin-bottom: 38px;
		margin-top: 38px;
		padding: 0 14px;
	}

	.tba-unboxing-subtitle {
		font-size: 12px;
		margin-bottom: 14px;
	}

	.tba-unboxing-preview {
		aspect-ratio: 16 / 9;
		border-radius: 11px;
		height: auto;
	}

	.tba-unboxing-play {
		font-size: 11px;
		gap: 6px;
	}

	.tba-unboxing-play-icon {
		border-width: 2px;
		font-size: 14px;
		height: 46px;
		width: 46px;
	}

	.tba-unboxing-duration {
		bottom: 9px;
		right: 9px;
	}

	.tba-unboxing-modal {
		padding: 12px;
	}

	.tba-unboxing-player {
		height: auto;
		max-height: calc(100vh - 24px);
		max-width: calc(100vw - 24px);
		width: auto;
	}
}
