/* =========================================================================
   Precious Surgical — design system
   ========================================================================= */

:root {
	--ps-ink: #14171a;
	--ps-ink-soft: #454b52;
	--ps-muted: #767d85;
	--ps-line: #e6e8ea;
	--ps-line-strong: #d3d7db;
	--ps-bg: #ffffff;
	--ps-bg-alt: #f6f7f7;
	--ps-bg-media: #eceeed;
	--ps-dark: #16191c;
	--ps-dark-soft: #22262a;
	--ps-accent: #e2571f;
	--ps-accent-ink: #ffffff;
	--ps-success: #1f7a4d;

	--ps-radius: 4px;
	--ps-radius-lg: 12px;
	--ps-radius-pill: 999px;
	--ps-radius-btn: 999px;

	--ps-shadow-sm: 0 1px 2px rgba(20, 23, 26, .06);
	--ps-shadow: 0 10px 30px rgba(20, 23, 26, .08);

	--ps-font: "Jost", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ps-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--ps-container: 1240px;
	--ps-gutter: 20px;
	--ps-header-h: 68px;
}

/* ---------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--ps-font-body);
	font-size: 15px;
	line-height: 1.6;
	color: var(--ps-ink);
	background: var(--ps-bg);
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover:not(.btn) { color: var(--ps-ink); }

button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
	font-family: var(--ps-font);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--ps-ink);
	margin: 0 0 .5em;
	line-height: 1.2;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
	outline: 2px solid var(--ps-ink);
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px; left: 12px;
	z-index: 999;
	width: auto; height: auto;
	clip: auto;
	padding: 10px 16px;
	background: var(--ps-ink);
	color: #fff;
	border-radius: var(--ps-radius);
}

/* ------------------------------------------------------------- layout --- */

.container {
	width: 100%;
	max-width: var(--ps-container);
	margin-inline: auto;
	padding-inline: var(--ps-gutter);
}

.container--narrow { max-width: 860px; }

.section { padding: 56px 0; }
.section--alt { background: var(--ps-bg-alt); }
.section--why { padding-top: 40px; }

