/*
 * Vortex Store — base layer.
 *
 * Colours, radii, widths and the type scale all come from CSS custom
 * properties printed by inc/customizer/css-vars.php, so nothing here needs
 * editing to re-brand the storefront.
 */

/* ------------------------------------------------------------------ */
/* Reset                                                               */
/* ------------------------------------------------------------------ */

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

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

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

body {
	margin: 0;
	background: var(--vs-bg);
	color: var(--vs-fg);
	font-family: var(--vs-font-body);
	font-size: var(--vs-font-size);
	line-height: var(--vs-line-height);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration-color: rgba(var(--vs-fg-rgb), .3); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }

button { font: inherit; color: inherit; }

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

figure { margin: 0; }

:focus-visible {
	outline: 2px solid var(--vs-fg);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ------------------------------------------------------------------ */
/* Type scale — clamp() values mirror the source storefront            */
/* ------------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6,
.hd1, .hd2, .hd3, .h1, .h2, .h3, .h4, .h5, .h6 {
	margin: 0 0 .5em;
	font-family: var(--vs-font-heading);
	font-weight: var(--vs-heading-weight);
	letter-spacing: var(--vs-heading-tracking);
	line-height: 1.2;
	text-wrap: balance;
}

.hd1 { font-size: clamp(3rem, 2.34vw + 1.88rem, 3.75rem); }
.hd2 { font-size: clamp(2.4rem, 1.87vw + 1.5rem, 3rem); }
.hd3 { font-size: clamp(1.8rem, 1.4vw + 1.13rem, 2.25rem); }

h1, .h1 { font-size: clamp(2rem, 1.56vw + 1.25rem, 2.5rem); }
h2, .h2 { font-size: clamp(1.6rem, 1.25vw + 1rem, 2rem); }
h3, .h3 { font-size: clamp(1.4rem, 1.09vw + .88rem, 1.75rem); }
h4, .h4 { font-size: clamp(1.1rem, .86vw + .69rem, 1.375rem); }
h5, .h5 { font-size: 1.125rem; }
h6, .h6 { font-size: 1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.vs-rte > :last-child { margin-bottom: 0; }
.vs-rte a { text-decoration: underline; }
.vs-rte ul, .vs-rte ol { margin: 0 0 1em; padding-left: 1.4em; }
.vs-rte ul li { list-style: disc; }
.vs-rte ol li { list-style: decimal; }
.vs-rte li { margin-bottom: .35em; }
.vs-rte img { border-radius: var(--vs-radius-block); }
.vs-rte table { width: 100%; border-collapse: collapse; }
.vs-rte th, .vs-rte td { padding: .6em .8em; border-bottom: 1px solid var(--vs-border); text-align: left; }

/* ------------------------------------------------------------------ */
/* Layout primitives                                                   */
/* ------------------------------------------------------------------ */

.vs-container {
	width: 100%;
	max-width: calc(var(--vs-page-width) + 100px);
	margin-inline: auto;
	padding-inline: 15px;
}

@media (min-width: 768px) {
	.vs-container { padding-inline: 30px; }
}

@media (min-width: 1280px) {
	.vs-container { padding-inline: 50px; }
}

.vs-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.vs-main { flex: 1 0 auto; }

.vs-section { padding-block: 50px 0; }
.vs-section:last-child { padding-bottom: 50px; }

.vs-section__heading { text-align: center; margin-bottom: 1.2em; }

.vs-page-head { padding-block: 16px 0; }

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

.skip-link:focus {
	position: fixed;
	top: 8px; left: 8px;
	z-index: 200;
	width: auto; height: auto;
	padding: 12px 20px;
	clip: auto; clip-path: none;
	background: var(--vs-fg);
	color: var(--vs-bg);
	border-radius: var(--vs-radius-button);
}

.vs-empty {
	padding: 48px 0;
	text-align: center;
	color: var(--vs-subtext);
}

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

.vs-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 40px;
	border: 1px solid transparent;
	border-radius: var(--vs-radius-button);
	background: var(--vs-btn-bg);
	color: var(--vs-btn-fg);
	font-family: var(--vs-font-body);
	font-size: .875rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.vs-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: #333; color: var(--vs-btn-fg); }

.vs-btn--secondary,
.woocommerce a.button.alt.wc-forward,
.vs-btn--secondary:hover {
	background: var(--vs-btn-secondary);
	color: var(--vs-fg);
}

.vs-btn--secondary:hover { background: #dcdcdc; }

.vs-btn--ghost {
	background: transparent;
	border-color: var(--vs-border);
	color: var(--vs-fg);
}

.vs-btn--ghost:hover { background: var(--vs-surface); color: var(--vs-fg); }

.vs-btn[disabled],
.vs-btn.disabled,
.woocommerce button.button:disabled {
	background: var(--vs-btn-secondary);
	color: var(--vs-subtext);
	cursor: not-allowed;
	opacity: 1;
}

.vs-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 50%;
	cursor: pointer;
	color: inherit;
	text-decoration: none;
}

.vs-iconbtn:hover { background: var(--vs-surface); }

/* ------------------------------------------------------------------ */
/* Forms                                                               */
/* ------------------------------------------------------------------ */

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
select, textarea {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--vs-field);
	border-radius: var(--vs-radius-button);
	background: var(--vs-field);
	color: var(--vs-fg);
	font: inherit;
	font-size: 1rem;
	line-height: normal;
}

