/**
 * Home — netmeds.com layout.
 *
 * Loaded only on the "PCT Mart Home" page template.
 *
 * Unlike header.css, nothing here collides with Kirki: Shoptimizer has no
 * Customizer fields for a page template it does not ship, so these rules are
 * the only ones targeting this markup and plain selectors are enough.
 *
 * The teal is repeated from the header rather than shared, because the header's
 * copy is the Customizer's and this file cannot read it. If the brand colour
 * moves, it moves in three places: Customizer, header.css mirrors, and here.
 */

/* On body, not :root: these read the scheme tokens, and a custom property
   resolves where it is declared. Declared on :root they would keep the
   default scheme's colours when a scheme class on body swaps the tokens. */
body {
	/* The mid accent, not the header colour: these are hover borders and
	   rules in the page body, where the header red would be too loud. */
	--pct-home-teal:      var(--pct-brand-mid);
	--pct-home-teal-deep: var(--pct-brand-deep);
	--pct-home-ink:       #1d2327;
	--pct-home-muted:     #667085;
	--pct-home-line:      #e4e7ec;
	--pct-home-surface:   #f7f9fa;
	--pct-home-radius:    10px;
	--pct-home-gap:       clamp(52px, 7vw, 96px);
}

/* The archive header is empty on this page — no breadcrumb is output on the
   front page — so it would otherwise add a band of padding above the hero. */
.page-template-template-home .archive-header {
	padding: 0;
}

/* Shoptimizer pads .site-main by 2rem on any page without a breadcrumb,
   through `body:has(:not(.woocommerce-breadcrumb)) .site-main`. That is the
   white band that sat between the category bar and the hero. The id is what
   outranks the :has() selector. */
body.page-template-template-home #main.site-main {
	padding-top: 0;
}

/* The same 2rem again, on #content this time, through
   `body:has(:not(.woocommerce-breadcrumb)) .site-content`. The id outranks
   it here too, and the hero's own padding already spaces the headline. */
body.page-template-template-home #content.site-content {
	padding-top: 0;
}

/* Shoptimizer floats `.content-area` left for its sidebar layouts and cancels
   that only for the full-width templates it ships by name — a list this
   template cannot join. Left floated with no width it shrink-wraps to its
   content, which is why the bands hugged the left edge at about 75% of the
   viewport instead of running full width. These three rules are the parent's
   own full-width recipe, applied to this template. */