.section--dark {
	background: var(--ps-dark);
	color: #e9ebed;
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark .section__subtitle { color: #a7aeb5; }

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.section__head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.section__title {
	font-size: clamp(21px, 2.4vw, 28px);
	margin: 0;
	font-weight: 500;
}

.section__subtitle {
	margin: 8px 0 0;
	color: var(--ps-muted);
	font-size: 14px;
	max-width: 62ch;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	white-space: nowrap;
	transition: gap .2s ease;
}
.link-arrow:hover { gap: 10px; }

/* ------------------------------------------------------------ buttons --- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	background-color: var(--ps-ink);
	color: #fff;
	font-family: var(--ps-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .01em;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--ps-ink);
	border-radius: var(--ps-radius-btn);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

/* Repeat the label colour for every link state: host styles from other
   plugins target a:link / a:visited and would otherwise wash the text out. */
.btn:link, .btn:visited, .btn:hover, .btn:focus, .btn:active,
a.btn, a.btn:link, a.btn:visited, a.btn:hover, a.btn:focus, a.btn:active {
	color: #fff !important;
	text-decoration: none;
}
.btn:hover, a.btn:hover { background-color: #2b3036; border-color: #2b3036; transform: translateY(-1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 15px; }

.btn--outline {
	background-color: transparent;
	border-color: var(--ps-line-strong);
}
.btn--outline, .btn--outline:link, .btn--outline:visited, .btn--outline:focus,
a.btn--outline, a.btn--outline:link, a.btn--outline:visited, a.btn--outline:focus { color: var(--ps-ink) !important; }
.btn--outline:hover, a.btn--outline:hover { background-color: var(--ps-ink); color: #fff !important; border-color: var(--ps-ink); }

.btn--light {
	background-color: #fff;
	border-color: #fff;
}
.btn--light, .btn--light:link, .btn--light:visited, .btn--light:focus, .btn--light:hover,
a.btn--light, a.btn--light:link, a.btn--light:visited, a.btn--light:focus, a.btn--light:hover { color: var(--ps-ink) !important; }
.btn--light:hover, a.btn--light:hover { background-color: #e9ebed; border-color: #e9ebed; }

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 38px; height: 38px;
	background: none;
	border: 0;
	border-radius: var(--ps-radius-pill);
	cursor: pointer;
	color: var(--ps-ink);
	transition: background .18s ease;
}
.icon-btn:hover { background: var(--ps-bg-alt); }

.icon { width: 20px; height: 20px; }

.icon-btn__count {
	position: absolute;
	top: 2px; right: 0;
	min-width: 16px; height: 16px;
	padding: 0 4px;
	display: grid;
	place-items: center;
	background: var(--ps-ink);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	border-radius: var(--ps-radius-pill);
}

/* ------------------------------------------------------ announcement --- */

.announcement {
	background: var(--ps-accent);
	color: var(--ps-accent-ink);
	font-size: 12.5px;
	letter-spacing: .02em;
}

.announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 34px;
}

.announcement__track {
	position: relative;
	flex: 1;
	display: grid;
	place-items: center;
	min-height: 34px;
	text-align: center;
}

.announcement__item {
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .35s ease, transform .35s ease;
	pointer-events: none;
}
.announcement__item.is-active { opacity: 1; transform: none; }

.announcement__nav {
	display: grid;
	place-items: center;
	width: 22px; height: 22px;
	background: rgba(255, 255, 255, .18);
	border: 0;
	border-radius: var(--ps-radius-pill);
	color: inherit;
	cursor: pointer;
	flex: none;
}
.announcement__nav .icon { width: 13px; height: 13px; }
.announcement__nav:hover { background: rgba(255, 255, 255, .32); }

/* ------------------------------------------------------------ header --- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--ps-line);
}

.site-header.is-stuck { box-shadow: var(--ps-shadow-sm); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: var(--ps-header-h);
}

.site-header__burger { display: none; }

.site-brand { flex: none; }
.site-brand img { max-height: 40px; width: auto; }

.site-brand__name {
	font-family: var(--ps-font);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -.02em;
}
.site-brand__name--light { color: #fff; }

.primary-nav { flex: 1; }

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: 22px;
	justify-content: center;
}

.primary-nav__list > li { position: relative; }

.primary-nav__list a {
	display: inline-block;
	padding: 6px 0;
	font-size: 13.5px;
	color: var(--ps-ink-soft);
	transition: color .18s ease;
}
.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a { color: var(--ps-ink); }

.primary-nav__list .sub-menu {
	position: absolute;
	top: 100%; left: 50%;
	transform: translateX(-50%) translateY(6px);
	min-width: 220px;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius-lg);
	box-shadow: var(--ps-shadow);
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.primary-nav__list > li:hover > .sub-menu,
.primary-nav__list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.primary-nav__list .sub-menu a { display: block; padding: 8px 12px; border-radius: var(--ps-radius); }
.primary-nav__list .sub-menu a:hover { background: var(--ps-bg-alt); }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: none;
}

.search-panel {
	border-top: 1px solid var(--ps-line);
	padding: 16px 0;
	background: #fff;
}

.search-form {
	display: flex;
	gap: 10px;
	max-width: 640px;
	margin-inline: auto;
}
.search-form label { flex: 1; }
.search-form .search-field {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--ps-line-strong);
	border-radius: var(--ps-radius);
	font: inherit;
}
.search-form .search-submit {
	padding: 12px 24px;
	background-color: var(--ps-ink);
	color: #fff;
	border: 1px solid var(--ps-ink);
	border-radius: var(--ps-radius-btn);
	font-weight: 500;
	cursor: pointer;
}
.search-form .search-submit:hover { background-color: #2b3036; border-color: #2b3036; color: #fff; }

/* ------------------------------------------------------------ drawer --- */

.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer[hidden] { display: none; }

.drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(20, 23, 26, .45);
	border: 0;
	cursor: pointer;
}

.drawer__panel {
	position: relative;
	z-index: 1;
	width: min(86vw, 340px);
	height: 100%;
	padding: 20px;
	background: #fff;
	overflow-y: auto;
	animation: ps-slide-in .25s ease;
}

@keyframes ps-slide-in { from { transform: translateX(-100%); } }

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.drawer__list { margin-bottom: 22px; }
.drawer__list a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--ps-line);
	font-size: 15px;
}
.drawer__list .sub-menu a { padding-left: 14px; color: var(--ps-muted); font-size: 14px; }

