/* ==========================================================================
   Featured Product Showcase
   ========================================================================== */

.sri-featured {
	position: relative;
	width: 100%;
	background: #ffffff;
	padding: 2.75rem 0 3rem;
	margin: 0 0 2.25rem;
	overflow: hidden;
}

.sri-featured__shell {
	position: relative;
	z-index: 1;
	width: min(1220px, calc(100% - 2rem));
	margin: 0 auto;
}

.sri-featured__grid {
	display: grid;
	grid-template-columns: 48% 1fr;
	gap: 2rem 2.5rem;
	align-items: center;
	min-height: 450px;
}

/* Left visual */
.sri-featured__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	padding: 1rem;
}

.sri-featured__visual-bg {
	position: absolute;
	inset: 6% 8%;
	border-radius: 28px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 60% at 50% 42%, rgba(255, 255, 255, 0.92) 0%, transparent 68%),
		radial-gradient(circle at 28% 28%, rgba(184, 149, 85, 0.28), transparent 52%),
		radial-gradient(circle at 72% 68%, rgba(49, 92, 69, 0.22), transparent 55%),
		radial-gradient(circle at 50% 50%, rgba(212, 188, 148, 0.2), transparent 70%),
		linear-gradient(160deg, #f7f4ec 0%, #eef3ec 48%, #f4f0e6 100%);
	box-shadow:
		inset 0 0 0 1px rgba(18, 59, 42, 0.07),
		0 14px 32px rgba(18, 59, 42, 0.05);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.sri-featured__visual-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../images/pattern-herbal.png");
	background-size: 200px auto;
	background-repeat: repeat;
	opacity: 0.14;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.sri-featured__visual-bg::after {
	content: "";
	position: absolute;
	inset: -10%;
	background:
		radial-gradient(circle at 50% 45%, rgba(255, 252, 245, 0.55) 0%, transparent 42%),
		radial-gradient(circle at 18% 78%, rgba(184, 149, 85, 0.16), transparent 45%),
		radial-gradient(circle at 85% 18%, rgba(49, 92, 69, 0.14), transparent 40%);
	pointer-events: none;
}

.sri-featured__visual:hover .sri-featured__visual-bg {
	transform: scale(1.01);
	box-shadow:
		inset 0 0 0 1px rgba(18, 59, 42, 0.1),
		0 18px 40px rgba(18, 59, 42, 0.08);
}

.sri-featured__image-link {
	position: relative;
	z-index: 1;
	display: block;
	width: min(100%, 420px);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sri-featured__image-link:hover {
	transform: scale(1.04);
}

.sri-featured__image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 18px 28px rgba(29, 39, 33, 0.14));
	transition: filter 0.45s ease;
}

.sri-featured__image-link:hover .sri-featured__image {
	filter: drop-shadow(0 22px 34px rgba(29, 39, 33, 0.2));
}

/* Right info */
.sri-featured__info {
	padding: 0.35rem 0.25rem 0.35rem 0;
	max-width: 560px;
}

.sri-featured__badge {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	background: #315c45;
	color: #fff;
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.85rem;
	transition: transform 0.25s ease, background 0.25s ease;
}

.sri-featured__info:hover .sri-featured__badge {
	background: #123b2a;
}

.sri-featured__title {
	margin: 0 0 0.55rem;
	font-family: var(--sri-serif, "Cormorant Garamond", serif);
	font-size: clamp(1.7rem, 2.2vw, 2.05rem);
	font-weight: 700;
	line-height: 1.15;
	color: #1d2721;
	letter-spacing: 0.01em;
}

.sri-featured__title a {
	color: inherit;
	text-decoration: none;
}

.sri-featured__title a:hover {
	color: #123b2a;
}

.sri-featured__rating {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem 0.7rem;
	margin: 0 0 0.85rem;
}

.sri-featured__stars {
	display: inline-flex;
	gap: 0.15rem;
	color: rgba(184, 149, 85, 0.35);
	font-size: 0.78rem;
}

