/*
 * VP tema: styles theme.json cannot express. Colours, sizes and fonts come from the
 * theme.json presets (var(--wp--preset--...)); nothing here hard-codes content.
 */

:root {
	--vp-ink: var(--wp--preset--color--ink, #0F1012);
	--vp-paper: var(--wp--preset--color--paper, #FFFFFF);
	--vp-stage: var(--wp--preset--color--stage, #EEEEEB);
	--vp-tile: var(--wp--preset--color--tile, #F4F4F2);
	--vp-line: var(--wp--preset--color--line, #E5E5E2);
	--vp-accent: var(--wp--preset--color--accent, #EC7200);
	--vp-accent-hover: #D96900;
	--vp-accent-text: var(--wp--preset--color--accent-text, #B85A00);
	--vp-muted: var(--wp--preset--color--muted, #5E636B);
	--vp-muted-strong: var(--wp--preset--color--muted-strong, #3A3E44);
	--vp-ok: var(--wp--preset--color--ok, #1E7A3C);
	--vp-off: var(--wp--preset--color--off, #6B7078);
	--vp-carnix: var(--wp--preset--color--carnix, #B5121B);
	--vp-r-card: var(--wp--custom--radius--card, 16px);
	--vp-r-inner: var(--wp--custom--radius--inner, 12px);
	--vp-r-tile: var(--wp--custom--radius--tile, 24px);
	--vp-r-band: var(--wp--custom--radius--band, 28px);
	--vp-ease: cubic-bezier(.2, .7, .2, 1);
}

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

body {
	font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4,
.wp-block-heading,
.is-style-display,
.vp-display {
	font-stretch: 110%;
	text-wrap: balance;
}

/* Brand pair kept on one line in headings (see heading_keep_brands_together()). */
.vp-nowrap {
	white-space: nowrap;
}

/* Section intro: eyebrow, full-width title, short paragraph below (home "Brendlər"). */
.vp-section-intro > .wp-block-heading {
	margin-top: 8px;
}

.vp-section-intro > p:not(.is-style-eyebrow) {
	max-width: 900px;
	margin-top: 16px;
	font-size: 17px;
	line-height: 1.6;
}

/* Titles (h1, h2) keep the wide capitals; sub-headings read as sentences. */
h3, h4, h5, h6 {
	text-transform: none;
	font-stretch: 100%;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

/* ---------- Content pages (About, Contact, FAQ, Services) ---------- */

.vp-lead {
	max-width: 620px;
	margin-top: 16px;
	font-size: 20px;
	line-height: 1.5;
	color: var(--vp-muted-strong);
}

.vp-statement {
	max-width: 640px;
	margin-top: 20px;
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.vp-page-head .wp-block-post-title,
.vp-page .wp-block-post-title {
	margin: 0;
}

/* Contact: branches on tiles beside the map of all branches. */
.vp-branches {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vp-branches > .vp-branch {
	margin: 0;
	padding: 22px 24px;
	border-radius: var(--vp-r-card);
	background: var(--vp-tile);
}

.vp-branch > * {
	margin: 0;
}

.vp-branch > * + * {
	margin-top: 6px;
}

h2.vp-branch__name {
	font-size: 20px;
	font-stretch: 100%;
	text-transform: none;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.vp-branch__tel {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	font-size: 18px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.vp-branch__tel a,
.vp-branch__map a {
	text-decoration: none;
}

.vp-branch__tel a:hover,
.vp-branch__map a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vp-branch__map a {
	font-size: 15px;
	font-weight: 600;
	color: var(--vp-accent-text);
}

.vp-branch__map a::after {
	content: " →";
}

.vp-contact__map {
	min-height: 420px;
	border-radius: var(--vp-r-tile);
	overflow: hidden;
	background: var(--vp-stage);
}

.vp-contact__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 420px;
	border: 0;
}

.vp-contact-strip {
	margin-top: var(--wp--preset--spacing--60) !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 32px 40px !important;
}

.vp-contact-strip > * {
	margin: 0 !important;
}

.vp-facts {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.vp-facts > * {
	margin: 0 !important;
}

/* The wholesale band closes a page: no extra gap before the footer. */
main.vp-page > .is-style-cta-band:last-child {
	margin-bottom: 0 !important;
}

.vp-contact-strip p {
	margin-top: 8px;
}

/* About: the figures band and the two-column "what we do". */
.vp-about-cars {
	position: relative;
	min-height: 300px;
	overflow: hidden;
}

.vp-about-cars .wp-block-image {
	position: absolute !important;
	margin: 0 !important;
	width: 78%;
}

.vp-about-cars .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.vp-about-cars__a {
	left: -6%;
	top: 8%;
}

.vp-about-cars__b {
	right: -10%;
	bottom: 4%;
}

.vp-figures {
	padding: clamp(28px, 4vw, 56px);
	border-radius: var(--vp-r-tile);
	background: var(--vp-ink);
	color: var(--vp-paper);
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 32px !important;
}

.vp-figures > * {
	margin: 0 !important;
}

.vp-figures p {
	margin: 0;
	font-size: 16px;
	color: #C9CBCF;
}

.vp-figures .vp-figure__num,
.vp-figures .vp-stat .vp-stat__value {
	font-size: clamp(40px, 5vw, 72px);
	font-weight: 800;
	font-stretch: 110%;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--vp-paper);
	margin-bottom: 10px;
}

.vp-figures .vp-stat {
	min-height: 0;
	padding: 0 !important;
	background: transparent !important;
	color: inherit !important;
	justify-content: flex-start;
}

.vp-facts {
	gap: 36px 40px !important;
}

.vp-facts h3 {
	font-size: 22px;
	margin: 0 0 8px;
}

.vp-facts p,
.vp-about-body p {
	margin-top: 0;
	font-size: 17px;
	line-height: 1.55;
}

/* FAQ: title column stays in view while the questions scroll. */
@media (min-width: 782px) {
	.vp-sticky-col {
		position: sticky;
		top: 24px;
		align-self: flex-start;
	}
}

.vp-sticky-col .wp-block-buttons {
	margin-top: 24px;
}

h2.vp-faq__group {
	font-size: 22px;
	font-stretch: 100%;
	text-transform: none;
	margin: 40px 0 14px;
}

h2.vp-faq__group:first-child {
	margin-top: 8px;
}

/* Services */
.vp-service__main {
	min-height: clamp(420px, 40vw, 540px);
	--vp-cutout-w: 50%;
	gap: 20px;
}

.vp-service__main .vp-lead {
	max-width: 380px;
}

.vp-service__main .vp-cutout {
	right: -48px;
	bottom: -8px;
}

.vp-service__where {
	gap: 16px;
}

.vp-service__where p {
	margin: 0;
}

.vp-service__where a {
	text-decoration: none;
	font-weight: 700;
}

@media (max-width: 781px) {
	.vp-figures {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.vp-contact-strip,
	.vp-facts {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.vp-contact__map,
	.vp-contact__map iframe {
		min-height: 340px;
	}

	.vp-about-cars {
		min-height: 220px;
	}

	.vp-service__main {
		min-height: 520px;
		--vp-cutout-w: 90%;
	}

	.vp-service__main .vp-cutout {
		right: -20%;
		bottom: 16px;
	}

	.vp-lead {
		font-size: 18px;
	}
}

.vp-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

:where(a, button, input, select, summary):focus-visible {
	outline: 2px solid var(--vp-accent);
	outline-offset: 2px;
}

/* ---------- Text styles ---------- */

.is-style-eyebrow,
.vp-eyebrow {
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.is-style-original-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	min-height: 30px;
	padding: 0 12px !important;
	border-radius: 999px;
	background: var(--vp-ink);
	color: var(--vp-paper) !important;
	font-size: 14px !important;
	font-weight: 700;
}

.is-style-original-pill::before {
	content: "";
	width: 12px;
	height: 12px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237BD88F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */

.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	font-stretch: 100%;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease, transform .1s ease, box-shadow .15s ease;
}

.wp-block-button__link:active,
.vp-btn:active {
	transform: translateY(1px);
}

.wp-block-button.is-style-ink .wp-block-button__link {
	background: var(--vp-ink);
	color: var(--vp-paper);
}

.wp-block-button.is-style-ink .wp-block-button__link:hover {
	background: #2A2D32;
	color: var(--vp-paper);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--vp-ink);
	box-shadow: inset 0 0 0 1.5px var(--vp-ink);
	border: 0;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--vp-ink);
	color: var(--vp-paper);
}

.wp-block-button.is-style-small .wp-block-button__link,
.wp-block-button.is-style-small-ink .wp-block-button__link {
	min-height: 42px;
	padding: 0 18px;
	font-size: 14px;
}

.wp-block-button.is-style-small-ink .wp-block-button__link {
	background: var(--vp-ink);
	color: var(--vp-paper);
}

.vp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition: background-color .15s ease, color .15s ease, transform .1s ease;
}

.vp-btn--accent {
	background: var(--vp-accent);
	color: var(--vp-ink);
}

.vp-btn--accent:hover {
	background: var(--vp-accent-hover);
	color: var(--vp-ink);
}

.vp-btn--accent.is-added {
	background: var(--vp-ink);
	color: var(--vp-paper);
}

.vp-btn--line {
	background: var(--vp-paper);
	color: var(--vp-ink);
	box-shadow: inset 0 0 0 1.5px var(--vp-ink);
}

.vp-btn--line:hover {
	background: var(--vp-tile);
}

.vp-btn--off {
	background: #EEEEEC;
	color: var(--vp-off);
	cursor: not-allowed;
	width: 100%;
}

.vp-btn--sm {
	height: 38px;
	padding: 0 14px;
	font-size: 14px;
}

.vp-btn[disabled] {
	opacity: .6;
	cursor: progress;
}

/* ---------- Tiles (Group block styles) ---------- */

.is-style-stage-tile,
.is-style-accent-tile,
.is-style-bordered-tile,
.is-style-soft-tile {
	position: relative;
	overflow: hidden;
	border-radius: var(--vp-r-tile);
	padding: clamp(24px, 3.5vw, 48px);
	box-sizing: border-box;
}

.is-style-stage-tile {
	background-color: var(--vp-stage);
}

.is-style-accent-tile {
	background-color: var(--vp-accent);
	color: var(--vp-ink);
}

.is-style-accent-tile a:not(.wp-element-button) {
	color: var(--vp-ink);
}

.is-style-bordered-tile {
	background-color: var(--vp-paper);
	border: 1px solid var(--vp-line);
}

.is-style-soft-tile {
	background-color: var(--vp-tile);
	border-radius: 20px;
}

.is-style-cta-band {
	border-radius: var(--vp-r-band);
	background-color: var(--vp-accent);
	color: var(--vp-ink);
	padding: clamp(32px, 5vw, 64px);
}

.wp-block-cover.is-style-stage-tile {
	background-color: var(--vp-stage);
}

a.vp-tile-link,
.vp-tile-link a {
	text-decoration: none;
}

/* Tiles that hold a cut-out image: the image sits at the bottom right. */
.vp-has-cutout {
	min-height: 270px;
}

.vp-has-cutout > *:not(.vp-cutout) {
	position: relative;
	z-index: 1;
}

.vp-cutout {
	position: absolute !important;
	right: -4%;
	bottom: 6%;
	width: var(--vp-cutout-w, 52%);
	margin: 0 !important;
	z-index: 0;
	pointer-events: none;
}

.vp-cutout img {
	width: 100%;
	height: auto;
	display: block;
}

.is-style-cutout img {
	filter: drop-shadow(0 26px 18px rgba(15, 16, 18, .22));
}

.vp-hero-main {
	min-height: clamp(420px, 42vw, 560px);
	--vp-cutout-w: 56%;
}

.vp-hero-main .vp-cutout {
	right: -60px;
	bottom: 48px;
}

/* The hero title sizes itself to its tile, so it always reads "Hyundai və Kia / üçün ehtiyat /
   hissələri" without splitting the brand names. */
.vp-hero-main {
	container-type: inline-size;
}

.vp-hero-main h1 {
	max-width: none;
	font-size: clamp(26px, 9.4cqi, 64px);
	line-height: 1.08;
}

/* The paragraph is about as wide as the title, so the two read as one block. */
.vp-hero-main .vp-w-md {
	max-width: min(600px, 100%);
	line-height: 1.6;
}

.vp-hero-side {
	--vp-cutout-w: 46%;
}

.vp-push-bottom {
	margin-top: auto !important;
}

/* Home page "Yeni gələnlər" tile (vp/new-arrivals-tile): photos of the newest arrivals, fanned out. */
.vp-new-tile {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vp-new-tile > h2 {
	overflow-wrap: normal;
	word-break: keep-all;
}

.vp-new-tile > p {
	max-width: 50%;
}

/* Text rows only as wide as their content, so the photos under them stay hoverable and clickable. */
.vp-new-tile > h2,
.vp-new-tile > .wp-block-buttons {
	align-self: flex-start;
}

.vp-new-tile__photos {
	position: absolute !important;
	right: 3%;
	bottom: 7%;
	width: 45%;
	aspect-ratio: 1 / 1;
	max-height: 80%;
	z-index: 0 !important;
}

.vp-new-tile__photo {
	--x: 0px;
	--y: 0px;
	--r: 0deg;
	--s: 1;
	position: absolute;
	width: 58%;
	aspect-ratio: 1 / 1;
	padding: 6px;
	box-sizing: border-box;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 14px 28px rgba(15, 16, 18, .22);
	transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s));
	transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
	will-change: transform;
}

.vp-new-tile__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 11px;
}

/* Newest in front, in the middle; the next two behind it, to the left and right. */
.vp-new-tile__photo:nth-child(1) { left: 21%; top: 4%; --r: 2deg; z-index: 3; }
.vp-new-tile__photo:nth-child(2) { left: 0; top: 30%; --r: -10deg; z-index: 2; }
.vp-new-tile__photo:nth-child(3) { left: 42%; top: 34%; --r: 10deg; z-index: 1; }

.vp-new-tile__photos--1 .vp-new-tile__photo:nth-child(1) { left: 18%; top: 18%; width: 64%; }
.vp-new-tile__photos--2 .vp-new-tile__photo:nth-child(1) { left: 6%; top: 10%; --r: -6deg; }
.vp-new-tile__photos--2 .vp-new-tile__photo:nth-child(2) { left: 38%; top: 30%; --r: 8deg; }

/* Hovering the tile fans the cards out; the card under the mouse lifts, straightens and comes forward. */
@media (hover: hover) {
	.vp-new-tile:hover .vp-new-tile__photo:nth-child(1) { --y: -6px; }
	.vp-new-tile:hover .vp-new-tile__photo:nth-child(2) { --x: -14%; --y: 4px; --r: -15deg; }
	.vp-new-tile:hover .vp-new-tile__photo:nth-child(3) { --x: 14%; --y: 4px; --r: 15deg; }
	.vp-new-tile:hover .vp-new-tile__photos--2 .vp-new-tile__photo:nth-child(1) { --x: -8%; --r: -10deg; }
	.vp-new-tile:hover .vp-new-tile__photos--2 .vp-new-tile__photo:nth-child(2) { --x: 8%; --r: 12deg; }

	.vp-new-tile .vp-new-tile__photo:hover {
		--y: -12px;
		--r: 0deg;
		--s: 1.1;
		z-index: 4;
		box-shadow: 0 22px 40px rgba(15, 16, 18, .3);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vp-new-tile__photo {
		transition: none;
	}
}

.vp-stack {
	display: flex;
	flex-direction: column;
}

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

.vp-utility {
	font-size: 13px;
	color: var(--vp-muted-strong);
}

.vp-utility a {
	font-weight: 700;
	text-decoration: none;
}

.vp-utility a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vp-dot::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--vp-accent);
	margin-right: 8px;
	vertical-align: middle;
}

.vp-header-main .wp-block-site-logo img {
	height: 54px;
	width: auto;
}

.vp-header-main .vp-search {
	flex: 1 1 420px;
	max-width: 760px;
	min-width: 0;
}

.vp-header-nav {
	border-top: 1px solid #EEEEEC;
}

.vp-header-nav .wp-block-navigation a {
	text-decoration: none;
}

.vp-header-nav .wp-block-navigation a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.vp-more {
	font-weight: 700;
}

.vp-more a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.vp-more a::after {
	content: "";
	width: 16px;
	height: 16px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EC7200' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

.vp-more a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* "Mağaza satışı" link for store staff, managers and admins (vp-only-staff). */
.vp-staff-link {
	margin: 0;
	white-space: nowrap;
}

.vp-staff-link a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.vp-staff-link a:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
}

.vp-account {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.vp-account:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Cart count: plain orange number, no dark bubble. The block sets its colours inline, hence
   !important. */
.wp-block-woocommerce-mini-cart .wc-block-mini-cart__badge {
	min-width: 0;
	height: auto;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: var(--vp-accent) !important;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	transform: translate(4px, -6px);
}

.vp-catmenu {
	position: relative;
}

.vp-catmenu__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--vp-ink);
	color: var(--vp-paper);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.vp-catmenu__btn::-webkit-details-marker {
	display: none;
}

.vp-catmenu__btn:hover {
	background: #2A2D32;
}

.vp-catmenu__list {
	position: absolute;
	z-index: 50;
	top: calc(100% + 8px);
	left: 0;
	min-width: 280px;
	max-height: 70vh;
	overflow: auto;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--vp-paper);
	border: 1px solid var(--vp-line);
	border-radius: var(--vp-r-card);
	box-shadow: 0 18px 40px rgba(15, 16, 18, .18);
}

.vp-catmenu__list ul {
	list-style: none;
	padding-left: 14px;
}

.vp-catmenu__list a {
	display: block;
	padding: 9px 12px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
}

.vp-catmenu__list a:hover {
	background: var(--vp-tile);
}

.vp-catmenu__all {
	border-top: 1px solid var(--vp-line);
	margin-top: 6px;
	padding-top: 6px;
}

/* ---------- Search ---------- */

.vp-search {
	display: flex;
	align-items: center;
	height: 56px;
	padding: 6px;
	background: var(--vp-tile);
	border: 1px solid var(--vp-line);
	border-radius: 999px;
	box-sizing: border-box;
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.vp-search:focus-within {
	background: var(--vp-paper);
	border-color: var(--vp-accent);
	box-shadow: 0 0 0 3px rgba(236, 114, 0, .25);
}

.vp-search__cat {
	flex: 0 1 auto;
	max-width: 200px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--vp-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	padding: 0 10px 0 16px;
	cursor: pointer;
}

.vp-search__cat:focus-visible,
.vp-search__input:focus-visible {
	outline: none;
}

.vp-search__sep {
	width: 1px;
	height: 26px;
	background: #D9D9D6;
	flex: 0 0 auto;
}

.vp-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--vp-ink);
	padding: 0 16px;
	font: inherit;
	font-size: 16px;
}

.vp-search__input::placeholder {
	color: var(--vp-off);
}

.vp-search__input::-webkit-search-cancel-button {
	display: none;
}

.vp-search__go {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--vp-accent);
	color: var(--vp-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color .15s ease;
}

.vp-search__go:hover {
	background: var(--vp-accent-hover);
}

/* ---------- Pills, chips, badges ---------- */

.vp-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.vp-pill--genuine {
	background: var(--vp-ink);
	color: var(--vp-paper);
}

.vp-pill--genuine svg {
	color: #7BD88F;
}

.vp-pill--brand {
	background: var(--vp-paper);
	color: var(--vp-ink);
	box-shadow: inset 0 0 0 1px #D9D9D6;
}

.vp-make--hyundai {
	height: 10px;
	width: auto;
}

.vp-make--kia {
	height: 12px;
	width: auto;
}

.vp-brand-logo {
	height: 20px;
	width: auto;
	max-width: 90px;
	object-fit: contain;
}

.vp-brand-name {
	font-weight: 800;
	font-style: italic;
	letter-spacing: .08em;
	font-size: 13px;
	text-transform: uppercase;
}

.vp-brand-name--carnix {
	color: var(--vp-carnix);
}

.vp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-chip {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--vp-tile);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

.vp-chip:hover {
	background: #E9E9E6;
	text-decoration: underline;
	text-underline-offset: 3px;
}

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

.vp-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	background: var(--vp-paper);
	border: 1px solid var(--vp-line);
	border-radius: var(--vp-r-card);
	overflow: hidden;
	transition: border-color .15s ease;
}

.vp-card:hover {
	border-color: #C9C9C5;
}

.vp-card__media {
	position: relative;
	display: block;
	margin: 8px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--vp-tile);
	border-radius: var(--vp-r-inner);
}

.vp-card .vp-card__media img.vp-card__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.vp-card .vp-card__media .vp-pill,
.vp-card .vp-card__media .vp-card__cat,
.vp-card .vp-card__media .vp-card__mark {
	z-index: 1;
}

.vp-card .vp-card__mark img.vp-make,
.vp-origin__mark img.vp-make {
	display: block;
	width: auto;
	max-width: none;
	margin: 0;
}

.vp-card .vp-card__mark img.vp-make--hyundai {
	height: 10px;
}

.vp-card .vp-card__mark img.vp-make--kia {
	height: 12px;
}

.vp-card .vp-card__mark img.vp-brand-logo {
	width: auto;
	height: 20px;
	max-width: 90px;
	margin: 0;
}

.vp-card__cat {
	position: absolute;
	top: 14px;
	left: 14px;
	right: 110px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--vp-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vp-card__media .vp-pill {
	position: absolute;
	top: 10px;
	right: 10px;
}

.vp-card__mark {
	position: absolute;
	left: 10px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 28px;
	padding: 0 10px;
	background: var(--vp-paper);
	border-radius: 8px;
}

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

.vp-card__num {
	font-size: 19px;
	line-height: 1.1;
	font-weight: 800;
	font-stretch: 110%;
	text-transform: uppercase;
	letter-spacing: .01em;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.vp-card__num:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vp-card__name {
	margin: 0;
	font-size: 14px;
	color: var(--vp-muted);
}

.vp-card__foot {
	margin-top: auto;
	padding-top: 12px;
}

/* ---------- Price ---------- */

.vp-price__row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin: 6px 0 0;
}

.vp-price__main {
	font-size: 22px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.vp-price--panel .vp-price__main {
	font-size: 34px;
	font-stretch: 110%;
}

/* Wholesale customers and store staff: "Wholesale 30 ₼ · Retail 35 ₼". */
.vp-price--both .vp-price__row {
	column-gap: 18px;
	row-gap: 4px;
	/* Clips the dot when the retail price wraps to its own line. */
	overflow: hidden;
}

/* The "Wholesale" word looks the same as the wholesale price after it. */
.vp-price__wholesale,
.vp-price__wholesale strong {
	color: var(--vp-accent-text);
	font-size: 18px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.vp-price--both .vp-price__main {
	position: relative;
	font-size: 18px;
}

.vp-price--both .vp-price__wholesale + .vp-price__main::before {
	content: "\00b7";
	position: absolute;
	right: 100%;
	width: 18px;
	text-align: center;
	color: var(--vp-muted);
}

.vp-price--both.vp-price--panel .vp-price__main {
	font-size: 26px;
}

.vp-price--both.vp-price--panel .vp-price__wholesale,
.vp-price--both.vp-price--panel .vp-price__wholesale strong {
	font-size: 28px;
}

/* Narrow product cards: shrink the two prices so a label and its amount stay on one line. */
.vp-price--card.vp-price--both {
	container-type: inline-size;
	width: 100%;
}

.vp-price--card.vp-price--both .vp-price__main {
	font-size: clamp(13px, 9.8cqi, 18px);
}

.vp-price--card.vp-price--both .vp-price__wholesale,
.vp-price--card.vp-price--both .vp-price__wholesale strong {
	font-size: clamp(13px, 12cqi, 18px);
}

/* Search suggestions and short lists: the two prices on two small lines, no dot. */
.vp-price--inline .vp-price__row {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	row-gap: 0;
	margin: 0;
}

.vp-price--inline .vp-price__main::before {
	display: none;
}

.vp-price--both.vp-price--inline .vp-price__main,
.vp-price--inline .vp-price__wholesale,
.vp-price--inline .vp-price__wholesale strong {
	font-size: 14px;
}

.vp-price__login {
	font-size: 13px;
	font-weight: 600;
	color: var(--vp-accent-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vp-price__login:hover {
	color: #8F4600;
}

/* ---------- Order form (card and panel) ---------- */

.vp-order {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.vp-order__wh {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.vp-order__wh legend {
	padding: 0;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--vp-muted);
}

.vp-order__wh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	grid-auto-flow: column;
	gap: 6px;
}

.vp-wh {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 7px 10px;
	border-radius: 10px;
	border: 1.5px solid transparent;
	background: var(--vp-tile);
	cursor: pointer;
	font-size: 13px;
	line-height: 1.25;
	min-width: 0;
	transition: background-color .15s ease, border-color .15s ease;
}

.vp-wh:hover {
	border-color: var(--vp-ink);
}

.vp-wh__name {
	font-weight: 700;
	overflow-wrap: anywhere;
	line-height: 1.2;
}

.vp-wh__stock {
	color: var(--vp-ok);
}

.vp-wh.is-on {
	background: var(--vp-ink);
	border-color: var(--vp-ink);
	color: var(--vp-paper);
}

.vp-wh.is-on .vp-wh__stock {
	color: #BFE8CB;
}

.vp-wh.is-off {
	background: var(--vp-paper);
	color: var(--vp-off);
	border: 1.5px dashed #D9D9D6;
	cursor: not-allowed;
}

.vp-wh.is-off .vp-wh__stock {
	color: var(--vp-off);
}

.vp-wh:has(input:focus-visible) {
	outline: 2px solid var(--vp-accent);
	outline-offset: 2px;
}

.vp-order__row {
	display: flex;
	gap: 6px;
}

.vp-order__row[hidden] {
	display: none;
}

.vp-order__add {
	flex: 1 1 auto;
}

.vp-qty {
	display: inline-flex;
	align-items: center;
	height: 44px;
	background: var(--vp-tile);
	border-radius: 999px;
	flex: 0 0 auto;
}

.vp-qty__btn {
	width: 32px;
	height: 44px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 18px;
	color: var(--vp-ink);
	cursor: pointer;
}

.vp-qty__input {
	width: 34px;
	height: 36px;
	border: 0;
	background: transparent;
	text-align: center;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--vp-ink);
	padding: 0;
	font-variant-numeric: tabular-nums;
}

.vp-qty__input:focus {
	outline: 2px solid var(--vp-accent);
	border-radius: 8px;
}

.vp-order__stock {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--vp-ok);
}

.vp-order__incart {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 12px;
	color: var(--vp-muted);
}

.vp-order__incart svg {
	color: var(--vp-ok);
	flex: 0 0 auto;
}

.vp-order__incart[hidden],
.vp-order__confirm[hidden],
.vp-order__error[hidden] {
	display: none;
}

.vp-order__confirm {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	background: #FFF4E8;
	border: 1px solid #F2C796;
	border-radius: 12px;
	animation: vpIn .18s ease-out;
}

.vp-order__confirm p {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
}

.vp-order__confirm-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}

.vp-order__error {
	margin: 0;
	font-size: 13px;
	color: #A3260F;
}

.vp-order__error.is-notice {
	padding: 8px 10px;
	color: var(--wp--preset--color--ink, #111);
	background: #FFF4E5;
	border-left: 3px solid var(--wp--preset--color--accent, #F26B1D);
	border-radius: 6px;
}

.vp-order__alt {
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.vp-order__note {
	margin: 0;
	font-size: 13px;
	color: var(--vp-muted);
}

@keyframes vpIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Product page ---------- */

.vp-part-heading__cat {
	color: var(--vp-accent-text);
}

.vp-part-heading__num {
	margin: 10px 0 0;
	font-size: clamp(30px, 3.6vw, 48px);
	overflow-wrap: anywhere;
}

.vp-part-heading__name {
	margin: 8px 0 0;
	font-size: 18px;
	color: var(--vp-muted-strong);
}

.vp-replacements__label {
	margin: 0 0 10px;
	color: var(--vp-muted);
}

.vp-chip--ok {
	gap: 6px;
	background: #E8F3EC;
}

.vp-chip--ok:hover {
	background: #DCEDE2;
}

.vp-chip__check {
	color: var(--vp-ok);
	font-weight: 800;
}

.vp-replacements__note {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--vp-muted);
}

.vp-replacements__label--same {
	margin-top: 18px;
}

.vp-replacements__same {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.vp-replacements__same li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}

.vp-replacements__same a {
	color: inherit;
	font-weight: 600;
}

.vp-replacements__stock {
	font-size: 12px;
	color: var(--vp-muted);
}

.vp-replacements__stock.is-in {
	color: var(--vp-ok);
}

.vp-replace-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 16px;
	padding: 14px 18px;
	border: 1px solid #CFE5D7;
	border-radius: var(--vp-r-inner);
	background: #F1F8F3;
}

.vp-replace-note p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

.vp-replace-note a {
	font-weight: 700;
}

.vp-replace-note__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--vp-ok);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.vp-origin {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--vp-line);
	border-radius: var(--vp-r-card);
}

.vp-origin__icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--vp-ink);
	color: var(--vp-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.vp-origin__text {
	flex: 1 1 auto;
}

.vp-origin__title {
	margin: 0;
	font-weight: 800;
}

.vp-origin__sub {
	margin: 2px 0 0;
	font-size: 14px;
	color: var(--vp-muted);
}

.vp-origin__mark {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.vp-origin__mark .vp-make--hyundai { height: 13px; }
.vp-origin__mark .vp-make--kia { height: 16px; }
.vp-origin__mark .vp-brand-logo { height: 28px; }

.vp-panel {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px;
	background: var(--vp-tile);
	border-radius: 20px;
}

.vp-panel .vp-price__row {
	margin: 0;
}

.vp-panel .vp-order__wh legend {
	margin-bottom: 8px;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--vp-muted-strong);
}

.vp-panel .vp-order__wh-grid {
	gap: 10px;
}

.vp-panel .vp-wh {
	padding: 14px 16px;
	font-size: 15px;
	background: var(--vp-paper);
}

.vp-panel .vp-wh.is-on {
	background: var(--vp-ink);
}

.vp-panel .vp-qty,
.vp-panel .vp-order__add {
	height: 52px;
}

.vp-panel .vp-qty__btn {
	height: 52px;
	width: 40px;
}

.vp-panel .vp-qty__input {
	width: 44px;
}

.vp-panel .vp-btn--off {
	height: 52px;
}

.vp-specs__title {
	font-size: 24px;
	margin: 0 0 18px;
}

.vp-specs__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 40px;
	margin: 0;
}

.vp-specs__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--vp-line);
	font-size: 15px;
}

.vp-specs__row dt {
	color: var(--vp-muted);
}

.vp-specs__row dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
}

.vp-gallery-tile {
	background: var(--vp-tile);
	border-radius: 20px;
	padding: 0;
	overflow: hidden;
	align-self: flex-start;
}

.vp-gallery-tile .wp-block-woocommerce-product-image-gallery {
	max-width: none !important;
	width: 100%;
	margin: 0 !important;
}

.vp-gallery-tile .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.vp-gallery-tile .woocommerce-product-gallery__image a {
	display: block;
}

.vp-gallery-tile .woocommerce-product-gallery__image img,
.vp-gallery-tile .wp-block-woocommerce-product-image-gallery img {
	display: block;
	width: 100% !important;
	height: auto;
	max-width: none;
	margin: 0;
	mix-blend-mode: multiply;
}

.vp-gallery-tile .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 12px;
	list-style: none;
	background: var(--vp-paper);
}

.vp-gallery-tile .flex-control-thumbs li {
	width: 72px !important;
	float: none !important;
	margin: 0 !important;
}

.vp-gallery-tile .flex-control-thumbs img {
	width: 72px !important;
	height: 72px;
	object-fit: contain;
	border-radius: 10px;
	background: var(--vp-tile);
	mix-blend-mode: multiply;
	opacity: .6;
	cursor: pointer;
}

.vp-gallery-tile .flex-control-thumbs img.flex-active,
.vp-gallery-tile .flex-control-thumbs img:hover {
	opacity: 1;
}

.vp-gallery-tile .woocommerce-product-gallery__trigger {
	z-index: 2;
}

/* ---------- Product grids (Product Collection) ---------- */

.wp-block-woocommerce-product-collection .wc-block-product-template {
	gap: 20px;
}

.wp-block-woocommerce-product-collection .wc-block-product-template > li.wc-block-product {
	margin: 0;
	padding: 0;
	text-align: left;
}

.wc-block-product-template.is-flex-container.wc-block-product-template__responsive {
	grid-gap: 20px;
}

/* ---------- Category circles ---------- */

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

/* 8 categories: one row on wide screens, two rows of 4 below. */
@media (min-width: 1100px) {
	.vp-circles {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}
}

.vp-circles__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	text-decoration: none;
}

.vp-circles__img {
	width: min(148px, 100%);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--vp-tile);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: background-color .15s ease;
}

.vp-circles__img img {
	width: 62%;
	height: 62%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.vp-circles__name {
	font-weight: 700;
	font-size: 16px;
}

.vp-circles__item:hover .vp-circles__img {
	background: #ECECE9;
}

.vp-circles__item:hover .vp-circles__name {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------- Service strip ---------- */
/* The pattern and its block style are gone; these rules stay for pages and templates that were
   saved with the strip before it was removed. */

.is-style-service-strip {
	border: 1px solid var(--vp-line);
	border-radius: 20px;
	overflow: hidden;
	gap: 0 !important;
}

.is-style-service-strip > * {
	padding: 26px 28px;
	margin: 0 !important;
}

.is-style-service-strip > * + * {
	border-left: 1px solid var(--vp-line);
}

.vp-service {
	display: flex;
	gap: 16px;
	align-items: center;
}

.vp-service p {
	margin: 0;
}

.vp-icon-circle {
	flex: 0 0 auto;
	width: 52px !important;
	height: 52px;
	border-radius: 50%;
	background: var(--vp-ink);
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
}

.vp-icon-circle img {
	width: 24px !important;
	height: 24px !important;
}

/* ---------- Brand tiles ---------- */

.vp-brand-tile {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	min-height: 200px;
	padding: 24px !important;
	border: 1px solid var(--vp-line);
	border-radius: 20px;
	background: var(--vp-paper);
	transition: border-color .15s ease;
}

.vp-brand-tile:hover {
	border-color: var(--vp-ink);
}

.vp-brand-tile .wp-block-image {
	height: 64px;
	display: flex;
	align-items: center;
	margin: 0;
}

.vp-brand-tile .wp-block-image img {
	max-height: 48px;
	width: auto;
	max-width: min(88%, 170px);
}

.vp-brand-tile a {
	text-decoration: none;
}

.vp-brand-tile a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vp-brand-word {
	font-weight: 800;
	font-style: italic;
	letter-spacing: .08em;
	font-size: 30px !important;
	line-height: 64px;
	margin: 0;
}

/* ---------- Link list (sub-categories) ---------- */

.is-style-link-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border-bottom: 1px solid var(--vp-line);
}

.is-style-link-list li {
	border-top: 1px solid var(--vp-line);
}

.is-style-link-list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}

.is-style-link-list a::after {
	content: "›";
}

.is-style-link-list a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------- Reviews, FAQ, stats ---------- */

.wp-block-quote.is-style-review {
	margin: 0;
	padding: 32px;
	border: 0;
	border-radius: 20px;
	background: var(--vp-tile);
	display: flex;
	flex-direction: column;
	gap: 18px;
	height: 100%;
	box-sizing: border-box;
}

.wp-block-quote.is-style-review::before {
	content: "";
	display: block;
	width: 106px;
	height: 18px;
	background: repeat-x left center / 21px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath fill='%23EC7200' d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z'/%3E%3C/svg%3E");
}

.wp-block-quote.is-style-review p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #2A2D32;
}

.wp-block-quote.is-style-review cite {
	margin-top: auto;
	font-style: normal;
	font-weight: 800;
	font-size: 15px;
}

.vp-faq .wp-block-details {
	border-bottom: 1px solid var(--vp-line);
}

.vp-faq .wp-block-details:first-child {
	border-top: 1px solid var(--vp-line);
}

.vp-page .vp-faq .wp-block-details,
.vp-page .vp-faq .wp-block-details:first-child {
	border: 0;
	padding: 18px 20px 18px 24px;
	border-radius: var(--vp-r-card);
	background: var(--vp-tile);
	transition: background-color .15s ease;
}

.vp-page .vp-faq .wp-block-details + .wp-block-details {
	margin-top: 8px;
}

.vp-page .vp-faq .wp-block-details:hover {
	background: var(--vp-stage);
}

.vp-page .vp-faq summary::after {
	background: var(--vp-paper);
}

.vp-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.vp-faq summary::-webkit-details-marker {
	display: none;
}

.vp-faq summary::after {
	content: "+";
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--vp-tile);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 500;
}

.vp-faq details[open] summary::after {
	content: "−";
	background: var(--vp-ink);
	color: var(--vp-paper);
}

.vp-faq details > :not(summary) {
	padding-right: 60px;
	color: var(--vp-muted-strong);
	animation: vpIn .2s ease-out;
}

.vp-stat {
	min-height: 170px;
	border-radius: 20px !important;
	padding: 32px 28px !important;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.vp-stat .vp-stat__value {
	font-size: 48px;
	font-weight: 800;
	font-stretch: 110%;
	line-height: 1;
	margin: 0;
}

.vp-stat p {
	margin: 0;
}

/* ---------- Category banner ---------- */

.vp-banner {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Page and catalogue headings: breadcrumb and title on the page itself, not in a grey box. The
   404 page keeps the box (vp-banner--feature), where it is the whole content. */
.vp-banner.is-style-stage-tile:not(.vp-banner--feature) {
	min-height: 0;
	padding: 4px 0 0;
	background: transparent;
	border-radius: 0;
	overflow: visible;
}

.vp-banner--feature {
	min-height: 220px;
}

.vp-banner .wp-block-woocommerce-breadcrumbs,
.vp-banner .woocommerce-breadcrumb {
	font-size: 14px;
	color: var(--vp-muted);
	margin: 0;
}

.vp-banner .term-description,
.vp-banner .wp-block-term-description {
	color: var(--vp-muted-strong);
	max-width: 620px;
}

.vp-banner .term-description p {
	margin: 0;
}

.vp-toolbar {
	color: var(--vp-muted);
	font-size: 15px;
}

.vp-toolbar select {
	height: 44px;
	border: 1px solid var(--vp-line);
	border-radius: 999px;
	padding: 0 16px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	background: var(--vp-paper);
	color: var(--vp-ink);
}

.vp-filters .wp-block-heading {
	font-size: 20px;
}

.vp-filters .wp-block-woocommerce-product-filters h3.wp-block-heading {
	font-size: 15px;
	font-stretch: 100%;
	text-transform: none;
	color: var(--vp-ink);
}

.vp-filters .wc-block-product-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vp-filters .wc-block-product-categories-list-item a {
	display: inline-block;
	padding: 4px 0;
	color: var(--vp-ink);
	font-weight: 600;
	text-decoration: none;
}

.vp-filters .wc-block-product-categories-list-item a:hover {
	color: var(--vp-accent-text);
}

.vp-filters .wc-block-product-categories-list-item-count {
	color: var(--vp-muted);
	font-size: 13px;
}

/* Pagination */
.wp-block-query-pagination {
	gap: 6px;
	margin-top: 40px;
}

.wp-block-query-pagination-numbers .page-numbers,
.wp-block-query-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	border-radius: 999px;
	padding: 0 10px;
	text-decoration: none;
	font-weight: 700;
	box-sizing: border-box;
}

.wp-block-query-pagination-numbers .page-numbers.current {
	background: var(--vp-ink);
	color: var(--vp-paper);
}

.wp-block-query-pagination a:hover {
	background: var(--vp-tile);
}

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

.vp-footer a {
	color: var(--vp-muted-strong);
	text-decoration: none;
}

.vp-footer a:hover {
	color: var(--vp-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vp-footer .wp-block-site-logo img {
	height: 54px;
	width: auto;
}

.vp-footer .vp-footer-cats,
.vp-footer .wp-block-woocommerce-product-categories ul,
.vp-footer .wc-block-product-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
}

.vp-footer .wc-block-product-categories-list-item-count {
	display: none;
}

/* "Müştərilər" links look like the catalog links next to them. */
.vp-footer .wp-block-navigation {
	font-size: 15px;
	gap: 10px;
}

.vp-footer .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--vp-muted-strong);
	font-weight: 400;
}

.vp-footer .vp-footer-cats {
	margin-top: 20px;
}

.vp-footer .vp-footer-cats__all a {
	color: var(--vp-ink);
	font-weight: 700;
}

.vp-footer-bottom {
	border-top: 1px solid var(--vp-line);
	font-size: 13px;
	color: var(--vp-muted);
}

/* ---------- WooCommerce blocks: cart, checkout, mini-cart ---------- */

.wc-block-components-quantity-selector {
	border-radius: 999px !important;
	background: var(--vp-tile);
	border: 0 !important;
}

.wc-block-components-quantity-selector::after {
	display: none;
}

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-mini-cart__footer-checkout {
	border-radius: 999px !important;
	font-weight: 700;
}

.wc-block-cart__submit-button,
.wc-block-mini-cart__footer-checkout,
.wc-block-components-checkout-place-order-button {
	background: var(--vp-accent) !important;
	color: var(--vp-ink) !important;
}

.wc-block-mini-cart__footer-cart {
	border-radius: 999px !important;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	border-radius: 12px;
	background: var(--vp-tile);
}

.wc-block-components-product-details {
	font-size: 13px;
	color: var(--vp-muted);
}

.wc-block-components-notice-banner {
	border-radius: 14px;
}

/* ---------- Editor helpers ---------- */

.vp-ssr {
	min-height: 24px;
}

.editor-styles-wrapper .vp-cutout {
	pointer-events: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
	.is-style-service-strip > * + * {
		border-left: 0;
		border-top: 1px solid var(--vp-line);
	}

	.vp-hero-main .vp-cutout {
		position: relative !important;
		right: auto;
		bottom: auto;
		width: 100%;
		margin-top: 20px !important;
	}

	.vp-has-cutout .vp-cutout {
		--vp-cutout-w: 46%;
	}

	.vp-specs__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.vp-header-main .vp-search {
		order: 10;
		flex-basis: 100%;
		max-width: none;
	}

	.vp-header-main .vp-search__cat,
	.vp-header-main .vp-search__sep {
		display: none;
	}

	.vp-account__label,
	.vp-hide-mobile {
		display: none !important;
	}
}

@media (max-width: 600px) {
	.vp-header-main .wp-block-site-logo img {
		height: 40px;
	}

	.vp-circles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px 10px;
	}

	.vp-circles__name {
		font-size: 13px;
		line-height: 1.25;
	}

	.vp-panel {
		padding: 18px;
	}

	.vp-card__body {
		padding: 6px 12px 12px;
	}

	.vp-card__num {
		font-size: 16px;
	}

	.vp-order--card .vp-order__row {
		flex-direction: column;
	}

	.vp-order--card .vp-qty {
		justify-content: space-between;
	}

	.vp-order--card .vp-order__wh-grid {
		grid-auto-flow: row;
		grid-template-columns: minmax(0, 1fr);
	}

	.vp-order--card .vp-wh__name {
		overflow-wrap: normal;
	}

	.vp-card__cat {
		display: none;
	}

	.vp-origin {
		flex-wrap: wrap;
	}

	.vp-origin__text {
		flex: 1 1 180px;
	}

	.vp-origin__mark {
		flex-basis: 100%;
		padding-left: 54px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* Text measure inside tiles (vertical flex groups) */
.vp-w-lg { max-width: 560px; }
.vp-w-md { max-width: 420px; }
.vp-w-sm { max-width: 340px; }
.vp-w-xs { max-width: 200px; }

/* Selective checkout: checkbox on each cart line and the list of lines left out of this order. */
.wc-block-cart-item__image {
	position: relative;
}

.vp-pick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	cursor: pointer;
}

.wc-block-cart-item__image .vp-pick {
	position: absolute;
	top: -6px;
	left: -6px;
	z-index: 1;
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px;
}

.vp-pick input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--wp--preset--color--accent);
	cursor: pointer;
}

