/* ==========================================================================
   VapeEra Custom — main stylesheet
   Loaded on every page. WooCommerce-specific rules live in woocommerce.css.
   Class prefix: vc-
   ========================================================================== */

/* 1. Design tokens
   Palette: deep teal-navy surfaces with teal accents (contrast-checked: white text only on
   --vc-primary-deep or darker; --vc-primary is for borders, focus rings and accents on dark).
   ========================================================================== */
:root {
	/* WooCommerce form fields (checkout, account, track order): theme border instead of WC's dark brown;
	   #7f9ca6 keeps a 3:1 boundary contrast on white. */
	--wc-form-border-color: #7f9ca6;
	--wc-form-border-radius: 10px;
	--vc-primary: #3aa2b1;
	--vc-primary-deep: #16646f;
	--vc-primary-ink: #0e4f58;
	--vc-primary-soft: #7cc7d1;
	--vc-primary-tint: #e3f2f5;
	--vc-accent: #c62f3a;
	--vc-ink: #021c24;
	--vc-ink-soft: #2e576a;
	--vc-muted: #4e6e7b;
	--vc-line: #d9e7ec;
	--vc-surface: #ffffff;
	--vc-surface-alt: #f2f8fa;
	--vc-page: #f2f8fa;
	--vc-dark: #021c24;
	--vc-dark-2: #062c35;
	--vc-dark-ink: #b9d3da;
	--vc-footer-bg: #021c24;
	--vc-footer-ink: #b9d3da;
	--vc-success: #15803d;
	--vc-danger: #b91c1c;
	/* Dark hero/banner surface: deep teal gradient with a faint grid. */
	--vc-hero-bg:
		linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 56px 56px,
		radial-gradient(120% 140% at 85% 10%, #16646f 0%, #062c35 45%, #021c24 100%);

	--vc-font: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--vc-font-heading: "Inter Tight", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--vc-text-sm: 0.875rem;
	--vc-text-base: 1rem;
	--vc-text-lg: 1.125rem;
	--vc-h1: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
	--vc-h2: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
	--vc-h3: 1.25rem;

	--vc-space-1: 0.25rem;
	--vc-space-2: 0.5rem;
	--vc-space-3: 0.75rem;
	--vc-space-4: 1rem;
	--vc-space-5: 1.5rem;
	--vc-space-6: 2rem;
	--vc-space-7: 3rem;
	--vc-space-8: 4rem;

	--vc-radius: 16px;
	--vc-radius-sm: 10px;
	--vc-radius-lg: 24px;
	--vc-radius-pill: 999px;
	--vc-shadow: 0 1px 2px rgb(2 28 36 / 5%), 0 6px 20px rgb(2 28 36 / 6%);
	--vc-shadow-lg: 0 16px 48px rgb(2 28 36 / 18%);

	--vc-container: 1320px;
	--vc-container-narrow: 820px;
	--vc-gutter: clamp(1rem, 3vw, 2rem);
	--vc-header-z: 100;
	/* Above floating widgets (e.g. WhatsApp button, z 99998), below the age gate (999999). */
	--vc-drawer-z: 100000;
	--vc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base / reset
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--vc-page);
	color: var(--vc-ink);
	font-family: var(--vc-font);
	font-size: var(--vc-text-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.vc-no-scroll {
	overflow: hidden;
}

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

h1,
h2,
h3,
h4 {
	margin: 0 0 var(--vc-space-4);
	color: var(--vc-ink);
	font-family: var(--vc-font-heading);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.025em;
}

h1 { font-size: var(--vc-h1); }
h2 { font-size: var(--vc-h2); }
h3 { font-size: var(--vc-h3); }

p,
ul,
ol,
figure,
blockquote {
	margin: 0 0 var(--vc-space-4);
}

a {
	color: var(--vc-primary-ink);
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--vc-primary-deep);
}

:focus-visible {
	outline: 3px solid var(--vc-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

input,
select,
textarea {
	font: inherit;
	color: inherit;
	max-width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="url"],
select,
textarea {
	width: 100%;
	min-height: 44px;
	padding: 0.6rem 0.85rem;
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius-sm);
	background: var(--vc-surface);
	transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--vc-primary);
	box-shadow: 0 0 0 3px rgb(58 162 177 / 20%);
	outline: none;
}

address {
	font-style: normal;
}

hr {
	border: 0;
	border-top: 1px solid var(--vc-line);
	margin: var(--vc-space-6) 0;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: var(--vc-space-3);
	border-bottom: 1px solid var(--vc-line);
	text-align: left;
}

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

.vc-skip-link:focus {
	position: fixed !important;
	top: var(--vc-space-3);
	left: var(--vc-space-3);
	z-index: 10000;
	width: auto;
	height: auto;
	padding: var(--vc-space-3) var(--vc-space-4);
	margin: 0;
	clip: auto;
	background: var(--vc-ink);
	color: #fff;
	border-radius: var(--vc-radius-sm);
	text-decoration: none;
}

[hidden] {
	display: none !important;
}

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

/* 4. Layout
   ========================================================================== */
.vc-container {
	width: 100%;
	max-width: var(--vc-container);
	margin-inline: auto;
	padding-inline: var(--vc-gutter);
}

.vc-container--narrow {
	max-width: var(--vc-container-narrow);
}

.vc-main {
	padding-block: var(--vc-space-4) var(--vc-space-5);
	min-height: 50vh;
}

.vc-main--home {
	padding-top: 0;
}

/* The main bottom padding is the only space above the footer: the last block's trailing margin doesn't stack on it. */
.vc-main > .vc-container:last-child > :last-child,
.vc-main .vc-entry__content > :last-child,
.vc-main .vc-entry__content > :has(+ p:empty:last-child),
.vc-main .vc-entry__content > .woocommerce > :last-child,
.vc-main .vc-wishlist-empty > :last-child,
.vc-main .vc-shop__results > :last-child {
	margin-bottom: 0;
}

/* Empty editor paragraphs (e.g. after the [woocommerce_cart] shortcode) add a blank line. */
.vc-entry__content > p:empty {
	display: none;
}

.vc-section {
	padding-block: var(--vc-space-6);
}

.vc-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--vc-space-3);
	margin-bottom: var(--vc-space-5);
}

.vc-section__title {
	margin: 0;
}

.vc-section__subtitle {
	margin: var(--vc-space-1) 0 0;
	color: var(--vc-muted);
}

.vc-page-header {
	margin-bottom: var(--vc-space-5);
}

.vc-page-title {
	margin-bottom: var(--vc-space-2);
}

.vc-page-intro {
	color: var(--vc-muted);
	max-width: 70ch;
}

/* 5. Components
   ========================================================================== */
.vc-button,
.button,
button[type="submit"]:not(.vc-search__submit) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--vc-space-2);
	min-height: 44px;
	padding: 0.65rem 1.25rem;
	border: 0;
	border-radius: var(--vc-radius-pill);
	background: var(--vc-primary-deep);
	color: #fff;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s, transform 0.15s;
}

.vc-button:hover,
.button:hover,
button[type="submit"]:not(.vc-search__submit):hover {
	background: var(--vc-primary-ink);
	color: #fff;
}

.vc-button--large {
	min-height: 52px;
	padding-inline: 1.75rem;
	font-size: var(--vc-text-lg);
}

