/* ==========================================================================
   Vib's — below-the-fold stylesheet (deferred, non render-blocking).
   Split from main.css by tools/split-css.py — loaded before main.css so the
   responsive overrides kept in main.css still win the cascade.
   ========================================================================== */

/* ------------------------------------------------------------------ cards */
.vb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; }

.vb-card { display: flex; flex-direction: column; height: 100%; }
/* 1440: card 332 × 489 (image 344 + body 145.6) — v3.3 #15. */
.vb-card__media { position: relative; background: var(--vb-grey); overflow: hidden; aspect-ratio: 332 / 344; }
.vb-card__link { display: block; width: 100%; height: 100%; }
.vb-card__img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease, transform 0.5s ease; }
.vb-card__img--hover { position: absolute; inset: 0; opacity: 0; }
.vb-card:hover .vb-card__img--hover { opacity: 1; }
.vb-card:hover .vb-card__img { transform: scale(1.015); }
.vb-card__badge {
	position: absolute; top: 10px; left: 10px;
	background: var(--vb-black); color: #fff;
	font-size: 10px; letter-spacing: 0.08em;
	padding: 5px 8px; z-index: 2;
}
.vb-card__out { position: absolute; inset: auto 0 0; background: rgba(0, 0, 0, 0.7); color: #fff; text-align: center; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px; }
.vb-card__sizes {
	position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center;
	padding: 10px 8px; background: rgba(255, 255, 255, 0.92);
	font-size: 10px; letter-spacing: 0.04em;
	opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease;
}
.vb-card__sizes span { border: 1px solid var(--vb-line); padding: 2px 6px; }
@media (hover: hover) {
	.vb-card:hover .vb-card__sizes { opacity: 1; transform: none; }
}
@media (hover: none) {
	.vb-card__sizes { display: none; }
}

.vb-card__body { display: flex; flex-direction: column; padding-top: 12px; gap: 6px; flex: 1; }
.vb-card__brand { display: none; }
.vb-card__title { font-size: 13px; font-weight: 300; line-height: 1.35; height: 35px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vb-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vb-card__price { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.vb-card__old { color: var(--vb-muted); text-decoration: line-through; font-size: 12px; }
.vb-card__now { font-weight: 500; }
.vb-card__price .woocommerce-Price-currencySymbol { font-size: 0.92em; }
.vb-card__colors { display: flex; gap: 6px; min-height: 20px; align-items: center; }
.vb-card__color { width: 18px; height: 18px; border-radius: 50%; overflow: hidden; border: 1px solid var(--vb-line); }
.vb-card__color img { width: 100%; height: 100%; object-fit: cover; }
.vb-card__dot { display: block; width: 100%; height: 100%; background: var(--vb-grey); }
.vb-card__colors--empty { opacity: 0; }
.vb-card__add {
	margin-top: auto;
	min-height: 40px;
	border: 1px solid var(--vb-black);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease;
	width: 100%;
}
.vb-card__add:hover { background: var(--vb-black); color: #fff; }

/* ------------------------------------------------------------------ tiles */
.vb-tiles { padding-top: 56px; }
.vb-tiles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; max-width: var(--vb-container); margin: 0 auto; padding: 0 var(--vb-gutter); }
.vb-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--vb-grey); }
.vb-tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vb-tile:hover .vb-tile__img { transform: scale(1.03); }
.vb-tile__label { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, 0.94); padding: 8px 14px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ------------------------------------------------------------------- band */
.vb-band { margin-top: 72px; background: var(--vb-black); color: #fff; text-align: center; padding: 76px 24px; }
.vb-band__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.vb-band__kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--vb-gold); margin: 0; }
.vb-band__title { font-size: clamp(30px, 4vw, 54px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.vb-band__title span { color: var(--vb-gold); }
.vb-band__sub { color: rgba(255, 255, 255, 0.75); font-size: 13px; max-width: 520px; margin: 0; }
.vb-band .vb-btn { margin-top: 8px; }

/* -------------------------------------------------------------- editorial */
.vb-editorial__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; max-width: var(--vb-container); margin: 0 auto; padding: 0 var(--vb-gutter); }
.vb-editorial__kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--vb-gold-dark); }
.vb-editorial__title { font-size: clamp(28px, 3vw, 44px); font-weight: 300; margin: 10px 0 18px; }
.vb-editorial__p { color: var(--vb-muted); max-width: 420px; margin-bottom: 24px; }
.vb-editorial__media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.vb-editorial__tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--vb-grey); }
.vb-editorial__tile img { width: 100%; height: 100%; object-fit: cover; }
.vb-editorial__tile span { position: absolute; left: 12px; bottom: 12px; color: #fff; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }

/* ---------------------------------------------------------------- charity */
.vb-charity { padding: 64px 0 72px; }
.vb-charity__inner { display: flex; gap: 24px; align-items: flex-start; max-width: var(--vb-container); margin: 0 auto; padding: 32px; background: var(--vb-cream); border-left: 3px solid var(--vb-gold); }
.vb-charity__inner > svg { color: var(--vb-gold-dark); flex: none; margin-top: 4px; }
.vb-charity__title { font-size: 20px; font-weight: 400; margin-bottom: 8px; }
.vb-charity__text { color: var(--vb-muted); max-width: 780px; font-size: 13px; }

/* ------------------------------------------------------------- breadcrumb */
.vb-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--vb-muted); padding: 22px 0; flex-wrap: wrap; }
.vb-breadcrumb a:hover { color: var(--vb-black); text-decoration: underline; }
.vb-breadcrumb__current { color: var(--vb-ink); }

