/* =========================================================
   PepX Scientific — Shop and product archives
========================================================= */

.shop-page {
	background: #ffffff;
}

.shop-hero {
	position: relative;
	min-height: 520px;
	background:
		radial-gradient(
			circle at 82% 32%,
			rgba(34, 92, 255, 0.14),
			transparent 30%
		),
		linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
	overflow: hidden;
}

.shop-hero__glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.shop-hero__glow--one {
	top: -130px;
	right: -80px;
	width: 520px;
	height: 520px;
	background: rgba(75, 119, 255, 0.1);
}

.shop-hero__glow--two {
	bottom: -190px;
	left: 35%;
	width: 390px;
	height: 390px;
	background: rgba(143, 173, 255, 0.12);
	filter: blur(3px);
}

.shop-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
	align-items: center;
	gap: 70px;
	min-height: 520px;
	padding-top: 70px;
	padding-bottom: 70px;
}

.shop-hero__content {
	max-width: 730px;
}

.shop-hero h1 {
	margin: 23px 0 23px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: clamp(76px, 7vw, 118px);
	font-weight: 400;
	line-height: 0.88;
	letter-spacing: 0.01em;
}

.shop-hero__content > p {
	max-width: 610px;
	margin: 0;
	color: var(--pepx-muted);
	font-size: 17px;
	line-height: 1.8;
}

.shop-hero__visual {
	position: relative;
	min-height: 390px;
}

.shop-hero__orb {
	position: absolute;
	border-radius: 50%;
}

.shop-hero__orb--large {
	top: 10px;
	right: 60px;
	width: 370px;
	height: 370px;
	background:
		radial-gradient(
			circle at 36% 30%,
			rgba(255, 255, 255, 0.95),
			rgba(220, 231, 255, 0.58) 48%,
			rgba(230, 237, 255, 0.2)
		);
	border: 1px solid rgba(34, 92, 255, 0.12);
	box-shadow:
		inset 0 0 70px rgba(255, 255, 255, 0.85),
		0 35px 80px rgba(34, 92, 255, 0.12);
}

.shop-hero__orb--small {
	top: 32px;
	left: 55px;
	width: 95px;
	height: 95px;
	background: linear-gradient(145deg, #ffffff, #cfddff);
	box-shadow: 0 20px 44px rgba(34, 92, 255, 0.16);
}

.shop-hero-vial {
	position: absolute;
	z-index: 3;
	top: 18px;
	right: 175px;
	width: 155px;
	transform: rotate(6deg);
	filter: drop-shadow(0 26px 25px rgba(38, 68, 132, 0.2));
	animation: pepxFloat 6s ease-in-out infinite;
}

.shop-hero-vial__cap {
	position: relative;
	z-index: 2;
	width: 72%;
	height: 58px;
	margin: 0 auto -6px;
	background:
		linear-gradient(
			90deg,
			#a2acba,
			#ffffff 22%,
			#8793a3 47%,
			#ffffff 70%,
			#9ca7b5
		);
	border-radius: 18px 18px 10px 10px;
	box-shadow: inset 0 -8px 10px rgba(56, 65, 82, 0.13);
}

.shop-hero-vial__body {
	position: relative;
	height: 235px;
	background:
		linear-gradient(
			90deg,
			rgba(205, 222, 247, 0.66),
			rgba(255, 255, 255, 0.92),
			rgba(191, 214, 246, 0.6)
		);
	border: 1px solid rgba(153, 180, 216, 0.5);
	border-radius: 28px 28px 35px 35px;
	overflow: hidden;
}

.shop-hero-vial__label {
	position: absolute;
	top: 70px;
	right: 7px;
	left: 7px;
	padding: 26px 7px 22px;
	background: rgba(255, 255, 255, 0.92);
	border-top: 1px solid var(--pepx-border);
	border-bottom: 1px solid var(--pepx-border);
	text-align: center;
}

.shop-hero-vial__label span {
	display: block;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 29px;
	letter-spacing: 0.04em;
}

.shop-hero-vial__label strong {
	color: var(--pepx-blue);
	font-weight: 400;
}

.shop-hero-vial__label small {
	display: block;
	margin-top: 8px;
	color: var(--pepx-muted);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.15em;
}

.shop-hero__glass-card {
	position: absolute;
	z-index: 4;
	right: 10px;
	bottom: 20px;
	width: 285px;
	padding: 25px;
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid rgba(255, 255, 255, 0.96);
	border-radius: 25px;
	box-shadow: var(--pepx-shadow-md);
	backdrop-filter: blur(24px);
}

.shop-hero__glass-card > span {
	display: block;
	margin-bottom: 10px;
	color: var(--pepx-blue);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.shop-hero__glass-card strong {
	display: block;
	margin-bottom: 10px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 31px;
	font-weight: 400;
	line-height: 1;
}

.shop-hero__glass-card small {
	display: block;
	color: var(--pepx-muted);
	font-size: 10px;
	line-height: 1.65;
}

/* Category navigation */

.shop-categories {
	position: relative;
	z-index: 10;
	margin-top: -25px;
}

.shop-categories__scroll {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 13px;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--pepx-border-light);
	border-radius: 999px;
	box-shadow: var(--pepx-shadow-md);
	overflow-x: auto;
	scrollbar-width: none;
}

.shop-categories__scroll::-webkit-scrollbar {
	display: none;
}

.shop-category-chip {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	min-height: 43px;
	padding: 0 17px;
	color: var(--pepx-text);
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
	transition:
		background var(--pepx-transition),
		color var(--pepx-transition),
		border-color var(--pepx-transition);
}

.shop-category-chip span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 21px;
	height: 21px;
	padding: 0 6px;
	background: var(--pepx-off-white);
	color: var(--pepx-muted);
	border-radius: 999px;
	font-size: 8px;
}