.vc-link-arrow {
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}

.vc-link-arrow::after {
	content: " →";
}

.vc-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-2);
	padding: 0;
	list-style: none;
}

.vc-chip {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius-pill);
	background: var(--vc-surface);
	color: var(--vc-ink-soft);
	font-size: var(--vc-text-sm);
	text-decoration: none;
}

.vc-chip:hover {
	border-color: var(--vc-primary);
	color: var(--vc-primary-ink);
}

.vc-icon {
	flex-shrink: 0;
}

/* Breadcrumbs */
.vc-breadcrumbs {
	margin-bottom: var(--vc-space-4);
	font-size: var(--vc-text-sm);
	color: var(--vc-muted);
}

.vc-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vc-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vc-breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: var(--vc-space-2);
	color: var(--vc-line);
}

.vc-breadcrumbs a {
	display: inline-block;
	padding-block: 4px; /* 24px+ tap target (WCAG 2.5.8). */
	color: var(--vc-muted);
	text-decoration: none;
}

.vc-breadcrumbs a:hover {
	color: var(--vc-primary-ink);
	text-decoration: underline;
}

.vc-breadcrumbs li:last-child {
	color: var(--vc-ink-soft);
}

/* Pagination */
.vc-pagination .nav-links,
.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--vc-space-2);
	margin-top: var(--vc-space-6);
	padding: 0;
	list-style: none;
}

/* WooCommerce's clearfix on the page-number list would add two empty flex items. */
.woocommerce-pagination ul::before,
.woocommerce-pagination ul::after {
	display: none !important;
}

.vc-pagination .page-numbers,
.woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 var(--vc-space-3);
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius-sm);
	text-decoration: none;
	color: var(--vc-ink);
}

.vc-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers.current {
	background: var(--vc-ink);
	border-color: var(--vc-ink);
	color: #fff;
}

/* Search form (generic) */
.vc-searchform {
	display: flex;
	gap: var(--vc-space-2);
	margin-block: var(--vc-space-5);
}

/* 6. Announcement bar (scrolls away; the header below it is sticky)
   ========================================================================== */
.vc-announcement {
	background: linear-gradient(90deg, var(--vc-primary-deep), var(--vc-primary));
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
}

.vc-announcement__list {
	display: flex;
	justify-content: center;
	gap: var(--vc-space-6);
	margin: 0;
	padding: 0.4rem 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	white-space: nowrap;
}

.vc-announcement__list::-webkit-scrollbar {
	display: none;
}

@media (max-width: 767px) {
	.vc-announcement__list {
		justify-content: flex-start;
		gap: 0;
		scroll-snap-type: x mandatory;
	}

	.vc-announcement__item {
		flex: 0 0 100%;
		text-align: center;
		scroll-snap-align: center;
	}
}

/* 7. Header
   ========================================================================== */
.vc-header {
	position: sticky;
	top: 0;
	z-index: var(--vc-header-z);
	background: var(--vc-surface);
	box-shadow: 0 1px 0 var(--vc-line);
	transition: box-shadow 0.2s;
}

/* The sticky header is a stacking context, so the drawer inside it can only rise above
   floating widgets if the header itself does while the drawer is open. */
.vc-nav-open .vc-header {
	z-index: var(--vc-drawer-z);
}

.vc-header.is-scrolled {
	box-shadow: 0 1px 0 var(--vc-line), 0 6px 20px rgb(15 23 42 / 8%);
}

.admin-bar .vc-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .vc-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .vc-header {
		top: 0; /* WP admin bar is not fixed below 600px. */
	}
}

/* Mobile first: [menu] [logo] [actions] / [search] */
.vc-header__inner {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	grid-template-areas:
		"toggle brand actions"
		"search search search";
	align-items: center;
	column-gap: var(--vc-space-2);
	row-gap: var(--vc-space-2);
	padding-block: var(--vc-space-2) var(--vc-space-3);
}

.vc-header__menu-toggle {
	grid-area: toggle;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: -8px;
	padding: 0;
	border: 0;
	border-radius: var(--vc-radius-sm);
	background: transparent;
	color: var(--vc-ink);
}

.vc-header__menu-toggle:hover {
	background: var(--vc-surface-alt);
}

.vc-header__brand {
	grid-area: brand;
	min-width: 0;
}

.vc-logo {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	color: var(--vc-ink);
	text-decoration: none;
}

.vc-logo--text {
	gap: 10px;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.vc-logo__name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;

}

/* Brand mark (site icon) on a white tile: its black stroke would vanish on the dark header. */
.vc-logo__tile {
	display: inline-flex;
	flex: none;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 4px 12px -4px rgb(0 0 0 / 45%);
}

.vc-logo .vc-logo__mark,
.woocommerce-page .vc-logo .vc-logo__mark {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

@media (max-width: 479px) {
	/* The header's logo cell is ~145px on 320–375px phones: mark + name must fit without "…". */
	.vc-header .vc-logo--has-mark {
		gap: 7px;
		font-size: 1rem;
	}

	.vc-header .vc-logo__tile {
		width: 30px;
		height: 30px;
		border-radius: 8px;
	}

	.vc-header .vc-logo .vc-logo__mark {
		width: 23px;
		height: 23px;
	}
}

/* Fixed height + auto width (from the width/height attributes) — a percentage max-width
   would collapse to 0 inside the auto-sized grid column. Scoped to beat WooCommerce's
   ".woocommerce-page img { height: auto }". */
.vc-header .vc-logo__img {
	width: auto;
	height: 40px;
	object-fit: contain;
}

/* Search */
.vc-search {
	grid-area: search;
	position: relative;
	min-width: 0;
}

.vc-search__form {
	display: flex;
	align-items: center;
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius-pill);
	background: var(--vc-surface-alt);
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.vc-search__form:focus-within {
	border-color: var(--vc-primary);
	background: var(--vc-surface);
	box-shadow: 0 0 0 3px rgb(58 162 177 / 20%);
}

/* Scoped under .vc-search so it beats the base input[type="search"] rule. */
.vc-search .vc-search__input,
.vc-search .vc-search__input:focus {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 0 0 0 1.1rem;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.vc-search__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.vc-search__submit {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: 2px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--vc-ink-soft);
}

.vc-search__submit:hover {
	color: var(--vc-primary-ink);
}

.vc-search__panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 40;
	max-height: min(70vh, 480px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--vc-surface);
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius);
	box-shadow: var(--vc-shadow-lg);
}

.vc-search__results {
	margin: 0;
	padding: var(--vc-space-2);
	list-style: none;
}

.vc-search__result {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	padding: var(--vc-space-2);
	border-radius: var(--vc-radius-sm);
	color: var(--vc-ink);
	text-decoration: none;
}

/* Matching categories / brands, above the product suggestions. */
.vc-search__term {
	display: flex;
	align-items: center;
	gap: var(--vc-space-2);
	min-height: 40px;
	padding: 6px var(--vc-space-2);
	border-radius: var(--vc-radius-sm);
	color: var(--vc-ink);
	font-size: var(--vc-text-sm);
	text-decoration: none;
}

