/* ---------- Shop by budget ---------- */
.hpbud {
	padding: clamp(36px, 5vw, 72px) 0 clamp(44px, 6vw, 80px);
	font-family: var(--f-body, "Jost", Arial, sans-serif);
	color: var(--ink, #1E1A16);
}
.hpbud-wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.hpbud-head { text-align: center; margin-bottom: clamp(24px, 3.5vw, 40px); }
.hpbud-label {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--gold-deep, #8E6A2E);
}
.hpbud-title {
	margin: 0;
	font-family: var(--f-display, "Marcellus", serif);
	font-weight: 400;
	font-size: clamp(2rem, 3.4vw, 3rem);
	line-height: 1.12;
	color: var(--ink, #1E1A16);
}
.hpbud-line { display: block; width: 56px; height: 1px; margin: 16px auto 0; background: var(--gold, #B08A4A); }

.hpbud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hpbud-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 26px 24px 22px;
	background: var(--paper, #FAF6F0);
	border: 1px solid rgba(176, 138, 74, .35);
	border-radius: 8px;
	color: var(--ink, #1E1A16) !important;
	text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
	transition: transform .4s var(--ease, ease), box-shadow .4s var(--ease, ease), border-color .4s;
}
.hpbud-card:focus-visible { outline: 2px solid var(--gold, #B08A4A); outline-offset: 3px; }

.hpbud-fan { position: relative; display: block; height: 150px; }
.hpbud-fan img {
	position: absolute;
	top: 10px;
	width: 46%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
	border: 3px solid #fff;
	box-shadow: 0 10px 24px rgba(30, 26, 22, .16);
	background: #fff;
	transition: transform .5s var(--ease, ease);
}
.hpbud-fan img:nth-child(1) { left: 2%; transform: rotate(-8deg); }
.hpbud-fan img:nth-child(2) { left: 27%; top: 0; z-index: 2; }
.hpbud-fan img:nth-child(3) { left: 52%; transform: rotate(8deg); }

.hpbud-price {
	display: block;
	font-family: var(--f-display, "Marcellus", serif);
	font-size: clamp(26px, 2.4vw, 32px);
	line-height: 1.05;
}
.hpbud-price small {
	display: block;
	margin-bottom: 7px;
	font-family: var(--f-body, "Jost", Arial, sans-serif);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold-deep, #8E6A2E);
}
.hpbud-cats { display: block; color: var(--ink-soft, #5A5048); font-size: 14px; line-height: 1.5; }
.hpbud-go {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid rgba(30, 26, 22, .1);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.hpbud-go b { font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: 13px; color: var(--gold-deep, #8E6A2E); }
.hpbud-arrow::after { content: "→"; display: inline-block; margin-left: 8px; font-size: 15px; letter-spacing: 0; transition: transform .3s var(--ease, ease); }

/* hover only where a real mouse exists */
@media (hover: hover) and (pointer: fine) {
	.hpbud-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30, 26, 22, .10); border-color: var(--gold, #B08A4A); }
	.hpbud-card:hover .hpbud-fan img:nth-child(1) { transform: rotate(-12deg) translateX(-6px); }
	.hpbud-card:hover .hpbud-fan img:nth-child(3) { transform: rotate(12deg) translateX(6px); }
	.hpbud-card:hover .hpbud-arrow::after { transform: translateX(4px); }
}
.hpbud-card:active { transform: scale(.985); }

/* keep the gap to the "Shop by collection" section that follows reasonable */
.hpbud-auto + .collections { padding-top: clamp(40px, 6vw, 80px); }

/* laptops/tablets: keep the first card clear of the floating social icons on the left */
@media (min-width: 641px) and (max-width: 1400px) {
	body:has(.hprs-social) .hpbud-wrap { width: min(1180px, 100% - 150px); }
}
/* narrower cards: keep "10 pieces · from Rs 1,590   SHOP →" on one line */
@media (min-width: 641px) and (max-width: 1240px) {
	.hpbud-card { padding: 22px 18px 18px; }
	.hpbud-go { gap: 8px; font-size: 11px; letter-spacing: .1em; }
	.hpbud-go b { font-size: 12px; white-space: nowrap; }
	.hpbud-arrow { white-space: nowrap; }
	.hpbud-arrow::after { margin-left: 5px; }
}

@media (max-width: 900px) and (min-width: 641px) {
	.hpbud-grid { gap: 12px; }
	.hpbud-card { padding: 20px 16px 18px; }
	.hpbud-fan { height: 120px; }
}

/* phones: a swipeable row of tall photo cards (big product photo, price on a soft dark fade) */
.hpbud-dots { display: none; }
@media (max-width: 640px) {
	.hpbud { padding: 30px 0 40px; overflow: hidden; }
	.hpbud-wrap { width: 100%; }
	.hpbud-head { margin-bottom: 20px; padding: 0 24px; }
	.hpbud-label { font-size: 11px; letter-spacing: .2em; }
	.hpbud-title { font-size: 1.85rem; }

	.hpbud-grid {
		display: flex; gap: 14px;
		overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
		padding: 6px 20px 14px; scrollbar-width: none;
	}
	.hpbud-grid::-webkit-scrollbar { display: none; }
	/* first card starts clear of the floating social icons on the left */
	body:has(.hprs-social:not(.hprs-no-mobile)) .hpbud-grid { padding-left: 58px; scroll-padding-left: 58px; }

	.hpbud-card {
		position: relative; flex: 0 0 76%; max-width: 300px; min-height: 0; aspect-ratio: 4 / 5;
		display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
		padding: 18px 16px 16px; overflow: hidden; isolation: isolate;
		background: var(--ink, #1E1A16); border: 0; border-radius: 18px;
		color: #fff !important; scroll-snap-align: start;
		box-shadow: 0 16px 34px -18px rgba(30, 26, 22, .55);
		transform: scale(.95); opacity: .82;
		transition: transform .45s cubic-bezier(.22, .61, .36, 1), opacity .45s ease;
	}
	.hpbud-card.is-active, .hpbud-grid:not(.is-ready) .hpbud-card:first-child { transform: none; opacity: 1; }
	.hpbud-card:active { transform: scale(.97); }

	/* photos: first one fills the card, the other two sit as small tiles in the corner */
	.hpbud-fan { position: absolute; inset: 0; height: auto; z-index: -1; }
	.hpbud-fan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 16, 12, .92) 0%, rgba(20, 16, 12, .66) 44%, rgba(20, 16, 12, 0) 80%); }
	.hpbud-fan img { transition: transform 1.2s cubic-bezier(.22, .61, .36, 1); }
	.hpbud-fan img:nth-child(1) {
		left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto;
		border: 0; border-radius: 0; box-shadow: none; transform: scale(1.06);
	}
	.hpbud-card.is-active .hpbud-fan img:nth-child(1) { transform: scale(1); }
	.hpbud-fan img:nth-child(2), .hpbud-fan img:nth-child(3) {
		left: auto; right: 14px; top: 14px; width: 54px; z-index: 1;
		border: 2px solid #fff; border-radius: 10px; box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
	}
	.hpbud-fan img:nth-child(2) { transform: rotate(6deg); }
	.hpbud-fan img:nth-child(3) { right: 50px; top: 22px; transform: rotate(-7deg); z-index: 0; }

	.hpbud-price { font-size: 27px; line-height: 1.05; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
	.hpbud-price small { margin-bottom: 8px; font-size: 10px; letter-spacing: .22em; color: var(--gold-pale, #D9C29A); }
	.hpbud-cats { font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .78); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.hpbud-go { gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .18); letter-spacing: .1em; color: #fff; }
	.hpbud-go b { min-width: 0; font-size: 12px; line-height: 1.3; color: var(--gold-pale, #D9C29A); }
	.hpbud-go b > span { display: block; white-space: nowrap; }
	.hpbud-go .hpbud-sep { display: none; }
	.hpbud-go .hpbud-n { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
	.hpbud-arrow {
		flex: 0 0 auto; display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px;
		background: var(--gold, #B08A4A); color: var(--ink, #1E1A16); font-size: 10.5px; letter-spacing: .12em; white-space: nowrap;
	}
	.hpbud-arrow::after { margin-left: 5px; font-size: 12px; }

	.hpbud-dots { display: flex; justify-content: center; gap: 7px; margin-top: 4px; }
	.hpbud-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(30, 26, 22, .18); transition: width .35s ease, background-color .35s ease; }
	.hpbud-dots span.is-on { width: 22px; background: var(--gold, #B08A4A); }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
	.hpbud-card { transition-duration: .45s, .45s !important; }
	.hpbud-fan img { transition-duration: 1.2s !important; }
	.hpbud-dots span { transition-duration: .35s, .35s !important; }
}

/* ---------- filtered shop page label ---------- */
.hpbud-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 18px;
	padding: 12px 16px;
	background: var(--paper, #FAF6F0);
	border: 1px solid rgba(176, 138, 74, .35);
	border-radius: 14px;
	font-family: var(--f-body, "Jost", Arial, sans-serif);
	font-size: 14px;
	color: var(--ink-soft, #5A5048);
}
.hpbud-filter strong { color: var(--ink, #1E1A16); font-weight: 500; }
.hpbud-filter a {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gold-deep, #8E6A2E) !important;
	text-decoration: none !important;
}

/* ---------- Phones: "What's your budget?" price slider (replaces the three cards on phones) ---------- */
.hpbud-slider, .hpbud-t-mob { display: none; }
@media (max-width: 640px) {
	.hpbud-t-desk, .hpbud-grid, .hpbud-dots { display: none !important; }
	.hpbud-t-mob { display: inline; }
	.hpbud-title em { font-family: var(--f-accent, "Cormorant Garamond", serif); font-style: italic; font-weight: 500; color: var(--gold-deep, #8E6A2E); }
	.hpbud-slider {
		display: block; margin: 0 18px; padding: 14px; border-radius: 22px; background: #fff;
		box-shadow: 0 18px 40px -22px rgba(30, 26, 22, .4);
	}
	body:has(.hprs-social:not(.hprs-no-mobile)) .hpbud-slider { margin-left: 52px; margin-right: 14px; }
	.hpbud-sl-pic { position: relative; aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden; background: var(--paper, #FAF6F0); }
	.hpbud-sl-pic img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s ease, transform 1.2s cubic-bezier(.22, .61, .36, 1); }
	.hpbud-sl-pic img.on { opacity: 1; transform: none; }
	.hpbud-sl-badge {
		position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; width: max-content; max-width: calc(100% - 20px);
		padding: 7px 11px; border-radius: 999px; background: rgba(250, 246, 240, .95); box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
		font-size: 12px; font-weight: 500; color: var(--ink, #1E1A16); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	}
	.hpbud-sl-badge:empty { display: none; }
	.hpbud-sl-badge b { color: var(--gold-deep, #8E6A2E); font-weight: 600; }
	.hpbud-sl-q { margin: 16px 2px 0; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep, #8E6A2E); }
	.hpbud-sl-val { margin: 2px 2px 0; font: 400 30px/1.1 var(--f-display, "Marcellus", serif); color: var(--ink, #1E1A16); }
	.hpbud-sl-range { position: relative; margin: 14px 4px 4px; height: 34px; }
	.hpbud-sl-range input { -webkit-appearance: none; appearance: none; position: relative; z-index: 2; width: 100%; height: 34px; margin: 0; padding: 0; border: 0; background: transparent; touch-action: pan-y; box-shadow: none; }
	.hpbud-sl-range input:focus { outline: none; }
	.hpbud-sl-range input::-webkit-slider-runnable-track { height: 4px; background: transparent; border: 0; }
	.hpbud-sl-range input::-moz-range-track { height: 4px; background: transparent; border: 0; }
	.hpbud-sl-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13px; border-radius: 50%; background: var(--gold, #B08A4A); border: 4px solid #fff; box-shadow: 0 4px 14px rgba(142, 106, 46, .5); }
	.hpbud-sl-range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold, #B08A4A); border: 4px solid #fff; box-shadow: 0 4px 14px rgba(142, 106, 46, .5); }
	.hpbud-sl-range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--ink, #1E1A16); outline-offset: 2px; }
	.hpbud-sl-track { position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 4px; background: rgba(30, 26, 22, .1); overflow: hidden; }
	.hpbud-sl-track i { display: block; height: 100%; width: var(--p, 20%); background: linear-gradient(90deg, var(--gold-pale, #D9C29A), var(--gold, #B08A4A)); }
	.hpbud-sl-ticks { display: flex; justify-content: space-between; margin: 0; }
	.hpbud-sl-ticks button { min-height: 0; margin: 0; padding: 6px 2px; border: 0 !important; background: none !important; box-shadow: none; font: 400 11px/1 var(--f-body, "Jost", sans-serif); letter-spacing: 0; text-transform: none; color: var(--ink-soft, #5A5048) !important; }
	.hpbud-sl-ticks button.on { color: var(--gold-deep, #8E6A2E) !important; font-weight: 600; }
	.hpbud-sl-info { display: flex; align-items: center; gap: 12px; margin: 12px 2px 14px; }
	.hpbud-sl-thumbs { display: flex; flex: 0 0 auto; }
	.hpbud-sl-thumbs img { width: 38px !important; height: 38px !important; margin-left: -10px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15); }
	.hpbud-sl-thumbs img:first-child { margin-left: 0; }
	.hpbud-sl-count { min-width: 0; font-size: 13px; line-height: 1.35; color: var(--ink-soft, #5A5048); }
	.hpbud-sl-count b { display: block; font-size: 16px; font-weight: 600; color: var(--ink, #1E1A16); }
	.hpbud-sl-cta {
		display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px;
		background: var(--ink, #1E1A16); color: var(--sand, #F3ECE3) !important; text-decoration: none !important;
		font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s ease;
	}
	.hpbud-sl-cta::after { content: "→"; font-size: 15px; letter-spacing: 0; }
	.hpbud-sl-cta:active { background: var(--gold-deep, #8E6A2E); }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
	.hpbud-sl-pic img { transition-duration: .5s, 1.2s !important; }
}