/* Royal Honey VIP Pricing – frontend styles */
.rhvp, .rhvp *, .rhvp *::before, .rhvp *::after { box-sizing: border-box; }

.rhvp {
	--rhvp-gold: #f0b93a;
	--rhvp-gold-light: #ffd978;
	--rhvp-gold-dark: #b8801f;
	--rhvp-cream: #f6efdf;
	--rhvp-ink: #14100a;
	--rhvp-feat-scale: 1.035;
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
	padding: 24px 24px 28px;
	color: var(--rhvp-cream);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	background:
		radial-gradient(ellipse 70% 55% at 50% 0%, rgba(240, 185, 58, .16), transparent 70%),
		linear-gradient(180deg, #1a1208 0%, #0b0805 45%, #070503 100%);
	border-top: 1px solid rgba(240, 185, 58, .35);
	line-height: 1.3;
}
.rhvp__inner { width: 100%; max-width: 100%; margin: 0; }

/* Header */
.rhvp__header { text-align: center; margin-bottom: 26px; }
.rhvp__eyebrow {
	display: flex; align-items: center; justify-content: center; gap: 22px;
	font-family: "Cinzel", Georgia, "Times New Roman", serif;
	font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	font-size: clamp(14px, 1.9vw, 20px);
	color: var(--rhvp-gold);
}
.rhvp__eyebrow--lines::before, .rhvp__eyebrow--lines::after {
	content: ""; flex: 0 1 90px; height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--rhvp-gold));
}
.rhvp__eyebrow--lines::after { transform: scaleX(-1); }
.rhvp__title {
	margin: 4px 0 6px; padding: 0 .1em;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-style: italic; font-weight: 800; text-transform: uppercase;
	font-size: clamp(30px, 6vw, 56px); line-height: 1.1;
	color: var(--rhvp-gold-light);
	background: linear-gradient(180deg, #fff1b8 0%, #f4c850 45%, #c8901f 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 8px rgba(240, 185, 58, .35));
}
.rhvp__subtitle { margin: 0; font-size: clamp(14px, 1.7vw, 18px); color: #f3ead6; font-weight: 400; }

/* Grid */
.rhvp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 26px); align-items: stretch; padding-top: 16px; }