/* The checkbox sits in its own space left of the photo, centred on the line. */
/* WooCommerce sizes this column per container width (80px or 100px); add room for the checkbox. */
.wp-block-woocommerce-cart table.vp-has-pick .wc-block-cart-items__header-image {
	width: 128px !important;
}

.wp-block-woocommerce-cart.is-large table.vp-has-pick .wc-block-cart-items__header-image {
	width: 148px !important;
}

table.vp-has-pick .wc-block-cart-item__image {
	padding-left: 48px !important;
}

/* The cart pop-up always lays lines out as a grid with an 80px photo column; widen it by the checkbox. */
.wc-block-mini-cart__drawer table.vp-has-pick .wc-block-cart-items__row {
	grid-template-columns: 128px minmax(0, 1fr);
}

/* Below 920px the Cart page does the same. */
@media (max-width: 919px) {
	.wc-block-cart table.vp-has-pick .wc-block-cart-items__row {
		grid-template-columns: 128px minmax(0, 1fr);
	}
}

table.vp-has-pick .wc-block-cart-item__image .vp-pick {
	top: 50%;
	left: 0;
	width: 34px;
	height: 34px;
	transform: translateY(-50%);
	border: 1.5px solid var(--wp--preset--color--ink);
}

.vp-pick-bar .vp-pick input,
table.vp-has-pick .vp-pick input {
	width: 22px;
	height: 22px;
}