.vc-search__term-type {
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: var(--vc-radius-pill);
	background: var(--vc-primary-tint);
	color: var(--vc-primary-ink);
	font-size: 0.68rem;
	font-weight: 750;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.vc-search__term-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	font-weight: 650;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vc-search__term-count {
	color: var(--vc-muted);
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
}

.vc-search__results li:has(> .vc-search__term) + li:has(> .vc-search__result) {
	margin-top: var(--vc-space-1);
	padding-top: var(--vc-space-1);
	border-top: 1px solid var(--vc-line);
}

.vc-search__results [aria-selected="true"] > a,
.vc-search__term:hover,
.vc-search__result:hover,
.vc-search__all:hover {
	background: var(--vc-surface-alt);
	color: var(--vc-ink);
}

.vc-search__thumb {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--vc-surface-alt);
}

.vc-search__thumb img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.vc-search__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.vc-search__brand {
	color: var(--vc-primary-ink);
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vc-search__name {
	overflow: hidden;
	font-size: var(--vc-text-sm);
	font-weight: 600;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vc-search__price {
	color: var(--vc-muted);
	font-size: 0.8125rem;
}

.vc-search__all {
	display: block;
	margin-top: var(--vc-space-1);
	padding: var(--vc-space-3) var(--vc-space-2);
	border-top: 1px solid var(--vc-line);
	border-radius: var(--vc-radius-sm);
	color: var(--vc-primary-ink);
	font-size: var(--vc-text-sm);
	font-weight: 650;
	text-align: center;
	text-decoration: none;
}

.vc-search__status {
	margin: 0;
	padding: 0 var(--vc-space-4) var(--vc-space-3);
	color: var(--vc-muted);
	font-size: 0.8125rem;
}

.vc-search__status:empty {
	display: none;
}

/* Actions: account / wishlist / basket */
.vc-header__actions {
	grid-area: actions;
	display: flex;
	align-items: center;
	margin: 0 -8px 0 0;
	padding: 0;
	list-style: none;
}

.vc-header__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--vc-space-2);
	min-width: 44px;
	min-height: 44px;
	padding: 0 var(--vc-space-1);
	border-radius: var(--vc-radius-sm);
	color: var(--vc-ink);
	font-size: var(--vc-text-sm);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.vc-header__action:hover {
	background: var(--vc-surface-alt);
	color: var(--vc-ink);
}

/* Labels are visually hidden until desktop, but always available to screen readers. */
.vc-header__action-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.vc-header__cart-icon {
	position: relative;
	display: inline-flex;
}

.vc-cart-count {
	position: absolute;
	top: -6px;
	right: -9px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border: 2px solid var(--vc-surface);
	border-radius: var(--vc-radius-pill);
	background: var(--vc-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 14px;
	text-align: center;
	box-sizing: content-box;
}

/* Room for the count badge that overhangs the bag icon. */
.vc-header__action--cart {
	gap: var(--vc-space-4);
}

.vc-cart-total {
	margin-left: var(--vc-space-1);
	color: var(--vc-ink-soft);
	font-weight: 700;
}

@media (max-width: 359px) {
	.vc-header__actions-item--wishlist {
		display: none; /* Still reachable from the menu drawer. */
	}
}

/* Tablet: single row [menu] [logo] [search] [actions] */
@media (min-width: 768px) {
	.vc-header__inner {
		grid-template-columns: 44px auto minmax(0, 1fr) auto;
		grid-template-areas: "toggle brand search actions";
		column-gap: var(--vc-space-4);
		padding-block: var(--vc-space-3);
	}

	.vc-header .vc-logo__img {
		height: 48px;
	}

	.vc-header__actions {
		gap: var(--vc-space-1);
	}
}

/* Desktop: [logo] [search] [actions with labels] + nav bar */
@media (min-width: 1024px) {
	.vc-header__inner {
		/* max-content: the logo never truncates at 1024–1199px; the search box gives way instead. */
		grid-template-columns: max-content minmax(240px, 640px) auto;
		grid-template-areas: "brand search actions";
		justify-content: space-between;
		column-gap: var(--vc-space-6);
		padding-block: var(--vc-space-3);
	}

	.vc-header__menu-toggle {
		display: none;
	}

	.vc-header .vc-logo__img {
		height: 56px;
	}

	.vc-header__actions {
		gap: var(--vc-space-2);
		margin-right: 0;
	}

	.vc-header__action {
		padding: 0 var(--vc-space-3);
	}

	.vc-header__action-label {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
	}
}

/* 8. Navigation — off-canvas drawer below 1024px, horizontal bar with mega panels above
   ========================================================================== */
.vc-nav-backdrop {
	position: fixed;
	inset: 0;
	z-index: calc(var(--vc-drawer-z) - 1);
	background: rgb(15 23 42 / 50%);
}

.vc-nav {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: var(--vc-drawer-z);
	display: flex;
	flex-direction: column;
	width: min(88vw, 400px);
	background: var(--vc-surface);
	box-shadow: var(--vc-shadow-lg);
	transform: translateX(-100%);
	visibility: hidden;
	transition: transform 0.25s var(--vc-ease), visibility 0s linear 0.25s;
}

.vc-nav.is-open {
	transform: none;
	visibility: visible;
	transition: transform 0.25s var(--vc-ease);
}

.vc-nav__drawer-head {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	padding: var(--vc-space-2) var(--vc-space-2) var(--vc-space-2) var(--vc-space-4);
	border-bottom: 1px solid var(--vc-line);
	color: var(--vc-ink);
	font-size: var(--vc-text-lg);
	font-weight: 750;
}

.vc-nav__drawer-title {
	color: var(--vc-ink);
}

.vc-nav__close {
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: var(--vc-radius-sm);
	background: transparent;
	color: var(--vc-ink);
}

.vc-nav__close:hover {
	background: var(--vc-surface-alt);
}

.vc-nav__inner {
	flex: 1;
	padding: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.vc-nav__list,
.vc-nav__sub,
.vc-nav__links,
.vc-mega__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vc-nav__item--depth-0 {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--vc-line);
}

.vc-nav__link {
	flex: 1;
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 0 var(--vc-space-4);
	border: 0;
	background: transparent;
	color: var(--vc-ink);
	font-weight: 650;
	text-align: left;
	text-decoration: none;
}

.vc-nav__item.is-current > .vc-nav__link {
	color: var(--vc-primary-ink);
}

.vc-nav__item--highlight > .vc-nav__link {
	color: var(--vc-accent);
}

.vc-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	min-height: 52px;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--vc-line);
	background: transparent;
	color: var(--vc-ink-soft);
}

.vc-nav__toggle .vc-icon {
	transition: transform 0.2s;
}

.vc-nav__toggle[aria-expanded="true"] .vc-icon {
	transform: rotate(180deg);
}

/* A label that is itself the toggle (e.g. "Brands"). */
.vc-nav__toggle--label {
	justify-content: space-between;
	width: auto;
	border-left: 0;
	color: var(--vc-ink);
}

.vc-nav__toggle--label .vc-icon {
	margin-right: calc(18px - var(--vc-space-4));
}

/* Panels are accordions in the drawer. */
.vc-nav__panel {
	display: none;
	flex-basis: 100%;
	padding: var(--vc-space-1) var(--vc-space-4) var(--vc-space-4);
	background: var(--vc-surface-alt);
}

.vc-nav__item.is-open > .vc-nav__panel {
	display: block;
}

.vc-mega__col + .vc-mega__col {
	margin-top: var(--vc-space-3);
}

