/*
 * Redesign layer: loaded after every other theme stylesheet and overrides
 * app.css / custom_app.css / woocommerce.css. Light neutral page, brand
 * teal and yellow used only as accents.
 */

:root {
	--pz-teal: #1cada2;
	--pz-teal-dark: #148a81;
	--pz-teal-soft: #e6f6f5;
	--pz-yellow: #fbce43;
	--pz-yellow-soft: #fff6dc;
	--pz-red: #e5484d;
	--pz-text: #2c2d2f;
	--pz-muted: #6b7075;
	--pz-bg: #f6f7f9;
	--pz-surface: #ffffff;
	--pz-border: #e6e8eb;
	--pz-radius: 14px;
	--pz-radius-sm: 10px;
	--pz-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
	--pz-shadow-hover: 0 8px 24px rgba(16, 24, 40, .10);
}

/* ------------------------------------------------------------------ Base */

body,
.page-content {
	background-color: var(--pz-bg);
	color: var(--pz-text);
}

.page-content {
	padding-top: 0;
	padding-bottom: 48px;
}

/* Nested .page-content (tpl-home opens its own) must not double the padding */
.page-content .page-content {
	padding-bottom: 0;
	min-height: 0;
}

@media (min-width: 1400px) {
	.container {
		max-width: 1280px;
	}
}

/* Hidden categories overlay was briefly visible while its slide-out animation ran */
.products-categories-menu:not(.active) {
	visibility: hidden;
}

/* ------------------------------------------------------------ Top bar */

.top-nav {
	padding: 6px 96px;
}

.top-nav a,
.top-nav .btn,
.top-nav a:hover,
.top-nav .btn:hover {
	border: 0;
	border-radius: 6px;
	padding: 3px 10px;
	font-size: 13px;
	color: #fff;
	transition: background-color .15s ease;
}

.top-nav a:hover,
.top-nav .btn:hover,
.top-nav a:focus-visible {
	background: rgba(255, 255, 255, .15);
	color: #fff;
}

/* Header icons (cart, wishlist): soft fade instead of a hard colour swap */
header nav .navbar-collapse .right-nav .navbar-nav .menu-item a {
	transition: opacity .15s ease;
}

header nav .navbar-collapse .right-nav .navbar-nav .menu-item a:hover {
	color: inherit;
	opacity: .7;
}

header nav .navbar-collapse .right-nav .navbar-nav .menu-item a:hover svg {
	stroke: none;
}

/* ------------------------------------------------------------ Header */

/* Header used to be absolutely positioned at a fixed offset under the top bar; let it flow */
header.large-screens,
.admin-bar header.large-screens {
	position: relative;
	top: 0;
}

.header-menu > li {
	padding-block: 20px;
}

.navbar-brand img {
	height: 44px !important;
}

/* Mobile header: in normal flow (it was absolute and covered the page top) */
header.small-screen {
	position: relative;
	padding: 10px 0;
	background: #feba52;
}

header.small-screen .mobile-menu {
	gap: 12px;
}

header.small-screen .navbar-brand {
	display: block;
	padding: 0;
	margin: 0;
}

header.small-screen .navbar-brand img {
	height: 40px !important;
	width: auto;
}

header.small-screen .search-bar {
	flex: 1;
	min-width: 0;
}

/* ------------------------------------------------------------ Headings */

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.section-head h2,
.heading h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--pz-text);
	text-shadow: none;
	text-align: left;
}

.heading {
	margin-bottom: 20px;
}

.section-head__link {
	flex-shrink: 0;
	font-size: 15px;
	color: var(--pz-teal-dark);
	white-space: nowrap;
}

.section-head__link:hover {
	color: var(--pz-teal);
}

@media (max-width: 575px) {
	.section-head h2,
	.heading h2 {
		font-size: 22px;
	}
}

/* ------------------------------------------------------------ Home */

.hero-banner-1 {
	height: auto;
	max-width: 1280px;
	margin: 24px auto 0;
	padding: 0 12px;
	background: none;
	overflow: hidden;
}

.hero-banner-1 .owl-carousel {
	border-radius: var(--pz-radius);
	overflow: hidden;
}

.hero-banner-1 .owl-carousel,
.hero-banner-1 .owl-carousel .owl-stage,
.hero-banner-1 .owl-carousel .owl-stage-outer,
.hero-banner-1 .owl-carousel .owl-stage .owl-item .item,
.hero-banner-1 .owl-carousel .owl-stage .owl-item {
	height: auto;
}

.hero-banner-1 .owl-carousel .owl-stage .owl-item img {
	height: clamp(180px, 30vw, 400px) !important;
}

.hero-banner-1 .owl-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
}

