/**
 * PBS Shop listing — styles for the custom WooCommerce archive template
 * (ave-child/woocommerce/archive-product.php). Loaded only on the shop /
 * product-category archives (enqueued conditionally in functions.php).
 *
 * Design tokens taken from the Figma "PBS Shop Website" shop listing.
 * Poppins is already loaded by the parent theme; FontAwesome (fa fa-*) too.
 */

.pbs-shop {
	--pbs-red: #ce2020;
	--pbs-maroon: #611637;
	--pbs-page: #fff2f2;
	--pbs-ink: #101010;
	--pbs-gray: #666;
	--pbs-gray-2: #838383;
	--pbs-line: #e4d9db;
	--pbs-radius: 10px;
	--pbs-badge-new: #2d8d38;
	--pbs-badge-sold: #e94016;
	--pbs-badge-best: #333e7e;
	--pbs-badge-sale: #611637;

	/* Side spacing for the whole shop. It's full-width by default (0) — change
	   this one value (e.g. 24px, or clamp(16px, 5vw, 80px)) to add your own
	   spacing, or override padding on individual sections below. */
	--pbs-shop-gutter: 0px;

	width: 100%;
	max-width: none;
	margin: 0;
	padding-inline: var(--pbs-shop-gutter);
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--pbs-ink);
	box-sizing: border-box;
	line-height: 1.2 !important;
}

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

/* Give the shop archive the pink page canvas + make it truly full width by
   removing the parent theme's Bootstrap container constraints. */
.post-type-archive-product #content,
.tax-product_cat #content,
.tax-product_tag #content {
	background: #fff2f2;
	padding-bottom: 40px;
}

.post-type-archive-product #content>.container,
.tax-product_cat #content>.container,
.tax-product_tag #content>.container {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	/* Responsive gutter — matches the header's .pbs-header__inner padding so the
	   two align at every width (was a fixed 60px that never shrank on mobile). */
	padding: 0 clamp(16px, 4vw, 60px);
}

/* ------------------------------------------------------------------ */
/* Breadcrumb                                                           */
/* ------------------------------------------------------------------ */
.pbs-shop .pbs-shop-breadcrumb {
	padding: 26px 0 10px;
	font-size: 15px;
}

.pbs-shop .pbs-breadcrumb__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.pbs-shop .pbs-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	color: var(--pbs-gray);
}

.pbs-shop .pbs-breadcrumb__item+.pbs-breadcrumb__item::before {
	content: "/";
	margin: 0 .55em;
	color: #b9a9ad;
}

.pbs-shop .pbs-shop-breadcrumb a {
	color: #6e6e6e;
	text-decoration: none;
}

.pbs-shop .pbs-shop-breadcrumb a:hover {
	color: var(--pbs-red);
}

/* ------------------------------------------------------------------ */
/* Hero banner                                                          */
/* ------------------------------------------------------------------ */
.pbs-hero {
	position: relative;
	display: flex;
	background: var(--pbs-maroon);
	border-radius: var(--pbs-radius);
	overflow: hidden;
	margin: 14px 0 46px;
}

.pbs-hero__text {
	flex: 1 1 50%;
	padding: 40px;
	padding-right: 60px;
	z-index: 2;
}

.pbs-hero__text h1,
.pbs-hero__text h2 {
	margin: 0;
	color: #fff;
	font-weight: 600;
	font-size: clamp(28px, 3vw, 48px);
	line-height: 1.25;
	max-width: 560px;
}

/* Two hero artworks: a wide desktop banner (2560×611) and a near-square mobile
   one (350×381). Show one per breakpoint — desktop by default, mobile ≤600px
   (a near-square banner would be far too tall on a wider tablet). height:auto so
   each keeps its own aspect ratio instead of the other one cropping it. */
