/* ==========================================================================
   Shivay Anantam — Product detail page
   ========================================================================== */

.sa-pdp__top { position: relative; padding: 26px 0 clamp(50px, 6vw, 80px); background: linear-gradient(180deg, var(--sa-cream) 0%, #f6ece3 100%); overflow: hidden; }
.sa-pdp__top .sa-container { position: relative; }

.sa-pdp__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.sa-pdp__bar .sa-crumbs { flex-wrap: wrap; margin: 0; }
.sa-pdp__pn { display: flex; align-items: center; gap: 6px; }
.sa-pdp__pn a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--sa-line); font-size: .8rem; font-weight: 700; color: var(--sa-ink) !important; transition: border-color .3s, color .3s, transform .3s var(--sa-ease); }
.sa-pdp__pn a:hover { border-color: var(--sa-copper); color: var(--sa-copper) !important; }
.sa-pdp__pn a[rel="prev"]:hover { transform: translateX(-3px); }
.sa-pdp__pn a[rel="next"]:hover { transform: translateX(3px); }
.sa-pdp__pn em { padding: 0 6px; font-style: normal; font-size: .78rem; color: var(--sa-muted); }

.sa-pdp__main { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }

/* ---------- Gallery ---------- */
.sa-gallery { position: sticky; top: calc(var(--sa-adminbar) + 110px); }
.sa-gallery__stage {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 30px;
	overflow: hidden;
	background: #f1efed;
	box-shadow: 0 40px 80px -46px rgba(43, 27, 22, .7);
	cursor: zoom-in;
}
.sa-gallery__stage img { display: block; width: 100%; height: auto !important; aspect-ratio: 1; object-fit: contain; background: #fff; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .5s var(--sa-ease); }
.sa-gallery__stage.is-zooming img { transform: scale(2); transition: transform .2s ease-out; }
.sa-gallery__hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(43, 27, 22, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: 600 .72rem/1 var(--sa-sans); transition: opacity .3s; }
.sa-gallery__stage.is-zooming .sa-gallery__hint { opacity: 0; }
.sa-gallery__model { position: absolute; top: 16px; left: 16px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--sa-copper-dark); font-size: .78rem; font-weight: 800; letter-spacing: .06em; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .4); pointer-events: none; }
.sa-gallery__cat { position: absolute; top: 16px; right: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(43, 27, 22, .78); color: #fff !important; font-size: .74rem; font-weight: 700; letter-spacing: .04em; transition: background-color .3s; }
.sa-gallery__cat:hover { background: var(--sa-copper); }

/* ---------- Summary ---------- */
.sa-summary__title { margin: 16px 0 18px; font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 600; line-height: 1.08; }
.sa-summary__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.sa-model {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px 10px 16px;
	border-radius: 16px;
	background: var(--sa-ink);
	border: 0;
	color: #fff;
	cursor: pointer;
	font-family: var(--sa-sans);
	transition: transform .3s var(--sa-ease), box-shadow .3s;
}
.sa-model small { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sa-gold); }
.sa-model strong { font: 600 1.4rem/1 var(--sa-serif); }
.sa-model__copy { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .7rem; font-weight: 700; transition: background-color .3s; }
.sa-model:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(43, 27, 22, .8); }
.sa-model.is-copied .sa-model__copy { background: #3e9b5f; }

.sa-colour { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--sa-line); }
.sa-colour small { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sa-copper); }
.sa-colour__list { display: flex; flex-wrap: wrap; gap: 10px; }
.sa-colour__list span { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; }
.sa-colour__list i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px #fff, 0 0 0 4px var(--sa-line); }

.sa-inside { margin-bottom: 22px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--sa-line); }
.sa-inside h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.35rem; font-weight: 600; }
.sa-inside h2 .sa-icon { color: var(--sa-copper); }
.sa-inside h2 span { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--sa-sand); color: var(--sa-copper); font: 700 .72rem var(--sa-sans); }
.sa-inside ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sa-inside li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sa-cream); font-size: .9rem; font-weight: 600; opacity: 0; animation: sa-in .6s var(--sa-ease) forwards; animation-delay: calc(.5s + var(--i, 0) * 70ms); }
.sa-inside li .sa-icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--sa-copper); color: #fff; stroke-width: 3; }

