/* Pep Lab London — styles for the Elementor templates ("Clinical light").
   Everything is scoped to .pl (set on each template's outer container). */

.pl,
.pl-site .site-main,
.pl-site .pl-search,
.pl-lock,
.pl-lock-page,
.pl-lock-note {
	--pl-bg: #f4f6f5;
	--pl-white: #ffffff;
	--pl-ink: #0b1c2c;
	--pl-media: #e9eeec;
	--pl-muted: #4e5f6d;
	--pl-dim: #6b7b87;
	--pl-green: #087a53;
	--pl-accent: #3ddc97;
	--pl-accent-ink: #04121f;
	--pl-cyan: #33d1e0;
	--pl-line: #e3e8e6;
	--pl-line-strong: #cfd8d5;
	--pl-sans: 'Hanken Grotesk', Helvetica, Arial, sans-serif;
	--pl-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	--pl-gutter: max(24px, calc((100vw - var(--pl-width, 1312px)) / 2));
	--pl-card-w: 340px;
	font-family: var(--pl-sans);
	color: var(--pl-ink);
	-webkit-font-smoothing: antialiased;
}

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

.pl p { margin: 0 0 1em; }
.pl p:last-child { margin-bottom: 0; }
.pl h1, .pl h2, .pl h3 { text-wrap: pretty; }
.pl .elementor-heading-title a:hover { opacity: 0.75; }
.pl .elementor-widget-image img { display: block; width: 100%; height: auto; }

/* Container sizing helpers (Elementor containers default to 100% width inside a row) */
.e-con.pl-auto { --width: auto; width: auto; max-width: 100%; flex: 0 1 auto; }
.e-con.pl-grow { --width: auto; width: auto; flex: 1 1 0; min-width: 0; }
@media (max-width: 767px) {
	.e-con.pl-auto, .e-con.pl-grow { --width: 100%; width: 100%; flex: 0 0 auto; }
}

/* Site width (Appearance > Customize > Pep Lab layout). The hero banner container keeps its own Elementor width. */
body .e-con.e-con-boxed.pl:not(.pl-hero) { --content-width: var(--pl-width, 1312px); }

/* GeneratePress: let "Elementor Full Width" pages span the viewport */
body.elementor-template-full-width #page.grid-container { max-width: none; padding: 0; }
body.elementor-template-full-width .site-content { display: block; }

