/* ==========================================================================
   Cart, checkout, order received, My account
   (design/source/full/Cart and Checkout.dc.html, My Account.dc.html).
   WooCommerce's own stylesheets are not loaded on these pages.
   ========================================================================== */

.vz-shop__body { margin-top: 24px; }
.vz-shop .woocommerce { min-width: 0; }

/* ---------- WooCommerce notices → house alerts ---------- */

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-notice {
    margin: 0 0 16px;
    padding: 12px 14px 12px 42px;
    border-radius: var(--r-ctl);
    position: relative;
    list-style: none;
    font-size: 14.5px;
    background: var(--info-bg);
    color: var(--info-text);
}
.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-error { background: var(--bad-bg); color: var(--bad); }
.woocommerce-message { background: var(--ok-bg); color: var(--ok); }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-error a, .woocommerce-message a, .woocommerce-info a { color: inherit; font-weight: 600; text-decoration: underline; }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 12px; }
/* "…was just sold and has been removed" */
.woocommerce-info:has(strong) { background: var(--warn-bg); color: var(--warn); }

/* ---------- thumbnails ---------- */

.vz-thumb { flex: none; display: grid; place-items: center; overflow: hidden; border-radius: var(--r-item); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.vz-thumb--md { width: 72px; height: 72px; }
.vz-thumb--sm { width: 48px; height: 48px; }
.vz-thumb--empty { background: repeating-linear-gradient(135deg, #EFEFEF 0 5px, #F8F8F8 5px 10px); }
.vz-thumb__img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- cart ---------- */

.vz-cart { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1000px) {
    .vz-cart { grid-template-columns: minmax(0, 1fr) 380px; }
    .vz-cart__side { position: sticky; top: 24px; }
}
.vz-cart__card { border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.vz-cart__head { display: none; }
.vz-cart__row { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px 14px; padding: 16px; }
.vz-cart__row + .vz-cart__row { border-top: 1px solid var(--line); }
.vz-cart__thumb { display: block; line-height: 0; }
.vz-cart__part { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 44px; }
.vz-cart__brand { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vz-cart__mpn { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.vz-cart__mpn.is-title { font-family: var(--font-body); font-weight: 500; }
.vz-cart__title { font-size: 13.5px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vz-cart__cond { margin-top: 6px; }
.vz-cart__qty { grid-column: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.vz-cart__price { grid-column: 2; display: flex; flex-direction: column; }
.vz-cart__line { font-size: 16px; font-weight: 600; }
.vz-cart__remove { position: absolute; top: 12px; right: 12px; color: var(--muted); }
.vz-cart__locked { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.vz-cart__locked .vz-mono { color: var(--ink); font-weight: 600; }
.vz-cart__actions { margin-top: 12px; display: flex; justify-content: flex-end; gap: 8px; }
.vz-cart__actions.is-live .vz-cart__update { position: absolute; left: -9999px; }
@media (min-width: 760px) {
    .vz-cart__head,
    .vz-cart__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 150px 120px 44px; gap: 16px; align-items: center; }
    .vz-cart__head { padding: 14px 16px 10px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--muted); }
    .vz-cart__part { padding-right: 0; }
    .vz-cart__qty, .vz-cart__price { grid-column: auto; }
    .vz-cart__qty { flex-direction: column; align-items: flex-start; }
    .vz-cart__price { text-align: right; align-items: flex-end; }
    .vz-cart__remove { position: static; }
}

/* quantity stepper (wraps WooCommerce's quantity input) */
.vz-stepper { display: inline-flex; align-items: center; height: 40px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--ring-input); }
.vz-stepper__btn { width: 40px; height: 40px; border: 0; border-radius: var(--r-pill); background: transparent; display: grid; place-items: center; color: var(--ink); }
.vz-stepper__btn:hover { background: var(--hover); }
.vz-stepper__btn[disabled] { color: var(--faint); cursor: default; background: transparent; }
.vz-stepper .quantity { display: contents; }
.vz-stepper .quantity label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.vz-stepper__input, .vz-shop .vz-stepper input.qty { width: 44px; height: 36px; border: 0; box-shadow: none; padding: 0; background: transparent; text-align: center; font-family: var(--font-mono); font-size: 15px; font-weight: 600; -moz-appearance: textfield; }
.vz-stepper .qty::-webkit-outer-spin-button, .vz-stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vz-stepper .qty:focus { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 8px; }

/* summary (cart) — width/float reset in case WooCommerce's layout CSS is present */
.vz-shop .cart-collaterals, .vz-shop .cart_totals.vz-sum { width: auto; float: none; }
.vz-shop .woocommerce-cart-form { width: auto; }
.vz-sum { border-radius: var(--r-card); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; }
.vz-sum__rows { margin: 12px 0 16px; }
.vz-sum .vz-kvlist dd.vz-mono, .vz-cosum__rows dd.vz-mono { white-space: nowrap; }
.vz-sum__total dt { font-weight: 600; color: var(--ink); }
.vz-sum__total dd { font-size: 24px; font-weight: 600; }
.vz-sum .wc-proceed-to-checkout { display: flex; flex-direction: column; gap: 10px; }
.vz-sum__pay { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--muted); }
.vz-paypal { font-weight: 700; font-style: italic; color: #003087; }
.vz-paypal span { color: #0070E0; }
.vz-sum__notes { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.vz-sum__notes li { display: flex; gap: 8px; align-items: flex-start; }
.vz-sum__notes .vz-icon { margin-top: 2px; }
.vz-cart__empty { margin-top: 0; padding: 48px 24px; }
.vz-cart__empty .vz-empty__tile { width: 64px; height: 64px; }

/* ---------- checkout: reduced header / footer ---------- */

.vz-coheader { background: var(--white); border-bottom: 1px solid var(--line); }
.vz-coheader__row { min-height: 72px; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.vz-coheader .vz-logo { order: 0; }
.vz-coheader__secure { order: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ok); }
.vz-coheader__back { order: 2; margin-left: auto; }
@media (max-width: 519px) {
    .vz-coheader__secure { order: 3; width: 100%; padding-bottom: 10px; }
}
.vz-cofooter { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); background: var(--white); }
.vz-cofooter__row { min-height: 64px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--muted); padding-top: 12px; padding-bottom: 12px; }
.vz-cofooter ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.vz-cofooter a { color: var(--muted); display: inline-flex; align-items: center; min-height: 36px; }

/* ---------- checkout ---------- */

.vz-co { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1000px) {
    .vz-co { grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; }
    .vz-co__sum { grid-column: 2; grid-row: 1; position: sticky; top: 24px; }
    .vz-co__steps { grid-column: 1; grid-row: 1; }
    .vz-co__sumtoggle { display: none !important; }
}
.vz-co__steps { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.vz-step { border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.vz-step__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.vz-step__n { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: var(--r-item); background: var(--tint-yellow); color: var(--accent-text); font-size: 14px; font-weight: 600; }
.vz-step.is-done .vz-step__n { background: var(--ok-bg); color: var(--ok); }
.vz-step__title { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.vz-step__done { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ok); }
.vz-step__body { padding: 16px 20px 20px; }

/* WooCommerce form rows in house field style */
.vz-co .form-row,
.vz-acc__content .form-row,
.vz-acc__content .woocommerce-form-row { margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vz-co__fields { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 14px; }
@media (min-width: 640px) {
    .vz-co__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vz-co__fields .form-row-wide, .vz-co__fields #billing_country_field, .vz-co__fields #billing_address_1_field, .vz-co__fields #billing_address_2_field, .vz-co__fields #billing_vat_field { grid-column: 1 / -1; }
}
.vz-shop .form-row label,
.vz-shop .woocommerce-form-row label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.vz-shop .form-row .required { color: var(--bad); text-decoration: none; border: 0; }
.vz-shop .form-row .optional { color: var(--muted); font-weight: 400; }
.vz-shop .woocommerce-input-wrapper { display: flex; flex-direction: column; gap: 6px; }
.vz-shop input.input-text,
.vz-shop select,
.vz-shop textarea {
    width: 100%;
    height: var(--h-ctl);
    border: 0;
    border-radius: var(--r-ctl);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--ring-input);
    padding: 0 14px;
    font-size: 16px;
    color: var(--ink);
}
.vz-shop textarea { height: auto; min-height: 110px; padding: 12px 14px; }
.vz-shop select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6475' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.vz-shop input.input-text:focus, .vz-shop select:focus, .vz-shop textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.vz-shop .woocommerce-invalid input.input-text,
.vz-shop .woocommerce-invalid select,
.vz-shop input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.vz-shop .form-row .description { font-size: 12.5px; color: var(--muted); }
.vz-shop .checkout-inline-error-message, .vz-shop .woocommerce-error-inline { font-size: 12.5px; font-weight: 500; color: var(--bad); }
@media (max-width: 639px) {
    .vz-shop input.input-text, .vz-shop select { height: 48px; }
}
.vz-co .create-account { margin-top: 4px; }
.vz-co .create-account .input-checkbox { width: 18px; height: 18px; accent-color: var(--accent); }
.vz-co .woocommerce-shipping-fields:empty, .vz-co .woocommerce-additional-fields:empty { display: none; }

/* shipping method radio rows */
.vz-radios { display: flex; flex-direction: column; gap: 8px; }
.vz-radio {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 16px;
    border-radius: var(--r-ctl);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--ring-soft);
    cursor: pointer;
}
.vz-radio:hover { background: var(--hover-soft); }
.vz-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.vz-radio:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: rgba(10, 10, 10, .03); }
.vz-radio:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.vz-radio__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vz-radio__name { font-weight: 600; font-size: 15px; }
.vz-radio__price { font-weight: 600; }
.vz-co-ship .vz-hint { display: block; margin-top: 10px; }
.vz-co-ship .vz-alert { margin-top: 0; }

/* payment (WooCommerce markup) */
.vz-co__payhint { margin-bottom: 12px; }
.vz-co .wc_payment_methods { display: flex; flex-direction: column; gap: 8px; }
.vz-co .wc_payment_method { border-radius: var(--r-ctl); box-shadow: inset 0 0 0 1px var(--ring-soft); padding: 12px 16px; }
.vz-co .wc_payment_method > input { width: 18px; height: 18px; accent-color: var(--accent); vertical-align: middle; margin-right: 8px; }
.vz-co .wc_payment_method > label { font-weight: 600; cursor: pointer; }
.vz-co .wc_payment_method > label img { display: inline-block; max-height: 24px; width: auto; margin-left: 6px; vertical-align: middle; }
.vz-co .payment_box { margin-top: 8px; font-size: 14px; color: var(--text-2); }
.vz-co .wc_payment_methods > li:only-child .woocommerce-info,
.vz-co .wc_payment_methods .woocommerce-info { margin: 0; }
.vz-co .place-order { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.vz-co .woocommerce-terms-and-conditions-wrapper { font-size: 13.5px; color: var(--muted); }
.vz-co .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--muted); }
.vz-shop .woocommerce-privacy-policy-text a, .vz-shop .woocommerce-terms-and-conditions-link { text-decoration: underline; }
.vz-co #place_order,
.vz-shop .button,
.vz-shop button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--h-ctl);
    padding: 0 22px;
    border: 0;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    box-shadow: var(--accent-glow);
    text-decoration: none;
}
.vz-co #place_order { width: 100%; }
.vz-co #place_order:hover, .vz-shop .button:hover { background: var(--accent-hover); color: var(--white); text-decoration: none; }
.vz-shop .woocommerce-message .button,
.vz-shop .woocommerce-info .button { height: 32px; padding: 0 14px; font-size: 13.5px; box-shadow: none; }

/* summary: collapsible on mobile, sticky card on desktop */
.vz-co__sum { border-radius: var(--r-card); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 0 0 1px var(--line); }
.vz-co__sumtoggle { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; cursor: pointer; list-style: none; font-weight: 600; }
.vz-co__sumtoggle::-webkit-details-marker { display: none; }
.vz-co__sumlabel { flex: 1; }
.vz-co__sumchev { transition: transform .2s ease; color: var(--muted); }
.vz-co__sum[open] .vz-co__sumchev { transform: rotate(180deg); }
.vz-co__sumbody { padding: 4px 20px 20px; }
@media (min-width: 1000px) {
    .vz-co__sumbody { padding: 20px; }
}
@media (max-width: 999px) {
    .vz-co__sumtitle { display: none; }
    .vz-co__sum[open] .vz-co__sumtoggle { border-bottom: 1px solid var(--line); }
    .vz-co__sumbody { padding-top: 16px; }
}
.vz-cosum__items { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; }
.vz-cosum__item { display: flex; align-items: center; gap: 12px; }
.vz-cosum__thumb { position: relative; flex: none; }
.vz-cosum__qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-size: 11px; display: grid; place-items: center; }
.vz-cosum__name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vz-cosum__mpn { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.vz-cosum__title { font-size: 14px; font-weight: 500; }
.vz-cosum__price { flex: none; font-size: 14.5px; font-weight: 600; }
.vz-cosum__rows { border-top: 1px solid var(--line); padding-top: 4px; }
.vz-cosum__total dt { font-weight: 600; color: var(--ink); display: flex; align-items: baseline; gap: 6px; }
.vz-cosum__total dd { font-size: 28px; font-weight: 600; }
.vz-co__duties { margin-top: 12px; }
.vz-co .blockUI.blockOverlay { border-radius: var(--r-card); }

/* ---------- order received ---------- */

.vz-thanks__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 8px; }
.vz-thanks__h1 { max-width: 760px; }
.vz-thanks__head .vz-lead { margin-top: 0; }
.vz-timeline { margin: 32px auto 0; max-width: 820px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 700px) {
    .vz-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.vz-timeline__step { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: var(--r-tile); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.vz-timeline__step > span:last-child { display: flex; flex-direction: column; }
.vz-timeline__step.is-current { box-shadow: inset 0 0 0 2px var(--accent); }
.vz-timeline__step:not(.is-current) .vz-tile { background: var(--gray-bg); color: var(--gray); }
.vz-thanks__grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 900px) {
    .vz-thanks__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
.vz-thanks__side { display: flex; flex-direction: column; gap: 16px; }
.vz-thanks__box { padding: 20px; }
.vz-thanks__box .vz-btn { margin-top: 12px; }
.vz-thanks__addr { margin-top: 8px; font-style: normal; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.vz-thanks__more { margin-top: 24px; text-align: center; }

/* ---------- My account ---------- */

.vz-acc { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 900px) {
    .vz-acc { grid-template-columns: 260px minmax(0, 1fr); }
    .vz-accnav { position: sticky; top: 24px; }
}
.vz-acc__content { min-width: 0; }
.vz-acc__h1 { margin-top: 0; }
.vz-accnav { border-radius: var(--r-card); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 0 0 1px var(--line); padding: 12px; }
.vz-accnav__who { display: flex; align-items: center; gap: 12px; padding: 8px 8px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.vz-accnav__whotext { display: flex; flex-direction: column; min-width: 0; }
.vz-accnav__name { font-weight: 600; overflow-wrap: anywhere; }
.vz-accnav ul { display: flex; flex-direction: column; gap: 2px; }
.vz-accnav__item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: var(--r-ctl); color: var(--ink); font-weight: 500; }
.vz-accnav__item:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.vz-accnav__item[aria-current] { background: var(--accent-tint); box-shadow: var(--accent-tint-ring); color: var(--accent-text); }
.vz-accnav__badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--accent); color: var(--white); font-size: 12px; display: grid; place-items: center; }
@media (max-width: 899px) {
    .vz-accnav { padding: 4px; border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; }
    .vz-accnav__who { display: none; }
    .vz-accnav ul { flex-direction: row; gap: 4px; width: max-content; }
    .vz-accnav__item { border-radius: var(--r-pill); min-height: 40px; white-space: nowrap; }
    .vz-accnav__item .vz-icon { display: none; }
}

.vz-kpis { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.vz-kpi { border-radius: var(--r-tile); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 16px; }
.vz-kpi__k { font-size: 13px; color: var(--muted); }
.vz-kpi__v { font-size: 28px; font-weight: 600; line-height: 1.3; }
.vz-kpi__s { font-size: 12.5px; color: var(--muted); }
.vz-acc__sechead { margin: 28px 0 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vz-acc__segs { margin: 20px 0 16px; }
.vz-acc__pager { margin-top: 20px; display: flex; justify-content: center; gap: 8px; }

/* orders: table when wide, cards when narrow (container query on the content column) */
.vz-acc__content { container: acc / inline-size; }
.vz-orders__table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; font-size: 14.5px; }
.vz-orders__table th, .vz-orders__table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.vz-orders__table thead th { font-size: 12px; font-weight: 500; color: var(--muted); }
.vz-orders__table tbody tr:last-child > * { border-bottom: 0; }
.vz-orders__table tbody th { font-weight: 600; }
.vz-orders__table .vz-right { text-align: right; }
.vz-orders__cards { display: none; flex-direction: column; gap: 10px; }
.vz-ordercard { border-radius: var(--r-tile); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.vz-ordercard__top, .vz-ordercard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vz-ordercard__num { font-weight: 600; }
.vz-ordercard__actions { display: flex; justify-content: flex-end; gap: 8px; }
@container acc (max-width: 820px) {
    .vz-orders__table { display: none; }
    .vz-orders__cards { display: flex; }
}

/* addresses / account details / view order (WooCommerce markup) */
.vz-acc__content .woocommerce-Addresses { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.vz-acc__content .woocommerce-Address { border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; }
.vz-acc__content .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.vz-acc__content .woocommerce-Address-title h2 { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.vz-acc__content .woocommerce-Address-title .edit { font-weight: 600; font-size: 14px; }
.vz-acc__content address { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.vz-acc__content > p { margin-top: 12px; color: var(--text-2); }
.vz-acc__content form.edit-account,
.vz-acc__content .woocommerce-address-fields { margin-top: 20px; border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(18px, 3vw, 28px); }
.vz-acc__content fieldset { border: 0; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.vz-acc__content legend { padding: 0; font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.vz-acc__content .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 14px; }
@media (min-width: 640px) {
    .vz-acc__content .woocommerce-address-fields__field-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vz-acc__content .woocommerce-address-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
}
.vz-acc__content .woocommerce-order-details,
.vz-acc__content .woocommerce-customer-details { margin-top: 20px; border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; }
.vz-acc__content table.shop_table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.vz-acc__content table.shop_table th, .vz-acc__content table.shop_table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.vz-acc__content mark { background: var(--mark); color: var(--ink); border-radius: 4px; padding: 0 4px; }

/* sign in / register */
.vz-auth { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; max-width: 1040px; }
@media (min-width: 860px) {
    .vz-auth--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.vz-auth__card { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 28px); background: var(--white); }
.vz-auth__perks { margin-top: -4px; }
.vz-field__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vz-hintlink { font-size: 13px; font-weight: 600; text-decoration: underline; display: inline-flex; align-items: center; min-height: 36px; }
.vz-field__row label { font-size: 13px; font-weight: 500; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.vz-shop .password-input { position: relative; display: block; }
.vz-shop .password-input input { padding-right: 52px; }
.vz-shop .show-password-input {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--r-ctl);
    background: transparent;
    color: var(--muted);
    display: grid;
    place-items: center;
}
.vz-shop .show-password-input::before {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vz-shop .show-password-input.display-password { color: var(--accent-text); }
.vz-shop .show-password-input:hover { background: var(--hover); }

@media (prefers-reduced-motion: reduce) {
    .vz-co__sumchev { transition: none; }
}

/* ---------- country picker (shop.js): button in place of the select + searchable <dialog> ---------- */
.vz-shop select.vz-cp-native { display: none; }
.vz-cp {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: var(--h-ctl);
    border: 0;
    border-radius: var(--r-ctl);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--ring-input);
    padding: 0 14px;
    font-size: 16px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.vz-cp:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.vz-cp:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.vz-cp[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.vz-cp > .vz-icon { margin-left: auto; color: var(--muted); flex: none; }
.vz-cp__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vz-cp__name--ph { color: var(--muted); }
.vz-cp__code {
    flex: none;
    min-width: 42px; /* three letters (NSW, ACT) — names stay aligned */
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    text-align: center;
}
@media (max-width: 639px) {
    .vz-cp { height: 48px; }
}

.vz-cp-dialog {
    width: min(480px, calc(100vw - 32px));
    max-height: min(640px, 80vh);
    padding: 0;
    border: 0;
    border-radius: var(--r-dialog);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-float);
    overflow: hidden;
}
.vz-cp-dialog[open] { display: flex; flex-direction: column; }
.vz-cp-dialog::backdrop { background: rgba(10, 10, 10, .5); }
.vz-cp-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 10px 22px; }
.vz-cp-dialog__title { margin: 0; font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.vz-cp-dialog__close {
    display: grid;
    place-items: center;
    width: var(--h-sm);
    height: var(--h-sm);
    border: 0;
    border-radius: var(--r-pill);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}
.vz-cp-dialog__close:hover { background: var(--hover); }
.vz-cp-dialog__close:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.vz-cp-dialog__search { position: relative; margin: 0 18px 10px; }
.vz-cp-dialog__search > .vz-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.vz-cp-dialog__search input {
    width: 100%;
    height: var(--h-ctl);
    border: 0;
    border-radius: var(--r-pill);
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    padding: 0 16px 0 42px;
    font-size: 16px; /* 16px: no zoom on iOS */
    color: var(--ink);
}
.vz-cp-dialog__search input:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--accent); }
.vz-cp-dialog__list { list-style: none; margin: 0; padding: 4px 10px 12px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.vz-cp-dialog__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--h-ctl);
    padding: 0 12px;
    border-radius: var(--r-item);
    font-size: 15px;
    cursor: pointer;
}
.vz-cp-dialog__list li:hover,
.vz-cp-dialog__list li.is-active { background: var(--hover); }
.vz-cp-dialog__list li.is-active { box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .35); }
.vz-cp-dialog__list li.is-selected { background: var(--accent-tint); box-shadow: var(--accent-tint-ring); font-weight: 600; }
.vz-cp-dialog__list li.is-selected.is-active { box-shadow: inset 0 0 0 2px var(--ink); }
.vz-cp-dialog__list li .vz-icon { margin-left: auto; flex: none; }
.vz-cp-dialog__list mark { background: var(--mark); color: var(--ink); border-radius: 3px; }
.vz-cp-dialog__empty { margin: 0; padding: 24px 22px 30px; font-size: 14px; color: var(--muted); text-align: center; }
.vz-cp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* phone: bottom sheet */
@media (max-width: 639px) {
    .vz-cp-dialog {
        width: 100vw;
        max-width: 100vw;
        height: 88vh;
        max-height: 88vh;
        margin: 0;
        inset: auto 0 0 0; /* pinned to the bottom edge */
        border-radius: var(--r-dialog) var(--r-dialog) 0 0;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .vz-cp-dialog__list li { min-height: 48px; }
}
@media (prefers-reduced-motion: no-preference) {
    .vz-cp-dialog[open] { animation: vz-cp-in .18s ease-out; }
    @keyframes vz-cp-in { from { opacity: 0; transform: translateY(8px); } }
}