.sa-brandopts { margin-bottom: 20px; }
.sa-brandopts small { display: block; margin-bottom: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sa-muted); }
.sa-brandopts div { display: flex; flex-wrap: wrap; gap: 8px; }
.sa-brandopts span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px dashed rgba(162, 93, 76, .45); font-size: .84rem; font-weight: 600; color: var(--sa-copper-dark); transition: background-color .3s, color .3s, border-color .3s; }
.sa-brandopts span:hover { background: var(--sa-copper); border-color: var(--sa-copper); color: #fff; }

.sa-price-note { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, rgba(212, 168, 106, .18), rgba(215, 81, 82, .08)); border: 1px solid rgba(212, 168, 106, .4); }
.sa-price-note > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--sa-copper); }
.sa-price-note p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--sa-ink-2); }

.sa-summary__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; }
.sa-summary__actions .sa-btn--primary { flex: 1 1 220px; }
.sa-round-btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 1px solid var(--sa-line); color: var(--sa-copper) !important; font-size: 1.2rem; transition: background-color .3s, color .3s, transform .4s var(--sa-ease); }
.sa-round-btn:hover { background: var(--sa-copper); color: #fff !important; transform: rotate(-12deg); }

.sa-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--sa-line); }
.sa-assure li { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: var(--sa-ink-2); }
.sa-assure .sa-icon { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--sa-sand); color: var(--sa-copper); }

/* ---------- Tabs ---------- */
.sa-ptabs { padding-bottom: 0; }
.sa-ptabs__nav { position: relative; display: flex; gap: 6px; margin-bottom: 26px; border-bottom: 1px solid var(--sa-line); overflow-x: auto; scrollbar-width: none; }
.sa-ptab { flex: none; padding: 14px 18px; border: 0; background: transparent; color: var(--sa-muted); font: 700 .95rem var(--sa-sans); cursor: pointer; transition: color .3s; }
.sa-ptab:hover, .sa-ptab.is-active { color: var(--sa-ink); }
.sa-ptabs__ink { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--sa-copper), var(--sa-red)); transition: transform .45s var(--sa-ease), width .45s var(--sa-ease); }
.sa-ppanel.is-active { animation: sa-in .5s var(--sa-ease) both; }

.sa-specs { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.sa-specs dl { margin: 0; border-radius: 22px; background: #fff; border: 1px solid var(--sa-line); overflow: hidden; }
.sa-specs dl div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--sa-line); }
.sa-specs dl div:last-child { border-bottom: 0; }
.sa-specs dl div:nth-child(odd) { background: #fdfaf7; }
.sa-specs dt { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sa-muted); }
.sa-specs dd { margin: 0; font-weight: 600; color: var(--sa-ink); }
.sa-specs dd a { color: var(--sa-copper) !important; }
.sa-specs__note { position: relative; padding: 30px; border-radius: 22px; background: var(--sa-ink); background-image: radial-gradient(circle at 100% 0%, rgba(162, 93, 76, .5), transparent 55%); color: #dcc8bd; overflow: hidden; }
.sa-specs__note > span { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; background: rgba(212, 168, 106, .16); color: var(--sa-gold); font-size: 1.3rem; animation: sa-twinkle 3s ease-in-out infinite; }
.sa-specs__note h3 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 600; color: #fff !important; }
.sa-specs__note p { margin: 0 0 20px; line-height: 1.7; font-size: .92rem; }

.sa-pbrand { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sa-pbrand__item { position: relative; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--sa-line); }
.sa-pbrand__num { font: 600 2.6rem/1 var(--sa-serif); color: rgba(162, 93, 76, .25); }
.sa-pbrand__item h3 { margin: 8px 0 8px; font-size: 1.4rem; font-weight: 600; }
.sa-pbrand__item p { margin: 0; color: var(--sa-muted); font-size: .92rem; line-height: 1.65; }

.sa-porder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.sa-porder li { display: flex; gap: 14px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--sa-line); }
.sa-porder li > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--sa-copper), var(--sa-red)); color: #fff; font-weight: 800; }
.sa-porder strong { display: block; margin-bottom: 4px; font: 600 1.25rem/1.2 var(--sa-serif); }
.sa-porder p { margin: 0; color: var(--sa-muted); font-size: .9rem; line-height: 1.6; }

