/**
 * PSTV chrome — announcement bar, header, mega menu, mobile drawer, footer.
 * All hand-coded: this build runs free Elementor, so there is no Theme Builder.
 */

/* ---- Announcement bar -------------------------------------------------- */

.pstv-announce {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--pstv-announce-h);
	padding: 6px 16px;
	background: var(--pstv-navy);
	color: #fff;
	font-size: 0.78125rem;
	letter-spacing: 0.06em;
	text-align: center;
}

.pstv-announce a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 767px) {
	.pstv-announce {
		font-size: 0.65625rem;
	}
}

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

.pstv-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--pstv-hairline);
	transition: box-shadow var(--pstv-dur) var(--pstv-ease);
}

.pstv-header.is-stuck {
	box-shadow: 0 2px 18px rgba(23, 38, 81, 0.08);
}

.pstv-header__bar {
	display: flex;
	align-items: center;
	gap: 44px;
	min-height: var(--pstv-header-h);
	padding-inline: var(--pstv-gutter-header);
}

.pstv-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	color: var(--pstv-navy);
}

.pstv-logo svg,
.pstv-logo img {
	height: 34px;
	width: auto;
}

.pstv-header__spacer {
	flex-grow: 1;
}

/* ---- Desktop nav -------------------------------------------------------- */

.pstv-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--pstv-nav-size);
	font-weight: 500;
	letter-spacing: var(--pstv-nav-ls);
	text-transform: uppercase;
}

/* The comp separates top-level items with a thin rule rather than spacing. */
.pstv-nav > li + li::before {
	content: "";
	position: absolute;
	inset-inline-start: -13px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 13px;
	background: var(--pstv-border);
}

.pstv-nav > li {
	position: relative;
}

.pstv-nav a,
.pstv-nav button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: var(--pstv-tap);
	padding: 0;
	border: 0;
	background: none;
	color: var(--pstv-navy);
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
}

.pstv-nav a:hover,
.pstv-nav button:hover,
.pstv-nav [aria-expanded="true"],
.pstv-nav .current-menu-item > a {
	color: var(--pstv-blue);
}

.pstv-nav [aria-expanded="true"] {
	box-shadow: inset 0 -2px 0 var(--pstv-blue);
}

.pstv-nav__chevron {
	transition: transform var(--pstv-dur) var(--pstv-ease);
}

.pstv-nav [aria-expanded="true"] .pstv-nav__chevron {
	transform: rotate(180deg);
}

.pstv-header__utility {
	display: flex;
	align-items: center;
	gap: 12px;
	list-style: none;
	font-size: var(--pstv-nav-size);
	font-weight: 500;
	letter-spacing: var(--pstv-nav-ls);
	text-transform: uppercase;
}

.pstv-header__utility a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--pstv-tap);
	padding-inline: 6px;
	color: var(--pstv-navy);
}

.pstv-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--pstv-tap);
	height: var(--pstv-tap);
	border: 0;
	background: none;
	color: var(--pstv-navy);
	cursor: pointer;
}

.pstv-cart-count {
	position: absolute;
	top: 6px;
	inset-inline-end: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 16px;
	height: 16px;
	padding-inline: 4px;
	border-radius: var(--pstv-radius);
	background: var(--pstv-blue);
	color: #fff;
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0;
}

.pstv-cart-count:empty,
.pstv-cart-count[data-count="0"] {
	display: none;
}

/* ---- Mega panel ---------------------------------------------------------
 * A two-pane object: a rail of groups on the left, a switchable grid of
 * product cards beside it, and a short reassurance column on the end.
 */

.pstv-mega {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	z-index: 90;
	background: #fff;
	border-top: 1px solid var(--pstv-hairline);
	box-shadow: 0 24px 48px -24px rgba(23, 38, 81, 0.28);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.2s var(--pstv-ease),
		transform 0.2s var(--pstv-ease),
		visibility 0.2s;
}

.pstv-mega[data-open="true"] {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.pstv-mega__inner {
	display: grid;
	grid-template-columns: 232px minmax(0, 1fr) 250px;
	gap: 40px;
	width: 100%;
	max-width: calc(var(--pstv-container) + var(--pstv-gutter-header) * 2);
	margin-inline: auto;
	padding: 34px var(--pstv-gutter-header) 40px;
}

.pstv-mega__kicker {
	margin: 0 0 16px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pstv-grey-muted);
}

