/* ==========================================================================
   Vendora — core styles
   ========================================================================== */

:root {
	--vd-primary: #4f46e5;
	--vd-primary-700: #3f38b7;
	--vd-primary-100: #d9d7fa;
	--vd-primary-50: #eeedfd;
	--vd-accent: #f97316;
	--vd-accent-50: #fef1e8;

	--vd-bg: #f6f7fb;
	--vd-surface: #ffffff;
	--vd-surface-2: #f1f3f8;
	--vd-text: #0f172a;
	--vd-text-2: #334155;
	--vd-muted: #64748b;
	--vd-border: #e4e7ef;
	--vd-success: #16a34a;
	--vd-danger: #dc2626;
	--vd-warning: #d97706;
	--vd-star: #f59e0b;

	--vd-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--vd-radius-lg: 20px;
	--vd-radius: 14px;
	--vd-radius-sm: 10px;
	--vd-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
	--vd-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -8px rgba(15, 23, 42, .12);
	--vd-shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, .25);
	--vd-ring: 0 0 0 4px var(--vd-primary-100);
	--vd-container: 1320px;
	--vd-gutter: 20px;
	--vd-header-h: 76px;
	--vd-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--vd-bg);
	color: var(--vd-text);
	font-family: var(--vd-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.vd-locked { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--vd-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--vd-primary-700); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--vd-text); }
h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--vd-border); margin: 2rem 0; }
table { width: 100%; border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--vd-primary); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--vd-surface); clip: auto !important; clip-path: none; color: var(--vd-text);
	display: block; height: auto; left: 8px; top: 8px; padding: 12px 20px; width: auto; z-index: 100000;
	border-radius: var(--vd-radius-sm); box-shadow: var(--vd-shadow);
}

.vd-icon { width: 22px; height: 22px; flex: 0 0 auto; vertical-align: middle; }

/* Layout ----------------------------------------------------------------- */
.vd-container { width: 100%; max-width: var(--vd-container); margin: 0 auto; padding: 0 var(--vd-gutter); }
.vd-container--narrow { max-width: 860px; }
.vd-container--wide { max-width: var(--vd-container); }
.vd-site-content { min-height: 50vh; }
.vd-main { padding-bottom: 64px; }
.vd-layout { display: block; }
.vd-layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }

/* Buttons & forms ------------------------------------------------------- */
.vd-btn,
.button,
button[type="submit"]:not(.vd-search__submit):not(.vd-icon-btn),
input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border: 1px solid transparent; border-radius: 999px;
	background: var(--vd-primary); color: #fff; font: 600 15px/1.2 var(--vd-font);
	cursor: pointer; text-decoration: none; transition: background .15s, transform .15s var(--vd-ease), box-shadow .15s;
}
.vd-btn:hover, .button:hover, input[type="submit"]:hover,
button[type="submit"]:not(.vd-search__submit):not(.vd-icon-btn):hover { background: var(--vd-primary-700); color: #fff; }
.vd-btn:active { transform: translateY(1px); }
.vd-btn .vd-icon { width: 18px; height: 18px; }
.vd-btn--lg { padding: 15px 26px; font-size: 16px; }
.vd-btn--ghost { background: var(--vd-surface); color: var(--vd-text); border-color: var(--vd-border); }
.vd-btn--ghost:hover { background: var(--vd-surface-2); color: var(--vd-text); }
.vd-btn--light { background: #fff; color: var(--vd-primary); }
.vd-btn--light:hover { background: var(--vd-primary-50); color: var(--vd-primary-700); }
.vd-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.vd-btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

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%; padding: 11px 14px; border: 1px solid var(--vd-border); border-radius: var(--vd-radius-sm);
	background: var(--vd-surface); color: var(--vd-text); font: 15px/1.4 var(--vd-font);
	transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
select {
	padding-right: 36px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--vd-primary); box-shadow: var(--vd-ring); }
label { font-weight: 500; font-size: 14px; color: var(--vd-text-2); }

.vd-icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 12px; background: transparent; color: var(--vd-text); cursor: pointer;
}
.vd-icon-btn:hover { background: var(--vd-surface-2); }