.sri-featured__stars .is-on,
.sri-featured__stars .is-half {
	color: #b89555;
}

.sri-featured__rating-text {
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 0.82rem;
	color: #6f7872;
	font-weight: 500;
}

.sri-featured__rating-text strong {
	color: #1d2721;
	font-weight: 700;
}

.sri-featured__desc {
	margin: 0 0 1rem;
	max-width: 34rem;
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 0.92rem;
	line-height: 1.6;
	color: #6f7872;
	font-weight: 500;
}

.sri-featured__price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.55rem 0.75rem;
	margin: 0 0 1.15rem;
}

.sri-featured__price-sale {
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 1.55rem;
	font-weight: 700;
	color: #123b2a;
	line-height: 1;
}

.sri-featured__price-sale .amount,
.sri-featured__price-sale .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.sri-featured__price-regular {
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 1rem;
	color: #6f7872;
}

.sri-featured__price-regular del {
	text-decoration: line-through;
	opacity: 0.85;
}

.sri-featured__off {
	display: inline-flex;
	align-items: center;
	padding: 0.22rem 0.55rem;
	border-radius: 999px;
	background: rgba(184, 149, 85, 0.16);
	color: #8a6a2f;
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition: transform 0.25s ease, background 0.25s ease;
}

.sri-featured__price:hover .sri-featured__off {
	transform: scale(1.05);
	background: rgba(184, 149, 85, 0.24);
}

.sri-featured__oos {
	margin: 0 0 1rem;
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-weight: 700;
	color: #8a3030;
}

/* Actions */
.sri-featured__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 1.15rem;
}

.sri-qty {
	display: inline-flex;
	align-items: center;
	height: 46px;
	border: 1px solid rgba(18, 59, 42, 0.16);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sri-qty:hover {
	border-color: rgba(49, 92, 69, 0.35);
	box-shadow: 0 4px 14px rgba(18, 59, 42, 0.06);
}

.sri-qty__btn {
	width: 40px;
	height: 100%;
	border: 0;
	background: transparent;
	color: #123b2a;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	line-height: 1;
}

.sri-qty__btn:hover {
	background: rgba(18, 59, 42, 0.05);
}

.sri-qty__input {
	width: 42px;
	height: 100%;
	border: 0;
	border-left: 1px solid rgba(18, 59, 42, 0.1);
	border-right: 1px solid rgba(18, 59, 42, 0.1);
	text-align: center;
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 0.92rem;
	font-weight: 700;
	color: #1d2721;
	background: transparent;
	-moz-appearance: textfield;
}

.sri-qty__input::-webkit-outer-spin-button,
.sri-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.sri-featured__cart,
.sri-featured__buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 46px;
	padding: 0 1.35rem;
	border-radius: 999px;
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sri-featured__cart {
	background: #123b2a;
	color: #fff;
	border: 1px solid #123b2a;
	box-shadow: 0 8px 18px rgba(18, 59, 42, 0.18);
}

.sri-featured__cart:hover {
	background: #315c45;
	border-color: #315c45;
	transform: translateY(-2px);
	color: #fff;
}

.sri-featured__buy {
	background: #ffffff;
	color: #123b2a;
	border: 1.5px solid #315c45;
}

.sri-featured__buy:hover {
	background: #fff;
	transform: translateY(-2px);
}

.sri-featured__cart.is-loading,
.sri-featured__buy.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* Benefits */
.sri-featured__benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.65rem;
}

.sri-benefit {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
	padding: 0.75rem 0.7rem;
	background: #ffffff;
	border: 1px solid rgba(18, 59, 42, 0.1);
	border-radius: 12px;
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.sri-benefit:hover {
	background: #f7faf7;
	border-color: rgba(49, 92, 69, 0.28);
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(18, 59, 42, 0.08);
}

.sri-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-bottom: 0.2rem;
	color: #315c45;
	font-size: 0.95rem;
	transition: transform 0.25s ease, color 0.25s ease;
}