.vc-mega__title,
.vc-nav__heading {
	display: block;
	margin: var(--vc-space-3) 0 var(--vc-space-1);
	color: var(--vc-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.vc-mega__title a {
	color: inherit;
	text-decoration: none;
}

.vc-mega__link,
.vc-nav__sublink {
	display: block;
	padding: 0.45rem 0;
	color: var(--vc-ink-soft);
	text-decoration: none;
}

.vc-mega__link:hover,
.vc-nav__sublink:hover,
.vc-mega__title a:hover {
	color: var(--vc-primary-ink);
}

.vc-mega__list--grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--vc-space-4);
}

.vc-mega__all {
	display: inline-block;
	margin-top: var(--vc-space-3);
	color: var(--vc-primary-ink);
	font-weight: 700;
	text-decoration: none;
}

.vc-mega__all::after {
	content: " →";
}

.vc-mega__count {
	color: var(--vc-muted);
	font-weight: 500;
}

.vc-nav__drawer-foot {
	flex-shrink: 0;
	margin: 0;
	padding: var(--vc-space-2) 0;
	border-top: 1px solid var(--vc-line);
	background: var(--vc-surface-alt);
	list-style: none;
}

.vc-nav__drawer-foot a {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	min-height: 44px;
	padding: 0 var(--vc-space-4);
	color: var(--vc-ink);
	font-weight: 600;
	text-decoration: none;
}

.vc-nav__drawer-foot .vc-icon {
	color: var(--vc-primary-deep);
}

/* Short screens (phones in landscape): the pinned footer left ~60px for the menu. Scroll the
   whole drawer instead, footer after the list. */
@media (max-width: 1023px) and (max-height: 560px) {
	.vc-nav {
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.vc-nav__inner {
		flex: none;
		overflow: visible;
	}
}

@media (min-width: 1024px) {
	.vc-nav-backdrop,
	.vc-nav__drawer-head,
	.vc-nav__drawer-foot {
		display: none !important;
	}

	.vc-nav {
		position: relative;
		z-index: auto;
		display: block;
		width: auto;
		border-top: 1px solid var(--vc-line);
		box-shadow: none;
		transform: none;
		visibility: visible;
		transition: none;
	}

	.vc-nav__inner {
		overflow: visible;
		padding-inline: var(--vc-gutter);
	}

	.vc-nav__list {
		display: flex;
		justify-content: center;
		gap: var(--vc-space-1);
	}

	.vc-nav__item--depth-0 {
		position: relative;
		flex-wrap: nowrap;
		align-items: stretch;
		border: 0;
	}

	/* Mega panels span the full nav bar, so their items must not be the positioning context. */
	.vc-nav__item--depth-0.is-mega {
		position: static;
	}

	.vc-nav__link {
		flex: none;
		min-height: 48px;
		padding: 0 var(--vc-space-2) 0 var(--vc-space-3);
		font-size: 0.9375rem;
		white-space: nowrap;
	}

	.vc-nav__item--depth-0:not(.has-children) > .vc-nav__link {
		padding-right: var(--vc-space-3);
	}

	.vc-nav__item--depth-0 > .vc-nav__link:hover,
	.vc-nav__item--depth-0.is-open > .vc-nav__link,
	.vc-nav__item--depth-0:hover > .vc-nav__link {
		color: var(--vc-primary-ink);
	}

	.vc-nav__toggle {
		width: 28px;
		min-height: 48px;
		margin-right: var(--vc-space-1);
		border: 0;
		border-radius: 6px;
	}

	.vc-nav__toggle--label {
		width: auto;
		gap: var(--vc-space-1);
		margin-right: 0;
		padding: 0 var(--vc-space-3);
	}

	.vc-nav__toggle--label .vc-icon {
		margin-right: 0;
	}

	/* Panels: hidden until hover (with a short intent delay) or toggled open. */
	.vc-nav__panel {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 30;
		display: block;
		min-width: 260px;
		padding: var(--vc-space-4) var(--vc-space-5);
		border: 1px solid var(--vc-line);
		border-radius: 0 0 var(--vc-radius) var(--vc-radius);
		background: var(--vc-surface);
		box-shadow: var(--vc-shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.15s, transform 0.15s, visibility 0s linear 0.15s;
	}

	.vc-nav__item.has-children:hover > .vc-nav__panel {
		transition-delay: 0.12s, 0.12s, 0.12s;
	}

	.vc-nav__item.has-children:hover > .vc-nav__panel,
	.vc-nav__item.is-open > .vc-nav__panel {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.vc-nav__item.is-open > .vc-nav__panel {
		transition-delay: 0s;
	}

	/* Suppress hover panels while another one is toggled open. */
	.vc-nav__list.has-open > .vc-nav__item.has-children:not(.is-open):hover > .vc-nav__panel {
		opacity: 0;
		visibility: hidden;
	}

	.vc-nav__item.is-mega > .vc-nav__panel {
		right: 0;
		width: min(100% - 2 * var(--vc-gutter), var(--vc-container) - 2 * var(--vc-gutter));
		margin-inline: auto;
		padding: var(--vc-space-5) var(--vc-space-6) var(--vc-space-5);
	}

	/* auto-fill keeps columns a sensible width instead of stretching two lists across the panel. */
	.vc-mega__cols,
	.vc-nav__item.is-mega > .vc-nav__panel > .vc-nav__sub {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
		gap: var(--vc-space-5) var(--vc-space-6);
	}

	.vc-mega__col + .vc-mega__col {
		margin-top: 0;
	}

	.vc-mega__title,
	.vc-nav__heading {
		margin-top: 0;
		margin-bottom: var(--vc-space-2);
		padding-bottom: var(--vc-space-2);
		border-bottom: 1px solid var(--vc-line);
	}

	.vc-mega__link,
	.vc-nav__sublink {
		padding: 0.3rem 0;
		font-size: 0.9375rem;
	}

	.vc-mega__list--grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		column-gap: var(--vc-space-5);
	}

	.vc-mega__all {
		margin-top: var(--vc-space-4);
		padding-top: var(--vc-space-3);
		border-top: 1px solid var(--vc-line);
		width: 100%;
	}
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.vc-nav__link {
		padding-left: var(--vc-space-2);
		font-size: 0.875rem;
	}

	.vc-nav__toggle:not(.vc-nav__toggle--label) {
		width: 22px;
	}
}

/* 9. Homepage styles live in home.css (front page only).
   ========================================================================== */

/* 10. Posts / content
   ========================================================================== */
.vc-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--vc-space-5);
}

.vc-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius);
	overflow: hidden;
}

.vc-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.vc-card__body {
	padding: var(--vc-space-4);
}

.vc-card__title {
	font-size: var(--vc-h3);
}

.vc-card__title a {
	color: inherit;
	text-decoration: none;
}

.vc-entry-meta {
	color: var(--vc-muted);
	font-size: var(--vc-text-sm);
}

.vc-entry-meta__sep {
	margin-inline: var(--vc-space-2);
}

.vc-entry__content {
	max-width: 80ch;
	overflow-wrap: break-word; /* Long URLs/emails in page text wrap instead of widening the page. */
}

.vc-shop-context .vc-entry__content,
.woocommerce-cart .vc-entry__content,
.woocommerce-checkout .vc-entry__content,
.woocommerce-account .vc-entry__content {
	max-width: none;
}