img.pbs-hero__media-desk {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

img.pbs-hero__media-mob {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: none;
}

/* ------------------------------------------------------------------ */
/* Shop by Category                                                     */
/* ------------------------------------------------------------------ */
.pbs-cats {
	margin: 0 0 40px;
}

.pbs-cats__head {
	margin: 0 0 22px;
	color: var(--pbs-maroon);
	font-size: clamp(22px, 2.4vw, 32px);
	font-weight: 400;
}

.pbs-cats__viewport {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.pbs-cats__track {
	list-style: none;
	margin: 0;
	padding: 6px 4px;
	flex: 1 1 auto;
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.pbs-cats__track::-webkit-scrollbar {
	display: none;
}

.pbs-cats__item {
	flex: 0 0 auto;
	scroll-snap-align: start;
}

.pbs-cats__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	width: 190px;
}

.pbs-cats__pill {
	width: 190px;
	height: 118px;
	border-radius: 100px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(97, 22, 55, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.pbs-cats__link:hover .pbs-cats__pill {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(97, 22, 55, .12);
}

.pbs-cats__pill img {
	width: 84%;
	height: 84%;
	object-fit: contain;
	border-radius: 60px;
	mix-blend-mode: multiply;
	filter: brightness(1.06);
}

.pbs-cats__pill--initial {
	font-size: 40px;
	font-weight: 600;
	color: var(--pbs-maroon);
}

.pbs-cats__label {
	font-size: 16px;
	line-height: 1.4;
	color: #101010;
	text-align: center;
}

.pbs-cats__label em {
	font-style: normal;
	color: var(--pbs-gray-2);
	margin-left: 3px;
}

.pbs-cats__nav {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	margin-top: 42px;
	border: 0;
	cursor: pointer;
	border-radius: 50%;
	background: #fff;
	color: var(--pbs-maroon);
	font-size: 16px;
	box-shadow: 0 4px 12px rgba(97, 22, 55, .12);
	display: flex;
	align-items: center;
	justify-content: center;
}

.pbs-cats__nav:disabled {
	opacity: .35;
	cursor: default;
}

/* ------------------------------------------------------------------ */
/* Toolbar (filter + count + sort)                                     */
/* ------------------------------------------------------------------ */
.pbs-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid var(--pbs-line);
	border-bottom: 1px solid var(--pbs-line);
	margin-bottom: 30px;
	position: relative;
	flex-wrap: wrap;
}

.pbs-toolbar__left {
	display: flex;
	align-items: center;
	gap: 40px;
}

.pbs-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	background: none;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: 20px;
	color: var(--pbs-ink);
	letter-spacing: -.4px;
	padding: 0;
}

.pbs-filter-btn i {
	font-size: 18px;
}

.pbs-toolbar__divider {
	width: 1px;
	height: 24px;
	background: #cfc4c6;
}

.pbs-count {
	font-size: 20px;
	color: var(--pbs-gray);
	letter-spacing: -.4px;
}

.pbs-sort {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pbs-sort__label {
	font-size: 20px;
	letter-spacing: -.4px;
}

.pbs-sort__dd {
	position: relative;
}

.pbs-sort__current {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: 20px;
	font-weight: 500;
	color: var(--pbs-ink);
	letter-spacing: -.4px;
	padding: 0;
}

.pbs-sort__current i {
	font-size: 15px;
	transition: transform .2s ease;
}

.pbs-sort.is-open .pbs-sort__current i {
	transform: rotate(180deg);
}

.pbs-menu {
	position: absolute;
	z-index: 30;
	top: calc(100% + 10px);
	min-width: 220px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border-radius: var(--pbs-radius);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.pbs-sort__dd .pbs-menu {
	right: 0;
}

.pbs-filter .pbs-menu {
	left: 0;
}

/* Reveal the open menu. Uses a descendant (not direct-child) combinator because
   the Sort menu is nested one level deeper (.pbs-sort > .pbs-sort__dd > .pbs-menu)
   than the Filter menu (.pbs-filter > .pbs-menu); `is-open` is set on the outer
   [data-pbs-dropdown] for both. A `>` here matched only Filter, leaving Sort
   permanently hidden (it looked "static"). */
[data-pbs-dropdown].is-open .pbs-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.pbs-menu a {
	display: block;
	padding: 9px 14px;
	border-radius: 6px;
	text-decoration: none;
	color: var(--pbs-ink);
	font-size: 15px;
	white-space: nowrap;
}

.pbs-menu a:hover {
	background: #fbe9e9;
	color: var(--pbs-red);
}

.pbs-menu a.is-current {
	color: var(--pbs-red);
	font-weight: 500;
}

/* ------------------------------------------------------------------ */
/* Product grid                                                        */
/* ------------------------------------------------------------------ */
.pbs-grid {
	list-style: none;
	margin: 0 0 60px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.pbs-grid.products::before,
.pbs-grid.products::after {
	content: none;
	display: none;
}

/* kill theme clearfix */

/* Product card */
.pbs-card {
	background: #fff;
	border-radius: var(--pbs-radius);
	padding: 20px 20px 40px;
	position: relative;
	display: flex;
	flex-direction: column;
}

.pbs-card__media {
	position: relative;
	height: 250px;
}

.pbs-card__media img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: brightness(1.06);
	transition: transform .5s ease-in-out;
}

.pbs-card:hover .pbs-card__media img {
	transform: scale(0.96);
}

.pbs-card__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.pbs-badges {
	position: absolute;
	top: 20px;
	left: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 2;
}

.pbs-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border-radius: var(--pbs-radius);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	height: 26px;
	min-width: 80px;
}

.pbs-badge--new {
	background: var(--pbs-badge-new);
}

.pbs-badge--sold {
	background: var(--pbs-badge-sold);
}

.pbs-badge--best {
	background: var(--pbs-badge-best);
}

.pbs-badge--sale {
	background: var(--pbs-badge-sale);
}

.pbs-card__body {
	background: #fff;
	border-radius: var(--pbs-radius);
	padding-top: 30px;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-direction: column;
	min-height: 130px;
}

.pbs-card__cat {
	font-size: 14px;
	font-weight: 500;
	color: var(--pbs-gray);
	text-transform: uppercase;
	letter-spacing: .2px;
}

.pbs-card__title {
	margin-top: 8px;
	font-size: 20px;
	font-weight: 500;
	color: #000;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pbs-card:hover .pbs-card__title {
	color: var(--pbs-red);
}

.pbs-card__price {
	font-size: 20px;
	font-weight: 500;
	color: var(--pbs-red);
}

.pbs-card__price del {
	color: var(--pbs-gray-2);
	font-weight: 400;
	margin-right: 8px;
}

.pbs-card__price ins {
	text-decoration: none;
}

.pbs-card__actions {
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
}

.pbs-shop .pbs-card__actions .button,
.pbs-shop .pbs-card__actions .added_to_cart {
	background: var(--pbs-red);
	color: #fff;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: fit-content;
	min-width: 180px;
	padding: 0 16px;
	height: 50px;
	border: 1px solid var(--pbs-red);
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	margin: 0 auto;
	display: none;
}

.pbs-shop .pbs-card__actions .button:hover,
.pbs-shop .pbs-card__actions .added_to_cart:hover {
	background: #fff;
	color: var(--pbs-red);
}

.pbs-card:hover .pbs-card__actions .button,
.pbs-card:hover .pbs-card__actions .added_to_cart {
	display: flex;
}

/* "View cart" link WooCommerce injects after an AJAX add — show it as a
   secondary (outline) button under the main one. */
.pbs-shop .pbs-card__actions .added_to_cart {
	margin-top: 8px;
	background: #fff;
	color: var(--pbs-red);
}

.pbs-shop .pbs-card__actions .added_to_cart:hover,
.pbs-shop .pbs-card__actions .button.added {
	background: var(--pbs-red);
	color: #fff;
}

/* Loading / added states from wc-add-to-cart.js */
.pbs-shop .pbs-card__actions .button.loading {
	opacity: .75;
	pointer-events: none;
}


/* Promo card (first grid cell, shop page only) */
.pbs-promo {
	position: relative;
	border-radius: var(--pbs-radius);
	padding: 40px 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	overflow: hidden;
	text-align: center;
	min-height: 350px;
}

.pbs-promo .pbs-promo__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom;
	position: absolute;
	inset: 0;
	transition: transform .5s ease-in-out;
}

.pbs-promo:hover .pbs-promo__img {
	transform: scale(1.03);
}

.pbs-promo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, #000000 0%, #933017 100%);
	opacity: 0.3;
	z-index: 1;
}

.pbs-promo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0.3;
	z-index: 1;
}