textarea {
	height: auto;
	min-height: 120px;
	padding: 12px 16px;
	border-radius: 16px;
	resize: vertical;
}

input:focus, select:focus, textarea:focus {
	outline: 2px solid var(--vs-fg);
	outline-offset: 1px;
	border-color: var(--vs-fg);
}

select {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

label { display: inline-block; margin-bottom: 6px; font-weight: 500; }

/* ------------------------------------------------------------------ */
/* Badges                                                              */
/* ------------------------------------------------------------------ */

.vs-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 5px;
	background: var(--vs-badge-soldout);
	color: #fff;
	font-size: .9rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
}

.vs-badge--sale { background: var(--vs-primary); }
.vs-badge--new  { background: #559b60; }

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

.vs-announcement {
	background: var(--vs-fg);
	color: var(--vs-bg);
	font-size: .875rem;
	text-align: center;
}

.vs-announcement .vs-container { padding-block: 10px; }

.vs-header {
	position: relative;
	z-index: 50;
	background: var(--vs-bg);
	border-bottom: 1px solid var(--vs-border);
}

.vs-header.is-sticky {
	position: sticky;
	top: 0;
}

.admin-bar .vs-header.is-sticky { top: 32px; }

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

.vs-header__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-block: 20px;
}

.vs-header__left { flex: 0 0 auto; }
.vs-header__brand { flex: 1 1 auto; display: flex; justify-content: center; }
.vs-header__nav { display: none; }
.vs-header__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 2px; }

.vs-logo { margin: 0; font-size: 1.25rem; line-height: 1; }
.vs-logo__link { display: inline-flex; text-decoration: none; }
.vs-logo__img { width: var(--vs-logo-width-mobile); height: auto; }
.vs-logo__text { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

@media (min-width: 1024px) {
	.vs-header__left { display: none; }
	.vs-header__brand { flex: 0 0 auto; justify-content: flex-start; }
	.vs-header__nav { display: block; flex: 1 1 auto; }
	.vs-logo__img { width: var(--vs-logo-width); }

	.vs-header--logo-center .vs-header__brand { flex: 1 1 auto; justify-content: center; }
	.vs-header--logo-center .vs-header__inner > .vs-header__nav { display: none; }
	.vs-header--logo-center .vs-header__navrow { display: block; border-top: 1px solid var(--vs-border); }
	.vs-header--logo-center .vs-header__navrow .vs-header__nav { display: block; }
}

.vs-header__navrow { display: none; }

.vs-cart-count {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--vs-primary);
	color: #fff;
	font-size: .688rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

/* ------------------------------------------------------------------ */
/* Desktop navigation                                                  */
/* ------------------------------------------------------------------ */

.vs-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4px 24px;
}

.vs-nav__item { position: relative; }

.vs-nav__row { display: flex; align-items: center; gap: 2px; }