.home-section {
	padding: 40px 0 0;
}

.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: var(--pz-surface);
	border: 1px solid var(--pz-border);
	border-radius: 999px;
	font-size: 15px;
	line-height: 1.2;
	color: var(--pz-text);
	transition: border-color .15s, background-color .15s, color .15s;
}

.chip:hover {
	border-color: var(--pz-teal);
	color: var(--pz-teal-dark);
}

.chip--age {
	background: var(--pz-yellow-soft);
	border-color: transparent;
	font-weight: 700;
}

.chip--age:hover {
	background: var(--pz-yellow);
	color: var(--pz-text);
}

.chip__count {
	font-size: 12px;
	color: var(--pz-muted);
}

@media (max-width: 767px) {
	/* One swipeable line instead of a tall wrapped block */
	.chip-row {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin: 0 -12px;
		padding: 0 12px 4px;
		scrollbar-width: none;
	}

	.chip-row::-webkit-scrollbar {
		display: none;
	}

	.chip {
		flex-shrink: 0;
	}

	.home-section {
		padding-top: 28px;
	}
}

/* ------------------------------------------------------------ Product grid */

ul.products {
	padding: 0;
	margin: 0;
	list-style: none;
}

.products .row,
.product-grid {
	--bs-gutter-x: 20px;
	--bs-gutter-y: 0;
	row-gap: 20px;
}

@media (min-width: 1200px) {
	.col-xl-5th {
		flex: 0 0 auto;
		width: 20%;
	}
}

@media (max-width: 575px) {
	.products .row,
	.product-grid {
		--bs-gutter-x: 12px;
		row-gap: 12px;
	}
}

/* ------------------------------------------------------------ Product card */

.products .product-card {
	position: relative;
	height: 100%;
	margin: 0 !important;
	border: 1px solid var(--pz-border);
	border-radius: var(--pz-radius);
	background: var(--pz-surface);
	box-shadow: var(--pz-shadow);
	overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}

.products .product-card:hover {
	box-shadow: var(--pz-shadow-hover);
	transform: translateY(-2px);
}

.products .product-card .content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	height: 100%;
	padding: 0;
	background: transparent;
}

.products .product-card .img-block {
	position: relative;
	aspect-ratio: 1 / 1;
	padding: 16px;
	background: var(--pz-surface);
}

.products .product-card .img-block > a {
	display: block;
	width: 100%;
	height: 100%;
}

.products .product-card .img-block img,
.products .product-card .img-block img[src] {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Wishlist heart floats over the photo */
.card-wishlist {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
}

.card-wishlist .yith-add-to-wishlist-button-block,
.card-wishlist .yith-wcwl-add-to-wishlist {
	margin: 0;
}

.card-wishlist .yith-wcwl-add-to-wishlist-button,
.card-wishlist button,
.card-wishlist a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0 !important;
	margin: 0 !important;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92) !important;
	box-shadow: 0 1px 4px rgba(16, 24, 40, .12);
}

.card-wishlist .yith-wcwl-add-to-wishlist-button svg,
.card-wishlist .yith-wcwl-add-to-wishlist-button img,
.card-wishlist svg {
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
}

/* Hide wishlist button labels ("Add to wishlist") so only the icon shows */
.card-wishlist .yith-wcwl-add-to-wishlist-button__label,
.card-wishlist span:not([class*="icon"]) {
	display: none;
}

.card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.card-badge--sale {
	background: var(--pz-red);
	color: #fff;
}

.card-badge--muted {
	top: auto;
	bottom: 10px;
	background: #eef0f2;
	color: var(--pz-muted);
}

.products .product-card .content .name-price {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex: 1;
	gap: 8px;
	padding: 12px 14px 14px;
	border-top: 1px solid var(--pz-border);
	text-align: left;
}

.products .product-card .content .name-price .product-name a {
	padding: 0;
	min-height: calc(2 * 1.35em);
	font-size: 15px;
	line-height: 1.35;
	color: var(--pz-text);
	-webkit-line-clamp: 2;
}

.products .product-card .content .name-price .product-name a:hover {
	color: var(--pz-teal-dark);
}

.price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 40px;
	margin-top: auto;
}

.products .product-card .content .name-price .product-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-start;
	gap: 0 8px;
	margin: 0;
}

.product-price .new-price {
	font-size: 18px;
	font-weight: 700;
	color: var(--pz-text);
}

.product-price .old-price {
	font-size: 14px;
	color: var(--pz-muted);
	text-decoration: line-through;
}

.product-card.sale .product-price .new-price {
	color: var(--pz-red);
}

.card-cart,
.products .product-card .content .name-price .card-cart {
	display: inline-flex;
	padding: 0;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--pz-teal);
	color: #fff;
	transition: background-color .15s ease;
}