.pbs-promo__eyebrow,
.pbs-promo__title,
.pbs-promo__btn {
	position: relative;
	z-index: 2;
}

.pbs-promo__eyebrow {
	font-size: 14px;
	font-weight: 500;
	color: #DD6565 !important;
	margin-bottom: 15px;
	display: block;
}

.pbs-promo__title {
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	margin: 0;
	text-wrap: pretty
}

.pbs-promo__btn {
	background: #fff;
	color: var(--pbs-red);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	min-width: 150px;
	padding: 0 16px;
	height: 50px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
}

.pbs-promo__btn:hover {
	background: var(--pbs-red);
	color: #fff;
}


/* See more */
.pbs-more {
	text-align: center;
	margin: 0 0 120px;
}

.pbs-more__btn {
	background: transparent;
	color: var(--pbs-red);
	border: 1px solid #000;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin: 0 auto;
	/* min-width: 150px; */
	padding: 0 30px;
	height: 50px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	overflow: hidden;
	outline: 0 !important;
}

.pbs-more__btn:hover {
	background: var(--pbs-red);
	border-color: var(--pbs-red);
	color: #fff;
}

.pbs-noresults {
	padding: 40px 0;
	font-size: 18px;
	color: var(--pbs-gray);
	text-align: center;
}

/* ------------------------------------------------------------------ */
/* Donate CTA                                                          */
/* ------------------------------------------------------------------ */
.pbs-donate {
	background: #fff;
	border-radius: var(--pbs-radius);
	padding: 56px 40px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	margin: 8px 0 20px;
}

.pbs-donate__quote {
	margin: 0;
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.25;
	color: #000;
	max-width: 760px;
}

.pbs-donate__rule {
	width: min(760px, 90%);
	height: 1px;
	background: var(--pbs-line);
	border: 0;
	margin: 4px 0 8px;
}

.pbs-donate__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--pbs-red);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	padding: 13px 26px;
	border-radius: 5px;
}

.pbs-donate__btn:hover {
	background: #b31c1c;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1199px) {
	.pbs-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	.pbs-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pbs-hero {
		flex-direction: column;
		align-items: stretch;
	}

	.pbs-hero__text {
		padding: 28px 26px;
	}

	.pbs-hero__media {
		min-height: 220px;
	}

	.pbs-card__media {
		height: 240px;
	}
}