.vs-nav__link {
	display: inline-block;
	padding: 8px 0;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.vs-nav__item--depth-0 > .vs-nav__row > .vs-nav__link,
.vs-nav__item--depth-0 > .vs-nav__link {
	position: relative;
}

.vs-nav__item--depth-0 > .vs-nav__row > .vs-nav__link::after,
.vs-nav__item--depth-0 > .vs-nav__link::after {
	content: "";
	position: absolute;
	left: 0; bottom: 4px;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .3s ease;
}

.vs-nav__item--depth-0:hover > .vs-nav__row > .vs-nav__link::after,
.vs-nav__item--depth-0:hover > .vs-nav__link::after,
.vs-nav__item--depth-0.is-current > .vs-nav__row > .vs-nav__link::after,
.vs-nav__item--depth-0.is-current > .vs-nav__link::after {
	transform: scaleX(1);
	transform-origin: left;
}

.vs-nav__toggle {
	display: inline-flex;
	align-items: center;
	padding: 4px;
	border: 0;
	background: none;
	cursor: pointer;
}

.vs-nav__item--depth-0 > .vs-nav__row > .vs-nav__toggle { pointer-events: none; }

.vs-nav__dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	min-width: 240px;
	padding: 16px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.vs-nav__item--depth-0 > .vs-nav__dropdown { padding-top: 12px; }

.vs-nav__sublist {
	padding: 16px 8px;
	border: 1px solid var(--vs-border);
	border-radius: var(--vs-radius-block);
	background: var(--vs-bg);
	box-shadow: 0 12px 32px rgba(var(--vs-fg-rgb), .08);
}

.vs-nav__item--has-children:hover > .vs-nav__dropdown,
.vs-nav__item--has-children:focus-within > .vs-nav__dropdown,
.vs-nav__item--has-children.is-open > .vs-nav__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.vs-nav__item--depth-1 > .vs-nav__dropdown,
.vs-nav__item--depth-2 > .vs-nav__dropdown {
	top: -16px;
	left: 100%;
	padding: 0 0 0 8px;
}

.vs-nav__sublist .vs-nav__link,
.vs-nav__sublist .vs-nav__row {
	padding: 8px 16px;
	font-weight: 400;
	white-space: normal;
}

.vs-nav__sublist .vs-nav__row { justify-content: space-between; gap: 8px; }
.vs-nav__sublist .vs-nav__row .vs-nav__link { padding: 0; }
.vs-nav__sublist .vs-nav__item:hover > .vs-nav__link,
.vs-nav__sublist .vs-nav__item:hover > .vs-nav__row { background: var(--vs-surface); border-radius: 10px; }

.vs-menu-empty a { font-size: .875rem; text-decoration: underline; }

/* ------------------------------------------------------------------ */
/* Drawers                                                             */
/* ------------------------------------------------------------------ */

.vs-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.vs-drawer[hidden] { display: none; }

.vs-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(var(--vs-fg-rgb), .4);
	opacity: 0;
	transition: opacity .3s ease;
}

.vs-drawer.is-open .vs-drawer__overlay { opacity: 1; }

.vs-drawer__inner {
	position: absolute;
	top: 0;
	bottom: 0;
	width: min(420px, 100%);
	display: flex;
	flex-direction: column;
	background: var(--vs-bg);
	transition: transform .35s cubic-bezier(.3, 1, .3, 1);
	overflow: hidden;
}

.vs-drawer--left  .vs-drawer__inner { left: 0;  transform: translateX(-100%); }
.vs-drawer--right .vs-drawer__inner { right: 0; transform: translateX(100%); }
.vs-drawer.is-open .vs-drawer__inner { transform: translateX(0); }

.vs-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--vs-border);
}

.vs-drawer__title { margin: 0; }

