/* VG-035 UI refresh layer: loaded after index_home.css. Brand colours stay (#79AF14 green, #FE7E00 orange). */
:root {
    --vg-ink: #303830;
    --vg-heading: #294d28;
    --vg-muted: #626b62;
    --vg-placeholder: #737b73;
    --vg-link: #477510;
    --vg-error: #b42318;
    --vg-field-border: #899389;
    --vg-field-border-hover: #626f62;
    --vg-field-focus: #477510;
    --vg-field-disabled: #f1f3ef;
    --vg-selected-surface: #f0f7e5;
    --vg-gap-col: 24px;
    --vg-gap-row: 32px;
    --vg-card-pad: 14px;
    --vg-ease-card: 180ms ease-out;
}
@media (max-width: 600px) { :root { --vg-gap-col: 12px; --vg-gap-row: 22px; --vg-card-pad: 10px; } }

/* ---- product card: spacing ---- */
.vg-cat-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: var(--vg-gap-col); row-gap: var(--vg-gap-row); }
.vg-cat-page.has-side { column-gap: 32px; }
.vg-rail-track { gap: var(--vg-gap-col); padding-block: 14px 18px; margin-block: -8px -8px; padding-inline: 10px; margin-inline: -10px; scroll-padding-inline: 10px; }
/* Column widths follow the gap above (index_home.css assumes 16/14 px): n columns = (100% - (n-1) gaps) / n, so the last card is not clipped. */
.vg-rail-track { grid-auto-columns: calc((100% - 3 * var(--vg-gap-col)) / 4); }
#vg-home-brands-track { grid-auto-columns: calc((100% - 4 * var(--vg-gap-col)) / 5); }
@media (min-width: 1440px) { .vg-product-rail:not(.vg-reviews-rail) .vg-rail-track { grid-auto-columns: calc((100% - 4 * var(--vg-gap-col)) / 5); } }
@media (max-width: 800px) { .vg-rail-track, #vg-home-brands-track { grid-auto-columns: calc((100% - 2 * var(--vg-gap-col)) / 3); } }
@media (max-width: 600px) { .vg-rail-track, #vg-home-brands-track { grid-auto-columns: calc((100% - var(--vg-gap-col)) / 2); } #vg-home-brands-track { gap: var(--vg-gap-col); } }
.vg-product-card { position: relative; padding: var(--vg-card-pad); border-radius: 10px; }
@media (max-width: 900px) { .vg-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- product card: three-line title ---- */
.vg-product-card h3.vg-product-title { position: relative; min-height: calc(3 * 1.4em); margin: 10px 0 4px; font-size: 15px; line-height: 1.4; color: var(--vg-ink); overflow-wrap: anywhere; }
.vg-product-card h3.vg-product-title .vg-product-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.vg-product-heading { display: contents; }
/* Touch: the button sits on the third line of the name, after the ellipsis it covers (its own "…" replaces the clipped tail). */
.vg-name-more { position: absolute; inset-inline-end: 0; bottom: 0; margin: 0; padding: 0 0 0 4px; border: 0; background: #fff; color: var(--vg-link); font: inherit; font-size: 13px; line-height: 1.4; text-decoration: underline; cursor: pointer; white-space: nowrap; }
.vg-name-more::before { content: "\2026 "; display: inline-block; text-decoration: none; color: var(--vg-ink); }
[dir="rtl"] .vg-name-more { padding: 0 4px 0 0; }
.vg-name-more[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .vg-name-more { display: none !important; } }
.vg-product-rating-space[aria-hidden=true] { min-height: 0; margin: 0; }
.vg-product-rating-space:not([aria-hidden=true]) { min-height: 24px; margin: 2px 0 8px; }
.vg-product-pricing.vg-price-parts { grid-template-rows: minmax(26px, auto) 19px; }
.vg-price-unit { min-height: 19px; overflow: hidden; color: var(--vg-muted); font-size: 12px; line-height: 19px; text-overflow: ellipsis; white-space: nowrap; }

/* ---- name tooltip / popover ---- */
.vg-name-pop { position: absolute; z-index: 10050; max-width: min(320px, calc(100vw - 24px)); padding: 10px 12px; border: 1px solid var(--vg-field-border); border-radius: 8px; background: #fff; color: var(--vg-ink); box-shadow: 0 8px 24px rgba(41, 77, 40, .18); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.vg-name-pop[hidden] { display: none; }

/* ---- hover / focus ---- */
.vg-product-card { border-color: #e1e8db; transition: transform var(--vg-ease-card), box-shadow var(--vg-ease-card), border-color var(--vg-ease-card); }
.vg-product-card:hover, .vg-product-card:focus-within { z-index: 2; }
.vg-product-card:focus-within { border-color: var(--vg-green); box-shadow: 0 6px 18px rgba(41, 77, 40, .14); }
.vg-product-card .vg-product-action { transition: background var(--vg-ease-card), transform var(--vg-ease-card), box-shadow var(--vg-ease-card); }
.vg-product-card .vg-product-action:focus-visible, .vg-product-card a:focus-visible, .vg-name-more:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
    .vg-product-card:hover { transform: scale(1.015); border-color: var(--vg-green); box-shadow: 0 8px 22px rgba(41, 77, 40, .16); }
    .vg-product-card:hover .vg-product-image img { transform: none; }
    .vg-product-card .vg-product-action:hover { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
    .vg-product-card:hover, .vg-product-card .vg-product-action:hover { transform: none; }
    .vg-product-card, .vg-product-card .vg-product-action { transition-duration: .01ms; }
}

/* ---- discount badge ---- */
.vg-product-discount { top: -14px; right: -14px; display: inline-flex; align-items: center; width: auto; height: 27px; padding: 0 8px; border-radius: 0 6px; background: #fe7e00; color: #fff; box-shadow: none; font-size: 13px; font-weight: 700; letter-spacing: 0; line-height: 1; }
[dir=rtl] .vg-product-discount { right: auto; left: -14px; }

/* ---- add-to-cart confirmation panel ---- */
.vg-added-panel { position: fixed; inset: 16px 16px auto auto; margin: 0; width: min(400px, calc(100vw - 32px)); max-width: 100vw; height: auto; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #fff; color: var(--vg-ink); box-shadow: 0 12px 40px rgba(41, 77, 40, .25); font-family: 'DM Sans', 'Noto Sans', 'Noto Sans Hebrew', Arial, sans-serif; }
.vg-added-panel[open] { display: flex; flex-direction: column; }
.vg-added-panel { --vg-win-from: translateX(24px); }
[dir=rtl] .vg-added-panel { --vg-win-from: translateX(-24px); }
.vg-added-panel::backdrop { background: rgba(48, 56, 48, .35); }
[dir=rtl] .vg-added-panel { inset: 16px auto auto 16px; }
.vg-added-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 14px; border-bottom: 1px solid #e1e8db; }
.vg-added-head h2 { margin: 0; color: var(--vg-heading); font-size: 20px; font-weight: 700; line-height: 1.3; }
.vg-added-head h2:focus { outline: none; }
.vg-added-head button { flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f3ef; color: var(--vg-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.vg-added-body { flex: 0 1 auto; overflow-y: auto; padding: 16px 20px 4px; }
.vg-added-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; }
.vg-added-image img { display: block; width: 72px; height: 72px; object-fit: contain; }
.vg-added-name { margin: 0 0 6px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.vg-added-qty { margin: 0; color: var(--vg-muted); font-size: 14px; }
.vg-added-totals { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid #e1e8db; }
.vg-added-totals > div { display: flex; justify-content: space-between; gap: 12px; padding-block: 4px; }
.vg-added-totals > div[hidden] { display: none; }
.vg-added-totals dt { color: var(--vg-muted); }
.vg-added-totals dd { margin: 0; color: var(--vg-heading); font-weight: 700; }
.vg-added-actions { flex: 0 0 auto; display: grid; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #e1e8db; background: #fff; }
.vg-added-checkout, .vg-added-continue { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border-radius: 8px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.vg-added-checkout { border: 0; background: var(--vg-green); color: #fff; }
.vg-added-continue { border: 1px solid var(--vg-field-border); background: #fff; color: var(--vg-ink); }
.vg-added-checkout:hover { background: #73b215; }
.vg-added-continue:hover { border-color: var(--vg-field-border-hover); }
.vg-added-panel :focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
@media (max-width: 600px) {
    .vg-added-panel, [dir=rtl] .vg-added-panel { inset: auto 0 0 0; width: 100%; height: auto; max-height: 85dvh; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 32px rgba(41, 77, 40, .2); }
}

/* ---- form system (fields ~48px, 8px radius, neutral border, green focus) ---- */
.vg-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=range]), .vg-page select, .vg-page textarea { min-height: 48px; padding: 10px 14px; border-radius: 8px; background-color: #fff; color: var(--vg-ink); font: inherit; font-size: 16px; }
.vg-page textarea { min-height: 96px; }
.vg-page input:hover:not(:disabled), .vg-page select:hover:not(:disabled), .vg-page textarea:hover:not(:disabled) { border-color: var(--vg-field-border-hover); }
.vg-page input:focus-visible, .vg-page select:focus-visible, .vg-page textarea:focus-visible { border-color: var(--vg-field-focus); box-shadow: 0 0 0 3px rgba(71, 117, 16, .28); }
.vg-page input:disabled, .vg-page select:disabled, .vg-page textarea:disabled { background-color: var(--vg-field-disabled); }
/* VG-094: one chevron for every select on the site: the same dark 2px chevron as the country picker (.vg-flagpick-button::after). */
select:not([multiple]):not([size]) { appearance: none; -webkit-appearance: none; padding-inline-end: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' fill='none' stroke='%23303830' stroke-width='2'%3E%3Cpath d='M.6 .6 6 6 11.4 .6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 7px; }
[dir=rtl] select:not([multiple]):not([size]) { background-position: left 16px center; }
.vg-page ::placeholder { color: var(--vg-placeholder); opacity: 1; }
.vg-page .has-error input, .vg-page .has-error select, .vg-page .has-error textarea, .vg-page input.has-error, .vg-page select.has-error { border-color: var(--vg-error); }
.vg-page .field-error, .vg-page [data-vg-field-error] { color: var(--vg-error); font-size: 14px; line-height: 1.4; }

/* ---- regional preferences dialog ---- */
#vg-home-preferences { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: hidden; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 20px 60px rgba(41, 77, 40, .25); }
#vg-home-preferences[open] { display: flex; flex-direction: column; }
#vg-home-preferences::backdrop { background: rgba(48, 56, 48, .4); backdrop-filter: none; }
#vg-home-preferences .vg-shell-dialog-heading { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 0; border: 0; text-align: start; }
#vg-home-preferences .vg-shell-dialog-heading h2 { color: var(--vg-heading); font-size: 22px; font-weight: 700; }
#vg-home-preferences .vg-shell-dialog-heading button { position: static; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; color: var(--vg-ink); }
#vg-home-preferences form { display: flex; flex-direction: column; min-height: 0; }
#vg-home-preferences .vg-shell-dialog-fields { max-width: none; margin: 0; padding: 20px 24px 8px; overflow-y: auto; }
/* VG-095: the country list opens over the dialog; the dialog and its fields must not clip it into a second scrollbar (same rule as the calculator dialog, .vg-est-dialog). */
#vg-home-preferences:has(.vg-flagpick-list:not([hidden])), #vg-home-preferences:has(.vg-flagpick-list:not([hidden])) .vg-shell-dialog-fields { overflow: visible; }
#vg-home-preferences .vg-shell-dialog-fields label { margin: 0 0 7px; color: var(--vg-ink); font-size: 15px; font-weight: 600; }
#vg-home-preferences .vg-shell-dialog-fields select { width: 100%; min-height: 48px; margin: 0 0 20px; padding: 10px 14px; border: 1px solid var(--vg-c-8bcf55); border-radius: 8px; color: var(--vg-ink); font-size: 16px; }
#vg-home-preferences .vg-shell-dialog-fields select:hover { border-color: var(--vg-field-border-hover); }
#vg-home-preferences .vg-shell-dialog-fields select:focus-visible { border-color: var(--vg-field-focus); box-shadow: 0 0 0 3px rgba(71, 117, 16, .28); outline: none; }
#vg-home-preferences .vg-shell-dialog-footer { padding: 8px 24px 24px; border: 0; text-align: start; background: #fff; }
#vg-home-preferences .vg-shell-dialog-footer button { width: 100%; min-height: 48px; background: var(--vg-green); color: #fff; }
#vg-home-preferences .vg-shell-dialog-footer button:hover { background: #73b215; }
@media (max-width: 600px) { #vg-home-preferences { width: calc(100vw - 32px); } }

/* ---- category strip under the hero ---- */
.vg-cat-strip { padding-block: 18px 4px; }
.vg-cat-strip h2 { margin: 0 0 10px; color: var(--vg-heading); font-size: 20px; font-weight: 700; }
.vg-cat-strip-wrap { position: relative; }
.vg-cat-strip-track { display: flex; gap: 10px; margin: 0; padding: 2px 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; }
.vg-cat-strip-track::-webkit-scrollbar { display: none; }
.vg-cat-strip-track li { flex: 0 0 auto; scroll-snap-align: start; }
.vg-cat-strip-track a { display: flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid #d4dccb; border-radius: 999px; background: #fff; color: var(--vg-ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 140ms, border-color 140ms; }
.vg-cat-strip-track a:hover { border-color: var(--vg-green); background: var(--vg-selected-surface); }
.vg-cat-strip-track a:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
.vg-cat-strip-arrow { position: absolute; top: 2px; z-index: 2; width: 44px; height: 44px; border: 1px solid #d4dccb; border-radius: 50%; background: #fff; color: var(--vg-heading); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(41, 77, 40, .15); }
.vg-cat-strip-arrow[hidden] { display: none; }
.vg-cat-strip-arrow[data-dir="-1"] { inset-inline-start: -8px; }
.vg-cat-strip-arrow[data-dir="1"] { inset-inline-end: -8px; }
[dir=rtl] .vg-cat-strip-arrow { transform: scaleX(-1); }
@media (max-width: 600px) { .vg-cat-strip-arrow { display: none; } .vg-cat-strip-track { margin-inline-end: -16px; padding-inline-end: 16px; } }

/* ---- mobile hero: shorter, so the next section shows earlier ---- */
@media (max-width: 600px) {
    .vg-home-stage { height: 372px; }
    .vg-home-slide { gap: 8px; padding-block: 8px; }
    .vg-home-art { width: min(100%, 220px); }
    .vg-home-copy h1, .vg-home-copy h2 { margin-bottom: 8px; font-size: 24px; }
    .vg-home-copy .vg-home-intro { margin-bottom: 10px; }
    .vg-home-copy .vg-home-eyebrow { margin: 0 0 4px; }
}

/* ---- mobile menu: compact sign-in row opens a separate screen ---- */
.vg-shell-auth-back { display: none; }
.vg-shell-mobile-nav .vg-shell-auth[data-signed-in="0"][open] > .vg-shell-auth-panel { position: fixed; inset: 0; z-index: 10000; overflow-y: auto; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); background: #fff; color: var(--vg-ink); animation: vg-added-in-rtl 180ms ease-out; }
.vg-shell-mobile-nav .vg-shell-auth[data-signed-in="0"] .vg-shell-auth-back { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 12px; padding: 0 4px; border: 0; background: none; color: var(--vg-link); font: inherit; font-weight: 700; cursor: pointer; }
.vg-shell-mobile-nav .vg-shell-auth[data-signed-in="0"] .vg-shell-auth-back:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
[dir=rtl] .vg-shell-auth-back { direction: rtl; }
@media (prefers-reduced-motion: reduce) { .vg-shell-mobile-nav .vg-shell-auth[open] > .vg-shell-auth-panel { animation: none; } }

/* ---- category banner: compact, art on the right, no fixed height ---- */
.vg-cat-hero:not(.is-compact) .vg-cat-hero-inner, .vg-cat-hero:not(.is-compact) .vg-cat-hero-inner.has-art { min-height: 0; padding-block: 0 24px; }
.vg-cat-hero:not(.is-compact) .vg-cat-hero-inner.has-art { grid-template-columns: minmax(0, 1fr) minmax(140px, 220px); grid-template-areas: "crumbs art" "title art" "desc art"; grid-template-rows: auto auto 1fr; column-gap: 32px; }
.vg-cat-hero:not(.is-compact) .vg-cat-title { align-self: start; margin-bottom: 10px; font-size: clamp(28px, 2vw, 40px); }
.vg-cat-hero:not(.is-compact) .vg-cat-desc { max-width: 760px; font-size: 16px; }
.vg-cat-hero:not(.is-compact) .vg-cat-desc-text, .vg-cat-hero:not(.is-compact) .vg-cat-hero-inner.has-art .vg-cat-desc-text { max-height: calc(1.6em * 3); }
.vg-cat-hero:not(.is-compact) .vg-cat-hero-art { grid-row: 1 / -1; align-self: center; position: relative; min-height: 0; padding: 12px 0 0; }
.vg-cat-hero:not(.is-compact) .vg-cat-hero-art img { max-height: 150px; width: auto; max-width: 100%; margin-inline: auto; }
@media (max-width: 600px) {
    .vg-cat-hero:not(.is-compact) .vg-cat-hero-inner, .vg-cat-hero:not(.is-compact) .vg-cat-hero-inner.has-art { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumbs" "title" "desc"; grid-template-rows: auto; padding-block: 0 16px; }
    .vg-cat-hero:not(.is-compact) .vg-cat-hero-art { display: none; }
    .vg-cat-hero:not(.is-compact) .vg-cat-title { margin-bottom: 8px; font-size: 24px; }
    .vg-cat-hero:not(.is-compact) .vg-cat-desc { font-size: 15px; }
    .vg-cat-hero:not(.is-compact) .vg-cat-desc-text, .vg-cat-hero:not(.is-compact) .vg-cat-hero-inner.has-art .vg-cat-desc-text { max-height: calc(1.6em * 2); }
}

/* ---- catalog filters ---- */
.vg-cat-side .vg-multi-panel ul { max-height: 272px; overflow-y: auto; overscroll-behavior: contain; }
.vg-multi.has-value .vg-multi-trigger { flex: 1 1 70px; min-width: 28px; padding: 0 26px 0 0; background-position: right 2px center; font-weight: 700; }
[dir=rtl] .vg-multi.has-value .vg-multi-trigger { padding: 0 0 0 26px; background-position: left 2px center; }
.vg-multi-reset { display: inline-flex; align-items: center; gap: 4px; width: auto; height: 28px; padding: 0 10px; border-radius: 14px; font-size: 13px; font-weight: 600; }
.vg-multi-reset[hidden] { display: none; }
.vg-multi-sheet-head, .vg-multi-sheet-foot { display: none; }
.vg-cat-empty-reset { margin-inline-start: 8px; padding: 6px 14px; border: 1px solid var(--vg-green); border-radius: 8px; background: #fff; color: var(--vg-link); font: inherit; font-weight: 700; cursor: pointer; }
.vg-cat-empty-reset[hidden] { display: none; }
.vg-cat-grid { scroll-margin-top: 110px; }
@media (max-width: 900px) {
    html.vg-sheet-open { overflow: hidden; }
    .vg-cat-brands-mobile .vg-multi.is-open .vg-multi-panel { position: fixed; inset: auto 0 0 0; z-index: 10000; display: flex; flex-direction: column; max-height: 85dvh; margin: 0; border: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px rgba(41, 77, 40, .3); animation: vg-added-up 200ms ease-out; }
    .vg-cat-brands-mobile .vg-multi.is-open .vg-multi-panel::before { content: ''; position: fixed; inset: 0; z-index: -1; background: rgba(48, 56, 48, .4); }
    .vg-cat-brands-mobile .vg-multi-panel ul { flex: 1 1 auto; max-height: none; min-height: 0; }
    .vg-cat-brands-mobile .vg-multi-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; color: var(--vg-heading); font-size: 18px; }
    .vg-cat-brands-mobile .vg-multi-sheet-head button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f3ef; color: var(--vg-ink); font-size: 22px; cursor: pointer; }
    .vg-cat-brands-mobile .vg-multi-sheet-foot { display: block; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #e1e8db; background: #fff; }
    .vg-multi-sheet-apply { width: 100%; min-height: 48px; border: 0; border-radius: 8px; background: var(--vg-green); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
    .vg-multi-find { font-size: 16px; }
    /* The dim layer (::before, z-index -1) paints over the panel's own background, so the sheet's parts carry the white themselves. */
    .vg-cat-brands-mobile .vg-multi-panel > :not(.vg-multi-sheet-foot) { background: #fff; }
}
@media (prefers-reduced-motion: reduce) { .vg-cat-brands-mobile .vg-multi.is-open .vg-multi-panel { animation: none; } }

/* ---- product page ---- */
.vg-pdp-top { column-gap: 40px; row-gap: 4px; }
.vg-pdp-meta { margin: 10px 0 14px; padding: 10px 0; }
.vg-pdp-rating a { color: var(--vg-link); font-weight: 600; text-decoration: underline; }
.vg-pdp-rating .vg-rating-stars, .vg-pdp-rating [class*=stars] { font-size: 17px; }
.vg-pdp-anchors { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; padding-bottom: 10px; border-bottom: 1px solid #e1e8db; }
.vg-pdp-anchors a { padding: 6px 0; color: var(--vg-link); font-weight: 700; text-decoration: none; }
.vg-pdp-anchors a:hover { text-decoration: underline; }
.vg-pdp-anchors a:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
.vg-pdp-columns { display: block; max-width: 780px; margin: 20px 0 0; }
.vg-pdp-columns::before { display: none; }
.vg-pdp-columns > section { scroll-margin-top: calc(var(--vg-shell-height, 140px) + 16px); }
.vg-pdp-columns > .vg-pdp-reviews { margin-top: 40px; padding-top: 28px; border-top: 1px solid #e1e8db; }
.vg-pdp-columns > .vg-pdp-description { order: 0; }
.vg-pdp-no-reviews { margin: 0 0 12px; color: var(--vg-muted); }
@media (max-width: 900px) {
    .vg-pdp-top { row-gap: 10px; }
    .vg-pdp-zoom { max-width: 300px; }
    .vg-pdp-columns { margin-top: 14px; }
    /* purchase bar: price + Add to Cart stick under the header once the main button is out of view (top and visibility as on desktop) */
    .vg-pdp-bar { padding-inline: 0; }
    .vg-pdp-bar img { display: none; }
    .vg-pdp-bar-inner { gap: 10px; padding-block: 8px; }
    /* the name takes the free width and is cut with an ellipsis; the price and the button keep their size */
    .vg-pdp-bar-title { display: block; flex: 1 1 0; min-width: 0; font-size: 14px; }
    .vg-pdp-bar .vg-pdp-bar-add { flex: none; max-width: none; min-height: 42px; padding: 8px 14px; }
    .vg-pdp-bar-price { flex: none; font-size: 17px; }
    body:has(input:focus, textarea:focus) .vg-pdp-bar { display: none; }
}

/* ---- checkout uses the same site header as every page (VG-036) ---- */
.vg-shell-search-toggle { display: none; }

/* ---- checkout: progress, summary, sign-in alternative ---- */
/* A completed step's summary (name, address, ...) wraps inside the card instead of stretching the grid and the page. */
.vg-co-steps { grid-template-columns: minmax(0, 1fr); }
.vg-co-step, .vg-co-summary, .vg-co-main { min-width: 0; }
.vg-co-toggle { min-width: 0; }
.vg-co-choice span { min-width: 0; overflow-wrap: anywhere; }
.vg-co-marker, .vg-co-title, .vg-co-edit { flex: 0 0 auto; min-width: max-content; }
.vg-co-done { flex: 1 1 0; min-width: 0; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
@media (max-width: 600px) {
  /* Name and "Edit" keep their own width; the summary of a completed step takes a full second line under them. */
  .vg-co-toggle { flex-wrap: wrap; row-gap: 4px; }
  .vg-co-title { flex: 1 1 auto; }
  .vg-co-done { flex: 1 1 100%; order: 3; }
  .vg-co-edit { order: 2; }
}
.vg-co-step { transition: none; }
.vg-co-choice:has(input:checked) { background: var(--vg-selected-surface); border-color: var(--vg-green); }
.vg-co-alt { margin-bottom: 18px; border: 1px solid #d4dccb; border-radius: 10px; background: #fff; }
.vg-co-alt > summary { padding: 12px 16px; color: var(--vg-link); font-weight: 700; cursor: pointer; }
.vg-co-alt > summary:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
.vg-co-alt-body { padding: 4px 16px 16px; }
.vg-co-line-controls { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.vg-co-line-controls button { min-width: 36px; min-height: 36px; padding: 0 10px; border: 1px solid var(--vg-field-border); border-radius: 8px; background: #fff; color: var(--vg-ink); font: inherit; font-weight: 700; cursor: pointer; }
.vg-co-line-controls button:disabled { background: var(--vg-field-disabled); cursor: not-allowed; opacity: .6; }
.vg-co-line-controls button:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
.vg-co-line-controls .vg-co-line-remove { margin-inline-start: auto; border: 0; background: none; color: var(--vg-link); font-weight: 600; text-decoration: underline; }
.vg-co-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
.vg-co-line-error { margin: 8px 0 0; color: var(--vg-error); font-size: 14px; }
.vg-co-shipping-pending { color: var(--vg-muted); font-size: 14px; }
.vg-co-summary-toggle { display: none; }
.vg-co-empty { margin: 16px 0; color: var(--vg-muted); font-size: 17px; }
@media (max-width: 900px) {
    .vg-co-layout { display: flex; flex-direction: column; align-items: center; }
    .vg-co-summary { order: -1; margin-bottom: 14px; }
    .vg-co-summary-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid #d4dccb; border-radius: 10px; background: #fff; color: var(--vg-heading); font: inherit; font-weight: 700; cursor: pointer; }
    .vg-co-summary:not(.is-open) .vg-co-summary-body { display: none; }
    .vg-co-summary.is-open .vg-co-summary-body { margin-top: 10px; }
    .vg-co-summary { width: 100%; padding: 20px; }
    .vg-co-summary-toggle { gap: 12px; }
    .vg-co-summary-toggle > span { flex: 1 1 auto; text-align: start; }
    .vg-co-summary-toggle > strong { flex: none; }
    /* chevron: shows that the summary opens; turns up when open */
    .vg-co-summary-toggle::after { content: ""; flex: none; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
    .vg-co-summary-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
    .vg-co-summary-toggle:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
}

/* ---- field errors: short text right under the field (no floating box over neighbours) ---- */
.vg-fe { position: static; z-index: auto; display: block; margin: 6px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--vg-error); font-size: 14px; font-weight: 500; line-height: 1.4; }
.vg-fe::before { display: none; }
.vg-fe-close { display: none; }
.vg-fe-host { position: static; }
.vg-fe > span { display: block; }
/* A message makes its own cell taller: the neighbour in the same row keeps its place and size (the label does not stretch), and a hint line stays under the message. */
.vg-co-fields > label { align-content: start; }
/* The country list is a hidden select with a flag picker: the picker shows the error border. */
select.has-error[aria-invalid] + .vg-flagpick .vg-flagpick-button { border-color: var(--vg-error); }
.vg-page input.has-error[aria-invalid], .vg-page select.has-error[aria-invalid], .vg-page textarea.has-error[aria-invalid], input.has-error[aria-invalid], select.has-error[aria-invalid], textarea.has-error[aria-invalid] { border-color: var(--vg-error); box-shadow: none; }

/* ---- search results ---- */
.vg-search { padding-top: 16px; }
.vg-search-tablist { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid #d9dfd3; overflow-x: auto; scrollbar-width: none; }
.vg-search-tablist::-webkit-scrollbar { display: none; }
.vg-search-tablist [role=tab] { flex: 0 0 auto; min-height: 48px; padding: 8px 18px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--vg-muted); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.vg-search-tablist [role=tab][aria-selected=true] { border-bottom-color: var(--vg-green); color: var(--vg-heading); }
/* Phones: all tabs fit the width (no cut-off "Brands"); a long label wraps to two lines instead of scrolling. */
@media (max-width: 600px) {
    .vg-search-tablist { gap: 0; overflow-x: visible; }
    .vg-search-tablist [role=tab] { flex: 1 1 0; min-width: 0; padding: 8px 4px; font-size: 14px; line-height: 1.25; white-space: normal; text-align: center; }
}
.vg-search-tablist [role=tab]:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: -3px; }
.vg-search-panel[hidden] { display: none; }
.vg-search-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.vg-page .vg-search-list { padding-inline-start: 0; }
.vg-search-list a { display: block; padding: 6px 14px; line-height: 1.35; border: 1px solid var(--vg-c-8bcf55); border-radius: 10px; background: var(--vg-white, #fff); color: var(--vg-ink); text-decoration: none; }
.vg-search-list a:hover { background: var(--vg-selected-surface); color: var(--vg-link); }
.vg-search-list a:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
.vg-search-none { margin: 0 0 12px; color: var(--vg-muted); }
.vg-product-snippet { -webkit-line-clamp: 2; line-clamp: 2; }


/* ---- account: orders as cards on phones ---- */
.vg-acct-table-wrap { overflow-x: visible; }
@media (max-width: 700px) {
    .vg-acct-table, .vg-acct-table tbody, .vg-acct-table tr, .vg-acct-table td { display: block; width: 100%; }
    .vg-acct-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .vg-acct-table tr { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #d4dccb; border-radius: 10px; background: #fff; }
    .vg-acct-table td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: end; overflow-wrap: anywhere; }
    .vg-acct-table td[data-label]::before { content: attr(data-label); flex: 0 0 auto; color: var(--vg-muted); font-weight: 600; text-align: start; }
    .vg-acct-table td.vg-acct-view { justify-content: flex-end; padding-top: 8px; }
    .vg-acct-table td.vg-acct-view a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--vg-green); border-radius: 8px; color: var(--vg-link); font-weight: 700; text-decoration: none; }
    .vg-acct-table address { margin: 0; font-style: normal; }
}
/* Review (step 4): a long label or comment never takes the answer's column. The label column is at most 40% and wraps; on a phone label and value stack. */
.vg-co-review dl { grid-template-columns: fit-content(40%) minmax(0, 1fr); }
.vg-co-review dt, .vg-co-review dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .vg-co-review dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vg-co-review dt { margin-bottom: 3px; }
  .vg-co-review dd { margin-bottom: 14px; }
}
/* Country list with flags (home-shell.js builds it from the select, which stays hidden as V1's value). */
.vg-flagpick { position: relative; margin: 0 0 20px; }
.vg-flagpick-button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--vg-c-8bcf55); border-radius: 8px; background: var(--vg-white); color: var(--vg-ink); font: inherit; font-size: 16px; text-align: start; cursor: pointer; }
.vg-flagpick-button::after { content: ""; margin-inline-start: auto; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.vg-flagpick-button:hover { border-color: var(--vg-field-border-hover); }
.vg-flagpick-button:focus-visible { border-color: var(--vg-field-focus); box-shadow: 0 0 0 3px rgba(71, 117, 16, .28); outline: none; }
.vg-flagpick-list { position: absolute; z-index: 5; inset-inline: 0; top: calc(100% + 4px); max-height: 260px; margin: 0; padding: 4px; overflow-y: auto; border: 1px solid var(--vg-field-border); border-radius: 8px; background: var(--vg-white); box-shadow: 0 8px 24px rgba(0, 0, 0, .14); list-style: none; }
.vg-flagpick-list:focus-visible { outline: none; border-color: var(--vg-field-focus); box-shadow: 0 0 0 3px rgba(71, 117, 16, .28); }
.vg-flagpick-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: var(--vg-ink); cursor: pointer; }
.vg-flagpick-list li.is-active { background: var(--vg-selected-surface); }
.vg-flagpick-list li[aria-selected="true"] { font-weight: 700; }
.vg-flagpick .flag, .vg-flagpick-blank { flex: 0 0 18px; width: 18px; height: 12px; }
#vg-home-preferences .vg-shell-dialog-fields select[hidden] { display: none; }
/* Order summary: pale green panel and a small picture of every product. */
.vg-co-summary { background: var(--vg-surface-soft); }
.vg-co-lines li { grid-template-columns: 56px minmax(0, 1fr) auto; align-items: start; }
.vg-co-thumb { display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border-radius: 8px; background: #fff; }
.vg-co-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vg-co-line-controls { grid-column: 2 / -1; }

.vg-flagpick-button.is-placeholder { color: var(--vg-muted); }
.vg-flagpick-error { margin: -12px 0 16px; color: var(--vg-error); font-size: 14px; }
/* VG-097: the delivery country of a guest in the regional settings: same box as the country picker, read-only, with the reason under it. */
.vg-flagpick-static { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin: 0 0 8px; padding: 10px 14px; border: 1px solid var(--vg-c-8bcf55); border-radius: 8px; background: var(--vg-field-disabled); color: var(--vg-ink); font-size: 16px; cursor: default; }
.vg-flagpick-static .flag, .vg-flagpick-static img { flex: 0 0 18px; width: 18px; height: 12px; }
.vg-flagpick-note { margin: 0 0 20px; color: var(--vg-muted); font-size: 14px; line-height: 1.45; }
.vg-flagpick-actions { margin: -12px 0 20px; }
.vg-flagpick-guest strong { color: var(--vg-ink); overflow-wrap: anywhere; }
.vg-btn-small { min-height: 36px; padding: 6px 14px; border: 1px solid var(--vg-c-8bcf55); border-radius: 8px; background: var(--vg-white); color: var(--vg-green-dark); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.vg-btn-small:hover:not(:disabled) { background: var(--vg-surface-soft); }
.vg-btn-small:disabled { opacity: .65; cursor: progress; }
.vg-co-signedin .vg-btn-small { margin-inline-start: 8px; }
.vg-co-summary .vg-co-lines { padding: 0; }
.vg-co-name { align-self: start; margin: 0; color: var(--vg-ink); font-size: 15px; line-height: 20px; text-decoration: none; overflow-wrap: anywhere; }
a.vg-co-name:hover { color: var(--vg-link); text-decoration: underline; }
.vg-co-price { line-height: 20px; }
.vg-co-thumb { text-decoration: none; }
.vg-co-totals dt.ot_subtotal, .vg-co-totals dd.ot_subtotal { padding-top: 10px; border-top: 1px solid #d4dccb; color: var(--vg-heading); font-weight: 700; }
/* Shipping calculator title band: the same space above and below the title (the h2 had its own margins and tall line). */
.vg-est-dialog .vg-shell-dialog-heading { padding: 14px 20px; }
.vg-est-dialog .vg-shell-dialog-heading h2 { margin: 0; padding: 0; line-height: 1.3; }
/* "Have an account? Sign in": one plain sign-in form like the header sign-in, and a link to create an account instead of the accordion. */
.vg-co-alt-body { padding: 16px 18px 18px; }
.vg-co-signin-title { margin: .6em 0; color: var(--vg-heading); font-size: 1.1rem; font-weight: 700; }
.vg-page h3.vg-co-signin-title { margin: .6em 0; } /* the page rule for h3 (.vg-page h3) is stronger than the class alone */
.vg-co-alt-body .vg-co-block { display: flex; width: 100%; justify-content: center; }
.vg-co-alt-body .vg-co-opt-link { display: inline-block; margin-top: 12px; }
.vg-co-signin-new { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e3ebdd; }
.vg-co-signin-new p { margin: 0; color: var(--vg-muted); font-size: 14px; }
.vg-co-us-notice { margin: 16px 0 0; padding: 12px 14px; border: 1px solid #ecdca4; border-radius: 8px; background: #fdf8e6; color: #7a5f1c; font-size: 14px; line-height: 1.5; }
.vg-co-us-notice summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; font-weight: 700; list-style: none; }
.vg-co-us-notice summary::-webkit-details-marker { display: none; }
.vg-co-us-notice summary::after { content: ""; flex: none; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.vg-co-us-notice[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.vg-co-us-notice summary:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 3px; border-radius: 4px; }
.vg-co-us-notice p { margin: 8px 0 0; font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .vg-co-us-notice summary::after { transition: none; } }

/* Footer stays at the bottom of the window on short pages (empty bag, 404, thin content). */
body.vg2 { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.vg2 > #contentWrapper { flex: 1 0 auto; }
body.vg2 > .vg-shell-footer { margin-top: auto; flex: 0 0 auto; }
a.vg-co-button { display: inline-flex; align-items: center; justify-content: center; color: var(--vg-white); text-decoration: none; }
a.vg-co-button:hover, a.vg-co-button:focus-visible { color: var(--vg-white); text-decoration: none; }

/* Product gallery: the main picture sits in a square frame. */
.vg-pdp-zoom { display: flex; width: 100%; max-width: 460px; min-height: 0; aspect-ratio: 1 / 1; margin-inline: 0; padding: 100px; }
.vg-pdp-zoom img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.vg-pdp-thumbs { justify-content: flex-start; }
@media (max-width: 900px) { .vg-pdp-zoom { max-width: 360px; margin-inline: auto; } .vg-pdp-thumbs { justify-content: center; } }
/* Product rating: the stars take their own width (no reserved min-width), so the label sits right next to them. */
.vg-pdp-rating { gap: 6px; }
.vg-pdp-rating .vg-rating-stars { min-width: 0; }
/* Lightbox: a small grey Close button under the picture. */
.vg-pdp-lightbox[open] { flex-direction: column; gap: 14px; }
.vg-pdp-lightbox img { flex: 1 1 auto; min-height: 0; }
.vg-pdp-lightbox .vg-pdp-lightbox-done { position: static; flex: none; display: inline-flex; width: auto; height: auto; min-height: 36px; padding: 6px 22px; border-radius: 8px; background: #e6e8e3; color: #3f453a; font: inherit; font-size: 15px; font-weight: 600; }
.vg-pdp-lightbox .vg-pdp-lightbox-done:hover { background: #d8dbd3; }
/* Order success: space above the thank-you line, in the brand green. */
.vg-success .vg-success-thanks { margin: 36px 0 12px; color: var(--vg-green); }
/* Product page, phone: the product name is already the heading below, so the trail ends with its category, shown in full (wraps instead of "Orga..."). */
@media (max-width: 900px) {
    .vg-pdp-crumbs .vg-cat-crumbs li:last-child { display: none; }
    .vg-pdp-crumbs .vg-cat-crumbs ol { flex-wrap: wrap; row-gap: 4px; }
    .vg-pdp-crumbs .vg-cat-crumbs li > a, .vg-pdp-crumbs .vg-cat-crumbs li > span { display: inline; overflow: visible; text-overflow: clip; white-space: normal; }
}
/* Phone: tighter breadcrumb spacing. */
@media (max-width: 900px) {
    .vg-cat-crumbs, .vg-page-crumbs .vg-cat-crumbs, .vg-pdp-crumbs .vg-cat-crumbs, .vg-page-head-wide .vg-cat-crumbs { padding-block: 16px 11px; }
}
/* Product page, phone: tighter space around the price block. */
@media (max-width: 900px) {
    .vg-pdp-pricebox { margin: 16px 0; }
}
/* Required mark: the asterisk follows the field name (it used to sit in the far corner of the label). */
.vg-co-fields label:has([required])::after { content: none; }
/* Every form: a required field (required / aria-required) is marked with a red asterisk after its name; the contact form prints the same mark itself (.vg-req). */
.vg-page label:has(:is([required], [aria-required="true"])) > span:first-child::after, .vg-shell label:has(:is([required], [aria-required="true"])) > span:first-child::after, .vg-shell-dialog label:has(:is([required], [aria-required="true"])) > span:first-child::after { content: " *"; color: #c0392b; font-weight: 700; }
.vg-req { color: #c0392b; font-weight: 700; }
/* Country list with flags inside a form field. */
label > .vg-flagpick { margin: 0; }
/* Category strip: draggable with the mouse (cards.js); snapping is off while dragging so the row follows the pointer. */
@media (hover: hover) { .vg-cat-strip-track { cursor: grab; } }
.vg-cat-strip-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.vg-cat-strip-track.is-dragging a { pointer-events: none; }
/* Category strip heading: the size of the other section headings on the home page (.vg-rail-heading h2: 30px, 26px on phones). */
.vg-cat-strip h2, .vg-home-about .vg-cat-strip h2 { margin: 0 0 14px; color: var(--vg-text); font-size: 30px; line-height: 1.3; letter-spacing: -.4px; }
@media (max-width: 900px) { .vg-cat-strip h2, .vg-home-about .vg-cat-strip h2 { font-size: 26px; } }
/* Footer: the same preferences button as in the header (country, currency, language) instead of the language links. */
.vg-shell-footer-prefs { display: flex; justify-content: center; margin-top: 4px; }
.vg-shell-footer .vg-shell-preferences { display: inline-flex; height: auto; min-height: 44px; padding: 10px 16px; gap: 8px; font-size: 15px; border: 1px solid var(--vg-green-dark); margin: 4px 0 8px; background: transparent; }
.vg-shell-footer .vg-shell-preferences svg { display: inline-block; width: 13px; height: 13px; }
/* Footer links: underlined (the colour comes from the footer). */
.vg-shell-footer a, .vg-shell-footer a:hover, .vg-shell-footer a:focus-visible { text-decoration: underline; }
/* Search results: five products per row (three on a narrow desktop, two on tablets and phones as in the catalogue). */
@media (min-width: 901px) {
    .vg-search .vg-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1101px) {
    .vg-search .vg-cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* Brand list: «Show products» beside the "Selected N" counter once several brands are chosen. */
.vg-multi-show { flex: none; min-height: 32px; padding: 4px 14px; border: 0; border-radius: 999px; background: var(--vg-green); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.vg-multi-show[hidden] { display: none; }
.vg-multi-show:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
/* Brand list: "Selected N" stays on one line; the reset is a single round × (no text). */
.vg-multi-trigger, .vg-multi.has-value .vg-multi-trigger { flex: 1 1 auto; white-space: nowrap; text-align: start; }
.vg-multi-reset { justify-content: center; width: 28px; padding: 0; border-radius: 50%; font-size: 18px; line-height: 1; }
.vg-multi-reset .vg-multi-reset-text { display: none; }
/* The × of the reset is drawn with two bars, so it sits exactly in the middle of the circle (the text glyph sits low). */
.vg-multi-reset { position: relative; }
.vg-multi-reset > span[aria-hidden] { display: none; }
.vg-multi-reset::before, .vg-multi-reset::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.vg-multi-reset::after { transform: rotate(-45deg); }
/* Product count with the chosen brands beside it. */
.vg-cat-info { min-width: 0; }
.vg-cat-picked { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 0; color: var(--vg-muted); font-size: 14px; line-height: 1.4; }
.vg-cat-picked-label { flex: none; }
.vg-cat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vg-cat-chips li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 4px 3px 12px; border: 1px solid #d4dccb; border-radius: 999px; background: var(--vg-selected-surface); color: var(--vg-heading); font-weight: 600; }
.vg-cat-chips li > span { min-width: 0; overflow-wrap: anywhere; }
.vg-cat-chips button { position: relative; flex: none; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--vg-green-dark); cursor: pointer; }
.vg-cat-chips button:hover { background: #e1efc9; }
.vg-cat-chips button:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 1px; }
.vg-cat-chips button::before, .vg-cat-chips button::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.vg-cat-chips button::after { transform: rotate(-45deg); }
/* Sort stays on the right even when the list of chosen brands is long: the left block shrinks and wraps, the tools do not. */
@media (min-width: 901px) {
    .vg-cat-bar { flex-wrap: nowrap; align-items: flex-start; }
    .vg-cat-info { flex: 1 1 0; }
    .vg-cat-tools { flex: none; margin-inline-start: auto; }
}
.vg-cat-picked[hidden] { display: none; }
/* Every heading (h1-h6) of the page content and of the windows uses the title green; the home slider keeps the colours of its slides. */
#contentWrapper :is(h1, h2, h3, h4, h5, h6):not(.vg-home-copy *),
.vg-shell-dialog :is(h1, h2, h3, h4, h5, h6) { color: var(--vg-title-green); }
/* Phone: a compact picture so the price and "Add to cart" are on the first screen. */
@media (max-width: 900px) { .vg-pdp-zoom { max-width: 220px; padding: 24px; } }
/* Phone: the subcategory list opens at the width of its field, edge to edge. */
@media (max-width: 900px) { .vg-cat-subdrop nav { inset-inline: 0; width: auto; box-sizing: border-box; } }
/* Brands page search: the field is the label's frame; the input inside carries no frame of its own (beats the legacy page input rule). */
.vg-legacy-route .vg-page .vg-brands-search input[type=search], .vg-brands-search input[type=search] { border: 0; border-radius: 0; background: transparent; box-shadow: none; min-height: 0; height: 46px; padding: 0 10px; }
/* Phone: the discount badge sits 10px out of the card corner (14px on larger screens). */
@media (max-width: 900px) {
    .vg-product-discount { top: -10px; right: -10px; }
    [dir=rtl] .vg-product-discount { right: auto; left: -10px; }
}

/* Quantity control shared by the product page, the bag window and the checkout summary (common/home/qty-stepper.php, jscript/qty.js).
   The inner parts are reset with !important so that no page's own button/input rules (checkout lines, forms) change how it looks. */
.vg-qty { display: inline-flex; align-items: center; justify-content: space-between; min-width: 118px; height: 48px; border: 1px solid #d8e0ce; border-radius: 10px; background: #fff; overflow: hidden; }
.vg-qty button { flex: none; width: 36px !important; height: 100% !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--vg-ink); font: inherit; font-size: 20px; font-weight: 400; line-height: 1; cursor: pointer; }
.vg-qty button:hover:not(:disabled) { background: var(--vg-c-f1f7e8, #f3f7ed) !important; }
.vg-qty button:disabled { opacity: .4; cursor: default; }
.vg-qty input { flex: 1 1 auto; width: 40px !important; min-width: 0 !important; height: 100% !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--vg-text); font: inherit; font-size: 17px; font-weight: 700; text-align: center; }
.vg-qty:focus-within { border-color: var(--vg-c-8bcf55, #8bcf55); box-shadow: 0 0 0 3px var(--vg-c-73b21515, rgba(115, 178, 21, .08)); }
.vg-qty input:focus, .vg-qty input:focus-visible, .vg-qty button:focus-visible { outline: 0; }
.vg-qty button:focus-visible { background: var(--vg-c-e1efc9, #e1efc9) !important; }

/* Mini-cart window: the heading with the close button and the actions stay in view; only the list of products scrolls. */
.vg-cart-dialog { padding: 0; }
.vg-cart-dialog[open] { display: flex; flex-direction: column; max-height: min(88dvh, 820px); overflow: hidden; }
.vg-cart-dialog .vg-shell-dialog-heading { flex: none; }
.vg-cart-dialog .vg-cart-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 0; }
.vg-cart-dialog .vg-cart-lines { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 25px; }
.vg-cart-dialog .vg-cart-empty { margin: 20px 25px; }
.vg-cart-dialog .vg-cart-footer { position: static; flex: none; margin: 0; padding: 14px 25px 22px; border-top: 1px solid var(--vg-c-e8ece5); background: var(--vg-white); }
.vg-cart-dialog .vg-cart-totals { margin-top: 0; }
.vg-cart-dialog .vg-cart-actions { margin-top: 14px; }
@media (max-width: 600px) { .vg-cart-dialog .vg-cart-lines { padding: 0 16px; } .vg-cart-dialog .vg-cart-footer { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); } .vg-cart-dialog .vg-cart-actions { flex-direction: column-reverse; align-items: stretch; } .vg-cart-dialog .vg-cart-actions > * { width: 100%; } }

/* Bag window heading: the same bag icon as in the header. */
.vg-cart-dialog .vg-shell-dialog-heading h2 { display: flex; align-items: center; gap: 10px; }
.vg-cart-dialog .vg-shell-dialog-heading h2 > svg { flex: none; width: 28px; height: 28px; color: var(--vg-green); }
/* The last line of the bag has no divider under it (the footer has its own line). */
.vg-cart-row:last-child { border-bottom: 0; }
/* Bag window heading in the brand green like every other heading (the older rule set it to the text colour). */
.vg-cart-dialog .vg-shell-dialog-heading h2 { color: var(--vg-title-green); }
/* Phone: the on-screen keyboard (opened by typing a quantity) covers part of the screen. home-commerce.js then gives the window the size and position of the
   visible part (is-keyboard); the footer is reduced to the total and "Proceed to checkout", and the list of products scrolls inside the window. */
@media (max-width: 900px) {
    .vg-cart-dialog.is-keyboard[open] { position: fixed; inset: var(--vg-vv-top, 0px) 0 auto 0; margin: 0 auto; height: auto; max-height: calc(var(--vg-vv-height, 100dvh) - 12px); overflow: hidden; }
    .vg-cart-dialog.is-keyboard .vg-cart-lines { flex: 1 1 auto; min-height: 90px; }
    /* The total and "Proceed to checkout" stay at the bottom (right under the prices) even while the keyboard is open; the rest of the footer steps aside. */
    .vg-cart-dialog.is-keyboard .vg-cart-footer { padding-block: 10px 12px; }
    .vg-cart-dialog.is-keyboard :is(.vg-cart-weight, .vg-cart-shipping-note, .vg-cart-warning, .vg-cart-secondary) { display: none; }
    .vg-cart-dialog.is-keyboard .vg-cart-actions { margin-top: 10px; }
}

/* Bag window: the note under the weight (delivery cost appears after a delivery method is chosen) and the link to the shipping calculator. */
.vg-cart-dialog .vg-cart-shipping-note { margin: 8px 0 0; color: var(--vg-muted); font-size: 14px; line-height: 1.5; }
.vg-cart-dialog .vg-cart-shipping-note a { color: var(--vg-link); font-weight: 600; text-decoration: underline; white-space: nowrap; }
/* "Proceed to checkout" sits at the end of the row, right under the prices, also when it is the only button (on the checkout page "Continue shopping" is not shown). */
.vg-cart-dialog .vg-cart-checkout { margin-inline-start: auto; }
@media (max-width: 600px) { .vg-cart-dialog .vg-cart-checkout { margin-inline-start: 0; } }

/* Shipping calculator: the open country list may reach below the window instead of being cut off or making the window scroll. */
.vg-est-dialog:has(.vg-flagpick-list:not([hidden])) { overflow: visible; }

/* ---- Windows (dialogs): one motion for every overlay ----
   Open and close fade and slide a little (the backdrop fades). A window that changes size (new content) changes it at once, without animation.
   Browsers without @starting-style / allow-discrete show and hide windows instantly. */
:is(dialog.vg-shell-dialog, dialog.vg-added-panel, dialog.vg-pdp-lightbox) {
    --vg-win-from: translateY(14px) scale(.98);
    opacity: 1; transform: none;
    transition: opacity .2s ease, transform .2s ease, overlay .2s allow-discrete, display .2s allow-discrete;
}
:is(dialog.vg-shell-dialog, dialog.vg-added-panel, dialog.vg-pdp-lightbox):not([open]) { opacity: 0; transform: var(--vg-win-from); }
@starting-style { :is(dialog.vg-shell-dialog, dialog.vg-added-panel, dialog.vg-pdp-lightbox)[open] { opacity: 0; transform: var(--vg-win-from); } }
:is(dialog.vg-shell-dialog, dialog.vg-added-panel, dialog.vg-pdp-lightbox)::backdrop { opacity: 0; transition: opacity .2s ease, overlay .2s allow-discrete, display .2s allow-discrete; }
:is(dialog.vg-shell-dialog, dialog.vg-added-panel, dialog.vg-pdp-lightbox)[open]::backdrop { opacity: 1; }
@starting-style { :is(dialog.vg-shell-dialog, dialog.vg-added-panel, dialog.vg-pdp-lightbox)[open]::backdrop { opacity: 0; } }
@media (max-width: 600px) { dialog.vg-added-panel { --vg-win-from: translateY(24px); } [dir=rtl] dialog.vg-added-panel { --vg-win-from: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { :is(dialog.vg-shell-dialog, dialog.vg-added-panel, dialog.vg-pdp-lightbox), :is(dialog.vg-shell-dialog, dialog.vg-added-panel, dialog.vg-pdp-lightbox)::backdrop { transition-duration: .01ms; } }
/* Slide-in keyframes still used by the mobile sign-in screen and the brands sheet (they are not dialogs). */
@keyframes vg-added-in-rtl { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vg-added-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Bag window, compact row: picture on the left; on the right the product name (regular weight), then quantity and price on one line. */
.vg-cart-dialog .vg-cart-row { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "image title title" "image controls price"; column-gap: 20px; row-gap: 6px; align-items: center; padding-block: 12px; }
.vg-cart-dialog .vg-cart-image { grid-area: image; width: 56px; height: 56px; align-self: start; }
.vg-cart-dialog .vg-cart-image img { width: 56px; height: 56px; }
.vg-cart-dialog .vg-cart-info { display: contents; }
.vg-cart-dialog .vg-cart-row h3 { grid-area: title; margin: 0; font-size: 15px; font-weight: 400; line-height: 1.35; }
.vg-cart-dialog .vg-cart-controls { grid-area: controls; flex-wrap: nowrap; gap: 4px; min-width: 0; }
.vg-cart-dialog .vg-cart-price { grid-area: price; font-size: 16px; text-align: end; }
.vg-cart-dialog .vg-cart-row .vg-qty { min-width: 88px; height: 34px; border-radius: 8px; }
.vg-cart-dialog .vg-cart-row .vg-qty button { width: 28px !important; font-size: 17px; }
.vg-cart-dialog .vg-cart-row .vg-qty input { width: 32px !important; font-size: 15px; }

/* VG-036 checkout V2: guest-first step 1, price-change notice, mobile summary */
.vg-co-auth .vg-co-block { display: flex; width: 100%; justify-content: center; }
.vg-co-or, .vg-page p.vg-co-or { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 2em 0; color: var(--vg-green-dark); font-size: 16px; font-weight: 700; text-align: center; }
.vg-co-or::before, .vg-co-or::after { content: ""; flex: 1; border-top: 1px solid #dce7d2; }
.vg-co-or span { padding: 0; }
.vg-co-auth .vg-co-opt-link { margin: 0 0 4px; }
.vg-co-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vg-co-auth .vg-co-switch { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 28px 0 0; color: var(--vg-muted); }
.vg-co-check { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0; font-size: 14px; }
.vg-co-check input { margin-top: 3px; }
@media (max-width: 480px) { .vg-co-social { grid-template-columns: 1fr; } .vg-co-auth .vg-co-switch { flex-direction: column; } }
/* Guest e-mail form on desktop: the e-mail field and the "Continue as Guest" button share one row (the hint stays under the field); narrow screens keep the stacked form. */
@media (min-width: 720px) {
    .vg-co-auth [data-co-mode="guest"] > .vg-co-form { grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; }
    .vg-co-auth [data-co-mode="guest"] > .vg-co-form > .vg-co-fields { grid-column: 1; grid-row: 1; }
    .vg-co-auth [data-co-mode="guest"] > .vg-co-form > .vg-co-fields label > span { line-height: 24px; }
    .vg-co-auth [data-co-mode="guest"] > .vg-co-form > .vg-co-button { grid-column: 2; grid-row: 1; align-self: start; margin-top: 28px; white-space: nowrap; }
    .vg-co-auth [data-co-mode="guest"] > .vg-co-form > .vg-co-captcha { grid-column: 1 / -1; grid-row: 2; }
    .vg-co-auth [data-co-mode="guest"] > .vg-co-form > .vg-co-errors { grid-column: 1 / -1; grid-row: 3; }
}
.vg-co-notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 10px 14px; border: 1px solid #FE7E00; border-inline-start-width: 5px; border-radius: 10px; background: #fff7ee; color: #20320E; font-weight: 600; }
.vg-co-notice p { margin: 0; }
.vg-co-notice-close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.vg-co-notice-close:hover, .vg-co-notice-close:focus-visible { background: #fe7e0026; }
/* Information window (CVV help): the shared dialog with a text body. */
.vg-info-body { display: grid; gap: 20px; padding: 20px 25px 26px; max-height: 70dvh; overflow-y: auto; line-height: 1.6; }
.vg-info-body img { display: block; max-width: 100%; height: auto; margin-top: 10px; }
/* Delivery methods (checkout): the name, an optional "how it works" link next to it and a short note under it. */
.vg-co-ship > span > small { display: block; margin-top: 2px; color: var(--vg-muted); font-size: 14px; font-weight: 400; line-height: 1.4; }
.vg-co-ship-link { margin-inline-start: 6px; font-size: 14px; white-space: nowrap; }
/* The PickUp window: the carrier logo centred at the top, the close button in the corner, plain paragraphs with a small gap. */
dialog.vg-pickup-dialog { background: #fff; } /* the logo is a picture on white */
.vg-pickup-head { position: relative; display: flex; justify-content: center; padding: 22px 56px 6px; }
.vg-pickup-head img { display: block; width: 154px; max-width: 100%; height: auto; }
.vg-pickup-head button { position: absolute; top: 10px; inset-inline-end: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--vg-ink); font-size: 26px; line-height: 1; cursor: pointer; }
.vg-pickup-head button:hover { background: var(--vg-c-eef7df); }
.vg-pickup-head button:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
.vg-pickup-body { gap: 10px; padding-top: 12px; font-weight: 400; }
.vg-page .vg-pickup-body p, .vg-pickup-body p { margin: 0; text-align: start; }
/* Card fields: the required mark follows the field name (the V1 asterisk after the field is removed in checkout-payment.php). */
.vg-co-payfield[data-field=cc_expires_month] > .vg-fe { flex: 0 0 100%; order: 10; margin-top: 2px; }
.vg-co-payfield.is-required > span:first-child::after { content: " *"; color: #c0392b; font-weight: 700; }
/* VG-099: a small light-blue round "?" badge in a field title that opens an explanation (the CVV window of the card). Shared: .vg-help-badge. */
.vg-help-badge { display: inline-grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; border: 1px solid #9cc9f5; border-radius: 50%; background: #dbeeff; color: #1a5fa8; font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none; cursor: help; }
.vg-help-badge:hover { background: #c4e1fb; border-color: #6fb0ec; text-decoration: none; }
.vg-help-badge:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
.vg-co-payfield > span:first-child:has(.vg-help-badge) { display: flex; align-items: center; gap: 6px; }
.vg-co-payfield > span:first-child:has(.vg-help-badge)::after { order: 1; }
.vg-co-payfield > span:first-child .vg-help-badge { order: 2; }
/* VG-098: card fields on a desktop: the number alone in the first row (half the width); expiry (month, year) and CVV in the second row, at their earlier widths; then installments, owner, ID number and phone. */
@media (min-width: 900px) {
    .vg-co-payfields { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 35px; }
    .vg-co-payfield { grid-column: span 4; align-content: start; min-width: 0; } /* titles and inputs of one row start on one line: an error message under one field (it makes the cell taller) must not push the neighbour down */
    .vg-co-payfield[data-field=cc_number] { grid-column: 1 / span 9; }
    .vg-co-payfield[data-field=cc_owner] { grid-column: 1 / span 4; } /* name and phone share one row, together as wide as the card number (9 columns) */
    .vg-co-payfield[data-field=cc_expires_month] { grid-column: 1 / span 4; } /* the second row under the card number: month and year, and the short CVV; together as wide as the number */
    .vg-co-payfield[data-field=cc_cvv], .vg-co-payfield[data-field=cc_installments] { grid-column: 5 / span 3; } /* right after the expiry (columns 1-4), no gap; the installments (home country) take the place of the CVV (other countries); wide enough for the title in one line */
    .vg-co-payfield[data-field=cc_cvv] > span:first-child, .vg-co-payfield[data-field=cc_installments] > span:first-child { white-space: nowrap; }
    .vg-co-payfield[data-field=cc_cvv] input, .vg-co-payfield[data-field=cc_installments] select { max-width: 160px; } /* the field itself stays small, the cell is wide for the title */
    .vg-co-payfield[data-field=cc_owner_id_number] { grid-column: 1 / span 6; }
    .vg-co-payfield[data-field=cc_telephone] { grid-column: span 5; }
    .vg-co-payfield[data-field=cc_owner] > span:first-child, .vg-co-payfield[data-field=cc_telephone] > span:first-child, .vg-co-payfield[data-field=cc_owner_id_number] > span:first-child { white-space: nowrap; } /* these long titles stay on one line */
    .vg-co-payfields .vg-co-paynote { grid-column: 1 / -1; }
}
/* The order summary stays in view while the steps are filled (below the sticky site header); a long list scrolls inside it. Desktop only. */
.vg-co-summary { position: sticky; top: calc(var(--vg-shell-height, 140px) + 12px); z-index: 5; max-height: calc(100dvh - var(--vg-shell-height, 140px) - 24px); overflow-y: auto; overscroll-behavior: contain; }
/* On a phone the summary is a normal block above the steps (not fixed). */
@media (max-width: 900px) {
    .vg-co-summary { position: static; max-height: none; overflow: visible; }
}

/* Checkout step 1 buttons behave like "Add to cart" (product card / product page): same colour change, same 1.02 grow, same easing, no extra shadow. */
.vg-co-button.vg-grow, .vg-shell-social.vg-grow { transition: background var(--vg-ease-card, .22s ease), transform var(--vg-ease-card, .22s ease), border-color var(--vg-ease-card, .22s ease); }
@media (hover: hover) {
    .vg-co-button.vg-grow:hover:not(:disabled), .vg-shell-social.vg-grow:hover { transform: scale(1.02); }
    .vg-shell-social.vg-grow:hover { background: var(--vg-c-eef7df); border-color: var(--vg-green); }
}
.vg-co-button.vg-grow:active, .vg-shell-social.vg-grow:active { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .vg-co-button.vg-grow, .vg-shell-social.vg-grow { transition: none; } }
.vg-co-link-strong { font-weight: 700; }

/* Checkout summary lines use the same layout as the lines in the cart window (VG-041): picture on the left, name on top, quantity + Remove below it, price at the end of the second row. */
.vg-co-lines li { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "thumb name name" "thumb controls price"; column-gap: 20px; row-gap: 6px; align-items: center; padding-block: 12px; }
.vg-co-lines .vg-co-thumb { grid-area: thumb; align-self: start; }
.vg-co-lines .vg-co-name { grid-area: name; font-size: 15px; font-weight: 400; line-height: 1.35; }
.vg-co-lines .vg-co-line-controls { grid-area: controls; grid-column: auto; display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; min-width: 0; margin-top: 0; }
.vg-co-lines .vg-co-price { grid-area: price; font-size: 16px; font-weight: 650; line-height: 1.35; text-align: end; }
.vg-co-lines .vg-qty { min-width: 88px; height: 34px; border-radius: 8px; }
.vg-co-lines .vg-qty button { width: 28px !important; min-width: 0; min-height: 0; font-size: 17px; }
.vg-co-lines .vg-qty input { width: 32px !important; font-size: 15px; }
.vg-co-lines .vg-co-line-controls .vg-co-line-remove { min-width: 0; min-height: 32px; margin-inline-start: 10px; padding: 0 4px; border: 0; background: transparent; color: var(--vg-text-muted); font-size: 13px; font-weight: 400; text-decoration: underline; }
/* Remove goes on its own line under the quantity, so a long price (e.g. "102,80 долл. США") never overlaps it. */
.vg-co-lines .vg-co-line-controls { flex-wrap: wrap; row-gap: 2px; }
.vg-co-lines .vg-co-line-controls .vg-co-line-remove { flex: 0 0 100%; justify-content: flex-start; margin-inline-start: 0; padding: 0; min-height: 24px; text-align: start; }
.vg-co-lines .vg-co-price { align-self: start; padding-top: 7px; }

/* VG-045: "View cart" link (with the cart icon) under the buttons of the "Added to cart" window; it closes the window and opens the cart window. */
.vg-added-viewcart { justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border: 0; background: none; color: var(--vg-link); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.vg-added-viewcart span { text-decoration: underline; }
.vg-added-viewcart:hover span { text-decoration: none; }
.vg-added-viewcart svg { flex: 0 0 auto; width: 20px; height: 20px; }

/* VG-050: short reason shown inside an address card (the primary address cannot be deleted). */
.vg-acct-card-note { margin: 10px 0 0; padding: 9px 12px; border: 1px solid #f1d49a; border-radius: 8px; background: #fff7e6; color: #6b4a00; font-size: 14px; line-height: 1.45; }
/* VG-050: the top "Primary Address" card of the address book has a light green background. */
.vg-acct-card.is-primary-top { background: var(--vg-c-f1f7e8); }

/* VG-055: "Change delivery address" in the preferences window is a secondary button (same look as the other secondary buttons), not a bare link. */
.vg-shell-address-button { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border: 1px solid var(--vg-field-border); border-radius: 8px; background: #fff; color: var(--vg-ink); font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.vg-shell-address-button:hover { border-color: var(--vg-field-border-hover); }

/* VG-056: saved delivery addresses on the checkout address page look like the address book cards; a radio chooses the delivery address. */
.vg-acct-pick { display: flex !important; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 400; }
.vg-acct-pick input[type=radio] { flex: 0 0 auto; width: 20px; height: 20px; margin: 3px 0 0; }
.vg-acct-pick > span { min-width: 0; }
.vg-acct-pick-name { display: block; margin-bottom: 4px; color: var(--vg-ink); }
.vg-acct-pick address { margin: 0; }
.vg-acct-card:has(.vg-acct-pick input:checked) { border-color: var(--vg-green); }

/* VG-059: a signed-in customer has no "Contact details" step: it is hidden, and one line above the steps says who is signed in. */
.vg-co-step[hidden] { display: none; }
.vg-co-signedin { margin: 0 0 14px; color: var(--vg-muted); font-size: 15px; }
.vg-co-signedin strong { color: var(--vg-ink); }

/* VG-063: the "Ship to / flag / currency / language / chevron" switch. LTR pages (en, ru): left to right. Hebrew: the whole switch runs right to left (label at the right edge, then the
   flag, the currency, the language, the chevron at the left edge) and the currency "USD ($)" and the language stay one left-to-right piece. */
[dir=rtl] .vg-shell-preferences { direction: rtl; }
.vg-shell-preferences bdi { direction: ltr; unicode-bidi: isolate; }
/* VG-063: the flag picture is scaled from its top-left corner, so its box must start at the left edge also on a right-to-left page (otherwise it is cut off). */
.vg-country-flag { direction: ltr; }

/* VG-067: in the phone menu "Categories" is the main entry: a lighter rounded bar with an arrow that turns when the list is open. */
.vg-shell-mobile-nav .vg-shell-category-menu > summary { justify-content: space-between; border-radius: 10px; background: var(--vg-c-ffffff30); }
.vg-shell-mobile-nav .vg-shell-category-menu > summary::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-inline-end: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); margin-inline: 8px 4px; transition: transform .2s; }
.vg-shell-mobile-nav .vg-shell-category-menu[open] > summary::after { transform: rotate(-135deg); }
/* VG-067: the account entry of the phone menu also opens (the greeting reveals My account / Sign out, or the sign-in form): it gets the same turning arrow as "Categories". */
.vg-shell-mobile-nav .vg-shell-auth > summary { justify-content: flex-start; }
.vg-shell-mobile-nav .vg-shell-auth > summary::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-inline: auto 4px; border-inline-end: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.vg-shell-mobile-nav .vg-shell-auth[open] > summary::after { transform: rotate(-135deg); }
/* VG-067: the mobile account bar and the "Categories" bar span the same width, so their arrows stand exactly one above the other. */
.vg-shell-mobile-nav .vg-shell-auth > summary { box-sizing: border-box; width: 100%; }
/* Desktop header: the greeting / sign-in entry opens a panel too, so it shows the same arrow. */
.vg-shell-desktop-nav .vg-shell-auth > summary::after { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-inline-start: 8px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.vg-shell-desktop-nav .vg-shell-auth[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }

/* VG-068: "My account" page: a greeting under the title, a calmer card look, orders with a status badge and a "View" pill, rows with an arrow instead of bare links. */
.vg-acct-home .vg-acct-lead { margin: -8px 0 22px; color: var(--vg-muted); font-size: 17px; }
.vg-acct-home .vg-acct-card { border-color: #e1e8db; box-shadow: 0 2px 14px rgba(32, 50, 14, .05); }
.vg-acct-home .vg-acct-card > h2, .vg-acct-home .vg-acct-head h2 { color: var(--vg-heading); font-size: 20px; }
.vg-acct-home .vg-acct-head { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #e1e8db; }
.vg-acct-home .vg-acct-head .vg-acct-button { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.vg-acct-home .vg-acct-table th { color: var(--vg-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vg-acct-home .vg-acct-table tbody tr:hover { background: var(--vg-c-f1f7e8); }
.vg-acct-home .vg-acct-table td { vertical-align: middle; }
.vg-acct-status { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--vg-c-eef7df); color: var(--vg-green-dark); font-size: 13px; font-weight: 700; white-space: nowrap; }
.vg-acct-home .vg-acct-view-link { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border: 1px solid var(--vg-green); border-radius: 999px; color: var(--vg-green-dark); font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.vg-acct-home .vg-acct-view-link:hover { background: var(--vg-green); color: #fff; }
.vg-acct-home .vg-acct-links a { justify-content: space-between; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.vg-acct-home .vg-acct-links a:hover { background: var(--vg-c-f1f7e8); text-decoration: none; }
.vg-acct-home .vg-acct-links a::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-inline-end: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: .55; }
[dir=rtl] .vg-acct-home .vg-acct-links a::after { transform: rotate(-135deg); }

/* VG-069: the expiry row (month + year) is a wrapping flex row: its error message takes a whole row under the two selects instead of standing at their right. */

/* VG-068: the orders table spans the whole card, has no cell borders (only a line under each row) and a tinted header row. */
.vg-acct-home .vg-acct-table-wrap { width: 100%; }
@media (min-width: 701px) {
    .vg-acct-home .vg-acct-table { display: table; width: 100%; min-width: 100%; table-layout: auto; border: 0; border-collapse: separate; border-spacing: 0; }
    .vg-acct-home .vg-acct-table th, .vg-acct-home .vg-acct-table td { border: 0; border-bottom: 1px solid #e1e8db; }
    .vg-acct-home .vg-acct-table thead th { background: var(--vg-c-f1f7e8); border-bottom: 0; padding-block: 12px; }
    .vg-acct-home .vg-acct-table thead th:first-child { border-start-start-radius: 10px; border-end-start-radius: 10px; }
    .vg-acct-home .vg-acct-table thead th:last-child { border-start-end-radius: 10px; border-end-end-radius: 10px; }
    .vg-acct-home .vg-acct-table tbody tr:last-child td { border-bottom: 0; }
}
.vg-acct-home .vg-acct-links, .vg-acct-home .vg-acct-links li { margin: 0; padding: 0; list-style: none; }

/* VG-071: order details page (account_history_info): totals under the products table, address cards, product options list. */
.vg-acct-order .vg-acct-lead { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.vg-acct-order .vg-acct-order-sum { white-space: nowrap; font-weight: 700; }
.vg-acct-order-attrs { margin: 6px 0 0; padding: 0; list-style: none; color: var(--vg-muted); font-size: 13px; }
/* Wide screens: the totals are the foot of the products table (rows end under the "Total" column); phones: the list of totals. */
.vg-acct-order-totals { display: none; }
@media (min-width: 701px) {
    .vg-acct-order .vg-acct-table tfoot th, .vg-acct-order .vg-acct-table tfoot td { padding-block: 9px; border-bottom: 0; background: none; color: var(--vg-muted); font-size: 15px; font-weight: 600; text-align: end; text-transform: none; letter-spacing: 0; }
    .vg-acct-order .vg-acct-table tfoot tr:first-child th, .vg-acct-order .vg-acct-table tfoot tr:first-child td { border-top: 1px solid #e1e8db; padding-top: 14px; }
    .vg-acct-order .vg-acct-table tfoot td { color: var(--vg-ink); font-weight: 700; white-space: nowrap; }
    .vg-acct-order .vg-acct-table tfoot tr.is-total th, .vg-acct-order .vg-acct-table tfoot tr.is-total td { padding-block: 13px; background: var(--vg-c-f1f7e8); color: var(--vg-ink); font-size: 18px; font-weight: 700; }
    .vg-acct-order .vg-acct-table tfoot tr.is-total th { border-start-start-radius: 10px; border-end-start-radius: 10px; }
    .vg-acct-order .vg-acct-table tfoot tr.is-total td { color: var(--vg-green-dark); border-start-end-radius: 10px; border-end-end-radius: 10px; }
}
@media (max-width: 700px) {
    .vg-acct-order .vg-acct-order-foot { display: none; }
    .vg-acct-order-totals { display: block; margin: 14px 0 0; padding: 0; }
    .vg-acct-order-totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 4px; border-bottom: 1px solid #e1e8db; }
    .vg-acct-order-totals dt { margin: 0; color: var(--vg-muted); }
    .vg-acct-order-totals dd { margin: 0; font-weight: 700; white-space: nowrap; }
    .vg-acct-order-totals > div.is-total { margin-top: 6px; padding: 12px; border-bottom: 0; border-radius: 10px; background: var(--vg-c-f1f7e8); font-size: 18px; }
    .vg-acct-order-totals > div.is-total dd { color: var(--vg-green-dark); }
}
.vg-acct-order .vg-acct-card h2 { margin-bottom: 8px; }
.vg-acct-order .vg-acct-card h3 { margin: 18px 0 4px; color: var(--vg-muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vg-acct-order .vg-acct-order-value { margin: 0; font-weight: 600; }
.vg-acct-order .vg-acct-table td[data-label] { vertical-align: top; }
.vg-acct-order .vg-acct-back { margin: 28px 0 0; }
/* VG-071: the amounts column is right-aligned from the header to the grand total, so every price ends on the same line. */
@media (min-width: 701px) {
    .vg-acct-order .vg-acct-table thead th:last-child, .vg-acct-order .vg-acct-table td.vg-acct-order-sum { text-align: end; }
}

/* VG-072: while a window closes (the display transition keeps it displayed for .2s) its [open] rules are already gone: the column direction, the size limit and the centring must not
   depend on [open], otherwise the content briefly lays out as a row and the window stretches. */
.vg-added-panel, #vg-home-preferences, .vg-cart-dialog { flex-direction: column; }
.vg-cart-dialog { max-height: min(88dvh, 820px); overflow: hidden; }
.vg-pdp-lightbox { align-items: center; justify-content: center; }

/* VG-073: order success page: title a little lower, the order number card tinted, the lines table like the account tables, the totals as rows. */
.vg-success h1 { margin-top: 34px; }
.vg-acct-card.vg-success-number { background: var(--vg-c-f1f7e8); border-color: var(--vg-green); box-shadow: 0 0 0 3px var(--vg-c-eef7df); }
.vg-success-number h2 { color: var(--vg-heading); }
.vg-success-number h2 a { color: var(--vg-green-dark); }
.vg-success .vg-acct-head { margin: 28px 0 14px; padding-bottom: 0; border-bottom: 0; }
.vg-success-totals { margin: 0; padding: 0; }
.vg-success-totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 4px; border-bottom: 1px solid #e1e8db; }
.vg-success-totals dt { margin: 0; color: var(--vg-muted); }
.vg-success-totals dd { margin: 0; font-weight: 700; white-space: nowrap; }
.vg-success-totals > div.is-total { margin-top: 8px; padding: 12px; border-bottom: 0; border-radius: 10px; background: var(--vg-c-f1f7e8); font-size: 18px; }
.vg-success-totals > div.is-total dt { color: var(--vg-ink); font-weight: 700; }
.vg-success-totals > div.is-total dd { color: var(--vg-green-dark); }
.vg-success .vg-acct-card h3 { margin: 18px 0 4px; color: var(--vg-muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vg-success .vg-acct-card h3:first-child { margin-top: 0; }
@media print { .vg-success-number { box-shadow: none; } }

/* VG-074: the shop logo heads the printed order page. */
.vg-print-logo { display: none; }
@media print {
    .vg-print-logo { display: block; margin: 0 0 20px; padding-bottom: 14px; border-bottom: 2px solid #7ebc22; }
    .vg-print-logo img { display: block; width: 220px; height: auto; }
    .vg-success h1 { margin-top: 0; }
}

/* VG-075: the "My orders" list uses the table style of the account pages (full width, tinted header row, status pill, "View" pill); its amount column is right-aligned. */
@media (min-width: 701px) {
    .vg-acct-home .vg-acct-table th.is-sum, .vg-acct-home .vg-acct-table td.vg-acct-order-sum { text-align: end; }
}
.vg-acct-home .vg-acct-table td.vg-acct-order-sum { font-weight: 700; white-space: nowrap; }
.vg-acct-home .vg-acct-paging { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e1e8db; color: var(--vg-muted); }
.vg-acct-home .vg-acct-paging a { display: inline-block; min-width: 28px; padding: 2px 8px; border-radius: 8px; text-align: center; text-decoration: none; }
.vg-acct-home .vg-acct-paging a:hover { background: var(--vg-c-f1f7e8); }
.vg-acct-home .vg-acct-paging strong { display: inline-block; min-width: 28px; padding: 2px 8px; border-radius: 8px; background: var(--vg-c-f1f7e8); color: var(--vg-green-dark); text-align: center; }

/* VG-080: "Change" is shown only on closed steps (the open step is already the one being changed), like the summary line of the step. */
.vg-co-step.is-open .vg-co-edit { display: none; }


/* VG-085: toast (shared component, vg-toast.js): a short message over the top of the screen for a few seconds; the price notice after a country change uses it on every page. */
.vg-toast { position: fixed; z-index: 10050; top: calc(var(--vg-shell-height, 100px) + 10px); inset-inline: 12px; margin-inline: auto; width: max-content; max-width: min(560px, calc(100vw - 24px)); display: flex; align-items: center; gap: 12px; box-sizing: border-box; padding: 12px 14px 12px 16px; border: 1px solid #f0a020; border-inline-start: 5px solid #fe7e00; border-radius: 12px; background: #fff7ec; color: var(--vg-ink); font-size: 15px; font-weight: 600; line-height: 1.4; box-shadow: 0 10px 30px rgba(41, 77, 40, .22); opacity: 0; transform: translateY(-14px); transition: opacity .22s ease, transform .22s ease; }
.vg-toast.is-visible { opacity: 1; transform: none; }
.vg-toast p { margin: 0; }
.vg-toast button { flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.vg-toast button:hover, .vg-toast button:focus-visible { background: #fe7e0026; }
@media (prefers-reduced-motion: reduce) { .vg-toast { transition: none; } }
a.vg-cat-more-button, a.vg-cat-more-button:hover, a.vg-cat-more-button:focus-visible { color: var(--vg-c-163707); text-decoration: none; } /* VG-099: the "show more" control is a real link to the next page */
/* VG-099: page links under a product list (real addresses for search engines, keyboards and screen readers; the list itself still loads more cards while scrolling). */
.vg-pager[hidden] { display: none; }
.vg-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 8px 0 32px; }
.vg-pager-link { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--vg-c-8bcf55); border-radius: 8px; background: var(--vg-white); color: var(--vg-ink); font-weight: 600; text-decoration: none; }
a.vg-pager-link:hover { background: var(--vg-surface-soft); text-decoration: none; }
a.vg-pager-link:focus-visible { outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
.vg-pager-link.is-current { border-color: var(--vg-green-dark); background: var(--vg-surface-soft); font-weight: 700; }
.vg-pager-gap { color: var(--vg-muted); }

/* VG-101: "Skip to content": the first link of every page, visible only while it has the keyboard focus. */
.vg-skip-link { position: absolute; z-index: 10000; inset-block-start: -100px; inset-inline-start: 12px; padding: 10px 18px; border: 2px solid var(--vg-green-dark); border-radius: 8px; background: var(--vg-white); color: var(--vg-green-dark); font-size: 16px; font-weight: 700; text-decoration: none; }
.vg-skip-link:focus { inset-block-start: 12px; outline: 3px solid var(--vg-field-focus); outline-offset: 2px; }
#contentWrapper:focus { outline: none; }

/* VG-104: the number of items in brackets after "Cart" / "Order summary" (the title is a flex row with a gap, so no extra margin). */
.vg-title-count { font-weight: 700; margin-inline-start: -4px; }
/* Shared state / province field (vg_state_field(), jscript/vg-state.js): hidden for a country without states, whatever display the form gives its labels. */
.vg-state[hidden] { display: none !important; }
/* Hebrew (RTL): the phone and the postcode are typed and shown right to left like the other fields (owner 2026-11-12; the markup keeps dir="ltr" for the other languages). The e-mail field stays left to right. */
html[dir=rtl] input[autocomplete=tel],
html[dir=rtl] input[autocomplete=postal-code] { direction: rtl; text-align: right; }

/* Show/hide password (shared component, jscript/vg-password.js): the script wraps every password field in .vg-pw and adds the eye button at its end (the left end in RTL). */
.vg-pw { position: relative; display: block; width: 100%; }
.vg-pw > input.vg-pw-input[data-vg-pw] { width: 100%; padding-inline-end: 44px; }
.vg-pw-toggle { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--vg-text); cursor: pointer; }
.vg-pw-toggle:hover { background: rgba(0, 0, 0, .06); }
.vg-pw-toggle:focus-visible { outline: 3px solid var(--vg-c-163707); outline-offset: 1px; }
.vg-pw-toggle svg { display: block; pointer-events: none; }
.vg-pw-toggle svg + svg, .vg-pw-toggle[aria-pressed=true] svg:first-child { display: none; }
.vg-pw-toggle[aria-pressed=true] svg + svg { display: block; }

/* VG-113: "Clear cart" text button of the bag window and its confirmation window (shared by every page with the bag). */
/* the button sits in the heading row of the bag window, after the title; on a phone it takes its own row under the title */
.vg-cart-dialog .vg-shell-dialog-heading .vg-cart-clear { display: inline-flex; align-items: center; gap: 6px; flex: none; width: auto; height: auto; min-height: 32px; margin-inline-start: 24px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--vg-muted); font: inherit; font-size: 14px; font-weight: 400; text-decoration: none; cursor: pointer; }
.vg-cart-dialog .vg-shell-dialog-heading .vg-cart-clear[hidden] { display: none; }
.vg-cart-dialog .vg-shell-dialog-heading [data-vg-cart-close] { margin-inline-start: auto; }
.vg-cart-clear svg { flex: none; width: 16px; height: 16px; }
.vg-cart-dialog .vg-shell-dialog-heading .vg-cart-clear:hover { color: var(--vg-ink); background: none; }
.vg-cart-clear:focus-visible { outline: 3px solid var(--vg-green); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 600px) { .vg-cart-dialog .vg-shell-dialog-heading { flex-wrap: wrap; } .vg-cart-dialog .vg-shell-dialog-heading .vg-cart-clear { order: 3; flex-basis: 100%; justify-content: flex-start; min-height: 44px; margin-inline-start: 0; } }
.vg-cart-dialog:has(~ .vg-confirm-dialog[open]) .vg-cart-lines { overflow: hidden; }
.vg-confirm-dialog { width: min(420px, calc(100vw - 32px)); max-width: calc(100vw - 32px); margin: auto; padding: 24px; border: 0; border-radius: 16px; background: var(--vg-white); color: var(--vg-ink); box-shadow: 0 25px 120px var(--vg-c-122c2877); }
.vg-confirm-dialog::backdrop { background: var(--vg-c-122c2877); backdrop-filter: blur(3px); }
.vg-confirm-dialog p { margin: 0; text-align: center; font-size: 17px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.vg-confirm-dialog .vg-confirm-error { margin-top: 14px; padding: 10px 14px; border-radius: 8px; background: var(--vg-c-fbe9e1); color: var(--vg-c-943719); font-size: 14px; font-weight: 400; }
.vg-confirm-dialog [hidden] { display: none; }
.vg-confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.vg-confirm-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 0; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; }
.vg-confirm-actions .vg-confirm-danger { border: 1px solid var(--vg-field-border); background: #fff; color: var(--vg-ink); }
.vg-confirm-actions .vg-confirm-danger:hover:not(:disabled) { border-color: var(--vg-field-border-hover); }
.vg-confirm-actions button:disabled { opacity: .6; cursor: default; }
.vg-confirm-actions button:focus-visible { outline: 3px solid var(--vg-green); outline-offset: 2px; }
@media (max-width: 480px) { .vg-confirm-actions { flex-direction: column; align-items: center; } }

/* VG-114: sign-out confirmation card (logoff page). Text, check mark and button follow the page direction (RTL in Hebrew). */
.vg-logoff-card { width: 100%; max-width: 520px; margin: 8px 0 20px; padding: 24px; border: 1px solid var(--vg-c-dce7d2); border-radius: 14px; background: var(--vg-white); text-align: start; }
.vg-logoff-card h1 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 24px; }
.vg-logoff-check { flex: none; width: 22px; height: 22px; padding: 3px; box-sizing: content-box; border-radius: 50%; background: var(--vg-c-eef7df); color: var(--vg-green); }
.vg-logoff-cart { margin: 12px 0 0; color: var(--vg-muted); font-size: 15px; line-height: 1.5; }
.vg-logoff-card .vg-acct-actions { margin-top: 20px; }