/* ---------- Enquiry ---------- */
.sa-pdp__form { margin-top: 0; padding-top: clamp(50px, 7vw, 90px); }
.sa-pdp__mini { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--sa-line); }
.sa-pdp__mini img { flex: none; width: 84px; height: 84px !important; border-radius: 14px; object-fit: contain; background: #f1efed; box-sizing: border-box; padding: 4px; }
.sa-pdp__mini small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sa-copper); }
.sa-pdp__mini strong { display: block; margin: 2px 0; font: 600 1.1rem/1.25 var(--sa-serif); }
.sa-pdp__mini span { font-size: .84rem; color: var(--sa-muted); }
.sa-pdp__form .sa-cinfo { gap: 14px; }

/* ---------- Related ---------- */
.sa-related .sa-carousel { padding-bottom: 20px; }
.sa-related__foot { display: flex; justify-content: center; margin-top: 18px; }

/* ---------- Mobile sticky bar ---------- */
.sa-stickybar { display: none; }

/* ---------- Lightbox ---------- */
.sa-lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 40px 16px; background: rgba(28, 18, 14, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; cursor: zoom-out; }
.sa-lightbox[hidden] { display: none; }
.sa-lightbox.is-open { opacity: 1; }
.sa-lightbox img { max-width: min(92vw, 1000px); max-height: 86vh; width: auto; height: auto; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); transform: scale(.92); transition: transform .45s var(--sa-ease); }
.sa-lightbox.is-open img { transform: none; }
.sa-lightbox__close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--sa-ink); font-size: 1.2rem; cursor: pointer; transition: transform .4s var(--sa-ease); }
.sa-lightbox__close:hover { transform: rotate(90deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.sa-pdp__main, .sa-specs { grid-template-columns: 1fr; }
	.sa-gallery { position: relative; top: 0; max-width: 620px; width: 100%; margin-inline: auto; }
	.sa-pbrand, .sa-porder { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.sa-pdp__pn em { display: none; }
	.sa-inside ul { grid-template-columns: 1fr; }
	.sa-assure { grid-template-columns: 1fr; }
	.sa-specs dl div { grid-template-columns: 1fr; gap: 4px; }
	.sa-summary__actions .sa-btn--wa { flex: 1; }
	.sa-gallery__hint { display: none; }
	.sa-stickybar {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: 10px;
		z-index: 995;
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 10px 10px 10px 16px;
		border-radius: 20px;
		background: rgba(43, 27, 22, .94);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		color: #fff;
		box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6);
		transform: translateY(140%);
		transition: transform .5s var(--sa-ease);
	}
	.sa-stickybar.is-visible { transform: none; }
	.sa-stickybar div { flex: 1; min-width: 0; }
	.sa-stickybar small { display: block; font-size: .7rem; color: var(--sa-gold); font-weight: 700; letter-spacing: .08em; }
	.sa-stickybar strong { font-size: .9rem; }
	.sa-stickybar .sa-btn { padding: .8em 1.1em; }
	.sa-stickybar .sa-btn--wa { padding: .8em; }
	body.single-product .sa-floating { bottom: 92px; }
}

/* Combo size pill */
.sa-combo-pill { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 16px; border-radius: 16px; background: linear-gradient(135deg, var(--sa-copper), var(--sa-red)); color: #fff !important; box-shadow: 0 12px 24px -14px rgba(215, 81, 82, .9); transition: transform .3s var(--sa-ease); }
.sa-combo-pill small { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffe2cc; }
.sa-combo-pill strong { font: 600 1.4rem/1 var(--sa-serif); }
.sa-combo-pill:hover { transform: translateY(-2px); }

/* ---------- Gallery thumbnails ---------- */
.sa-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: thin; }
.sa-thumb { flex: none; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 14px; background: #fff; overflow: hidden; cursor: pointer; box-shadow: 0 6px 14px -10px rgba(43, 27, 22, .5); transition: border-color .25s, transform .3s var(--sa-ease), opacity .25s; opacity: .7; }
.sa-thumb img { display: block; width: 100%; height: 100% !important; object-fit: contain; background: #f1efed; box-sizing: border-box; padding: 4px; }
.sa-thumb:hover { opacity: 1; transform: translateY(-2px); }
.sa-thumb.is-active { border-color: var(--sa-copper); opacity: 1; }
.sa-gallery__stage img.is-swapping { opacity: 0; transition: opacity .18s; }
.sa-inside--features ul { grid-template-columns: 1fr; }
.sa-inside--features li { font-weight: 500; line-height: 1.45; align-items: flex-start; }
.sa-inside--features li .sa-icon { margin-top: 1px; }
@media (max-width: 640px) { .sa-thumb { width: 62px; height: 62px; } }