/* -------------------------------------------------------------- hero --- */

.hero {
	position: relative;
	background: var(--ps-bg-media);
	overflow: hidden;
}

.hero__viewport { position: relative; }

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .55s ease, visibility 0s linear .55s;
}
.hero__slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transition: opacity .55s ease, visibility 0s;
}

.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: clamp(340px, 42vw, 480px);
}

.hero__text {
	max-width: 560px;
	padding: 40px 0;
}

.hero__tag {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 12px;
	background: #fff;
	border: 1px solid var(--ps-line-strong);
	border-radius: var(--ps-radius-pill);
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ps-ink-soft);
}

.hero__title {
	font-size: clamp(28px, 4.2vw, 46px);
	font-weight: 600;
	letter-spacing: -.02em;
	margin: 0 0 12px;
}

.hero__subtitle {
	font-size: clamp(15px, 1.4vw, 17px);
	color: var(--ps-ink-soft);
	max-width: 46ch;
	margin-bottom: 20px;
}

.pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.pill {
	padding: 9px 18px;
	background: rgba(255, 255, 255, .78);
	border: 1px solid rgba(20, 23, 26, .08);
	border-radius: var(--ps-radius-pill);
	font-size: 13px;
	color: var(--ps-ink-soft);
}

.hero__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	background: rgba(255, 255, 255, .9);
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius-pill);
	cursor: pointer;
	color: var(--ps-ink);
	box-shadow: var(--ps-shadow-sm);
}
.hero__nav:hover { background: #fff; }
.hero__nav--prev { left: 14px; }
.hero__nav--next { right: 14px; }

.dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.dots--hero {
	position: absolute;
	bottom: 16px; left: 0; right: 0;
	z-index: 5;
}

.dot {
	width: 7px; height: 7px;
	padding: 0;
	background: rgba(20, 23, 26, .25);
	border: 0;
	border-radius: var(--ps-radius-pill);
	cursor: pointer;
	transition: width .2s ease, background .2s ease;
}
.dot.is-active { width: 20px; background: var(--ps-ink); }

/* ------------------------------------------------------------- stats --- */

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	margin-bottom: 48px;
	background: var(--ps-line);
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius-lg);
	overflow: hidden;
}

.stats__item {
	background: #fff;
	padding: 22px 18px;
	text-align: center;
}

.stats__value {
	display: block;
	font-family: var(--ps-font);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 600;
	letter-spacing: -.02em;
}

.stats__label {
	display: block;
	margin-top: 4px;
	font-size: 12.5px;
	color: var(--ps-muted);
}

/* ---------------------------------------------------------- features --- */

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

.feature {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius-lg);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature:hover {
	border-color: var(--ps-line-strong);
	transform: translateY(-2px);
	box-shadow: var(--ps-shadow);
}

.feature__icon {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	margin-bottom: 14px;
	background: var(--ps-bg-alt);
	border-radius: var(--ps-radius-pill);
	color: var(--ps-ink);
}

.feature__title { font-size: 16px; margin-bottom: 6px; }
.feature__text { margin: 0; color: var(--ps-muted); font-size: 14px; }

/* -------------------------------------------------------------- rail --- */

.rail-wrap { position: relative; }

