/* =========================================================================
   SHOP HERO
   Soft gradient tint (not a dark banner) — title/eyebrow on the left, a
   short intro plus a pill-shaped Sort control on the right.
   ========================================================================= */
.shop-hero {
	background: linear-gradient(135deg, var(--cream-dark) 0%, #f0e1d0 100%);
	padding: 56px 0 48px;
	border-bottom: 1px solid var(--border);
}
.shop-hero-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}
.shop-hero-copy { max-width: 620px; }
.shop-hero-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
	color: var(--pink); margin-bottom: 14px;
}
.shop-hero-title {
	font-family: var(--font-serif);
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 0 14px;
	color: var(--burgundy);
}
.shop-hero-subtext { color: var(--text); opacity: 0.75; font-size: 15px; line-height: 1.7; margin: 0 0 18px; max-width: 340px; }

/* Sort control — a single pill: icon + label + native <select>, all on
   one line. (One control, reused for both desktop and mobile — rather
   than two duplicate <select> elements — since assets/js/shop-filters.js
   only binds to this one #shop-sort-select.) */
.shop-hero-sort {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--white);
	border: 1px solid var(--border-strong);
	border-radius: 9999px;
	padding: 8px 18px 8px 20px;
	box-shadow: 0 8px 20px rgba(53, 29, 43, 0.06);
	max-width: 100%;
	width: fit-content;
}
.shop-hero-sort label {
	font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.05em; color: var(--muted); white-space: nowrap; margin: 0;
}
.shop-hero-sort .filter-select {
	border: none;
	background-color: transparent;
	background-image: 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='%23b52158' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-position: right 0 center;
	padding: 0 18px 0 6px;
	width: auto;
	font-weight: 700;
	font-size: 13px;
	color: var(--burgundy);
}
@media (max-width: 480px) {
	.shop-hero-sort { width: 100%; }
	.shop-hero-sort .filter-select { flex: 1; }
}

.shop-grid-wrapper { transition: opacity 0.2s ease; }
.shop-grid-wrapper.is-loading { opacity: 0.45; pointer-events: none; }

/* =========================================================================
   SHOP PANEL / FILTERS
   A raised card holding the Category/Occasion filters, set off from the
   hero and the grid below it with its own shadow and a thin gradient
   accent line along the top edge.
   ========================================================================= */
.shop-main { margin-top: 0; padding: 34px 15px 90px; }

.shop-panel {
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
	border-radius: 0;
}

.shop-filters {
	position: relative;
	background: var(--white);
	border: 1px solid var(--cream-dark);
	border-radius: 26px;
	padding: 28px 28px 24px;
	box-shadow: 0 10px 30px rgba(53, 29, 43, 0.08), 0 2px 8px rgba(53, 29, 43, 0.04);
	margin-bottom: 28px;
	overflow: hidden;
}
.shop-filters::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--pink) 0%, var(--pink-light) 50%, var(--pink) 100%);
	opacity: 0.75;
}
.shop-filters::after {
	content: '\2748';
	position: absolute;
	top: 20px; right: 26px;
	font-size: 19px;
	color: var(--pink-light);
	opacity: 0.45;
	pointer-events: none;
}
@media (max-width: 640px) {
	.shop-filters { padding: 20px 18px; }
	.shop-filters::after { display: none; }
}

.shop-filter-pills { display: flex; flex-direction: column; gap: 22px; }
.shop-filter-label {
	display: flex; align-items: center; gap: 7px;
	font-size: 11px; font-weight: 800; text-transform: uppercase;
	letter-spacing: 0.08em; color: var(--pink); margin-bottom: 10px;
}
.shop-filter-label::before { content: '\2726'; font-size: 11px; opacity: 0.85; }

/* =========================================================================
   PRODUCTS HEADING — small bar between the filters and the grid: how many
   gifts match, plus a light editorial tagline.
   ========================================================================= */
.shop-products-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding: 6px 0 20px;
}
.shop-products-count {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--burgundy);
	margin: 0;
}
.shop-products-tagline {
	font-size: 12px;
	color: var(--muted);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.shop-products-tagline::before { content: '\2726'; color: var(--pink); font-size: 14px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
	position: relative;
	padding: 8px 16px; border-radius: 9999px; font-size: 12px; font-weight: 600;
	background: var(--cream); color: var(--text);
	border: 1px solid transparent;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pill:hover { border-color: var(--pink); color: var(--pink); background: #fff2f4; transform: translateY(-1px); }
.pill-primary.active {
	background: linear-gradient(135deg, var(--pink) 0%, var(--pink-bright) 100%);
	color: var(--white);
	box-shadow: 0 6px 16px rgba(181, 33, 88, 0.3);
	transform: translateY(-1px);
}
.pill-dark { padding: 7px 14px; font-weight: 500; }
.pill-dark.active { background: var(--burgundy); color: var(--white); box-shadow: 0 6px 16px rgba(53, 29, 43, 0.25); transform: translateY(-1px); }

/* Mobile dropdowns hidden on desktop, pills hidden on mobile */
.shop-filter-dropdowns { display: none; }
@media (max-width: 640px) {
	.shop-filter-pills { display: none; }
	.shop-filter-dropdowns { display: flex; flex-direction: column; gap: 14px; }
}

.shop-filter-select-wrap label {
	display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px;
}
.filter-select {
	appearance: none;
	width: 100%;
	border: 1px solid var(--border-strong);
	background-color: var(--cream);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23351d2b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 11px;
	border-radius: 9999px;
	padding: 11px 40px 11px 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	font-family: inherit;
	cursor: pointer;
}
.filter-select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(181, 33, 88, 0.1); }

.shop-filter-submit {
	border: none; border-radius: 9999px; padding: 10px 18px;
	background: var(--pink); color: var(--white); font-size: 13px; font-weight: 700; cursor: pointer;
	transition: background 0.2s ease;
}
.shop-filter-submit:hover { background: var(--burgundy); }

/* Empty state (WooCommerce's woocommerce_no_products_found output) */
.woocommerce-info {
	text-align: center; padding: 40px 20px; color: var(--muted); font-size: 14px;
	background: var(--cream); border-radius: 14px;
}

/* =========================================================================
   PAGINATION — circular numbered buttons, current page filled pink.
   WooCommerce's own paginate_links() output gives the prev/next links the
   classes "prev"/"next" automatically, which is what the two rules below
   target for the larger arrow glyph.
   ========================================================================= */
.woocommerce-pagination { margin-top: 44px; }
.woocommerce-pagination ul { list-style: none; display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0; padding: 0; }
.woocommerce-pagination li { list-style: none; }
.woocommerce-pagination a,
.woocommerce-pagination span {
	display: flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 8px;
	border-radius: 9999px; font-size: 13px; font-weight: 700;
	color: var(--text); background: var(--white); border: 1px solid var(--border);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.woocommerce-pagination a:hover { border-color: var(--pink); color: var(--pink); background: #fff0f3; }
.woocommerce-pagination .current { background: var(--pink); border-color: var(--pink); color: var(--white); }
.woocommerce-pagination .prev,
.woocommerce-pagination .next { font-size: 18px; }
.woocommerce-pagination span.disabled { opacity: 0.4; }
