/* Phase P3.9C - Fumot variation-as-card catalog filter bar.
   Scoped to .vpn-fumot-filter-bar only - no other selectors touched. */
.vpn-fumot-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
}

.vpn-fumot-filter-btn {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #333;
	background: #fff;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vpn-fumot-filter-btn:hover {
	border-color: #333;
	color: #000;
}

.vpn-fumot-filter-btn.active {
	background: #222;
	border-color: #222;
	color: #fff;
}

.vpn-fumot-model-line {
	opacity: 0.75;
	font-size: 0.85em;
}

/* Phase P3.10C-HF3 - Homepage Best Sellers card cleanup (element ID
   97a2fc2 is this specific Elementor Best Sellers widget instance's own
   persistent ID - stable across requests, unlike its inner bwp_bestsales_*
   id which is regenerated per render). Removes only the red sale-percentage
   badge; Shop/Disposable Vapes/Fumot brand/On Sale keep their badge as-is
   since this selector never matches outside this one widget. */
.elementor-element-97a2fc2 .onsale {
	display: none !important;
}

/* Phase P3.10C-HF4 - center the existing blue Add to cart button within
   each Homepage Best Sellers card. The button (.btn-atc a) is
   display:inline-flex with an intrinsic width, so it sits at the start of
   its block-level .btn-atc wrapper by default; text-align:center on the
   wrapper centers it without touching the button's own size/color/text. */
.elementor-element-97a2fc2 .btn-atc {
	text-align: center;
}

/* Phase P3.12D - remove the large gradient page-title/hero (heading +
   embedded breadcrumb) on the real-product catalog/archive surfaces only.
   Scoped via the vpn-clean-archive body class, added only on Shop, the
   product category/brand archives, and On Sale by
   vapnory_p312d_is_clean_archive() in functions.php - this can never
   affect Single Product (handled separately in P3.12C), Homepage, or any
   other page type. display:none is used (not a PHP template override)
   because the hero comes from a shared pluggable parent-theme function
   also used by non-product pages; see the equivalent P3.12C precedent for
   the same reasoning. */
body.vpn-clean-archive .page-title.bwp-title {
	display: none !important;
}

/* Restore a small, deliberate gap between the header and the catalog
   controls now that the hero's own spacing (80px padding + 110px margin)
   is gone. */
body.vpn-clean-archive #primary {
	margin-top: 24px;
}

@media (max-width: 767px) {
	.vpn-fumot-filter-bar {
		gap: 6px;
		margin-bottom: 14px;
	}
	.vpn-fumot-filter-btn {
		padding: 7px 12px;
		font-size: 12px;
		flex: 0 0 auto;
	}
}

/* "Showing: Icy + Strawberry flavours - Show all" line under the filter bar (homepage Shop by cooling / flavour links) */
.vpn-home-refine {
	margin: -8px 0 18px;
	font-size: 13px;
	color: #5a6672;
}
.vpn-home-refine a {
	margin-left: 4px;
	font-weight: 600;
	color: #0b7a84;
}

/* 2026-10-05 - device tabs with a number, dimmed empty tabs, phone grid (2 columns, ALL on its own line), and the active filters as removable chips.
   Scoped to .vpn-fumot-filter-bar--counted (real catalogue archives) and .vpn-refine-*; the On Sale header keeps its plain tabs. */