.vd-pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
	border-radius: 999px; background: var(--vd-primary-50); color: var(--vd-primary);
	font-size: 13px; font-weight: 600;
}
.vd-pill .vd-icon { width: 16px; height: 16px; }
.vd-eyebrow { display: block; margin-bottom: 6px; color: var(--vd-primary); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vd-eyebrow a { color: inherit; }
.vd-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.vd-link-arrow .vd-icon { width: 18px; height: 18px; transition: transform .2s var(--vd-ease); }
.vd-link-arrow:hover .vd-icon { transform: translateX(3px); }
.vd-meta { display: block; color: var(--vd-muted); font-size: 14px; }

/* Stars */
.vd-stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.vd-stars .vd-icon { width: 15px; height: 15px; }
.vd-stars__track { color: #e2e8f0; display: inline-flex; }
.vd-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--vd-star); display: inline-flex; white-space: nowrap; }
.vd-stars__count { font-size: 13px; font-weight: 600; margin-left: 6px; color: var(--vd-text-2); vertical-align: middle; }
.vd-stars__count span { color: var(--vd-muted); font-weight: 400; }

/* Announcement ----------------------------------------------------------- */
.vd-announcement {
	background: var(--vd-text); color: #e2e8f0; font-size: 13px; text-align: center; padding: 9px 0;
}
.vd-announcement a { color: #fff; text-decoration: underline; }

/* Header ----------------------------------------------------------------- */
.vd-header {
	position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--vd-border); transition: box-shadow .2s;
}
.admin-bar .vd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vd-header { top: 0; } }
.vd-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(15, 23, 42, .25); }
.vd-header__main { display: flex; align-items: center; gap: 28px; min-height: var(--vd-header-h); }
.vd-header__toggle { display: none; }
.vd-brand { flex: 0 0 auto; }
.vd-brand .custom-logo { max-height: 44px; width: auto; }
.vd-brand__name { display: inline-flex; align-items: center; gap: 10px; color: var(--vd-text); font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.vd-brand__name:hover { color: var(--vd-text); }
.vd-brand__mark {
	display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
	background: linear-gradient(135deg, var(--vd-primary), var(--vd-accent)); color: #fff;
}
.vd-brand__mark .vd-icon { width: 21px; height: 21px; }
.vd-header__search { flex: 1 1 auto; max-width: 720px; }
.vd-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.vd-action {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px;
	color: var(--vd-text); font-size: 14px; font-weight: 600; white-space: nowrap;
}
.vd-action:hover { background: var(--vd-surface-2); color: var(--vd-text); }
.vd-action--sell { color: var(--vd-primary); background: var(--vd-primary-50); }
.vd-action--sell:hover { color: var(--vd-primary-700); background: var(--vd-primary-100); }
.vd-action__icon { position: relative; display: inline-flex; }
.vd-cart-count {
	position: absolute; top: -7px; right: -9px; min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: 999px; background: var(--vd-accent); color: #fff; border: 2px solid #fff;
	font-size: 11px; font-weight: 700; line-height: 15px; text-align: center;
	transition: transform .25s var(--vd-ease);
}
.vd-cart-count.is-empty { background: var(--vd-muted); }
.vd-cart-count.is-bump { transform: scale(1.35); }

/* Search */
.vd-search {
	position: relative; display: flex; align-items: stretch; background: var(--vd-surface-2);
	border: 1px solid var(--vd-border); border-radius: 999px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.vd-search:focus-within { background: var(--vd-surface); border-color: var(--vd-primary); box-shadow: var(--vd-ring); }
.vd-search .vd-search__cat {
	width: auto; max-width: 170px; border: 0; border-right: 1px solid var(--vd-border); border-radius: 999px 0 0 999px;
	background-color: transparent; padding: 0 34px 0 18px; font-size: 14px; font-weight: 500; color: var(--vd-text-2); box-shadow: none !important;
}
.vd-search .vd-search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 16px; box-shadow: none !important; }
.vd-search--simple .vd-search__input { padding-left: 20px; }
.vd-search__submit {
	display: grid; place-items: center; width: 42px; height: 42px; margin: 3px; padding: 0; flex: 0 0 auto;
	border: 0; border-radius: 999px; background: var(--vd-primary); color: #fff; cursor: pointer; transition: background .15s;
}
.vd-search__submit:hover { background: var(--vd-primary-700); }
.vd-search__submit .vd-icon { width: 19px; height: 19px; }

/* Nav */
.vd-header__nav { border-top: 1px solid var(--vd-border); }
.vd-header__nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; }
.vd-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.vd-menu li { position: relative; }
.vd-menu a { display: block; padding: 12px 14px; color: var(--vd-text-2); font-size: 14.5px; font-weight: 500; border-radius: 10px; }
.vd-menu a:hover, .vd-menu .current-menu-item > a, .vd-menu .current-menu-ancestor > a { color: var(--vd-primary); }
.vd-menu .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.vd-primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 20; min-width: 220px; margin: 0; padding: 8px; list-style: none;
	background: var(--vd-surface); border: 1px solid var(--vd-border); border-radius: var(--vd-radius); box-shadow: var(--vd-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s var(--vd-ease);
}
.vd-primary-nav .sub-menu .sub-menu { top: -9px; left: 100%; }
.vd-primary-nav li:hover > .sub-menu, .vd-primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.vd-primary-nav .sub-menu a { padding: 9px 12px; }
.vd-primary-nav .sub-menu a:hover { background: var(--vd-surface-2); }
.vd-nav-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--vd-text-2); }
.vd-nav-link .vd-icon { width: 18px; height: 18px; color: var(--vd-primary); }