.rail {
	display: grid;
	grid-auto-flow: column;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.rail::-webkit-scrollbar { display: none; }

.rail__item { scroll-snap-align: start; }

.rail--products { grid-auto-columns: minmax(240px, calc(25% - 14px)); }
.rail--categories { grid-auto-columns: minmax(260px, calc(25% - 14px)); }
.rail--testimonials { grid-auto-columns: minmax(280px, calc(33.333% - 12px)); }

.rail-nav {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 18px;
}

.rail-nav__btn {
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	background: #fff;
	border: 1px solid var(--ps-line-strong);
	border-radius: var(--ps-radius-pill);
	cursor: pointer;
	transition: background .18s ease, color .18s ease;
}
.rail-nav__btn:hover { background: var(--ps-ink); color: #fff; border-color: var(--ps-ink); }
.rail-nav__btn[disabled] { opacity: .35; cursor: default; }
.rail-nav__btn[disabled]:hover { background: #fff; color: var(--ps-ink); border-color: var(--ps-line-strong); }

.section--dark .rail-nav__btn {
	background: transparent;
	border-color: rgba(255, 255, 255, .25);
	color: #fff;
}
.section--dark .rail-nav__btn:hover { background: #fff; color: var(--ps-ink); }

/* ------------------------------------------------------ product card --- */

.product-card { height: 100%; display: flex; flex-direction: column; }

.product-card__media {
	position: relative;
	background: var(--ps-bg-media);
	border-radius: var(--ps-radius);
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.product-card__frames { display: block; height: 100%; }

.product-card__img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .35s ease;
}
.product-card__img.is-active { opacity: 1; }

.badge {
	position: absolute;
	top: 10px; right: 10px;
	z-index: 3;
	padding: 5px 12px;
	background: var(--ps-ink);
	color: #fff;
	font-size: 11px;
	letter-spacing: .02em;
	border-radius: var(--ps-radius-pill);
}

.media-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: grid;
	place-items: center;
	width: 26px; height: 26px;
	background: rgba(255, 255, 255, .92);
	border: 0;
	border-radius: var(--ps-radius-pill);
	cursor: pointer;
	opacity: 0;
	transition: opacity .2s ease;
}
.media-nav .icon { width: 14px; height: 14px; }
.media-nav--prev { left: 8px; }
.media-nav--next { right: 8px; }
.product-card__media:hover .media-nav,
.media-nav:focus-visible { opacity: 1; }

.dots--media {
	position: absolute;
	bottom: 10px; left: 0; right: 0;
	z-index: 3;
}
.dots--media .dot { width: 5px; height: 5px; background: rgba(20, 23, 26, .3); }
.dots--media .dot.is-active { width: 14px; background: var(--ps-ink); }

.product-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 12px;
	flex: 1;
}

.product-card__title {
	font-family: var(--ps-font-body);
	font-size: 14.5px;
	font-weight: 600;
	margin: 0;
	line-height: 1.35;
}

.product-card__subtitle {
	margin: 0;
	font-size: 12.5px;
	color: var(--ps-muted);
}

.stars { display: inline-flex; gap: 1px; font-size: 13px; color: var(--ps-line-strong); }
.stars__star.is-on { color: var(--ps-ink); }

.price { display: flex; align-items: baseline; gap: 8px; margin: 2px 0; }
.price__now { font-size: 15px; font-weight: 600; }
.price__was, .price del { color: var(--ps-muted); font-size: 13px; }
.price ins { text-decoration: none; font-weight: 600; }

.variants { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; }

.variant {
	padding: 5px 13px;
	background: #fff;
	border: 1px solid var(--ps-line-strong);
	border-radius: var(--ps-radius-pill);
	font-size: 12px;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.variant.is-active { background: var(--ps-ink); color: #fff; border-color: var(--ps-ink); }

.product-card__body .btn { margin-top: auto; }

/* ----------------------------------------------------- category card --- */

.category-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius-lg);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--ps-shadow); }

.category-card__media {
	position: relative;
	display: block;
	aspect-ratio: 10 / 7;
	background: var(--ps-bg-media);
	overflow: hidden;
}
.category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover .category-card__media img { transform: scale(1.04); }

.category-card__overlay {
	position: absolute;
	inset: auto 0 0 0;
	padding: 14px 16px;
	background: linear-gradient(to top, rgba(20, 23, 26, .72), transparent);
	color: #fff;
	font-family: var(--ps-font);
	font-size: 17px;
	font-weight: 500;
}

.category-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	flex: 1;
}