.vp-pick-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 16px;
	padding: 12px 16px;
	background: var(--wp--preset--color--tile);
	border-radius: var(--vp-r-inner, 12px);
}

.vp-pick-bar__all {
	gap: 8px;
	width: auto;
	height: auto;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.vp-pick-bar__text {
	display: grid;
	flex: 1 1 260px;
	min-width: 0;
	font-size: 14px;
}

.vp-pick-bar__text small {
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.vp-pick-bar__count {
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}

/* Cart pop-up (Mini-Cart): compact bar and list. */
.vp-pick-bar--mini {
	gap: 4px 12px;
	margin: 0 0 8px;
	padding: 10px 12px;
}

.vp-pick-bar--mini .vp-pick-bar__count {
	margin-left: auto;
}

.vp-pick-bar__hint {
	flex-basis: 100%;
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.vp-parked--mini {
	margin: 12px 0 16px;
	padding: 12px;
}

.vp-parked--mini .vp-parked__row {
	grid-template-columns: 28px 40px minmax(0, 1fr) 28px;
	gap: 8px;
}

.vp-parked--mini .vp-parked__img {
	width: 40px;
	height: 40px;
}

.vp-parked--mini .vp-parked__text a {
	white-space: normal;
}

.vp-parked--mini .vp-parked__total {
	grid-column: 3;
	grid-row: 2;
}

.vp-parked--mini .vp-parked__drop {
	grid-column: 4;
	grid-row: 1;
}

.wp-block-woocommerce-empty-mini-cart-contents-block .vp-parked--mini {
	margin: 0 0 24px;
	text-align: left;
}

.vp-parked {
	margin: 24px 0;
	padding: 16px;
	background: var(--wp--preset--color--tile);
	border: 1px dashed var(--wp--preset--color--line);
	border-radius: var(--vp-r-inner, 12px);
}

.vp-parked.is-busy {
	opacity: .6;
}

.vp-parked__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.vp-parked__head h2 {
	margin: 0;
	font-size: 16px;
}

.vp-parked__all {
	padding: 6px 12px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--paper);
	border: 1px solid var(--wp--preset--color--ink);
	border-radius: 999px;
	cursor: pointer;
}

.vp-parked__hint {
	margin: 6px 0 12px;
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.vp-parked__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-parked__row {
	display: grid;
	grid-template-columns: 28px 48px minmax(0, 1fr) auto 28px;
	align-items: center;
	gap: 10px;
	padding: 8px;
	background: var(--wp--preset--color--paper);
	border-radius: 8px;
}

.vp-parked__img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.vp-parked__text {
	display: grid;
	min-width: 0;
	font-size: 14px;
}

.vp-parked__text a {
	overflow: hidden;
	color: inherit;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vp-parked__text small {
	color: var(--wp--preset--color--muted);
}

.vp-parked__drop {
	width: 28px;
	height: 28px;
	padding: 0;
	font-size: 18px;
	line-height: 1;
	color: var(--wp--preset--color--muted);
	background: none;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

.vp-parked__drop:hover {
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--tile);
}

.vp-parked__text small.vp-parked__error {
	color: #A3260F;
}

/* Why a change in the cart pop-up did not go through. */
.vp-pick-error {
	margin: 8px 0 12px;
	padding: 10px 12px;
	font-size: 13px;
	color: #A3260F;
	background: #FBEDEA;
	border-radius: var(--vp-r-inner, 12px);
}

.vp-parked__total {
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}

/* Cart block on phones: keep the line table inside the column (the savings badge wraps). */
.wp-block-woocommerce-cart table.wc-block-cart-items {
	width: 100%;
	table-layout: fixed;
}

.wc-block-cart-items__row .wc-block-components-sale-badge {
	white-space: normal;
	text-align: right;
}

@media (max-width: 600px) {
	.vp-parked {
		padding: 12px;
	}

	.vp-parked__row {
		grid-template-columns: 28px 40px minmax(0, 1fr) 28px;
		gap: 8px;
	}

	.vp-parked__img {
		width: 40px;
		height: 40px;
	}

	.vp-parked__text a {
		white-space: normal;
	}

	.vp-parked__total {
		grid-column: 3;
		grid-row: 2;
	}

	.vp-parked__drop {
		grid-column: 4;
		grid-row: 1;
	}
}

/* My account: use the wide column so the orders table has room; compact order action buttons. */
body.woocommerce-account .wp-block-post-content {
	max-width: var(--wp--style--global--wide-size);
}

body.woocommerce-account .wp-block-post-content > .woocommerce {
	max-width: none;
}

/* Order actions (orders list and the order page): "View" is the one dark button; the Delivery
   Notes print buttons are small outline buttons beside it, so a row of five no longer wraps into
   a block of orange pills. */
.woocommerce-account .woocommerce-orders-table__cell-order-actions,
.woocommerce-account .order-actions-button {
	white-space: normal;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button,
.woocommerce-account .woocommerce-table--order-details a.order-actions-button {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin: 2px 4px 2px 0;
	padding: 4px 12px;
	border: 1px solid var(--vp-line);
	border-radius: 8px;
	background: var(--vp-paper);
	color: var(--vp-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button:hover,
.woocommerce-account .woocommerce-table--order-details a.order-actions-button:hover {
	border-color: var(--vp-ink);
	background: var(--vp-tile);
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button.view {
	border-color: var(--vp-ink);
	background: var(--vp-ink);
	color: var(--vp-paper);
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button.view:hover {
	background: var(--vp-muted-strong);
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button[class*="wcdn_print"]::before,
.woocommerce-account .woocommerce-table--order-details a.order-actions-button::before {
	content: "";
	width: 14px;
	height: 14px;
	margin-right: 6px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 14h12v8H6z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 14h12v8H6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Orders table: dates, statuses and totals stay on one line. */
.woocommerce-account .woocommerce-orders-table__cell-order-date,
.woocommerce-account .woocommerce-orders-table__cell-order-status,
.woocommerce-account .woocommerce-orders-table__header {
	white-space: nowrap;
}

.woocommerce-account .woocommerce-orders-table__cell-order-status {
	font-weight: 600;
}

/* ---------- My account: navigation beside the content ---------- */

body.woocommerce-account.logged-in .wp-block-post-content > .woocommerce {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

/* WooCommerce's clearfix pseudo-elements would take the first grid cells. */
body.woocommerce-account.logged-in .wp-block-post-content > .woocommerce::before,
body.woocommerce-account.logged-in .wp-block-post-content > .woocommerce::after {
	display: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--vp-tile);
	border-radius: var(--vp-r-card);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--vp-ink);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: var(--vp-paper);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	text-decoration: none;
	background: var(--vp-ink);
	color: var(--vp-paper);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--vp-line);
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--vp-muted);
}

.woocommerce-MyAccount-content > p:first-child {
	margin-top: 0;
}

/* Dashboard shortcut cards (inc/account.php). */
.vp-account-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.vp-account-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--vp-line);
	border-radius: var(--vp-r-card);
	background: var(--vp-paper);
	color: var(--vp-ink);
	text-decoration: none;
	transition: border-color .15s ease;
}

.vp-account-card:hover {
	border-color: var(--vp-ink);
}

.vp-account-card__title {
	font-weight: 800;
	font-size: 16px;
}

.vp-account-card__title::after {
	content: " →";
	color: var(--vp-accent-text);
}

.vp-account-card__big {
	font-size: 24px;
	font-weight: 800;
	font-stretch: 110%;
}

.vp-account-card__note {
	color: var(--vp-muted);
	font-size: 14px;
	overflow-wrap: anywhere;
}

/* Logged-out account page: a login form of readable width, not the full page. */
body.woocommerce-account:not(.logged-in) .wp-block-post-content > .woocommerce {
	max-width: 480px;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--vp-line);
	border-radius: var(--vp-r-card);
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .woocommerce-form-login__submit {
	float: none;
	width: 100%;
	margin: 8px 0 12px;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
	display: block;
	margin-top: 4px;
}

/* "Want to buy wholesale?" box (login page and the vp/wholesale-contact block). Its layout
   follows its own width (container queries): one column when narrow, text beside the stores
   when wide; a store card puts its buttons beside the name once there is room. The WhatsApp
   label never breaks; when space runs out the call button moves under it instead. */
body.woocommerce-account:not(.logged-in) .wp-block-post-content > .woocommerce:has(> .vp-join) {
	max-width: 1160px;
}

@media (min-width: 782px) {
	body.woocommerce-account:not(.logged-in) .wp-block-post-content > .woocommerce:has(> .vp-join) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
		grid-template-rows: auto auto 1fr;
		column-gap: clamp(24px, 3vw, 40px);
		align-items: start;
	}

	.woocommerce:has(> .vp-join) > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.woocommerce:has(> .vp-join) > h2 {
		grid-column: 1;
		grid-row: 2;
	}

	.woocommerce:has(> .vp-join) > .woocommerce-form-login {
		grid-column: 1;
		grid-row: 3;
	}

	.woocommerce:has(> .vp-join) > .vp-join {
		grid-column: 2;
		grid-row: 2 / span 2;
		margin-top: 0;
	}
}

.vp-join {
	container-type: inline-size;
	box-sizing: border-box;
	margin-top: 32px;
	padding: clamp(20px, 2.4vw, 32px);
	border-radius: var(--vp-r-card);
	background: var(--vp-tile);
}

.vp-join__in {
	display: grid;
	gap: 20px;
}

.vp-join__eyebrow {
	margin: 0 0 6px;
	color: var(--vp-accent-text);
	font-size: 15px;
	font-weight: 700;
}

.vp-join__title {
	margin: 0 0 10px;
	text-transform: none;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.2;
	text-wrap: balance;
}

.vp-join__text {
	margin: 0;
	max-width: 46ch;
	color: var(--vp-muted-strong);
	font-size: 16px;
	line-height: 1.5;
}

.vp-join__stores {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-join__store {
	container-type: inline-size;
	border: 1px solid var(--vp-line);
	border-radius: var(--vp-r-inner);
	background: var(--vp-paper);
}

.vp-join__store-in {
	display: grid;
	gap: 12px;
	padding: 16px;
}

.vp-join__store-name {
	font-size: 17px;
	font-weight: 800;
}

.vp-join__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vp-join__wa,
.vp-join__tel {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color .15s var(--vp-ease), border-color .15s var(--vp-ease);
}

.vp-join__wa svg,
.vp-join__tel svg {
	flex: none;
}

.vp-join__wa {
	background: var(--vp-ok);
	color: var(--vp-paper);
}

.vp-join__wa:hover,
.vp-join__wa:focus-visible {
	background: #17632F;
	color: var(--vp-paper);
}

.vp-join__tel {
	border: 1.5px solid var(--vp-ink);
	color: var(--vp-ink);
	font-variant-numeric: tabular-nums;
}

.vp-join__tel:hover,
.vp-join__tel:focus-visible {
	background: var(--vp-ink);
	color: var(--vp-paper);
}

.vp-join__wa:focus-visible,
.vp-join__tel:focus-visible {
	outline: 2px solid var(--vp-accent);
	outline-offset: 2px;
}

/* A store card with room: name on the left, buttons on the right. */
@container (min-width: 540px) {
	.vp-join__store-in {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}

	.vp-join__actions {
		flex: none;
		flex-wrap: nowrap;
	}
}

/* A wide box (contact page): intro on the left, the store cards on the right. */
@container (min-width: 900px) {
	.vp-join__in {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		align-items: center;
		gap: clamp(24px, 4cqi, 56px);
	}
}

@media (max-width: 781px) {
	body.woocommerce-account.logged-in .wp-block-post-content > .woocommerce {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation a {
		white-space: nowrap;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--customer-logout {
		margin: 0;
		padding: 0;
		border: 0;
	}

	/* Orders on a phone: the actions stack as one even column instead of a ragged wrap. */
	.woocommerce-account table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions {
		display: grid;
		gap: 6px;
	}

	.woocommerce-account table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button {
		justify-content: center;
		min-height: 40px;
		margin: 0;
	}
}

/* ---------- Small storefront fixes ---------- */

/* Category name on a product card: on a white chip, so it reads over the photo and does not run
   into the "Original" pill. */
.vp-card .vp-card__media .vp-card__cat {
	top: 10px;
	left: 10px;
	right: auto;
	max-width: calc(100% - 120px);
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--vp-paper);
	line-height: 1.3;
}

/* Link lists: the arrow never touches a long label. */
.is-style-link-list a {
	gap: 12px;
}

/* Search in a banner (404, empty results): a field wide enough for the placeholder. */
.vp-banner .vp-search {
	width: 100%;
	max-width: 560px;
}

.vp-banner .vp-search__input {
	min-width: 0;
	flex: 1 1 auto;
}

/* Warehouse under a line in the cart pop-up (mini-cart-select.js). */
.vp-line-wh {
	display: block;
	margin-top: 2px;
	color: var(--vp-muted);
	font-size: 13px;
}

.vp-replace-note--plain {
	border-color: var(--vp-line);
	background: var(--vp-tile);
}

/* Stock badges and the catalog part card in search (inc/parts-catalog.php). */
.vp-stock-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.vp-stock-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.vp-stock-badge.is-in,
.vp-stock-badge.is-repl {
	color: var(--vp-ok);
	background: color-mix(in srgb, var(--vp-ok) 10%, transparent);
}

.vp-stock-badge.is-order {
	color: var(--vp-accent-text);
	background: color-mix(in srgb, var(--vp-accent) 12%, transparent);
}

.vp-part-card {
	margin: 0 0 24px;
	padding: 20px 22px;
	border: 1px solid var(--vp-line);
	border-radius: var(--vp-r-card);
	background: var(--vp-paper);
}

.vp-part-card__eyebrow {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--vp-muted);
}

.vp-part-card__title {
	margin: 0 0 10px;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

.vp-part-card__title span {
	font-family: var(--wp--preset--font-family--mono, ui-monospace, monospace);
}

.vp-part-card__cars,
.vp-part-card__repl {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.5;
}

.vp-part-card__cars a {
	color: inherit;
	text-underline-offset: 3px;
}

.vp-part-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 14px 0 10px;
}

.vp-part-card__note {
	margin: 0;
	font-size: 13px;
	color: var(--vp-muted);
}

/* Catalog part we do not stock: "Contact us for details" + a WhatsApp button per warehouse. */
.vp-ask-wa {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.vp-ask-wa__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--vp-muted);
}

.vp-ask-wa__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.vp-ask-wa__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--vp-ok);
	color: var(--vp-paper);
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color .15s var(--vp-ease);
}

.vp-ask-wa__btn svg,
.vp-ask-wa__icon {
	flex: none;
}

.vp-ask-wa__icon {
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.8-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.8-1.2.2-.6.2-1.1.1-1.2l-.4-.3Z"/%3E%3C/svg%3E') center / contain no-repeat;
	mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.8-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.8-1.2.2-.6.2-1.1.1-1.2l-.4-.3Z"/%3E%3C/svg%3E') center / contain no-repeat;
}

.vp-ask-wa__btn:hover,
.vp-ask-wa__btn:focus-visible {
	background: #17632F;
	color: var(--vp-paper);
}

.vp-ask-wa__btn:focus-visible {
	outline: 2px solid var(--vp-accent);
	outline-offset: 2px;
}

/* Model-year page: the parts catalog under the car picker. */
.vp-car-catalog {
	margin-top: var(--wp--preset--spacing--50, 40px);
}

/* Car pages: long SEO text written in Products → Car pages (inc/car-seo.php). */
.vp-car-seo-text {
	max-width: 820px;
	margin-top: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--vp-line, #e5e5e5);
	font-size: 16px;
	line-height: 1.65;
	color: var(--vp-muted-strong);
}

.vp-car-seo-text h2,
.vp-car-seo-text h3 {
	margin: 1.4em 0 0.5em;
	color: var(--wp--preset--color--contrast, inherit);
	line-height: 1.3;
}

.vp-car-seo-text h2 { font-size: 22px; }
.vp-car-seo-text h3 { font-size: 18px; }
.vp-car-seo-text p,
.vp-car-seo-text ul,
.vp-car-seo-text ol { margin: 0 0 1em; }

/* Out of stock → alternatives (inc/alternatives.php) */
.vp-alt {
	margin: 16px 0 0;
	padding: 14px 18px;
	border: 1px solid #CFE5D7;
	border-radius: var(--vp-r-inner, 12px);
	background: #F3FAF5;
}

.vp-alt__title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
}

.vp-alt__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-alt__item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2px 12px;
	font-size: 14px;
}

.vp-alt__item a {
	font-weight: 700;
}

.vp-alt__num {
	font-weight: 400;
	opacity: .75;
}

.vp-alt__why {
	grid-column: 1;
	font-size: 13px;
	opacity: .8;
}

.vp-alt__price {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	font-weight: 700;
	white-space: nowrap;
}

/* Thank-you page: order received + WhatsApp buttons per warehouse. */
.vp-thanks-contact {
	margin: 0 0 24px;
	padding: 16px 18px;
	border: 1px solid var(--vp-line);
	border-radius: 10px;
}

.vp-thanks-contact__title {
	margin: 0 0 10px;
}
