/* ==========================================================================
   WeStyle — shop / collection / search pages + product cards.
   Tokens only (assets/css/tokens.css). Mobile-first; drawer below 992px.
   ========================================================================== */

/* ---------- Page shell ---------- */
.ws-shop {
	max-width: var(--ws-container);
	margin: 0 auto;
	padding: var(--ws-space-5) var(--ws-gutter) var(--ws-section-gap);
	color: var(--ws-ink);
	font-family: var(--ws-font-body);
}

body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag,
body.post-type-archive-product {
	background: var(--ws-bg);
}

.ws-shop *,
.ws-shop *::before,
.ws-shop *::after {
	box-sizing: border-box;
}

.ws-shop .screen-reader-text,
.ws-card .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Header ---------- */
.ws-shop-head {
	padding: var(--ws-space-2) 0 var(--ws-space-5);
	max-width: 760px;
}

.ws-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 var(--ws-space-3);
	font-size: var(--ws-fs-xs);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ws-muted);
}

.ws-breadcrumb a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: -12px 0;
	color: var(--ws-ink-soft);
	text-decoration: none;
}

.ws-breadcrumb a:hover {
	color: var(--ws-rose);
}

.ws-crumb-sep {
	color: var(--ws-line);
}

.ws-shop-head__title {
	margin: 0;
	font-family: var(--ws-font-display);
	font-size: var(--ws-fs-3xl);
	font-weight: 600;
	line-height: 1.05;
	color: var(--ws-ink);
	letter-spacing: -0.01em;
}

.ws-shop-head__desc {
	margin: var(--ws-space-3) 0 0;
	font-size: var(--ws-fs-md);
	line-height: 1.6;
	color: var(--ws-ink-soft);
}

.ws-shop-head__search {
	margin-top: var(--ws-space-4);
	max-width: 520px;
}

/* ---------- Layout ---------- */
.ws-shop__layout {
	display: block;
}

.ws-shop__main {
	position: relative;
	min-width: 0;
}

@media (min-width: 992px) {
	.ws-shop__layout {
		display: grid;
		grid-template-columns: 272px minmax(0, 1fr);
		gap: var(--ws-space-6);
		align-items: start;
	}
}

/* Loading overlay */
.ws-shop__loading {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: center;
	padding-top: 120px;
	background: rgba(255, 255, 255, 0.55);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--ws-dur) var(--ws-ease);
	z-index: 5;
}

.ws-shop__main.is-loading .ws-shop__loading {
	opacity: 1;
	pointer-events: auto;
}

.ws-spinner {
	width: 32px;
	height: 32px;
	border: 2px solid var(--ws-line);
	border-top-color: var(--ws-rose);
	border-radius: 50%;
	animation: ws-spin 0.8s linear infinite;
}

@keyframes ws-spin {
	to { transform: rotate(360deg); }
}

/* ---------- Mobile sticky Filter | Sort bar ---------- */
.ws-shop-mobilebar {
	position: sticky;
	top: var(--ws-shop-sticky-top, 0px);
	z-index: 30;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ws-space-2);
	margin: 0 calc(-1 * var(--ws-gutter)) var(--ws-space-4);
	padding: var(--ws-space-2) var(--ws-gutter);
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--ws-line);
	backdrop-filter: saturate(1.2) blur(6px);
}

@media (min-width: 992px) {
	.ws-shop-mobilebar {
		display: none;
	}
}

.ws-shop-mobilebar__btn,
.ws-sort--mobile {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--ws-space-2);
	min-height: 44px;
	padding: 0 var(--ws-space-4);
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius-pill);
	background: var(--ws-bg);
	color: var(--ws-ink);
	font: 600 var(--ws-fs-sm)/1 var(--ws-font-body);
	cursor: pointer;
}

.ws-shop-mobilebar__btn:hover,
.ws-shop-mobilebar__btn:focus-visible {
	border-color: var(--ws-ink);
	background: var(--ws-bg);
	color: var(--ws-ink);
}

.ws-badge-count {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: var(--ws-radius-pill);
	background: var(--ws-rose);
	color: var(--ws-bg);
	font-size: 11px;
	font-weight: 700;
}

.ws-badge-count[hidden] {
	display: none;
}

/* ---------- Sort ---------- */
.ws-sort {
	display: flex;
	align-items: center;
	gap: var(--ws-space-2);
	margin: 0;
}