/* ---------- Logo lockup ---------- */
.pl-logo { display: inline-flex; align-items: center; gap: 16px; color: var(--pl-ink); text-decoration: none; }
.pl-logo:hover { color: var(--pl-ink); }
.pl-logo__a { font-weight: 800; font-size: 22px; letter-spacing: 0.05em; white-space: nowrap; }
.pl-logo__line { width: 32px; height: 1px; background: #9aa8b3; }
.pl-logo__b { font-family: var(--pl-mono); font-size: 12px; letter-spacing: 0.45em; color: var(--pl-muted); }
.pl-logo--sm, .pl-logo--sm:hover { color: #eef3f6; }
.pl-logo--sm .pl-logo__a { font-size: 20px; }
.pl-logo--sm .pl-logo__line { width: 28px; background: #5f7488; }
.pl-logo--sm .pl-logo__b { font-size: 11px; color: #a9bac8; }

.pl-stars { color: var(--pl-green); letter-spacing: 4px; font-size: 18px; line-height: 1; }

/* ---------- WooCommerce product cards ---------- */
:is(.pl-products, .pl-site .site-main) .woocommerce { margin: 0; }
:is(.pl-products, .pl-site .site-main) ul.products {
	display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px;
	margin: 0 !important; padding: 0; list-style: none;
}
:is(.pl-products, .pl-site .site-main) ul.products::before,
:is(.pl-products, .pl-site .site-main) ul.products::after { display: none !important; }

:is(.pl .pl-products, .pl-site .site-main) ul.products li.product {
	position: relative; display: flex; flex-direction: column;
	width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important;
	background: none; border: 0; text-align: left; font-family: var(--pl-sans);
}
/* image on top, then name/size on the left and prices on the right */
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a.woocommerce-LoopProduct-link {
	display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 18px; align-items: start;
	color: var(--pl-ink); text-decoration: none;
}
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a.woocommerce-LoopProduct-link > img,
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product .wc-product-image { grid-column: 1 / -1; }
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product .wc-product-image,
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product .inside-wc-product-image { display: block; margin: 0; float: none; width: 100%; }
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a img {
	display: block; width: 100% !important; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
	margin: 0 !important; border-radius: 20px; background: var(--pl-media);
}

/* Sale badge: theme badge hidden, drawn on the card instead */
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product .onsale { display: none !important; }
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product.sale::before {
	content: 'SALE'; position: absolute; top: 16px; left: 16px; z-index: 2;
	background: var(--pl-white); color: var(--pl-green);
	font-family: var(--pl-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; line-height: 1.4;
	padding: 6px 10px; border-radius: 999px;
}

:is(.pl .pl-products, .pl-site .site-main) ul.products li.product .woocommerce-loop-product__title {
	display: flex; flex-direction: column; gap: 4px; margin: 0 !important; padding: 0 !important;
	font-family: var(--pl-sans); font-size: 18px !important; font-weight: 600; line-height: 1.3; letter-spacing: 0;
	color: var(--pl-ink);
}
.pl-size { font-family: var(--pl-mono); font-size: 12px; font-weight: 400; line-height: 1.4; color: var(--pl-muted); }

:is(.pl .pl-products, .pl-site .site-main) ul.products li.product .price {
	display: flex !important; flex-direction: column-reverse; align-items: flex-end; gap: 4px;
	margin: 0 !important; padding: 0; color: var(--pl-ink); font-size: 18px; font-weight: 700; line-height: 1.3;
}
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product .price ins { text-decoration: none; background: none; color: var(--pl-ink); font-weight: 700; }
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product .price del { color: var(--pl-dim); font-size: 13px; font-weight: 400; opacity: 1; }

:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a.button {
	display: block; margin: 18px 0 0; padding: 13px; text-align: center;
	font-family: var(--pl-sans); font-size: 15px; font-weight: 600; line-height: 1.2;
	background: var(--pl-white); color: var(--pl-ink); border: 1px solid var(--pl-line-strong); border-radius: 999px;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a.button:hover { background: var(--pl-ink); color: var(--pl-white); border-color: var(--pl-ink); }
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a.button.loading { opacity: 0.6; }
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a.button.loading::after,
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a.button.added::after { display: none; }
:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a.added_to_cart {
	display: block; margin: 10px 0 0; padding: 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--pl-green);
}

/* Carousel variant: 4:5 photo, button on the photo, bleeds to the right edge */
.pl-carousel { margin-right: calc(-1 * var(--pl-gutter)); max-width: none; width: calc(100% + var(--pl-gutter)); }
.pl-products.pl-carousel.pl-carousel ul.products {
	display: flex !important; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; padding-right: var(--pl-gutter);
}
.pl-products.pl-carousel.pl-carousel ul.products::-webkit-scrollbar { display: none; }
.pl .pl-carousel ul.products li.product { flex: 0 0 var(--pl-card-w); scroll-snap-align: start; }
.pl .pl-carousel ul.products li.product a img { aspect-ratio: 4 / 5; }
.pl .pl-carousel ul.products li.product a.button {
	position: absolute; right: 16px; top: calc(var(--pl-card-w) * 1.25 - 16px); transform: translateY(-100%);
	margin: 0; padding: 12px 20px; font-size: 14px;
	background: var(--pl-ink); color: var(--pl-white); border-color: var(--pl-ink);
}
.pl .pl-carousel ul.products li.product a.button:hover { background: var(--pl-accent); color: var(--pl-accent-ink); border-color: var(--pl-accent); }
.pl .pl-carousel ul.products li.product a.added_to_cart { text-align: left; }

.pl-car-nav { display: flex; gap: 10px; }
.pl-car-btn {
	width: 52px; height: 52px; padding: 0; border-radius: 50%; cursor: pointer;
	border: 1px solid var(--pl-line-strong); background: var(--pl-white); color: var(--pl-ink);
	font-size: 20px; line-height: 1; font-family: inherit;
}
.pl-car-btn--solid { border-color: var(--pl-ink); background: var(--pl-ink); color: var(--pl-white); }
.pl-car-btn:hover, .pl-car-btn:focus { background: var(--pl-accent); color: var(--pl-accent-ink); border-color: var(--pl-accent); }

/* Four-column grid for the shop category pages */
.pl .pl-products.pl-cols-4 ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .pl .pl-products.pl-cols-4 ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pl .pl-products.pl-cols-4 ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Catalogue grid: first 6 until the filter script takes over */
.pl .pl-grid:not(.pl-ready) ul.products li.product:nth-child(n + 7) { display: none; }
.pl .pl-grid ul.products li.product.pl-hide { display: none; }

.pl-chips {
	display: flex; gap: 8px; flex-wrap: wrap; padding: 6px;
	background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: 999px;
}
.pl-chip {
	background: transparent; color: var(--pl-muted); border: 0; border-radius: 999px;
	padding: 10px 18px; font-family: var(--pl-sans); font-size: 14px; font-weight: 500; line-height: 1.3; cursor: pointer;
}
.pl-chip:hover, .pl-chip:focus { background: var(--pl-bg); color: var(--pl-ink); }
.pl-chip.is-active, .pl-chip.is-active:hover, .pl-chip.is-active:focus { background: var(--pl-ink); color: var(--pl-white); font-weight: 600; }

/* ---------- FAQ (Elementor Accordion widget) ---------- */
.pl-faq .elementor-accordion { display: flex; flex-direction: column; gap: 12px; }
.pl-faq .elementor-accordion .elementor-accordion-item { border: 0; border-radius: 14px; background: var(--pl-bg); }
.pl-faq .elementor-accordion .elementor-tab-title {
	display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 20px;
	padding: 20px 22px; border: 0; color: var(--pl-ink); outline-offset: -2px; border-radius: 14px;
	font-family: var(--pl-sans); font-size: 17px; font-weight: 600; line-height: 1.3;
}
.pl-faq .elementor-accordion .elementor-accordion-title { color: var(--pl-ink); flex: 1; text-decoration: none; }
.pl-faq .elementor-accordion .elementor-accordion-icon { float: none; width: auto; color: var(--pl-green); font-size: 14px; }
.pl-faq .elementor-accordion .elementor-accordion-icon svg { fill: var(--pl-green); width: 1em; height: 1em; }
.pl-faq .elementor-accordion .elementor-tab-content {
	padding: 0 22px 20px; border: 0;
	color: var(--pl-muted); font-family: var(--pl-sans); font-size: 15px; line-height: 1.6;
}

/* ---------- Newsletter (Elementor Pro Form widget) ---------- */
.pl-newsletter { max-width: 100%; }
.pl-newsletter .elementor-form-fields-wrapper { flex-wrap: nowrap; gap: 10px; margin: 0; }
.pl-newsletter .elementor-field-group { padding: 0 !important; margin: 0 !important; }
.pl-newsletter .elementor-field-group:not(.elementor-field-type-submit) { flex: 1 1 auto; }
.pl-newsletter .elementor-field-type-submit { flex: 0 0 auto; width: auto; }
.pl-newsletter input.elementor-field {
	background: var(--pl-white); border: 1px solid #c5dccf; border-radius: 999px;
	padding: 16px 22px; min-height: 0; color: var(--pl-ink); font-family: var(--pl-sans); font-size: 16px;
}
.pl-newsletter input.elementor-field::placeholder { color: var(--pl-dim); opacity: 1; }
.pl-newsletter .elementor-button {
	background: var(--pl-ink); color: var(--pl-white); border: 0; border-radius: 999px;
	padding: 16px 28px; min-height: 0; font-family: var(--pl-sans); font-size: 16px; font-weight: 700;
}
.pl-newsletter .elementor-button:hover { background: var(--pl-accent); color: var(--pl-accent-ink); }

/* ---------- Header ([pl_menu] and [pl_basket] shortcodes) ---------- */
/* above page content (the animated banner uses its own layers) so the menu and search panel are never covered */
.pl-header { position: relative; z-index: 1000; }
.pl-nav__list { display: flex; gap: 40px; margin: 0; padding: 0; list-style: none; }
.pl-nav__list a { color: var(--pl-muted); font-family: var(--pl-sans); font-size: 15px; font-weight: 500; text-decoration: none; }
.pl-nav__list a:hover,
.pl-nav__list .current-menu-item > a { color: var(--pl-ink); }
.pl-nav__toggle { display: none; }
/* Dropdowns (menu items with children, e.g. Shop) */
.pl-nav__list li { position: relative; list-style: none; }
.pl-nav__list .menu-item-has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.pl-nav__list .sub-menu { list-style: none; margin: 0; padding: 8px; }
@media (min-width: 1025px) {
	.pl-nav__list .sub-menu {
		display: none; position: absolute; left: -16px; top: 100%; z-index: 40; min-width: 280px;
		background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: 16px; box-shadow: 0 18px 40px -20px rgba(11, 28, 44, 0.35);
	}
	.pl-nav__list li::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
	.pl-nav__list .sub-menu { margin-top: 14px; }
	.pl-nav__list li:hover > .sub-menu, .pl-nav__list li:focus-within > .sub-menu { display: block; }
	.pl-nav__list .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--pl-ink); white-space: nowrap; }
	.pl-nav__list .sub-menu a:hover { background: var(--pl-bg); }
}
.pl-basket, .pl-basket:hover, .pl-basket:focus {
	display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
	background: var(--pl-ink); color: var(--pl-white); border-radius: 999px; padding: 10px 18px;
	font-family: var(--pl-sans); font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none;
}
.pl-basket:hover { background: #16324a; }
.pl-basket__count { font-family: var(--pl-mono); font-size: 12px; font-weight: 400; }

@media (max-width: 1024px) {
	.pl-nav__toggle {
		display: flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 44px; height: 44px; padding: 0 11px; background: transparent; border: 0; cursor: pointer;
	}
	.pl-nav__toggle:hover, .pl-nav__toggle:focus { background: transparent; }
	.pl-nav__toggle span { display: block; height: 2px; background: var(--pl-ink); border-radius: 2px; }
	.pl-nav__list {
		display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
		padding: 8px var(--pl-gutter) 16px; background: var(--pl-white); border-bottom: 1px solid var(--pl-line);
	}
	/* anchor the dropdown to the header bar, not the menu widget */
	.pl-header .e-con, .pl-header .e-con-inner, .pl-header .elementor-element { position: static; }
	.pl-nav.is-open .pl-nav__list { display: flex; }
	.pl-nav__list a { display: block; padding: 14px 0; font-size: 17px; color: var(--pl-ink); border-top: 1px solid var(--pl-line); }
	.pl-nav__list li:first-child a { border-top: 0; }
	.pl-nav__list .sub-menu { padding: 0 0 8px 16px; }
	.pl-nav__list .sub-menu a { padding: 10px 0; font-size: 15px; color: var(--pl-muted); border-top: 0; }
	/* sub-menus closed until their arrow is tapped */
	.pl-nav--js .pl-nav__list > li { display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--pl-line); }
	.pl-nav--js .pl-nav__list > li > a { flex: 1 1 0; min-width: 0; border-top: 0; }
	.pl-nav--js .pl-nav__list .menu-item-has-children > a::after { display: none; }
	.pl-nav--js .pl-nav__list .sub-menu { display: none; flex: 0 0 100%; }
	.pl-nav--js .pl-nav__list li.is-open > .sub-menu { display: block; }
	.pl-nav__list .pl-nav__sub-toggle, .pl-nav__list .pl-nav__sub-toggle:hover, .pl-nav__list .pl-nav__sub-toggle:focus {
		display: flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px;
		padding: 0; background: transparent; border: 0; color: var(--pl-ink); cursor: pointer;
	}
	.pl-nav__sub-toggle::before { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
	li.is-open > .pl-nav__sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
	/* search at the top of the menu */
	.pl-nav__list li.pl-nav__search { display: block; border-top: 0; padding: 8px 0 14px; }
	.pl-nav__search form { display: flex; gap: 8px; margin: 0; }
	.pl-nav__search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 48px; margin: 0; background: var(--pl-bg); border: 1.5px solid var(--pl-line); border-radius: 999px; padding: 0 18px; font-family: var(--pl-sans); font-size: 16px; color: var(--pl-ink); }
	.pl-nav__search input[type="search"]:focus { outline: none; border-color: var(--pl-green); background: var(--pl-white); }
	.pl-nav__search button, .pl-nav__search button:hover, .pl-nav__search button:focus { flex: 0 0 auto; height: 48px; background: var(--pl-ink); color: var(--pl-white); border: 0; border-radius: 999px; padding: 0 20px; font-family: var(--pl-sans); font-size: 15px; font-weight: 600; cursor: pointer; }
}
@media (min-width: 1025px) {
	.pl-nav__list li.pl-nav__search, .pl-nav__list .pl-nav__sub-toggle { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.pl { --pl-card-w: 280px; }
}
@media (max-width: 767px) {
	.pl { --pl-card-w: 240px; --pl-gutter: 16px; }
	:is(.pl-products, .pl-site .site-main) ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.pl-products.pl-carousel.pl-carousel ul.products { gap: 12px; }
	:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a.woocommerce-LoopProduct-link { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
	:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a img { border-radius: 14px; }
	:is(.pl .pl-products, .pl-site .site-main) ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; }
	:is(.pl .pl-products, .pl-site .site-main) ul.products li.product .price { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 8px; font-size: 16px; }
	:is(.pl .pl-products, .pl-site .site-main) ul.products li.product a.button { margin-top: 12px; padding: 11px; font-size: 14px; }
	.pl .pl-carousel ul.products li.product a.button { padding: 9px 14px; font-size: 13px; right: 10px; top: calc(var(--pl-card-w) * 1.25 - 10px); margin: 0; }
	:is(.pl .pl-products, .pl-site .site-main) ul.products li.product.sale::before { top: 10px; left: 10px; }
	.pl-chips { border-radius: 22px; }
	.pl-chip { padding: 8px 14px; }
	.pl-newsletter .elementor-form-fields-wrapper { flex-wrap: wrap; }
	.pl-newsletter .elementor-field-type-submit, .pl-newsletter .elementor-button { width: 100%; }
	.pl-logo { gap: 10px; }
	.pl-logo__a { font-size: 18px; }
	.pl-logo__line { width: 18px; }
	.pl-logo__b { letter-spacing: 0.3em; font-size: 11px; }
}

/* =====================================================================
   Theme pages (not built with Elementor): shop, product, basket, account, text pages
   ===================================================================== */
body.pl-site { background: #f4f6f5; }
.pl-site #page.grid-container { max-width: calc(var(--pl-width, 1312px) + 48px); }
.pl-site .site-content { padding: 0; }
.pl-site .site-main { margin: 0; }
.pl-site .site-main .inside-article,
.pl-site.one-container .site-content,
.pl-site.separate-containers .inside-article { background: transparent; }
.pl-site .site-main .inside-article { padding: 40px 24px 96px; }
/* the theme's white page box is not used: the page background shows through and cards carry the white */
.pl-site #page.site, .pl-site #page.site .site-content { background: transparent; }
.pl-site .site-main :is(h1, h2, h3, h4) { font-family: var(--pl-sans); color: var(--pl-ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.pl-site .site-main a { color: var(--pl-green); }
.pl-site .site-main a:hover { color: var(--pl-ink); }

.pl-site .woocommerce-breadcrumb { margin: 0 0 28px; font-family: var(--pl-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pl-dim); }
.pl-site .woocommerce-breadcrumb a { color: var(--pl-muted); text-decoration: none; }

/* Buttons and fields */
.pl-site .site-main :is(a.button, button.button, input.button, button[type="submit"], .wc-block-components-button, .wp-element-button, .checkout-button) {
	background: var(--pl-ink); color: var(--pl-white); border: 1px solid var(--pl-ink); border-radius: 999px;
	padding: 14px 26px; font-family: var(--pl-sans); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.pl-site .site-main :is(a.button, button.button, input.button, button[type="submit"], .wc-block-components-button, .wp-element-button, .checkout-button):hover {
	background: var(--pl-accent); border-color: var(--pl-accent); color: var(--pl-accent-ink);
}
.pl-site .site-main :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea, select) {
	background: var(--pl-white); border: 1px solid var(--pl-line-strong); border-radius: 12px; padding: 12px 14px;
	font-family: var(--pl-sans); font-size: 15px; color: var(--pl-ink);
}

/* ---------- Shop, category and search results ---------- */
.pl-site .woocommerce-products-header__title { margin: 0 0 28px; font-size: 56px; letter-spacing: -0.03em; line-height: 1.05; }
.pl-site .woocommerce-result-count { margin: 0 0 28px; padding: 12px 0; font-size: 14px; color: var(--pl-muted); }
.pl-site .woocommerce-ordering { margin: 0 0 28px; }
.pl-site .site-main .woocommerce-ordering select { border-radius: 999px; padding: 11px 18px; font-size: 14px; }
.pl-site .site-main ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; clear: both; }
.pl-site .site-main ul.products li.product a.button { background: var(--pl-white); color: var(--pl-ink); border-color: var(--pl-line-strong); }
.pl-site .site-main ul.products li.product a.button:hover { background: var(--pl-ink); color: var(--pl-white); border-color: var(--pl-ink); }
.pl-site .woocommerce-pagination ul.page-numbers { border: 0; display: flex; justify-content: center; gap: 8px; margin: 48px 0 0; }
.pl-site .woocommerce-pagination ul.page-numbers li { border: 0; }
.pl-site .woocommerce-pagination .page-numbers :is(a, span) { min-width: 44px; padding: 12px; border-radius: 999px; color: var(--pl-ink); background: var(--pl-white); border: 1px solid var(--pl-line); }
.pl-site .woocommerce-pagination .page-numbers span.current { background: var(--pl-ink); color: var(--pl-white); border-color: var(--pl-ink); }

/* ---------- Single product ---------- */
.pl-site.single-product div.product { position: relative; }
.pl-site.single-product div.product > .onsale {
	position: absolute; top: 16px; left: 16px; z-index: 3; min-height: 0; min-width: 0; margin: 0;
	background: var(--pl-white); color: var(--pl-green); border-radius: 999px; padding: 6px 12px;
	font-family: var(--pl-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase;
}
.pl-site.single-product .woocommerce-product-gallery img { border-radius: 24px; background: var(--pl-media); }
.pl-site.single-product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.pl-site.single-product .woocommerce-product-gallery .flex-control-thumbs li { width: 84px; margin: 0; }
.pl-site.single-product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 12px; }
.pl-site.single-product .summary .product_title { margin: 0 0 16px; font-size: 44px; letter-spacing: -0.025em; line-height: 1.08; }
.pl-site.single-product .summary p.price { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 12px; margin: 0 0 24px; font-family: var(--pl-sans); font-size: 30px; font-weight: 700; color: var(--pl-ink); }
.pl-site.single-product .summary p.price ins { text-decoration: none; color: var(--pl-ink); }
.pl-site.single-product .summary p.price del { font-size: 18px; font-weight: 400; color: var(--pl-dim); opacity: 1; }
.pl-site.single-product .woocommerce-product-details__short-description { font-size: 17px; line-height: 1.6; color: var(--pl-muted); font-weight: 400; }
.pl-site.single-product .summary .stock { font-family: var(--pl-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pl-green); }
.pl-site.single-product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 24px 0; padding: 0; border: 0; }
.pl-site.single-product form.cart .quantity { display: flex; align-items: center; margin: 0; background: var(--pl-white); border: 1px solid var(--pl-line-strong); border-radius: 999px; overflow: hidden; }
.pl-site.single-product form.cart .quantity :is(.minus, .plus) { display: flex; align-items: center; justify-content: center; width: 44px; height: 54px; border: 0; background: none; color: var(--pl-ink); font-size: 18px; text-decoration: none; }
.pl-site.single-product form.cart .quantity input.qty { width: 48px; height: 54px; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; font-size: 16px; font-weight: 600; -moz-appearance: textfield; }
.pl-site.single-product form.cart button.single_add_to_cart_button {
	flex: 1 1 220px; min-height: 56px; background: var(--pl-accent); border-color: var(--pl-accent); color: var(--pl-accent-ink); font-size: 17px; font-weight: 700;
}
.pl-site.single-product form.cart button.single_add_to_cart_button:hover { background: var(--pl-cyan); border-color: var(--pl-cyan); }
.pl-site.single-product .product_meta { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--pl-line); font-family: var(--pl-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--pl-muted); }
.pl-site.single-product .woocommerce-tabs { padding-top: 56px; }
.pl-site.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; margin: 0 0 32px; padding: 6px; border: 0; border-radius: 999px; background: var(--pl-white); width: max-content; max-width: 100%; }
.pl-site.single-product .woocommerce-tabs ul.tabs::before, .pl-site.single-product .woocommerce-tabs ul.tabs li::before, .pl-site.single-product .woocommerce-tabs ul.tabs li::after { display: none; }
.pl-site.single-product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 999px; background: none; }
.pl-site.single-product .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 20px; border-radius: 999px; color: var(--pl-muted); font-family: var(--pl-sans); font-size: 14px; font-weight: 500; }
.pl-site.single-product .woocommerce-tabs ul.tabs li.active a { background: var(--pl-ink); color: var(--pl-white); font-weight: 600; }
.pl-site.single-product .woocommerce-Tabs-panel { max-width: none; border: 0; border-radius: 24px; background: var(--pl-white); font-size: 17px; line-height: 1.7; color: #33424f; }
.pl-site.single-product .woocommerce-Tabs-panel > h2:first-child { margin-top: 0; font-size: 28px; }
.pl-site.single-product :is(.related, .upsells) { padding-top: 80px; clear: both; }
.pl-site.single-product :is(.related, .upsells) > h2 { margin: 0 0 32px; font-size: 40px; letter-spacing: -0.03em; }

/* ---------- Text pages (privacy, terms, shipping, payment) ---------- */
.pl-site.page:not(.woocommerce-page):not(.elementor-page) .site-main .inside-article {
	max-width: 880px; margin: 48px auto 96px; padding: 56px; border: 1px solid var(--pl-line); border-radius: 24px; background: var(--pl-white);
	font-family: var(--pl-sans); font-size: 17px; line-height: 1.7; color: #33424f;
}
.pl-site.page:not(.elementor-page) .site-main .entry-content :is(h1, .entry-title) { font-size: 44px; margin: 0 0 24px; }
.pl-site.page:not(.elementor-page) .site-main .entry-content h2 { font-size: 28px; margin: 40px 0 14px; }
.pl-site.page:not(.elementor-page) .site-main .entry-content h3 { font-size: 21px; margin: 28px 0 10px; }
.pl-site.page:not(.elementor-page) .site-main .entry-header .entry-title { font-size: 44px; margin: 0 0 24px; }

/* ---------- Basket, checkout, account ---------- */
.pl-site.woocommerce-page.page .site-main .inside-article { font-family: var(--pl-sans); font-size: 16px; color: var(--pl-ink); }
.pl-site.woocommerce-page.page .site-main .entry-title { font-size: 48px; margin: 0 0 32px; }
.pl-site .site-main :is(table.shop_table, .woocommerce-MyAccount-content, .woocommerce-MyAccount-navigation, form.woocommerce-form, .cart_totals, .wc-block-components-sidebar, .wc-block-cart__main, .wc-block-checkout__main, #customer_details, #order_review) {
	background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: 20px;
}
.pl-site .site-main :is(.woocommerce-MyAccount-content, .woocommerce-MyAccount-navigation, form.woocommerce-form, .cart_totals, .wc-block-components-sidebar, .wc-block-cart__main, .wc-block-checkout__main, #customer_details, #order_review) { padding: 28px; }
.pl-site .site-main table.shop_table { border-collapse: separate; border-spacing: 0; overflow: hidden; }
.pl-site .site-main table.shop_table :is(th, td) { border-color: var(--pl-line); padding: 16px 20px; }
.pl-site .site-main table.shop_table img { border-radius: 10px; }
.pl-site .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pl-site .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--pl-ink); text-decoration: none; font-weight: 500; }
.pl-site .woocommerce-MyAccount-navigation li.is-active a, .pl-site .woocommerce-MyAccount-navigation li a:hover { background: var(--pl-bg); }
.pl-site .site-main :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) { border: 1px solid var(--pl-line); border-left: 4px solid var(--pl-accent); border-radius: 14px; background: var(--pl-white); color: var(--pl-ink); }
.pl-site .site-main .woocommerce-error { border-left-color: #c0392b; }

/* ---------- Header search panel (dark, so it stands out from the white header) ---------- */
.pl-search { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; padding: 22px var(--pl-gutter); background: var(--pl-ink); border-top: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 24px 40px -18px rgba(4, 18, 31, 0.55); }
.pl-search.is-open { display: block; }
.pl-search form { display: flex; gap: 10px; max-width: 820px; margin: 0 auto; }
.pl-search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 56px; background: var(--pl-white); border: 2px solid transparent; border-radius: 999px; padding: 0 24px; font-family: var(--pl-sans); font-size: 17px; color: var(--pl-ink); }
.pl-search input[type="search"]::placeholder { color: var(--pl-dim); opacity: 1; }
.pl-search input[type="search"]:focus { outline: none; border-color: var(--pl-accent); box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.25); }
.pl-search button { flex: 0 0 auto; height: 56px; background: var(--pl-accent); color: var(--pl-accent-ink); border: 0; border-radius: 999px; padding: 0 30px; font-family: var(--pl-sans); font-size: 16px; font-weight: 700; cursor: pointer; }
.pl-search button:hover, .pl-search button:focus { background: var(--pl-cyan); color: var(--pl-accent-ink); }
.pl-search button.pl-search__close { background: transparent; color: #a9bac8; padding: 0 12px; font-weight: 500; }
.pl-search button.pl-search__close:hover, .pl-search button.pl-search__close:focus { background: transparent; color: var(--pl-white); }

@media (max-width: 1024px) {
	.pl-site .site-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.pl-site .woocommerce-products-header__title { font-size: 42px; }
	.pl-site.single-product .summary .product_title { font-size: 36px; }
}
@media (max-width: 767px) {
	.pl-site .site-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.pl-site .woocommerce-products-header__title { font-size: 32px; }
	.pl-site.single-product .summary .product_title { font-size: 30px; }
	.pl-site.single-product .summary p.price { font-size: 26px; }
	.pl-site.single-product :is(.related, .upsells) > h2 { font-size: 28px; }
	.pl-site.page:not(.woocommerce-page):not(.elementor-page) .site-main .inside-article { margin: 24px auto 56px; padding: 28px 22px; }
	.pl-site.page:not(.elementor-page) .site-main .entry-content :is(h1, .entry-title), .pl-site.page:not(.elementor-page) .site-main .entry-header .entry-title { font-size: 32px; }
	.pl-site .site-main :is(.woocommerce-MyAccount-content, .woocommerce-MyAccount-navigation, form.woocommerce-form, .cart_totals, #customer_details, #order_review) { padding: 20px; }
	.pl-search form { flex-wrap: wrap; }
	.pl-search input[type="search"] { flex-basis: 100%; }
}

/* Very narrow phones: keep the logo clear of the menu button */
@media (max-width: 420px) {
	.pl-header .pl-logo__line, .pl-header .pl-logo__b { display: none; }
}

/* ---------- Optional info bar (Appearance > Customize > Pep Lab info bar) ---------- */
.pl-bar {
	position: relative; z-index: 1001; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 22px;
	padding: 10px 20px; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 500;
	letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; text-align: center;
}
.pl-bar--accent { background: #3ddc97; color: #04121f; }
.pl-bar--navy { background: #0b1c2c; color: #eef3f6; }
.pl-bar--light { background: #ffffff; color: #0b1c2c; border-bottom: 1px solid #e3e8e6; }
.pl-bar__item { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.pl-bar__item svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pl-bar__sep { width: 1px; height: 14px; background: currentColor; opacity: 0.35; }
.pl-bar--navy .pl-bar__item svg { stroke: #3ddc97; }
.pl-bar--light .pl-bar__item svg { stroke: #087a53; }
@media (max-width: 767px) {
	.pl-bar { gap: 4px 14px; padding: 8px 12px; font-size: 10.5px; letter-spacing: 0.08em; }
	.pl-bar__sep { display: none; }
	.pl-bar__item svg { width: 14px; height: 14px; }
}

/* ---------- Sticky header (Appearance > Customize > Pep Lab header) ---------- */
.pl-sticky { position: sticky; top: 0; z-index: 1000; }
body.admin-bar .pl-sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar .pl-sticky { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .pl-sticky { top: 0; } }
.e-con.pl-header { transition: background-color 0.25s ease, box-shadow 0.25s ease; }
/* The header background always spans the full window width, even if the header sits in a narrower wrapper.
   --pl-hdr-l / --pl-hdr-r (the gaps to the window edges) are measured by peplab.js. */
.e-con.pl-header::before {
	/* Elementor gives container ::before its own size (for overlays), so every dimension is set explicitly here */
	content: '' !important; display: block !important; position: absolute; z-index: -1;
	top: 0 !important; height: 100% !important; transform: none !important; opacity: 1 !important; border-radius: 0 !important;
	left: calc(-1 * var(--pl-hdr-l, 0px)) !important; right: auto !important;
	width: calc(100% + var(--pl-hdr-l, 0px) + var(--pl-hdr-r, 0px)) !important;
	background: inherit; border-bottom: inherit; transition: box-shadow 0.25s ease; pointer-events: none;
}
.e-con.pl-header.is-scrolled::before { box-shadow: 0 14px 30px -20px rgba(11, 28, 44, 0.45); }
.pl-header .pl-logo, .pl-header .pl-nav__list > li > a, .pl-header .elementor-heading-title a { transition: color 0.25s ease; }
.pl-header .pl-basket { transition: background-color 0.25s ease, color 0.25s ease; }

/* ---------- Image logo (Appearance > Customize > Pep Lab logo) ---------- */
.pl-logo .pl-logo__img { display: block; }
.pl-header .pl-logo__img--light { display: none; }
.pl-logo-swap .pl-header.is-scrolled .pl-logo__img--dark { display: none; }
.pl-logo-swap .pl-header.is-scrolled .pl-logo__img--light { display: block; }

/* ---------- Long-form text inside Elementor pages (cookie information etc.) ---------- */
.e-con.pl-narrow { --width: 100%; width: 100%; max-width: 880px; margin-left: auto; margin-right: auto; }
.pl .pl-prose :is(h2, h3) { font-family: var(--pl-sans); color: var(--pl-ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.pl .pl-prose h2 { font-size: 28px; margin: 40px 0 12px; }
.pl .pl-prose h3 { font-size: 20px; margin: 28px 0 8px; }
.pl .pl-prose > :first-child, .pl .pl-prose .elementor-widget-container > :first-child { margin-top: 0; }
.pl .pl-prose p { margin: 0 0 16px; }
.pl .pl-prose ul, .pl .pl-prose ol { margin: 0 0 16px 22px; padding: 0; }
.pl .pl-prose li { margin: 0 0 8px; }
.pl .pl-prose a { color: var(--pl-green); text-decoration: underline; text-underline-offset: 3px; }
.pl .pl-prose a:hover { color: var(--pl-ink); }
@media (max-width: 767px) {
	.pl .pl-prose h2 { font-size: 23px; margin-top: 30px; }
	.pl .pl-prose h3 { font-size: 18px; }
}

/* ---------- Blog (posts page, archives and single posts from the theme) ---------- */
.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .site-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 56px 0 96px; }
.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .site-main > :not(article) { grid-column: 1 / -1; }
.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .site-main > article { margin: 0; }
.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .site-main > article .inside-article { height: 100%; padding: 28px; border: 1px solid var(--pl-line); border-radius: 24px; background: var(--pl-white); font-family: var(--pl-sans); color: var(--pl-muted); font-size: 16px; line-height: 1.6; }
.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .site-main .post-image img, .pl-site.single-post .site-main .featured-image img { border-radius: 16px; }
.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .site-main .entry-title { font-size: 24px; margin: 0 0 10px; }
.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .site-main .entry-title a { color: var(--pl-ink); text-decoration: none; }
.pl-site .site-main .entry-meta { font-family: var(--pl-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pl-dim); }
.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .page-header { padding: 0; background: none; }
.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .page-header .page-title { font-size: 56px; letter-spacing: -0.03em; margin: 0 0 12px; }
.pl-site.single-post .site-main .inside-article { max-width: 820px; margin: 48px auto 96px; padding: 56px; border: 1px solid var(--pl-line); border-radius: 24px; background: var(--pl-white); font-family: var(--pl-sans); font-size: 18px; line-height: 1.75; color: #33424f; }
.pl-site.single-post .site-main .entry-title { font-size: 44px; margin: 0 0 12px; }
.pl-site.single-post .site-main .entry-content h2 { font-size: 30px; margin: 44px 0 14px; }
.pl-site.single-post .site-main .entry-content h3 { font-size: 22px; margin: 30px 0 10px; }
@media (max-width: 1024px) { .pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .site-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .site-main { grid-template-columns: minmax(0, 1fr); padding: 32px 0 56px; }
	.pl-site:is(.blog, .archive, .search):not(.woocommerce-page) .page-header .page-title { font-size: 34px; }
	.pl-site.single-post .site-main .inside-article { margin: 24px auto 56px; padding: 28px 22px; font-size: 17px; }
	.pl-site.single-post .site-main .entry-title { font-size: 32px; }
}

/* ---------- Account page: login / register ---------- */
.pl-site.woocommerce-account .site-main .inside-article { max-width: calc(var(--pl-width, 1312px) + 48px); margin: 0 auto; }
.pl-site.woocommerce-account .site-main .pl-page-title, .pl-site.woocommerce-account .site-main .entry-title { font-size: 48px; letter-spacing: -0.03em; margin: 16px 0 32px; }
.pl-site #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; max-width: 1120px; margin: 0 auto; }
.pl-site.woocommerce-account:not(.logged-in) .site-main :is(.pl-page-title, .entry-title) { max-width: 1120px; margin-left: auto !important; margin-right: auto !important; }
.pl-site #customer_login::before, .pl-site #customer_login::after { display: none; }
.pl-site #customer_login > div { width: auto !important; float: none !important; margin: 0; padding: 40px; background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: 24px; }
.pl-site #customer_login h2 { margin: 0 0 24px; font-size: 30px; letter-spacing: -0.02em; }
.pl-site #customer_login form.woocommerce-form { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.pl-site .site-main form .form-row { padding: 0; margin: 0 0 18px; }
.pl-site .site-main form .form-row label { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--pl-ink); }
.pl-site .site-main form .form-row :is(input.input-text, textarea, select), .pl-site .site-main form .password-input { width: 100%; }
.pl-site .site-main form .form-row input.input-text { height: 52px; }
.pl-site .site-main form .form-row .required { color: #c0392b; text-decoration: none; }
.pl-site #customer_login .g-recaptcha, .pl-site .site-main form .g-recaptcha { margin: 4px 0 18px; max-width: 100%; }
.pl-site #customer_login form > p:not(.form-row), .pl-site #customer_login .woocommerce-privacy-policy-text { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--pl-muted); }
.pl-site #customer_login .woocommerce-privacy-policy-text p { margin: 0; }
/* button + "Remember me" on one line */
.pl-site #customer_login form.login p.form-row:not(.form-row-wide) { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-bottom: 14px; }
.pl-site #customer_login .woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 500 !important; color: var(--pl-muted) !important; }
.pl-site #customer_login .woocommerce-form__label-for-checkbox input { margin: 0; width: 16px; height: 16px; accent-color: var(--pl-ink); }
.pl-site #customer_login .lost_password { margin: 0; font-size: 15px; }
.pl-site #customer_login .lost_password a, .pl-site #customer_login .woocommerce-privacy-policy-text a { color: var(--pl-green); font-weight: 600; }
.pl-site .site-main form.woocommerce-ResetPassword { max-width: 560px; margin: 0 auto; }

/* ---------- Account page: signed in ---------- */
.pl-site.woocommerce-account.logged-in .site-main .woocommerce { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.pl-site.woocommerce-account.logged-in .site-main .woocommerce::before, .pl-site.woocommerce-account.logged-in .site-main .woocommerce::after { display: none; }
.pl-site.woocommerce-account.logged-in .site-main .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.pl-site.woocommerce-account .woocommerce-MyAccount-navigation, .pl-site.woocommerce-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; margin: 0; }
.pl-site.woocommerce-account .woocommerce-MyAccount-navigation { padding: 14px; }
.pl-site.woocommerce-account .woocommerce-MyAccount-content { padding: 36px; font-size: 16px; line-height: 1.65; color: #33424f; }
.pl-site.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.pl-site.woocommerce-account .woocommerce-MyAccount-content :is(h2, h3) { font-size: 24px; margin: 0 0 16px; }
.pl-site.woocommerce-account .woocommerce-MyAccount-content fieldset { margin: 24px 0; padding: 20px; border: 1px solid var(--pl-line); border-radius: 16px; }
.pl-site.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pl-site.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::before, .pl-site.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::after { display: none; }
.pl-site.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address { width: auto !important; float: none !important; }

@media (max-width: 900px) {
	.pl-site #customer_login { grid-template-columns: minmax(0, 1fr); }
	.pl-site.woocommerce-account.logged-in .site-main .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.pl-site.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 767px) {
	.pl-site .site-main .inside-article { padding: 24px 16px 56px; }
	.pl-site #customer_login > div { padding: 24px 20px; border-radius: 20px; }
	.pl-site.woocommerce-account .site-main .pl-page-title, .pl-site.woocommerce-account .site-main .entry-title { font-size: 34px; margin: 8px 0 20px; }
	.pl-site.woocommerce-account .woocommerce-MyAccount-content { padding: 24px 20px; }
	.pl-site.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
	.pl-site #customer_login .g-recaptcha { transform: scale(0.92); transform-origin: left top; }
}

/* ---------- "Pep Lab Products" widget ---------- */
.pl-car-nav--inline { justify-content: flex-end; margin: 0 0 20px; }
.elementor-widget-peplab_products .pl-carousel { margin-right: 0; width: 100%; }
.elementor-widget-peplab_products .pl-products.pl-carousel.pl-carousel ul.products { padding-right: 0; }

/* =====================================================================
   Tablet and phone pass
   ===================================================================== */
/* Widgets that size themselves from their own width need a definite width inside wrapping containers */
.elementor-element.elementor-widget-peplab_banner,
.elementor-element.elementor-widget-peplab_calculator,
.elementor-element.elementor-widget-peplab_products { width: 100%; max-width: 100%; }

/* Logo image scales down instead of pushing into the menu button */
.pl-logo { min-width: 0; max-width: 100%; }
.pl-logo .pl-logo__img { height: auto; width: auto; max-height: var(--pl-logo-h, 30px); max-width: 100%; object-fit: contain; object-position: left center; }

/* Row of five cards (shop call-to-action + four trust cards): the first card spans the row */
@media (max-width: 1024px) {
	.pl .e-grid:has(> .e-con:nth-child(5):last-child) > .e-con:first-child { grid-column: 1 / -1; }
	.pl-header .pl-logo { display: flex; width: 100%; }
	.e-con.pl-header .e-grid { column-gap: 16px; }
	.pl-footer .e-grid:has(> .e-con:nth-child(5):last-child) > .e-con:first-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
	/* header */
	.e-con.pl-header { --padding-top: 14px; --padding-bottom: 14px; }
	.e-con.pl-header .e-grid { grid-template-columns: minmax(0, 1fr) auto auto !important; gap: 0 10px; }
	.pl-header .pl-logo .pl-logo__img { max-height: min(var(--pl-logo-h, 30px), 26px); }
	.pl-header .pl-basket { padding: 9px 14px; font-size: 14px; gap: 8px; }

	/* info bar: one line, messages take turns */
	.pl-bar { display: grid; padding: 9px 12px; }
	.pl-bar__sep { display: none; }
	.pl-bar__item { grid-area: 1 / 1; justify-content: center; opacity: 0; animation: pl-bar-turn 9s infinite; }
	.pl-bar__item:nth-child(3) { animation-delay: 3s; }
	.pl-bar__item:nth-child(5) { animation-delay: 6s; }
	.pl-bar:not(:has(.pl-bar__item ~ .pl-bar__item ~ .pl-bar__item)) .pl-bar__item { animation-name: pl-bar-turn-2; animation-duration: 6s; }
	.pl-bar:not(:has(.pl-bar__item ~ .pl-bar__item)) .pl-bar__item { opacity: 1; animation: none; }

	/* five-card row: 2 x 2 compact cards under the full-width first card */
	.pl .e-grid:has(> .e-con:nth-child(5):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
	.pl .e-grid:has(> .e-con:nth-child(5):last-child) > .e-con { --padding-top: 18px; --padding-bottom: 18px; --padding-left: 16px; --padding-right: 16px; --row-gap: 14px; --gap: 14px 14px; }
	.pl .e-grid:has(> .e-con:nth-child(5):last-child) > .e-con:first-child { --padding-top: 22px; --padding-bottom: 22px; --padding-left: 20px; --padding-right: 20px; }
	.pl .e-grid:has(> .e-con:nth-child(5):last-child) > .e-con:not(:first-child) .elementor-heading-title { font-size: 16px; }

	/* footer: link columns side by side, brand and notice full width */
	.pl-footer .e-grid:has(> .e-con:nth-child(5):last-child) { gap: 32px 16px; }
	.pl-footer .e-grid:has(> .e-con:nth-child(5):last-child) > .e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }
	.pl-footer .e-grid:has(> .e-con:nth-child(5):last-child) > .e-con:last-child { grid-column: 1 / -1; }
	.pl-footer .e-grid:has(> .e-con:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 32px 16px; }
	.pl-footer .e-grid:has(> .e-con:nth-child(4):last-child) > .e-con:first-child { grid-column: 1 / -1; }
	.pl-footer-trust .e-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px 16px; }

	/* product page: tabs stay on one row and the active tab is readable */
	.pl-site.single-product .woocommerce-tabs { padding-top: 36px; }
	.pl-site.single-product .woocommerce-tabs ul.tabs { flex-direction: row !important; flex-wrap: wrap; width: auto; max-width: 100%; border-radius: 22px; }
	.pl-site.single-product .woocommerce-tabs ul.tabs li { display: block; width: auto; float: none; }
	.pl-site.single-product form.cart .quantity { flex: 0 0 auto; }
	.pl-site.single-product form.cart button.single_add_to_cart_button { flex: 1 1 160px; }
	.pl-site.single-product .product_meta { overflow-wrap: anywhere; }
	.pl-site .woocommerce-breadcrumb { margin-bottom: 18px; font-size: 11px; line-height: 1.7; }

	/* shop toolbar: count on the left, sorting on the right */
	.pl-site .site-main .woocommerce-result-count { float: left; margin: 0 0 18px; }
	.pl-site .site-main .woocommerce-ordering { float: right; margin: 0 0 18px; max-width: 58%; }
	.pl-site .site-main .woocommerce-ordering select { width: 100%; padding: 9px 14px; font-size: 13px; }
}
.pl-site.single-product .woocommerce-tabs ul.tabs li a { color: var(--pl-muted) !important; }
.pl-site.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--pl-white) !important; }

@keyframes pl-bar-turn { 0% { opacity: 0; } 4%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes pl-bar-turn-2 { 0% { opacity: 0; } 6%, 45% { opacity: 1; } 51%, 100% { opacity: 0; } }
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
	.pl-bar__item { animation: none !important; opacity: 0; }
	.pl-bar__item:first-child { opacity: 1; }
}

/* ---------- Products widget heading (title on the left, carousel arrows on the right) ---------- */
.pl-products-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 40px; }
.pl-site .pl-products-head .pl-products-title { margin: 0; font-family: var(--pl-sans); font-size: 56px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--pl-ink); }
.pl-products-head .pl-car-nav { flex: 0 0 auto; }
@media (max-width: 1024px) {
	.pl-site .pl-products-head .pl-products-title { font-size: 42px; }
}
@media (max-width: 767px) {
	.pl-products-head { margin-bottom: 28px; }
	.pl-site .pl-products-head .pl-products-title { font-size: 32px; }
}

/* ---------- Search: closest matches under "No products were found" ---------- */
.pl-suggest { margin: 48px 0 0; }
.pl-site .pl-suggest__title { margin: 0 0 24px; font-family: var(--pl-sans); font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--pl-ink); }
.pl-suggest__title span { color: var(--pl-green); }

/* ---------- Product page: description, one column ---------- */
.pl-site.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel { padding: 48px 56px; } /* beats WooCommerce's own padding: 0 on .panel */
.pl-site.single-product .woocommerce-Tabs-panel > * { max-width: 900px; }
.pl-site.single-product .woocommerce-Tabs-panel > :last-child { margin-bottom: 0; }
/* the tab's own "Description" label becomes a small eyebrow above the product headline */
.pl-site.single-product .woocommerce-Tabs-panel > h2:first-child { margin: 0 0 10px; font-family: var(--pl-mono); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pl-green); }
.pl-site.single-product .woocommerce-Tabs-panel .pl-desc-title { margin: 0 0 24px; font-family: var(--pl-sans); font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--pl-ink); }
.pl-site.single-product .woocommerce-Tabs-panel h2:not(.pl-desc-title):not(:first-child) { margin: 0 0 14px; font-family: var(--pl-sans); font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--pl-ink); }
.pl-site.single-product .woocommerce-Tabs-panel h3 { margin: 28px 0 8px; font-family: var(--pl-sans); font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--pl-ink); }
.pl-site.single-product .woocommerce-Tabs-panel p { margin: 0 0 16px; }
.pl-site.single-product .woocommerce-Tabs-panel :is(ul, ol) { margin: 0 0 16px; padding-left: 22px; }
.pl-site.single-product .woocommerce-Tabs-panel li { margin: 0 0 6px; }
.pl-site.single-product .woocommerce-Tabs-panel hr { margin: 32px 0; border: 0; height: 0; background: none; }
@media (max-width: 1024px) {
	.pl-site.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel { padding: 36px 32px; }
}
@media (max-width: 767px) {
	.pl-site.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel { padding: 24px 20px; }
	.pl-site.single-product .woocommerce-Tabs-panel .pl-desc-title { font-size: 22px; margin-bottom: 18px; }
	.pl-site.single-product .woocommerce-Tabs-panel h2:not(.pl-desc-title):not(:first-child) { font-size: 20px; }
	.pl-site.single-product .woocommerce-Tabs-panel hr { margin: 24px 0; }
}

/* ---------- Product page: tabs and description without borders ----------
   WooCommerce gives the tab items a border and background of their own, so these selectors are
   written to outrank it. */
.pl-site.single-product div.product .woocommerce-tabs ul.tabs { gap: 6px; margin: 0 0 28px; padding: 6px; border: 0; box-shadow: none; overflow: visible; }
.pl-site.single-product div.product .woocommerce-tabs ul.tabs::before,
.pl-site.single-product div.product .woocommerce-tabs ul.tabs li::before,
.pl-site.single-product div.product .woocommerce-tabs ul.tabs li::after { display: none !important; content: none; border: 0; box-shadow: none; }
.pl-site.single-product div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 999px; background: none; box-shadow: none; }
.pl-site.single-product div.product .woocommerce-tabs ul.tabs li a { padding: 10px 20px; }
.pl-site.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel { border: 0; box-shadow: none; }