/* -------------------------------------------------------------------- PLP */
.vb-plp { padding-bottom: 72px; }
.vb-plp__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.vb-plp__title { font-size: 30px; font-weight: 300; }
.vb-plp__count { font-size: 12px; color: var(--vb-muted); margin: 0; }

.vb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.vb-chip { display: inline-block; padding: 7px 14px; border: 1px solid var(--vb-line); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.vb-chip:hover { border-color: var(--vb-black); }

.vb-plp__layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.vb-plp__aside-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.vb-plp__aside-list li { margin-bottom: 9px; font-size: 13px; color: var(--vb-muted); }
.vb-plp__aside-list a:hover { color: var(--vb-black); }
.vb-plp__aside-list .is-active a { color: var(--vb-black); font-weight: 500; }

.vb-plp__toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-bottom: 18px; }
.vb-plp__toolbar .woocommerce-ordering { margin: 0; }
.vb-plp__toolbar select { appearance: none; border: 1px solid var(--vb-line); background: #fff; padding: 9px 34px 9px 12px; font: inherit; font-size: 12px; border-radius: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }

/* PLP facets — GET form ?size=…&color=… */
.vb-filters { border: 1px solid var(--vb-line); background: #fff; margin-bottom: 18px; }
.vb-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.vb-filters__title { margin: 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.vb-filters__title span { color: var(--vb-muted); }
.vb-filters__toggle { display: none; align-items: center; gap: 8px; border: 1px solid var(--vb-black); padding: 9px 14px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: #fff; }
.vb-filters__clear { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vb-muted); text-decoration: underline; text-underline-offset: 3px; opacity: 0.45; pointer-events: none; }
.vb-filters__clear.is-active { color: var(--vb-ink); opacity: 1; pointer-events: auto; }
.vb-filters__body { display: flex; flex-wrap: wrap; gap: 22px 36px; align-items: flex-end; padding: 14px 16px 16px; border-top: 1px solid var(--vb-line); }
.vb-filters__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.vb-filters__legend { padding: 0; margin-bottom: 8px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vb-muted); }
.vb-filters__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vb-filter { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--vb-line); font-size: 11px; letter-spacing: 0.04em; background: #fff; cursor: pointer; user-select: none; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.vb-filter:hover { border-color: var(--vb-black); }
.vb-filter input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vb-filter:has(input:checked) { background: var(--vb-black); color: #fff; border-color: var(--vb-black); }
.vb-filter:has(input:focus-visible) { outline: 2px solid var(--vb-gold); outline-offset: 2px; }
.vb-filter__count { color: var(--vb-muted); font-size: 10px; }
.vb-filter:has(input:checked) .vb-filter__count { color: rgba(255, 255, 255, 0.7); }
.vb-filters__apply { margin-left: auto; min-height: 36px; padding: 0 20px; font-size: 10px; }

.vb-pagination { margin-top: 44px; display: flex; justify-content: center; }.vb-pagination .nav-links { display: flex; gap: 6px; align-items: center; }
.vb-pagination a, .vb-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; border: 1px solid var(--vb-line); font-size: 12px; padding: 0 10px; }
.vb-pagination span.current { background: var(--vb-black); color: #fff; border-color: var(--vb-black); }
.vb-pagination a:hover { border-color: var(--vb-black); }

.vb-empty { padding: 64px 0; text-align: center; }
.vb-empty p { color: var(--vb-muted); margin-bottom: 20px; }

/* -------------------------------------------------------------------- PDP */
.vb-pdp { padding-bottom: 32px; }
.vb-pdp__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: start; }
.vb-pdp__media { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; }
.vb-pdp__main { position: relative; background: var(--vb-grey); }
.vb-pdp__main img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.vb-pdp__badge { position: absolute; top: 12px; left: 12px; background: var(--vb-black); color: #fff; font-size: 11px; letter-spacing: 0.06em; padding: 6px 9px; }
.vb-pdp__thumbs { display: flex; flex-direction: column; gap: 8px; grid-column: 1; grid-row: 1; }
.vb-pdp__thumb { display: block; border: 1px solid transparent; padding: 0; width: 84px; }
.vb-pdp__thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.vb-pdp__thumb.is-active { border-color: var(--vb-black); }
.vb-pdp__media .vb-pdp__main { grid-column: 2; }

.vb-pdp__info { position: sticky; top: calc(var(--vb-header-h) + 60px); }
.vb-pdp__brand { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--vb-muted); margin-bottom: 8px; }
.vb-pdp__title { font-size: 26px; font-weight: 300; margin-bottom: 14px; }
.vb-pdp__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.vb-pdp__old { color: var(--vb-muted); text-decoration: line-through; font-size: 15px; }
.vb-pdp__now { font-size: 20px; font-weight: 500; }
.vb-pdp__pct { background: var(--vb-black); color: #fff; font-size: 10px; padding: 3px 6px; letter-spacing: 0.06em; }
.vb-pdp__tier { font-size: 12px; color: var(--vb-muted); margin-bottom: 22px; }

.vb-pdp__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 8px; }
.vb-pdp__colorname { color: var(--vb-muted); margin-left: 6px; }
.vb-pdp__swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.vb-pdp__swatch { width: 44px; height: 44px; padding: 0; border: 1px solid var(--vb-line); display: block; }
.vb-pdp__swatch img { width: 100%; height: 100%; object-fit: cover; }
.vb-pdp__swatch.is-active { border-color: var(--vb-black); box-shadow: inset 0 0 0 1px #fff; }
.vb-pdp__dot { display: block; width: 100%; height: 100%; background: var(--vb-grey); }

.vb-pdp__sizes { margin-bottom: 22px; }
.vb-pdp__sizes-head { display: flex; justify-content: space-between; align-items: baseline; }
.vb-pdp__guide { font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.vb-pdp__size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.vb-pdp__size { min-width: 54px; height: 42px; padding: 0 12px; border: 1px solid var(--vb-line); font-size: 12px; letter-spacing: 0.04em; }
.vb-pdp__size:hover { border-color: var(--vb-black); }
.vb-pdp__size.is-active { background: var(--vb-black); color: #fff; border-color: var(--vb-black); }
.vb-pdp__size-error { color: var(--vb-red); font-size: 12px; margin: 8px 0 0; }

.vb-pdp__add { width: 100%; min-height: 54px; font-size: 12px; letter-spacing: 0.14em; }
.vb-pdp__reassurance { margin: 22px 0 8px; display: grid; gap: 8px; font-size: 12px; color: var(--vb-muted); }
.vb-pdp__reassurance p { display: flex; align-items: center; gap: 10px; margin: 0; }
.vb-pdp__reassurance svg { color: var(--vb-ink); }

.vb-acc { margin-top: 26px; border-top: 1px solid var(--vb-line); }
.vb-acc__item { border-bottom: 1px solid var(--vb-line); }
.vb-acc__head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.vb-acc__body { padding: 0 0 18px; font-size: 13px; color: #444; }
.vb-acc__body p { margin: 0 0 10px; }
.vb-section--related { padding-top: 56px; }

/* --------------------------------------------------------------- drawer(s) */
.vb-cart, .vb-drawer { position: fixed; inset: 0; z-index: 200; }
.vb-cart[hidden], .vb-drawer[hidden] { display: none; }
.vb-cart__overlay, .vb-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); opacity: 0; transition: opacity 0.25s ease; }
.vb-cart.is-open .vb-cart__overlay, .vb-drawer.is-open .vb-drawer__overlay { opacity: 1; }
.vb-cart__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: 460px; max-width: 100%;
	background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.28s ease;
}
.vb-cart.is-open .vb-cart__panel { transform: none; }
.vb-cart__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--vb-line); }
.vb-cart__title { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.vb-cart__close { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.vb-cart__body { flex: 1; overflow-y: auto; padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 18px; -webkit-overflow-scrolling: touch; }
.vb-cart__loading { color: var(--vb-muted); font-size: 13px; }

.vb-progress { background: var(--vb-cream); padding: 14px 16px; }
.vb-progress__txt { font-size: 12px; margin: 0 0 8px; }
.vb-progress__bar { height: 3px; background: #e2ded2; overflow: hidden; }
.vb-progress__bar span { display: block; height: 100%; background: var(--vb-gold-dark); transition: width 0.35s ease; }
.vb-progress.is-done .vb-progress__bar span { background: var(--vb-black); }
.vb-progress__tier { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--vb-muted); margin: 8px 0 0; }

.vb-cart__lines { display: flex; flex-direction: column; }
.vb-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--vb-line); }
.vb-line__media img { width: 84px; height: 112px; object-fit: cover; background: var(--vb-grey); }
.vb-line__name { font-size: 12px; line-height: 1.4; display: block; margin-bottom: 4px; }
.vb-line__meta { display: flex; gap: 10px; font-size: 10px; color: var(--vb-muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 6px; }
.vb-line__price { font-size: 12px; margin: 0 0 8px; display: flex; gap: 8px; align-items: baseline; }
.vb-line__old { color: var(--vb-muted); text-decoration: line-through; font-size: 11px; }
.vb-line__now { font-weight: 500; }
.vb-line__qty { display: inline-flex; align-items: center; border: 1px solid var(--vb-line); }
.vb-qty__btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.vb-qty__val { min-width: 26px; text-align: center; font-size: 12px; }
.vb-line__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.vb-line__remove { color: var(--vb-muted); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.vb-line__remove:hover { color: var(--vb-black); }
.vb-line__total { font-size: 12px; font-weight: 500; white-space: nowrap; }

.vb-totals { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.vb-totals__row { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.vb-totals__row dt { font-weight: 300; color: var(--vb-muted); }
.vb-totals__row dd { margin: 0; text-align: right; }
.vb-totals__row--discount dd { color: var(--vb-red); }
.vb-totals__row--save { font-size: 11px; }
.vb-totals__row--save dd { color: var(--vb-red); }
.vb-totals__row--total { border-top: 1px solid var(--vb-line); padding-top: 12px; font-size: 16px; align-items: baseline; }
.vb-totals__row--total dt { color: var(--vb-ink); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.vb-totals__row--total dd { font-weight: 500; }
.vb-totals__row--lucky dd { color: var(--vb-red); }

.vb-cart__foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.vb-cart__checkout { width: 100%; min-height: 52px; }
.vb-cart__note { font-size: 11px; color: var(--vb-muted); text-align: center; margin: 0; }
.vb-cart__empty { text-align: center; padding: 40px 0; display: flex; flex-direction: column; gap: 16px; align-items: center; }

/* mobile drawer */
.vb-drawer__panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: 380px; max-width: 100%;
	background: #fff; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform 0.28s ease;
}
.vb-drawer.is-open .vb-drawer__panel { transform: none; }
.vb-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--vb-line); }
.vb-drawer__brand { font-size: 24px; font-weight: 300; }
.vb-drawer__nav { overflow-y: auto; flex: 1; }
.vb-drawer__item { border-bottom: 1px solid var(--vb-line); }
.vb-drawer__toggle, .vb-drawer__link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 22px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.vb-drawer__sub { padding: 0 22px 14px; }
.vb-drawer__sub ul li a { display: block; padding: 8px 0; font-size: 13px; color: var(--vb-muted); }
.vb-drawer__all { display: block; font-size: 12px; text-decoration: underline; margin-bottom: 6px; }
.vb-drawer__item.is-open .vb-drawer__toggle svg { transform: rotate(180deg); }

/* ------------------------------------------------------------- cart page */
.vb-cartpage { padding: 12px 0 80px; max-width: var(--vb-container); margin: 0 auto; padding-left: var(--vb-gutter); padding-right: var(--vb-gutter); }
.vb-cartpage__title { font-size: 28px; font-weight: 300; margin: 10px 0 28px; }
.vb-cartpage__title span { font-size: 14px; color: var(--vb-muted); }
.vb-cartpage__layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
.vb-cartpage__aside { background: var(--vb-cream); padding: 24px; }
.vb-cartpage__aside-title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.vb-cartpage__checkout { width: 100%; margin-top: 18px; }
.vb-cartpage__note { font-size: 11px; color: var(--vb-muted); margin: 12px 0 16px; }
.vb-cartpage__actions { margin-top: 20px; }

/* ---------------------------------------------------------------- payment */
.vb-pay { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.vb-pay__item { display: flex; align-items: center; justify-content: center; width: 54px; height: 34px; background: transparent; }
.vb-pay__item img { max-height: 24px; max-width: 50px; width: auto; height: auto; object-fit: contain; }
.vb-pay--footer .vb-pay__item { width: 58px; height: 38px; }
.vb-pay--footer .vb-pay__item img { max-height: 28px; max-width: 54px; }
.vb-pay--cart .vb-pay__item { width: 50px; height: 30px; }
.vb-pay--cart .vb-pay__item img { max-height: 20px; }

/* --------------------------------------------------------------- checkout */
.woocommerce-checkout .vb-main { padding-bottom: 80px; }
.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
	gap: 56px;
	max-width: var(--vb-container);
	margin: 0 auto;
	padding: 0 var(--vb-gutter);
	align-items: start;
}
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1; }
.woocommerce-checkout #order_review_heading { display: none; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 1; background: var(--vb-cream); padding: 26px; }
.woocommerce-checkout .woocommerce-NoticeGroup { grid-column: 1 / -1; }

.woocommerce-checkout h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-row { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.form-row-wide, .form-row-first, .form-row-last { grid-column: span 1; }
.form-row-wide { grid-column: 1 / -1; }
#billing_address_1_field, #shipping_address_1_field { grid-column: 1 / -1; }
.form-row label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vb-muted); }
.form-row .required { color: var(--vb-red); text-decoration: none; }
.input-text, .form-row select, .form-row textarea {
	width: 100%; min-height: 46px; border: 1px solid var(--vb-line); background: #fff; padding: 10px 12px; font: inherit; font-size: 13px; border-radius: 0; color: var(--vb-ink);
}
.input-text:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--vb-black); }
.select2-container .select2-selection--single { height: 46px; border: 1px solid var(--vb-line); border-radius: 0; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; font-size: 13px; padding-left: 12px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.woocommerce-invalid .input-text, .woocommerce-invalid select { border-color: var(--vb-red); }

/* order review */
.vb-review__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vb-review__th { text-align: left; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vb-muted); padding-bottom: 12px; font-weight: 400; }
.vb-review__th--total { text-align: right; }
.vb-review__item { border-top: 1px solid var(--vb-line); }
.vb-review__cell { padding: 12px 0; vertical-align: top; }
.vb-review__cell--total { text-align: right; white-space: nowrap; }
.vb-review__prod { display: flex; gap: 12px; align-items: flex-start; }
.vb-review__prod img { width: 56px; height: 74px; object-fit: cover; background: var(--vb-grey); }
.vb-review__meta { display: flex; flex-direction: column; gap: 3px; }
.vb-review__name { font-size: 12px; line-height: 1.35; }
.vb-review__qty { font-weight: 600; font-size: 13px; white-space: nowrap; }
.vb-review__size, .vb-review__brand { font-size: 10px; color: var(--vb-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.vb-review__row th, .vb-review__row td { padding: 9px 0; font-weight: 300; text-align: left; border-top: 1px solid var(--vb-line); font-size: 13px; }
.vb-review__row td { text-align: right; }
.vb-review__row--discount td { color: var(--vb-red); }
.vb-review__row--lucky td { color: var(--vb-red); }
.vb-review__row--total th { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 500; }
.vb-review__row--total td { font-size: 17px; }
.vb-review__teaser { padding: 12px 0 0; font-size: 11px; color: var(--vb-muted); border-top: 1px solid var(--vb-line); }

/* payment area */
.vb-payment__methods { display: none; } /* single gateway: keep the radio in the DOM */
.vb-payment__card { background: #fff; border: 1px solid var(--vb-line); padding: 16px; margin-bottom: 16px; }
.vb-payment__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 12px; }
.vb-payment__card .vb-pay { gap: 10px; }
.vb-payment__card .vb-pay__item { width: 64px; height: 38px; background: #fff; border: 1px solid #f0efea; border-radius: 3px; }
.vb-payment__card .vb-pay__item img { max-height: 24px; max-width: 56px; }
.vb-payment__secure { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--vb-muted); margin: 12px 0 0; }
.vb-terms { margin: 4px 0 14px; font-size: 11px; color: var(--vb-muted); }
.vb-terms label { display: flex; gap: 8px; align-items: flex-start; }
.vb-terms input { margin-top: 2px; }
.vb-terms a { text-decoration: underline; }
.vb-payment__submit .vb-payment__btn { width: 100%; min-height: 54px; }
.vb-donation { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--vb-muted); }
.vb-donation strong { color: var(--vb-ink); }

/* lucky popup */
.vb-lucky { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, 0); transition: background 0.25s ease; }
.vb-lucky.is-open { background: rgba(0, 0, 0, 0.55); }
.vb-lucky__box { background: #fff; padding: 40px 36px; max-width: 460px; width: 100%; text-align: center; transform: translateY(12px); opacity: 0; transition: all 0.25s ease; border-top: 4px solid var(--vb-gold); }
.vb-lucky.is-open .vb-lucky__box { transform: none; opacity: 1; }
.vb-lucky__kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--vb-gold-dark); margin-bottom: 10px; }
.vb-lucky__title { font-size: 30px; font-weight: 300; margin-bottom: 14px; }
.vb-lucky__text { font-size: 14px; color: var(--vb-muted); margin-bottom: 24px; }
.vb-lucky__amount { text-decoration: line-through; }