/* Phones — swap the wide desktop banner for the near-square mobile artwork. */
@media (max-width: 600px) {
	img.pbs-hero__media-desk {
		display: none;
	}

	img.pbs-hero__media-mob {
		display: block;
	}

	.pbs-hero {
		margin-bottom: 30px;
	}

	/* Shop by Category — smaller pills that flex with the viewport, and drop the
	   prev/next arrows in favour of native swipe (the track already scrolls). */
	.pbs-cats {
		margin-bottom: 30px;
	}

	.pbs-cats__head {
		margin-bottom: 16px;
	}

	.pbs-cats__nav {
		display: none;
	}

	.pbs-cats__viewport {
		gap: 0;
	}

	.pbs-cats__track {
		gap: 12px;
	}

	.pbs-cats__link {
		width: clamp(100px, 30vw, 128px);
		gap: 8px;
	}

	.pbs-cats__pill {
		width: 100%;
		height: auto;
		aspect-ratio: 190 / 118;
	}

	.pbs-cats__label {
		font-size: 13px;
	}
}

@media (max-width: 620px) {
	/* Keep Filter (left) and Sort (right) on ONE row — they used to wrap because
	   of the wide 40px gaps in the left group. Tighten gaps + nowrap instead. */
	.pbs-toolbar {
		gap: 12px;
		flex-wrap: nowrap;
	}

	.pbs-toolbar__left {
		gap: 16px;
		min-width: 0;
	}

	.pbs-filter-btn {
		gap: 10px;
	}

	.pbs-count {
		white-space: nowrap;
	}

	.pbs-sort {
		flex: 0 0 auto;
		gap: 6px;
	}

	.pbs-filter-btn,
	.pbs-count,
	.pbs-sort__label,
	.pbs-sort__current {
		font-size: 16px;
	}

	.pbs-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pbs-card__media {
		height: 180px;
		padding: 14px;
	}

	.pbs-card__title,
	.pbs-card__price {
		font-size: 16px;
	}

	.pbs-card__body {
		padding: 14px;
		min-height: 0;
	}

	.pbs-donate {
		padding: 36px 20px;
	}
}

/* Small phones — drop the "Sort by:" label (the selected value + chevron are
   still shown) and trim fonts so Filter + count + Sort stay on one row. */
@media (max-width: 480px) {
	.pbs-sort__label {
		display: none;
	}

	.pbs-toolbar__left {
		gap: 12px;
	}

	.pbs-filter-btn,
	.pbs-count,
	.pbs-sort__current {
		font-size: 15px;
	}
}

@media (max-width: 420px) {
	.pbs-grid {
		grid-template-columns: 1fr;
	}
}

/* ================================================================== */
/* Custom shop header (header-shop.php) — Figma "PBS Shop" header      */
/* ================================================================== */
.pbs-header {
	background: #ce2020;
	color: #fff;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pbs-header,
.pbs-header *,
.pbs-header *::before,
.pbs-header *::after {
	box-sizing: border-box;
}

.pbs-header__inner {
	display: flex;
	align-items: center;
	gap: 26px;
	max-width: 1440px;
	margin: 0 auto;
	/* Horizontal gutter scales with the viewport and matches the shop content
	   container (.container below) so the header and page align at every width. */
	padding: 16px clamp(16px, 4vw, 60px);
	min-height: 84px;
}

.pbs-header__logo {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
}

.pbs-header__logo img {
	height: 46px;
	width: auto;
	display: block;
	filter: brightness(0) invert(1);
}

.pbs-header__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.pbs-header .pbs-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	/* One line on desktop — the gap tightens as the viewport narrows; below the
	   hamburger breakpoint the menu switches to a vertical column (see media). */
	flex-wrap: nowrap;
	align-items: center;
	gap: clamp(14px, 1.6vw, 30px);
}

.pbs-header .pbs-menu-list li {
	margin: 0;
}

.pbs-header .pbs-menu-list a {
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	line-height: 1.75;
	display: inline-block;
	position: relative;
	padding: 4px 0;
	white-space: nowrap;
}

.pbs-header .pbs-menu-list a:hover {
	opacity: .92;
}

.pbs-header .pbs-menu-list .current-menu-item>a::after,
.pbs-header .pbs-menu-list a:hover::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: #fff;
}

.pbs-header__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 30px;
}

.pbs-header__login-wrapper {	
	display: flex;
	align-items: center;
	gap: 15px;
}