.sri-benefit:hover .sri-benefit__icon {
	transform: scale(1.12);
	color: #123b2a;
}

.sri-benefit__title {
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 0.8rem;
	font-weight: 700;
	color: #1d2721;
	line-height: 1.25;
}

.sri-benefit__text {
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 0.7rem;
	font-weight: 500;
	color: #6f7872;
	line-height: 1.3;
}

.sri-featured__toast {
	margin-top: 0.85rem;
	padding: 0.7rem 0.9rem;
	border-radius: 10px;
	background: rgba(49, 92, 69, 0.1);
	border: 1px solid rgba(49, 92, 69, 0.2);
	color: #123b2a;
	font-family: var(--sri-sans, "Manrope", sans-serif);
	font-size: 0.84rem;
	font-weight: 600;
}

.sri-featured__toast.is-error {
	background: rgba(138, 48, 48, 0.08);
	border-color: rgba(138, 48, 48, 0.22);
	color: #8a3030;
}

/* Responsive */
@media (max-width: 980px) {
	.sri-featured__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		min-height: 0;
	}

	.sri-featured__visual {
		min-height: 0;
		padding: 0.5rem 0.25rem;
	}

	.sri-featured__image-link {
		width: min(100%, 360px);
		margin: 0 auto;
	}

	.sri-featured__image {
		max-height: 300px;
		width: auto;
		margin: 0 auto;
	}

	.sri-featured__info {
		max-width: none;
		padding: 0;
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.sri-featured__badge {
		margin-left: auto;
		margin-right: auto;
	}

	.sri-featured__title {
		text-align: center;
	}

	.sri-featured__rating {
		justify-content: center;
	}

	.sri-featured__desc {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.sri-featured__price {
		justify-content: center;
	}

	.sri-featured__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.7rem;
		width: 100%;
		max-width: 360px;
	}

	.sri-qty {
		grid-column: 1 / -1;
		justify-self: center;
		width: 100%;
		max-width: 180px;
		justify-content: space-between;
	}

	.sri-featured__cart,
	.sri-featured__buy {
		grid-column: 1 / -1;
		width: 100%;
		min-height: 46px;
	}

	.sri-featured__benefits {
		width: 100%;
	}

	.sri-featured__toast {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 700px) {
	.sri-featured {
		padding: 1.5rem 0 1.75rem;
	}

	.sri-featured__shell {
		width: min(100% - 1.25rem, 1220px);
	}

	.sri-featured__visual {
		height: auto;
	}

	.sri-featured__image-link {
		width: 100%;
	}

	.sri-featured__image {
		max-height: 290px;
		width: 100%;
		object-fit: contain;
	}

	.sri-featured__title {
		font-size: clamp(1.55rem, 7vw, 1.85rem);
		text-align: center;
	}

	.sri-featured__desc {
		font-size: 0.86rem;
		text-align: center;
	}

	.sri-featured__price-sale {
		font-size: 1.45rem;
	}

	.sri-featured__actions {
		grid-template-columns: 1fr;
		max-width: 100%;
	}

	.sri-qty {
		width: 100%;
		max-width: 100%;
		justify-content: space-between;
	}

	.sri-qty__input {
		flex: 1;
	}

	.sri-featured__cart,
	.sri-featured__buy {
		width: 100%;
		min-height: 48px;
	}

	.sri-featured__benefits {
		gap: 0.45rem;
	}

	.sri-benefit {
		padding: 0.6rem 0.45rem;
		align-items: center;
		text-align: center;
	}

	.sri-benefit__title {
		font-size: 0.72rem;
	}

	.sri-benefit__text {
		font-size: 0.62rem;
	}
}

@media (max-width: 350px) {
	.sri-benefit {
		padding: 0.5rem 0.3rem;
	}

	.sri-benefit__icon {
		width: 24px;
		height: 24px;
		font-size: 0.85rem;
	}

	.sri-benefit__title {
		font-size: 0.64rem;
	}

	.sri-benefit__text {
		font-size: 0.58rem;
	}
}