/* thank you */
.vb-thanks__note { font-size: 12px; color: var(--vb-muted); }

/* ----------------------------------------------------------------- footer */
.vb-footer { border-top: 1px solid var(--vb-line); margin-top: 40px; }
.vb-footer__trust { border-bottom: 1px solid var(--vb-line); }
.vb-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: var(--vb-container); margin: 0 auto; padding: 30px var(--vb-gutter); }
.vb-trust__item { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.02em; }
.vb-trust__item svg { color: var(--vb-gold-dark); flex: none; }

.vb-footer__main { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; max-width: var(--vb-container); margin: 0 auto; padding: 52px var(--vb-gutter) 36px; }
.vb-footer__logo { font-size: 30px; font-weight: 300; letter-spacing: -0.02em; display: inline-block; margin-bottom: 12px; }
.vb-footer__pitch { font-size: 12px; color: var(--vb-muted); max-width: 300px; }
.vb-footer__mail a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.vb-footer__title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.vb-footer__list li { margin-bottom: 9px; }
.vb-footer__list a { font-size: 12px; color: var(--vb-muted); }
.vb-footer__list a:hover { color: var(--vb-black); }

.vb-footer__pay { display: flex; align-items: center; gap: 18px; max-width: var(--vb-container); margin: 0 auto; padding: 0 var(--vb-gutter) 26px; border-bottom: 1px solid var(--vb-line); }
.vb-footer__pay-txt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vb-muted); margin: 0; }

