/**
 * Sundari PDP — product detail page (gallery + buy box).
 */

body.sundari-theme.sundari-pdp-view .sidebar,
body.sundari-theme.sundari-pdp-view #sidebar,
body.sundari-theme.sundari-pdp-view aside.widget-area {
	display: none !important;
}

/* Kill leftover sidebar column gap (Futurio col-md-9 + hidden sidebar) */
body.sundari-theme.sundari-pdp-view #primary,
body.sundari-theme.sundari-pdp-view .content-area,
body.sundari-theme.sundari-pdp-view .main-container .container,
body.sundari-theme.sundari-pdp-view .page-area,
body.sundari-theme.sundari-pdp-view .page-area > .row,
body.sundari-theme.sundari-pdp-view .page-area > .row > article,
body.sundari-theme.sundari-pdp-view .page-area > .row > [class*="col-md-"],
body.sundari-theme.sundari-pdp-view .woocommerce,
body.sundari-theme.sundari-pdp-view .sundari-pdp,
body.sundari-theme.sundari-pdp-view .sundari-pdp__info,
body.sundari-theme.sundari-pdp-view .sundari-pdp__info.summary,
body.sundari-theme.sundari-pdp-view div.product div.summary {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.sundari-theme.sundari-pdp-view .sundari-page-hero,
body.sundari-theme.sundari-pdp-view .archive-page-header {
	display: none !important;
}

.sundari-pdp {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 12px clamp(12px, 2vw, 28px) 48px;
	box-sizing: border-box;
	background:
		radial-gradient(ellipse 80% 50% at 10% 0%, rgba(251, 247, 249, 0.95), transparent 55%),
		radial-gradient(ellipse 60% 40% at 90% 20%, rgba(123, 45, 142, 0.04), transparent 50%),
		#fff;
}

.sundari-pdp__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: start;
}

/* Gallery */
.sundari-pdp__gallery {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.sundari-pdp__thumbs {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 640px;
	overflow-y: auto;
}

.sundari-pdp__thumb,
body.sundari-theme.sundari-pdp-view .sundari-pdp__thumb,
body.sundari-theme.sundari-pdp-view button.sundari-pdp__thumb {
	appearance: none !important;
	display: block !important;
	width: 88px !important;
	height: 88px !important;
	min-width: 88px !important;
	min-height: 88px !important;
	padding: 0 !important;
	border: 1px solid #d4d5d9 !important;
	border-radius: 2px !important;
	background: #fff !important;
	overflow: hidden !important;
	cursor: pointer;
	flex: 0 0 auto;
	clip-path: none !important;
	-webkit-clip-path: none !important;
	box-shadow: none !important;
}

.sundari-pdp__thumb.is-active,
body.sundari-theme.sundari-pdp-view .sundari-pdp__thumb.is-active,
body.sundari-theme.sundari-pdp-view button.sundari-pdp__thumb.is-active {
	border-color: #783f8e !important;
	box-shadow: 0 0 0 1px #783f8e !important;
}

.sundari-pdp__thumb img,
body.sundari-theme.sundari-pdp-view .sundari-pdp__thumb img,
body.sundari-theme.sundari-pdp-view button.sundari-pdp__thumb img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	margin: 0 !important;
	border-radius: 0 !important;
	border: 0 !important;
	clip-path: none !important;
	-webkit-clip-path: none !important;
}

/* Main frame — natural product photo (not forced square) */
.sundari-pdp__stage {
	position: relative;
	background: #f5f5f6;
	border-radius: 4px;
	overflow: hidden;
	min-height: 420px;
	width: 100%;
	aspect-ratio: auto;
}

.sundari-pdp__slide {
	margin: 0;
}

.sundari-pdp__main-img,
.sundari-pdp__stage img,
body.sundari-theme.sundari-pdp-view .sundari-pdp__main-img,
body.sundari-theme.sundari-pdp-view .sundari-pdp__stage img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-height: 640px !important;
	object-fit: contain !important;
	margin: 0 auto !important;
	background: #f5f5f6;
	border-radius: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

