main {
	background: linear-gradient(180deg, var(--paper), var(--paper2)), url("../assets/images/bgTexture.webp");
	background-blend-mode: multiply;
	background-position: center;
	position: relative;
}

/* ── Decorative side triangles (visible on viewports > 1100px) ── */

main::before,
main::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: calc((100% - 1100px) / 2);
	z-index: 1;
	pointer-events: none;
}

main::before {
	left: 0;
	clip-path: polygon(0 0, 100% 0, 100% 100%);
	background:
		linear-gradient(to left, #8a6b28 0px, #a07c2e 1px, #d4a94e 1.5px, #f5e4b3 2px, #c9a24a 3px, #8a6b28 3.5px, transparent 4px),
		url("../assets/images/bgGreenTexture.webp") center / cover;
}

main::after {
	right: 0;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	background:
		linear-gradient(to right, #8a6b28 0px, #a07c2e 1px, #d4a94e 1.5px, #f5e4b3 2px, #c9a24a 3px, #8a6b28 3.5px, transparent 4px),
		url("../assets/images/bgGreenTexture.webp") center / cover;
}

@media (max-width: 1100px) {
	main::before,
	main::after {
		display: none;
	}
}

/* ── Shop Hero ── */

.shopHero {
	position: relative;
	text-align: center;
	overflow: hidden;
}

.shopHero__content {
	padding: 56px 18px 52px;
	max-width: 1100px;
	margin: 0 auto;
	box-shadow: inset 0 -8px 12px -6px rgba(0, 0, 0, 0.1);
}

/* Gold glow border at top of hero */
.shopHero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, #1b3c31 0%, #1b3c31 20%, var(--gold) 50%, #1b3c31 80%, #1b3c31 100%);
}

.shopHero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 400px;
	height: 20px;
	background: radial-gradient(ellipse at center top, rgba(201, 162, 74, 0.45) 0%, transparent 70%);
	pointer-events: none;
}

.shopHero__inner {
	position: relative;
	z-index: 1;
	max-width: 640px;
	margin: 0 auto;
}

.shopHero__leaves {
	position: absolute;
	bottom: -35%;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
	height: 130%;
	opacity: 0.75;
	pointer-events: none;
}

.shopHero__leaves--left,
.shopHero__leaves--right {
	display: none;
}

.shopHero__kicker {
	font-family: "Cinzel", serif;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.24em;
	color: var(--ink);
	opacity: 0.65;
	margin: 0 0 10px;
	text-transform: uppercase;
	transform: scaleY(0.72);
}

.shopHero__title {
	font-family: "Cinzel", serif;
	font-size: clamp(44px, 9vw, 86px);
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--green);
	margin: 0 0 18px;
	line-height: 1.05;
	transform: scaleY(0.72);
}

.shopHero__sub {
	font-family: "Libre Baskerville", serif;
	font-size: 16px;
	color: #4a3f31;
	line-height: 1.65;
	margin: 0 0 34px;
}

/* ── Pack size toggle ── */