.vb-footer__legal { max-width: var(--vb-container); margin: 0 auto; padding: 22px var(--vb-gutter) 40px; }
.vb-footer__copy { font-size: 11px; color: var(--vb-muted); margin: 0 0 6px; }
.vb-footer__note { font-size: 10px; color: #8d8d89; max-width: 900px; margin: 0; line-height: 1.6; }

/* ------------------------------------------------------------------ pages */
.vb-page { padding: 8px 0 80px; }
.vb-page__title { font-size: 32px; font-weight: 300; margin: 8px 0 26px; }
.vb-prose { font-size: 14px; line-height: 1.75; color: #333; }
.vb-prose h2 { font-size: 18px; font-weight: 500; margin: 34px 0 12px; }
.vb-prose h3 { font-size: 15px; font-weight: 500; margin: 24px 0 10px; }
.vb-prose p { margin: 0 0 14px; }
.vb-prose ul { list-style: disc; padding-left: 20px; margin: 0 0 16px; }
.vb-prose li { margin-bottom: 6px; }
.vb-prose a { text-decoration: underline; text-underline-offset: 3px; }
.vb-prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 13px; }
.vb-prose th, .vb-prose td { border: 1px solid var(--vb-line); padding: 10px 12px; text-align: left; }
.vb-prose strong { font-weight: 500; }

.vb-404 { text-align: center; padding-top: 60px; }
.vb-404__code { font-size: 90px; line-height: 1; font-weight: 300; color: var(--vb-gold); margin: 0 0 10px; }
.vb-404__text { color: var(--vb-muted); }
.vb-404__actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* --------------------------------------------------------------- notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .woocommerce-notice, .wc-block-components-notice-banner {
	background: var(--vb-cream); border: 1px solid var(--vb-line); border-left: 3px solid var(--vb-gold); color: var(--vb-ink);
	padding: 14px 16px 14px 18px; font-size: 13px; list-style: none; margin: 0 auto 18px; max-width: var(--vb-container);
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before, .woocommerce-notice::before, .wc-block-components-notice-banner::before { content: none !important; }
.woocommerce-error { border-left-color: var(--vb-red); }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { margin-left: auto; }

/* account */
.woocommerce-account .woocommerce { max-width: var(--vb-container); margin: 0 auto; padding: 0 var(--vb-gutter) 70px; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: left; width: 220px; margin-right: 44px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: block; padding: 10px 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--vb-line); }
.woocommerce-account .woocommerce-MyAccount-content { overflow: hidden; }
.woocommerce-form-login, .woocommerce-form-register { border: 1px solid var(--vb-line); padding: 24px; max-width: 460px; }
.woocommerce-account .button, .woocommerce-form-login .button, .woocommerce-form-register .button { background: var(--vb-black); color: #fff; border: 0; min-height: 46px; padding: 0 22px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; }

/* toast */
.vb-toast {
	position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px); z-index: 400;
	background: var(--vb-black); color: #fff; padding: 12px 20px; font-size: 12px; letter-spacing: 0.04em;
	opacity: 0; transition: all 0.25s ease; pointer-events: none; max-width: 90vw; text-align: center;
}
.vb-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* --- review table refinement + checkout payment strip ------------------- */
.vb-review__table { table-layout: fixed; }
.vb-review__table thead th:first-child,
.vb-review__table tbody td:first-child { width: auto; }
.vb-review__th--total,
.vb-review__cell--total { width: 92px; }
.vb-review__prod { min-width: 0; }
.vb-review__meta { min-width: 0; }
.vb-review__name { overflow-wrap: anywhere; }
.vb-payment__card .vb-pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vb-payment__card .vb-pay__item { width: 100%; height: 34px; }
.vb-payment__card .vb-pay__item img { width: 100%; height: 24px; max-width: 48px; max-height: 24px; object-fit: contain; }

@media (max-width: 640px) {
	.vb-review__th--total, .vb-review__cell--total { width: 74px; }
	.vb-payment__card .vb-pay { grid-template-columns: repeat(3, 1fr); }
}

/* --- PLP without sidebar ------------------------------------------------ */
.vb-plp__layout:not(.has-aside) { grid-template-columns: 1fr; }
.vb-plp__layout:not(.has-aside) .vb-plp__content { grid-column: 1 / -1; }
.vb-pdp__swatch { font-size: 0; line-height: 0; overflow: hidden; }

/* --- order received ----------------------------------------------------- */
.vb-thanks { max-width: var(--vb-container); margin: 0 auto; padding: 28px var(--vb-gutter) 40px; }
.vb-thanks__head { max-width: 720px; margin-bottom: 34px; }
.vb-thanks__kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--vb-gold-dark); margin: 0 0 8px; }
.vb-thanks__title { font-size: 30px; font-weight: 300; margin-bottom: 10px; }
.vb-thanks__lead { color: var(--vb-muted); font-size: 13px; }
.vb-thanks__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr); gap: 44px; align-items: start; }
.vb-thanks__h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.vb-thanks__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vb-thanks__table thead th { text-align: left; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vb-muted); font-weight: 400; padding-bottom: 10px; }
.vb-thanks__table tbody td { border-top: 1px solid var(--vb-line); padding: 12px 0; vertical-align: top; }
.vb-thanks__table tfoot th, .vb-thanks__table tfoot td { border-top: 1px solid var(--vb-line); padding: 10px 0; font-weight: 300; text-align: left; }
.vb-thanks__right { text-align: right; }
.vb-thanks__prod { display: flex; gap: 12px; align-items: flex-start; }
.vb-thanks__prod img { width: 56px; height: 74px; object-fit: cover; background: var(--vb-grey); }
.vb-thanks__name { font-size: 12px; }
.vb-thanks__qty { font-weight: 600; white-space: nowrap; }
.vb-thanks__meta { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--vb-muted); margin-top: 3px; }
.vb-thanks__fee td, .vb-thanks__fee th { color: var(--vb-red); }
.vb-thanks__total th { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 500; }
.vb-thanks__total td { font-size: 17px; }
.vb-thanks__card { background: var(--vb-cream); padding: 18px 20px; margin-bottom: 14px; }
.vb-thanks__label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vb-muted); margin: 0 0 3px; }
.vb-thanks__value { font-size: 14px; margin: 0 0 12px; }
.vb-thanks__addr { font-style: normal; font-size: 12px; line-height: 1.6; }
.vb-thanks__cta { width: 100%; margin: 6px 0 14px; }
@media (max-width: 1024px) { .vb-thanks__grid { grid-template-columns: 1fr; gap: 26px; } }