/*
 * Zoom. One finger still scrolls the page, so the stage only claims the gesture
 * once the photo is actually magnified.
 */
.sundari-pdp__stage {
	touch-action: pan-y;
}

.sundari-pdp__stage.is-zoomable {
	cursor: zoom-in;
}

.sundari-pdp__stage.is-panning {
	touch-action: none;
	cursor: grab;
}

.sundari-pdp__main-img,
body.sundari-theme.sundari-pdp-view .sundari-pdp__main-img {
	transition: transform 0.25s ease;
	will-change: transform;
}

/* Following a finger or a cursor has to be instant, not eased. */
.sundari-pdp__stage.is-tracking .sundari-pdp__main-img,
body.sundari-theme.sundari-pdp-view .sundari-pdp__stage.is-tracking .sundari-pdp__main-img {
	transition: none;
}

.sundari-pdp__zoom-hint {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	z-index: 3;
	display: none;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(35, 20, 43, 0.62);
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.04em;
	white-space: nowrap;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

@media (hover: none) and (pointer: coarse) {
	.sundari-pdp__zoom-hint {
		display: block;
	}
}

.sundari-pdp__stage.is-hint-done .sundari-pdp__zoom-hint {
	opacity: 0;
}

.sundari-pdp__nav {
	appearance: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #282c3f;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.sundari-pdp__nav--prev { left: 10px; }
.sundari-pdp__nav--next { right: 10px; }

/* Info column */
.sundari-pdp__info {
	position: sticky;
	top: 12px;
}

.sundari-pdp__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 12px;
}

.sundari-pdp__head-main {
	min-width: 0;
	max-width: 100%;
	flex: 1 1 auto;
}

.sundari-pdp__buy-top {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 14px;
	margin: 0 0 18px;
	min-height: 0;
}

.sundari-pdp__price-block {
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
}

.sundari-pdp__buy-top .sundari-pdp__sizes {
	flex: 0 0 auto;
	width: 100%;
	margin-bottom: 0;
	min-width: 0;
	min-height: 0;
}

.sundari-pdp__brand,
.sundari-pdp__eyebrow {
	margin: 0 0 6px;
	color: #7b2d8e;
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.sundari-pdp__title {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	color: #2a1a30 !important;
	font-family: "Playfair Display", Georgia, serif !important;
	font-size: clamp(2.48rem, 2.4vw, 3.28rem) !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.01em;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.sundari-pdp__code {
	margin: 8px 0 0;
	color: #8a7a90;
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
}

.sundari-pdp__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 10px;
	margin-bottom: 4px;
}

.sundari-pdp__price-now,
.sundari-pdp__price-now .amount,
.sundari-pdp__price .price {
	color: #282c3f !important;
	font-size: 22px !important;
	font-weight: 700 !important;
}

.sundari-pdp__price-mrp {
	color: #94969f;
	font-size: 14px;
}

.sundari-pdp__price-mrp s {
	text-decoration: line-through;
}

.sundari-pdp__price-off {
	color: #ff3f6c;
	font-size: 14px;
	font-weight: 700;
}

.sundari-pdp__tax-note {
	margin: 0;
	color: #94969f;
	font-size: 12px;
}

.sundari-pdp__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	color: #282c3f;
}

.sundari-pdp__label strong {
	font-weight: 600;
	color: #535766;
}

/* Colour swatches */
.sundari-pdp__colors {
	margin-bottom: 20px;
}

.sundari-pdp__swatch-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sundari-pdp__swatches {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 4px 2px;
	max-width: 100%;
	scrollbar-width: none;
}

.sundari-pdp__swatches::-webkit-scrollbar {
	display: none;
}

.sundari-pdp__swatch {
	appearance: none;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #d4d5d9;
	cursor: pointer;
	padding: 0;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.sundari-pdp__swatch.has-image {
	background-color: #f0f0f0;
}

.sundari-pdp__swatch.is-selected {
	box-shadow: 0 0 0 2px #783f8e;
}

.sundari-pdp__swatch-nav {
	appearance: none;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border: 1px solid #d4d5d9;
	border-radius: 50%;
	background: #fff;
	color: #282c3f;
	font-size: 16px;
	cursor: pointer;
}

/* Sizes */
.sundari-pdp__sizes {
	margin-bottom: 20px;
}

.sundari-pdp__size-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sundari-pdp__size-details {
	margin: 10px 0 0;
}

.sundari-pdp__sizes--onesize .sundari-pdp__size-details {
	margin-top: 0;
}

.sundari-pdp__size-units {
	margin: 0 0 4px;
	color: #8a7a90;
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sundari-pdp__size-meas {
	margin: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.sundari-pdp__size-table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	table-layout: auto;
}

.sundari-pdp__size-table th,
.sundari-pdp__size-table td {
	padding: 4px 6px;
	border: 1px solid #eadfe8;
	text-align: center;
	vertical-align: middle;
	font-family: "Poppins", sans-serif;
}

.sundari-pdp__size-table-attrs th {
	color: #6b3a7a;
	background: #f8f1f6;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	white-space: normal;
}

.sundari-pdp__size-table-vals td {
	color: #282c3f;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

body.sundari-theme .sundari-pdp__size,
body.sundari-theme button.sundari-pdp__size,
.sundari-pdp__size {
	appearance: none !important;
	position: relative;
	min-width: 44px;
	height: 44px;
	padding: 0 14px !important;
	border: 1px solid #d4d5d9 !important;
	border-radius: 50px !important;
	background: #fff !important;
	background-image: none !important;
	color: #282c3f !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	cursor: pointer;
	box-shadow: none !important;
	outline: none !important;
}

body.sundari-theme .sundari-pdp__size:hover,
body.sundari-theme button.sundari-pdp__size:hover,
.sundari-pdp__size:hover {
	border-color: #783f8e !important;
	color: #783f8e !important;
	background: #fff !important;
}

body.sundari-theme .sundari-pdp__size.is-selected,
body.sundari-theme button.sundari-pdp__size.is-selected,
body.sundari-theme .sundari-pdp__size.is-selected:hover,
body.sundari-theme .sundari-pdp__size.is-selected:focus,
body.sundari-theme .sundari-pdp__size.is-selected:active,
body.sundari-theme .sundari-pdp__size.is-selected:focus-visible,
body.sundari-theme button.sundari-pdp__size[aria-pressed="true"],
body.sundari-theme .sundari-pdp__size[aria-pressed="true"],
body.sundari-theme.sundari-pdp-view .sundari-pdp__size-list .sundari-pdp__size.is-selected,
body.sundari-theme.sundari-pdp-view .sundari-pdp__size-list button.sundari-pdp__size[aria-pressed="true"],
.sundari-pdp__size.is-selected,
.sundari-pdp__size[aria-pressed="true"] {
	border-color: #7b2d8e !important;
	background: #7b2d8e !important;
	background-color: #7b2d8e !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 2px #7b2d8e !important;
}

body.sundari-theme .sundari-pdp__size.is-hidden,
body.sundari-theme button.sundari-pdp__size.is-hidden,
.sundari-pdp__size.is-hidden,
.sundari-pdp__size[hidden] {
	display: none !important;
}

body.sundari-theme .sundari-pdp__size.is-sold-out,
body.sundari-theme button.sundari-pdp__size.is-sold-out,
body.sundari-theme .sundari-pdp__size.is-sold-out:hover,
body.sundari-theme button.sundari-pdp__size.is-sold-out:hover,
.sundari-pdp__size.is-sold-out,
.sundari-pdp__size.is-sold-out:hover {
	display: inline-flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	height: auto !important;
	min-height: 44px;
	padding: 6px 12px !important;
	color: #8d8492 !important;
	background: #f7f5f8 !important;
	border-color: #e3dce6 !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
	opacity: 1;
}

.sundari-pdp__size-name {
	line-height: 1;
}

.sundari-pdp__size-state {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-transform: uppercase;
	color: #a33b4a;
}

.sundari-pdp__size-state[hidden] {
	display: none !important;
}

body.sundari-theme .sundari-pdp__size.is-unavailable,
body.sundari-theme button.sundari-pdp__size.is-unavailable,
.sundari-pdp__size.is-unavailable {
	color: #b8b0bc !important;
	background: #faf8fa !important;
	border-color: #ebe6ed !important;
	opacity: 0.72;
	cursor: not-allowed !important;
	box-shadow: none !important;
}

.sundari-pdp__size.is-unavailable::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	top: 50%;
	height: 1px;
	background: rgba(122, 100, 130, 0.35);
	transform: rotate(-28deg);
	pointer-events: none;
}

body.sundari-theme .sundari-pdp__size.is-unavailable.is-selected,
.sundari-pdp__size.is-unavailable.is-selected {
	background: #f5f5f6 !important;
	color: #94969f !important;
	border-color: #d4d5d9 !important;
}

.sundari-pdp__option-hint {
	margin: 0 0 10px;
	padding: 10px 12px;
	border: 1px solid #ffb3c1;
	border-radius: 4px;
	background: #fff4f6;
	color: #d8345f;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

/* ADD TO BAG stays put; the counter for what is already in the bag sits under it. */
.sundari-pdp__bag-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin-top: 4px;
}

/* The theme's display:!important beats the [hidden] attribute, so spell it out. */
.sundari-pdp__bag-wrap .sundari-pdp__bag[hidden],
body.sundari-theme.sundari-pdp-view .sundari-pdp__bag.button[hidden],
.sundari-pdp__bag-status[hidden],
.sundari-pdp__qty-stepper[hidden] {
	display: none !important;
}

.sundari-pdp__bag-wrap.is-in-bag .sundari-pdp__qty-stepper:not([hidden]) {
	display: flex !important;
}

.sundari-pdp__bag-status {
	margin: 0;
	padding: 10px 12px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.sundari-pdp__bag-status.is-error {
	border: 1px solid #ffb3c1;
	background: #fff4f6;
	color: #d8345f;
}

.sundari-pdp__bag-status.is-success {
	border: 1px solid #b8e6d5;
	background: #f0faf6;
	color: #03a685;
}

.sundari-pdp__bag-wrap.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

body.sundari-theme.sundari-pdp-view .sundari-pdp__bag.button.is-disabled-options,
body.sundari-theme .sundari-pdp__bag.is-disabled-options,
body.sundari-theme .single_add_to_cart_button.is-disabled-options {
	opacity: 0.55;
	cursor: not-allowed;
}

.sundari-pdp__qty-stepper {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 48px;
	border: 1px solid #c9a8d6;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

body.sundari-theme .sundari-pdp__qty-btn,
body.sundari-theme button.sundari-pdp__qty-btn,
.sundari-pdp__qty-btn {
	appearance: none;
	flex: 0 0 56px;
	align-self: stretch;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 56px !important;
	min-width: 56px !important;
	height: auto !important;
	min-height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #ede0f3 !important;
	background-image: none !important;
	color: #7b2d8e !important;
	font-size: 22px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: none !important;
	outline: none !important;
}

body.sundari-theme .sundari-pdp__qty-btn:hover,
body.sundari-theme .sundari-pdp__qty-btn:focus,
body.sundari-theme .sundari-pdp__qty-btn:focus-visible,
body.sundari-theme .sundari-pdp__qty-btn:active,
body.sundari-theme button.sundari-pdp__qty-btn:hover,
body.sundari-theme button.sundari-pdp__qty-btn:focus,
body.sundari-theme button.sundari-pdp__qty-btn:focus-visible,
body.sundari-theme button.sundari-pdp__qty-btn:active,
.sundari-pdp__qty-btn:hover,
.sundari-pdp__qty-btn:focus,
.sundari-pdp__qty-btn:active {
	background: #e0ccec !important;
	background-image: none !important;
	color: #5a1f6a !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

.sundari-pdp__qty-btn:disabled,
.sundari-pdp__qty-btn[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
}

.sundari-pdp__qty-btn.is-bin {
	font-size: 0;
}

.sundari-pdp__qty-btn.is-bin svg {
	display: block;
	stroke: currentColor;
}

.sundari-pdp__qty-val {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	background: #fff;
	color: #282c3f;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

/* Hide leftover Woo notices on PDP (status lives above ADD TO BAG). */
body.sundari-theme.sundari-pdp-view .woocommerce-notices-wrapper,
body.sundari-theme.sundari-pdp-view .woocommerce-message,
body.sundari-theme.sundari-pdp-view .woocommerce-info,
body.sundari-theme.sundari-pdp-view .woocommerce-error {
	display: none !important;
}

/* Form / buttons */
body.sundari-theme.sundari-page-product .sundari-pdp form.cart,
body.sundari-theme.sundari-pdp-view .sundari-pdp form.cart {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 0 12px !important;
	border-radius: 0 !important;
}

.sundari-pdp__variations-native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
}

.sundari-pdp .quantity {
	display: none !important;
}

.sundari-pdp .woocommerce-variation {
	margin-bottom: 8px;
}

.sundari-pdp .woocommerce-variation-price {
	font-size: 13px;
}

.sundari-pdp .stock,
.sundari-pdp .woocommerce-variation-availability,
.sundari-pdp p.stock,
body.sundari-theme.sundari-pdp-view .stock,
body.sundari-theme.sundari-pdp-view .woocommerce-variation-availability {
	display: none !important;
}

.sundari-pdp__bag,
body.sundari-theme.sundari-pdp-view .sundari-pdp__bag.button {
	appearance: none !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	border: 0 !important;
	outline: none !important;
	border-radius: 4px !important;
	background: #ff3f6c !important;
	background-image: none !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none !important;
}

.sundari-pdp__bag:hover,
body.sundari-theme.sundari-pdp-view .sundari-pdp__bag.button:hover {
	background: #e8365f !important;
	color: #fff !important;
}

.sundari-pdp__bag.disabled,
.sundari-pdp__bag:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Hide duplicate meta (shown in story accordion); keep trade pricing */
body.sundari-theme.sundari-pdp-view .sundari-product-meta {
	display: none !important;
}

body.sundari-theme.sundari-pdp-view .sundari-product-panel {
	margin: 0 0 1rem;
}

.sundari-pdp__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 18px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid #f0e8ef;
	list-style: none;
}

.sundari-pdp__trust li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #5c4a62;
}

.sundari-pdp__trust a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(123, 45, 142, 0.28);
}

.sundari-pdp__trust a:hover {
	color: #7b2d8e;
	border-bottom-color: #7b2d8e;
}

.sundari-pdp__trust-icon {
	color: #7b2d8e;
	font-size: 12px;
	line-height: 1;
	opacity: 0.85;
}

.sundari-pdp__story {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 28px 0 0;
	padding: 8px 0 0;
	border-top: 1px solid #f0e8ef;
	clear: both;
}

.sundari-pdp__acc {
	border-bottom: 1px solid #f0e8ef;
}

.sundari-pdp__acc summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.68rem, 1.4vw, 1.92rem);
	font-weight: 500;
	color: #2a1a30;
	user-select: none;
}

.sundari-pdp__acc summary::-webkit-details-marker {
	display: none;
}

.sundari-pdp__acc summary::after {
	content: "+";
	flex: 0 0 auto;
	font-family: "Poppins", sans-serif;
	font-size: 1.76rem;
	font-weight: 400;
	color: #7b2d8e;
	line-height: 1;
}

.sundari-pdp__acc[open] summary::after {
	content: "−";
}

.sundari-pdp__acc-body {
	padding: 0 0 18px;
	max-width: 72ch;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	line-height: 1.7;
	color: #5c4a62;
}

.sundari-pdp__acc-body p {
	margin: 0 0 0.75em;
}

.sundari-pdp__acc-body p:last-child {
	margin-bottom: 0;
}

.sundari-pdp__desc--short {
	margin-bottom: 0.85em;
	font-size: 14px;
	color: #3d2e44;
}

.sundari-pdp__story-link {
	color: #7b2d8e;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(123, 45, 142, 0.35);
}

.sundari-pdp__story-link:hover {
	border-bottom-color: #7b2d8e;
}

.sundari-pdp__meta {
	margin: 0;
}

.sundari-pdp__meta-row {
	display: grid;
	grid-template-columns: minmax(100px, 36%) 1fr;
	gap: 8px 16px;
	padding: 8px 0;
	border-bottom: 1px solid #f5f0f4;
}

.sundari-pdp__meta-row:last-child {
	border-bottom: 0;
}

.sundari-pdp__meta dt {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8a7a90;
}

.sundari-pdp__meta dd {
	margin: 0;
	color: #2a1a30;
	font-weight: 500;
}

.sundari-pdp__wishlist,
body.sundari-theme .sundari-pdp__wishlist.sundari-wish-btn {
	appearance: none !important;
	position: static !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	display: inline-flex !important;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	align-self: flex-start;
	gap: 4px;
	width: auto !important;
	max-width: 92px;
	min-width: 76px;
	min-height: 0 !important;
	height: auto !important;
	margin: 2px 0 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #783f8e !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em;
	line-height: 1.15;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	box-shadow: none !important;
	transform: none !important;
	white-space: normal;
}

.sundari-pdp__wishlist.is-active,
body.sundari-theme .sundari-pdp__wishlist.sundari-wish-btn.is-active,
.sundari-pdp__wishlist:hover,
body.sundari-theme .sundari-pdp__wishlist.sundari-wish-btn:hover {
	border-color: transparent !important;
	color: #ff3f6c !important;
	transform: none !important;
}

.sundari-pdp__wishlist svg {
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
}

.sundari-pdp__wishlist.is-active svg {
	fill: currentColor;
}

.sundari-pdp__wishlist [data-sundari-wish-label] {
	display: block;
	max-width: 7.5em;
	font-weight: 600;
	letter-spacing: 0.08em;
}

/* Hide any leftover hooked wishlist button on the custom PDP */
body.sundari-theme.sundari-pdp-view .summary > .sundari-wish-btn--single,
body.sundari-theme.sundari-page-product .summary > .sundari-wish-btn--single {
	display: none !important;
}

/* Complete the look */
.sundari-pdp .related.products,
.sundari-pdp .upsells.products,
body.sundari-theme.sundari-pdp-view .related.products,
body.sundari-theme.sundari-pdp-view .upsells.products {
	margin-top: 48px;
	padding: 36px 0 8px;
	border-top: 0 !important;
	width: 100%;
	clear: both;
}

.sundari-pdp .related.products > h2,
.sundari-pdp .upsells.products > h2,
body.sundari-theme.sundari-pdp-view .related.products > h2,
body.sundari-theme.sundari-pdp-view .upsells.products > h2 {
	margin: 0 0 22px !important;
	padding: 0 !important;
	border: 0 !important;
	border-top: 0 !important;
	font-family: "Playfair Display", Georgia, serif !important;
	font-size: clamp(2.32rem, 2.2vw, 2.96rem) !important;
	font-weight: 500 !important;
	letter-spacing: -0.01em;
	color: #2a1a30 !important;
	text-align: left;
}

.sundari-pdp .related.products ul.products,
.sundari-pdp .upsells.products ul.products,
body.sundari-theme.sundari-pdp-view .related.products ul.products,
body.sundari-theme.sundari-pdp-view .upsells.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 20px 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	list-style: none !important;
}