.pbs-header__login {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.pbs-header__login i {
	font-size: 20px;
}

.pbs-header__login:hover {
	opacity: .92;
}

.pbs-header__sep {
	width: 1px;
	height: 28px;
	background: rgba(255, 255, 255, .6);
}

.pbs-header__cart {
	position: relative;
	color: #fff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.pbs-header__cart i {
	font-size: 22px;
}

.pbs-header__cart-count {
	position: absolute;
	top: -8px;
	right: -11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: #fff;
	color: #ce2020;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

/* No "0" bubble on an empty cart — the span stays in the DOM (hidden) so the
   WooCommerce AJAX fragment can still replace it live when an item is added. */
.pbs-header__cart-count.is-empty {
	display: none;
}

.pbs-header__contact {
	color: #fff;
	background: var(--pbs-red);
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: fit-content;
	min-width: 150px;
	padding: 0 16px;
	height: 50px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 600;
	border: 1px solid #fff;
}

.pbs-header__contact:hover {
	background: #fff;
	color: #ce2020;
}

/* Hamburger — mobile only */
.pbs-header__toggle {
	display: none;
	width: 42px;
	height: 40px;
	border: 0;
	background: none;
	cursor: pointer;
	padding: 8px;
}

.pbs-header__toggle span {
	display: block;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	margin: 5px 0;
	transition: transform .2s ease, opacity .2s ease;
}

.pbs-header__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.pbs-header__toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.pbs-header__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* The full horizontal menu (logo + 6 items + Login/cart/Contact) only fits at
   ~1280px+; below that it collapses to the hamburger to avoid wrapping/overflow. */
@media (max-width: 1279px) {
	.pbs-header__inner {
		flex-wrap: wrap;
		padding: 14px clamp(16px, 4vw, 60px);
		min-height: 0;
		gap: 16px;
	}

	.pbs-header__logo {
		margin-right: auto;
	}

	.pbs-header__toggle {
		display: block;
		order: 3;
	}

	.pbs-header__actions {
		order: 2;
		gap: 16px;
	}

	/* Collapsed header — Login shows as its icon only (no text label). */
	.pbs-header__login span {
		display: none;
	}

	.pbs-header__login i {
		font-size: 22px;
	}

	.pbs-header__contact {
		display: none;
	}

	.pbs-header__nav {
		order: 4;
		flex-basis: 100%;
		display: none;
		justify-content: flex-start;
	}

	.pbs-header__nav.is-open {
		display: flex;
	}

	.pbs-header .pbs-menu-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		width: 100%;
		padding: 8px 0 4px;
	}

	.pbs-header .pbs-menu-list a {
		padding: 9px 0;
		font-size: 17px;
	}
}

/* Phones — at ~433px the full-size logo (≈205px) + Login/cart + hamburger no
   longer fit on one row, so the logo pushed everything to a second row. Shrink
   the logo and tighten the gaps so the top bar stays on a single line. */
@media (max-width: 480px) {
	.pbs-header__inner {
		gap: 12px;
	}

	.pbs-header__logo {
		min-width: 0;
	}

	.pbs-header__logo img {
		height: 32px;
	}

	.pbs-header__actions {
		gap: 12px;
	}
}

/* Very small phones — shrink the logo a touch more. */
@media (max-width: 360px) {
	.pbs-header__logo img {
		height: 30px;
	}
}

/* ================================================================== */
/* Single product (content-single-product.php) — Figma "Product details" */
/* ================================================================== */

/* Give the product page the pink canvas + let the PBS design use the full shop
   width. The parent theme wraps single-product content in Bootstrap .container
   (capped ~1140px) + .row (negative margins); neutralise those so .pbs-single
   is the single width authority (max 1440 + the same gutter as the shop). */
body.single-product #content {
	background: #fff2f2;
	padding: 0 0 40px;
}

body.single-product #content .container,
body.single-product #content .ld-shop-topbar {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.single-product #content .row {
	margin-left: 0;
	margin-right: 0;
}

/* The parent theme's shop topbar wrapper is empty on the product page. */
body.single-product #content .ld-shop-topbar {
	background: none;
	border: 0;
}


.pbs-single {
	--pbs-red: #ce2020;
	--pbs-maroon: #611637;
	--pbs-page: #fff2f2;
	--pbs-ink: #101010;
	--pbs-gray: #666;
	--pbs-gray-2: #838383;
	--pbs-line: #e4d9db;
	--pbs-radius: 10px;
	--pbs-badge-new: #2d8d38;
	--pbs-badge-sold: #e94016;
	--pbs-badge-best: #333e7e;
	--pbs-badge-sale: #611637;

	width: 100%;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--pbs-ink);
	box-sizing: border-box;
}

.pbs-single *,
.pbs-single *::before,
.pbs-single *::after {
	box-sizing: border-box;
}

/* Breadcrumb + Prev / Next — a white bar directly under the red header (Figma).
   The band is full width; its content is capped + guttered like the shop. */
.pbs-single__barwrap {
	background: #fff;
	border-bottom: 1px solid #f0e5e7;
}

.pbs-single__bar {
	max-width: 1440px;
	margin: 0 auto;
	padding: 10px clamp(15px, 4vw, 60px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

/* Everything below the white bar shares the shop's max width + responsive gutter. */
.pbs-single__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 clamp(15px, 4vw, 60px);
}

.pbs-single-breadcrumb {
	font-size: 15px;
}

.pbs-single .pbs-breadcrumb__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.pbs-single .pbs-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	color: #0b0b0b;
}

/* The current product (last crumb) is red, matching the Figma. */
.pbs-single .pbs-breadcrumb__item:last-child {
	color: var(--pbs-red);
}

nav.pbs-single-breadcrumb.woocommerce-breadcrumb {
	margin: 0 !important;
}

.pbs-single .pbs-breadcrumb__item+.pbs-breadcrumb__item::before {
	content: "/";
	margin: 0 .55em;
	font-size: 16px !important;
	color: #000 !important;
}

.pbs-single-breadcrumb a,
.pbs-single__adjacent a {
	color: #000 !important;
	text-decoration: none;
	font-weight: 400 !important;
	font-size: 16px !important;
}

.pbs-single-breadcrumb a:hover,
.pbs-single__adjacent a:hover {
	color: var(--pbs-red) !important;
}