.page-template-template-home .site-content .col-full {
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

.page-template-template-home .content-area {
	width: 100%;
	max-width: none;
	float: none;
	clear: both;
	padding: 0;
}

.page-template-template-home .site-main {
	width: 100%;
}

/* --------------------------------------------------------------------------
   2. Section shell — shared by the category grid and the rails
   -------------------------------------------------------------------------- */

.pctmart-section {
	padding-top: var(--pct-home-gap);
	padding-bottom: var(--pct-home-gap);
}

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

.pctmart-section-title {
	margin: 0;
	color: var(--pct-home-ink);
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 600;
	line-height: 1.25;
}

.pctmart-section-sub {
	margin: 6px 0 0;
	color: var(--pct-home-muted);
	font-size: 14px;
}

.pctmart-section-more {
	flex: 0 0 auto;
	color: var(--pct-home-teal-deep);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.pctmart-section-more:hover,
.pctmart-section-more:focus {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. Category tiles
   -------------------------------------------------------------------------- */

.pctmart-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pctmart-cat-item {
	margin: 0;
	list-style: none;
}

.pctmart-cat-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	height: 100%;
	padding: 24px 16px;
	border: 1px solid var(--pct-home-line);
	border-radius: var(--pct-home-radius);
	background: #fff;
	color: var(--pct-home-ink);
	text-align: center;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pctmart-cat-link:hover,
.pctmart-cat-link:focus {
	border-color: var(--pct-home-teal);
	box-shadow: 0 4px 16px color-mix(in srgb, var(--pct-brand-deep) 12%, transparent);
	color: var(--pct-home-ink);
	transform: translateY(-2px);
}

.pctmart-cat-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 6px;
	border-radius: 50%;
	background: var(--pct-home-surface);
	overflow: hidden;
}

.pctmart-cat-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Monogram stand-in for a category with no thumbnail. Reads as a deliberate
   avatar rather than a missing image. */
.pctmart-cat-monogram {
	color: var(--pct-home-teal-deep);
	font-size: 26px;
	font-weight: 600;
	line-height: 1;
}

.pctmart-cat-name {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

.pctmart-cat-count {
	color: var(--pct-home-muted);
	font-size: 12px;
}

/* --------------------------------------------------------------------------
   4. Product rails

   The cards are WooCommerce's, untouched. This only turns the archive's grid
   into a scroller, so a rail holds ten products without ten rows of page.
   -------------------------------------------------------------------------- */

.pctmart-rail {
	/* Negative margin lets the first and last card sit flush with the grid
	   while the scroll padding keeps them clear of the edge mid-scroll. */
	margin-inline: -4px;
}

/* Three classes deep on purpose: the parent lays ul.products out as a
   wrapping grid with a rule this has to outrank, or the rail folds into two
   rows of five instead of scrolling. */
.pctmart-home .pctmart-rail ul.products {
	display: flex;
	flex-wrap: nowrap;
	grid-template-columns: none;
	/* The parent also sets width:calc(100% + 30px) with a -15px margin to
	   bleed its grid gutters; a rail has no gutters to bleed. */
	width: 100%;
	gap: 16px;
	margin: 0;
	padding: 4px 4px 12px;
	overflow-x: auto;
	/* An overflow-x other than visible turns overflow-y into auto as well,
	   which gave each rail a vertical scrollbar of its own. */
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	/* A hairline track in the page's own line colour, so it reads as a hint
	   that the row moves rather than as a control. */
	scrollbar-width: thin;
	scrollbar-color: #cfd6dd transparent;
	-webkit-overflow-scrolling: touch;
}

.pctmart-home .pctmart-rail ul.products::-webkit-scrollbar {
	height: 6px;
}

.pctmart-home .pctmart-rail ul.products::-webkit-scrollbar-track {
	background: transparent;
}

.pctmart-home .pctmart-rail ul.products::-webkit-scrollbar-thumb {
	border-radius: 3px;
	background: #cfd6dd;
}

.pctmart-home .pctmart-rail ul.products::before,
.pctmart-home .pctmart-rail ul.products::after {
	content: none;
}

/* Width is set here because the card's own column class assumes a grid. */
.pctmart-home .pctmart-rail ul.products li.product {
	flex: 0 0 auto;
	width: clamp(160px, 20vw, 216px);
	margin: 0 !important;
	padding: 0;
	scroll-snap-align: start;
	clear: none !important;
}

/* --------------------------------------------------------------------------
   5. Trust strip
   -------------------------------------------------------------------------- */

.pctmart-trust {
	border-block: 1px solid var(--pct-home-line);
	background: var(--pct-home-surface);
}

.pctmart-trust-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding-top: 32px;
	padding-bottom: 32px;
	list-style: none;
}

.pctmart-trust-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding-left: 16px;
	border-left: 3px solid var(--pct-home-teal);
	list-style: none;
}

.pctmart-trust-title {
	color: var(--pct-home-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.pctmart-trust-copy {
	color: var(--pct-home-muted);
	font-size: 13px;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   6. Closing CTA
   -------------------------------------------------------------------------- */

.pctmart-shop-cta {
	background: var(--pct-home-teal-deep);
	color: #fff;
}

.pctmart-shop-cta-inner {
	padding-top: clamp(48px, 6.5vw, 80px);
	padding-bottom: clamp(48px, 6.5vw, 80px);
	text-align: center;
}

.pctmart-shop-cta-title {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 600;
}

.pctmart-shop-cta-copy {
	margin: 0 0 24px;
	font-size: 15px;
	opacity: 0.9;
}

/* White on the brand band: the one action in the section, so it is the
   brightest thing in it. */
.pctmart-shop-cta-button {
	display: inline-block;
	padding: 13px 30px;
	border-radius: 25rem;
	background: #fff;
	color: var(--pct-brand-deep);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.pctmart-shop-cta-button:hover,
.pctmart-shop-cta-button:focus-visible {
	background: var(--pct-home-ink);
	color: #fff;
}

.pctmart-shop-cta-help {
	margin: 22px 0 0;
	font-size: 14px;
	opacity: 0.92;
}

.pctmart-shop-cta-mail {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pctmart-shop-cta-mail:hover,
.pctmart-shop-cta-mail:focus-visible {
	color: #fff;
	text-decoration-thickness: 2px;
}

/* The band is the last section on the page, so it meets the footer directly
   rather than leaving the footer's usual top margin as a white strip. */
.page-template-template-home .pctmart-footer {
	margin-top: 0;
}

/* Editor content, when the page itself carries any. */
.pctmart-home-editor {
	padding-top: var(--pct-home-gap);
	padding-bottom: var(--pct-home-gap);
}

/* --------------------------------------------------------------------------
   7. Narrower viewports
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
	.pctmart-trust-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.pctmart-cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pctmart-section-head {
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pctmart-hero-cta,
	.pctmart-shop-cta-button,
	.pctmart-cat-link {
		transition: none;
	}

	.pctmart-hero-cta:hover,
	.pctmart-shop-cta-button:hover,
	.pctmart-cat-link:hover {
		transform: none;
	}

	.pctmart-rail ul.products {
		scroll-snap-type: none;
	}
}

/* --------------------------------------------------------------------------
   8. Hero

   Light, two columns, after the supplied reference. The left column is static
   — the search must not move while someone is reaching for it — and only the
   card on the right rotates.
   -------------------------------------------------------------------------- */

.pctmart-hero {
	/* A soft band in the brand colour, fading to white at the bottom so the
	   next section starts on a clean edge — the reference's light-blue wash,
	   in our teal. */
	background: linear-gradient(160deg, var(--pct-brand-tint) 0%, var(--pct-brand-tint-soft) 40%, #ffffff 100%);
	border-bottom: 1px solid var(--pct-home-line);
}

/* Three doors below the columns, as on the reference: the places a visitor
   most often wants next. Real pages only — nothing here is a stub link. */
.pctmart-hero-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	/* Vertical only. The side margins and padding come from .pctmart-inner,
	   which centres this row on the same column as the hero above; a shorthand
	   here reset them to zero and pushed the row against the left edge. */
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: clamp(40px, 5vw, 64px);
	list-style: none;
}

.pctmart-hero-action {
	margin: 0;
	list-style: none;
}

.pctmart-hero-action a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 1px solid var(--pct-home-line);
	border-radius: 12px;
	background: #fff;
	color: var(--pct-home-ink);
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pctmart-hero-action a:hover,
.pctmart-hero-action a:focus {
	border-color: var(--pct-home-teal);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--pct-brand-deep) 14%, transparent);
	color: var(--pct-home-ink);
	transform: translateY(-2px);
}

.pctmart-hero-action-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 10px;
	background: var(--pct-brand-tint);
	color: #111;
}

.pctmart-hero-action-icon svg {
	width: 24px;
	height: 24px;
}

.pctmart-hero-action-title {
	display: block;
	margin: 0 0 2px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.pctmart-hero-action-sub {
	display: block;
	margin: 0;
	color: var(--pct-home-muted);
	font-size: 13px;
	line-height: 1.4;
}

@media (max-width: 900px) {
	.pctmart-hero-actions {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
}

.pctmart-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	/* Stretch, not centre: the banner then fills the full height of the copy
	   column and the two tops line up, instead of the banner floating 30px
	   lower than the headline. */
	align-items: stretch;
	gap: clamp(36px, 5.5vw, 72px);
	padding-top: clamp(52px, 7vw, 92px);
	padding-bottom: clamp(44px, 6vw, 76px);
}

.pctmart-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.pctmart-hero-title {
	margin: 0 0 20px;
	color: var(--pct-home-ink);
	font-size: clamp(28px, 3.7vw, 42px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-wrap: balance;
}

/* The second clause carries the brand colour, which is what gives the
   headline its shape in the reference. A span, not a block, so it can wrap
   naturally mid-sentence. */
.pctmart-hero-title-accent {
	color: var(--pct-home-teal-deep);
}

.pctmart-hero-sub {
	margin: 0 0 30px;
	max-width: 52ch;
	color: var(--pct-home-muted);
	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.65;
}

/* The hero's copy of the search: bigger than the header's, with a visible
   submit, because here it is the primary action rather than a utility. */
.pctmart-search-hero {
	max-width: 560px;
	height: 60px;
	margin: 0 0 26px;
	border: 1px solid var(--pct-home-line);
	border-radius: 25rem;
	background: #fff;
	box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
}

.pctmart-search-hero .pctmart-search-input {
	height: 58px;
	/* The pill is the form's border; the field itself draws none. */
	border: 0;
	border-radius: 25rem;
	box-shadow: none;
	padding-left: 46px;
	/* Room for the submit, which is absolutely placed at the end. */
	padding-right: 120px;
	background: transparent;
	color: var(--pct-home-ink);
	font-size: 15px;
}

.pctmart-search-hero .pctmart-search-icon {
	left: 18px;
	color: var(--pct-home-muted);
}

.pctmart-search-hero .pctmart-search-clear {
	right: 116px;
}

.pctmart-search-submit.is-visible {
	position: absolute;
	right: 6px;
	height: 46px;
	padding: 0 26px;
	border: 0;
	border-radius: 25rem;
	background: var(--pct-home-teal-deep);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.pctmart-search-submit.is-visible:hover,
.pctmart-search-submit.is-visible:focus {
	background: var(--pct-home-ink);
}

/* Proof chips */

.pctmart-hero-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.pctmart-hero-chip {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--pct-home-ink);
	font-size: 13px;
	font-weight: 500;
	list-style: none;
}

.pctmart-hero-chip-tick {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--pct-home-teal-deep);
	color: #fff;
}

/* Stat row */

/* A grid of equal columns rather than a wrapping flex row: wrapping dropped
   the last stat onto a line of its own on phones, still carrying the divider
   meant to separate it from its neighbour. */
.pctmart-hero-stats {
	display: grid;
	grid-auto-columns: max-content;
	grid-auto-flow: column;
	justify-content: start;
	margin: 0;
	/* A rule above the numbers gives the column a floor, so the stats read
	   as a footer to the pitch rather than as more chips. */
	padding: 22px 0 0;
	border-top: 1px solid var(--pct-home-line);
}

.pctmart-hero-stat {
	padding-right: clamp(16px, 2.5vw, 32px);
}

.pctmart-hero-stat + .pctmart-hero-stat {
	padding-left: clamp(16px, 2.5vw, 32px);
	border-left: 1px solid var(--pct-home-line);
}

.pctmart-hero-stat-value {
	margin: 0;
	color: var(--pct-home-ink);
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.pctmart-hero-stat-label {
	margin: 2px 0 0;
	color: var(--pct-home-muted);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Phones: three equal columns that fit the width, labels free to wrap onto
   two lines rather than push a column off the row. */
@media (max-width: 600px) {
	.pctmart-hero-stats {
		grid-auto-columns: minmax(0, 1fr);
	}

	.pctmart-hero-stat {
		padding-right: 12px;
	}

	.pctmart-hero-stat + .pctmart-hero-stat {
		padding-left: 12px;
	}

	.pctmart-hero-stat-label {
		letter-spacing: 0.04em;
		line-height: 1.35;
	}
}

/* --------------------------------------------------------------------------
   9. Hero banner carousel (right column)

   The track is a scroll-snap row, so touch, drag and keyboard scrolling are
   the browser's. Dots and arrows are added by sliders.js and therefore only
   styled — never relied on for the slides to be reachable.
   -------------------------------------------------------------------------- */

.pctmart-hero-media {
	position: relative;
	display: flex;
	min-width: 0;
}

.pctmart-hero-slider {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.pctmart-hero-track {
	display: flex;
	flex: 1 1 auto;
	overflow-x: auto;
	border-radius: 16px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.pctmart-hero-track::-webkit-scrollbar {
	display: none;
}

.pctmart-hero-slide {
	position: relative;
	flex: 0 0 100%;
	scroll-snap-align: start;
	/* No fixed aspect: the slide takes the height of the copy column beside
	   it, so the two columns are always the same height. A floor stops it
	   collapsing on a short viewport. */
	min-height: 320px;
	overflow: hidden;
}

.pctmart-hero-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* A promo with artwork: the card itself, linked when the promo has a link. */
.pctmart-hero-promo {
	position: relative;
	display: block;
	height: 100%;
	color: #fff;
	text-decoration: none;
}

.pctmart-hero-promo-text {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: clamp(20px, 3.5vw, 36px);
	/* A dark fade under the words only, so they read on any artwork without
	   dimming the whole picture. */
	background: linear-gradient(180deg, rgba(12, 17, 29, 0) 0%, rgba(12, 17, 29, 0.72) 100%);
}

.pctmart-hero-promo-text .pctmart-hero-card-title,
.pctmart-hero-promo-text .pctmart-hero-card-copy {
	display: block;
	margin: 0;
	color: #fff;
}

.pctmart-hero-promo:hover .pctmart-hero-card-cta,
.pctmart-hero-promo:focus-visible .pctmart-hero-card-cta {
	background: var(--pct-home-ink);
}

/* No promo running: one column, centred, so the page does not show a blank
   half where the card would be. */
.pctmart-hero-grid.is-solo {
	grid-template-columns: minmax(0, 1fr);
}

.pctmart-hero-grid.is-solo .pctmart-hero-copy {
	align-items: center;
	width: 100%;
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.pctmart-hero-grid.is-solo .pctmart-hero-sub {
	margin-inline: auto;
}

.pctmart-hero-grid.is-solo .pctmart-search-hero {
	width: 100%;
	margin-inline: auto;
}

.pctmart-hero-grid.is-solo .pctmart-hero-chips,
.pctmart-hero-grid.is-solo .pctmart-hero-stats {
	justify-content: center;
}

/* Tinted fallback card, used until a slide has an image. */
.pctmart-hero-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
	padding: clamp(24px, 4vw, 44px);
}

.pctmart-hero-slide.is-mint .pctmart-hero-card {
	background: linear-gradient(135deg, var(--pct-brand-tint) 0%, var(--pct-brand-tint-strong) 100%);
}

.pctmart-hero-slide.is-sand .pctmart-hero-card {
	background: linear-gradient(135deg, #fdf4e7 0%, #f7e8d2 100%);
}

.pctmart-hero-card-title {
	margin: 0 0 10px;
	max-width: 22ch;
	color: var(--pct-home-ink);
	font-size: clamp(18px, 2.2vw, 26px);
	font-weight: 700;
	line-height: 1.2;
}

.pctmart-hero-card-copy {
	margin: 0 0 18px;
	max-width: 34ch;
	color: #44506b;
	font-size: clamp(13px, 1.4vw, 15px);
	line-height: 1.55;
}

.pctmart-hero-card-cta {
	display: inline-block;
	padding: 10px 22px;
	border-radius: 25rem;
	background: var(--pct-home-teal-deep);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.pctmart-hero-card-cta:hover,
.pctmart-hero-card-cta:focus {
	background: var(--pct-home-ink);
	color: #fff;
}

/* Dots sit under the card on a light background, so they are ink not white. */
.pctmart-slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
}

.pctmart-slider-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #cfd6dd;
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}

.pctmart-slider-dot.is-current {
	width: 22px;
	border-radius: 4px;
	background: var(--pct-home-teal-deep);
}

.pctmart-slider-arrow {
	position: absolute;
	top: calc(50% - 14px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 8px rgba(16, 24, 40, 0.14);
	color: var(--pct-home-ink);
	cursor: pointer;
}

.pctmart-slider-arrow:hover,
.pctmart-slider-arrow:focus {
	background: #fff;
}

.pctmart-slider-arrow.is-prev {
	left: 10px;
}

.pctmart-slider-arrow.is-next {
	right: 10px;
}

/* --------------------------------------------------------------------------
   10. Hero at narrower widths
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
	.pctmart-hero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Banner above the copy would push the search below the fold, which is the
	   one thing this layout exists to avoid. */
	.pctmart-hero-copy {
		order: 1;
	}

	.pctmart-hero-media {
		order: 2;
	}

	.pctmart-search-hero {
		max-width: none;
	}

	.pctmart-slider-arrow {
		display: none;
	}
}

@media (max-width: 600px) {
	.pctmart-search-hero {
		height: 50px;
	}

	.pctmart-search-hero .pctmart-search-input {
		height: 48px;
		padding-right: 104px;
		/* iOS zooms the page when a focused field is under 16px. */
		font-size: 16px;
	}

	.pctmart-search-submit.is-visible {
		height: 40px;
		padding: 0 20px;
	}

	.pctmart-search-hero .pctmart-search-clear {
		right: 100px;
	}

	.pctmart-hero-slide {
		aspect-ratio: 4 / 3;
	}
}

/* The tile icon is the same markup as the sidebar's, just bigger. */
.pctmart-cat-media .pctmart-cat-icon.is-tile {
	width: 40px;
	height: 40px;
	color: #111;
}

.pctmart-cat-media .pctmart-cat-icon.is-tile svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
}

/* A photographic category image fills the circle; an SVG glyph sits inside it. */
.pctmart-cat-media .pctmart-cat-icon.is-tile .pctmart-cat-icon-img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

/* A tile photo fills the card rather than sitting in the icon circle — that
   is the difference between a product group-shot and a glyph. */
.pctmart-cat-item .pctmart-cat-media:has(.pctmart-cat-photo) {
	width: 100%;
	height: auto;
	border-radius: 0;
	background: transparent;
}

.pctmart-cat-photo {
	display: block;
	width: 100%;
	max-width: 132px;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
}

/* --------------------------------------------------------------------------
   11. Assurance band

   Three cards beside a short explainer, after the reference. Cards on the
   left so the eye lands on the proof before the pitch.
   -------------------------------------------------------------------------- */

.pctmart-assurance {
	background: linear-gradient(120deg, var(--pct-brand-tint) 0%, #f6f9fb 55%, #fdf6ee 100%);
	border-top: 1px solid var(--pct-home-line);
	border-bottom: 1px solid var(--pct-home-line);
}

.pctmart-assurance-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(20px, 3vw, 40px);
	padding-top: clamp(36px, 5vw, 60px);
	padding-bottom: clamp(36px, 5vw, 60px);
}

.pctmart-assurance-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pctmart-assurance-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin: 0;
	padding: 18px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	background: #fff;
	list-style: none;
	text-align: center;
}

.pctmart-assurance-icon {
	display: flex;
	width: 36px;
	height: 36px;
	margin-bottom: 6px;
	color: #111;
}

.pctmart-assurance-icon svg {
	width: 100%;
	height: 100%;
}

.pctmart-assurance-title {
	margin: 0 0 2px;
	color: #0c111d;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
}

.pctmart-assurance-line {
	margin: 0;
	color: #475467;
	font-size: 12px;
	line-height: 18px;
}

.pctmart-assurance-heading {
	margin: 0 0 8px;
	color: #0c111d;
	font-size: clamp(20px, 2.2vw, 24px);
	font-weight: 600;
	line-height: 1.3;
}

.pctmart-assurance-sub {
	margin: 0 0 12px;
	color: #475467;
	font-size: 15px;
	line-height: 1.55;
}

.pctmart-assurance-more {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--pct-home-teal-deep);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.pctmart-assurance-more:hover,
.pctmart-assurance-more:focus {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 900px) {
	.pctmart-assurance-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.pctmart-assurance-copy {
		order: -1;
	}
}

@media (max-width: 600px) {
	.pctmart-assurance-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.pctmart-assurance-card {
		flex-direction: row;
		gap: 12px;
		text-align: left;
	}

	.pctmart-assurance-icon {
		flex: 0 0 auto;
		margin-bottom: 0;
	}
}

/* --------------------------------------------------------------------------
   12. Reviews and blog carousels

   Both peek: several cards visible, arrows only, no autoplay. Scroll-snap
   does the movement, so touch and trackpad work without any JavaScript.
   -------------------------------------------------------------------------- */

.pctmart-reviews-slider,
.pctmart-blog-slider {
	position: relative;
}

.pctmart-reviews-track,
.pctmart-blog-track {
	display: flex;
	gap: 20px;
	padding: 4px;
	margin-inline: -4px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.pctmart-reviews-track::-webkit-scrollbar,
.pctmart-blog-track::-webkit-scrollbar {
	display: none;
}

.pctmart-review,
.pctmart-blog-card {
	flex: 0 0 auto;
	width: clamp(250px, 30%, 320px);
	scroll-snap-align: start;
}

/* Reviews */

.pctmart-review {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px 20px;
	border: 1px solid var(--pct-home-line);
	border-radius: 10px;
	background: #fff;
	text-align: center;
}

.pctmart-review-body {
	flex: 1 1 auto;
	margin-bottom: 14px;
	color: #344054;
	font-size: 15px;
	line-height: 1.6;
}

.pctmart-review-body p {
	margin: 0 0 0.8em;
}

.pctmart-review-body p:last-child {
	margin-bottom: 0;
}

.pctmart-review-stars {
	display: inline-flex;
	gap: 2px;
	margin-bottom: 10px;
	color: #d0d5dd;
}

.pctmart-review-star.is-on {
	color: #f5a524;
}

.pctmart-review-name {
	margin: 0 0 2px;
	color: #0c111d;
	font-size: 14px;
	font-weight: 600;
}

.pctmart-review-place {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	color: var(--pct-home-muted);
	font-size: 13px;
}

/* Blog */

.pctmart-blog-card {
	display: flex;
	flex-direction: column;
}

.pctmart-blog-media {
	display: block;
	margin-bottom: 12px;
	border-radius: 8px;
	overflow: hidden;
	line-height: 0;
	aspect-ratio: 16 / 9;
	background: var(--pct-home-surface);
}

.pctmart-blog-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pctmart-blog-media-empty {
	display: block;
	width: 100%;
	height: 100%;
}

.pctmart-blog-title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.pctmart-blog-title a {
	color: var(--pct-home-ink);
	text-decoration: none;
}

.pctmart-blog-title a:hover,
.pctmart-blog-title a:focus {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pctmart-blog-excerpt {
	flex: 1 1 auto;
	margin: 0 0 10px;
	color: var(--pct-home-muted);
	font-size: 14px;
	line-height: 1.55;
}

.pctmart-blog-more {
	color: var(--pct-home-teal-deep);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.pctmart-blog-more:hover,
.pctmart-blog-more:focus {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Arrows sit outside the cards on a peeking carousel so they do not cover
   the first and last one. */
.pctmart-reviews-slider .pctmart-slider-arrow,
.pctmart-blog-slider .pctmart-slider-arrow {
	top: 45%;
}

.pctmart-reviews-slider .pctmart-slider-arrow.is-prev,
.pctmart-blog-slider .pctmart-slider-arrow.is-prev {
	left: -14px;
}

.pctmart-reviews-slider .pctmart-slider-arrow.is-next,
.pctmart-blog-slider .pctmart-slider-arrow.is-next {
	right: -14px;
}

@media (max-width: 600px) {
	.pctmart-review,
	.pctmart-blog-card {
		width: 82%;
	}

	.pctmart-reviews-slider .pctmart-slider-arrow,
	.pctmart-blog-slider .pctmart-slider-arrow {
		display: none;
	}
}