/* --- account ------------------------------------------------------------ */
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.woocommerce-account .woocommerce-MyAccount-content p { font-size: 13px; }
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button.button { background: var(--vb-black); color: #fff; border: 0; min-height: 44px; padding: 0 20px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.woocommerce-account table.shop_table { width: 100%; border-collapse: collapse; font-size: 13px; }
.woocommerce-account table.shop_table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--vb-muted); font-weight: 400; padding: 10px 0; border-bottom: 1px solid var(--vb-line); }
.woocommerce-account table.shop_table td { padding: 14px 0; border-bottom: 1px solid var(--vb-line); vertical-align: middle; }
.woocommerce-account .woocommerce-Address { border: 1px solid var(--vb-line); padding: 18px; }
.woocommerce-account .woocommerce-Address address { font-style: normal; font-size: 12px; line-height: 1.6; }
.woocommerce-account .woocommerce-Address-title h2 { font-size: 14px; }
.woocommerce-account .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.woocommerce-account .col2-set::after { content: none; }
.woocommerce-account .col-1, .woocommerce-account .col-2 { width: auto !important; float: none !important; }
.woocommerce-account form.woocommerce-EditAccountForm .form-row { margin-bottom: 14px; }
.woocommerce-account fieldset { border: 1px solid var(--vb-line); padding: 16px; margin-top: 18px; }
.woocommerce-account .woocommerce-form-login__rememberme { font-size: 12px; }
@media (max-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: auto; margin: 0 0 20px; }
	.woocommerce-account .col2-set { grid-template-columns: 1fr; }
}