.card-cart i {
	position: static;
	margin: 0;
	font-size: 16px;
	line-height: 1;
}

.products .product-card .content .name-price .card-cart:hover,
.products .product-card .content .name-price .card-cart:focus-visible {
	background: var(--pz-teal-dark);
	color: #fff;
}

.card-cart.loading {
	opacity: .6;
	pointer-events: none;
}

.card-cart.added::after {
	display: none;
}

/* WooCommerce appends a "View cart" link after an AJAX add; the header counter is enough */
.product-card .added_to_cart {
	display: none !important;
}

@media (max-width: 575px) {
	.products .product-card .img-block {
		padding: 10px;
	}

	.products .product-card .content .name-price {
		padding: 10px;
	}

	.products .product-card .content .name-price .product-name a {
		font-size: 14px;
	}

	.product-price .new-price {
		font-size: 16px;
	}

	.card-cart {
		width: 36px;
		height: 36px;
	}
}

/* ------------------------------------------------------------ Shop page */

.shop-head {
	padding: 24px 0 8px;
}

.shop-head .woocommerce-breadcrumb {
	margin: 0 0 6px;
	font-size: 13px;
	color: var(--pz-muted);
}

.shop-head .woocommerce-breadcrumb a {
	color: var(--pz-muted);
}

.shop-head .woocommerce-breadcrumb a:hover {
	color: var(--pz-teal-dark);
}

.shop-head .woocommerce-breadcrumb .sep {
	margin: 0 6px;
}

.shop-head__title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: var(--pz-text);
}

.all-product {
	padding: 16px 0 0;
}

.woocommerce .woocommerce-ordering,
.woocommerce-ordering {
	float: none;
	display: flex;
	justify-content: flex-end;
	margin: 0 0 16px !important;
}

.woocommerce-ordering select.orderby {
	height: 40px;
	padding: 0 36px 0 14px;
	border: 1px solid var(--pz-border);
	border-radius: var(--pz-radius-sm);
	background-color: var(--pz-surface);
	font-size: 14px;
	color: var(--pz-text);
	cursor: pointer;
}

.woocommerce nav.woocommerce-pagination {
	margin-top: 32px;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 6px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	line-height: 40px;
	border-radius: var(--pz-radius-sm);
	background: var(--pz-surface);
	border: 1px solid var(--pz-border);
	color: var(--pz-text);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--pz-teal);
	border-color: var(--pz-teal);
	color: #fff;
}

/* Filters (Filter Everything widget) */

.shop-sidebar {
	position: sticky;
	top: 16px;
}

.shop-sidebar .wpc-filters-section {
	padding: 16px 0;
	margin: 0;
	background: transparent;
	border-radius: 0;
	border-bottom: 1px solid var(--pz-border);
}

.shop-sidebar .wpc-filters-section:first-of-type {
	padding-top: 0;
}

.shop-sidebar .wpc-filters-section .widget-title.wpc-filter-title,
.shop-sidebar .wpc-filters-section .widget-title.wpc-filter-title button {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--pz-text);
}

.shop-sidebar .wpc-filters-main-wrap li.wpc-term-item a,
.shop-sidebar .wpc-filters-main-wrap li.wpc-term-item label,
body .shop-sidebar .wpc-filters-main-wrap li.wpc-term-count-0:not(.wpc-has-not-empty-children) label a {
	font-size: 14px;
	line-height: 1.5;
	color: var(--pz-text);
}

.shop-sidebar .wpc-term-count {
	font-size: 12px;
	color: var(--pz-muted);
}

.shop-sidebar .wpc-filters-main-wrap li.wpc-term-item input[type=checkbox],
.shop-sidebar .wpc-filters-main-wrap li.wpc-term-item input[type=radio] {
	width: 18px;
	height: 18px;
	border: 1px solid #c9ced3;
	border-radius: 4px;
	background-color: #fff;
	accent-color: var(--pz-teal);
}

.shop-sidebar .wpc-posts-found,
.shop-sidebar .wpc-filters-open-button-container {
	display: none !important;
}

.shop-filter-toggle,
.shop-sidebar__head,
.shop-sidebar__backdrop {
	display: none;
}