.category-card__title { font-family: var(--ps-font); font-size: 15px; font-weight: 600; }
.category-card__text { font-size: 13px; color: var(--ps-muted); }
.category-card__body .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------------------------------------------------------- set card --- */

.set-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
}

.set-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius-lg);
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.set-card:hover { border-color: var(--ps-line-strong); box-shadow: var(--ps-shadow); transform: translateY(-3px); }

.set-card__media {
	position: relative;
	display: block;
	background: var(--ps-bg-media);
	aspect-ratio: 1 / 1;
}
.set-card__media img { width: 100%; height: 100%; object-fit: cover; }

.set-card__number {
	position: absolute;
	top: 12px; left: 12px;
	z-index: 2;
	font-family: var(--ps-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	color: var(--ps-muted);
}

.set-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	flex: 1;
}

.set-card__title { font-size: 16px; margin: 0; }
.set-card__text { margin: 0; font-size: 13px; color: var(--ps-muted); }

.set-card__list { display: grid; gap: 6px; font-size: 13px; }
.set-card__list li { display: flex; align-items: flex-start; gap: 8px; color: var(--ps-ink-soft); }
.set-card__list .icon { width: 15px; height: 15px; margin-top: 3px; flex: none; color: var(--ps-success); }

.set-card__body .btn { margin-top: auto; }

/* ------------------------------------------------------- testimonials --- */

.testimonial {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	margin: 0;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius-lg);
}

.testimonial__title { font-size: 15px; margin: 0; }

.testimonial__quote {
	margin: 0;
	font-size: 14px;
	color: var(--ps-ink-soft);
	line-height: 1.65;
}

.testimonial__foot {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--ps-line);
}

.testimonial__avatar {
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	background: var(--ps-ink);
	color: #fff;
	border-radius: var(--ps-radius-pill);
	font-family: var(--ps-font);
	font-size: 14px;
	font-weight: 600;
	flex: none;
}

.testimonial__author { display: block; font-size: 13.5px; font-weight: 600; }
.testimonial__role { display: block; font-size: 12px; color: var(--ps-muted); }

.testimonial__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 12px;
	color: var(--ps-muted);
}
.testimonial__meta .icon { width: 14px; height: 14px; }

/* ----------------------------------------------------------- clients --- */

.marquee {
	position: relative;
	overflow: hidden;
	margin: 8px 0 32px;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
	display: flex;
	gap: 14px;
	width: max-content;
	animation: ps-marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes ps-marquee { to { transform: translateX(-50%); } }

.client {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 210px;
	padding: 18px 24px;
	background: var(--ps-dark-soft);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: var(--ps-radius-lg);
}

.client__name {
	font-family: var(--ps-font);
	font-size: 17px;
	font-weight: 500;
	color: #fff;
}
.client__region { font-size: 12px; color: #98a0a8; }

.b2b-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 22px 26px;
	background: var(--ps-dark-soft);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: var(--ps-radius-lg);
}
.b2b-strip p { margin: 0; color: #c8ced4; font-size: 14.5px; }

/* --------------------------------------------------------- accordion --- */

.accordion {
	border-top: 1px solid var(--ps-line);
}

.accordion__item { border-bottom: 1px solid var(--ps-line); }

.accordion__heading { margin: 0; }

.accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: 18px 2px;
	background: none;
	border: 0;
	text-align: left;
	font-family: var(--ps-font);
	font-size: 15.5px;
	font-weight: 500;
	cursor: pointer;
}

.accordion__sign {
	display: grid;
	place-items: center;
	width: 28px; height: 28px;
	border: 1px solid var(--ps-line-strong);
	border-radius: var(--ps-radius-pill);
	flex: none;
	transition: transform .25s ease, background .2s ease, color .2s ease;
}
.accordion__trigger[aria-expanded="true"] .accordion__sign {
	transform: rotate(45deg);
	background: var(--ps-ink);
	color: #fff;
	border-color: var(--ps-ink);
}

.accordion__panel { padding: 0 40px 20px 2px; }
.accordion__panel p { margin: 0; color: var(--ps-muted); font-size: 14px; }

/* -------------------------------------------------------------- form --- */

.cta-section { padding: 64px 0; }

.cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.cta-copy .section__title { font-size: clamp(24px, 3vw, 34px); }

.cta-list { display: grid; gap: 10px; margin-top: 22px; }
.cta-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #c8ced4; }
.cta-list .icon { width: 16px; height: 16px; color: #fff; }

.cta-form {
	padding: 28px;
	background: #fff;
	border-radius: var(--ps-radius-lg);
	color: var(--ps-ink);
	box-shadow: var(--ps-shadow);
}

.field { margin-bottom: 16px; }

.field label {
	display: block;
	margin-bottom: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ps-ink-soft);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--ps-line-strong);
	border-radius: var(--ps-radius);
	font: inherit;
	font-size: 14px;
	color: var(--ps-ink);
	transition: border-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #a3a9b0; }

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--ps-ink);
	box-shadow: 0 0 0 3px rgba(20, 23, 26, .08);
}