.ws-sort__label {
	font-size: var(--ws-fs-sm);
	color: var(--ws-muted);
	white-space: nowrap;
}

.ws-sort__select {
	min-height: 44px;
	padding: 0 36px 0 var(--ws-space-4);
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius-pill);
	background: var(--ws-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2357493f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: var(--ws-ink);
	font: 500 var(--ws-fs-sm)/1.2 var(--ws-font-body);
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.ws-sort__select:focus-visible {
	outline: 2px solid var(--ws-rose);
	outline-offset: 2px;
}

/* Mobile bar sort: whole pill is the native select (great on phones). */
.ws-sort--mobile {
	padding: 0;
	overflow: hidden;
}

.ws-sort--mobile .ws-sort__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.ws-sort--mobile .ws-sort__select {
	width: 100%;
	height: 100%;
	min-height: 44px;
	border: 0;
	border-radius: 0;
	text-align: center;
	text-align-last: center;
	font-weight: 600;
	padding: 0 30px 0 var(--ws-space-4);
	background-position: right 12px center;
}

/* ---------- Notice (invalid / too-soon dates) ---------- */
.ws-shop-notice {
	margin: 0 0 var(--ws-space-3);
	padding: var(--ws-space-3) var(--ws-space-4);
	border-left: 3px solid var(--ws-rose);
	border-radius: var(--ws-radius-sm);
	background: var(--ws-rose-tint);
	color: var(--ws-ink);
	font-size: var(--ws-fs-sm);
	line-height: 1.5;
}

/* ---------- Event date bar ---------- */
.ws-datebar__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: var(--ws-space-1);
}

.ws-datebar__clear {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--ws-ink-soft);
}

.ws-datebar__clear:hover,
.ws-datebar__clear:focus-visible {
	background: var(--ws-bg);
	color: var(--ws-rose);
}

.ws-datebar {
	display: flex;
	align-items: center;
	gap: var(--ws-space-3);
	margin: 0 0 var(--ws-space-4);
	padding: var(--ws-space-3) var(--ws-space-4);
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius);
	background: var(--ws-cream);
}

.ws-datebar.is-set {
	border-color: var(--ws-gold-tint);
	background: linear-gradient(90deg, var(--ws-gold-tint), var(--ws-cream));
}

.ws-datebar .ws-ico {
	flex: 0 0 auto;
	color: var(--ws-gold);
}

.ws-datebar__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1 1 auto;
}

.ws-datebar__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ws-muted);
}

.ws-datebar__dates {
	font-family: var(--ws-font-display);
	font-size: var(--ws-fs-lg);
	font-weight: 600;
	line-height: 1.25;
	color: var(--ws-ink);
}

.ws-datebar__meta {
	font-size: var(--ws-fs-xs);
	color: var(--ws-ink-soft);
}

.ws-datebar__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 var(--ws-space-4);
	border: 1px solid var(--ws-ink);
	border-radius: var(--ws-radius-pill);
	background: transparent;
	color: var(--ws-ink);
	font: 600 var(--ws-fs-sm)/1 var(--ws-font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background var(--ws-dur) var(--ws-ease), color var(--ws-dur) var(--ws-ease);
}

.ws-datebar__btn:hover,
.ws-datebar__btn:focus-visible {
	background: var(--ws-ink);
	color: var(--ws-bg);
}

.ws-datebar__btn.is-primary {
	border-color: var(--ws-rose);
	background: var(--ws-rose);
	color: var(--ws-bg);
}

.ws-datebar__btn.is-primary:hover,
.ws-datebar__btn.is-primary:focus-visible {
	border-color: var(--ws-rose-deep);
	background: var(--ws-rose-deep);
	color: var(--ws-bg);
}

/* ---------- Toolbar + chips ---------- */
.ws-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ws-space-3);
	margin: 0 0 var(--ws-space-3);
}

.ws-toolbar__count {
	margin: 0;
	font-size: var(--ws-fs-sm);
	color: var(--ws-ink-soft);
}

.ws-toolbar__count strong {
	color: var(--ws-ink);
	font-weight: 600;
}

.ws-sort--toolbar {
	display: none;
}

@media (min-width: 992px) {
	.ws-sort--toolbar {
		display: flex;
	}
}

.ws-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ws-space-2);
	margin: 0 0 var(--ws-space-4);
	padding: 0;
	list-style: none;
}