@media (max-width: 991px) {
	.shop-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		height: 40px;
		padding: 0 16px;
		margin-bottom: 12px;
		border: 1px solid var(--pz-border);
		border-radius: var(--pz-radius-sm);
		background: var(--pz-surface);
		font-size: 14px;
		color: var(--pz-text);
	}

	/* Off-canvas drawer */
	.shop-sidebar {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 10001;
		width: min(340px, 88vw);
		padding: 0 20px 24px;
		overflow-y: auto;
		background: var(--pz-surface);
		box-shadow: var(--pz-shadow-hover);
		transform: translateX(-100%);
		transition: transform .25s ease;
	}

	.shop-sidebar.is-open {
		transform: translateX(0);
	}

	.shop-sidebar__head {
		position: sticky;
		top: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 0;
		margin-bottom: 8px;
		background: var(--pz-surface);
		border-bottom: 1px solid var(--pz-border);
		font-size: 18px;
		font-weight: 700;
	}

	.shop-sidebar__close {
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 50%;
		background: var(--pz-bg);
		font-size: 18px;
	}

	.shop-sidebar__backdrop {
		position: fixed;
		inset: 0;
		z-index: 10000;
		background: rgba(16, 24, 40, .4);
	}

	.shop-sidebar.is-open + .shop-sidebar__backdrop {
		display: block;
	}

	.woocommerce .woocommerce-ordering,
	.woocommerce-ordering {
		margin-top: -52px !important;
	}

	.woocommerce-ordering select.orderby {
		max-width: 60vw;
	}
}

/* ------------------------------------------------------------ Single product */

.single-product .content.br-30.dark-shadow {
	margin-top: 24px;
	background: var(--pz-surface) !important;
	padding: 24px;
	border-radius: var(--pz-radius);
	box-shadow: var(--pz-shadow);
	border: 1px solid var(--pz-border);
}

.single-product .summary .product_title {
	font-size: 26px;
	line-height: 1.3;
	margin-bottom: 12px;
}

.single-product .summary p.price {
	margin: 0 0 12px;
	padding: 0;
	background: none;
	font-size: 26px !important;
	font-weight: 700;
	color: var(--pz-text) !important;
}

.woocommerce div.product p.price bdi,
.woocommerce div.product p.price ins bdi,
.woocommerce div.product p.price del bdi,
.woocommerce div.product span.price ins bdi,
.woocommerce div.product span.price del bdi {
	display: inline;
	padding: 0;
	border-radius: 0;
	background: none;
}

.woocommerce div.product p.price del bdi::before {
	display: none;
}

.single-product .summary p.price del {
	font-size: 18px;
	color: var(--pz-muted);
}

.single-product .summary p.price ins {
	color: var(--pz-red);
	text-decoration: none;
}

.woocommerce div.product .summary p.stock {
	display: inline-block;
	margin: 0 0 16px;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
}

.woocommerce div.product .summary p.stock.in-stock {
	background: var(--pz-teal-soft);
	color: var(--pz-teal-dark);
}

.woocommerce div.product .summary p.stock.out-of-stock {
	background: #fdecec;
	color: var(--pz-red);
}

.woocommerce .product .product_meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--pz-border);
	font-size: 14px;
	color: var(--pz-muted);
}

.woocommerce .product .product_meta .posted_in,
.woocommerce .product .product_meta .posted_in:not(:last-child) {
	margin: 0;
	border: 0;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: var(--pz-muted) !important;
}

.woocommerce .product .product_meta a {
	color: var(--pz-teal-dark);
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-radius: var(--pz-radius-sm) var(--pz-radius-sm) 0 0;
}

/* ------------------------------------------------------------ Blog card */

.blog-card {
	height: 100%;
	border: 1px solid var(--pz-border);
	border-radius: var(--pz-radius);
	background: var(--pz-surface);
	box-shadow: var(--pz-shadow);
	overflow: hidden;
}

/* ------------------------------------------------------------ Footer */

footer.bg-light-blue {
	padding-top: 48px;
}

footer h3 {
	font-size: 20px !important;
	line-height: 1.3;
}

footer .contact-list a,
footer .contact-list li {
	font-size: 16px;
}

footer .contact-list li.mb-32 {
	margin-bottom: 16px !important;
}

footer .menu .link a {
	font-size: 15px;
	line-height: 1.9;
}

footer .footer-main.mb-64 {
	margin-bottom: 32px !important;
}

/* ------------------------------------------------------------ Page title (header-page.php) */

.page-title-banner {
	height: auto;
	padding: 24px 0 8px;
	background: none;
}

.page-title-banner .left-right-image {
	display: none;
}

.page-title-banner .content,
.page-title-banner .content .title {
	position: static;
	padding: 0;
	transform: none;
	text-align: left;
}

.page-title-banner .content .title h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--pz-text);
	text-shadow: none;
	letter-spacing: 0;
}

.page-title-banner .content .title h2 {
	text-align: left;
}

/* Boxed content panels (cart, checkout, account, product) */
.content.dark-shadow {
	border: 1px solid var(--pz-border);
	border-radius: var(--pz-radius) !important;
	box-shadow: var(--pz-shadow) !important;
}