.vc-entry__content > * + h2,
.vc-entry__content > * + h3 {
	margin-top: var(--vc-space-6);
}

.vc-entry__media {
	margin-bottom: var(--vc-space-5);
}

.vc-entry__media img {
	border-radius: var(--vc-radius);
}

.vc-search-result {
	padding-block: var(--vc-space-4);
	border-bottom: 1px solid var(--vc-line);
}

.vc-empty {
	padding: var(--vc-space-7) 0;
	text-align: center;
}

.vc-empty .vc-searchform {
	max-width: 520px;
	margin-inline: auto;
}

.vc-404 {
	text-align: center;
}

.vc-404__code {
	margin: 0;
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: 800;
	line-height: 1;
	color: var(--vc-primary);
}

.vc-404 .vc-searchform {
	max-width: 520px;
	margin-inline: auto;
}

.vc-404 .vc-chip-list {
	justify-content: center;
}

/* WordPress core alignment + captions */
.alignwide {
	max-width: var(--vc-container);
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.wp-caption-text,
figcaption {
	color: var(--vc-muted);
	font-size: var(--vc-text-sm);
}

/* 11. Footer
   ========================================================================== */
.vc-footer {
	background: var(--vc-footer-bg);
	color: var(--vc-footer-ink);
	font-size: 0.95rem;
}

.vc-footer a {
	color: var(--vc-footer-ink);
	text-decoration: none;
}

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

.vc-footer__main {
	padding-block: var(--vc-space-5) var(--vc-space-4);
}

.vc-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--vc-space-6);
}

@media (min-width: 640px) {
	.vc-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.vc-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	}
}

.vc-footer .vc-logo {
	color: #fff;
	margin-bottom: var(--vc-space-4);
}

.vc-footer .vc-logo__img {
	width: auto;
	max-width: 100%;
	height: 56px;
	object-fit: contain;
}

/* The site logo is designed for light backgrounds; without a dedicated footer logo it sits on a plate. */
.vc-footer .vc-logo--plate {
	padding: var(--vc-space-2) var(--vc-space-3);
	border-radius: var(--vc-radius-sm);
	background: #fff;
}

.vc-footer__title {
	margin-bottom: var(--vc-space-3);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: var(--vc-text-sm);
}

.vc-footer__links,
.vc-footer__contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vc-footer__links li,
.vc-footer__contact li {
	margin-bottom: var(--vc-space-1);
}

/* 24px+ tap targets (WCAG 2.5.8) without changing the visual rhythm. */
.vc-footer__links a,
.vc-footer__contact a {
	display: inline-block;
	padding-block: 4px;
}

.vc-footer__contact li {
	display: flex;
	gap: var(--vc-space-2);
	align-items: flex-start;
}

.vc-footer__contact .vc-icon {
	margin-top: 3px;
	color: var(--vc-primary);
}

.vc-social {
	display: flex;
	gap: var(--vc-space-2);
	margin: var(--vc-space-4) 0 0;
	padding: 0;
	list-style: none;
}

.vc-social__link {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgb(255 255 255 / 15%);
	border-radius: 50%;
}

.vc-social__link:hover {
	background: var(--vc-primary-deep);
	border-color: var(--vc-primary-deep);
}

/* Newsletter band (form markup from VapeEra Core; theme declares 'newsletter-styles'). */
.vc-footer__newsletter {
	padding-block: var(--vc-space-4);
	border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.vapeera-newsletter {
	position: relative;
	display: grid;
	gap: var(--vc-space-4);
	align-items: center;
}

@media (min-width: 900px) {
	.vapeera-newsletter {
		grid-template-columns: 1fr 1.15fr;
		gap: var(--vc-space-6);
	}
}

.vapeera-newsletter__title {
	margin: 0 0 var(--vc-space-1);
	color: #fff;
	font-size: var(--vc-h3);
}

.vapeera-newsletter__text {
	margin: 0;
}

.vapeera-newsletter__row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-2);
}

/* Beats the global input[type="email"] rule. */
.vapeera-newsletter input.vapeera-newsletter__input {
	flex: 1 1 14rem;
	width: auto;
	min-width: 0;
	min-height: 48px;
	padding: var(--vc-space-2) var(--vc-space-4);
	border: 1px solid transparent;
	border-radius: var(--vc-radius-pill);
	background: #fff;
	color: var(--vc-ink);
}

.vapeera-newsletter input.vapeera-newsletter__input::placeholder {
	color: var(--vc-muted);
	opacity: 1;
}

/* Colours come from the theme's button[type="submit"] rule. */
.vapeera-newsletter__button {
	min-height: 48px;
	padding-inline: var(--vc-space-5);
}

.vapeera-newsletter__button:disabled {
	opacity: 0.65;
	cursor: progress;
}

.vapeera-newsletter__consent {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: var(--vc-space-2);
	margin: var(--vc-space-3) 0 0;
	font-size: var(--vc-text-sm);
}

.vapeera-newsletter__consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 0.15em;
	accent-color: var(--vc-primary);
}

.vapeera-newsletter__consent label {
	flex: 1 1 0;
	min-width: 12rem;
}

.vc-footer .vapeera-newsletter__privacy {
	text-decoration: underline;
}

.vapeera-newsletter__status {
	margin: var(--vc-space-3) 0 0;
	font-weight: 600;
}

.vapeera-newsletter__status:empty {
	display: none;
}

.vapeera-newsletter__status.is-success {
	color: #86efac;
}

.vapeera-newsletter__status.is-error {
	color: #fca5a5;
}

/* Shortcode use on light page backgrounds. */
.vapeera-newsletter--inline {
	padding: var(--vc-space-5);
	border-radius: var(--vc-radius);
	background: var(--vc-footer-bg);
	color: var(--vc-footer-ink);
}

.vapeera-newsletter--inline a {
	color: var(--vc-footer-ink);
}

.vc-footer__bottom {
	padding-block: var(--vc-space-4);
	padding-bottom: 0;
	border-top: 1px solid rgb(255 255 255 / 10%);
	font-size: var(--vc-text-sm);
}

.vc-footer__bottom-inner {
	display: grid;
	gap: var(--vc-space-3);
}

.vc-payments {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vc-payments__item {
	padding: 0.25rem 0.65rem;
	border: 1px solid rgb(255 255 255 / 18%);
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.8rem;
	color: #fff;
}

.vc-footer__legal-note {
	margin: 0;
	opacity: 0.85;
}

.vc-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--vc-space-3);
}

.vc-footer__meta p {
	margin: 0;
}

.vc-footer__meta .vc-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-1) var(--vc-space-4); /* the links' own 4px padding already separates wrapped rows */
}

.vc-footer__meta .vc-footer__links li {
	margin: 0;
}

@media (max-width: 767px) {
	.vc-footer__main {
		padding-block: var(--vc-space-3);
	}

	.vc-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--vc-space-3);
	}

	.vc-footer__col--brand,
	.vc-footer__col:last-child {
		grid-column: 1 / -1;
	}

	.vc-footer .vc-logo {
		margin-bottom: var(--vc-space-2);
	}

	.vc-footer__about {
		margin-bottom: var(--vc-space-2);
	}

	.vc-social {
		margin-top: var(--vc-space-2);
	}

	.vc-footer__title {
		margin-bottom: var(--vc-space-2);
	}

	.vc-footer__links li,
	.vc-footer__contact li {
		margin-bottom: 0;
	}

	.vc-footer__newsletter {
		padding-block: var(--vc-space-3);
	}

	.vc-footer__bottom {
		padding-block: var(--vc-space-3);
	}

	.vapeera-newsletter {
		gap: var(--vc-space-3);
	}

	.vapeera-newsletter__row {
		gap: var(--vc-space-2);
	}

	.vapeera-newsletter__button {
		width: 100%;
	}
}