.shop-category-chip:hover,
.shop-category-chip.is-active {
	background: var(--pepx-blue);
	color: var(--pepx-white);
	border-color: var(--pepx-blue);
}

.shop-category-chip.is-active span,
.shop-category-chip:hover span {
	background: rgba(255, 255, 255, 0.18);
	color: var(--pepx-white);
}

/* Catalog */

.shop-catalog {
	padding: 95px 0 130px;
}

.shop-catalog .woocommerce-breadcrumb,
.shop-catalog .woocommerce-products-header,
.shop-catalog .woocommerce-notices-wrapper:empty,
.shop-catalog .woocommerce-result-count,
.shop-catalog .woocommerce-ordering {
	margin: 0;
}

.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 38px;
}

.shop-toolbar__results {
	color: var(--pepx-muted);
	font-size: 12px;
	font-weight: 600;
}

.shop-toolbar__results .woocommerce-result-count {
	float: none;
}

.shop-toolbar__controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.shop-filter-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 0 17px;
	background: var(--pepx-white);
	color: var(--pepx-navy);
	border: 1px solid var(--pepx-border);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.shop-filter-button svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.shop-ordering .woocommerce-ordering {
	float: none;
}

.shop-ordering select {
	min-width: 215px;
	min-height: 46px;
	padding: 0 43px 0 17px;
	background-color: var(--pepx-white);
	color: var(--pepx-navy);
	border: 1px solid var(--pepx-border);
	border-radius: 999px;
	outline: none;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}

.pepx-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 23px;
}

/* Product card */

.pepx-product-card {
	min-width: 0;
	background: var(--pepx-white);
	border: 1px solid var(--pepx-border-light);
	border-radius: 26px;
	box-shadow: 0 14px 40px rgba(16, 24, 40, 0.045);
	overflow: hidden;
	transition:
		transform var(--pepx-transition),
		box-shadow var(--pepx-transition),
		border-color var(--pepx-transition);
}

.pepx-product-card:hover {
	border-color: rgba(34, 92, 255, 0.18);
	box-shadow: 0 28px 70px rgba(16, 24, 40, 0.1);
	transform: translateY(-7px);
}

.pepx-product-card__image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 355px;
	padding: 31px;
	background:
		radial-gradient(
			circle at 50% 53%,
			rgba(68, 118, 255, 0.14),
			transparent 36%
		),
		linear-gradient(180deg, #fbfcff 0%, #f1f5fd 100%);
	overflow: hidden;
}

.pepx-product-card__product-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pepx-product-card:hover .pepx-product-card__product-image {
	transform: scale(1.045);
}

.pepx-product-card__notice,
.pepx-product-card__sale {
	position: absolute;
	z-index: 3;
	top: 17px;
	left: 17px;
	padding: 8px 11px;
	background: rgba(255, 255, 255, 0.86);
	color: var(--pepx-muted);
	border: 1px solid rgba(255, 255, 255, 0.95);
	border-radius: 999px;
	box-shadow: var(--pepx-shadow-sm);
	backdrop-filter: blur(13px);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.pepx-product-card__sale {
	background: var(--pepx-blue);
	color: var(--pepx-white);
	border-color: var(--pepx-blue);
}

.pepx-product-card__content {
	padding: 24px;
}

.pepx-product-card__category {
	min-height: 17px;
	margin-bottom: 9px;
	color: var(--pepx-blue);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.pepx-product-card__category a {
	color: inherit;
}

.pepx-product-card__title {
	min-height: 47px;
	margin-bottom: 10px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-body);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}

.pepx-product-card__rating {
	min-height: 18px;
	margin-bottom: 13px;
}

.pepx-product-card__rating .star-rating {
	float: none;
	margin: 0;
	color: var(--pepx-blue);
	font-size: 11px;
}

.pepx-product-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--pepx-border-light);
}

.pepx-product-card__price {
	color: var(--pepx-navy);
	font-size: 14px;
	font-weight: 800;
}

.pepx-product-card__price del {
	margin-right: 5px;
	color: var(--pepx-muted);
	font-size: 11px;
	font-weight: 600;
}

.pepx-product-card__price ins {
	text-decoration: none;
}

.pepx-product-card__view {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 50%;
	transition:
		background var(--pepx-transition),
		color var(--pepx-transition),
		transform var(--pepx-transition);
}

