/**
 * Product presentation — category cards + product grid/tabs.
 * Matches rekhisports dark chrome; presentation pattern from rekhiinternational.
 */

.rekhi-pp {
	padding: 3.5rem 0;
}

.rekhi-pp-eyebrow {
	margin: 0 0 0.5rem;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rekhi-accent, #ff6b00);
}

.rekhi-pp-title {
	margin: 0 0 2rem;
	text-align: center;
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	font-weight: 800;
	color: var(--rekhi-heading, #fff);
}

/* Feature columns (3 promo texts) */
.rekhi-pp-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem 2rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.rekhi-pp-feature {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	text-align: center;
	padding: 1.25rem 1rem;
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rekhi-pp-feature:hover {
	border-color: rgba(255, 107, 0, 0.45);
	transform: translateY(-2px);
	color: inherit;
}

.rekhi-pp-feature__eyebrow {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--rekhi-accent, #ff6b00);
}

.rekhi-pp-feature__title {
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--rekhi-heading, #fff);
	line-height: 1.2;
}

.rekhi-pp-feature__desc {
	font-size: 0.9rem;
	color: var(--rekhi-text-secondary, #a0a0b0);
}

/* Our Categories */
.rekhi-pp-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.rekhi-pp-cat {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: #1a1a25;
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.rekhi-pp-cat__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.02);
	transition: transform 0.35s ease;
}

.rekhi-pp-cat__media--plain,
.rekhi-pp-cat--noimg .rekhi-pp-cat__media {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(155deg, #3a3a4a 0%, #1c1c28 42%, #2a1810 100%) !important;
	transform: none;
}

.rekhi-pp-cat__initial {
	font-size: 3.5rem;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.62);
	letter-spacing: 0.04em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.rekhi-pp-cat--noimg .rekhi-pp-cat__shade {
	background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.78) 100%);
}

.rekhi-pp-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background: linear-gradient(145deg, #242432, #12121a 60%, #1a120c);
}

.rekhi-pp-card__placeholder span {
	font-size: 2.75rem;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.45);
}

.rekhi-pp-empty {
	text-align: center;
	color: var(--rekhi-text-secondary, #a0a0b0);
	padding: 1.5rem;
}

.rekhi-pp-cat:hover .rekhi-pp-cat__media {
	transform: scale(1.08);
}

.rekhi-pp-cat__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82) 100%);
}

.rekhi-pp-cat__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.1rem 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.rekhi-pp-cat__name {
	font-size: 1.15rem;
	font-weight: 800;
}

.rekhi-pp-cat__meta {
	font-size: 0.8rem;
	opacity: 0.85;
}

/* Tabs + product cards */
.rekhi-pp-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
}

.rekhi-pp-tabs__btn {
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: transparent;
	color: var(--rekhi-text-secondary, #a0a0b0);
	padding: 0.55rem 1rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.18s ease;
}

.rekhi-pp-tabs__btn.is-active,
.rekhi-pp-tabs__btn:hover {
	background: var(--rekhi-accent, #ff6b00);
	border-color: var(--rekhi-accent, #ff6b00);
	color: #fff;
}

.rekhi-pp-tabs__panel[hidden] {
	display: none !important;
}

.rekhi-pp-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.rekhi-pp-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.rekhi-pp-card__media {
	display: block;
	aspect-ratio: 1;
	background: #12121a;
	overflow: hidden;
}

.rekhi-pp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.rekhi-pp-card:hover .rekhi-pp-card__media img {
	transform: scale(1.05);
}

.rekhi-pp-card__body {
	padding: 0.95rem 1rem 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1;
}

.rekhi-pp-card__cat {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rekhi-accent, #ff6b00);
}

.rekhi-pp-card__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 700;
}

.rekhi-pp-card__title a {
	color: var(--rekhi-heading, #fff) !important;
	text-decoration: none;
}

.rekhi-pp-card__title a:hover,
.rekhi-pp-card__title a:focus {
	color: var(--rekhi-accent, #ff6b00) !important;
}

.rekhi-pp-card__meta {
	margin: 0;
	font-size: 0.82rem;
	color: var(--rekhi-text-secondary, #a0a0b0);
}

.rekhi-pp-card__cta {
	margin-top: auto;
	padding-top: 0.55rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--rekhi-accent, #ff6b00) !important;
	text-decoration: none;
}

.rekhi-pp-card__cta:hover,
.rekhi-pp-card__cta:focus {
	color: var(--rekhi-accent, #ff6b00) !important;
	filter: brightness(1.12);
}

.rekhi-pp-more {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin: 2rem 0 0;
}

.rekhi-pp-more a {
	color: var(--rekhi-accent, #ff6b00) !important;
}

/* Light / modern skin — readable cards + tabs (no washed white-on-white) */
body.rekhi-skin--light .rekhi-pp-feature,
body.rekhi-skin--modern .rekhi-pp-feature {
	background: linear-gradient(145deg, rgba(10, 10, 15, 0.04), rgba(10, 10, 15, 0.02));
	border-color: rgba(10, 10, 15, 0.1);
	box-shadow: 0 8px 28px rgba(10, 10, 15, 0.06);
}

body.rekhi-skin--light .rekhi-pp-feature:hover,
body.rekhi-skin--modern .rekhi-pp-feature:hover {
	border-color: rgba(var(--rekhi-accent-rgb, 255, 107, 0), 0.45);
}

body.rekhi-skin--light .rekhi-pp-tabs__btn,
body.rekhi-skin--modern .rekhi-pp-tabs__btn {
	border-color: rgba(10, 10, 15, 0.14);
	color: var(--rekhi-text-secondary, #5a5a6a);
}

body.rekhi-skin--light .rekhi-pp-tabs__btn.is-active,
body.rekhi-skin--light .rekhi-pp-tabs__btn:hover,
body.rekhi-skin--modern .rekhi-pp-tabs__btn.is-active,
body.rekhi-skin--modern .rekhi-pp-tabs__btn:hover {
	background: var(--rekhi-accent, #ff6b00);
	border-color: var(--rekhi-accent, #ff6b00);
	color: #fff;
}

body.rekhi-skin--light .rekhi-pp-card,
body.rekhi-skin--modern .rekhi-pp-card {
	background: rgba(10, 10, 15, 0.03);
	border-color: rgba(10, 10, 15, 0.1);
}

body.rekhi-skin--light .rekhi-pp-card__media,
body.rekhi-skin--modern .rekhi-pp-card__media {
	background: #f0f0f4;
}

body.rekhi-skin--light .rekhi-pp-card__cta:hover,
body.rekhi-skin--modern .rekhi-pp-card__cta:hover {
	color: var(--rekhi-accent, #ff6b00) !important;
}

body.rekhi-skin--light .rekhi-pp-cat,
body.rekhi-skin--modern .rekhi-pp-cat {
	border-color: rgba(10, 10, 15, 0.12);
	box-shadow: 0 10px 32px rgba(10, 10, 15, 0.12);
}

@media (max-width: 1024px) {
	.rekhi-pp-features,
	.rekhi-pp-cats,
	.rekhi-pp-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.rekhi-pp-features {
		grid-template-columns: 1fr;
	}
	.rekhi-pp-cats,
	.rekhi-pp-grid {
		grid-template-columns: 1fr;
	}
}