/* 12. Comments
   ========================================================================== */
.vc-comments {
	margin-top: var(--vc-space-7);
}

.vc-comments__list {
	padding: 0;
	list-style: none;
}

.vc-comments__list .children {
	list-style: none;
	padding-left: var(--vc-space-5);
}

/* 13. Contact page (page-contact-us.php)
   ========================================================================== */
.vc-contact__header {
	max-width: 720px;
}

.vc-contact__header .vc-page-intro a {
	font-weight: 650;
}

.vc-contact__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--vc-space-4);
	margin: 0 0 var(--vc-space-6);
	padding: 0;
	list-style: none;
}

.vc-contact__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--vc-space-2);
	padding: var(--vc-space-5);
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius);
	background: var(--vc-surface);
	box-shadow: var(--vc-shadow);
}

.vc-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: var(--vc-space-2);
	border-radius: var(--vc-radius-pill);
	background: rgb(58 162 177 / 12%);
	color: var(--vc-primary-ink);
}

.vc-contact__title {
	margin: 0;
	font-size: var(--vc-h3);
}

.vc-contact__value {
	margin: 0;
	color: var(--vc-ink);
	font-size: var(--vc-text-lg);
	font-style: normal;
	font-weight: 650;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.vc-contact__value a {
	color: inherit;
	text-decoration-color: var(--vc-primary);
	text-underline-offset: 3px;
}

.vc-contact__value a:hover {
	color: var(--vc-primary-ink);
}

.vc-contact__note {
	margin: 0;
	color: var(--vc-muted);
	font-size: var(--vc-text-sm);
}

.vc-contact__card .vc-contact__action {
	margin-top: var(--vc-space-3);
}

.vc-contact__help {
	padding: var(--vc-space-5);
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius);
	background: var(--vc-surface); /* surface-alt is the page colour: the box was invisible, only its padding showed */
}

.vc-contact__help-title {
	margin: 0 0 var(--vc-space-3);
	font-size: var(--vc-text-lg);
}

.vc-contact__help ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-2) var(--vc-space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vc-contact__help a {
	display: inline-block;
	padding: var(--vc-space-1) 0;
}

.vc-contact__content {
	margin-top: var(--vc-space-6);
}

/* FAQ accordion (store-written questions: product pages, FAQ page, category pages) */
.vc-faq {
	display: grid;
	gap: var(--vc-space-2);
}

.vc-faq__item {
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius-sm);
	background: var(--vc-surface);
}

.vc-faq__item[open] {
	border-color: var(--vc-primary);
}

.vc-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vc-space-3);
	padding: var(--vc-space-3) var(--vc-space-4);
	cursor: pointer;
	list-style: none;
}

.vc-faq__question::-webkit-details-marker {
	display: none;
}

.vc-faq__question h3 {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
}

/* Plus that turns into a minus. */
.vc-faq__toggle {
	position: relative;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
}

.vc-faq__toggle::before,
.vc-faq__toggle::after {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 14px;
	height: 2px;
	border-radius: 1px;
	background: var(--vc-primary-deep);
	transition: transform 0.2s var(--vc-ease);
}

.vc-faq__toggle::after {
	transform: rotate(90deg);
}

.vc-faq__item[open] .vc-faq__toggle::after {
	transform: rotate(0deg);
}

.vc-faq__answer {
	padding: 0 var(--vc-space-4) var(--vc-space-4);
}

.vc-faq__answer > *:last-child {
	margin-bottom: 0;
}

/* Back to top */
.vc-to-top {
	position: fixed;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	left: 16px;
	z-index: 95;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--vc-radius-pill);
	background: var(--vc-ink);
	color: #fff;
	box-shadow: var(--vc-shadow);
	opacity: 0;
	transform: translateY(12px);
	visibility: hidden;
	transition: opacity 0.2s, transform 0.2s var(--vc-ease), visibility 0.2s;
}

.vc-to-top .vc-icon {
	transform: rotate(180deg);
}

.vc-to-top.is-visible {
	opacity: 1;
	transform: none;
	visibility: visible;
}

.vc-to-top:hover {
	background: var(--vc-primary-ink);
	color: #fff;
}