.pepx-product-card__view svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pepx-product-card:hover .pepx-product-card__view {
	background: var(--pepx-blue);
	color: var(--pepx-white);
	transform: translateX(3px);
}

/* Placeholder vial */

.shop-vial-placeholder {
	position: relative;
	width: 128px;
	filter: drop-shadow(0 24px 22px rgba(41, 74, 142, 0.18));
}

.shop-vial-placeholder__cap {
	position: relative;
	z-index: 2;
	width: 74%;
	height: 48px;
	margin: 0 auto -5px;
	background:
		linear-gradient(
			90deg,
			#9ea8b7,
			#f9fafb 22%,
			#8b96a6 48%,
			#ffffff 72%,
			#9ba5b3
		);
	border-radius: 14px 14px 8px 8px;
}

.shop-vial-placeholder__body {
	position: relative;
	height: 190px;
	background:
		linear-gradient(
			90deg,
			rgba(210, 226, 248, 0.65),
			rgba(255, 255, 255, 0.9),
			rgba(197, 218, 246, 0.6)
		);
	border: 1px solid rgba(161, 184, 216, 0.55);
	border-radius: 22px 22px 28px 28px;
	overflow: hidden;
}

.shop-vial-placeholder__label {
	position: absolute;
	top: 55px;
	right: 5px;
	left: 5px;
	padding: 22px 6px;
	background: rgba(255, 255, 255, 0.92);
	border-top: 1px solid var(--pepx-border);
	border-bottom: 1px solid var(--pepx-border);
	text-align: center;
}

.shop-vial-placeholder__label span {
	display: block;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 27px;
	letter-spacing: 0.04em;
}

.shop-vial-placeholder__label strong {
	color: var(--pepx-blue);
	font-weight: 400;
}

.shop-vial-placeholder__label small {
	display: block;
	margin-top: 6px;
	color: var(--pepx-muted);
	font-size: 7px;
	font-weight: 800;
	letter-spacing: 0.14em;
}

/* Pagination */

.pepx-shop-pagination {
	margin-top: 60px;
}

.pepx-shop-pagination .woocommerce-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0;
	margin: 0;
	border: 0;
}

.pepx-shop-pagination .woocommerce-pagination ul.page-numbers li {
	border: 0;
}

.pepx-shop-pagination .page-numbers a,
.pepx-shop-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 43px;
	height: 43px;
	padding: 0 13px;
	background: var(--pepx-white);
	color: var(--pepx-navy);
	border: 1px solid var(--pepx-border);
	border-radius: 50%;
	font-size: 11px;
	font-weight: 800;
}

.pepx-shop-pagination .page-numbers .current,
.pepx-shop-pagination .page-numbers a:hover {
	background: var(--pepx-blue);
	color: var(--pepx-white);
	border-color: var(--pepx-blue);
}

/* Empty catalog */

.shop-empty {
	max-width: 680px;
	padding: 80px 30px;
	margin: 20px auto 0;
	text-align: center;
}

.shop-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	margin-bottom: 25px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 22px;
}

.shop-empty__icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.shop-empty h2 {
	margin-bottom: 13px;
	font-family: var(--pepx-font-heading);
	font-size: 48px;
	font-weight: 400;
}

.shop-empty p {
	color: var(--pepx-muted);
}

/* Remove default sidebar spacing */

.shop-catalog .content-area,
.shop-catalog .site-main {
	width: 100%;
}

.shop-catalog #secondary {
	display: none;
}

/* Responsive */

@media (max-width: 1180px) {
	.shop-hero__inner {
		grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
		gap: 35px;
	}

	.pepx-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.shop-hero__inner {
		grid-template-columns: 1fr;
	}

	.shop-hero__content {
		max-width: 760px;
	}

	.shop-hero__visual {
		width: min(100%, 620px);
		margin-inline: auto;
	}

	.pepx-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.shop-hero {
		min-height: auto;
	}

	.shop-hero__inner {
		min-height: auto;
		padding-top: 65px;
		padding-bottom: 30px;
	}

	.shop-hero h1 {
		font-size: clamp(65px, 19vw, 88px);
	}

	.shop-hero__content > p {
		font-size: 15px;
	}

	.shop-hero__visual {
		left: 50%;
		width: 520px;
		min-height: 370px;
		margin-left: -260px;
		transform: scale(0.78);
		transform-origin: top center;
	}

	.shop-categories {
		margin-top: -8px;
	}

	.shop-categories__scroll {
		margin-right: -16px;
		border-radius: 20px 0 0 20px;
	}

	.shop-catalog {
		padding: 70px 0 95px;
	}

	.shop-toolbar {
		align-items: stretch;
		flex-direction: column;
		gap: 17px;
	}

	.shop-toolbar__controls {
		display: grid;
		grid-template-columns: 1fr 1.4fr;
	}

	.shop-filter-button,
	.shop-ordering select {
		width: 100%;
		min-width: 0;
	}

	.pepx-product-grid {
		grid-template-columns: 1fr;
	}

	.pepx-product-card__image {
		height: 390px;
	}
}