.field textarea { resize: vertical; min-height: 84px; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0392b; }

.ps-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cta-form__note {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--ps-muted);
	text-align: center;
}

.cta-form__status { margin: 10px 0 0; font-size: 13.5px; text-align: center; }
.cta-form__status.is-success { color: var(--ps-success); }
.cta-form__status.is-error { color: #c0392b; }

/* ------------------------------------------------------------ footer --- */

.site-footer {
	background: var(--ps-dark);
	color: #b9c0c7;
	padding: 44px 0 26px;
	font-size: 14px;
}

.footer-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-strip__item {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	color: #d3d9df;
}
.footer-strip__item .icon { width: 16px; height: 16px; color: var(--ps-accent); flex: none; }

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 36px;
}

.footer-col__title {
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 14px;
}

.footer-about { font-size: 13.5px; line-height: 1.7; max-width: 42ch; margin: 14px 0 18px; }

.footer-menu { display: grid; gap: 9px; }
.footer-menu a { font-size: 13.5px; transition: color .18s ease; }
.footer-menu a:hover { color: #fff; }

.footer-contact { display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--ps-accent); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 34px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 12.5px;
	color: #8f979f;
}
.footer-bottom p { margin: 0; }

/* -------------------------------------------------- interior content --- */

.page-hero {
	padding: 44px 0 8px;
	background: var(--ps-bg-alt);
	border-bottom: 1px solid var(--ps-line);
}
.page-hero__title { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 8px; }
.page-hero__meta { color: var(--ps-muted); font-size: 13.5px; margin: 0; }

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 48px;
	align-items: start;
}
.ps-no-sidebar .content-layout { grid-template-columns: minmax(0, 1fr); }

.entry-content { font-size: 15.5px; line-height: 1.75; }
.entry-content h2 { font-size: 24px; margin-top: 1.6em; }
.entry-content h3 { font-size: 19px; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.2em; }
.entry-content li { list-style: inherit; margin-bottom: .4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content img { border-radius: var(--ps-radius-lg); }
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--ps-ink);
	color: var(--ps-ink-soft);
	font-size: 17px;
}
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
}

.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius-lg);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.post-card:hover { box-shadow: var(--ps-shadow); transform: translateY(-3px); }

.post-card__media { aspect-ratio: 16 / 10; background: var(--ps-bg-media); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }

.post-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__title { font-size: 17px; margin: 0; }
.post-card__meta { font-size: 12px; color: var(--ps-muted); }
.post-card__excerpt { font-size: 13.5px; color: var(--ps-muted); margin: 0; }
.post-card__body .link-arrow { margin-top: auto; align-self: flex-start; }