/* ---------- Newsletter widget ---------- */
.elementor-widget-peplab_newsletter { width: 100%; max-width: 560px; }
.pl-nl { width: 100%; max-width: 560px; margin: 0 auto; }
.pl-nl__row { display: flex; gap: 10px; }
.pl-nl input.pl-nl__input { flex: 1 1 auto; min-width: 0; margin: 0; background: var(--pl-white); border: 1px solid #c5dccf; border-radius: 999px; padding: 16px 22px; color: var(--pl-ink); font-family: var(--pl-sans); font-size: 16px; line-height: 1.3; }
.pl-nl input.pl-nl__input::placeholder { color: var(--pl-dim); opacity: 1; }
.pl-nl input.pl-nl__input:focus { outline: none; border-color: var(--pl-green); box-shadow: 0 0 0 3px rgba(8, 122, 83, 0.15); }
.pl-nl .pl-nl__btn, .pl-nl .pl-nl__btn:focus { flex: 0 0 auto; background: var(--pl-ink); color: var(--pl-white); border: 0; border-radius: 999px; padding: 16px 28px; font-family: var(--pl-sans); font-size: 16px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.pl-nl .pl-nl__btn:hover { background: var(--pl-accent); color: var(--pl-accent-ink); }
.pl-nl.is-busy .pl-nl__btn { opacity: 0.6; cursor: progress; }
.pl-nl .pl-nl__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pl-nl__note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--pl-muted); text-align: center; }
.pl-nl__msg { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; font-weight: 500; line-height: 1.5; text-align: center; }
.pl-nl.is-ok .pl-nl__msg { color: var(--pl-green); }
.pl-nl.is-bad .pl-nl__msg { color: #b3402a; }
@media (max-width: 767px) {
	.pl-nl__row { flex-direction: column; }
	.pl-nl .pl-nl__btn { width: 100%; }
}

/* ---------- Locked products: password box (includes/lock.php, Pep Lab Locked Products widget) ---------- */
.pl-lock { width: 100%; max-width: 520px; margin: 0 auto; padding: 40px 32px; background: var(--pl-white); border: 1px solid var(--pl-line); border-radius: 24px; text-align: center; font-family: var(--pl-sans); color: var(--pl-ink); box-sizing: border-box; }
.pl-lock__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: var(--pl-bg); color: var(--pl-green); }
.pl-lock .pl-lock__title { margin: 0 0 8px; font-family: var(--pl-sans); font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--pl-ink); }
.pl-lock__text { margin: 0 0 24px; font-size: 16px; line-height: 1.5; color: var(--pl-muted); }
.pl-lock *, .pl-lock *::before, .pl-lock *::after { box-sizing: border-box; }
.pl-lock__row { display: flex; gap: 10px; }
.pl-lock input.pl-lock__input { flex: 1 1 auto; min-width: 0; margin: 0; background: var(--pl-white); border: 1px solid var(--pl-line-strong); border-radius: 999px; padding: 15px 22px; color: var(--pl-ink); font-family: var(--pl-sans); font-size: 16px; line-height: 1.3; }
.pl-lock input.pl-lock__input:focus { outline: none; border-color: var(--pl-green); box-shadow: 0 0 0 3px rgba(8, 122, 83, 0.15); }
.pl-lock .pl-lock__btn, .pl-lock .pl-lock__btn:focus { flex: 0 0 auto; background: var(--pl-ink); color: var(--pl-white); border: 0; border-radius: 999px; padding: 15px 28px; font-family: var(--pl-sans); font-size: 16px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.pl-lock .pl-lock__btn:hover { background: var(--pl-accent); color: var(--pl-accent-ink); }
.pl-lock__msg { min-height: 1.5em; margin: 14px 0 0; font-size: 15px; font-weight: 500; line-height: 1.5; color: #b3402a; }
.pl-lock__msg:empty { min-height: 0; margin: 0; }
.pl-lock-page { padding: 72px var(--pl-gutter) 96px; background: var(--pl-bg); }
.pl-lock-note { max-width: 720px; margin: 12px auto; padding: 10px 16px; border: 1px dashed var(--pl-line-strong); border-radius: 12px; font-size: 14px; line-height: 1.5; color: var(--pl-muted); text-align: center; }
/* Unlocked: the same product cards as the rest of the shop, on a highlighted panel */
.pl-locked { width: 100%; max-width: var(--pl-width, 1312px); margin: 0 auto; }
.pl-locked__panel { padding: 32px; background: #e6f4ec; border: 1px solid #c5dccf; border-radius: 28px; }
.pl-locked__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 28px; }
.pl-locked__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--pl-white); color: var(--pl-green); }
.pl-site .pl-locked .pl-locked__title { margin: 0; font-family: var(--pl-sans); font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--pl-ink); }
.pl-locked__badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--pl-ink); color: var(--pl-accent); font-family: var(--pl-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; }
.pl-locked .pl-locked__again { margin-left: auto; font-size: 14px; color: var(--pl-muted); text-decoration: underline; }
.pl-locked .pl-locked__again:hover { color: var(--pl-ink); }
@media (max-width: 767px) {
	.pl-locked__panel { padding: 20px 16px; border-radius: 20px; }
	.pl-locked__head { margin-bottom: 20px; }
	.pl-site .pl-locked .pl-locked__title { font-size: 24px; }
}
@media (max-width: 600px) {
	.pl-lock { padding: 32px 20px; border-radius: 20px; }
	.pl-lock__row { flex-direction: column; }
	.pl-lock .pl-lock__btn { width: 100%; }
	.pl-lock-page { padding: 40px 16px 56px; }
}