.shopToggle {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.shopToggle__btn {
	font-family: "Cinzel", serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 16px 0;
	width: 210px;
	border: 2px solid rgba(0, 0, 0, 0.18);
	background: url("../assets/images/bgTexture.webp") center / cover;
	color: var(--ink);
	cursor: pointer;
	box-shadow:
		0 4px 12px rgba(0, 0, 0, 0.15),
		0 8px 24px rgba(0, 0, 0, 0.08);
	transition: filter 0.2s;
	position: relative;
	box-sizing: border-box;
}

/* Metallic gold inner border */
.shopToggle__btn::before {
	content: "";
	position: absolute;
	inset: 4px;
	border: 1.5px solid transparent;
	border-image: var(--gold-metallic) 1;
	pointer-events: none;
}

/* Metallic corner dots on inner border */
.shopToggle__btn::after {
	content: "";
	position: absolute;
	inset: 4px;
	pointer-events: none;
	background:
		radial-gradient(circle at 40% 35%, #f5e4b3 0%, #d4a94e 35%, #8a6b28 70%, #a07c2e 100%) no-repeat -1.5px -1.5px / 7px 7px,
		radial-gradient(circle at 60% 35%, #f5e4b3 0%, #d4a94e 35%, #8a6b28 70%, #a07c2e 100%) no-repeat calc(100% + 1.5px) -1.5px / 7px 7px,
		radial-gradient(circle at 40% 65%, #f5e4b3 0%, #d4a94e 35%, #8a6b28 70%, #a07c2e 100%) no-repeat -1.5px calc(100% + 1.5px) / 7px 7px,
		radial-gradient(circle at 60% 65%, #f5e4b3 0%, #d4a94e 35%, #8a6b28 70%, #a07c2e 100%) no-repeat calc(100% + 1.5px) calc(100% + 1.5px) / 7px 7px;
}

.shopToggle__btn--active {
	background: url("../assets/images/bgGreenTexture.webp") center / cover;
	border-color: rgba(198, 163, 93, 0.78);
	color: #ead7b2;
	box-shadow:
		0 4px 12px rgba(0, 0, 0, 0.2),
		0 8px 24px rgba(0, 0, 0, 0.12);
}

.shopToggle__btn:not(.shopToggle__btn--active):hover {
	filter: brightness(0.96);
}

/* ── Product listings ── */

.productCard {
	display: flex;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0;
	background: url("../assets/images/product.webp") left center / cover no-repeat;
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 -8px 12px -6px rgba(0, 0, 0, 0.25);
}

.productCard:last-child {
	border-bottom: none;
}

.productCard__badge {
	font-family: "Cinzel", serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #f1e3c7;
	background: linear-gradient(180deg, #6a5a3a, #4f422b);
	border: 1px solid rgba(255, 255, 255, 0.22);
	padding: 7px 13px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
	position: absolute;
	right: 2%;
	top: 4%;
	z-index: 1;
}

.productCard__info {
	margin-left: 50%;
	padding: 48px 40px;
}

.productCard__title {
	font-family: "Cinzel", serif;
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--ink);
	margin: 0 0 10px;
}

.productCard__rating {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 16px;
}

.productCard__stars {
	color: var(--gold);
	font-size: 18px;
	letter-spacing: 2px;
}

.productCard__price {
	font-family: "Cinzel", serif;
	font-size: 20px;
	letter-spacing: 0.06em;
	color: var(--ink);
}

.productCard__desc {
	font-size: 15px;
	color: #4a3f31;
	line-height: 1.65;
	margin: 0 0 12px;
	max-width: 300px;
}

.productCard__meta {
	font-family: "Cinzel", serif;
	font-size: 11px;
	letter-spacing: 0.22em;
	color: #7a6a47;
	text-transform: uppercase;
	margin: 0 0 26px;
}

/* ── Dark button variant (ADD TO CART) ── */

.btn--dark {
	background: linear-gradient(180deg, var(--green), var(--green2));
	border-color: rgba(198, 163, 93, 0.78);
	color: #ead7b2;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.btn--dark:hover {
	filter: brightness(1.08);
}

/* ── Mobile product image (hidden on desktop) ── */

.productCard__mobileImg {
	display: none;
}

/* ── Responsive ── */

@media (max-width: 680px) {
	.shopHero__leaves {
		display: none;
	}

	.productCard {
		flex-direction: column;
		background-image: none;
	}

	.productCard__mobileImg {
		display: block;
		width: 100%;
		height: auto;
	}

	.productCard__badge {
		position: absolute;
		right: 12px;
		top: 12px;
		left: auto;
		margin-top: 0;
	}

	.productCard__info {
		margin-left: 0;
		text-align: center;
		padding: 24px 20px 32px;
	}

	.productCard__desc {
		max-width: 100%;
	}

	.productCard__rating {
		justify-content: center;
	}
}