.widget { margin-bottom: 32px; }
.widget__title { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.widget ul { display: grid; gap: 8px; font-size: 14px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 38px; height: 38px;
	padding: 0 10px;
	border: 1px solid var(--ps-line-strong);
	border-radius: var(--ps-radius);
	font-size: 14px;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--ps-ink); color: #fff; border-color: var(--ps-ink); }

.error-404 { text-align: center; padding: 80px 0; }
.error-404__code { font-family: var(--ps-font); font-size: clamp(64px, 12vw, 120px); font-weight: 600; line-height: 1; }

/* ------------------------------------------------------- woocommerce --- */

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 26px;
	margin: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.product { width: 100%; margin: 0; float: none; }
.woocommerce ul.products li.product img { border-radius: var(--ps-radius); background: var(--ps-bg-media); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14.5px; font-weight: 600; padding: 10px 0 4px; }
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
	background-color: var(--ps-ink);
	color: #fff;
	border-radius: var(--ps-radius-btn);
	padding: 12px 24px;
	font-weight: 500;
}
.woocommerce a.button:hover, .woocommerce a.button:visited,
.woocommerce button.button:hover, .woocommerce #respond input#submit:hover { color: #fff; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background-color: #2b3036; }
.woocommerce span.onsale {
	background: var(--ps-accent);
	border-radius: var(--ps-radius-pill);
	min-height: auto;
	min-width: auto;
	padding: 5px 12px;
	line-height: 1.2;
	font-size: 11px;
}

/* -------------------------------------------------- about / contact --- */

.page-intro {
	padding: 48px 0 8px;
}

.page-intro__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.page-intro__title {
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 600;
	letter-spacing: -.03em;
	margin: 0;
	line-height: 1.05;
}

.page-intro__lede {
	margin: 0;
	max-width: 34ch;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--ps-muted);
	text-align: right;
}

/* Legacy alias: buttons share one shape sitewide, so this only tweaks size. */
.btn--pill { padding: 14px 28px; }

.btn--icon {
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: var(--ps-radius-pill);
}

.btn--icon .icon { width: 18px; height: 18px; }

/* About */

.about-page { padding-top: 24px; }

.about-panel {
	display: grid;
	gap: 18px;
	margin-bottom: 36px;
}

.about-block {
	padding: 28px 32px;
	background: var(--ps-bg-alt);
	border-radius: 28px;
}

.about-block__eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ps-muted);
}

.about-block h2 {
	font-size: clamp(22px, 2.6vw, 30px);
	margin: 0 0 12px;
}

.about-block p {
	margin: 0 0 12px;
	color: var(--ps-ink-soft);
	font-size: 15px;
	max-width: 72ch;
}
.about-block p:last-child { margin-bottom: 0; }

.about-location {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 24px;
	align-items: stretch;
	margin-bottom: 36px;
}

.about-location__copy {
	padding: 32px;
	background: var(--ps-bg-alt);
	border-radius: 28px;
}

.about-location__copy h2 {
	font-size: clamp(22px, 2.6vw, 30px);
	margin: 0 0 12px;
}

.about-location__copy > p {
	color: var(--ps-ink-soft);
	margin-bottom: 22px;
}

.about-location__card {
	padding: 20px 22px;
	background: #fff;
	border-radius: 20px;
	border: 1px solid var(--ps-line);
}

.about-location__card h3 {
	font-size: 14px;
	margin: 0 0 8px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.about-location__card p {
	margin: 0;
	font-size: 14px;
	color: var(--ps-ink-soft);
	line-height: 1.65;
}

.about-location__web {
	margin-top: 12px !important;
}

.about-location__web a {
	font-weight: 600;
	color: var(--ps-ink);
	border-bottom: 1px solid currentColor;
}

.about-location__media {
	position: relative;
	min-height: 360px;
	border-radius: 28px;
	overflow: hidden;
	background: var(--ps-bg-media);
}

.about-location__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-location__tag,
.contact-shell__tag {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 8px 14px;
	background: rgba(255, 255, 255, .55);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, .65);
	border-radius: var(--ps-radius-pill);
	font-size: 12px;
	font-weight: 500;
	color: var(--ps-ink);
}

.about-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 24px 28px;
	background: var(--ps-ink);
	color: #fff;
	border-radius: 28px;
}

.about-cta p {
	margin: 0;
	font-size: 16px;
	color: #d7dce1;
}