/* Above the product page's sticky add-to-basket bar on small screens. */
.vc-has-sticky-atc .vc-to-top {
	bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

@media (prefers-reduced-motion: reduce) {
	.vc-to-top {
		transition: none;
	}
}

/* WhatsApp button on the left (VapeEra Core setting): back-to-top moves to the right. */
body:has(.vapeera-whatsapp-wrap--left) .vc-to-top {
	right: 16px;
	left: auto;
}

/* Offers ticker (template-parts/header/offers-ticker.php)
   ========================================================================== */
.vc-ticker {
	border-bottom: 1px solid var(--vc-line);
	background: var(--vc-surface-alt);
	font-size: var(--vc-text-sm);
}

.vc-ticker__inner {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	min-height: 40px;
}

.vc-ticker__label {
	flex: none;
	padding: 2px 10px;
	border-radius: var(--vc-radius-pill);
	background: var(--vc-primary-deep);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vc-ticker__viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.vc-ticker__viewport::-webkit-scrollbar {
	display: none;
}

.vc-ticker__track {
	display: flex;
	gap: var(--vc-space-5);
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vc-ticker__item a {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	min-height: 32px;
	color: var(--vc-ink);
	text-decoration: none;
	white-space: nowrap;
}

.vc-ticker__item a:hover .vc-ticker__name,
.vc-ticker__item a:focus-visible .vc-ticker__name {
	text-decoration: underline;
}

.vc-ticker__deal {
	color: var(--vc-primary-deep);
}

.vc-ticker__all {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 32px; /* tap target */
	color: var(--vc-ink);
	font-weight: 600;
	white-space: nowrap;
}

/* Animated only when the script found room to scroll and motion is allowed. */
.vc-ticker.is-animated .vc-ticker__viewport {
	overflow: hidden;
}

.vc-ticker.is-animated .vc-ticker__track {
	animation: vc-ticker var(--vc-ticker-duration, 40s) linear infinite;
}

.vc-ticker.is-animated:hover .vc-ticker__track,
.vc-ticker.is-animated:focus-within .vc-ticker__track,
.vc-ticker.is-paused .vc-ticker__track {
	animation-play-state: paused;
}

@keyframes vc-ticker {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(var(--vc-ticker-shift, -50%));
	}
}

@media (max-width: 639px) {
	.vc-ticker__all {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vc-ticker.is-animated .vc-ticker__track {
		animation: none;
	}
}

/* Footer newsletter: 16px so iOS Safari doesn't zoom into the field on focus. */
.vapeera-newsletter__input {
	font-size: 16px;
}

/* ==========================================================================
   12. Brand skin — dark teal header, nav and footer
   The header sits on the dark brand surface (white text, teal accents); drop-down
   panels and the mobile drawer stay white for readability. Contrast: white on
   #062c35 14.8:1, #b9d3da on #021c24 11.2:1, #7cc7d1 on #021c24 9.2:1.
   ========================================================================== */
.vc-announcement {
	background: var(--vc-dark);
	color: var(--vc-dark-ink);
	font-weight: 500;
	letter-spacing: 0.01em;
}

.vc-header {
	background: var(--vc-dark-2);
	box-shadow: 0 1px 0 rgb(255 255 255 / 8%);
	color: #fff;
}

.vc-header.is-scrolled {
	box-shadow: 0 1px 0 rgb(255 255 255 / 8%), 0 10px 30px rgb(2 28 36 / 35%);
}

.vc-header .vc-logo {
	color: #fff;
	font-family: var(--vc-font-heading);
}

.vc-header__menu-toggle,
.vc-header__action {
	color: #fff;
}

.vc-header__menu-toggle:hover,
.vc-header__action:hover {
	background: rgb(255 255 255 / 8%);
	color: #fff;
}

.vc-cart-count {
	border-color: var(--vc-dark-2);
}

.vc-cart-total {
	color: var(--vc-primary-soft);
}

/* Search: translucent field on the dark bar, white once focused. */
.vc-search__form {
	border-color: rgb(255 255 255 / 14%);
	background: rgb(255 255 255 / 8%);
}

.vc-search .vc-search__input,
.vc-search .vc-search__input:focus {
	color: #fff;
}

.vc-search .vc-search__input::placeholder {
	color: #8aa9b4;
	opacity: 1;
}

.vc-search__form:focus-within {
	border-color: var(--vc-primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgb(58 162 177 / 30%);
}

.vc-search__form:focus-within .vc-search__input {
	color: var(--vc-ink);
}

.vc-search__form:focus-within .vc-search__input::placeholder {
	color: var(--vc-muted);
}

.vc-search__submit {
	margin-right: 4px;
	width: 38px;
	height: 38px;
	background: var(--vc-primary-deep);
	color: #fff;
}

.vc-search__submit:hover {
	background: var(--vc-primary);
	color: var(--vc-dark);
}

/* Desktop nav bar: darkest band under the header. */
@media (min-width: 1024px) {
	.vc-nav {
		border-top-color: rgb(255 255 255 / 8%);
		background: var(--vc-dark);
	}

	.vc-nav__item--depth-0 > .vc-nav__link,
	.vc-nav__item--depth-0 > .vc-nav__toggle {
		color: #fff;
	}

	.vc-nav__item--depth-0 > .vc-nav__link:hover,
	.vc-nav__item--depth-0.is-open > .vc-nav__link,
	.vc-nav__item--depth-0:hover > .vc-nav__link,
	.vc-nav__item--depth-0.is-current > .vc-nav__link {
		color: var(--vc-primary-soft);
	}

	.vc-nav__item--depth-0 > .vc-nav__toggle:hover {
		background: rgb(255 255 255 / 8%);
	}

	/* "Offers": a teal pill instead of red text (red fails contrast on the dark bar). */
	.vc-nav__item--highlight > .vc-nav__link {
		align-self: center;
		min-height: 34px;
		margin-inline: var(--vc-space-2);
		padding-inline: var(--vc-space-4);
		border-radius: var(--vc-radius-pill);
		background: var(--vc-primary-deep);
		color: #fff;
	}

	.vc-nav__item--depth-0.vc-nav__item--highlight > .vc-nav__link:hover {
		background: var(--vc-primary);
		color: var(--vc-dark);
	}

	.vc-nav__panel {
		border-color: var(--vc-line);
		border-radius: 0 0 var(--vc-radius) var(--vc-radius);
	}
}

/* Offers ticker: light teal tint between the dark header and the page. */
.vc-ticker {
	border-bottom-color: var(--vc-line);
	background: var(--vc-primary-tint);
}

/* Headings in the drawer, panels and footer use the heading face. */
.vc-nav__heading,
.vc-mega__title,
.vc-footer__title,
.vapeera-newsletter__title {
	font-family: var(--vc-font-heading);
}

/* Footer: darkest surface, teal uppercase column titles. */
.vc-footer {
	background: var(--vc-dark);
}

.vc-footer__title {
	color: var(--vc-primary-soft);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
}

.vc-footer a:hover {
	color: var(--vc-primary-soft);
}

/* Newsletter: a rounded gradient card at the top of the footer. */
.vc-footer__newsletter {
	padding-block: var(--vc-space-7) 0;
	border-bottom: 0;
}

.vc-footer__newsletter .vapeera-newsletter {
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid rgb(255 255 255 / 8%);
	border-radius: var(--vc-radius-lg);
	background: var(--vc-hero-bg);
}

.vapeera-newsletter__title {
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
	letter-spacing: -0.025em;
}

.vapeera-newsletter__button {
	background: #fff;
	color: var(--vc-dark);
}

.vapeera-newsletter__button:hover {
	background: var(--vc-primary-soft);
	color: var(--vc-dark);
}

.vc-payments__item {
	border-color: rgb(255 255 255 / 14%);
	border-radius: var(--vc-radius-pill);
}

/* Breadcrumb separators were invisible on the tinted page background. */
.vc-breadcrumbs li:not(:last-child)::after {
	color: #9fb8c1;
}

/* Eyebrow label above section titles: a short rule + small uppercase teal text. */
.vc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 var(--vc-space-3);
	color: var(--vc-primary-deep);
	font-family: var(--vc-font-heading);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.vc-eyebrow::before {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: currentColor;
}

/* On dark brand surfaces. */
.vc-banner .vc-eyebrow,
.vc-dark .vc-eyebrow {
	color: var(--vc-primary-soft);
}

/* Generic white content card on the tinted page background. */
.vc-panel {
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius-lg);
	background: var(--vc-surface);
}

/* ==========================================================================
   13. Banner — the dark brand header of archives and content pages
   Markup: header.vc-banner > .vc-banner__text (eyebrow, h1, intro, facts)
           [+ .vc-banner__media: up to three product images, decorative]
   ========================================================================== */
.vc-banner {
	position: relative;
	display: grid;
	gap: var(--vc-space-5);
	align-items: center;
	margin: 0 0 var(--vc-space-6);
	padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.25rem, 4vw, 3.25rem);
	overflow: hidden;
	border-radius: var(--vc-radius-lg);
	background: var(--vc-hero-bg);
	color: var(--vc-dark-ink);
}

@media (min-width: 900px) {
	.vc-banner--has-media {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		min-height: 300px;
	}
}

.vc-banner__text {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.vc-banner .vc-eyebrow {
	color: var(--vc-primary-soft);
}

.vc-banner h1,
.vc-banner .vc-page-title {
	margin: 0 0 var(--vc-space-3);
	color: #fff;
	font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
	letter-spacing: -0.035em;
}

.vc-banner .vc-page-intro,
.vc-banner .term-description,
.vc-banner .page-description,
.vc-banner__intro {
	max-width: 60ch;
	margin: 0;
	color: var(--vc-dark-ink);
	font-size: var(--vc-text-lg);
	line-height: 1.6;
}

.vc-banner .term-description p,
.vc-banner .page-description p {
	margin: 0 0 var(--vc-space-2);
}

.vc-banner .term-description p:last-child,
.vc-banner .page-description p:last-child {
	margin-bottom: 0;
}

.vc-banner a:not(.vc-button) {
	color: #fff;
}

/* Fact pills under the intro. */
.vc-banner__facts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-2);
	margin: var(--vc-space-5) 0 0;
	padding: 0;
	list-style: none;
}

.vc-banner__facts li {
	padding: 0.35rem 0.85rem;
	border: 1px solid rgb(255 255 255 / 16%);
	border-radius: var(--vc-radius-pill);
	background: rgb(255 255 255 / 6%);
	color: #fff;
	font-size: var(--vc-text-sm);
	font-weight: 500;
	white-space: nowrap;
}

.vc-banner__facts .is-primary {
	border-color: transparent;
	background: #fff;
	color: var(--vc-dark);
	font-weight: 700;
}

@media (max-width: 639px) {
	.vc-banner__facts li:not(.is-primary) {
		display: none;
	}
}

/* Product collage: three white cards fanned out, the middle one on top. */
.vc-banner__media {
	position: relative;
	display: none;
	height: 260px;
}

@media (min-width: 900px) {
	.vc-banner__media {
		display: block;
	}
}

.vc-banner__shot {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 46%;
	max-width: 210px;
	aspect-ratio: 1;
	padding: var(--vc-space-3);
	border-radius: var(--vc-radius);
	background: #fff;
	box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
}

.vc-banner__shot img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.vc-banner__shot:nth-child(1) {
	z-index: 2;
	transform: translate(-50%, -50%);
}

.vc-banner__shot:nth-child(2) {
	z-index: 1;
	transform: translate(-112%, -44%) rotate(-7deg) scale(0.86);
}

.vc-banner__shot:nth-child(3) {
	z-index: 1;
	transform: translate(12%, -44%) rotate(7deg) scale(0.86);
}

/* Content pages: breathing room between the banner and the body. */
.vc-page-header.vc-banner {
	margin-bottom: var(--vc-space-6);
}

.vc-contact__header.vc-banner {
	max-width: none;
}

@media (max-width: 639px) {
	.vc-banner {
		margin-bottom: var(--vc-space-5);
	}

	.vc-banner .vc-page-intro,
	.vc-banner .term-description,
	.vc-banner .page-description,
	.vc-banner__intro {
		font-size: var(--vc-text-base);
	}
}

/* ==========================================================================
   14. Wishlist page (YITH): full-width table in the theme's card style
   ========================================================================== */
.vc-entry__content:has(> .yith-wcwl-form) {
	max-width: none;
}

/* Empty wishlist: a short hint and a way back into the shop (inc/compat.php). */
.vc-wishlist-empty {
	margin-top: var(--vc-space-5);
	text-align: center;
	color: var(--vc-muted);
}

.vc-wishlist-empty__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--vc-space-4);
}