/* ---- Rail --------------------------------------------------------------- */

.pstv-mega__rail {
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-inline-end: 1px solid var(--pstv-hairline);
	padding-inline-end: 24px;
}

.pstv-mega__tab {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	padding: 0 14px;
	border: 0;
	border-radius: 12px;
	background: none;
	color: var(--pstv-navy);
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: start;
	text-transform: none;
	cursor: pointer;
	transition: background var(--pstv-dur) var(--pstv-ease), color var(--pstv-dur) var(--pstv-ease);
}

.pstv-mega__tab-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 10px;
	background: var(--pstv-ice);
	color: var(--pstv-navy);
	transition: background var(--pstv-dur) var(--pstv-ease), color var(--pstv-dur) var(--pstv-ease);
}

.pstv-mega__tab-label { flex-grow: 1; }

.pstv-mega__tab-arrow {
	display: flex;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity var(--pstv-dur) var(--pstv-ease), transform var(--pstv-dur) var(--pstv-ease);
}

.pstv-mega__tab:hover,
.pstv-mega__tab[aria-selected="true"] {
	background: var(--pstv-ice);
}

.pstv-mega__tab[aria-selected="true"] .pstv-mega__tab-icon {
	background: var(--pstv-navy);
	color: #fff;
}

.pstv-mega__tab[aria-selected="true"] .pstv-mega__tab-arrow {
	opacity: 1;
	transform: none;
}

.pstv-mega__all {
	display: inline-flex;
	align-items: center;
	min-height: var(--pstv-tap);
	margin-top: 10px;
	padding-inline: 14px;
	color: var(--pstv-blue);
	font-size: 0.78125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pstv-mega__all:hover { color: var(--pstv-navy); }

/* ---- Product cards ------------------------------------------------------- */

.pstv-mega__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.pstv-mcard {
	display: flex;
	flex-direction: column;
	color: var(--pstv-navy);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	transition: transform var(--pstv-dur) var(--pstv-ease), box-shadow var(--pstv-dur) var(--pstv-ease);
}

.pstv-mcard:hover {
	color: var(--pstv-navy);
	transform: translateY(-3px);
	box-shadow: 0 16px 30px -18px rgba(23, 38, 81, 0.4);
}

.pstv-mcard__media {
	display: block;
	background: var(--pstv-flavour, var(--pstv-ice));
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.pstv-mcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s var(--pstv-ease);
}

.pstv-mcard:hover .pstv-mcard__media img { transform: scale(1.05); }

.pstv-mcard__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 4px 4px;
}

.pstv-mcard__name {
	font-size: 0.84375rem;
	font-weight: 700;
	line-height: 1.35;
}

.pstv-mcard__benefit {
	font-size: 0.75rem;
	color: var(--pstv-grey);
}

.pstv-mcard__price {
	padding-top: 2px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--pstv-flavour-text, var(--pstv-navy));
}

/* ---- Reassurance column --------------------------------------------------- */

.pstv-mega__aside {
	border-inline-start: 1px solid var(--pstv-hairline);
	padding-inline-start: 28px;
}

.pstv-mega__points {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pstv-mega__points li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--pstv-grey);
}

.pstv-mega__points svg {
	flex-shrink: 0;
	color: var(--pstv-blue);
}

@media (max-width: 1200px) {
	.pstv-mega__inner { grid-template-columns: 200px minmax(0, 1fr); }
	.pstv-mega__aside { display: none; }
}

/* ---- Mobile ------------------------------------------------------------- */

.pstv-burger {
	display: none;
}

@media (max-width: 1024px) {
	.pstv-header__bar {
		gap: 0;
		justify-content: space-between;
	}

	.pstv-burger {
		display: inline-flex;
	}

	.pstv-nav,
	.pstv-mega,
	.pstv-header__utility .pstv-header__links {
		display: none;
	}

	.pstv-header__spacer {
		display: none;
	}
}

.pstv-drawer {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 200;
	width: min(330px, 86vw);
	padding: 24px 22px 40px;
	background: var(--pstv-navy);
	color: #fff;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform var(--pstv-dur) var(--pstv-ease);
}

