/* Panoramic Wholesale — shop, category and search pages.
   Looks as the Elementor "Product Archive" page it replaces (title, filter
   column, product grid, pagination). Breakpoints as Elementor's: tablet <= 1024px, mobile <= 767px. */

.pnrs {
	--pnrs-pink: #E2B0B1;
	--pnrs-grey: #F7F7F7;
	--pnrs-ink: #3D484A;
	--pnrs-title: #303B3E;
	--pnrs-text: #7A7A7A;
	--pnrs-head: Poppins, "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--pnrs-body: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-family: var(--pnrs-body);
	font-size: 15px;
	line-height: 21px;
	color: #828282;
}

.pnrs.site-main,
body.pnrs-on main.pnrs.site-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	padding-inline: 0;
}

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

/* ------------------------------------------------------------------ *
 * Title
 * ------------------------------------------------------------------ */
.pnrs-title {
	max-width: 1140px;
	margin: 0 auto;
	padding: 10px;
}

.pnrs .pnrs-title h2 {
	margin: 0;
	padding: 0;
	font-family: var(--pnrs-head);
	font-size: 28px;
	font-weight: 300;
	line-height: 1.2em;
	letter-spacing: normal;
	text-transform: none;
	text-align: center;
	color: var(--pnrs-ink);
}

/* ------------------------------------------------------------------ *
 * Filter column + product column
 * ------------------------------------------------------------------ */
.pnrs-body {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin: 0;
	padding: 10px;
}

.pnrs-side {
	flex: 0 0 20%;
	width: 20%;
	min-width: 230px;
	max-width: 320px;
	padding: 10px;
}

.pnrs-main {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	padding: 10px;
}

.pnrs-card {
	padding: 15px;
	border-radius: 12px;
	background: var(--pnrs-grey);
}

.pnrs-filter {
	padding: 0 0 25px;
}

/* JetSmartFilters inside the page: label, sorting select, radio list, price slider. */
.pnrs .jet-filter-label,
.pnrs .jet-sorting-label {
	font-family: var(--pnrs-body);
	font-size: 22px;
	font-weight: 500;
	line-height: 21px;
	color: var(--pnrs-pink);
}

.pnrs .jet-filter-label {
	padding: 0 0 10px;
}

.pnrs .jet-sorting-label {
	margin: 0 0 10px;
}

.pnrs .jet-sorting-select {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 36px;
	padding: 5px 10px;
	border: 1px solid #ccc;
	border-radius: 12px;
	background-color: #fff;
	font-family: var(--pnrs-body);
	font-size: 16px;
	line-height: 24px;
	color: #333;
}

.pnrs .jet-radio-list-wrapper {
	margin-left: -2.5px;
	margin-right: -2.5px;
}

.pnrs .jet-radio-list__row {
	display: block;
	margin-left: 2.5px;
	margin-right: 2.5px;
}

.pnrs .jet-radio-list__row:not(:last-child) {
	margin-bottom: 10px;
}

.pnrs .jet-radio-list__decorator {
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	margin-right: 5px;
}

.pnrs .jet-radio-list__checked-icon {
	font-size: 12px;
}

.pnrs .jet-checkboxes-list-wrapper {
	margin: -5px -2.5px;
}

.pnrs .jet-checkboxes-list__row {
	display: block;
	margin-right: 2.5px;
	margin-left: 2.5px;
	margin-bottom: 5px;
	padding-top: 5px;
}

.pnrs .jet-checkboxes-list__decorator {
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	margin-right: 5px;
}

.pnrs .jet-checkboxes-list__checked-icon {
	font-size: 12px;
}

.pnrs .jet-range__slider__track {
	height: 4px;
}

.pnrs .jet-range__slider__input {
	height: 16px;
}

.pnrs .jet-range__slider__input::-webkit-slider-thumb {
	width: 16px;
	height: 16px;
}

.pnrs .jet-range__values {
	text-align: center;
}

/* ------------------------------------------------------------------ *
 * Product grid (the WooCommerce loop, drawn as the old loop item)
 * ------------------------------------------------------------------ */
.pnrs ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 25px;
	margin: 0;
	padding: 0;
	float: none;
	width: auto;
	list-style: none;
}

.pnrs ul.products::before,
.pnrs ul.products::after {
	display: none;
}

.pnrs ul.products li.product,
.pnrs ul.products[class*="columns-"] li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	text-align: center;
}

.pnrs ul.products li.product > a.woocommerce-LoopProduct-link {
	display: contents;
	text-decoration: none;
}

.pnrs ul.products li.product a.woocommerce-LoopProduct-link img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0 0 16px;
	border-radius: 24px;
	object-fit: contain;
}

.pnrs ul.products li.product .onsale {
	display: none;
}