/* Very narrow screens: the table scrolls inside its form instead of widening the page. */
@media (max-width: 479px) {
	.yith-wcwl-form {
		max-width: 100%;
		overflow-x: auto;
	}
}

/* The page banner already says "Wishlist"; hide YITH's own title unless it is the editable one. */
.vc-banner ~ .vc-entry__content .wishlist-title:not(.wishlist-title-with-form) {
	display: none;
}

.yith-wcwl-form table.wishlist_table {
	width: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--vc-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--vc-radius);
	background: var(--vc-surface);
	font-size: var(--vc-text-sm);
}

.yith-wcwl-form table.wishlist_table thead th {
	padding: var(--vc-space-3) var(--vc-space-4);
	border: 0;
	border-bottom: 1px solid var(--vc-line);
	background: var(--vc-surface-alt);
	color: var(--vc-ink-soft);
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-align: left;
	text-transform: uppercase;
}

.yith-wcwl-form table.wishlist_table tbody td {
	padding: var(--vc-space-3) var(--vc-space-4);
	border: 0;
	border-top: 1px solid var(--vc-line);
	vertical-align: middle;
}

.yith-wcwl-form table.wishlist_table tbody tr:first-child td {
	border-top: 0;
}

.yith-wcwl-form table.wishlist_table td.wishlist-empty {
	padding: var(--vc-space-7) var(--vc-space-4);
	color: var(--vc-muted);
	font-size: var(--vc-text-base);
	font-weight: 600;
	text-align: center;
}

.yith-wcwl-form table.wishlist_table .product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: var(--vc-radius-sm);
	background: var(--vc-surface-alt);
}

.yith-wcwl-form table.wishlist_table .product-name a {
	color: var(--vc-ink);
	font-weight: 650;
	text-decoration: none;
}

.yith-wcwl-form table.wishlist_table .product-add-to-cart .button {
	border-radius: var(--vc-radius-pill);
	background: var(--vc-ink);
	color: #fff;
}

.yith-wcwl-form table.wishlist_table .product-add-to-cart .button:hover {
	background: var(--vc-primary-deep);
}

/* 16. Featured-brand menu items ("Shop {Brand}") and product lists in mega panels
   ========================================================================== */
.vc-mega__products {
	display: grid;
	gap: var(--vc-space-1);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vc-mega__product {
	display: flex;
	align-items: center;
	gap: var(--vc-space-3);
	min-height: 44px;
	padding: var(--vc-space-1) 0;
	color: var(--vc-ink-soft);
	text-decoration: none;
}

.vc-mega__thumb {
	flex: none;
	width: 48px;
	height: 48px;
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius-sm);
	background: var(--vc-surface);
	object-fit: contain;
}

.vc-mega__product-text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.vc-mega__product-name {
	display: -webkit-box;
	overflow: hidden;
	color: var(--vc-ink);
	font-size: var(--vc-text-sm);
	font-weight: 500;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.vc-mega__product-price {
	color: var(--vc-primary-ink);
	font-size: 0.8125rem;
	font-weight: 700;
}

.vc-mega__product-price del {
	margin-right: var(--vc-space-1);
	color: var(--vc-muted);
	font-weight: 400;
}

.vc-mega__product-price ins {
	text-decoration: none;
}

.vc-mega__product:hover .vc-mega__product-name {
	color: var(--vc-primary-ink);
	text-decoration: underline;
}

@media (min-width: 1024px) {
	/* Brand panel: products take two thirds, the type list the rest. */
	.vc-mega--brand .vc-mega__cols {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	}

	.vc-mega__products {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: var(--vc-space-2) var(--vc-space-5);
	}

	/* Featured-brand items sit between the categories and "Brands": tighten the whole bar a
	   little so every item fits on one line. */
	.vc-nav__list.has-featured .vc-nav__link {
		padding-left: var(--vc-space-2);
	}

	.vc-nav__list.has-featured {
		gap: 0;
	}

	.vc-nav__list.has-featured .vc-nav__toggle:not(.vc-nav__toggle--label) {
		width: 24px;
		margin-right: 0;
	}
}

/* Three brands: show just the brand name in the bar ("Shop" stays for screen readers). */
@media (min-width: 1024px) {
	.vc-nav__list.has-featured-many .vc-nav__prefix {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* Below 1280px the bar can't fit them on one line: the brands stay reachable from "Brands"
   (and every featured item is in the drawer below 1024px). */
@media (min-width: 1024px) and (max-width: 1279px) {
	.vc-nav__item--brand {
		display: none;
	}
}