.pbs-single__adjacent {
	display: flex;
	gap: 22px;
}


.pbs-single__adjacent .is-disabled {
	color: #c3b7ba;
}

/* Two-column layout */
.pbs-single__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	margin: 60px 0;
}

/* The parent theme adds clearfix ::before/::after on div.product (content:"";
   display:table). Inside a grid they become phantom grid items that steal cells
   and reorder the columns (gallery → right, summary → next row). The theme's
   selector (.woocommerce div.product::before) outranks ours, so !important. */
.pbs-single__main::before,
.pbs-single__main::after {
	content: none !important;
	display: none !important;
}

/* Gallery */
.pbs-single__stage {
	background: #fff;
	border-radius: var(--pbs-radius);
	padding: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;

}

.pbs-single__stage img {
	max-width: 100%;
	max-height: 460px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	mix-blend-mode: multiply;
	filter: brightness(1.06);
}

.pbs-single__thumbs {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    overflow: hidden;
    overflow-x: scroll;
}

.pbs-single__thumb {
	min-width: 120px;
	background: #fff;
	border: 1px solid transparent;
	border-radius: var(--pbs-radius);
	padding: 16px;
	cursor: pointer;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color .18s ease;
}

.pbs-single__thumb.is-active {
	border-color: var(--pbs-red);
}

.pbs-single__thumb img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: brightness(1.06);
}

/* Summary */
.pbs-single__summary {
	padding-top: 4px;
}

.pbs-single__eyebrow {
	display: block;
	text-transform: uppercase;
	color: var(--pbs-gray);
	font-size: 12px;
	letter-spacing: .02em;
	margin-bottom: 10px;
}

.pbs-single__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 500;
	letter-spacing: -.8px;
	line-height: 1.1;
	color: #171717;
}

.pbs-single__price {
	font-size: 24px;
	color: var(--pbs-ink);
	margin-bottom: 18px;
}

.pbs-single__price .amount {
	font-weight: 500;
}

.pbs-single__desc {
	font-size: 16px;
	line-height: 1.5;
	color: #171717;
	margin: 0 0 4px;
	max-width: 570px;
}

.pbs-single__rule {
	border: 0;
	border-top: 1px solid var(--pbs-line);
	margin: 30px 0;
}

/* Stock urgency */
.pbs-single__stock-text {
	font-size: 16px;
	color: #171717;
	margin: 0 0 12px;
}

.pbs-single__bar-track {
	height: 7px;
	border-radius: 10px;
	background: rgba(102, 102, 102, .2);
	max-width: 570px;
	overflow: hidden;
}

.pbs-single__bar-fill {
	display: block;
	height: 100%;
	border-radius: 10px;
	background: var(--pbs-red);
}

/* Size + Quantity */
.pbs-single__selectors {
	display: flex;
	gap: 24px;
	margin: 24px 0 28px;
}

.pbs-field {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pbs-field__label {
	font-size: 16px;
	color: #171717;
}

.pbs-field__box {
	background: rgba(255, 255, 255, .8);
	border: 1px solid var(--pbs-gray);
	border-radius: 5px;
	height: 62px;
	min-width: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 22px;
	font-size: 16px;
	color: #171717;
}

/* Quantity stepper — override WooCommerce's default .quantity input chrome. */
.pbs-qty {
	gap: 16px;
}

.pbs-qty .quantity {
	margin: 0;
	display: inline-flex;
	align-items: center;
}

.pbs-qty .quantity label {
	display: none;
}

.pbs-qty input.qty {
	width: 40px;
	text-align: center;
	border: 0;
	background: transparent;
	font-size: 16px;
	font-family: inherit;
	color: #171717;
	padding: 0;
	-moz-appearance: textfield;
	appearance: textfield;
	border: 0 !important;
}

.pbs-qty input.qty::-webkit-outer-spin-button,
.pbs-qty input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pbs-qty__btn {
	border: 0;
	background: none;
	font-size: 20px;
	line-height: 1;
	color: #171717;
	cursor: pointer;
	padding: 0;
	width: 20px;
}

/* The parent theme upgrades the qty <input> into a jQuery-UI spinner (up/down
   triangles) wrapped in .ld-product-quantity. Strip that chrome so only our
   own − [n] + stepper shows; the input stays the value source. */
.pbs-qty .ld-product-quantity,
.pbs-qty .quantity,
.pbs-qty .ui-spinner {
	margin: 0 !important;
	padding: 0;
	border: 0;
	background: none;
	width: auto !important;
	display: inline-flex;
	align-items: center;
}

.pbs-qty .ui-spinner-button,
.pbs-qty .screen-reader-text {
	display: none !important;
}

/* Add to cart + Buy now */
.pbs-single__buttons {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.pbs-single .pbs-single__addcart,
.pbs-single .pbs-single__buynow {
	height: 66px;
	min-width: 220px;
	flex: 1 1 0;
	border-radius: 5px;
	font-weight: 700;
	font-size: 16px;
	font-family: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: all .18s ease;
}

.pbs-single .pbs-single__addcart {
	background: #fff;
	color: #000;
	border: 1px solid #000;
}

.pbs-single .pbs-single__addcart:hover {
	background: #000;
	color: #fff;
}

.pbs-single .pbs-single__buynow {
	background: var(--pbs-red);
	color: #fff;
	border: 1px solid var(--pbs-red);
}

.pbs-single .pbs-single__buynow:hover {
	background: #b01a1a;
	border-color: #b01a1a;
}

/* Share */
.pbs-single__share {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 60px;
}

.pbs-single__share-label {
	color: var(--pbs-red);
	font-weight: 600;
	font-size: 14px;
}

.pbs-single__share-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #000;
	font-size: 16px;
	text-decoration: none;
	transition: all .18s ease;
}

.pbs-single__share-link:hover {
	color: #fff;
	background: var(--pbs-red);
	border-color: var(--pbs-red);
}

/* Full-width divider + generous spacing between the product details and the
   Related Products section (matches the Figma line above the heading). */
.pbs-single__divider {
	border: 0;
	border-top: 1px solid #000;
	/* Scales the gap with the viewport: ~40px on phones up to 120px on desktop. */
	margin: clamp(40px, 10vw, 120px) 0;
}

/* Related products */
.pbs-related {
	margin: 0 0 64px;
}

.pbs-related__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.pbs-related__title {
	margin: 0;
	font-size: clamp(24px, 2.6vw, 40px);
	font-weight: 500;
	letter-spacing: -.8px;
	color: #171717;
}

.pbs-related__navs {
	display: flex;
	gap: 12px;
}

.pbs-related__nav {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--pbs-red);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: opacity .18s ease, background .18s ease;
}