/* Drawers ---------------------------------------------------------------- */
.vd-drawer {
	position: fixed; top: 0; bottom: 0; z-index: 1000; display: flex; flex-direction: column;
	width: min(420px, 92vw); background: var(--vd-surface); box-shadow: var(--vd-shadow-lg);
	transition: transform .32s var(--vd-ease), visibility .32s; visibility: hidden;
}
.vd-drawer--left { left: 0; transform: translateX(-100%); }
.vd-drawer--right { right: 0; transform: translateX(100%); }
.vd-drawer.is-open { transform: none; visibility: visible; }
.vd-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--vd-border); }
.vd-drawer__title { margin: 0; font-size: 18px; }
.vd-drawer__body { flex: 1; overflow-y: auto; padding: 20px; }
.vd-drawer__actions { display: grid; gap: 6px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--vd-border); }
.vd-drawer__actions .vd-action { justify-content: flex-start; padding: 12px; background: var(--vd-surface-2); }
.vd-drawer__actions .vd-action__label { display: inline !important; }
.vd-drawer .vd-search { margin-bottom: 16px; }
.vd-drawer .vd-search__cat { display: none; }
.vd-menu--mobile { flex-direction: column; }
.vd-menu--mobile a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--vd-border); border-radius: 0; }
.vd-menu--mobile .menu-item-has-children > a::after { display: none; }
.vd-menu--mobile .sub-menu { display: none; list-style: none; padding: 0 0 0 14px; margin: 0; }
.vd-menu--mobile .is-expanded > .sub-menu { display: block; }
.vd-submenu-toggle {
	position: absolute; right: 0; top: 6px; width: 38px; height: 38px; border: 0; border-radius: 10px;
	background: var(--vd-surface-2); color: var(--vd-text); cursor: pointer; display: grid; place-items: center;
}
.vd-submenu-toggle .vd-icon { width: 18px; height: 18px; transition: transform .2s; }
.is-expanded > .vd-submenu-toggle .vd-icon { transform: rotate(180deg); }
.vd-overlay {
	position: fixed; inset: 0; z-index: 999; background: rgba(15, 23, 42, .5);
	opacity: 0; transition: opacity .3s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.vd-overlay.is-visible { opacity: 1; }

/* Page header ------------------------------------------------------------ */
.vd-page-header { padding: 48px 0 36px; }
.vd-page-header__title { margin: 0; }
.vd-page-header__sub { margin-top: 10px; color: var(--vd-muted); max-width: 720px; }
.vd-page-header--post { text-align: left; padding-top: 56px; }
.vd-page-header--post .vd-meta { margin-top: 12px; }

/* Homepage --------------------------------------------------------------- */
.vd-hero {
	position: relative; overflow: hidden; padding: 72px 0 80px;
	background:
		radial-gradient(900px 420px at 85% -10%, var(--vd-primary-100), transparent 60%),
		radial-gradient(700px 380px at -10% 110%, var(--vd-accent-50), transparent 60%),
		var(--vd-surface);
	border-bottom: 1px solid var(--vd-border);
}
.vd-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.vd-hero__title { margin: 18px 0 16px; font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.vd-hero__text { max-width: 560px; color: var(--vd-text-2); font-size: 1.15rem; }
.vd-hero__search { max-width: 580px; margin: 26px 0 22px; }
.vd-hero__search .vd-search { background: var(--vd-surface); box-shadow: var(--vd-shadow); }
.vd-hero__search .vd-search__input { padding: 15px 18px; }
.vd-hero__search .vd-search__submit { width: 48px; height: 48px; }
.vd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vd-hero__stats { display: flex; flex-wrap: wrap; gap: 36px; margin: 36px 0 0; }
.vd-hero__stats div { display: flex; flex-direction: column-reverse; }
.vd-hero__stats dt { color: var(--vd-muted); font-size: 14px; }
.vd-hero__stats dd { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.vd-hero__image img { width: 100%; border-radius: var(--vd-radius-lg); box-shadow: var(--vd-shadow-lg); }
.vd-hero__collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; transform: rotate(-3deg); }
.vd-hero__tile {
	position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden;
	border-radius: var(--vd-radius-lg); background: var(--vd-surface); box-shadow: var(--vd-shadow-lg);
	transition: transform .4s var(--vd-ease);
}
.vd-hero__tile:nth-child(2) { transform: translateY(32px); }
.vd-hero__tile:nth-child(4) { transform: translateY(32px); }
.vd-hero__tile:hover { transform: translateY(-6px) scale(1.02); }
.vd-hero__tile img { width: 100%; height: 100%; object-fit: cover; }
.vd-hero__tile-price {
	position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
	background: rgba(255, 255, 255, .92); color: var(--vd-text); font-size: 13px; font-weight: 700; box-shadow: var(--vd-shadow-sm);
}
.vd-hero__tile-price del { opacity: .5; font-weight: 400; margin-right: 4px; }
.vd-hero__tile-price ins { text-decoration: none; }
.vd-hero__tile--empty { color: var(--vd-primary-100); background: var(--vd-primary-50); }
.vd-hero__tile--empty .vd-icon { width: 56px; height: 56px; }

.vd-perks { padding: 28px 0; background: var(--vd-surface); border-bottom: 1px solid var(--vd-border); }
.vd-perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vd-perk { display: flex; align-items: center; gap: 14px; }
.vd-perk > .vd-icon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--vd-primary-50); color: var(--vd-primary); }
.vd-perk strong { display: block; font-size: 15px; }
.vd-perk span { display: block; color: var(--vd-muted); font-size: 13.5px; }