.pstv-drawer[data-open="true"] {
	transform: none;
}

.pstv-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 22px;
}

.pstv-drawer__eyebrow {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: #8fb6da;
}

.pstv-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--pstv-tap);
	height: var(--pstv-tap);
	margin-inline-end: -10px;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
}

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

.pstv-drawer a,
.pstv-drawer button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: var(--pstv-tap);
	padding: 15px 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	background: none;
	color: #fff;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: left;
	cursor: pointer;
}

.pstv-drawer .pstv-drawer__sub {
	display: none;
	padding-inline-start: 14px;
}

.pstv-drawer [aria-expanded="true"] + .pstv-drawer__sub {
	display: block;
}

.pstv-drawer__scrim {
	position: fixed;
	inset: 0;
	z-index: 190;
	background: rgba(23, 38, 81, 0.55);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--pstv-dur) var(--pstv-ease), visibility var(--pstv-dur);
}

.pstv-drawer__scrim[data-open="true"] {
	opacity: 1;
	visibility: visible;
}

body.pstv-drawer-open {
	overflow: hidden;
}

/* ---- Newsletter --------------------------------------------------------- */

.pstv-newsletter {
	background: var(--pstv-navy);
	color: #fff;
	padding: 82px var(--pstv-gutter) 88px;
	text-align: center;
}

.pstv-newsletter__title {
	margin: 0 0 40px;
	font-size: clamp(1.375rem, 0.9rem + 1.5vw, 2rem);
	font-weight: 400;
}

.pstv-newsletter__form {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 900px;
	margin-inline: auto;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.pstv-newsletter__form input[type="email"] {
	flex-grow: 1;
	min-height: var(--pstv-tap);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: #fff;
	font-size: 1.0625rem;
	letter-spacing: 0.03em;
}

.pstv-newsletter__form input::placeholder {
	color: #97a9c9;
}

.pstv-newsletter__form button {
	min-height: var(--pstv-tap);
	padding-inline: 4px;
	border: 0;
	background: none;
	color: #fff;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

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

.pstv-footer {
	background: var(--pstv-black);
	color: #d6d6d6;
	padding: 62px var(--pstv-gutter) 68px;
}

/* repeat(auto-fit, ...) may not be combined with a flexible track in the same
   list — the whole declaration was invalid and the footer collapsed to one
   column. Explicit tracks instead. */
.pstv-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.pstv-footer .pstv-logo {
	color: #fff;
	align-self: flex-start;
}

.pstv-footer .pstv-logo svg {
	height: 40px;
}

.pstv-footer__col-title {
	margin: 0 0 14px;
	padding-bottom: 9px;
	border-bottom: 1px solid var(--pstv-footer-rule);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

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

.pstv-footer li a {
	display: flex;
	align-items: center;
	min-height: 32px;
	color: #d6d6d6;
	font-size: 0.71875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pstv-footer li a:hover {
	color: #fff;
}

.pstv-colophon {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 16px;
	background: var(--pstv-navy);
	color: #fff;
	font-size: 0.59375rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
}

@media (max-width: 767px) {
	.pstv-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px;
	}

	.pstv-footer .pstv-logo {
		grid-column: 1 / -1;
		margin-bottom: 4px;
	}

	.pstv-newsletter {
		padding: 44px var(--pstv-gutter-mobile) 48px;
	}

	.pstv-newsletter__form {
		gap: 16px;
	}
}

/* ---- RTL ------------------------------------------------------------------
 * The theme is written with logical properties throughout, so RTL needs only
 * the pieces CSS cannot mirror on its own: the drawer's slide direction and
 * the drawer/scrim anchoring.
 */

[dir="rtl"] .pstv-drawer {
	inset: 0 0 0 auto;
	transform: translateX(100%);
}

[dir="rtl"] .pstv-drawer[data-open="true"] {
	transform: none;
}

.pstv-header__utility ul,
.pstv-header__utility li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ==== Full-screen search ==================================================== */

.pstv-search {
	position: fixed;
	inset: 0;
	z-index: 300;
	visibility: hidden;
}

.pstv-search[data-open="true"] { visibility: visible; }

.pstv-search__scrim {
	position: absolute;
	inset: 0;
	background: rgba(23, 38, 81, 0.5);
	opacity: 0;
	transition: opacity 0.26s var(--pstv-ease);
}

.pstv-search[data-open="true"] .pstv-search__scrim { opacity: 1; }

.pstv-search__sheet {
	position: absolute;
	inset-inline: 0;
	top: 0;
	max-height: 100dvh;
	overflow-y: auto;
	background: #fff;
	transform: translateY(-14px);
	opacity: 0;
	transition: transform 0.26s var(--pstv-ease), opacity 0.26s var(--pstv-ease);
}

.pstv-search[data-open="true"] .pstv-search__sheet {
	transform: none;
	opacity: 1;
}

.pstv-search__container {
	width: 100%;
	max-width: calc(var(--pstv-container) + var(--pstv-gutter-header) * 2);
	margin-inline: auto;
	padding-inline: var(--pstv-gutter-header);
}

.pstv-search__bar {
	border-bottom: 1px solid var(--pstv-hairline);
}

.pstv-search__bar .pstv-search__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--pstv-header-h);
}

.pstv-search__close {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: var(--pstv-tap);
	padding-inline: 4px;
	border: 0;
	background: none;
	color: var(--pstv-navy);
	font-family: inherit;
	font-size: 0.71875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
}

.pstv-search__close:hover { color: var(--pstv-blue); }

.pstv-search__body { padding-block: 56px 72px; }

/* The field is the point of the screen, so it is set at display size. */
.pstv-search__form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 22px;
	border-bottom: 2px solid var(--pstv-navy);
}