.pbs-related__nav:hover {
	background: #b01a1a;
}

/* At the start / end of the track the matching arrow fades (Figma opacity 0.4). */
.pbs-related__nav:disabled {
	opacity: .4;
	cursor: default;
	background: var(--pbs-red);
}

.pbs-related__arrow {
	display: block;
	width: 40px;
	height: 40px;
}

/* Prev reuses the same arrow, flipped to point left (as in the Figma). */
.pbs-related__nav[data-pbs-rel-prev] .pbs-related__arrow {
	transform: scaleX(-1);
}

/* .pbs-shop wrapper → related cards inherit the shop archive's card styling
   (tokens, line-height, hidden add-to-cart), so they render identically. */
.pbs-related__cards {
	margin-top: 26px;
}

.pbs-related__track {
	list-style: none;
	margin: 0;
	/* Extra bottom padding so the cards' hover-reveal add-to-cart button (which
	   sits at bottom:-10px) isn't clipped by the horizontal scroller. */
	padding: 4px 4px 20px;
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.pbs-related__track::-webkit-scrollbar {
	display: none;
}

.pbs-related__track .pbs-card {
	flex: 0 0 300px;
	scroll-snap-align: start;
}

/* Responsive */
@media (max-width: 900px) {
	.pbs-single__main {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.pbs-single__stage {
		min-height: 300px;
	}

	.pbs-single__thumb {
		height: 96px;
	}

	.pbs-related__track .pbs-card {
		flex-basis: 70%;
	}
}

@media (max-width: 560px) {

	.pbs-single .pbs-single__addcart,
	.pbs-single .pbs-single__buynow {
		width: 100%;
		min-width: 0;
	}

	.pbs-field {
		flex: 1 1 100%;
	}

	.pbs-field__box {
		width: 100%;
	}

	.pbs-related__track .pbs-card {
		flex-basis: 82%;
	}
}

/* ================================================================== */
/* Cart drawer (mini cart) — slide-in panel from the right            */
/* Markup: functions.php wp_footer.  Behaviour: shop.js.              */
/* ================================================================== */
html.pbs-cart-lock,
html.pbs-cart-lock body {
	overflow: hidden;
}

.pbs-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
	font-family: "Poppins";
}

.pbs-drawer.is-open {
	visibility: visible;
}

.pbs-drawer *,
.pbs-drawer *::before,
.pbs-drawer *::after {
	box-sizing: border-box;
}

.pbs-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 16, 16, .45);
	opacity: 0;
	transition: opacity .3s ease;
}

.pbs-drawer.is-open .pbs-drawer__overlay {
	opacity: 1;
}

.pbs-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 600px;
	max-width: 92vw;
	background: #fff;
	display: flex;
	flex-direction: column;
	box-shadow: -10px 0 40px rgba(0, 0, 0, .18);
	transform: translateX(100%);
	transition: transform .34s cubic-bezier(.4, 0, .2, 1);
}

.pbs-drawer.is-open .pbs-drawer__panel {
	transform: none;
}

/* Red circular close (Figma) — floats over the top-right of the content. */
.pbs-drawer__close {
	position: absolute;
	top: 40px;
	right: 40px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--pbs-red, #ce2020);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	line-height: 1;
	padding: 0;
	transition: background .2s ease;
}

.pbs-drawer__close span {
	display: block;
	margin-top: -2px;
}

.pbs-drawer__close:hover {
	background: #b01a1a;
}

.pbs-drawer__content {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding: 40px;
	overflow: hidden;
}