.vd-section { padding: 64px 0 8px; }
.vd-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.vd-section__title { margin: 0; }

.vd-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.vd-cat-card {
	display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 14px 20px; text-align: center;
	background: var(--vd-surface); border: 1px solid var(--vd-border); border-radius: var(--vd-radius);
	color: var(--vd-text); transition: transform .2s var(--vd-ease), box-shadow .2s, border-color .2s;
}
.vd-cat-card:hover { transform: translateY(-4px); box-shadow: var(--vd-shadow); border-color: var(--vd-primary-100); color: var(--vd-text); }
.vd-cat-card__media {
	display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 10px; overflow: hidden;
	border-radius: 50%; background: var(--vd-surface-2); color: var(--vd-muted);
}
.vd-cat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.vd-cat-card__media .vd-icon { width: 34px; height: 34px; }
.vd-cat-card__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.vd-cat-card__count { color: var(--vd-muted); font-size: 13px; }

/* Blog ------------------------------------------------------------------- */
.vd-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.vd-post-card {
	display: flex; flex-direction: column; overflow: hidden; background: var(--vd-surface);
	border: 1px solid var(--vd-border); border-radius: var(--vd-radius); transition: box-shadow .2s, transform .2s var(--vd-ease);
}
.vd-post-card:hover { box-shadow: var(--vd-shadow); transform: translateY(-3px); }
.vd-post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--vd-surface-2); overflow: hidden; }
.vd-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--vd-ease); }
.vd-post-card:hover .vd-post-card__media img { transform: scale(1.04); }
.vd-post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--vd-border); }
.vd-post-card__placeholder .vd-icon { width: 48px; height: 48px; }
.vd-post-card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; flex: 1; }
.vd-post-card__title { margin: 0; font-size: 1.15rem; }
.vd-post-card__title a { color: var(--vd-text); }
.vd-post-card__title a:hover { color: var(--vd-primary); }
.vd-post-card__body p { color: var(--vd-text-2); font-size: 15px; margin: 4px 0 8px; }
.vd-post-card__body .vd-link-arrow { margin-top: auto; }