/* Card */
.rhvp-card {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
	min-width: 0; padding: 22px clamp(10px, 1.8vw, 22px) 18px;
	background: linear-gradient(180deg, #fffdf8 0%, #f3ead7 100%);
	border: 2px solid var(--rhvp-gold-dark);
	border-radius: 18px;
	color: var(--rhvp-ink);
	box-shadow: 0 0 0 3px #0b0805, 0 0 0 4px rgba(240, 185, 58, .55), 0 8px 24px rgba(0, 0, 0, .5);
}
.rhvp-card--featured {
	border-color: var(--rhvp-gold-light);
	transform: scale(var(--rhvp-feat-scale));
	z-index: 2;
	box-shadow: 0 0 0 3px #0b0805, 0 0 0 4px var(--rhvp-gold), 0 0 28px rgba(240, 185, 58, .6), 0 10px 30px rgba(0, 0, 0, .55);
}
.rhvp-card__title { margin: 6px 0 2px; font-size: clamp(22px, 3.2vw, 32px); font-weight: 800; line-height: 1.15; color: var(--rhvp-ink); }
.rhvp-card__sub { margin: 0; font-size: clamp(12px, 1.5vw, 17px); color: #2b2418; }
.rhvp-card__detail { margin: 0; font-size: clamp(12px, 1.5vw, 17px); color: #2b2418; }

/* Badge */
.rhvp-badge {
	position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
	max-width: 90%; white-space: nowrap;
	padding: 6px 26px; font-size: clamp(11px, 1.3vw, 15px); font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
	border-radius: 8px 8px 12px 12px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, .5);
}
.rhvp-badge--gold { color: #1a1208; background: linear-gradient(180deg, #ffe08a, #e6a92a); border: 1px solid #fff0b5; }
.rhvp-badge--red { color: #fff; background: linear-gradient(180deg, #e0221f, #a30f0f); border: 1px solid #ff6a5f; }

/* Product images (fan stack) */
.rhvp-card__media { position: relative; width: 100%; height: clamp(115px, 15.5vw, 175px); margin: 14px 0 8px; }
.rhvp-card__media img {
	position: absolute; display: block; height: auto; max-width: none; border: 0; box-shadow: none; border-radius: 0;
	width: calc(44% + var(--i, 0) * (16% / var(--nm1, 1)));
	left: calc(var(--i, 0) * (40% / var(--nm1, 1)));
	bottom: calc((var(--nm1, 1) - var(--i, 0)) * (26% / var(--nm1, 1)));
	z-index: calc(var(--i, 0) + 1);
	object-fit: contain; object-position: bottom;
	filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35));
}
.rhvp-card__media--single img { width: 62%; left: 19%; bottom: 0; }

/* Price */
.rhvp-card__price { margin-top: auto; font-size: clamp(26px, 4vw, 44px); font-weight: 800; line-height: 1.1; color: var(--rhvp-ink); letter-spacing: -.01em; }
.rhvp-card__per { margin: 4px 0 14px; font-size: clamp(12px, 1.5vw, 17px); color: #2b2418; }

/* Button */
.rhvp-btn {
	display: block; width: 100%; padding: 14px 16px; text-align: center; text-decoration: none; cursor: pointer;
	font-family: inherit; font-size: clamp(13px, 1.6vw, 18px); font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
	color: var(--rhvp-ink); background: transparent;
	border: 2px solid var(--rhvp-gold-dark); border-radius: 999px;
	transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .1s ease;
}
.rhvp-btn:hover, .rhvp-btn:focus-visible { background: linear-gradient(180deg, #ffd978, #e8aa28); border-color: #fff0b5; color: #1a1208; text-decoration: none; outline: none; box-shadow: 0 0 14px rgba(240, 185, 58, .55); }
.rhvp-btn:focus-visible { outline: 2px solid #1a1208; outline-offset: 2px; }
.rhvp-btn:active { transform: translateY(1px); }
.rhvp-card--featured .rhvp-btn { background: linear-gradient(180deg, #ffd978 0%, #e8aa28 100%); border-color: #fff0b5; box-shadow: 0 4px 14px rgba(240, 185, 58, .5); }
.rhvp-btn.is-loading { opacity: .75; pointer-events: none; }
.rhvp-btn.is-added { pointer-events: none; }

.rhvp-notice { min-height: 0; margin-top: 8px; font-size: 13px; font-weight: 600; color: #2b2418; }
.rhvp-notice:empty { display: none; }
.rhvp-notice.is-error { color: #a30f0f; }
.rhvp-notice a { color: #7a4f08; text-decoration: underline; margin-left: 6px; }
.rhvp-editor-hint { margin: 6px 0 0; font-size: 12px; color: #a30f0f; }
.rhvp .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Benefits */
.rhvp-benefits {
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 10px;
	list-style: none; margin: 34px 0 0; padding: 18px 0 0;
	border-top: 1px solid rgba(240, 185, 58, .3);
}
.rhvp-benefit { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; padding: 0; }
.rhvp-benefit__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; }
.rhvp-benefit__icon img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
.rhvp-benefit__text { min-width: 0; font-size: clamp(13px, 1.4vw, 17px); font-weight: 600; line-height: 1.25; color: #f6efdf; overflow-wrap: anywhere; }

/* Tablet */
@media (max-width: 1024px) {
	.rhvp { padding: 20px 16px 24px; }
	.rhvp-badge { padding: 5px 16px; }
	.rhvp-btn { padding: 12px 10px; }
	.rhvp-benefit { flex-direction: column; text-align: center; gap: 6px; }
}

/* Mobile */
@media (max-width: 767px) {
	.rhvp-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin: 0 auto; padding-top: 20px; gap: 26px; }
	.rhvp-card, .rhvp-card--featured { transform: none; }
	.rhvp-card { padding: 24px 20px 20px; }
	.rhvp-card__title { font-size: 28px; }
	.rhvp-card__sub, .rhvp-card__detail, .rhvp-card__per { font-size: 16px; }
	.rhvp-card__price { font-size: 40px; }
	.rhvp-card__media { height: 185px; }
	.rhvp-btn { padding: 14px 16px; font-size: 16px; }
	.rhvp-badge { font-size: 13px; padding: 6px 22px; }
	.rhvp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
	.rhvp-benefit { flex-direction: row; text-align: left; }
	.rhvp__eyebrow--lines::before, .rhvp__eyebrow--lines::after { flex-basis: 36px; }
}

@media (prefers-reduced-motion: reduce) { .rhvp-btn { transition: none; } }