.ws-chips li {
	margin: 0;
}

.ws-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--ws-space-2);
	min-height: 36px;
	padding: 0 var(--ws-space-2) 0 var(--ws-space-3);
	border: 1px solid var(--ws-rose-tint);
	border-radius: var(--ws-radius-pill);
	background: var(--ws-rose-tint);
	color: var(--ws-rose-deep);
	font-size: var(--ws-fs-sm);
	font-weight: 500;
	text-decoration: none;
	transition: border-color var(--ws-dur) var(--ws-ease);
	position: relative;
}

/* Enlarged tap target without visual bulk. */
.ws-chip::after {
	content: "";
	position: absolute;
	inset: -4px;
}

.ws-chip:hover,
.ws-chip:focus-visible {
	border-color: var(--ws-rose);
	color: var(--ws-rose-deep);
}

.ws-chip__x {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ws-bg);
	font-size: 16px;
	line-height: 1;
}

.ws-chips__clear {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 var(--ws-space-2);
	color: var(--ws-ink-soft);
	font-size: var(--ws-fs-sm);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ws-chips__clear:hover {
	color: var(--ws-rose);
}

/* ---------- Product grid ---------- */
/* Astra/WC set columns with high specificity, hence the !important on columns. */
ul.products.ws-grid,
.woocommerce ul.products.ws-grid,
.woocommerce-page ul.products.ws-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: var(--ws-space-5) var(--ws-space-3) !important;
	margin: 0 0 var(--ws-space-6) !important;
	padding: 0 !important;
	list-style: none;
}

ul.products.ws-grid::before,
ul.products.ws-grid::after {
	display: none !important;
	content: none !important;
}

@media (min-width: 768px) {
	ul.products.ws-grid,
	.woocommerce ul.products.ws-grid,
	.woocommerce-page ul.products.ws-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: var(--ws-space-6) var(--ws-space-5) !important;
	}
}

/* Outside the shop (e.g. related products, no sidebar): 4 across on wide screens. */
@media (min-width: 1200px) {
	body:not(.ws-shop-page) ul.products.ws-grid.columns-4,
	body:not(.ws-shop-page) ul.products.ws-grid.columns-5,
	body:not(.ws-shop-page) ul.products.ws-grid.columns-6 {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

/* ---------- Product card ---------- */
ul.products.ws-grid li.product.ws-card,
.ws-card {
	display: flex;
	flex-direction: column;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
	text-align: left;
	background: transparent;
	font-family: var(--ws-font-body);
}

.ws-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--ws-radius);
	background: var(--ws-cream-deep);
}

.ws-card__media-link {
	display: block;
	width: 100%;
	height: 100%;
}

.ws-card .ws-card__img,
.ws-card__media img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0 !important;
	object-fit: cover;
	object-position: center top;
	transition: transform 600ms var(--ws-ease), opacity 400ms var(--ws-ease);
}

.ws-card__img--hover {
	position: absolute;
	inset: 0;
	opacity: 0;
}

@media (hover: hover) {
	.ws-card:hover .ws-card__img {
		transform: scale(1.035);
	}

	.ws-card.has-hover-image:hover .ws-card__img--hover {
		opacity: 1;
	}
}

.ws-card.is-booked .ws-card__img {
	filter: grayscale(0.45);
	opacity: 0.8;
}

/* Badges */
.ws-card__badges {
	position: absolute;
	top: var(--ws-space-2);
	left: var(--ws-space-2);
	right: 52px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	pointer-events: none;
}

.ws-card__badge {
	margin: 0;
	padding: 4px 8px;
	border-radius: var(--ws-radius-pill);
	background: var(--ws-bg);
	color: var(--ws-ink);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: var(--ws-shadow-sm);
}

.ws-card__badge.is-bestseller {
	background: var(--ws-gold-tint);
	color: var(--ws-ink);
}

.ws-card__badge.is-new {
	background: var(--ws-rose-tint);
	color: var(--ws-rose-deep);
}

.ws-card__status {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 6px var(--ws-space-2);
	background: rgba(230, 243, 234, 0.94);
	color: var(--ws-success);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	pointer-events: none;
}

.ws-card__status.is-booked {
	background: rgba(253, 236, 234, 0.95);
	color: var(--ws-danger);
}

/* Wishlist heart */
.ws-card__wish {
	position: absolute;
	top: 4px;
	right: 4px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ws-ink);
	cursor: pointer;
}