.sundari-pdp .related.products ul.products::before,
.sundari-pdp .related.products ul.products::after,
.sundari-pdp .upsells.products ul.products::before,
.sundari-pdp .upsells.products ul.products::after,
body.sundari-theme.sundari-pdp-view .related.products ul.products::before,
body.sundari-theme.sundari-pdp-view .related.products ul.products::after {
	content: none !important;
	display: none !important;
}

.sundari-pdp .related.products ul.products li.product,
.sundari-pdp .upsells.products ul.products li.product,
body.sundari-theme.sundari-pdp-view .related.products ul.products li.product,
body.sundari-theme.sundari-pdp-view .upsells.products ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
	box-sizing: border-box !important;
}

.sundari-pdp .related.products ul.products li.product > a.woocommerce-LoopProduct-link,
.sundari-pdp .upsells.products ul.products li.product > a.woocommerce-LoopProduct-link,
body.sundari-theme.sundari-pdp-view .related.products ul.products li.product > a.woocommerce-LoopProduct-link,
body.sundari-theme.sundari-pdp-view .upsells.products ul.products li.product > a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	height: auto;
}

.sundari-pdp .related.products ul.products li.product .sundari-pcard__media,
.sundari-pdp .upsells.products ul.products li.product .sundari-pcard__media,
body.sundari-theme.sundari-pdp-view .related.products ul.products li.product .sundari-pcard__media,
body.sundari-theme.sundari-pdp-view .upsells.products ul.products li.product .sundari-pcard__media {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: auto;
	flex: 0 0 auto;
	aspect-ratio: var(--sundari-pcard-aspect, 3 / 4);
	background: var(--sundari-pcard-photo-bg, #f7f4f8);
}

.sundari-pdp .related.products ul.products li.product img,
.sundari-pdp .upsells.products ul.products li.product img,
body.sundari-theme.sundari-pdp-view .related.products ul.products li.product img,
body.sundari-theme.sundari-pdp-view .upsells.products ul.products li.product img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	border-radius: 0 !important;
	background: transparent;
}