.vpn-fumot-filter-count { margin-left: 6px; font-weight: 500; opacity: 0.7; }
.vpn-fumot-filter-btn.active .vpn-fumot-filter-count { opacity: 0.85; }
.vpn-fumot-filter-btn.is-empty { color: #9aa2a9; background: #f6f7f8; border-style: dashed; cursor: default; }
.vpn-fumot-filter-btn.is-empty:hover { border-color: #e0e0e0; color: #9aa2a9; }
@media (max-width: 767px) {
	.vpn-fumot-filter-bar--counted { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
	.vpn-fumot-filter-bar--counted .vpn-fumot-filter-btn { display: flex; align-items: center; justify-content: center; text-align: center; white-space: normal; line-height: 1.25; padding: 9px 8px; }
	.vpn-fumot-filter-bar--counted .vpn-fumot-filter-btn:first-child { grid-column: 1 / -1; }
	.vpn-fumot-filter-bar--counted .vpn-fumot-filter-btn:last-child:nth-child(even) { grid-column: 1 / -1; }
}
.vpn-refine-active { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.vpn-refine-label { font-weight: 600; color: #333; }
.vpn-home-refine a.vpn-refine-chip { margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid #0b7a84; border-radius: 999px; background: #eefafb; color: #0b7a84; font-size: 13px; font-weight: 600; text-decoration: none; line-height: 1.2; }
.vpn-home-refine a.vpn-refine-chip:hover { background: #0b7a84; color: #fff; }
.vpn-home-refine a.vpn-refine-clear { margin: 0; text-decoration: underline; }
.vpn-refine-sub { flex: 0 0 100%; font-size: 12px; color: #6b7782; }
.vpn-home-refine .vpn-refine-sub a { margin-left: 0; font-weight: 600; }
/* tablet: slightly tighter tabs so that the five tabs with their numbers stay on one row from 768 px up */
@media (min-width: 768px) and (max-width: 991px) {
	.vpn-fumot-filter-bar--counted .vpn-fumot-filter-btn { padding: 8px 12px; }
}
/* phone: roomier chips (about 34 px high) */
@media (max-width: 767px) {
	.vpn-home-refine a.vpn-refine-chip { padding: 8px 12px; }
}

/* 2026-10-05 - Flavour / More fruit / Cooling filters, each choice with the number of flavours it shows (inc/shop-facets.php): in the FILTER drawer on phone / tablet,
   in a closed "Filter" panel under the tabs on desktop. The parent theme styles sidebar lists with very specific selectors (padding, hover = bold black), so the
   few properties that matter are marked !important and stay scoped to .vpn-facets / .vpn-facets-inline. */
.vpn-facet-list { list-style: none; margin: 0; padding: 0; }
.vpn-facet-list li { margin: 0; }
.vpn-facet-list li::marker { content: none; }
.vpn-facet-n { margin-left: auto; opacity: 0.65; font-size: 0.9em; }
.vpn-facet-x { margin-left: 10px; font-size: 1.2em; line-height: 1; }
.vpn-facets-hint { margin: 0 0 8px; font-size: 12px; color: #6b7782; }
.vpn-facets-clear { margin: 0 0 6px; }
.vpn-facets-clear a { font-weight: 600; color: #0b7a84; text-decoration: underline; }

/* the drawer */
.vpn-facets .vpn-facet-list { margin: 0 0 22px !important; padding: 0 !important; }
.vpn-facets .vpn-facet-list li { padding: 0 !important; border-bottom: 1px solid #eceef0; font-weight: 400 !important; }
.vpn-facets .vpn-facet-list li a,
.vpn-facets .vpn-facet-list li > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 6px 0; text-decoration: none; }
.vpn-facets .vpn-facet-list li a { color: #333 !important; }
.vpn-facets .vpn-facet-list li a:hover { color: #0b7a84 !important; }
.vpn-facets .vpn-facet-list li.is-selected,
.vpn-facets .vpn-facet-list li.is-selected:hover { font-weight: 700 !important; }
.vpn-facets .vpn-facet-list li.is-selected a { color: #0b7a84 !important; }
.vpn-facets .vpn-facet-list li.is-empty > span { color: #333; opacity: 0.45; cursor: default; }
.vpn-facets .vpn-facet-list li.is-empty:hover { font-weight: 400 !important; color: inherit; }

/* the desktop panel (>= 991 px); below that the drawer is used */
.vpn-facets-inline { display: none; }
@media (min-width: 991px) {
	.vpn-facets-inline { display: block; margin: -4px 0 16px; }
	.vpn-facets-inline > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 16px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: #333; background: #fff; list-style: none; }
	.vpn-facets-inline > summary::-webkit-details-marker { display: none; }
	.vpn-facets-inline > summary::after { content: "\25BE"; font-size: 11px; }
	.vpn-facets-inline[open] > summary::after { content: "\25B4"; }
	.vpn-facets-inline > summary:hover { border-color: #333; }
	.vpn-facets-inline .vpn-facets-chosen { font-weight: 500; opacity: 0.7; }
	.vpn-facets-inline-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 40px; margin-top: 12px; padding: 14px 16px; border: 1px solid #eceef0; border-radius: 6px; background: #fafbfb; }
	.vpn-facets-inline .vpn-facets-hint { flex: 0 0 100%; margin: 0; }
	.vpn-facets-inline .vpn-facet-group { flex: 0 1 auto; max-width: 100%; }
	.vpn-facets-inline .wp-block-heading { margin: 0 0 8px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
	.vpn-facets-inline .vpn-facet-list { display: flex; flex-wrap: wrap; gap: 6px; }
	.vpn-facets-inline .vpn-facet-list li a,
	.vpn-facets-inline .vpn-facet-list li > span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #e0e0e0; border-radius: 999px; background: #fff; font-size: 13px; color: #333; text-decoration: none; }
	.vpn-facets-inline .vpn-facet-list li a:hover { border-color: #0b7a84; color: #0b7a84; }
	.vpn-facets-inline .vpn-facet-list li.is-selected a { border-color: #0b7a84; background: #eefafb; color: #0b7a84; font-weight: 600; }
	.vpn-facets-inline .vpn-facet-list li.is-empty > span { opacity: 0.45; cursor: default; }
	.vpn-facets-inline .vpn-facet-n { margin-left: 0; }
	.vpn-facets-inline .vpn-facets-clear { flex: 0 0 100%; margin: 0; }
}

/* 2026-10-05 - collapsible blocks in the FILTER drawer + the "Find a flavour" search list (inc/shop-facets.php) */
.vpn-facets .vpn-facet-acc { margin: 0; border-bottom: 1px solid #eceef0; }
.vpn-facets .vpn-facet-acc > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: #222; }
.vpn-facets .vpn-facet-acc > summary::-webkit-details-marker { display: none; }
.vpn-facets .vpn-facet-acc > summary::after { content: "\25BE"; margin-left: auto; font-size: 12px; opacity: 0.7; }
.vpn-facets .vpn-facet-acc[open] > summary::after { content: "\25B4"; }
.vpn-facet-acc .vpn-acc-n { font-weight: 400; opacity: 0.6; }
.vpn-facet-acc .vpn-acc-cur { margin-left: 6px; font-weight: 600; color: #0b7a84; }
.vpn-facets .vpn-facet-acc > .vpn-facet-list { margin: 0 0 12px !important; }
.vpn-fnd { padding: 0 0 12px; }
.vpn-fnd .vpn-fnd-input { display: block; width: 100%; box-sizing: border-box; height: 44px; margin: 0 0 8px; padding: 0 12px; border: 1px solid #cfd5da; border-radius: 6px; font-size: 16px; background: #fff; }
.vpn-fnd .vpn-fnd-list { list-style: none; margin: 0 !important; padding: 0 !important; max-height: 260px; overflow-y: auto; border: 1px solid #eceef0; border-radius: 6px; background: #fff; -webkit-overflow-scrolling: touch; }
.vpn-fnd .vpn-fnd-list li { margin: 0; padding: 0 !important; border-bottom: 1px solid #f1f3f4; }
.vpn-fnd .vpn-fnd-list li[hidden] { display: none; }
.vpn-fnd .vpn-fnd-list li a { display: block; padding: 11px 12px; min-height: 44px; box-sizing: border-box; font-size: 15px; color: #222 !important; text-decoration: none; font-weight: 400; }
.vpn-fnd .vpn-fnd-list li a:hover { color: #0b7a84 !important; background: #f6fafb; }
.vpn-fnd .vpn-fnd-none { margin: 8px 0 0; font-size: 13px; color: #6b7782; }
.vpn-fnd .vpn-fnd-none[hidden] { display: none; }
@media (min-width: 991px) {
	/* desktop panel: the finder is a pill-like button that opens the search box + list under it */
	.vpn-facets-inline .vpn-finder { flex: 0 0 100%; }
	.vpn-facets-inline .vpn-finder > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 12px; border: 1px solid #e0e0e0; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; list-style: none; }
	.vpn-facets-inline .vpn-finder > summary::-webkit-details-marker { display: none; }
	.vpn-facets-inline .vpn-finder > summary::after { content: "\25BE"; font-size: 11px; }
	.vpn-facets-inline .vpn-finder[open] > summary::after { content: "\25B4"; }
	.vpn-facets-inline .vpn-finder .vpn-fnd { max-width: 420px; padding-top: 8px; }
	.vpn-facets-inline .vpn-finder .vpn-fnd-list { max-height: 220px; }
	.vpn-facets-inline .vpn-finder .vpn-fnd-list li a { padding: 8px 12px; min-height: 0; font-size: 14px; }
}