.ws-card__wish::before {
	content: "";
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--ws-shadow-sm);
	transition: transform var(--ws-dur) var(--ws-ease);
}

.ws-card__wish svg {
	position: relative;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	transition: transform var(--ws-dur) var(--ws-ease), fill var(--ws-dur) var(--ws-ease);
}

.ws-card__wish:hover,
.ws-card__wish:focus {
	background: transparent;
	color: var(--ws-rose);
}

.ws-card__wish:focus-visible {
	outline: 2px solid var(--ws-rose);
	outline-offset: -4px;
}

.ws-card__wish.is-active {
	color: var(--ws-rose);
}

.ws-card__wish.is-active svg {
	fill: var(--ws-rose);
}

.ws-card__wish.is-pop svg {
	transform: scale(1.25);
}

/* Body */
.ws-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 6px;
	padding: var(--ws-space-3) 2px 0;
}

.ws-card__store {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin: 0;
	color: var(--ws-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
}

.ws-card__store-name {
	color: var(--ws-ink-soft);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ws-card__area {
	font-size: var(--ws-fs-xs);
}

.ws-card .ws-card__title,
ul.products li.product .ws-card__title {
	margin: 0;
	padding: 0;
	font-family: var(--ws-font-body);
	font-size: var(--ws-fs-sm);
	font-weight: 600;
	line-height: 1.3;
}

/* Two lines then "…" (Flipkart-style); fixed 2-line height keeps every card's price on one level. */
.ws-card__title a {
	display: -webkit-box;
	min-height: 2.7em;
	padding: 0;
	overflow: hidden;
	color: var(--ws-ink);
	text-decoration: none;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.ws-card__title a:hover {
	color: var(--ws-rose);
}

.ws-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px var(--ws-space-2);
}

.ws-card__price {
	margin: 0;
	color: var(--ws-ink);
	font-family: var(--ws-font-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
}

.ws-card__price .woocommerce-Price-amount {
	color: inherit;
	font-family: inherit;
}

.ws-card__from,
.ws-card__per {
	font-family: var(--ws-font-body);
	font-size: var(--ws-fs-xs);
	font-weight: 400;
	color: var(--ws-muted);
}

.ws-card__rating {
	margin: 0;
	color: var(--ws-ink-soft);
	font-size: var(--ws-fs-xs);
	white-space: nowrap;
}

.ws-card__star {
	color: var(--ws-gold-text);
}

.ws-card__reviews {
	color: var(--ws-muted);
}

.ws-card__new {
	color: var(--ws-gold-text);
	font-weight: 600;
	letter-spacing: 0.04em;
}

.ws-card__deposit {
	margin: 0;
	color: var(--ws-muted);
	font-size: var(--ws-fs-xs);
	line-height: 1.4;
}

.ws-card__deposit .woocommerce-Price-amount {
	color: var(--ws-ink-soft);
	font-weight: 500;
}

.ws-card__sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
}

.ws-card__sizes li {
	min-width: 28px;
	margin: 0;
	padding: 3px 6px;
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius-sm);
	color: var(--ws-ink-soft);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
}

.ws-card__sizes {
	margin-bottom: var(--ws-space-1);
}

.ws-card__sizes li.is-more {
	border-style: dashed;
	color: var(--ws-muted);
}

.ws-card__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: auto;
	padding: 0 var(--ws-space-3);
	border: 1px solid var(--ws-ink);
	border-radius: var(--ws-radius-pill);
	background: transparent;
	color: var(--ws-ink);
	font-size: var(--ws-fs-sm);
	font-weight: 600;
	text-decoration: none;
	transition: background var(--ws-dur) var(--ws-ease), color var(--ws-dur) var(--ws-ease), border-color var(--ws-dur) var(--ws-ease);
}

.ws-card__cta:hover,
.ws-card__cta:focus-visible {
	border-color: var(--ws-rose);
	background: var(--ws-rose);
	color: var(--ws-bg);
}

.ws-card.is-booked .ws-card__cta {
	border-color: var(--ws-line);
	color: var(--ws-ink-soft);
}

@media (min-width: 768px) {
	.ws-card__body {
		gap: 8px;
	}

	.ws-card .ws-card__title,
	ul.products li.product .ws-card__title {
		font-size: 15px;
	}

	.ws-card__price {
		font-size: var(--ws-fs-xl);
	}

	.ws-card__badge {
		font-size: 11px;
		padding: 5px 10px;
	}
}