/* --- payment icons: per-brand optical normalisation --------------------- */
.vb-pay__item img { object-fit: contain; }
.vb-pay__item--visa img { max-height: 16px; max-width: 46px; }
.vb-pay__item--cartebancaire img { max-height: 20px; max-width: 36px; }
.vb-pay__item--mastercard img { max-height: 22px; max-width: 34px; }
.vb-pay__item--maestro img { max-height: 13px; max-width: 52px; }
.vb-pay__item--amex img { max-height: 14px; max-width: 50px; }
.vb-pay__item--paypal img { max-height: 18px; max-width: 30px; }
.vb-pay__item--applepay img { max-height: 18px; max-width: 40px; }
.vb-pay__item--googlepay img { max-height: 18px; max-width: 44px; }
.vb-pay__item--klarna img { max-height: 18px; max-width: 40px; }

/* --- favoris ------------------------------------------------------------ */
.vb-fav-btn {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
	font-size: 12px; letter-spacing: .02em; color: #444; padding: 6px 0;
}
.vb-fav-btn svg { color: #444; }
.vb-fav-btn:hover { color: #111; }
.vb-fav-btn.is-active, .vb-fav-btn.is-active svg { color: #b3261e; }
.vb-fav-btn.is-active svg { fill: #b3261e; }
.vb-favs { margin-top: 26px; }
.vb-favs__intro { color: var(--vb-muted); font-size: 13px; max-width: 640px; }
.vb-favs__empty { color: var(--vb-muted); padding: 40px 0; }
.vb-grid--fav { margin-top: 8px; }


