/**
 * Sundari Shop — editorial fashion collection layer.
 * Matches About-page energy: soft atmosphere, Playfair titles, chip discovery.
 */

body.sundari-theme.sundari-page-collection .sundari-shop-intro,
body.sundari-theme.sundari-page-shop .sundari-shop-intro {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0 0 1.25rem;
	padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
	border-radius: 2px;
	background:
		radial-gradient(ellipse at 12% 0%, rgba(248, 200, 220, 0.55) 0%, transparent 48%),
		radial-gradient(ellipse at 92% 100%, rgba(123, 45, 142, 0.18) 0%, transparent 45%),
		linear-gradient(145deg, #fbf7f9 0%, #f3eaf2 55%, #efe4ef 100%);
	text-align: center;
}

body.sundari-theme.sundari-page-shop .sundari-shop-intro__veil {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.35;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}

body.sundari-theme.sundari-page-shop .sundari-shop-intro__copy {
	position: relative;
	z-index: 1;
	max-width: 40rem;
	margin: 0 auto;
}

body.sundari-theme.sundari-page-shop .sundari-shop-intro__eyebrow {
	margin: 0 0 0.55rem;
	font-family: "Poppins", sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--sundari-violet, #7b2d8e);
}

body.sundari-theme.sundari-page-shop .sundari-shop-intro__title {
	margin: 0 0 0.65rem;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(3.2rem, 5vw, 4.96rem);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #160d1a;
}

body.sundari-theme.sundari-page-shop .sundari-shop-intro__lead {
	margin: 0 auto 0.85rem;
	max-width: 34ch;
	font-family: "Poppins", sans-serif;
	font-size: 1.52rem;
	line-height: 1.65;
	color: #6f5b68;
}

body.sundari-theme.sundari-page-shop .sundari-shop-intro__count {
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(123, 45, 142, 0.75);
}

/* Category chips */
body.sundari-theme.sundari-page-shop .sundari-shop-chips {
	margin: 0 0 1.35rem;
}

body.sundari-theme.sundari-page-shop .sundari-shop-chips__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.55rem;
	overflow-x: auto;
	padding: 0.15rem 0.1rem 0.55rem;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

body.sundari-theme.sundari-page-shop .sundari-shop-chips__track::-webkit-scrollbar {
	height: 4px;
}

body.sundari-theme.sundari-page-shop .sundari-shop-chips__track::-webkit-scrollbar-thumb {
	background: rgba(123, 45, 142, 0.25);
	border-radius: 999px;
}

body.sundari-theme.sundari-page-shop .sundari-shop-chips__chip {
	flex: 0 0 auto;
	scroll-snap-align: start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.35rem;
	padding: 0.45rem 1.05rem;
	border: 1px solid rgba(123, 45, 142, 0.22);
	border-radius: 999px;
	background: #fff;
	color: #5a1f6a !important;
	font-family: "Poppins", sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.sundari-theme.sundari-page-shop .sundari-shop-chips__chip:hover {
	border-color: var(--sundari-violet, #7b2d8e);
	color: var(--sundari-violet-deep, #4a1858) !important;
	transform: translateY(-1px);
}

body.sundari-theme.sundari-page-shop .sundari-shop-chips__chip.is-active {
	background: linear-gradient(135deg, var(--sundari-violet, #7b2d8e), var(--sundari-violet-dark, #5a1f6a));
	border-color: transparent;
	color: #fff !important;
	box-shadow: 0 10px 22px rgba(123, 45, 142, 0.22);
}

/* Toolbar */
body.sundari-theme.sundari-page-shop .sundari-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1.25rem;
	margin: 0 0 1.35rem;
	padding: 0.85rem 0;
	border-top: 1px solid rgba(123, 45, 142, 0.1);
	border-bottom: 1px solid rgba(123, 45, 142, 0.1);
}

body.sundari-theme.sundari-page-shop .sundari-shop-toolbar__count .woocommerce-result-count {
	margin: 0 !important;
	float: none !important;
	font-family: "Poppins", sans-serif;
	font-size: 1.312rem;
	color: #6f5b68;
	letter-spacing: 0.02em;
}

body.sundari-theme.sundari-page-shop .sundari-shop-toolbar__sort {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin-left: auto;
}

body.sundari-theme.sundari-page-shop .sundari-shop-toolbar__sort-label {
	font-family: "Poppins", sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sundari-violet, #7b2d8e);
}

body.sundari-theme.sundari-page-shop .sundari-shop-toolbar .woocommerce-ordering {
	margin: 0 !important;
	float: none !important;
}

body.sundari-theme.sundari-page-shop .sundari-shop-toolbar .woocommerce-ordering select,
body.sundari-theme.sundari-page-shop .sundari-shop-toolbar select.orderby {
	min-height: 2.35rem;
	padding: 0.4rem 2rem 0.4rem 0.9rem;
	border: 1px solid rgba(123, 45, 142, 0.2) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #160d1a !important;
	font-family: "Poppins", sans-serif;
	font-size: 1.28rem;
	box-shadow: none !important;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237b2d8e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.85rem center !important;
	cursor: pointer;
}

/* Hide default loose count/sort if any slip through */
body.sundari-theme.sundari-page-shop .futurio-woo-content > .woocommerce-result-count,
body.sundari-theme.sundari-page-shop .futurio-woo-content > .woocommerce-ordering,
body.sundari-theme.sundari-page-shop .woocommerce > .woocommerce-result-count,
body.sundari-theme.sundari-page-shop .woocommerce > .woocommerce-ordering {
	display: none !important;
}

/* Empty state */
body.sundari-theme.sundari-page-shop .sundari-shop-empty {
	text-align: center;
	padding: clamp(2.5rem, 6vw, 4rem) 1rem;
	margin: 0 0 2rem;
	background: #fbf7f9;
	border-radius: 2px;
}

body.sundari-theme.sundari-page-shop .sundari-shop-empty__eyebrow {
	margin: 0 0 0.5rem;
	font-family: "Poppins", sans-serif;
	font-size: 1.2rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--sundari-violet, #7b2d8e);
}

body.sundari-theme.sundari-page-shop .sundari-shop-empty__title {
	margin: 0 0 0.65rem;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(2.56rem, 3.5vw, 3.52rem);
	font-weight: 600;
	color: #160d1a;
}

body.sundari-theme.sundari-page-shop .sundari-shop-empty__text {
	margin: 0 auto 1.5rem;
	max-width: 32ch;
	font-family: "Poppins", sans-serif;
	font-size: 1.472rem;
	line-height: 1.65;
	color: #6f5b68;
}

body.sundari-theme.sundari-page-shop .sundari-shop-empty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

body.sundari-theme.sundari-page-shop .sundari-shop-empty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.7rem 1.4rem;
	border-radius: 999px;
	font-family: "Poppins", sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.22s ease;
}

body.sundari-theme.sundari-page-shop .sundari-shop-empty__btn--primary {
	background: var(--sundari-violet, #7b2d8e);
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(123, 45, 142, 0.22);
}

body.sundari-theme.sundari-page-shop .sundari-shop-empty__btn--primary:hover {
	background: var(--sundari-violet-dark, #5a1f6a);
	color: #fff !important;
	transform: translateY(-2px);
}

body.sundari-theme.sundari-page-shop .sundari-shop-empty__btn--ghost {
	border: 1px solid rgba(123, 45, 142, 0.28);
	color: var(--sundari-violet, #7b2d8e) !important;
	background: #fff;
}

body.sundari-theme.sundari-page-shop .sundari-shop-empty__btn--ghost:hover {
	border-color: var(--sundari-violet, #7b2d8e);
	transform: translateY(-2px);
}

/* Sale % badge */
body.sundari-theme.sundari-page-shop .sundari-pcard__pct,
body.sundari-theme ul.products li.product .sundari-pcard__pct {
	position: absolute;
	left: 0.65rem;
	bottom: 0.65rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	background: rgba(22, 13, 26, 0.78);
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1;
	pointer-events: none;
}

/* Fixed photo slot — shop, collection, all product loops */
body.sundari-theme.sundari-page-shop .sundari-pcard__media,
body.sundari-theme.sundari-page-collection .sundari-pcard__media,
body.sundari-theme ul.products li.product .sundari-pcard__media {
	position: relative !important;
	overflow: hidden !important;
	width: 100% !important;
	height: auto !important;
	flex: 0 0 auto !important;
	min-height: 0 !important;
	aspect-ratio: var(--sundari-pcard-aspect, 3 / 4) !important;
	background: var(--sundari-pcard-photo-bg, #f7f4f8);
}

body.sundari-theme.sundari-page-shop .sundari-pcard__media img,
body.sundari-theme.sundari-page-collection .sundari-pcard__media img,
body.sundari-theme ul.products li.product .sundari-pcard__media img {
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	z-index: 1 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	aspect-ratio: unset !important;
	object-fit: contain !important;
	object-position: center center !important;
	margin: 0 !important;
}

/* Wishlist — bare heart on image bottom-right (no box / border) */
body.sundari-theme.sundari-page-shop .sundari-pcard__media .sundari-wish-btn,
body.sundari-theme.sundari-page-shop .sundari-pcard__media button.sundari-wish-btn,
body.sundari-theme ul.products li.product .sundari-pcard__media .sundari-wish-btn,
body.sundari-theme ul.products li.product .sundari-pcard__media button.sundari-wish-btn,
body.sundari-theme .sundari-pcard__media .sundari-wish-btn--loop {
	appearance: none !important;
	-webkit-appearance: none !important;
	position: absolute !important;
	top: auto !important;
	right: 8px !important;
	left: auto !important;
	bottom: 8px !important;
	z-index: 6 !important;
	width: 28px !important;
	height: 28px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-width: 0 !important;
	border-style: none !important;
	border-radius: 0 !important;
	outline: none !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #7b2d8e !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 0 !important;
	font-size: 0 !important;
	cursor: pointer !important;
	transform: none !important;
}

body.sundari-theme.sundari-page-shop .sundari-pcard__media .sundari-wish-btn svg,
body.sundari-theme ul.products li.product .sundari-pcard__media .sundari-wish-btn svg,
body.sundari-theme .sundari-pcard__media .sundari-wish-btn--loop svg {
	display: block !important;
	width: 22px !important;
	height: 22px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.8 !important;
	pointer-events: none;
}

body.sundari-theme.sundari-page-shop .sundari-pcard__media .sundari-wish-btn:hover,
body.sundari-theme.sundari-page-shop .sundari-pcard__media .sundari-wish-btn.is-active,
body.sundari-theme ul.products li.product .sundari-pcard__media .sundari-wish-btn:hover,
body.sundari-theme ul.products li.product .sundari-pcard__media .sundari-wish-btn.is-active {
	color: #ff3f6c !important;
	background: transparent !important;
	border: 0 !important;
	transform: scale(1.08) !important;
}

body.sundari-theme.sundari-page-shop .sundari-pcard__media .sundari-wish-btn.is-active svg,
body.sundari-theme ul.products li.product .sundari-pcard__media .sundari-wish-btn.is-active svg {
	fill: currentColor !important;
}

/* Soften default Woo sale badge */
body.sundari-theme.sundari-page-shop span.onsale,
body.sundari-theme ul.products li.product span.onsale {
	top: 0.65rem !important;
	left: 0.65rem !important;
	right: auto !important;
	min-height: 0 !important;
	padding: 0.28rem 0.55rem !important;
	border-radius: 999px !important;
	background: var(--sundari-violet, #7b2d8e) !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 1.2rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
}

/* Pagination fashion polish */
body.sundari-theme.sundari-page-shop .woocommerce-pagination {
	margin: 2rem 0 1rem;
	text-align: center;
}

body.sundari-theme.sundari-page-shop .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	justify-content: center;
	border: 0 !important;
	padding: 0 !important;
}

body.sundari-theme.sundari-page-shop .woocommerce-pagination ul.page-numbers li {
	border: 0 !important;
	float: none !important;
}

body.sundari-theme.sundari-page-shop .woocommerce-pagination ul.page-numbers a,
body.sundari-theme.sundari-page-shop .woocommerce-pagination ul.page-numbers span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	min-height: 2.4rem;
	padding: 0.35rem 0.65rem !important;
	border: 1px solid rgba(123, 45, 142, 0.18) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #5a1f6a !important;
	font-family: "Poppins", sans-serif;
	font-size: 1.312rem;
	font-weight: 500;
	text-decoration: none !important;
}

body.sundari-theme.sundari-page-shop .woocommerce-pagination ul.page-numbers a:hover {
	border-color: var(--sundari-violet, #7b2d8e) !important;
	color: var(--sundari-violet, #7b2d8e) !important;
}

body.sundari-theme.sundari-page-shop .woocommerce-pagination ul.page-numbers span.current {
	background: var(--sundari-violet, #7b2d8e) !important;
	border-color: transparent !important;
	color: #fff !important;
}

/* Collection content breathing room */
body.sundari-theme.sundari-page-shop .futurio-woo-content,
body.sundari-theme.sundari-page-shop .woocommerce {
	padding-top: 0.35rem;
}

@media (max-width: 767px) {
	body.sundari-theme.sundari-page-shop .sundari-shop-intro {
		margin-bottom: 1rem;
		padding: 1.45rem 1rem 1.35rem;
		text-align: left;
	}

	body.sundari-theme.sundari-page-shop .sundari-shop-intro__lead {
		margin-left: 0;
		margin-right: 0;
		max-width: none;
	}

	body.sundari-theme.sundari-page-shop .sundari-shop-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	body.sundari-theme.sundari-page-shop .sundari-shop-toolbar__sort {
		margin-left: 0;
		justify-content: space-between;
		width: 100%;
	}

	body.sundari-theme.sundari-page-shop .sundari-shop-toolbar .woocommerce-ordering,
	body.sundari-theme.sundari-page-shop .sundari-shop-toolbar select.orderby {
		flex: 1;
		width: auto;
		min-width: 0;
	}
}