/* ---------- Pagination ---------- */
.ws-pagination {
	margin: var(--ws-space-5) 0 0;
	text-align: center;
}

.ws-pagination ul.page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--ws-space-2);
	margin: 0;
	padding: 0;
	border: 0 !important;
	list-style: none;
}

.ws-pagination ul.page-numbers li {
	margin: 0;
	border: 0 !important;
	float: none;
}

.ws-pagination .page-numbers a,
.ws-pagination .page-numbers span.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--ws-space-2);
	border: 1px solid var(--ws-line) !important;
	border-radius: var(--ws-radius-pill);
	background: var(--ws-bg);
	color: var(--ws-ink);
	font-size: var(--ws-fs-sm);
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
}

.ws-pagination .page-numbers a:hover {
	border-color: var(--ws-ink) !important;
	background: var(--ws-bg);
	color: var(--ws-ink);
}

.ws-pagination .page-numbers span.current {
	border-color: var(--ws-ink) !important;
	background: var(--ws-ink);
	color: var(--ws-bg);
}

/* ---------- Empty state ---------- */
.ws-empty {
	margin: var(--ws-space-2) 0 var(--ws-space-6);
	padding: var(--ws-space-7) var(--ws-space-5);
	border: 1px dashed var(--ws-line);
	border-radius: var(--ws-radius-lg);
	background: var(--ws-cream);
	text-align: center;
}

.ws-empty__icon {
	display: inline-grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin-bottom: var(--ws-space-4);
	border-radius: 50%;
	background: var(--ws-bg);
	color: var(--ws-gold);
	box-shadow: var(--ws-shadow-sm);
}

.ws-empty__title {
	margin: 0 0 var(--ws-space-2);
	font-family: var(--ws-font-display);
	font-size: var(--ws-fs-2xl);
	font-weight: 600;
	line-height: 1.15;
	color: var(--ws-ink);
}

.ws-empty__text {
	max-width: 440px;
	margin: 0 auto var(--ws-space-5);
	color: var(--ws-ink-soft);
	font-size: var(--ws-fs-md);
	line-height: 1.55;
}

.ws-empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--ws-space-2);
}

.ws-empty__sub {
	margin: var(--ws-space-6) 0 var(--ws-space-3);
	color: var(--ws-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ws-empty__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--ws-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ws-empty__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 var(--ws-space-4);
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius-pill);
	background: var(--ws-bg);
	color: var(--ws-ink);
	font-size: var(--ws-fs-sm);
	text-decoration: none;
}

.ws-empty__links a:hover {
	border-color: var(--ws-rose);
	color: var(--ws-rose);
}

/* ---------- Buttons ---------- */
.ws-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 var(--ws-space-5);
	border: 1px solid var(--ws-ink);
	border-radius: var(--ws-radius-pill);
	background: var(--ws-bg);
	color: var(--ws-ink);
	font: 600 var(--ws-fs-sm)/1.2 var(--ws-font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background var(--ws-dur) var(--ws-ease), color var(--ws-dur) var(--ws-ease), border-color var(--ws-dur) var(--ws-ease);
}

.ws-btn:hover,
.ws-btn:focus-visible {
	background: var(--ws-ink);
	color: var(--ws-bg);
}

.ws-btn--primary {
	border-color: var(--ws-rose);
	background: var(--ws-rose);
	color: var(--ws-bg);
}

.ws-btn--primary:hover,
.ws-btn--primary:focus-visible {
	border-color: var(--ws-rose-deep);
	background: var(--ws-rose-deep);
	color: var(--ws-bg);
}

/* ---------- Product search form ---------- */
.ws-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--ws-space-2);
	margin: 0;
}

.ws-search__icon {
	position: absolute;
	left: 16px;
	color: var(--ws-muted);
	pointer-events: none;
}

.ws-search .ws-search__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 48px;
	padding: 0 var(--ws-space-4) 0 44px;
	border: 1px solid var(--ws-line);
	border-radius: var(--ws-radius-pill);
	background: var(--ws-bg);
	color: var(--ws-ink);
	font: 400 var(--ws-fs-md)/1.2 var(--ws-font-body);
}