.pstv-search__icon {
	display: flex;
	color: var(--pstv-navy);
	flex-shrink: 0;
}

.pstv-search__input {
	flex-grow: 1;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--pstv-navy);
	font-family: inherit;
	font-size: clamp(1.5rem, 0.9rem + 2.4vw, 2.5rem);
	font-weight: 300;
	letter-spacing: -0.01em;
}

.pstv-search__input:focus { outline: none; border: 0; }

.pstv-search__input::placeholder {
	color: #9fb0c8;
	opacity: 1;
}

.pstv-search__submit {
	flex-shrink: 0;
	min-height: var(--pstv-btn-sm);
	padding-inline: 30px;
	border: 0;
	border-radius: var(--pstv-radius);
	background: var(--pstv-navy);
	color: #fff;
	font-family: inherit;
	font-size: var(--pstv-btn-size-sm);
	font-weight: 500;
	letter-spacing: var(--pstv-btn-ls);
	text-transform: uppercase;
	cursor: pointer;
}

.pstv-search__submit:hover { background: var(--pstv-blue); }

.pstv-search__block { padding-top: 42px; }

.pstv-search__kicker {
	margin: 0 0 16px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pstv-grey-muted);
}

.pstv-search__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pstv-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: var(--pstv-tap);
	padding-inline: 20px;
	border: 1px solid var(--pstv-border);
	border-radius: var(--pstv-radius);
	color: var(--pstv-navy);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	transition: border-color var(--pstv-dur) var(--pstv-ease), background var(--pstv-dur) var(--pstv-ease);
}

.pstv-chip svg { color: var(--pstv-blue); }

.pstv-chip:hover {
	border-color: var(--pstv-navy);
	background: var(--pstv-ice);
	color: var(--pstv-navy);
}

.pstv-search__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.pstv-scard {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--pstv-navy);
}

.pstv-scard__media {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	background: var(--pstv-flavour, var(--pstv-ice));
	aspect-ratio: 4 / 3;
	margin-bottom: 8px;
}

.pstv-scard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s var(--pstv-ease);
}

.pstv-scard:hover { color: var(--pstv-navy); }
.pstv-scard:hover .pstv-scard__media img { transform: scale(1.05); }

.pstv-scard__name { font-size: 0.875rem; font-weight: 700; }
.pstv-scard__price { font-size: 0.8125rem; font-weight: 700; color: var(--pstv-flavour-text, var(--pstv-navy)); }

body.pstv-search-open { overflow: hidden; }

@media (max-width: 900px) {
	.pstv-search__body { padding-block: 34px 48px; }
	.pstv-search__form { gap: 12px; }
	.pstv-search__submit { display: none; }
	.pstv-search__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pstv-search__close span { display: none; }
}