.vd-entry { background: var(--vd-surface); border: 1px solid var(--vd-border); border-radius: var(--vd-radius-lg); padding: clamp(22px, 4vw, 48px); }
.vd-main--full .vd-entry { background: transparent; border: 0; padding: 0; }
.vd-entry__thumb { margin: calc(-1 * clamp(22px, 4vw, 48px)) calc(-1 * clamp(22px, 4vw, 48px)) 32px; }
.vd-entry__thumb img { width: 100%; border-radius: var(--vd-radius-lg) var(--vd-radius-lg) 0 0; }
.vd-entry__content > *:last-child { margin-bottom: 0; }
.vd-entry__content h2, .vd-entry__content h3 { margin-top: 1.6em; }
.vd-entry__content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--vd-primary); color: var(--vd-text-2); font-size: 1.1em; }
.vd-entry__content img { border-radius: var(--vd-radius-sm); }
.vd-entry__content .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.vd-entry__content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.vd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.vd-tags a { padding: 6px 12px; border-radius: 999px; background: var(--vd-surface-2); color: var(--vd-text-2); font-size: 13px; }
.post-navigation { margin-top: 28px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 18px 20px; border: 1px solid var(--vd-border); border-radius: var(--vd-radius); background: var(--vd-surface); color: var(--vd-text); font-weight: 600; }
.post-navigation .nav-next { text-align: right; }

/* Pagination */
.pagination, .navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px;
	border: 1px solid var(--vd-border); border-radius: 12px; background: var(--vd-surface); color: var(--vd-text); font-weight: 600;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--vd-primary); color: #fff; border-color: var(--vd-primary); }

/* Sidebar & widgets ------------------------------------------------------ */
.vd-sidebar .widget { margin-bottom: 24px; padding: 22px; background: var(--vd-surface); border: 1px solid var(--vd-border); border-radius: var(--vd-radius); }
.widget-title { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 6px 0; }
.widget li a { color: var(--vd-text-2); }
.widget li a:hover { color: var(--vd-primary); }