.sundari-pdp .related.products ul.products li.product .sundari-pcard__media img,
.sundari-pdp .upsells.products ul.products li.product .sundari-pcard__media img,
body.sundari-theme.sundari-pdp-view .related.products ul.products li.product .sundari-pcard__media img,
body.sundari-theme.sundari-pdp-view .upsells.products ul.products li.product .sundari-pcard__media img {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	aspect-ratio: unset !important;
	object-fit: contain !important;
	object-position: center center !important;
}

.sundari-pdp .related.products ul.products li.product .woocommerce-loop-product__title,
.sundari-pdp .related.products ul.products li.product h2,
.sundari-pdp .upsells.products ul.products li.product .woocommerce-loop-product__title,
body.sundari-theme.sundari-pdp-view .related.products ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.408rem !important;
	padding: 0.75rem 0.85rem 0 !important;
	min-height: 0 !important;
}

.sundari-pdp .related.products ul.products li.product .price,
.sundari-pdp .upsells.products ul.products li.product .price,
body.sundari-theme.sundari-pdp-view .related.products ul.products li.product .price {
	padding: 0.3rem 0.85rem 0.85rem !important;
	font-size: 1.52rem !important;
}

@media (max-width: 1024px) {
	.sundari-pdp .related.products ul.products,
	.sundari-pdp .upsells.products ul.products,
	body.sundari-theme.sundari-pdp-view .related.products ul.products,
	body.sundari-theme.sundari-pdp-view .upsells.products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 720px) {
	.sundari-pdp .related.products ul.products,
	.sundari-pdp .upsells.products ul.products,
	body.sundari-theme.sundari-pdp-view .related.products ul.products,
	body.sundari-theme.sundari-pdp-view .upsells.products ul.products {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 14px !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.sundari-pdp .related.products ul.products li.product,
	.sundari-pdp .upsells.products ul.products li.product,
	body.sundari-theme.sundari-pdp-view .related.products ul.products li.product,
	body.sundari-theme.sundari-pdp-view .upsells.products ul.products li.product {
		flex: 0 0 min(68vw, 220px) !important;
		scroll-snap-align: start;
		width: min(68vw, 220px) !important;
		max-width: min(68vw, 220px) !important;
		margin: 0 !important;
	}
}

@media (max-width: 1024px) {
	/* Tablet & below: full-width stack — no empty sidebar column */
	.sundari-pdp__layout {
		grid-template-columns: 1fr !important;
		gap: 20px;
	}

	.sundari-pdp__info,
	body.sundari-theme.sundari-pdp-view .sundari-pdp__info.summary {
		position: static;
		width: 100% !important;
		max-width: 100% !important;
	}

	.sundari-pdp__gallery {
		grid-template-columns: 72px minmax(0, 1fr);
		width: 100%;
	}

	.sundari-pdp__thumb {
		width: 72px !important;
		height: 72px !important;
		min-width: 72px !important;
		min-height: 72px !important;
	}

	.sundari-pdp__head {
		display: flex !important;
		align-items: flex-start;
		justify-content: space-between;
		gap: 16px;
		width: 100%;
	}

	.sundari-pdp__wishlist,
	body.sundari-theme .sundari-pdp__wishlist.sundari-wish-btn {
		margin-left: auto !important;
		align-self: flex-start;
	}

	.sundari-pdp__bag,
	body.sundari-theme.sundari-pdp-view .sundari-pdp__bag.button {
		width: 100% !important;
	}
}

/* iPad / tablet only: price left · Select Size right */
@media (min-width: 768px) and (max-width: 1024px) {
	.sundari-pdp__buy-top {
		display: grid !important;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
		align-items: start;
		column-gap: 28px;
		row-gap: 12px;
		width: 100% !important;
	}

	.sundari-pdp__price-block {
		grid-column: 1;
		width: 100%;
	}

	.sundari-pdp__buy-top .sundari-pdp__sizes {
		grid-column: 2;
		align-self: start;
		width: 100%;
		margin-bottom: 0;
	}

	.sundari-pdp__buy-top .sundari-pdp__label {
		margin-bottom: 8px;
	}
}

@media (max-width: 767px) {
	/* Phones: tight vertical stack — no stretch gaps */
	.sundari-pdp__buy-top {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		gap: 12px !important;
		min-height: 0 !important;
		height: auto !important;
	}

	.sundari-pdp__price-block,
	.sundari-pdp__buy-top .sundari-pdp__sizes {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 0 !important;
		height: auto !important;
		grid-column: auto !important;
	}

	.sundari-pdp__buy-top .sundari-pdp__sizes {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
}

@media (max-width: 600px) {
	.sundari-pdp__gallery {
		grid-template-columns: 1fr;
	}

	.sundari-pdp__head {
		gap: 10px;
	}

	.sundari-pdp__wishlist,
	body.sundari-theme .sundari-pdp__wishlist.sundari-wish-btn {
		max-width: 96px;
		font-size: 12px !important;
	}

	.sundari-pdp__thumbs {
		flex-direction: row;
		max-height: none;
		overflow-x: auto;
		order: 2;
	}

	.sundari-pdp__thumb,
	body.sundari-theme.sundari-pdp-view .sundari-pdp__thumb,
	body.sundari-theme.sundari-pdp-view button.sundari-pdp__thumb {
		width: 64px !important;
		height: 64px !important;
		min-width: 64px !important;
		min-height: 64px !important;
		flex: 0 0 auto;
		border-radius: 2px !important;
	}

	.sundari-pdp__stage {
		order: 1;
		min-height: 320px;
	}
}
