/* ==========================================================================
   Custom Engagement Ring page — Figma node 1:2239
   Every selector scoped under .pg-custom-ring
   ========================================================================== */

.pg-custom-ring { color: var(--color-text); }
.pg-custom-ring img { display: block; max-width: 100%; }

/* --- Hero ------------------------------------------------------------- */
.pg-custom-ring .cr-hero {
	position: relative;
	height: 520px;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.pg-custom-ring .cr-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 30%;
}
.pg-custom-ring .cr-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
}
.pg-custom-ring .cr-hero__content {
	position: relative;
	z-index: 1;
	margin-left: 50%;
	transform: translateX(-50%);
	width: 437px;
	max-width: calc(100% - 40px);
	text-align: center;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.pg-custom-ring .cr-hero__title {
	font-family: var(--font-heading);
	font-size: 48px;
	font-weight: 400;
	line-height: 1.1;
}
.pg-custom-ring .cr-hero__subtitle {
	font-size: 16px;
	letter-spacing: 0.48px;
}
.pg-custom-ring .cr-hero .btn { margin-top: 10px; }

/* --- USP marquee ----------------------------------------------------- */
.pg-custom-ring .cr-usp {
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	overflow: hidden;
	padding: 20px 0;
}
.pg-custom-ring .cr-usp__track {
	display: flex;
	gap: 10px;
	width: max-content;
	animation: cr-usp-scroll 40s linear infinite;
}
.pg-custom-ring .cr-usp__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-size: 18px;
	white-space: nowrap;
	padding-right: 10px;
}
.pg-custom-ring .cr-usp__item img { width: 17px; height: 16px; }
@keyframes cr-usp-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* --- Ring type grid (2x2 large cards) -------------------------------- */
.pg-custom-ring .cr-rings__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}
.pg-custom-ring .cr-ring-card {
	position: relative;
	aspect-ratio: 1;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding-bottom: 40px;
	gap: 16px;
}
.pg-custom-ring .cr-ring-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(26, 5, 4, 0) 72%, rgba(26, 5, 4, 0.28) 100%);
}
.pg-custom-ring .cr-ring-card__label {
	position: relative;
	color: #fff;
	font-family: var(--font-heading);
	font-size: 22px;
	text-align: center;
}
.pg-custom-ring .cr-ring-card .btn { position: relative; }

/* --- Popular category (3 tall cards) --------------------------------- */
.pg-custom-ring .cr-popular__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.pg-custom-ring .cr-popular-card {
	position: relative;
	height: 590px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding-bottom: 44px;
	gap: 15px;
}
.pg-custom-ring .cr-popular-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.15);
}
.pg-custom-ring .cr-popular-card__label {
	position: relative;
	color: #fff;
	font-family: var(--font-heading);
	font-size: 22px;
}
.pg-custom-ring .cr-popular-card .btn { position: relative; }

/* --- Shop by Diamonds (circular shapes) ------------------------------ */
.pg-custom-ring .cr-diamonds__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 30px;
	justify-items: center;
}
.pg-custom-ring .cr-diamond {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}
.pg-custom-ring .cr-diamond__disc {
	position: relative;
	width: 150px;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pg-custom-ring .cr-diamond__disc > img.cr-diamond__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.pg-custom-ring .cr-diamond__shape {
	position: relative;
	width: auto;
	height: 92px;
}
.pg-custom-ring .cr-diamond__label {
	font-family: var(--font-heading);
	font-size: 22px;
	color: var(--color-text);
	text-align: center;
	text-transform: capitalize;
}

/* --- Shop Engagement Rings (3 category cards) ------------------------ */
.pg-custom-ring .cr-cats__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	justify-items: center;
}
.pg-custom-ring .cr-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 359px;
}
.pg-custom-ring .cr-cat__box {
	width: 100%;
	aspect-ratio: 359 / 450;
	border-radius: 10px;
	overflow: hidden;
}
.pg-custom-ring .cr-cat__box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pg-custom-ring .cr-cat__label {
	font-family: var(--font-heading);
	font-size: 22px;
	color: #242424;
	text-align: center;
}

/* --- FAQ ------------------------------------------------------------- */
.pg-custom-ring .cr-faq__title { text-align: center; margin-bottom: 55px; }
.pg-custom-ring .cr-faq__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.pg-custom-ring .cr-faq-item__q {
	width: 100%;
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	box-shadow: 0 44px 18px rgba(161, 161, 161, 0.01), 0 16px 15px rgba(161, 161, 161, 0.04);
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 0 29px;
	font-family: var(--font-heading);
	font-size: 20px;
	text-align: left;
	color: #000;
	cursor: pointer;
}
.pg-custom-ring .cr-faq-item__arrow {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	transition: transform 0.2s;
}
.pg-custom-ring .cr-faq-item.is-open .cr-faq-item__arrow { transform: scaleY(-1); }
.pg-custom-ring .cr-faq-item__a {
	display: none;
	padding: 20px 15px 0;
	font-size: 16px;
	line-height: 1.5;
}
.pg-custom-ring .cr-faq-item.is-open .cr-faq-item__a { display: block; }

/* --- Instagram / gallery strip --------------------------------------- */
.pg-custom-ring .cr-strip {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
}
.pg-custom-ring .cr-strip__item { aspect-ratio: 240 / 400; }
.pg-custom-ring .cr-strip__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Responsive ------------------------------------------------------ */
@media (max-width: 1024px) {
	.pg-custom-ring .cr-popular__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	.pg-custom-ring .cr-popular-card { height: 460px; }
	.pg-custom-ring .cr-diamonds__grid { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
	.pg-custom-ring .cr-cats__row { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	.pg-custom-ring .cr-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
	.pg-custom-ring .cr-hero { height: 440px; }
	.pg-custom-ring .cr-hero__title { font-size: 36px; }
	.pg-custom-ring .cr-rings__grid { grid-template-columns: 1fr; gap: 20px; }
	.pg-custom-ring .cr-popular__grid { grid-template-columns: 1fr; gap: 20px; }
	.pg-custom-ring .cr-popular-card { height: 420px; }
	.pg-custom-ring .cr-diamonds__grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
	.pg-custom-ring .cr-diamond__disc { width: 120px; height: 120px; }
	.pg-custom-ring .cr-diamond__shape { height: 72px; }
	.pg-custom-ring .cr-cats__row { grid-template-columns: 1fr; gap: 24px; }
	.pg-custom-ring .cr-faq-item__q { font-size: 17px; padding: 0 18px; }
	.pg-custom-ring .cr-strip { grid-template-columns: repeat(2, 1fr); }
}