.ws-search .ws-search__input:focus {
	border-color: var(--ws-rose);
	outline: none;
	box-shadow: 0 0 0 3px var(--ws-rose-tint);
}

.ws-search .ws-search__btn {
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 var(--ws-space-5);
	border: 0;
	border-radius: var(--ws-radius-pill);
	background: var(--ws-rose);
	color: var(--ws-bg);
	font: 600 var(--ws-fs-sm)/1 var(--ws-font-body);
	cursor: pointer;
}

.ws-search .ws-search__btn:hover,
.ws-search .ws-search__btn:focus-visible {
	background: var(--ws-rose-deep);
}

/* ---------- Small phones ---------- */
@media (max-width: 767px) {
	.ws-datebar {
		gap: var(--ws-space-2);
		padding: var(--ws-space-2) var(--ws-space-2) var(--ws-space-2) var(--ws-space-3);
	}

	.ws-datebar__dates {
		font-size: var(--ws-fs-md);
	}

	.ws-datebar__meta {
		display: none;
	}

	.ws-datebar:not(.is-set) .ws-datebar__meta {
		display: block;
	}

	.ws-datebar__btn {
		padding: 0 var(--ws-space-3);
	}
}

/* Phones: lighter, readable title and a bold plain price, like big shopping apps. */
@media (max-width: 767px) {
	.ws-card__body {
		gap: 4px;
		padding: var(--ws-space-2) 2px 0;
	}

	.ws-card .ws-card__title,
	ul.products li.product .ws-card__title {
		font-size: 14px;
		font-weight: 400;
		line-height: 1.35;
	}

	.ws-card__title a {
		color: var(--ws-ink-soft);
	}

	.ws-card__price {
		font-family: var(--ws-font-body);
		font-size: 17px;
		font-weight: 700;
	}
}

@media (max-width: 400px) {

	.ws-card__price {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ws-card__img,
	.ws-card__wish svg,
	.ws-spinner {
		transition: none;
		animation: none;
	}
}

/* Value line: "Worth ₹X · Save N%" (repositioning) */
.ws-card__worth {
	order: 3;
	flex-basis: 100%;
	margin: 0;
	font-family: var(--ws-font-body);
	font-size: var(--ws-fs-xs);
	line-height: 1.4;
	color: var(--ws-muted);
}
.ws-card__worth b {
	font-weight: 700;
	color: var(--ws-rose);
}

/* Premium collection */
.ws-card__badge.is-premium { background: linear-gradient(100deg, #b98c4f, #e9cf98 55%, #b98c4f); color: #211a17; font-weight: 800; letter-spacing: .02em; }
.ws-premium-empty { max-width: 640px; margin: 24px auto 48px; padding: 36px 28px; text-align: center; background: #fbf6f1; border: 1px solid #eadfd2; border-radius: 18px; }
.ws-premium-empty__eyebrow { color: #a8823f; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
.ws-premium-empty h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; line-height: 1.15; margin: 0 0 10px; }
.ws-premium-empty p { color: #57493f; margin: 0 0 18px; }

/* Partner store category tabs (inc/shop.php westyle_store_tabs) */
.ws-store-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; margin: 4px 0 18px; scrollbar-width: none; }
.ws-store-tabs::-webkit-scrollbar { display: none; }
.ws-store-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid #e3d3c2; border-radius: 50px; background: #fff; color: #211a17; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ws-store-tab span { font-size: 12px; font-weight: 700; color: #8a7c72; background: #f6f1ec; border-radius: 50px; padding: 2px 8px; }
/* Theme buttons turn blue on hover/focus; keep the tabs on brand. */
.ws-store-tabs .ws-store-tab:hover, .ws-store-tabs .ws-store-tab:focus { background: #fbf1f4 !important; border-color: #c4395d !important; color: #a72c4c !important; box-shadow: none !important; outline: none; }
.ws-store-tabs .ws-store-tab:focus-visible { outline: 2px solid #c4395d; outline-offset: 2px; }
.ws-store-tabs .ws-store-tab.is-active, .ws-store-tabs .ws-store-tab.is-active:hover, .ws-store-tabs .ws-store-tab.is-active:focus { background: #c4395d !important; border-color: #c4395d !important; color: #fff !important; }
.ws-store-tab.is-active span { background: rgba(255,255,255,.22); color: #fff; }
@media (max-width: 600px) { .ws-store-tab { height: 40px; padding: 0 16px; font-size: 13px; } }