.vs-drawer__body {
	position: relative;
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.vs-drawer__footer {
	padding: 16px 20px;
	border-top: 1px solid var(--vs-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.vs-drawer__util {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-weight: 500;
}

/* Mobile menu panels */
.vs-drawer__nav { position: relative; height: 100%; }

.vs-drawer__list--root { padding: 8px 0; }

.vs-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 14px 20px;
	border: 0;
	background: none;
	font-size: 1rem;
	font-weight: 500;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.vs-drawer__link:hover { background: var(--vs-surface); }

.vs-drawer__panel {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	background: var(--vs-bg);
	overflow-y: auto;
}

.vs-drawer__panel[hidden] { display: none; }

.vs-drawer__back {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 14px 20px;
	border: 0;
	border-bottom: 1px solid var(--vs-border);
	background: none;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}

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

.vs-search { padding: 20px; }
.vs-search--inline { padding: 0; }

.vs-search__field { position: relative; display: flex; align-items: center; }

.vs-search__icon {
	position: absolute;
	left: 16px;
	pointer-events: none;
	color: var(--vs-subtext);
}

.vs-search__input { padding-left: 46px; }

.vs-search__submit {
	position: absolute;
	right: 4px;
	min-height: 40px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--vs-radius-button);
	background: var(--vs-btn-bg);
	color: var(--vs-btn-fg);
	font-size: .875rem;
	cursor: pointer;
}

.vs-search__results { margin-top: 16px; }
.vs-search__list { display: grid; gap: 4px; }

.vs-search__result {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 12px;
	text-decoration: none;
}

.vs-search__result:hover { background: var(--vs-surface); }
.vs-search__thumb { flex: 0 0 56px; }
.vs-search__thumb img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; }
.vs-search__meta { display: grid; gap: 2px; }
.vs-search__name { font-size: .9375rem; font-weight: 500; }
.vs-search__price { font-size: .875rem; color: var(--vs-subtext); }
.vs-search__price .amount { color: inherit; }
.vs-search__all { margin-top: 16px; text-align: center; }
.vs-search__empty { padding: 24px 0; color: var(--vs-subtext); text-align: center; }

/* ------------------------------------------------------------------ */
/* Accordion                                                           */
/* ------------------------------------------------------------------ */

.vs-acc__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0;
	cursor: pointer;
	list-style: none;
}

.vs-acc__summary::-webkit-details-marker { display: none; }
.vs-acc__summary h2, .vs-acc__summary h3, .vs-acc__summary > span { margin: 0; }

.vs-acc__icon { display: inline-flex; transition: transform .25s ease; }
.vs-acc[open] > .vs-acc__summary .vs-acc__icon { transform: rotate(45deg); }
.vs-acc__content { padding-bottom: 16px; }
.vs-acc--bordered { border-top: 1px solid var(--vs-border); }
.vs-acc--bordered:last-child { border-bottom: 1px solid var(--vs-border); }

/* ------------------------------------------------------------------ */
/* Breadcrumbs                                                         */
/* ------------------------------------------------------------------ */

.vs-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: .875rem;
	color: var(--vs-subtext);
}

.vs-breadcrumbs a { text-decoration: none; }
.vs-breadcrumbs a:hover { text-decoration: underline; }
.vs-breadcrumbs__sep { display: inline-flex; opacity: .5; }
.vs-breadcrumbs [aria-current="page"] { color: var(--vs-fg); }

/* ------------------------------------------------------------------ */
/* Side badge                                                          */
/* ------------------------------------------------------------------ */

.vs-sidebadge {
	position: fixed;
	top: 40%;
	left: 0;
	z-index: 40;
	display: none;
	align-items: center;
	gap: 6px;
	padding: 14px 6px;
	border-radius: 0 10px 10px 0;
	background: var(--vs-sidebadge);
	color: #fff;
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

@media (min-width: 768px) { .vs-sidebadge { display: flex; } }

.vs-sidebadge__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .25);
}

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

.vs-footer {
	margin-top: 60px;
	border-top: 1px solid var(--vs-border);
	padding-block: 40px 24px;
}

.vs-footer__top {
	display: grid;
	gap: 8px 40px;
}

@media (min-width: 1024px) {
	.vs-footer__top {
		grid-template-columns: 20% 1fr minmax(0, 40%);
		gap: 40px;
		padding-bottom: 40px;
	}
	.vs-footer__col--newsletter { order: 3; }
}

.vs-footer__col--newsletter { order: -1; padding-block: 16px; }

@media (min-width: 1024px) { .vs-footer__col--newsletter { order: 3; padding-block: 0; } }

.vs-footer__heading { margin: 0; }

.vs-footer__col .vs-acc { border-top: 1px solid var(--vs-border); }

@media (min-width: 1024px) {
	.vs-footer__col .vs-acc { border-top: 0; }
	.vs-footer__col .vs-acc__summary { padding-top: 0; cursor: default; pointer-events: none; }
	.vs-footer__col .vs-acc__icon { display: none; }
}