.pbs-drawer__content.is-loading {
	opacity: .55;
	pointer-events: none;
}

/* ---- Mini cart body ------------------------------------------------ */
.pbs-minicart {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	color: #101010;
}

.pbs-minicart__head {
	flex: 0 0 auto;
	margin-bottom: 60px;
	padding-right: 52px;
}

.pbs-minicart__title {
	margin: 0;
	font-size: 40px;
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: -.8px;
	color: #171717;
}

.pbs-minicart__ship {
	margin-top: 16px;
}

.pbs-minicart__ship-text {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.2;
	color: #000;
}

.pbs-minicart__ship-text strong {
	font-weight: 500;
}

.pbs-minicart__ship-track {
	height: 5px;
	border-radius: 10px;
	background: #dcdcdc;
	overflow: hidden;
}

.pbs-minicart__ship-fill {
	display: block;
	height: 100%;
	border-radius: 10px;
	background: var(--pbs-red, #ce2020);
	transition: width .3s ease;
}

/* Item list — scrolls; head + footer stay put. */
.pbs-minicart__list {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pbs-minicart__item {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #d5d3cb;
}

.pbs-minicart__item:first-child {
	padding-top: 0;
}

.pbs-minicart__thumb {
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	border-radius: 7px;
	background: #f6f6f6;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pbs-minicart__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.pbs-minicart__info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pbs-minicart__name {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -.32px;
	color: #1d1d1f;
	text-decoration: none;
}

.pbs-minicart__name:hover {
	color: var(--pbs-red, #ce2020);
}

.pbs-minicart__price span {
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	color: var(--pbs-red, #ce2020) !important;
}

/* Quantity stepper pill: [trash] [count] [+] */
.pbs-minicart__stepper {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 9px 14px;
	border-radius: 100px;
	background: #f6f6f6;
}

.pbs-minicart__stepper button {
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	color: #000;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color .15s ease;
}

.pbs-minicart__dec {
	font-size: 15px;
}

.pbs-minicart__dec:hover {
	color: var(--pbs-red, #ce2020);
}

.pbs-minicart__count {
	min-width: 12px;
	text-align: center;
	font-size: 16px;
	color: #000;
}

.pbs-minicart__inc {
	font-size: 20px;
}

.pbs-minicart__inc:hover {
	color: var(--pbs-red, #ce2020);
}

/* Footer — total + note + checkout, pinned to the bottom. */
.pbs-minicart__footer {
	flex: 0 0 auto;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #d9d9d9;
}

.pbs-minicart__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 24px;
	line-height: 1.2;
}

.pbs-minicart__total>span:first-child {
	font-weight: 500;
	letter-spacing: -.48px;
	color: #000;
}

span.pbs-minicart__total-amt span.woocommerce-Price-amount.amount {
	font-weight: 400 !important;
	font-size: 24px !important;
}

.pbs-minicart__note {
	margin: 14px 0 24px;
	font-size: 14px;
	line-height: 1.5;
	color: #666;
}

.pbs-minicart__note a {
	color: #666;
	font-weight: 700;
	text-decoration: underline;
}

.pbs-minicart__checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-align: center;
	padding: 15px 32px;
	border: 1px solid #000;
	border-radius: 10px;
	background: #fff;
	color: #000;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
	height: 56px;
}

.pbs-minicart__checkout:hover {
	background: var(--pbs-red, #ce2020);
	border-color: var(--pbs-red, #ce2020);
	color: #fff;
}

/* Empty cart state (Figma) — centred title + Continue Shopping + login link. */
.pbs-minicart__empty {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 40px;
	margin: 0;
	padding: 24px 0;
	text-align: center;
}

.pbs-minicart__empty-top {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 386px;
	width: 100%;
}

.pbs-minicart__empty-title {
	margin: 0;
	font-size: 40px;
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: -.8px;
	color: #000;
}

.pbs-minicart__empty-cta {
	color: #fff;
	background: #ce2020;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	min-width: 150px;
	padding: 0 16px;
	height: 50px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	border: 1px solid #ce2020;
}

.pbs-minicart__empty-cta:hover {
	background: #fff;
	color: #ce2020;
}

.pbs-minicart__empty-login {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.pbs-minicart__empty-q {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
	color: #666;
}

.pbs-minicart__empty-loginlink {
	font-size: 14px;
	font-weight: 600;
	color: #000;
	text-decoration: underline;
}

.pbs-minicart__empty-loginlink:hover {
	color: var(--pbs-red, #ce2020);
}

@media (max-width: 600px) {
	.pbs-drawer__panel {
		width: 100%;
		max-width: 100%;
	}

	.pbs-drawer__content {
		padding: 24px 20px;
	}

	.pbs-drawer__close {
		top: 22px;
		right: 20px;
		width: 36px;
		height: 36px;
		font-size: 22px;
	}

	.pbs-minicart__head {
		margin-bottom: 40px;
		padding-right: 44px;
	}

	.pbs-minicart__title,
	.pbs-minicart__empty-title {
		font-size: 30px;
	}

	.pbs-minicart__total {
		font-size: 20px;
	}
}