/* Comments */
.vd-comments { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 20px; margin-bottom: 14px; background: var(--vd-surface); border: 1px solid var(--vd-border); border-radius: var(--vd-radius); }
.comment-author .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.comment-meta { margin-bottom: 10px; font-size: 14px; }
.comment-metadata a { color: var(--vd-muted); }
.comment-respond { padding: 28px; background: var(--vd-surface); border: 1px solid var(--vd-border); border-radius: var(--vd-radius); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; margin-bottom: 6px; }

/* Empty / 404 */
.vd-empty { max-width: 620px; margin: 0 auto; padding: 80px 0; text-align: center; }
.vd-empty__code { display: block; font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--vd-primary), var(--vd-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vd-empty__search { margin: 26px 0; }

/* Footer ----------------------------------------------------------------- */
.vd-footer { margin-top: 80px; background: #0b1020; color: #a5b0c4; font-size: 15px; }
.vd-footer a { color: #cbd5e1; }
.vd-footer a:hover { color: #fff; }
.vd-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.vd-footer .widget-title { color: #fff; font-size: 15px; margin-bottom: 16px; }
.vd-footer ul { list-style: none; margin: 0; padding: 0; }
.vd-footer li { padding: 5px 0; }
.vd-footer__col--about p { max-width: 340px; margin-top: 16px; }
.vd-brand--footer .vd-brand__name { color: #fff; }
.vd-footer__perks li { display: flex; align-items: center; gap: 10px; }
.vd-footer__perks .vd-icon { width: 20px; height: 20px; color: var(--vd-primary-100); }
.vd-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.vd-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; }
.vd-footer__bottom p { margin: 0; }
.vd-footer__menu { display: flex; flex-wrap: wrap; gap: 20px; }
.vd-footer__menu li { padding: 0; }

/* WP core blocks */
.wp-block-button__link { border-radius: 999px; background: var(--vd-primary); }
.wp-block-image img { border-radius: var(--vd-radius-sm); }
.wp-caption-text, figcaption { color: var(--vd-muted); font-size: 14px; text-align: center; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
	.vd-action__label { display: none; }
	.vd-action { padding: 10px; }
	.vd-hero__inner { gap: 36px; }
	.vd-perks__grid { grid-template-columns: repeat(2, 1fr); }
	.vd-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	:root { --vd-header-h: 64px; --vd-gutter: 16px; }
	.vd-header__toggle { display: inline-grid; margin-left: -8px; }
	.vd-header__main { flex-wrap: wrap; gap: 8px 12px; padding-top: 8px; padding-bottom: 10px; }
	.vd-brand { flex: 1; }
	.vd-brand__name { font-size: 19px; }
	.vd-brand__mark { width: 34px; height: 34px; }
	.vd-header__search { order: 10; flex-basis: 100%; max-width: none; }
	.vd-header__search .vd-search__cat { display: none; }
	.vd-header__search .vd-search__submit { width: 38px; height: 38px; }
	.vd-header__search .vd-search__input { padding: 10px 16px; }
	.vd-header__actions .vd-action--sell, .vd-header__actions .vd-action--account { display: none; }
	.vd-header__nav { display: none; }
	.vd-layout.has-sidebar { grid-template-columns: 1fr; }
	.vd-hero { padding: 40px 0 56px; }
	.vd-hero__inner { grid-template-columns: 1fr; }
	.vd-hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
	.vd-hero__stats { gap: 24px; }
	.vd-section { padding-top: 48px; }
	.vd-entry__content .alignwide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 600px) {
	.vd-perks__grid { grid-template-columns: 1fr; gap: 16px; }
	.vd-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
	.vd-section__head { align-items: flex-start; flex-direction: column; gap: 8px; }
	.vd-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.vd-hero__collage { gap: 12px; }
	.vd-hero__actions .vd-btn { flex: 1 1 100%; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
}

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