.pnrs ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	min-height: calc(2.4em);
	margin: 0 0 10px;
	padding: 0;
	overflow: hidden;
	font-family: var(--pnrs-head);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2em;
	text-transform: capitalize;
	text-overflow: ellipsis;
	text-align: center;
	color: var(--pnrs-title);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.pnrs ul.products li.product .price {
	display: block;
	margin: auto 0 5px;
	font-family: var(--pnrs-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2em;
	letter-spacing: 0;
	text-transform: uppercase;
	text-align: center;
	color: #171717;
}

.pnrs ul.products li.product .price ins {
	background: transparent;
	font-weight: 600;
	text-decoration: none;
	color: #000;
}

.pnrs ul.products li.product .price del {
	margin-right: 0;
	opacity: .6;
}

.pnrs ul.products li.product .button {
	display: block;
	align-self: center;
	width: auto;
	margin: 0;
	padding: 9.27px 15px;
	border: 0;
	border-radius: 12px;
	background: var(--pnrs-pink);
	font-family: var(--pnrs-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	transition: .2s;
}

.pnrs ul.products li.product .button:hover,
.pnrs ul.products li.product .button:focus {
	background: var(--pnrs-pink);
	color: #fff;
	opacity: .85;
}

/* Quantity field beside the button (empty, "1" as placeholder). */
.pnrs ul.products li.product .pnrs-qty-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
}

.pnrs ul.products li.product .pnrs-qty-form .quantity {
	display: block;
	margin: 0;
}

.pnrs ul.products li.product .pnrs-qty-form .quantity input.qty {
	display: inline-block;
	width: 54px;
	height: 34px;
	margin: 0;
	padding: 5px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 12px;
	background: #fff;
	font-family: var(--pnrs-body);
	font-size: 15px;
	text-align: center;
	color: #000;
	transition: .2s;
}

.pnrs ul.products li.product .added_to_cart {
	margin-top: 5px;
	font-size: 14px;
	font-weight: 500;
	color: var(--pnrs-pink);
}

/* Wishlist heart (TI WooCommerce Wishlist): over the picture, top left. */
.pnrs ul.products li.product .tinv-wraper {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	margin: 0;
}

.pnrs ul.products li.product .tinvwl_add_to_wishlist_button {
	color: var(--pnrs-pink);
}

.pnrs .woocommerce-info {
	margin: 0;
	padding: 20px 0;
	border: 0;
	background: transparent;
	text-align: center;
	color: var(--pnrs-text);
}

.pnrs .woocommerce-info::before {
	display: none;
}

.pnrs-body--plain .pnrs-main {
	flex: 1 1 100%;
	width: 100%;
}

/* Pagination. */
.pnrs .woocommerce-pagination {
	margin: 30px 0 0;
	text-align: center;
}

.pnrs .woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.pnrs .woocommerce-pagination ul.page-numbers li {
	margin: 0;
	padding: 0;
	border: 0;
	overflow: visible;
}

.pnrs .woocommerce-pagination .page-numbers a,
.pnrs .woocommerce-pagination .page-numbers span {
	display: block;
	min-width: 0;
	padding: 10px;
	border-radius: 15px;
	background: transparent;
	line-height: 1;
	text-decoration: none;
	color: var(--pnrs-text);
}

.pnrs .woocommerce-pagination .page-numbers a:hover,
.pnrs .woocommerce-pagination .page-numbers a:focus,
.pnrs .woocommerce-pagination .page-numbers span.current {
	background: var(--pnrs-pink);
	color: #000;
}

/* Newsletter section under the page. */
.pnrs-newsletter {
	margin-top: 50px;
}

/* ------------------------------------------------------------------ *
 * Phone: the filters move into a full-screen panel behind a "Filter" button
 * ------------------------------------------------------------------ */
.pnrs-fbar,
.pnrs-oc {
	display: none;
}

.pnrs .pnrs-btn {
	display: inline-block;
	margin: 0;
	padding: 8px 15px;
	border: 0;
	border-radius: 0;
	background: var(--pnrs-pink);
	font-family: var(--pnrs-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 16.8px;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	cursor: pointer;
}

.pnrs .pnrs-btn:hover,
.pnrs .pnrs-btn:focus {
	background: var(--pnrs-pink);
	color: #fff;
}

.pnrs .pnrs-btn--full {
	display: block;
	width: 100%;
}

/* Tablet: two product columns. */
@media (max-width: 1024px) {
	.pnrs ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pnrs-side {
		flex-basis: 25%;
		width: 25%;
		min-width: 190px;
	}
}

@media (min-width: 768px) {
	.pnrs-fbar,
	.pnrs-oc {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.pnrs .pnrs-title h2 {
		font-size: 25px;
		line-height: 30px;
	}

	.pnrs-side {
		display: none;
	}

	.pnrs-main {
		flex: 1 1 100%;
		width: 100%;
		padding: 0;
	}

	.pnrs-fbar {
		display: block;
		padding: 10px 20px;
	}

	.pnrs-body {
		padding: 10px;
	}

	.pnrs-oc:not([hidden]) {
		position: fixed;
		inset: 0;
		z-index: 2147483620;
		display: block;
		overflow: auto;
		background: var(--pnrs-grey);
	}

	.pnrs-oc__panel {
		position: relative;
		padding: 25px;
	}

	.pnrs .pnrs-oc__close {
		position: absolute;
		top: 8px;
		right: 8px;
		z-index: 2;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 10px;
		border: 0;
		border-radius: 0;
		background: transparent;
		line-height: 1;
		color: var(--pnrs-ink);
		cursor: pointer;
	}

	.pnrs .pnrs-oc__close:hover,
	.pnrs .pnrs-oc__close:focus {
		background: transparent;
		color: var(--pnrs-ink);
	}

	.pnrs-oc__close svg {
		display: block;
		width: 100%;
		height: 100%;
	}

	.pnrs-oc__filters {
		padding-top: 24px;
	}

	body.pnrs-locked {
		overflow: hidden;
	}
}