.vs-footer__links { display: grid; gap: 10px; }
.vs-footer__links a { font-size: .9375rem; text-decoration: none; }
.vs-footer__links a:hover { text-decoration: underline; }

.vs-footer__contact { display: grid; gap: 12px; }
.vs-footer__contact-item { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: .9375rem; }
.vs-footer__contact-item a { text-decoration: none; }
.vs-footer__contact-item a:hover { text-decoration: underline; }
.vs-footer__contact-item .vs-icon { flex: 0 0 auto; margin-top: 3px; }

.vs-newsletter__heading { margin-bottom: .6em; }
.vs-newsletter__field { position: relative; max-width: 465px; }
.vs-newsletter__input { padding-right: 56px; }

.vs-newsletter__submit {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	border: 0;
	border-radius: 50%;
	background: none;
	cursor: pointer;
}

.vs-newsletter__submit:hover { background: var(--vs-btn-secondary); }

.vs-newsletter__consent {
	margin-top: 10px;
	font-size: .8125rem;
	color: var(--vs-subtext);
}

.vs-newsletter__consent a { color: inherit; }

.vs-newsletter__message { margin: 8px 0 0; font-size: .8125rem; min-height: 1.2em; }
.vs-newsletter__message.is-error { color: var(--vs-primary); }

.vs-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--vs-border);
}

@media (min-width: 768px) {
	.vs-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

.vs-socials { display: flex; align-items: center; gap: 14px; }
.vs-socials a { display: inline-flex; }
.vs-socials a:hover { opacity: .6; }

.vs-footer__legal { font-size: .8125rem; color: var(--vs-subtext); }
.vs-footer__legal p { margin: 0; }
.vs-footer__legal a { color: inherit; }
.vs-footer__legal-menu { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.vs-payments { display: flex; flex-wrap: wrap; gap: 8px; }
.vs-payments__item {
	padding: 4px 10px;
	border: 1px solid var(--vs-border);
	border-radius: 6px;
	font-size: .75rem;
	color: var(--vs-subtext);
}

/* ------------------------------------------------------------------ */
/* Grids shared by shop and blog                                       */
/* ------------------------------------------------------------------ */

.vs-grid {
	display: grid;
	gap: 15px;
}

@media (min-width: 768px) { .vs-grid { gap: 30px; } }

.vs-grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 768px)  { .vs-grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vs-grid--products { grid-template-columns: repeat(var(--vs-cols), minmax(0, 1fr)); } }

.vs-grid--posts { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ------------------------------------------------------------------ */
/* Blog                                                                */
/* ------------------------------------------------------------------ */

.vs-blog, .vs-page, .vs-search-results { padding-block: 24px 0; }

.vs-postcard {
	display: flex;
	flex-direction: column;
	border-radius: var(--vs-radius-block);
	background: var(--vs-surface);
	overflow: hidden;
}

.vs-postcard__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vs-postcard__body { padding: 24px; }
.vs-postcard__title { margin-bottom: .3em; }
.vs-postcard__title a { text-decoration: none; }
.vs-postcard__meta { font-size: .8125rem; color: var(--vs-subtext); }

.vs-page__article { max-width: 820px; margin-inline: auto; }
.vs-page__header { margin-bottom: 24px; }
.vs-page__media { margin-bottom: 32px; }
.vs-page__img { width: 100%; border-radius: var(--vs-radius-block); }

.vs-404 { padding-block: 80px; text-align: center; }
.vs-404__search { max-width: 480px; margin: 24px auto; }

.vs-postnav {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--vs-border);
	font-size: .9375rem;
}

.vs-postnav a { text-decoration: none; }
.vs-postnav__label { display: block; font-size: .8125rem; color: var(--vs-subtext); }

/* ------------------------------------------------------------------ */
/* Pagination                                                          */
/* ------------------------------------------------------------------ */

.pagination, .woocommerce-pagination { margin-block: 48px 0; }

.pagination .nav-links,
.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0;
	border: 0;
}

.woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; }

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border-radius: 20px;
	font-size: .9375rem;
	text-decoration: none;
}

.page-numbers:hover { background: var(--vs-surface); }
.page-numbers.current { background: var(--vs-surface); font-weight: 500; }
.page-numbers.dots:hover { background: none; }