.about-cta .btn {
	background: #fff;
	color: var(--ps-ink);
	border-color: #fff;
}

/* Contact */

.contact-page { padding-top: 18px; }

.contact-shell {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 18px;
	padding: 18px;
	background: var(--ps-bg-alt);
	border-radius: 32px;
	margin-bottom: 48px;
}

.contact-shell__form {
	padding: 28px 28px 24px;
}

.contact-shell__media {
	position: relative;
	min-height: 520px;
	border-radius: 24px;
	overflow: hidden;
	background: var(--ps-bg-media);
}

.contact-shell__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.soft-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
}

.soft-form .field { margin: 0; }

.soft-form .field--full { grid-column: 1 / -1; }

.soft-form .field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--ps-ink);
	margin-bottom: 8px;
}

.soft-form .field input,
.soft-form .field select,
.soft-form .field textarea {
	background: #fff;
	border: 1px solid transparent;
	border-radius: 16px;
	padding: 14px 16px;
	box-shadow: inset 0 0 0 1px rgba(20, 23, 26, .04);
}

.soft-form .field input:focus,
.soft-form .field select:focus,
.soft-form .field textarea:focus {
	border-color: var(--ps-ink);
	box-shadow: 0 0 0 3px rgba(20, 23, 26, .06);
}

.soft-form .field textarea { min-height: 120px; }

.soft-form__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
}

.soft-form__note {
	margin: 14px 0 0;
	font-size: 12.5px;
	color: var(--ps-muted);
}

.soft-form .cta-form__status { text-align: left; }

.contact-info {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	text-align: center;
	padding: 8px 0 12px;
}

.contact-info__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin: 0 auto 14px;
	border: 1.5px solid var(--ps-line-strong);
	border-radius: var(--ps-radius-pill);
	color: var(--ps-ink);
}

.contact-info__item h2 {
	font-family: var(--ps-font-body);
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 8px;
}

.contact-info__item p {
	margin: 0;
	font-size: 14px;
	color: var(--ps-muted);
	line-height: 1.7;
}

.contact-info__item a:hover { color: var(--ps-ink); }

.contact-info__item strong {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ps-ink-soft);
}

.contact-info__extra { margin-top: 10px !important; }

@media (max-width: 1024px) {
	.about-location,
	.contact-shell { grid-template-columns: 1fr; }
	.contact-shell__media { min-height: 320px; }
	.contact-info { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
	.page-intro__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.page-intro__lede { text-align: left; max-width: none; }
	.about-block,
	.about-location__copy { padding: 22px; border-radius: 22px; }
	.soft-form__grid { grid-template-columns: 1fr; }
	.contact-shell { padding: 12px; border-radius: 24px; }
	.contact-shell__form { padding: 18px 12px 12px; }
}

/* ------------------------------------------------------- responsive --- */

@media (max-width: 1024px) {
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.rail--products { grid-auto-columns: minmax(220px, calc(33.333% - 12px)); }
	.rail--categories { grid-auto-columns: minmax(240px, calc(33.333% - 12px)); }
	.rail--testimonials { grid-auto-columns: minmax(260px, calc(50% - 9px)); }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.content-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
	.site-header__burger { display: inline-flex; }
	.primary-nav { display: none; }
	.site-brand { flex: 1; }
	.cta-grid { grid-template-columns: 1fr; gap: 30px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	.section { padding: 40px 0; }
	.section__head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.hero__content { min-height: 0; }
	.hero__media::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(to right, rgba(255, 255, 255, .92) 45%, rgba(255, 255, 255, .35));
	}
	.hero__text { padding: 46px 0 40px; }
	.hero__nav { display: none; }
	.feature-grid { grid-template-columns: 1fr; }
	.rail--products { grid-auto-columns: minmax(200px, 62%); }
	.rail--categories { grid-auto-columns: minmax(220px, 74%); }
	.rail--testimonials { grid-auto-columns: minmax(240px, 84%); }
	.set-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
	.b2b-strip { flex-direction: column; align-items: flex-start; }
	.cta-form { padding: 22px; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}
