/*
Theme Name: Nolvit Child
Description: Project storefront based on Moderno.
Template: moderno
Version: 0.1.0
Text Domain: nolvit-child
*/

:root {
    /* Figma Foundations / Colors: primitives. Components use only the semantic tokens below. */
    --nolvit-neutral-0: #ffffff;
    --nolvit-neutral-300: #b8b4b1;
    --nolvit-neutral-400: #8f8e8e;
    --nolvit-neutral-600: #6d6c6c;
    --nolvit-neutral-800: #41403f;
    --nolvit-neutral-900: #1e1d1d;
    --nolvit-neutral-950: #0f0e0e;
    --nolvit-beige-50: #faf5f0;
    --nolvit-beige-100: #ecdac3;
    --nolvit-beige-200: #debe96;
    --nolvit-gold-100: #e9d29f;
    --nolvit-gold-300: #a78942;
    --nolvit-green-100: #b1cab1;
    --nolvit-green-300: #476848;
    --nolvit-alpha-white-90: rgb(255 255 255 / .9);
    --nolvit-alpha-white-60: rgb(255 255 255 / .6);
    --nolvit-alpha-white-45: rgb(255 255 255 / .45);
    --nolvit-alpha-white-15: rgb(255 255 255 / .15);
    --nolvit-alpha-black-15: rgb(30 29 29 / .15);
    --nolvit-alpha-black-45: rgb(30 29 29 / .45);

    /* Figma Foundations / Colors: semantic tokens. */
    --nolvit-bg-page: var(--nolvit-neutral-0);
    --nolvit-bg-subtle: var(--nolvit-beige-50);
    --nolvit-bg-muted: var(--nolvit-beige-100);
    --nolvit-bg-accent: var(--nolvit-beige-200);
    --nolvit-bg-accent-strong: var(--nolvit-gold-300);
    --nolvit-bg-inverse: var(--nolvit-neutral-900);
    --nolvit-bg-overlay: var(--nolvit-alpha-white-90);
    --nolvit-bg-overlay-soft: var(--nolvit-alpha-white-60);
    --nolvit-bg-overlay-faint: var(--nolvit-alpha-white-15);
    --nolvit-bg-overlay-disabled: var(--nolvit-alpha-white-45);
    --nolvit-bg-scrim: var(--nolvit-alpha-black-15);
    --nolvit-bg-scrim-strong: var(--nolvit-alpha-black-45);

    --nolvit-text-primary: var(--nolvit-neutral-900);
    --nolvit-text-secondary: var(--nolvit-neutral-600);
    --nolvit-text-tertiary: var(--nolvit-neutral-400);
    --nolvit-text-accent: var(--nolvit-gold-300);
    --nolvit-text-accent-light: var(--nolvit-gold-100);
    --nolvit-text-brand: var(--nolvit-beige-200);
    --nolvit-text-inverse: var(--nolvit-beige-50);
    --nolvit-text-inverse-secondary: var(--nolvit-neutral-300);

    --nolvit-icon-primary: var(--nolvit-neutral-900);
    --nolvit-icon-secondary: var(--nolvit-neutral-600);
    --nolvit-icon-tertiary: var(--nolvit-neutral-400);
    --nolvit-icon-accent: var(--nolvit-gold-300);
    --nolvit-icon-accent-light: var(--nolvit-gold-100);
    --nolvit-icon-brand: var(--nolvit-beige-200);
    --nolvit-icon-inverse: var(--nolvit-beige-50);

    --nolvit-border-strong: var(--nolvit-neutral-900);
    --nolvit-border-default: var(--nolvit-neutral-400);
    --nolvit-border-subtle: var(--nolvit-beige-100);
    --nolvit-border-inverse: var(--nolvit-neutral-800);
    --nolvit-border-on-image: var(--nolvit-neutral-0);

    --nolvit-status-success: var(--nolvit-green-300);
    --nolvit-status-success-subtle: var(--nolvit-green-100);
    --nolvit-status-error: #b3392b;
    --nolvit-status-error-inverse: #e07a6a;

    --nolvit-button-primary-bg: var(--nolvit-neutral-900);
    --nolvit-button-primary-bg-hover: var(--nolvit-neutral-800);
    --nolvit-button-primary-bg-pressed: var(--nolvit-neutral-950);
    --nolvit-button-primary-text: var(--nolvit-beige-50);
    --nolvit-button-secondary-border: var(--nolvit-neutral-900);
    --nolvit-button-secondary-bg-hover: var(--nolvit-beige-50);
    --nolvit-button-secondary-bg-pressed: var(--nolvit-beige-100);
    --nolvit-button-secondary-text: var(--nolvit-neutral-900);
    --nolvit-button-inverse-bg: var(--nolvit-beige-50);
    --nolvit-button-inverse-bg-hover: var(--nolvit-neutral-0);
    --nolvit-button-inverse-bg-pressed: var(--nolvit-beige-100);
    --nolvit-button-inverse-text: var(--nolvit-neutral-900);
    --nolvit-button-inverse-bg-disabled: var(--nolvit-neutral-800);
    --nolvit-button-inverse-text-disabled: var(--nolvit-neutral-400);
    --nolvit-button-text-text: var(--nolvit-neutral-900);
    --nolvit-button-text-text-hover: var(--nolvit-gold-300);
    --nolvit-button-text-text-pressed: var(--nolvit-neutral-600);
    --nolvit-button-disabled-bg: var(--nolvit-beige-100);
    --nolvit-button-disabled-text: var(--nolvit-neutral-400);
    --nolvit-button-disabled-border: var(--nolvit-beige-100);
    --nolvit-button-focus-ring: var(--nolvit-gold-300);

    /* Layout: pages are full width like the header; only the side gutter is fixed (20px on mobile). */
    --nolvit-page-gutter: 40px;

    /* Motion: one duration and easing for every UI transition. */
    --nolvit-motion: .3s;
    --nolvit-ease: cubic-bezier(.22, .61, .36, 1);
    --nolvit-motion-slow: .6s;
    --nolvit-ease-in-out: cubic-bezier(.65, 0, .35, 1);

    --nolvit-serif: 'Forum', Georgia, serif;
    --nolvit-sans: 'Manrope', Arial, sans-serif;

    /* Figma Foundations / Typography. Responsive sizes scale from the Mobile value at 375px to the Desktop value at 1440px. */
    --nolvit-fs-display: clamp(56px, 25.02px + 8.263vw, 144px);
    --nolvit-fs-h1: clamp(40px, 31.55px + 2.254vw, 64px);
    --nolvit-fs-h2: clamp(32px, 26.37px + 1.502vw, 48px);
    --nolvit-fs-h3: clamp(24px, 21.18px + .751vw, 32px);
    --nolvit-fs-h4: clamp(20px, 18.59px + .376vw, 24px);
    --nolvit-fs-overline: clamp(12px, 11.3px + .188vw, 14px);
    --nolvit-fs-caps: clamp(14px, 13.3px + .188vw, 16px);

    --nolvit-font-display: 400 var(--nolvit-fs-display)/.889 var(--nolvit-serif);
    --nolvit-font-h1: 400 var(--nolvit-fs-h1)/1.125 var(--nolvit-serif);
    --nolvit-font-h2: 400 var(--nolvit-fs-h2)/1.167 var(--nolvit-serif);
    --nolvit-font-h3: 400 var(--nolvit-fs-h3)/1.25 var(--nolvit-serif);
    --nolvit-font-h4: 400 var(--nolvit-fs-h4)/1.333 var(--nolvit-serif);
    --nolvit-font-body-l: 400 18px/1.6 var(--nolvit-sans);
    --nolvit-font-body-m: 400 16px/1.6 var(--nolvit-sans);
    --nolvit-font-body-s: 400 14px/1.5 var(--nolvit-sans);
    --nolvit-font-caption: 400 12px/1.5 var(--nolvit-sans);
    --nolvit-font-overline: 400 var(--nolvit-fs-overline)/normal var(--nolvit-sans);
    --nolvit-font-nav: 500 14px/normal var(--nolvit-sans);
    --nolvit-font-button: 500 16px/normal var(--nolvit-sans);
    --nolvit-font-title: 600 14px/normal var(--nolvit-sans);
    --nolvit-font-caps: 500 var(--nolvit-fs-caps)/1.3 var(--nolvit-sans);
    --nolvit-font-caps-fixed: 500 16px/1.3 var(--nolvit-sans);
    --nolvit-font-badge: 500 12px/normal var(--nolvit-sans);
    --nolvit-font-price: 700 18px/normal var(--nolvit-sans);
    --nolvit-font-price-discount: 700 12px/normal var(--nolvit-sans);
}

/*
 * Typography: one rule per Figma text style.
 * To style new text, add its selector to the matching rule or use a .nolvit-type-* class;
 * do not set font, letter-spacing or text-transform in component rules.
 * Headings follow their tag: h1 → H1, h2 → H2, h3 → H3, h4 → H4.
 */
.nolvit-type-display, .nolvit-hero .nolvit-hero__title { font: var(--nolvit-font-display); letter-spacing: .028em; }
.wp-child-theme-nolvit-child :where(h1), .nolvit-type-h1,
.nolvit-store__heading h1 { font: var(--nolvit-font-h1); letter-spacing: 0; }
.wp-child-theme-nolvit-child :where(h2), .nolvit-type-h2,
.nolvit-store__heading h2, .nolvit-catalog__titles h1,
.nolvit-stores-page__grid h2 { font: var(--nolvit-font-h2); letter-spacing: 0; }
.wp-child-theme-nolvit-child :where(h3), .nolvit-type-h3, .nolvit-wholesale-terms__number,
.nolvit-product-detail__title { font: var(--nolvit-font-h3); letter-spacing: 0; }
.wp-child-theme-nolvit-child :where(h4), .nolvit-type-h4, .nolvit-wholesale-row__avatar { font: var(--nolvit-font-h4); letter-spacing: 0; }
.nolvit-type-body-l { font: var(--nolvit-font-body-l); letter-spacing: 0; }
body.wp-child-theme-nolvit-child, .nolvit-type-body-m, .nolvit-wholesale-steps__title,
.nolvit-store__heading > p:last-child,
.nolvit-info-page__content, .nolvit-contact-links,
.nolvit-footer__tagline, .nolvit-footer__text, .nolvit-footer__links,
.nolvit-account-page .woocommerce input.input-text, .nolvit-search,
.nolvit-mega__links a, .nolvit-drawer__sub a, .nolvit-drawer__links a { font: var(--nolvit-font-body-m); letter-spacing: 0; }
.nolvit-type-body-s, .nolvit-text-link, .nolvit-search--underline,
.nolvit-stepper__value, .nolvit-cart-panel__shipping-text,
.nolvit-footer input.nolvit-footer__input, .nolvit-select__trigger, .nolvit-select__option, .nolvit-select__empty, .nolvit-select__search input, .nolvit-field .nolvit-field__input, .nolvit-form-row :is(input.input-text, textarea, select), .nolvit-choice__label, .nolvit-checkout__sum dt, .nolvit-checkout__sum dd, .nolvit-checkout-header a, .nolvit-footer__success,
.nolvit-sort, .nolvit-catalog__titles p, .nolvit-empty p, .nolvit-sort__option, .nolvit-check__label, .nolvit-color-option__label, .nolvit-range__field input, .nolvit-accordion__panel, .nolvit-options__label, .nolvit-composition__title, .nolvit-composition__text, .nolvit-composition__list, .nolvit-dialog__body,
.nolvit-tryon__note, .nolvit-price__retail, .nolvit-cart-item__retail, .nolvit-wholesale-notice p, .nolvit-auth__lead, .nolvit-wholesale-terms__text, .nolvit-wholesale-steps__text, .nolvit-wholesale-hero__login, .nolvit-wholesale-card__note, .nolvit-notice, .nolvit-checkout__user-name, .nolvit-thankyou__facts dd, .nolvit-thankyou__step-title, .nolvit-thankyou__lines p, .nolvit-thankyou__item-price { font: var(--nolvit-font-body-s); letter-spacing: 0; }
.nolvit-type-caption, .nolvit-promo-bar, .nolvit-card__sizes-head p, .nolvit-card__colors-label,
.nolvit-cart-item__options, .nolvit-checkout__wholesale, .nolvit-field__hint, .nolvit-wholesale-row__meta, .nolvit-wholesale-form__hint, .nolvit-thankyou__facts dt, .nolvit-thankyou__step::before, .nolvit-thankyou__step-text, .nolvit-thankyou__item-options, .nolvit-thankyou__note, .nolvit-cart-panel__note, .nolvit-footer__note, .nolvit-footer__error, .nolvit-field .nolvit-field__error, .nolvit-form-row__error, .nolvit-choices__error, .nolvit-consent__error, .nolvit-form-row .checkout-inline-error-message, .nolvit-choice__price, .nolvit-choice__note, .nolvit-checkout__hint, .nolvit-footer__bottom, .nolvit-breadcrumbs, .nolvit-product-detail__sku, .nolvit-product-detail__shipping, .nolvit-more__status, .nolvit-active-filters__chip, .nolvit-check__count, .nolvit-range__field span { font: var(--nolvit-font-caption); letter-spacing: .3px; }
.nolvit-type-overline, .nolvit-product-detail__label, .nolvit-wholesale-steps__item::before, .nolvit-home__eyebrow, .nolvit-section__eyebrow, .nolvit-hero__eyebrow, .nolvit-kicker, .nolvit-search-panel__heading { font: var(--nolvit-font-overline); letter-spacing: 2.5px; text-transform: uppercase; }
.nolvit-type-nav, .nolvit-card__size, .nolvit-chip, .nolvit-active-filters__reset, .nolvit-header__nav > a, .nolvit-header__catalog-toggle, .nolvit-text-link--icon, .nolvit-search-panel__links a { font: var(--nolvit-font-nav); letter-spacing: .3px; text-transform: none; }
.nolvit-type-button, .nolvit-button, .nolvit-dots__dot, .nolvit-primary-link,
.nolvit-product-detail .single_add_to_cart_button, .nolvit-checkout-page .button, .nolvit-checkout-page button.button, .nolvit-checkout-page #place_order,
.nolvit-account-page .woocommerce button.button, .nolvit-tryon button { font: var(--nolvit-font-button); letter-spacing: 2px; text-transform: none; }
.nolvit-type-title, .nolvit-footer__toggle, .nolvit-footer__title { font: var(--nolvit-font-title); letter-spacing: 2px; text-transform: none; }
.nolvit-type-caps, .nolvit-auth__partner-title, .nolvit-thankyou__title, .nolvit-wholesale-card__title, .nolvit-wholesale-block__title, .nolvit-wholesale-terms__name, .nolvit-wholesale-row__name, .nolvit-tabs__tab, .nolvit-checkout__title, .nolvit-checkout__order-heading, .nolvit-checkout__totals-heading, .nolvit-checkout__sum--total dt, .nolvit-cart-panel__heading h2, .nolvit-cart-item__name, .nolvit-cart-panel__suggestions-head h3, .nolvit-cart-panel__total > span, .nolvit-sheet__title, .nolvit-accordion__title, .nolvit-carousel .nolvit-card__name, .nolvit-card__status, .nolvit-category-card__label, .nolvit-mega__title, .nolvit-drawer__row, .nolvit-drawer__back { font: var(--nolvit-font-caps); letter-spacing: 1px; text-transform: uppercase; }
.nolvit-type-caps-fixed, .nolvit-card__name { font: var(--nolvit-font-caps-fixed); letter-spacing: 1px; text-transform: uppercase; }
.nolvit-type-badge, .nolvit-tag, .nolvit-thankyou__item-name, .nolvit-header__badge, .nolvit-badge, .nolvit-category-card__name, .nolvit-field__label, .nolvit-form-row > label { font: var(--nolvit-font-badge); letter-spacing: .8px; text-transform: uppercase; }
.nolvit-type-price, .nolvit-card__price,
.nolvit-cart-item__price, .nolvit-checkout__sum--total dd, .nolvit-checkout__head-total, .nolvit-cart-panel__total strong, .nolvit-product-detail__price { font: var(--nolvit-font-price); letter-spacing: 0; }
.nolvit-type-price-discount, .nolvit-card__price del,
.nolvit-cart-item__price del, .nolvit-product-detail__price del { font: var(--nolvit-font-price-discount); letter-spacing: 0; }

/*
 * Components from Figma: icons, buttons, icon buttons, search field.
 * Markup examples are in frontend/README.md. Existing storefront buttons share the button colors
 * through the selector lists below; new markup should use the .nolvit-* component classes.
 */

/* Icons: SVG files in assets/icons/, tinted with currentColor. Render with nolvit_icon( 'name' ). */
.nolvit-icon { display: inline-block; flex: none; width: var(--nolvit-icon-size, 24px); height: var(--nolvit-icon-size, 24px); background-color: currentColor; -webkit-mask: var(--nolvit-icon-src) center / contain no-repeat; mask: var(--nolvit-icon-src) center / contain no-repeat; }
.nolvit-icon--chevron-left { --nolvit-icon-src: url('assets/icons/chevron-left.svg'); }
.nolvit-icon--chevron-right { --nolvit-icon-src: url('assets/icons/chevron-left.svg'); transform: scaleX(-1); }
.nolvit-icon--search { --nolvit-icon-src: url('assets/icons/search.svg'); }
.nolvit-icon--clear { --nolvit-icon-src: url('assets/icons/clear.svg'); }
.nolvit-icon--chevron-down { --nolvit-icon-src: url('assets/icons/chevron-down.svg'); }
.nolvit-icon--menu { --nolvit-icon-src: url('assets/icons/menu.svg'); }
.nolvit-icon--account { --nolvit-icon-src: url('assets/icons/account.svg'); }
.nolvit-icon--heart { --nolvit-icon-src: url('assets/icons/heart.svg'); }
.nolvit-icon--bag { --nolvit-icon-src: url('assets/icons/bag.svg'); }
.nolvit-icon--close { --nolvit-icon-src: url('assets/icons/close.svg'); }
.nolvit-icon--alert { --nolvit-icon-src: url('assets/icons/alert.svg'); }
.nolvit-icon--plus { --nolvit-icon-src: url('assets/icons/plus.svg'); }
.nolvit-icon--minus { --nolvit-icon-src: url('assets/icons/minus.svg'); }
.nolvit-icon--instagram { --nolvit-icon-src: url('assets/icons/instagram.svg'); }
.nolvit-icon--telegram { --nolvit-icon-src: url('assets/icons/telegram.svg'); }
.nolvit-icon--tiktok { --nolvit-icon-src: url('assets/icons/tiktok.svg'); }
.nolvit-icon--facebook { --nolvit-icon-src: url('assets/icons/facebook.svg'); }
.nolvit-icon--viber { --nolvit-icon-src: url('assets/icons/viber.svg'); }
.nolvit-icon--arrow-right { --nolvit-icon-src: url('assets/icons/arrow-right.svg'); }
.nolvit-icon--heart-thin { --nolvit-icon-src: url('assets/icons/heart-thin.svg'); }
.nolvit-icon--filters { --nolvit-icon-src: url('assets/icons/filters.svg'); }
.nolvit-icon--truck { --nolvit-icon-src: url('assets/icons/truck.svg'); }
.nolvit-icon--hanger { --nolvit-icon-src: url('assets/icons/hanger.svg'); }
.nolvit-icon--heart-filled { --nolvit-icon-src: url('assets/icons/heart-filled.svg'); }
.nolvit-icon--check { --nolvit-icon-src: url('assets/icons/check.svg'); }

/* Buttons: .nolvit-button + --primary | --secondary | --inverse; .nolvit-text-link for text links. */
.nolvit-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 32px; border: 1px solid transparent; border-radius: 0; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.nolvit-text-link { display: inline; padding: 0; border: 0; background: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; cursor: pointer; transition: color .2s ease; }

:is(.nolvit-button--primary, .nolvit-primary-link, .nolvit-product-detail .single_add_to_cart_button, .nolvit-checkout-page .button, .nolvit-checkout-page button.button, .nolvit-checkout-page #place_order,
.nolvit-account-page .woocommerce button.button, .nolvit-tryon button) {
    border-color: var(--nolvit-button-primary-bg);
    background: var(--nolvit-button-primary-bg);
    color: var(--nolvit-button-primary-text) !important;
}
:is(.nolvit-button--primary, .nolvit-primary-link, .nolvit-product-detail .single_add_to_cart_button, .nolvit-checkout-page .button, .nolvit-checkout-page button.button, .nolvit-checkout-page #place_order,
.nolvit-account-page .woocommerce button.button, .nolvit-tryon button):hover { border-color: var(--nolvit-button-primary-bg-hover); background: var(--nolvit-button-primary-bg-hover); }
:is(.nolvit-button--primary, .nolvit-primary-link, .nolvit-product-detail .single_add_to_cart_button, .nolvit-checkout-page .button, .nolvit-checkout-page button.button, .nolvit-checkout-page #place_order,
.nolvit-account-page .woocommerce button.button, .nolvit-tryon button):active { border-color: var(--nolvit-button-primary-bg-pressed); background: var(--nolvit-button-primary-bg-pressed); }
:is(.nolvit-button--primary, .nolvit-primary-link, .nolvit-product-detail .single_add_to_cart_button, .nolvit-checkout-page .button, .nolvit-checkout-page button.button, .nolvit-checkout-page #place_order,
.nolvit-account-page .woocommerce button.button, .nolvit-tryon button):is(:disabled, .disabled, [aria-disabled="true"]) {
    border-color: var(--nolvit-button-disabled-border);
    background: var(--nolvit-button-disabled-bg);
    color: var(--nolvit-button-disabled-text) !important;
    opacity: 1;
    cursor: not-allowed;
}

:is(.nolvit-button--secondary, .nolvit-icon-button--secondary) {
    border: 1px solid var(--nolvit-button-secondary-border);
    background: transparent;
    color: var(--nolvit-button-secondary-text);
}
:is(.nolvit-button--secondary, .nolvit-icon-button--secondary):hover { background: var(--nolvit-button-secondary-bg-hover); }
:is(.nolvit-button--secondary, .nolvit-icon-button--secondary):active { background: var(--nolvit-button-secondary-bg-pressed); }
:is(.nolvit-button--secondary, .nolvit-icon-button--secondary):is(:disabled, .disabled, [aria-disabled="true"]) {
    border-color: var(--nolvit-button-disabled-border);
    background: transparent;
    color: var(--nolvit-button-disabled-text);
    opacity: 1;
    cursor: not-allowed;
}

.nolvit-button--inverse { border: 1px solid var(--nolvit-button-inverse-bg); background: var(--nolvit-button-inverse-bg); color: var(--nolvit-button-inverse-text) !important; }
.nolvit-button--inverse:hover { border-color: var(--nolvit-button-inverse-bg-hover); background: var(--nolvit-button-inverse-bg-hover); }
.nolvit-button--inverse:active { border-color: var(--nolvit-button-inverse-bg-pressed); background: var(--nolvit-button-inverse-bg-pressed); }
.nolvit-button--inverse:is(:disabled, .disabled, [aria-disabled="true"]) { border-color: var(--nolvit-button-inverse-bg-disabled); background: var(--nolvit-button-inverse-bg-disabled); color: var(--nolvit-button-inverse-text-disabled) !important; opacity: 1; cursor: not-allowed; }

.nolvit-text-link { color: var(--nolvit-button-text-text); }
.nolvit-text-link:hover { color: var(--nolvit-button-text-text-hover); }
.nolvit-text-link:active { color: var(--nolvit-button-text-text-pressed); }
.nolvit-text-link:focus-visible { outline: none; color: var(--nolvit-button-text-text-hover); text-decoration-thickness: 2px; }
.nolvit-text-link:is(:disabled, .disabled, [aria-disabled="true"]) { color: var(--nolvit-button-disabled-text); text-decoration: none; cursor: not-allowed; }

/* Icon buttons: .nolvit-icon-button + --secondary (light backgrounds) | --on-image (over photos and dark backgrounds). */
.nolvit-icon-button { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
/* After the base rule above, whose transparent border would otherwise win over the shared secondary border. */
.nolvit-icon-button--secondary { border-color: var(--nolvit-button-secondary-border); }
.nolvit-icon-button--on-image { border-color: var(--nolvit-border-on-image); background: var(--nolvit-bg-overlay-faint); color: var(--nolvit-icon-inverse); }
.nolvit-icon-button--on-image:hover { background: var(--nolvit-bg-overlay-soft); color: var(--nolvit-icon-primary); }
.nolvit-icon-button--on-image:active { background: var(--nolvit-bg-overlay); color: var(--nolvit-icon-primary); }
.nolvit-icon-button--on-image:is(:disabled, .disabled, [aria-disabled="true"]) { background: var(--nolvit-bg-overlay-faint); color: var(--nolvit-icon-inverse); opacity: .4; cursor: not-allowed; }

/* Focus ring shared by every button variant. */
:is(.nolvit-button, .nolvit-icon-button, .nolvit-primary-link,
.nolvit-product-detail .single_add_to_cart_button, .nolvit-checkout-page .button, .nolvit-checkout-page #place_order,
.nolvit-account-page .woocommerce button.button, .nolvit-tryon button):focus-visible { outline: 2px solid var(--nolvit-button-focus-ring); outline-offset: -1px; }

/* Search field: .nolvit-search + --boxed | --underline. Render with nolvit_search_field(). */
.nolvit-search { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid transparent; color: var(--nolvit-icon-secondary); transition: background-color .2s ease, border-color .2s ease; }
.nolvit-search input.nolvit-search__input { flex: 1; width: auto; min-width: 0; height: 46px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--nolvit-text-primary); caret-color: var(--nolvit-text-primary); font: inherit; letter-spacing: inherit; outline: none; -webkit-appearance: none; appearance: none; }
.nolvit-search__input::placeholder { color: var(--nolvit-text-tertiary); opacity: 1; }
.nolvit-search__input::-webkit-search-cancel-button, .nolvit-search__input::-webkit-search-decoration { display: none; -webkit-appearance: none; }
.nolvit-search__clear { display: grid; place-items: center; flex: none; padding: 0; border: 0; background: none; color: var(--nolvit-icon-secondary); cursor: pointer; }
.nolvit-search__clear:focus-visible { outline: 2px solid var(--nolvit-button-focus-ring); outline-offset: 2px; }
.nolvit-search__input:placeholder-shown ~ .nolvit-search__clear { display: none; }
.nolvit-search .nolvit-icon { --nolvit-icon-size: 20px; }
.nolvit-search--boxed { background: var(--nolvit-bg-subtle); }
.nolvit-search--boxed:has(.nolvit-search__input:not(:placeholder-shown)) { border-color: var(--nolvit-border-default); background: var(--nolvit-bg-page); color: var(--nolvit-icon-primary); }
.nolvit-search.nolvit-search--boxed:focus-within { border-color: var(--nolvit-border-strong); background: var(--nolvit-bg-page); color: var(--nolvit-icon-primary); }
.nolvit-search--underline { border-width: 0 0 1px; border-bottom-color: var(--nolvit-border-subtle); background: transparent; }
.nolvit-search--underline > .nolvit-icon { --nolvit-icon-size: 16px; }

.nolvit-front-page .c-page-header { display: none; }

.nolvit-home {
    color: var(--nolvit-text-primary);
    background: var(--nolvit-bg-page);
}

.nolvit-home *, .nolvit-home *::before, .nolvit-home *::after { box-sizing: border-box; }
:where(.nolvit-home) a { color: inherit; text-decoration: none; }
.nolvit-home h1, .nolvit-home h2, .nolvit-home h3, .nolvit-home p { margin: 0; }
.nolvit-home__eyebrow { color: var(--nolvit-text-accent); }

/* Hero slider (home.js): full-bleed photos that crossfade, centred copy over a soft dark glow, numbered dots. */
.nolvit-hero { position: relative; height: 780px; overflow: hidden; background: var(--nolvit-bg-inverse); color: var(--nolvit-text-inverse); }
.nolvit-hero__slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .8s var(--nolvit-ease), visibility 0s linear .8s; }
.nolvit-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--nolvit-ease), visibility 0s; }
.nolvit-hero__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.nolvit-hero__content { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 0 var(--nolvit-page-gutter); text-align: center; }
.nolvit-hero__content::before { position: absolute; z-index: -1; top: 50%; left: 50%; width: 381px; height: 381px; border-radius: 50%; content: ''; background: var(--nolvit-bg-inverse); filter: blur(149px); transform: translate(-50%, -50%); }
.nolvit-hero__titles { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.nolvit-hero__eyebrow, .nolvit-hero__title { color: var(--nolvit-text-inverse); text-shadow: 6px 2px 4px rgb(0 0 0 / .25); }
.nolvit-hero__arrow { position: absolute; z-index: 1; top: calc(50% + 17px); }
.nolvit-hero__arrow--prev { left: var(--nolvit-page-gutter); }
.nolvit-hero__arrow--next { right: var(--nolvit-page-gutter); }
.nolvit-hero__dots { position: absolute; z-index: 1; left: 50%; bottom: 20px; transform: translateX(-50%); }

/* Numbered dots "01 —— 02 — 03" for sliders (home hero, product photos): the current one is gold with a long line. */
.nolvit-dots { display: flex; gap: 24px; }
.nolvit-dots__dot { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--nolvit-text-inverse); cursor: pointer; transition: color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-dots__dot span { width: 24px; height: 1px; background: currentColor; transition: width var(--nolvit-motion-slow) var(--nolvit-ease), height var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-dots__dot[aria-current="true"], .nolvit-dots__dot:hover { color: var(--nolvit-text-accent-light); }
.nolvit-dots__dot[aria-current="true"] span { width: 64px; height: 2px; }

/* Home sections: overline + H2 heading with optional arrows, content, and a centred button below. */
.nolvit-section { display: flex; flex-direction: column; gap: 32px; padding: 80px var(--nolvit-page-gutter) 0; }
.nolvit-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.nolvit-section__titles { display: flex; flex-direction: column; gap: 6px; }
.nolvit-section__eyebrow { margin: 0; color: var(--nolvit-text-accent); }
.nolvit-section h2 { margin: 0; }
.nolvit-section__actions { display: flex; gap: 8px; }
.nolvit-section__footer { display: flex; justify-content: center; padding-top: 8px; }
.nolvit-section__footer .nolvit-button { min-width: 224px; }

/* Carousel track (store.js): four cards per view on desktop, 280px cards that bleed to the edge on mobile. */
.nolvit-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 18px) / 4); gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nolvit-carousel::-webkit-scrollbar { display: none; }
.nolvit-carousel > * { scroll-snap-align: start; }

/* Categories: two wide tiles, four narrow, two wide. */
.nolvit-home__categories { padding-bottom: 80px; }
.nolvit-home__category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.nolvit-home__category-grid > :is(:nth-child(1), :nth-child(2), :nth-child(7), :nth-child(8)) { grid-column: span 2; }
.nolvit-home__category-grid > :is(:nth-child(1), :nth-child(2), :nth-child(7), :nth-child(8)) .nolvit-category-card__media { aspect-ratio: 677 / 560; }


/* Instagram: heading with account buttons, one large photo and four small ones (three photos on mobile). */
.nolvit-instagram { background: var(--nolvit-bg-subtle); }
.nolvit-instagram__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head accounts" "gallery gallery"; align-items: end; gap: 32px 24px; padding: 80px var(--nolvit-page-gutter); }
.nolvit-instagram__head { grid-area: head; }
.nolvit-instagram__accounts { grid-area: accounts; display: flex; gap: 12px; }
.nolvit-instagram__accounts .nolvit-icon { --nolvit-icon-size: 20px; color: var(--nolvit-icon-accent); }
/* Secondary hover is beige-50, the colour of this section, so here it lightens to white instead. */
.nolvit-instagram .nolvit-button--secondary:hover:not(:active) { background: var(--nolvit-bg-page); }
.nolvit-instagram__gallery { grid-area: gallery; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.nolvit-instagram__item { position: relative; display: block; overflow: hidden; aspect-ratio: 336 / 277; background: var(--nolvit-bg-muted); }
.nolvit-instagram__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.nolvit-instagram__item:nth-child(n+6) { display: none; }
.nolvit-instagram__item img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--nolvit-motion-slow) var(--nolvit-ease); }
.nolvit-instagram__item:is(:hover, :focus-visible) img { transform: scale(1.05); }

/* About: heading, then copy with a button beside a photo; on mobile the photo sits between heading and copy. */
.nolvit-about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "title title" "copy image"; gap: 24px 6px; padding: 80px var(--nolvit-page-gutter); }
.nolvit-about__title { grid-area: title; }
.nolvit-about__image { grid-area: image; display: block; width: 100%; height: 380px; object-fit: cover; background: var(--nolvit-bg-muted); }
.nolvit-about__copy { grid-area: copy; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.nolvit-about__text, .nolvit-about__paragraphs { display: flex; flex-direction: column; }
.nolvit-about__text { gap: 20px; }
.nolvit-about__paragraphs { gap: 16px; }
.nolvit-about__copy .nolvit-button { min-width: 222px; }

@media (max-width: 900px) {
    .nolvit-product-detail { grid-template-columns: minmax(0, 1fr); }
    .nolvit-carousel { grid-auto-columns: calc((100% - 6px) / 2); }
}

@media (max-width: 650px) {
    .nolvit-hero { height: 640px; }
    .nolvit-hero__content { padding: 0 20px; }
    .nolvit-hero__content::before { width: 248px; height: 248px; filter: blur(144px); }
    .nolvit-hero__titles { gap: 12px; }
    .nolvit-hero__arrow { display: none; }
    /* Mobile crops the wide banner to a portrait; keep the right part, where the model usually stands. */
    .nolvit-hero__image { object-position: 75% center; }
    .nolvit-section { gap: 16px; padding: 56px 20px 0; }
    .nolvit-section__actions { display: none; }
    .nolvit-section__footer { padding-top: 16px; }
    .nolvit-section__footer .nolvit-button { width: 100%; }
    .nolvit-carousel { grid-auto-columns: 280px; margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; }
    .nolvit-home__categories { padding-bottom: 56px; }
    /* Mobile order: one wide tile, two pairs, a wide tile, a pair. */
    .nolvit-home__category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 -20px; }
    .nolvit-home__category-grid > :is(:nth-child(2), :nth-child(7)) { grid-column: auto; }
    .nolvit-home__category-grid > * .nolvit-category-card__media, .nolvit-home__category-grid > :is(:nth-child(2), :nth-child(7)) .nolvit-category-card__media { aspect-ratio: 3 / 4; }
    .nolvit-home__category-grid > :is(:nth-child(1), :nth-child(8)) .nolvit-category-card__media { aspect-ratio: 390 / 300; }
    .nolvit-home__category-grid > :nth-child(7) { order: 3; }
    .nolvit-home__category-grid > :nth-child(3) { order: 4; }
    .nolvit-home__category-grid > :nth-child(4) { order: 5; }
    .nolvit-home__category-grid > :nth-child(8) { order: 6; }
    .nolvit-home__category-grid > :nth-child(5) { order: 7; }
    .nolvit-home__category-grid > :nth-child(6) { order: 8; }
    .nolvit-home__category-grid > :nth-child(2) { order: 2; }
    .nolvit-home__category-grid .nolvit-category-card__label { padding: 8px 12px; }
    .nolvit-instagram__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "gallery" "accounts"; gap: 16px; padding: 56px 0; }
    .nolvit-instagram__head { padding: 0 20px; }
    .nolvit-instagram__accounts { flex-direction: column; gap: 8px; padding: 16px 20px 0; }
    .nolvit-instagram__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nolvit-instagram__item, .nolvit-instagram__item:first-child { grid-row: auto; aspect-ratio: 1; }
    .nolvit-instagram__item:nth-child(n+4) { display: none; }
    .nolvit-about { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "image" "copy"; gap: 0; padding: 56px 0; }
    .nolvit-about .nolvit-about__title { margin-bottom: 20px; padding: 0 20px; }
    .nolvit-about__image { height: 440px; }
    .nolvit-about__copy { gap: 20px; padding: 24px 20px; }
    .nolvit-about__text { gap: 12px; }
    .nolvit-about__paragraphs { gap: 20px; }
    .nolvit-about__copy .nolvit-button, .nolvit-instagram__accounts .nolvit-button { width: 100%; }
}

/* Shared store shell and WooCommerce flow. */
/* Safari 26 tints its tab bar and status bar with the body background, so it matches the promo bar; the page itself stays white. */
body.wp-child-theme-nolvit-child { margin: 0; color: var(--nolvit-text-primary); background: var(--nolvit-bg-muted); }
body.wp-child-theme-nolvit-child.woocommerce-checkout { background: var(--nolvit-bg-page); }
.wp-child-theme-nolvit-child .l-wrap { min-height: 100vh; background: var(--nolvit-bg-page); }
body.wp-child-theme-nolvit-child *, body.wp-child-theme-nolvit-child *::before, body.wp-child-theme-nolvit-child *::after { box-sizing: border-box; }
.nolvit-skip { position: absolute; z-index: 1000; left: 12px; top: -60px; padding: 10px; background: var(--nolvit-bg-page); }
.nolvit-skip:focus { top: 12px; }
.nolvit-promo-bar { display: flex; justify-content: center; align-items: center; min-height: 40px; padding: 0 16px; background: var(--nolvit-bg-muted); color: var(--nolvit-text-primary); text-align: center; }
.nolvit-promo-bar__text { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; }
.nolvit-promo-bar__separator { margin: 0 .75em; }
.nolvit-header { position: relative; z-index: 50; border-bottom: 1px solid var(--nolvit-border-subtle); background: var(--nolvit-bg-page); }
.nolvit-header__bar { display: flex; align-items: center; gap: 56px; padding: 24px var(--nolvit-page-gutter); }
:where(.nolvit-header, .nolvit-footer) a { color: inherit; text-decoration: none; }
.nolvit-header__start, .nolvit-header__actions { display: flex; flex: 1 1 0; align-items: center; min-width: 0; }
.nolvit-header__actions { justify-content: flex-end; gap: 16px; }
.nolvit-header__nav { display: flex; align-items: center; gap: 24px; }
.nolvit-header__nav > a, .nolvit-header__catalog-toggle { color: var(--nolvit-text-primary); white-space: nowrap; }
.nolvit-header__nav > a:hover, .nolvit-header__catalog-toggle:hover { color: var(--nolvit-text-accent); }
.nolvit-header__logo { display: block; flex: none; }
.nolvit-logo { display: block; width: 164px; height: 34px; background-color: var(--nolvit-icon-brand); -webkit-mask: url('assets/images/logo.svg') center / contain no-repeat; mask: url('assets/images/logo.svg') center / contain no-repeat; }
.nolvit-header__icon { position: relative; display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--nolvit-icon-primary); cursor: pointer; }
.nolvit-header__icon:hover { color: var(--nolvit-icon-accent); }
.nolvit-header__icon:focus-visible, .nolvit-header__logo:focus-visible, .nolvit-header__nav > a:focus-visible, .nolvit-header__catalog-toggle:focus-visible,
.nolvit-mega a:focus-visible, .nolvit-drawer :is(a, button, summary):focus-visible { outline: 2px solid var(--nolvit-button-focus-ring); outline-offset: 2px; }
.nolvit-header__badge { position: absolute; left: 15px; top: -5px; display: grid; place-items: center; min-width: 14px; height: 14px; padding: 0 2px 0 2.8px; border-radius: 8px; line-height: 14px; background: var(--nolvit-bg-accent-strong); color: var(--nolvit-text-inverse); }
.nolvit-header__badge[hidden] { display: none; }
.nolvit-header__menu-button, .nolvit-header__search-toggle--start, .nolvit-drawer { display: none; }

/* Desktop catalog: opens on hover (and on click/Enter for touch and keyboard), see store.js. */
.nolvit-header__catalog-toggle { display: flex; align-items: center; gap: 6px; margin: -24px 0; padding: 24px 0; border: 0; background: none; cursor: pointer; text-decoration: none; }
.nolvit-header__catalog-toggle .nolvit-icon { --nolvit-icon-size: 16px; transition: transform var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-header__catalog.is-open .nolvit-header__catalog-toggle { color: var(--nolvit-text-accent); }
.nolvit-header__catalog.is-open .nolvit-header__catalog-toggle .nolvit-icon { transform: rotate(180deg); }
.nolvit-mega { position: absolute; z-index: 100; left: 0; right: 0; top: 100%; padding: 40px var(--nolvit-page-gutter) 48px; background: var(--nolvit-bg-page); visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.nolvit-header__catalog.is-open .nolvit-mega { visibility: visible; opacity: 1; }
.nolvit-mega__columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nolvit-mega__group { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 24px 32px 0; }
.nolvit-mega__column > .nolvit-mega__group:last-child { padding-bottom: 0; }
.nolvit-mega__links { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nolvit-mega__title { color: var(--nolvit-text-primary); }
.nolvit-mega__title.is-accent { color: var(--nolvit-text-accent); }
.nolvit-mega__links a { color: var(--nolvit-text-secondary); }
.nolvit-mega a:hover { color: var(--nolvit-text-accent); }
.nolvit-header__backdrop { position: absolute; z-index: 40; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(0,0,0,.45); visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.nolvit-header:has(.nolvit-header__catalog.is-open) .nolvit-header__backdrop { visibility: visible; opacity: 1; }

/* Search panel: below the header on desktop, full-screen overlay on mobile. Live results come from store.js. */
.nolvit-search-panel { position: absolute; z-index: 100; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; gap: 32px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 32px var(--nolvit-page-gutter) 48px; border-bottom: 1px solid var(--nolvit-border-subtle); background: var(--nolvit-bg-page); }
.nolvit-search-panel[hidden], .nolvit-search-panel__view[hidden] { display: none; }
.nolvit-search-panel__bar { display: flex; align-items: center; gap: 8px; }
.nolvit-search-panel__bar form { flex: 1; min-width: 0; }
.nolvit-search-panel .nolvit-search { min-height: 56px; padding: 0 12px 0 16px; }
.nolvit-search-panel__close { display: none; }
.nolvit-search-panel__view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: 32px 6px; }
.nolvit-search-panel__aside { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.nolvit-search-panel__section { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nolvit-search-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 31px; }
.nolvit-search-panel__heading { margin: 0; color: var(--nolvit-text-accent); }
.nolvit-search-panel__links { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.nolvit-search-panel__links a { color: var(--nolvit-text-primary); }
.nolvit-search-panel__links a:hover { color: var(--nolvit-text-accent); }
.nolvit-search-panel__links mark { background: none; color: inherit; font-weight: 700; }
.nolvit-search-panel__products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 6px; }
.nolvit-search-panel__all { display: none; }
.nolvit-search-panel__empty { margin: 0; color: var(--nolvit-text-secondary); }
/* With no hints or categories beside it, the empty state takes the whole panel width. */
.nolvit-search-panel .nolvit-empty { padding: 32px 0 16px; }
.nolvit-search-panel__view > .nolvit-empty:only-child { grid-column: 1 / -1; }
.nolvit-header:has(.nolvit-search-panel.is-visible) .nolvit-header__backdrop { visibility: visible; opacity: 1; }

/*
 * Product card (nolvit_product_card). With a mouse the second photo appears on hover, and on desktop widths the sizes bar too;
 * touch screens and mobile widths open the sizes panel with the plus button (store.js). Sizes link to the product page.
 */
.nolvit-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nolvit-card__media { position: relative; overflow: hidden; aspect-ratio: 335.5 / 501; background: var(--nolvit-bg-muted); }
.nolvit-card__image, .nolvit-card__image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.nolvit-card__image img { object-fit: cover; transition: opacity var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-card__image .nolvit-card__hover-image { opacity: 0; }
.nolvit-card.is-sold-out .nolvit-card__media::after { position: absolute; inset: 0; content: ''; background: var(--nolvit-bg-overlay-disabled); pointer-events: none; }
.nolvit-card__badges { position: absolute; z-index: 1; top: 6px; left: 6px; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 54px); }
.nolvit-card .nolvit-wishlist-button { position: absolute; z-index: 2; top: 6px; right: 6px; }
.nolvit-card .nolvit-card__status { position: absolute; z-index: 2; left: 0; bottom: 0; margin: 0; padding: 8px 16px; background: var(--nolvit-bg-overlay); color: var(--nolvit-text-primary); }
.nolvit-card__sizes-toggle, .nolvit-card__sizes-close { display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--nolvit-icon-primary); cursor: pointer; }
.nolvit-card__sizes-toggle { position: absolute; z-index: 1; right: 5px; bottom: 5px; width: 36px; height: 36px; background: var(--nolvit-bg-overlay); }
.nolvit-card__sizes-toggle .nolvit-icon { --nolvit-icon-size: 20px; }
.nolvit-card__sizes { position: absolute; z-index: 3; left: 4px; right: 4px; bottom: 4px; display: flex; flex-direction: column; gap: 4px; padding: 6px 8px; background: var(--nolvit-bg-overlay); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity var(--nolvit-motion) var(--nolvit-ease), transform var(--nolvit-motion) var(--nolvit-ease), visibility 0s linear var(--nolvit-motion); }
.nolvit-card__sizes-head { display: flex; justify-content: space-between; align-items: center; }
.nolvit-card__sizes-head p { margin: 0; color: var(--nolvit-text-secondary); }
.nolvit-card__sizes-close { justify-items: end; width: 32px; height: 32px; }
.nolvit-card__sizes-close .nolvit-icon { --nolvit-icon-size: 18px; }
.nolvit-card__size-list { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nolvit-card__size { display: grid; place-items: center; width: 36px; height: 32px; color: var(--nolvit-text-primary); text-decoration: none; transition: color var(--nolvit-motion) var(--nolvit-ease); }
a.nolvit-card__size:hover { color: var(--nolvit-text-accent); }
.nolvit-card__size.is-unavailable { color: var(--nolvit-text-tertiary); cursor: default; }
.nolvit-card__sizes-toggle[aria-expanded="true"] { visibility: hidden; }
.nolvit-card__sizes-toggle[aria-expanded="true"] + .nolvit-card__sizes { visibility: visible; opacity: 1; transform: none; transition: opacity var(--nolvit-motion) var(--nolvit-ease), transform var(--nolvit-motion) var(--nolvit-ease), visibility 0s; }
@media (hover: hover) and (pointer: fine) {
    .nolvit-card__media:hover .nolvit-card__hover-image { opacity: 1; }
}
/* Sizes on hover need a mouse and a desktop-wide card; narrow windows and touch screens use the plus button. */
@media (hover: hover) and (pointer: fine) and (min-width: 651px) {
    .nolvit-card__sizes-toggle, .nolvit-card__sizes-head { display: none; }
    .nolvit-card__sizes { left: 8px; right: 8px; bottom: 8px; }
    .nolvit-card__size-list { flex-wrap: nowrap; justify-content: center; gap: 12px; overflow: hidden; }
    .nolvit-card__size { width: 32px; }
    .nolvit-card__media:is(:hover, :has(:focus-visible)) .nolvit-card__sizes { visibility: visible; opacity: 1; transform: none; transition: opacity var(--nolvit-motion) var(--nolvit-ease), transform var(--nolvit-motion) var(--nolvit-ease), visibility 0s; }
}
.nolvit-card__info { display: flex; flex-direction: column; gap: 6px; }
.nolvit-card__name { color: var(--nolvit-text-primary); text-decoration: none; }
.nolvit-card__name:hover { color: var(--nolvit-text-accent); }
.nolvit-card .nolvit-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 0; padding-bottom: 2px; color: var(--nolvit-text-primary); }
.nolvit-card__price del { color: var(--nolvit-text-secondary); }
.nolvit-card__price ins { order: -1; text-decoration: none; }
.nolvit-card.is-sold-out .nolvit-card__price { color: var(--nolvit-text-tertiary); }
.nolvit-card__colors { display: flex; align-items: center; gap: 8px; padding-top: 2px; }
.nolvit-card__swatches { display: flex; gap: 4px; }
.nolvit-card__swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--nolvit-swatch, var(--nolvit-bg-muted)); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.nolvit-card__swatch.is-light { outline: 1px solid var(--nolvit-border-subtle); outline-offset: -1px; }
.nolvit-card__colors-label { padding-left: 4px; color: var(--nolvit-text-secondary); }
@media (max-width: 650px) {
    .nolvit-card { gap: 8px; }
    .nolvit-card__info { gap: 4px; }
    .nolvit-card .nolvit-wishlist-button { top: 5px; right: 5px; }
}
/* Compact card (search panel): photo at the height of its design, name and price. */
.nolvit-card--compact { gap: 8px; }
.nolvit-card--compact .nolvit-card__media { aspect-ratio: auto; height: 266px; }
.nolvit-card--compact .nolvit-card__info { gap: 4px; }
.nolvit-card--compact .nolvit-card__name { min-height: 42px; }

/* Wishlist heart: outline on a soft plate; once saved, a gold fill appears under the outline and the plate turns solid. */
.nolvit-wishlist-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: var(--nolvit-bg-overlay-soft); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); color: var(--nolvit-icon-primary); cursor: pointer; transition: background-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-wishlist-button .nolvit-icon-swap > .nolvit-icon { transform: none; }
.nolvit-wishlist-button[aria-pressed="true"] { background: var(--nolvit-bg-overlay); }
/* Hover: the plate turns solid and a faint gold fill hints at saving. */
@media (hover: hover) {
    .nolvit-wishlist-button:hover { background: var(--nolvit-bg-overlay); }
    .nolvit-wishlist-button[aria-pressed="false"]:hover .nolvit-icon-swap__on { opacity: .35; }
}
.nolvit-wishlist-button .nolvit-icon-swap__off { z-index: 1; }
.nolvit-wishlist-button .nolvit-icon-swap__on { color: var(--nolvit-icon-accent); }
.nolvit-wishlist-button[aria-pressed="true"] .nolvit-icon-swap__on { opacity: 1; }

/*
 * Colour swatch: a 36px target with a 28px colour dot (--nolvit-swatch). Selected (aria-pressed/aria-checked="true")
 * gets a ring; unavailable (disabled or aria-disabled) fades and is crossed out.
 */
.nolvit-swatch { position: relative; display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; transition: box-shadow var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-swatch::before { width: 28px; height: 28px; border: 1px solid var(--nolvit-border-subtle); border-radius: 50%; content: ''; background: var(--nolvit-swatch, var(--nolvit-bg-muted)); }
.nolvit-swatch:hover { box-shadow: inset 0 0 0 1px var(--nolvit-border-subtle); }
.nolvit-swatch:is([aria-pressed="true"], [aria-checked="true"]), :checked + .nolvit-swatch { box-shadow: inset 0 0 0 1px var(--nolvit-border-strong); }
.nolvit-swatch:focus-visible { outline: 1px solid var(--nolvit-button-focus-ring); outline-offset: 1px; }
.nolvit-swatch:is(:disabled, [aria-disabled="true"]) { opacity: 1; box-shadow: none; cursor: not-allowed; }
.nolvit-swatch:is(:disabled, [aria-disabled="true"])::before { border-color: var(--nolvit-border-default); opacity: .4; }
.nolvit-swatch:is(:disabled, [aria-disabled="true"])::after { position: absolute; top: 50%; left: 50%; width: 36px; height: 1.4px; content: ''; background: var(--nolvit-border-strong); transform: translate(-50%, -50%) rotate(45deg); }

/* Badge: beige by default, --inverse (dark) and --outline (white with border). */
.nolvit-badge { display: inline-flex; align-items: center; padding: 8px 12px; background: var(--nolvit-bg-muted); color: var(--nolvit-text-primary); }
.nolvit-badge--inverse { background: var(--nolvit-bg-inverse); color: var(--nolvit-text-inverse); }
.nolvit-badge--outline { background: var(--nolvit-bg-page); box-shadow: inset 0 0 0 1px var(--nolvit-border-subtle); color: var(--nolvit-text-secondary); }

/* Category card (nolvit_category_card): large tile with the name on a plate, or --compact with the name below. */
.nolvit-category-card { position: relative; display: block; overflow: hidden; color: var(--nolvit-text-primary); text-decoration: none; }
.nolvit-category-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 336 / 450; background: var(--nolvit-bg-muted); }
.nolvit-category-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--nolvit-motion-slow) var(--nolvit-ease); }
.nolvit-category-card__media::after { position: absolute; inset: 0; content: ''; background: var(--nolvit-bg-scrim); opacity: 0; transition: opacity var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-category-card__label { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; padding: 16px 24px; background: var(--nolvit-bg-overlay); color: var(--nolvit-text-primary); transition: background-color var(--nolvit-motion) var(--nolvit-ease), color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-category-card__label .nolvit-icon { --nolvit-icon-size: 16px; width: 0; margin-left: 0; opacity: 0; transition: width var(--nolvit-motion) var(--nolvit-ease), margin var(--nolvit-motion) var(--nolvit-ease), opacity var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-category-card:is(:hover, :focus-visible) .nolvit-category-card__media img { transform: scale(1.05); }
.nolvit-category-card:is(:hover, :focus-visible) .nolvit-category-card__media::after { opacity: 1; }
.nolvit-category-card:not(.nolvit-category-card--compact):is(:hover, :focus-visible) .nolvit-category-card__label { background: var(--nolvit-bg-inverse); color: var(--nolvit-text-inverse); }
.nolvit-category-card:is(:hover, :focus-visible) .nolvit-category-card__label .nolvit-icon { width: 16px; margin-left: 8px; opacity: 1; }
.nolvit-category-card--compact { display: flex; flex-direction: column; gap: 8px; }
.nolvit-category-card--compact .nolvit-category-card__media { aspect-ratio: 120 / 150; }
.nolvit-category-card__name { text-align: center; }


/* Text link with a trailing icon (e.g. "Всі бестселери →"). */
.nolvit-text-link--icon { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0 6px; border-bottom: 1px solid currentColor; text-decoration: none; white-space: nowrap; }
.nolvit-text-link--icon .nolvit-icon { --nolvit-icon-size: 20px; }
.nolvit-text-link--icon:focus-visible { border-bottom-width: 2px; }

@media (max-width: 1279px) {
    .nolvit-search-panel { position: fixed; inset: 0; gap: 0; max-height: none; padding: 0; border: 0; overscroll-behavior: contain; }
    .nolvit-search-panel__bar { position: sticky; z-index: 1; top: 0; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--nolvit-border-subtle); background: var(--nolvit-bg-page); }
    .nolvit-search-panel .nolvit-search { min-height: 48px; }
    .nolvit-search-panel__close { display: inline-grid; }
    .nolvit-search-panel__view { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding: 24px 20px 40px; }
    .nolvit-search-panel__section { gap: 16px; }
    .nolvit-search-panel__head { min-height: 0; }
    .nolvit-search-panel__head .nolvit-text-link--icon { display: none; }
    .nolvit-search-panel__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nolvit-search-panel__all { display: flex; width: 100%; margin-top: 8px; }
}

/* Mobile menu: two views (main and catalog) in one drawer below the header. */
.nolvit-menu-open, .nolvit-search-open { overflow: hidden; }
.nolvit-drawer { position: fixed; z-index: 60; left: 0; right: 0; top: var(--nolvit-drawer-top, 0); bottom: 0; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; background: var(--nolvit-bg-page); }
.nolvit-drawer[hidden] { display: none !important; }
.nolvit-drawer__view { padding: 32px 20px 24px; }
.nolvit-drawer__view--main { padding-bottom: 16px; }
.nolvit-drawer[data-view="main"] .nolvit-drawer__view--catalog, .nolvit-drawer[data-view="catalog"] .nolvit-drawer__view--main { display: none; }
.nolvit-drawer ul { margin: 0; padding: 0; list-style: none; }
.nolvit-drawer__list { display: flex; flex-direction: column; gap: 8px; }
.nolvit-drawer__row, .nolvit-drawer__back { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid var(--nolvit-border-subtle); background: none; color: var(--nolvit-text-primary); text-align: left; cursor: pointer; }
.nolvit-drawer__row.is-accent { color: var(--nolvit-text-accent); }
.nolvit-drawer__row .nolvit-icon { color: var(--nolvit-icon-primary); }
.nolvit-drawer__back { justify-content: flex-start; margin-bottom: 8px; }
.nolvit-drawer__back .nolvit-icon { --nolvit-icon-size: 20px; }
.nolvit-drawer__group { border-bottom: 1px solid var(--nolvit-border-subtle); }
.nolvit-drawer__group > .nolvit-drawer__row { border-bottom: 0; transition: color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-drawer__group > .nolvit-drawer__row[aria-expanded="true"] { color: var(--nolvit-text-accent); }
.nolvit-drawer__group .nolvit-icon-swap .nolvit-icon { --nolvit-icon-size: 20px; }
.nolvit-drawer__group .nolvit-icon-swap__on { color: var(--nolvit-icon-accent); }
.nolvit-drawer__sub { margin-bottom: 12px !important; }
.nolvit-drawer__sub { padding-left: 16px !important; border-left: 1px solid var(--nolvit-border-subtle); }
.nolvit-drawer__sub a, .nolvit-drawer__links a { display: flex; align-items: center; min-height: 44px; color: var(--nolvit-text-secondary); }
.nolvit-drawer__links { margin-top: 20px !important; }
.nolvit-drawer a:hover, .nolvit-drawer__row:hover { color: var(--nolvit-text-accent); }
.nolvit-drawer__social { display: flex; gap: 6px; margin-top: auto; padding: 32px 16px 24px; border-top: 1px solid var(--nolvit-border-subtle); }
.nolvit-drawer__social a { display: grid; place-items: center; width: 32px; height: 32px; background: var(--nolvit-bg-inverse); color: var(--nolvit-icon-inverse); }
.nolvit-drawer__social a:hover { background: var(--nolvit-button-primary-bg-hover); color: var(--nolvit-icon-inverse); }
.nolvit-drawer__social .nolvit-icon { --nolvit-icon-size: 16px; }

/*
 * Motion. Icon pairs (.nolvit-icon-swap) rotate into each other, .nolvit-collapse panels open by animating
 * a grid row from 0fr to 1fr, and the drawer and search panel fade in when store.js adds .is-visible.
 */
.nolvit-icon-swap { display: inline-grid; flex: none; }
.nolvit-icon-swap > .nolvit-icon { grid-area: 1 / 1; transition: opacity var(--nolvit-motion) var(--nolvit-ease), transform var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-icon-swap__on { opacity: 0; transform: rotate(-90deg) scale(.6); }
[aria-expanded="true"] .nolvit-icon-swap__off { opacity: 0; transform: rotate(90deg) scale(.6); }
[aria-expanded="true"] .nolvit-icon-swap__on { opacity: 1; transform: none; }
/* Burger ↔ close turns slower and with a softer scale, so the swap reads as one smooth motion. */
.nolvit-header__menu-button .nolvit-icon-swap > .nolvit-icon { transition-duration: var(--nolvit-motion-slow); transition-timing-function: var(--nolvit-ease-in-out); }
.nolvit-header__menu-button .nolvit-icon-swap__on { transform: rotate(-90deg) scale(.85); }
.nolvit-header__menu-button[aria-expanded="true"] .nolvit-icon-swap__off { transform: rotate(90deg) scale(.85); }

.nolvit-collapse { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--nolvit-motion) var(--nolvit-ease), visibility 0s linear var(--nolvit-motion); }
.nolvit-collapse__inner { min-height: 0; overflow: hidden; }
[aria-expanded="true"] + .nolvit-collapse, .nolvit-collapse.is-open, .nolvit-choice:has(> .nolvit-choice__head input:checked) > .nolvit-collapse { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--nolvit-motion) var(--nolvit-ease), visibility 0s; }
@media (min-width: 1280px) {
    .nolvit-footer .nolvit-collapse { display: block; visibility: visible; }
    .nolvit-footer .nolvit-collapse__inner { overflow: visible; }
}

.nolvit-drawer, .nolvit-search-panel { opacity: 0; transform: translateY(-8px); transition: opacity var(--nolvit-motion) var(--nolvit-ease), transform var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-drawer.is-visible, .nolvit-search-panel.is-visible { opacity: 1; transform: none; }
.nolvit-drawer__list > li, .nolvit-drawer__links > li { opacity: 0; transform: translateY(6px); transition: opacity var(--nolvit-motion) var(--nolvit-ease), transform var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-drawer.is-visible .nolvit-drawer__list > li, .nolvit-drawer.is-visible .nolvit-drawer__links > li { opacity: 1; transform: none; }
.nolvit-drawer.is-visible .nolvit-drawer__list > li:nth-child(2) { transition-delay: 30ms; }
.nolvit-drawer.is-visible .nolvit-drawer__list > li:nth-child(3) { transition-delay: 60ms; }
.nolvit-drawer.is-visible .nolvit-drawer__list > li:nth-child(4) { transition-delay: 90ms; }
.nolvit-drawer.is-visible .nolvit-drawer__list > li:nth-child(5) { transition-delay: 120ms; }
.nolvit-drawer.is-visible .nolvit-drawer__list > li:nth-child(6) { transition-delay: 150ms; }
.nolvit-drawer.is-visible .nolvit-drawer__list > li:nth-child(n+7), .nolvit-drawer.is-visible .nolvit-drawer__links > li { transition-delay: 180ms; }
/* Switching between the main and catalog views slides the new view in from the side it comes from. */
.nolvit-drawer[data-direction="forward"] .nolvit-drawer__view--catalog { animation: nolvit-slide-from-right var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-drawer[data-direction="back"] .nolvit-drawer__view--main { animation: nolvit-slide-from-left var(--nolvit-motion) var(--nolvit-ease); }
@keyframes nolvit-slide-from-right { from { opacity: 0; transform: translateX(24px); } }
@keyframes nolvit-slide-from-left { from { opacity: 0; transform: translateX(-24px); } }

@keyframes nolvit-sheet-in { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
    .wp-child-theme-nolvit-child *, .wp-child-theme-nolvit-child *::before, .wp-child-theme-nolvit-child *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
}

/* Design spacing fits the nav from ~1406px; laptops get tighter gaps, narrower screens get the mobile header. */
@media (max-width: 1439px) {
    .nolvit-header__bar { gap: 24px; }
    .nolvit-header__nav { gap: 16px; }
}
@media (max-width: 1279px) {
    .nolvit-header__bar { justify-content: space-between; gap: 0; padding: 8px; }
    .nolvit-header__actions { gap: 0; }
    .nolvit-header__icon { width: 44px; height: 44px; }
    .nolvit-header__menu-button, .nolvit-header__search-toggle--start { display: inline-grid; }
    .nolvit-header__search-toggle--end, .nolvit-header__account, .nolvit-header__nav, .nolvit-header__backdrop { display: none; }
    .nolvit-drawer { display: flex; }
    .nolvit-header__badge { left: 24px; top: 8px; }
    .nolvit-logo { width: 116px; height: 24px; }
}
/* Side cart: heading, free-delivery progress, lines, suggestions carousel and a fixed footer with the total. */
.nolvit-cart-open { overflow: hidden; }
.nolvit-cart-backdrop { position: fixed; z-index: 500; inset: 0; background: var(--nolvit-bg-scrim-strong); animation: nolvit-fade-in .25s ease-out; }
.nolvit-cart-backdrop[hidden], .nolvit-cart-panel[hidden] { display: none; }
.nolvit-cart-panel { position: fixed; z-index: 501; top: 0; right: 0; display: flex; flex-direction: column; width: min(490px, 100vw); height: 100dvh; background: var(--nolvit-bg-page); animation: nolvit-slide-in .3s ease-out; }
@keyframes nolvit-slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes nolvit-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nolvit-cart-panel, .nolvit-cart-backdrop { animation: none; } .nolvit-cart-panel__progress span { transition: none; } }
.nolvit-cart-panel > [data-nolvit-cart-content] { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.nolvit-cart-panel__heading { display: flex; align-items: center; gap: 24px; padding: 24px 32px; border-bottom: 1px solid var(--nolvit-border-subtle); }
.nolvit-cart-panel__heading h2 { flex: 1; margin: 0; color: var(--nolvit-text-primary); }
.nolvit-cart-panel__close { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--nolvit-icon-primary); cursor: pointer; }
.nolvit-cart-panel__shipping { display: flex; flex-direction: column; gap: 12px; padding: 20px 32px; border-bottom: 1px solid var(--nolvit-border-subtle); background: var(--nolvit-bg-subtle); }
.nolvit-cart-panel__shipping-text { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--nolvit-text-secondary); }
.nolvit-cart-panel__shipping-text .nolvit-icon { --nolvit-icon-size: 20px; color: var(--nolvit-icon-accent); }
.nolvit-cart-panel__shipping-text strong { color: var(--nolvit-text-primary); font-weight: 600; }
.nolvit-cart-panel__progress { height: 4px; overflow: hidden; background: var(--nolvit-bg-muted); }
.nolvit-cart-panel__progress span { display: block; height: 100%; background: var(--nolvit-bg-inverse); transition: width .6s cubic-bezier(.22, 1, .36, 1), background-color .3s ease; }
.nolvit-cart-panel__shipping.is-wholesale .nolvit-icon { color: var(--nolvit-icon-secondary); }
.nolvit-cart-panel__shipping.is-free .nolvit-cart-panel__shipping-text { color: var(--nolvit-status-success); }
.nolvit-cart-panel__shipping.is-free .nolvit-icon { color: var(--nolvit-status-success); }
.nolvit-cart-panel__shipping.is-free .nolvit-cart-panel__progress span { background: var(--nolvit-status-success); }
.nolvit-cart-panel__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.nolvit-cart-panel__empty { padding: 56px 32px; }
.nolvit-cart-panel__empty .nolvit-button { align-self: stretch; }
.nolvit-cart-panel__empty p { max-width: 360px; }
.nolvit-cart-panel__items { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 24px 32px; list-style: none; }
.nolvit-cart-item { display: flex; gap: 16px; }
.nolvit-cart-item__image { flex: none; width: 112px; height: 150px; overflow: hidden; background: var(--nolvit-bg-muted); }
.nolvit-cart-item__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nolvit-cart-item__info { display: flex; flex: 1; flex-direction: column; justify-content: space-between; min-width: 0; }
.nolvit-cart-item__top { display: flex; flex-direction: column; gap: 6px; }
.nolvit-cart-item__head { display: flex; align-items: flex-start; gap: 12px; }
.nolvit-cart-item__name { flex: 1; color: var(--nolvit-text-primary); text-decoration: none; }
.nolvit-cart-item__name:hover { color: var(--nolvit-text-secondary); }
.nolvit-cart-item__remove { display: flex; justify-content: flex-end; align-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--nolvit-icon-tertiary); cursor: pointer; }
.nolvit-cart-item__remove .nolvit-icon { --nolvit-icon-size: 20px; }
.nolvit-cart-item__remove:hover { color: var(--nolvit-icon-primary); }
.nolvit-cart-item__options { margin: 0; color: var(--nolvit-text-secondary); white-space: pre; }
.nolvit-cart-item__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nolvit-cart-item__price { margin: 0; color: var(--nolvit-text-primary); white-space: nowrap; }
.nolvit-cart-item__price del { color: var(--nolvit-text-tertiary); }
.nolvit-cart-item__price ins { text-decoration: none; }
/* Quantity stepper: minus, value, plus inside a thin frame. */
.nolvit-stepper { display: inline-flex; align-items: center; height: 40px; padding: 0 4px; border: 1px solid var(--nolvit-border-subtle); }
.nolvit-stepper__button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--nolvit-icon-primary); cursor: pointer; }
.nolvit-stepper__button .nolvit-icon { --nolvit-icon-size: 16px; }
.nolvit-stepper__button:disabled { color: var(--nolvit-icon-tertiary); cursor: not-allowed; }
.nolvit-stepper__value { min-width: 28px; color: var(--nolvit-text-primary); text-align: center; }
.nolvit-cart-panel__suggestions { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-top: 1px solid var(--nolvit-border-subtle); }
.nolvit-cart-panel__empty + .nolvit-cart-panel__suggestions { padding-bottom: 50px; }
.nolvit-cart-panel__suggestions-head { display: flex; align-items: center; gap: 16px; }
.nolvit-cart-panel__suggestions-head h3 { flex: 1; margin: 0; color: var(--nolvit-text-primary); }
.nolvit-icon-button--small { width: 32px; height: 32px; }
.nolvit-icon-button--small .nolvit-icon { --nolvit-icon-size: 16px; }
.nolvit-cart-panel .nolvit-carousel { grid-auto-columns: 180px; margin: 0 -32px; padding: 0 32px; scroll-padding: 0 32px; }
.nolvit-cart-panel .nolvit-card__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nolvit-cart-panel__footer { display: flex; flex-direction: column; gap: 8px; padding: 24px 32px 32px; border-top: 1px solid var(--nolvit-border-subtle); }
.nolvit-cart-panel__total { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--nolvit-text-primary); }
.nolvit-cart-panel__note { margin: 0 0 8px; color: var(--nolvit-text-secondary); }
.nolvit-cart-panel__footer .nolvit-button { width: 100%; }
.nolvit-cart-panel [aria-busy="true"] button { pointer-events: none; }
.nolvit-cart-item[aria-busy="true"] .nolvit-stepper__value { position: relative; color: transparent; }
.nolvit-cart-item[aria-busy="true"] .nolvit-stepper__value::after { position: absolute; inset: 0; margin: auto; content: ''; }

/* Loader: a thin black ring spinning; takes the text colour, so it stays light on dark buttons.
   Used by the side cart and replaces Moderno's .h-loading (add to cart, search, product grid). */
.nolvit-loader, .nolvit-cart-item[aria-busy="true"] .nolvit-stepper__value::after, html body .h-loading { display: inline-block; width: 16px; height: 16px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; background: none; color: var(--nolvit-icon-primary); animation: nolvit-spin .8s linear infinite; }
.nolvit-cart-item[aria-busy="true"] .nolvit-stepper__value::after { color: var(--nolvit-icon-primary); }
html body .h-loading { vertical-align: middle; width: 18px !important; height: 18px !important; color: inherit; }
html body .h-loading::before, html body .h-loading::after { display: none; }
@keyframes nolvit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nolvit-loader, .nolvit-cart-item[aria-busy="true"] .nolvit-stepper__value::after, html body .h-loading { animation-duration: 2s; } }
.nolvit-contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 22px; }

/* Footer: six columns on desktop, accordion sections on mobile (toggled in store.js). */
.nolvit-footer { padding: 56px var(--nolvit-page-gutter) 32px; background: var(--nolvit-bg-inverse); color: var(--nolvit-text-inverse); }
.nolvit-footer p { margin: 0; }
.nolvit-footer__main { display: grid; grid-template-columns: minmax(150px, 180px) repeat(4, auto) minmax(200px, 220px); justify-content: space-between; align-items: start; column-gap: clamp(24px, 3.34vw, 48px); padding-bottom: 40px; }
.nolvit-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.nolvit-footer .nolvit-logo { width: 145px; height: 30px; }
.nolvit-footer__tagline { max-width: 300px; }
.nolvit-footer__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.nolvit-social { --nolvit-social-size: 32px; display: grid; place-items: center; flex: none; width: var(--nolvit-social-size); height: var(--nolvit-social-size); border: 1px solid var(--nolvit-border-on-image); color: var(--nolvit-icon-inverse); transition: background-color .2s ease; }
.nolvit-social:hover { background: var(--nolvit-bg-overlay-faint); }
.nolvit-social:focus-visible, .nolvit-footer a:focus-visible, .nolvit-footer__toggle:focus-visible { outline: 2px solid var(--nolvit-button-focus-ring); outline-offset: 2px; }
.nolvit-social .nolvit-icon--instagram { --nolvit-icon-size: calc(var(--nolvit-social-size) * .5); }
.nolvit-social .nolvit-icon--facebook, .nolvit-social .nolvit-icon--viber { --nolvit-icon-size: calc(var(--nolvit-social-size) * .575); }
.nolvit-social .nolvit-icon--telegram { --nolvit-icon-size: calc(var(--nolvit-social-size) * .475); }
.nolvit-social .nolvit-icon--tiktok { --nolvit-icon-size: calc(var(--nolvit-social-size) * .537); }
.nolvit-footer__section { display: flex; flex-direction: column; gap: 12px; }
.nolvit-footer__toggle, .nolvit-footer__title { color: var(--nolvit-text-brand); }
.nolvit-footer__toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.nolvit-footer__toggle:disabled { opacity: 1; cursor: default; }
.nolvit-footer__toggle .nolvit-icon { --nolvit-icon-size: 20px; display: none; color: var(--nolvit-icon-inverse); transition: transform var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-footer__content { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.nolvit-footer__links { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.nolvit-footer__links a:hover, .nolvit-footer__bottom a:hover { color: var(--nolvit-text-brand); }
.nolvit-footer__newsletter, .nolvit-footer__form { display: flex; flex-direction: column; gap: 12px; }
.nolvit-footer input.nolvit-footer__input { width: 100%; min-height: 44px; margin: 0 0 8px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--nolvit-border-on-image); border-radius: 0; background: transparent; box-shadow: none; color: var(--nolvit-text-inverse); outline: none; }
.nolvit-footer input.nolvit-footer__input::placeholder { color: var(--nolvit-text-inverse-secondary); opacity: 1; }
.nolvit-footer input.nolvit-footer__input:focus-visible { border-bottom-color: var(--nolvit-button-focus-ring); }
/* Moderno colours focused inputs with !important, so the error line needs it too to stay red while focused. */
.nolvit-footer input.nolvit-footer__input[aria-invalid="true"] { border-bottom-color: var(--nolvit-status-error-inverse) !important; }
/* The input keeps its 20px gap to the button; the error sits 6px under the line and 20px above the button. */
.nolvit-footer .nolvit-footer__error { margin: -14px 0 8px; color: var(--nolvit-status-error-inverse); }
.nolvit-footer__success { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--nolvit-text-inverse); }
.nolvit-footer__form[hidden], .nolvit-footer__success[hidden] { display: none; }
.nolvit-footer__form[aria-busy="true"] .nolvit-button { opacity: .6; pointer-events: none; }
.nolvit-footer__form .nolvit-button { width: 100%; }
.nolvit-footer__note, .nolvit-footer__bottom { color: var(--nolvit-text-inverse-secondary); }
.nolvit-footer__bottom { display: flex; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--nolvit-border-inverse); }
@media (max-width: 1279px) {
    .nolvit-footer { padding: 40px 20px 32px; }
    .nolvit-footer__main { display: flex; flex-direction: column; align-items: stretch; padding-bottom: 0; }
    .nolvit-footer__brand { padding-bottom: 24px; border-bottom: 1px solid var(--nolvit-border-inverse); }
    .nolvit-footer .nolvit-social { --nolvit-social-size: 44px; }
    .nolvit-footer__section { gap: 0; border-bottom: 1px solid var(--nolvit-border-inverse); }
    .nolvit-footer__toggle { min-height: 56px; cursor: pointer; }
    .nolvit-footer__toggle .nolvit-icon { display: block; }
    .nolvit-footer__toggle[aria-expanded="true"] .nolvit-icon { transform: rotate(180deg); }
    .nolvit-footer__content { gap: 20px; padding-bottom: 24px; }
    .nolvit-footer__newsletter { padding: 24px 0; }
    .nolvit-footer__bottom { flex-direction: column; align-items: center; padding-top: 16px; text-align: center; }
}
.nolvit-contact-links a { text-decoration: underline; text-underline-offset: 4px; }
.nolvit-store { min-height: 550px; padding: 0 var(--nolvit-page-gutter) 100px; }
.nolvit-store a { color: inherit; }
.nolvit-store__heading { margin: 25px 0 45px; }
.nolvit-kicker { margin: 0 0 12px; color: var(--nolvit-text-accent); }
.nolvit-store__heading h1, .nolvit-store__heading h2 { margin: 0 0 12px; }
.nolvit-store__heading > p:last-child { margin: 0; color: var(--nolvit-text-secondary); }
/* Breadcrumbs (nolvit_breadcrumbs): Головна / Каталог / Категорія; on mobile the first item is hidden. */
.nolvit-breadcrumbs { padding: 24px 0 0; }
.nolvit-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nolvit-breadcrumbs li { color: var(--nolvit-text-tertiary); }
.nolvit-breadcrumbs li + li::before { margin-right: 8px; content: '/'; }
.nolvit-breadcrumbs a { color: inherit; text-decoration: none; transition: color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-breadcrumbs a:hover { color: var(--nolvit-text-accent); }
.nolvit-breadcrumbs [aria-current] { color: var(--nolvit-text-primary); }

/*
 * Catalog. Sections are full width with a shared side gutter (40px, 20px on mobile) so the toolbar borders reach the
 * screen edges: category header with subcategory tiles, sort + filters bar, product grid, "Показати ще".
 */
.nolvit-catalog, .nolvit-product-page { --nolvit-gutter: var(--nolvit-page-gutter); overflow-x: clip; }
:is(.nolvit-catalog, .nolvit-product-page) .nolvit-breadcrumbs { padding-inline: var(--nolvit-gutter); }
.nolvit-catalog__head { display: flex; align-items: flex-end; gap: 12px; padding: 24px var(--nolvit-gutter) 32px; }
.nolvit-catalog__titles { display: flex; flex: none; flex-direction: column; gap: 8px; }
.nolvit-catalog__titles h1, .nolvit-catalog__titles p { margin: 0; }
.nolvit-catalog__titles p { color: var(--nolvit-text-tertiary); }
.nolvit-catalog__tiles { display: flex; flex: 1 1 0; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nolvit-catalog__tiles::-webkit-scrollbar { display: none; }
.nolvit-catalog__tiles > :first-child { margin-left: auto; }
.nolvit-catalog__tiles .nolvit-category-card--compact { flex: none; width: 104px; }
.nolvit-catalog__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px var(--nolvit-gutter); border-top: 1px solid var(--nolvit-border-subtle); border-bottom: 1px solid var(--nolvit-border-subtle); }
.nolvit-catalog__filter-toggle { order: -1; min-width: 200px; white-space: nowrap; }
.nolvit-catalog__filter-toggle .nolvit-icon { --nolvit-icon-size: 20px; }



/* Sort: "Сортування: Новинки ⌄" opens a dropdown on desktop and a bottom sheet on mobile (<details>, store.js closes it). */
.nolvit-sort { position: relative; }
.nolvit-sort__toggle { display: flex; align-items: center; gap: 4px; color: var(--nolvit-text-tertiary); list-style: none; cursor: pointer; }
.nolvit-sort__toggle::-webkit-details-marker { display: none; }
.nolvit-sort__value { margin-right: 2px; color: var(--nolvit-text-primary); }
.nolvit-sort__toggle .nolvit-icon { --nolvit-icon-size: 16px; color: var(--nolvit-icon-primary); transition: transform var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-sort[open] .nolvit-sort__toggle .nolvit-icon { transform: rotate(180deg); }
.nolvit-sort__menu { position: absolute; z-index: 30; top: calc(100% + 17px); right: -16px; width: 240px; border: 1px solid var(--nolvit-border-subtle); background: var(--nolvit-bg-page); }
.nolvit-sort__list { margin: 0; padding: 0; list-style: none; }
.nolvit-sort__option { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; color: var(--nolvit-text-secondary); text-decoration: none; transition: color var(--nolvit-motion) var(--nolvit-ease), background-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-sort__option:hover { color: var(--nolvit-text-primary); }
.nolvit-sort__option[aria-current] { background: var(--nolvit-bg-subtle); color: var(--nolvit-text-primary); }
.nolvit-sort__option .nolvit-icon { --nolvit-icon-size: 16px; visibility: hidden; }
.nolvit-sort__option[aria-current] .nolvit-icon { visibility: visible; }
.nolvit-sheet__handle, .nolvit-sort .nolvit-sheet__head { display: none; }

/* Bottom sheet / drawer parts shared by the mobile sort and the filters panel. */
.nolvit-catalog__backdrop { position: fixed; z-index: 90; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-catalog__backdrop.is-visible { opacity: 1; }
.nolvit-sheet__title { margin: 0; color: var(--nolvit-text-primary); }
.nolvit-sheet__close { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--nolvit-icon-primary); cursor: pointer; }

/* Filters drawer: 490px from the left on desktop, full screen on mobile. */
.nolvit-filters { position: fixed; z-index: 100; top: 0; left: 0; bottom: 0; width: min(490px, 100%); background: var(--nolvit-bg-page); transform: translateX(-100%); transition: transform var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-filters.is-visible { transform: none; }
.nolvit-filters__form { display: flex; flex-direction: column; height: 100%; }
.nolvit-filters__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 32px; border-bottom: 1px solid var(--nolvit-border-subtle); }
.nolvit-filters__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 32px 24px; }
.nolvit-filters__switch { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; }
.nolvit-filters__options { display: flex; flex-direction: column; }
.nolvit-filters__options--size { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.nolvit-filters__options--color { gap: 12px; }
.nolvit-filters__footer { display: flex; gap: 8px; padding: 24px 32px 32px; border-top: 1px solid var(--nolvit-border-subtle); }
.nolvit-filters__footer [type="submit"] { flex: 1 1 auto; }

/* Filter controls: switch, checkbox row, size chip, colour row, price range. Native inputs stay for keyboard and forms. */
/* The parent theme sizes and positions every checkbox with !important, so these rules have to use it too. */
.nolvit-filters input.nolvit-switch[type="checkbox"] { position: relative !important; display: block !important; flex: none !important; width: 40px !important; height: 24px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 12px !important; background: var(--nolvit-bg-muted) !important; -webkit-appearance: none; appearance: none !important; cursor: pointer; transition: background-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-filters .nolvit-switch::after { content: none; }
.nolvit-filters .nolvit-switch::before { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; content: ''; background: var(--nolvit-bg-page); transition: transform var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-filters input.nolvit-switch[type="checkbox"]:checked { background: var(--nolvit-bg-inverse) !important; }
.nolvit-filters .nolvit-switch:checked::before { transform: translateX(16px); }
.nolvit-switch:focus-visible, .nolvit-check input:focus-visible + .nolvit-check__box, .nolvit-chip-field input:focus-visible + .nolvit-chip, .nolvit-color-option input:focus-visible + .nolvit-swatch { outline: 1px solid var(--nolvit-button-focus-ring); outline-offset: 2px; }
.nolvit-check, .nolvit-chip-field, .nolvit-color-option { position: relative; cursor: pointer; }
.nolvit-check input[type="checkbox"], .nolvit-filters :is(.nolvit-chip-field, .nolvit-color-option) input[type="checkbox"] { position: absolute !important; display: block !important; width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; }
.nolvit-check { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.nolvit-check__box { position: relative; flex: none; width: 20px; height: 20px; border: 1px solid var(--nolvit-border-default); background: var(--nolvit-bg-page); transition: background-color var(--nolvit-motion) var(--nolvit-ease), border-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-check__box::after { position: absolute; inset: 2px; content: ''; background: var(--nolvit-icon-inverse); -webkit-mask: url('assets/icons/check.svg') center / 14px no-repeat; mask: url('assets/icons/check.svg') center / 14px no-repeat; opacity: 0; }
.nolvit-check input:checked + .nolvit-check__box { border-color: var(--nolvit-border-strong); background: var(--nolvit-bg-inverse); }
.nolvit-check input:checked + .nolvit-check__box::after { opacity: 1; }
.nolvit-check__label { color: var(--nolvit-text-primary); }
.nolvit-check__count { margin-left: -4px; color: var(--nolvit-text-tertiary); }
.nolvit-color-option { display: flex; align-items: center; gap: 12px; }
.nolvit-color-option__label { color: var(--nolvit-text-secondary); }
.nolvit-color-option input:checked ~ .nolvit-color-option__label { color: var(--nolvit-text-primary); }
.nolvit-range { gap: 16px; }
.nolvit-range__track { position: relative; height: 20px; background: linear-gradient(var(--nolvit-border-subtle), var(--nolvit-border-subtle)) center / 100% 2px no-repeat; }
.nolvit-range__track::before { position: absolute; top: 9px; left: var(--from, 0%); right: calc(100% - var(--to, 100%)); height: 2px; content: ''; background: var(--nolvit-border-strong); }
.nolvit-range__track input { position: absolute; inset: 0; width: 100%; height: 20px; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.nolvit-range__track input::-webkit-slider-runnable-track { height: 20px; background: none; }
.nolvit-range__track input::-moz-range-track { height: 20px; background: none; }
.nolvit-range__track input::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: 2px; border: 1.5px solid var(--nolvit-border-strong); border-radius: 50%; background: var(--nolvit-bg-page); -webkit-appearance: none; appearance: none; cursor: pointer; pointer-events: auto; }
.nolvit-range__track input::-moz-range-thumb { width: 16px; height: 16px; box-sizing: border-box; border: 1.5px solid var(--nolvit-border-strong); border-radius: 50%; background: var(--nolvit-bg-page); cursor: pointer; pointer-events: auto; }
.nolvit-range__fields { display: flex; gap: 12px; }
.nolvit-range__field { display: flex; flex: 1 1 0; align-items: center; gap: 8px; min-width: 0; padding: 8px 12px; border: 1px solid var(--nolvit-border-subtle); cursor: text; }
.nolvit-range__field span { color: var(--nolvit-text-tertiary); }
.nolvit-catalog .nolvit-range__field input { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 0; height: auto; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--nolvit-text-primary); outline: none; }
.nolvit-range__field:focus-within { border-color: var(--nolvit-border-strong); }

/* Applied filters: removable chips plus "Скинути все" (first and scrolling sideways on mobile). */
.nolvit-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px var(--nolvit-gutter) 0; }
.nolvit-active-filters__chip { display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 8px 12px; background: var(--nolvit-bg-subtle); color: var(--nolvit-text-primary); text-decoration: none; transition: background-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-active-filters__chip:hover { background: var(--nolvit-bg-muted); }
.nolvit-active-filters__chip .nolvit-icon { --nolvit-icon-size: 14px; color: var(--nolvit-icon-secondary); }
.nolvit-active-filters__reset { flex: none; order: 1; padding: 4px 0 6px; border-bottom: 1px solid currentColor; color: var(--nolvit-button-text-text); text-decoration: none; }
.nolvit-active-filters__reset:hover { color: var(--nolvit-button-text-text-hover); }

/* Nothing found (.nolvit-empty): icon, title, message and actions. Used by the catalog and the search panel. */
.nolvit-empty { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.nolvit-empty__intro { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nolvit-empty__icon { display: grid; place-items: center; width: 80px; height: 80px; margin-bottom: 8px; border-radius: 50%; background: var(--nolvit-bg-subtle); color: var(--nolvit-icon-primary); }
.nolvit-empty__icon .nolvit-icon { --nolvit-icon-size: 32px; }
.nolvit-empty h2, .nolvit-empty p { margin: 0; }
.nolvit-empty p { max-width: 420px; color: var(--nolvit-text-secondary); }
.nolvit-empty br { display: none; }
.nolvit-empty__actions { display: flex; gap: 8px; }
.nolvit-empty__actions .nolvit-button { min-width: 200px; }
/* In the catalog it is followed by a bestsellers carousel. */
.nolvit-catalog__empty { padding: 48px 0 80px; }
.nolvit-catalog .nolvit-catalog__suggestions { padding-top: 40px; padding-bottom: 80px; }

.nolvit-catalog__results { padding: 32px var(--nolvit-gutter) 0; }
.nolvit-more { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 0 96px; }
.nolvit-more__status { margin: 0; color: var(--nolvit-text-tertiary); }
.nolvit-more .nolvit-button { min-width: 336px; }
.nolvit-more[aria-busy="true"] .nolvit-button { opacity: .6; pointer-events: none; }
.nolvit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 6px; }
.nolvit-wishlist-page__empty { padding: 55px 25px; background: var(--nolvit-bg-subtle); text-align: center; }
.nolvit-wishlist-page__empty[hidden] { display: none; }
.nolvit-checkout-page .button, .nolvit-checkout-page button.button, .nolvit-checkout-page #place_order { min-height: 50px; padding: 12px 24px; border: 0; border-radius: 0; cursor: pointer; }

/* Accordion: title + plus/minus toggle over a collapsing panel (nolvit_accordion_item); shared by the filters and the product page. */
.nolvit-accordion { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--nolvit-border-subtle); }
.nolvit-accordion__item { border-bottom: 1px solid var(--nolvit-border-subtle); }
.nolvit-accordion__toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 0 20px; border: 0; background: none; text-align: left; cursor: pointer; }
.nolvit-accordion__title { color: var(--nolvit-text-primary); }
.nolvit-accordion__toggle .nolvit-icon { --nolvit-icon-size: 20px; color: var(--nolvit-icon-primary); }
.nolvit-accordion__panel { padding-bottom: 24px; color: var(--nolvit-text-secondary); }
.nolvit-accordion__panel > :is(p, ul) { margin: 0; }
.nolvit-accordion__panel > p + p { margin-top: 21px; }
/* Headings inside editable page content (the returns text) stay at body size. */
.nolvit-accordion__panel :is(h1, h2, h3, h4, h5) { margin: 24px 0 8px; color: var(--nolvit-text-primary); font: var(--nolvit-font-body-s); font-weight: 500; letter-spacing: 0; text-transform: none; }
.nolvit-accordion__panel > :first-child { margin-top: 0; }

/* Chip: a 56×44 option button (sizes). Selected is filled, unavailable is greyed; --static is display-only. */
.nolvit-chip { display: grid; place-items: center; flex: none; min-width: 56px; height: 44px; padding: 0 8px; border: 1px solid var(--nolvit-border-subtle); border-radius: 0; background: var(--nolvit-bg-page); color: var(--nolvit-text-primary); cursor: pointer; transition: background-color var(--nolvit-motion) var(--nolvit-ease), border-color var(--nolvit-motion) var(--nolvit-ease), color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-chip:hover { border-color: var(--nolvit-border-default); }
.nolvit-chip:is([aria-pressed="true"], [aria-checked="true"]), :checked + .nolvit-chip { border-color: var(--nolvit-border-strong); background: var(--nolvit-bg-inverse); color: var(--nolvit-text-inverse); }
.nolvit-chip:is(:disabled, .is-unavailable) { border-color: var(--nolvit-border-subtle); color: var(--nolvit-text-tertiary); cursor: not-allowed; }
.nolvit-chip:focus-visible { outline: 1px solid var(--nolvit-button-focus-ring); outline-offset: 2px; }
.nolvit-chip--static, .nolvit-chip--static:hover { border-color: var(--nolvit-border-subtle); cursor: default; }
.nolvit-swatch--static { cursor: default; }
.nolvit-swatch--static:hover { box-shadow: none; }
.nolvit-swatch--static[aria-current="true"] { box-shadow: inset 0 0 0 1px var(--nolvit-border-strong); }

/* Modal dialog (<dialog>, opened with [data-nolvit-dialog-open], closed by its ✕, a click outside or Esc): the size chart. */
.nolvit-dialog { width: min(640px, calc(100vw - 40px)); max-height: calc(100vh - 80px); padding: 0; border: 0; background: var(--nolvit-bg-page); color: var(--nolvit-text-primary); overflow: auto; overscroll-behavior: contain; }
.nolvit-dialog::backdrop { background: var(--nolvit-bg-scrim-strong); }
.nolvit-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 24px 32px; border-bottom: 1px solid var(--nolvit-border-subtle); }
.nolvit-dialog__body { padding: 24px 32px 32px; }
.nolvit-dialog__body > :first-child { margin-top: 0; }
/* Size chart table (a core Table block or plain HTML): subtle header row, centred values, the size column on the left. */
.nolvit-dialog__body :is(figure, .wp-block-table) { margin: 0; overflow-x: auto; }
.nolvit-dialog__body table { width: 100%; border: 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
/* The block library gives tables dark cell borders and a 3px line under the header; the longer selectors below replace them. */
.nolvit-dialog__body table thead { border: 0; }
.nolvit-dialog__body table :is(th, td) { padding: 14px 12px; border: 0; border-bottom: 1px solid var(--nolvit-border-subtle); text-align: center; vertical-align: middle; }
.nolvit-dialog__body table :is(th, td):first-child { text-align: left; }
/* The header row looks like a primary button. A Table block without "Header section" has no <thead>, so its first row is treated as the header. */
.nolvit-dialog__body table :is(th, tbody:first-child tr:first-child td) { background: var(--nolvit-button-primary-bg); color: var(--nolvit-button-primary-text); font-weight: 500; border-bottom-color: var(--nolvit-button-primary-bg); }
.nolvit-dialog__body table td { color: var(--nolvit-text-primary); }
.nolvit-dialog__body table td:first-child { font-weight: 500; }
.nolvit-dialog__body table tbody tr { transition: background-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-dialog__body table:has(thead) tbody tr:hover td, .nolvit-dialog__body table:not(:has(thead)) tbody tr:not(:first-child):hover td { background: var(--nolvit-bg-subtle); }
/* The "Stripes" block style and pasted images stay in the project look. */
.nolvit-dialog__body .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: transparent; }
.nolvit-dialog__body img { display: block; max-width: 100%; height: auto; margin: 0 auto; }

/* Product page: photo grid left, details right (stacked below 900px). */
.nolvit-product-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 24px var(--nolvit-gutter) 24px; }
.nolvit-gallery { position: relative; min-width: 0; }
.nolvit-gallery__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.nolvit-gallery__item { margin: 0; aspect-ratio: 392 / 600; overflow: hidden; background: var(--nolvit-bg-muted); }
.nolvit-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nolvit-gallery__dots { display: none; }
@media (min-width: 651px) {
    .nolvit-gallery__item:last-child:nth-child(odd):not(:only-child) { grid-column: 1 / -1; aspect-ratio: 790 / 600; }
}
/* Two-column layout only: the details column scrolls past a short photo grid that stays in view. */
@media (min-width: 901px) {
    .nolvit-gallery--sticky { position: sticky; top: 24px; }
    /* The parent theme's .l-wrap clips with overflow: hidden, which makes it the scroll container sticky looks at; clip does not. */
    .l-wrap:has(.nolvit-product-page) { overflow: clip; }
}
.nolvit-product-detail__copy { display: flex; flex-direction: column; min-width: 0; padding-top: 16px; }
.nolvit-product-detail__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.nolvit-product-detail__head > * { margin: 0; }
.nolvit-product-detail__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.nolvit-product-detail__price ins { order: -1; text-decoration: none; }
.nolvit-product-detail__price del { color: var(--nolvit-text-tertiary); }
.nolvit-product-detail__sku { color: var(--nolvit-text-tertiary); }

/* Colour and size choices: a "Колір: Шоколад" line over the options; sizes also carry the size chart link. */
.nolvit-options__group { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.nolvit-options__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nolvit-options__label { margin: 0; color: var(--nolvit-text-tertiary); }
.nolvit-options__value { color: var(--nolvit-text-primary); }
.nolvit-options { display: flex; flex-wrap: wrap; gap: 6px; }
.nolvit-variation-native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nolvit-product-detail .variations { display: block; width: 100%; margin: 0; border: 0; }
.nolvit-product-detail .variations :is(tbody, tr, th, td) { display: block; padding: 0; border: 0; }
/* Moderno prints the attribute name in a <td class="label">; the "Колір: …" line built by store.js replaces it. */
.nolvit-product-detail .variations .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nolvit-product-detail .reset_variations, .nolvit-product-detail .woocommerce-variation-description, .nolvit-product-detail .woocommerce-variation-price, .nolvit-product-detail .quantity { display: none !important; }
.nolvit-product-detail .woocommerce-variation-availability .in-stock { display: none; }
/* WooCommerce slides the variation block open even when it only holds the hidden "in stock" line, which nudges the add-to-cart row. */
.nolvit-product-detail .single_variation:not(:has(.out-of-stock, .available-on-backorder, .wc-no-matching-variations)) { display: none !important; }
.nolvit-product-detail :is(.stock, .woocommerce-variation) { margin: 0 0 16px; color: var(--nolvit-text-secondary); }

/* Add to cart row: the button takes the width, the wishlist heart is a 50px outlined square beside it. */
.nolvit-product-detail form.cart { margin: 0; }
.nolvit-product-detail :is(form.cart:not(.variations_form), .woocommerce-variation-add-to-cart) { display: flex; gap: 8px; }
.nolvit-product-detail .single_add_to_cart_button { flex: 1 1 auto; min-height: 50px; margin: 0; padding: 0 32px; border-width: 1px; border-style: solid; border-radius: 0; cursor: pointer; }
/* The parent theme stretches every non-.button child of the cart row (flex: 1 1 100%), so the heart needs the longer selector. */
.nolvit-product-detail form.cart .nolvit-wishlist-button--outlined, .nolvit-product-detail form.cart .nolvit-wishlist-button--outlined[aria-pressed="true"] { flex: 0 0 50px; width: 50px; height: 50px; border: 1px solid var(--nolvit-border-strong); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (hover: hover) {
    .nolvit-wishlist-button--outlined:hover, .nolvit-wishlist-button--outlined[aria-pressed="false"]:hover { background: var(--nolvit-button-secondary-bg-hover); }
}
.nolvit-tryon { margin-top: 8px; }
.nolvit-tryon > summary { display: flex; width: 100%; list-style: none; cursor: pointer; }
.nolvit-tryon > summary::-webkit-details-marker { display: none; }
.nolvit-tryon > summary .nolvit-icon { --nolvit-icon-size: 20px; }
.nolvit-tryon form { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 0 0; }
.nolvit-tryon .nolvit-tryon__note, .nolvit-tryon + .nolvit-tryon__note { margin: 0; color: var(--nolvit-text-secondary); }
.nolvit-tryon + .nolvit-tryon__note { margin-top: 16px; }
.nolvit-tryon form button { min-height: 50px; padding: 0 32px; border-width: 1px; border-style: solid; border-radius: 0; cursor: pointer; }

/* Text field (nolvit_field): label, a 50px input with a beige border (black on focus, red when invalid) and an error line below. */
.nolvit-field { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.nolvit-field__label { margin: 0; color: var(--nolvit-text-primary); }
.nolvit-field .nolvit-field__input, .nolvit-form-row :is(input.input-text, textarea, select) { width: 100%; min-height: 50px; margin: 0; padding: 0 16px; border: 1px solid var(--nolvit-border-subtle); border-radius: 0; background: var(--nolvit-bg-page); box-shadow: none; color: var(--nolvit-text-primary); outline: none; transition: border-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-field .nolvit-field__input::placeholder, .nolvit-form-row :is(input.input-text, textarea)::placeholder { color: var(--nolvit-text-tertiary); opacity: 1; }
/* The parent theme colours focused inputs with !important, so the focus and error borders need it too. */
.nolvit-field .nolvit-field__input:focus, .nolvit-form-row :is(input.input-text, textarea, select):focus { border-color: var(--nolvit-border-strong) !important; }
.nolvit-field .nolvit-field__input[aria-invalid="true"], .nolvit-form-row :is(input.input-text, textarea)[aria-invalid="true"] { border-color: var(--nolvit-status-error) !important; }
.nolvit-field .nolvit-field__error, .nolvit-form-row__error, .nolvit-form-row .checkout-inline-error-message { margin: 0; color: var(--nolvit-status-error); }
.nolvit-field .nolvit-field__error[hidden] { display: none; }
/* Browser autofill keeps the field's own colours instead of the yellow fill: Chrome and Safari ignore a background colour
   there, so an inset shadow covers it; Firefox tints autofilled fields with a filter. Dark areas set the two variables. */
:is(input, textarea, select):is(:-webkit-autofill, :autofill) { -webkit-box-shadow: 0 0 0 1000px var(--nolvit-autofill-bg, var(--nolvit-bg-page)) inset !important; box-shadow: 0 0 0 1000px var(--nolvit-autofill-bg, var(--nolvit-bg-page)) inset !important; -webkit-text-fill-color: var(--nolvit-autofill-text, var(--nolvit-text-primary)); caret-color: var(--nolvit-autofill-text, var(--nolvit-text-primary)); filter: none; transition: background-color 600000s 0s, color 600000s 0s; }
.nolvit-footer { --nolvit-autofill-bg: var(--nolvit-bg-inverse); --nolvit-autofill-text: var(--nolvit-text-inverse); }
.nolvit-field__control { position: relative; }
.nolvit-field__control .nolvit-field__input { padding-right: 48px; }
.nolvit-field__reveal { position: absolute; top: 50%; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--nolvit-icon-secondary); cursor: pointer; transform: translateY(-50%); }
.nolvit-field__reveal .nolvit-icon { --nolvit-icon-size: 20px; }
.nolvit-field__reveal:hover { color: var(--nolvit-text-primary); }
.nolvit-field__hint { margin: 0; color: var(--nolvit-text-tertiary); }
.nolvit-field:has(.nolvit-field__error:not([hidden])) .nolvit-field__hint { display: none; }
.nolvit-field__reveal:focus-visible { outline: 1px solid var(--nolvit-button-focus-ring); outline-offset: -2px; }
.nolvit-form-row__error { margin: 0; color: var(--nolvit-status-error); }
.nolvit-choices__error { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--nolvit-status-error); }
.nolvit-choices__error .nolvit-icon { --nolvit-icon-size: 16px; }
.nolvit-checkout__section > .nolvit-choices__error { margin-top: -16px; }
.nolvit-choices__error[hidden], .nolvit-consent__error[hidden] { display: none; }
.nolvit-consent__error { margin: 0; color: var(--nolvit-status-error); }
.nolvit-check input[aria-invalid="true"] + .nolvit-check__box { border-color: var(--nolvit-status-error); }
/* WooCommerce form rows (checkout, account): same look as .nolvit-field. Labels get the badge style; "(необов’язково)" is hidden. */
.nolvit-form-row { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.nolvit-form-row > label { display: block; margin: 0; color: var(--nolvit-text-primary); }
.nolvit-form-row > label .required { border: 0; color: inherit; text-decoration: none; }
.nolvit-form-row > label .optional { display: none; }
.nolvit-form-row .woocommerce-input-wrapper { display: block; }
.nolvit-form-row.woocommerce-validated :is(input.input-text, textarea, select) { background-image: none; }
.nolvit-form-row textarea.input-text { height: 104px; min-height: 104px; padding: 16px; resize: vertical; }
.nolvit-form-row:has(> .woocommerce-input-wrapper > input[type="hidden"]), .nolvit-form-row:has(.country_to_state--single) { display: none; }

/* Tabs: equal-width tabs over a thin line; the active one sits on a beige plate with a black underline. */
.nolvit-tabs { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; }
html body .nolvit-tabs__tab { height: 52px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--nolvit-border-subtle); background: none; color: var(--nolvit-text-secondary); cursor: pointer; transition: color var(--nolvit-motion) var(--nolvit-ease), background-color var(--nolvit-motion) var(--nolvit-ease); }
html body .nolvit-tabs__tab:hover { color: var(--nolvit-text-primary); }
html body .nolvit-tabs__tab[aria-selected="true"] { border-bottom: 2px solid var(--nolvit-border-strong); background: var(--nolvit-bg-subtle); color: var(--nolvit-text-primary); }
.nolvit-tabs__tab:focus-visible { outline: 1px solid var(--nolvit-button-focus-ring); outline-offset: -1px; }

/* Choice card: a radio row (label + note or price) in a thin frame, black when chosen. A card can hold a panel
   (.nolvit-collapse > .nolvit-choice__body) that opens smoothly when the radio is chosen: delivery fields, payment notes. */
.nolvit-choices { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nolvit-choices > li { margin: 0; padding: 0; }
.nolvit-choice { position: relative; padding: 8px 20px; border: 1px solid var(--nolvit-border-subtle); background: var(--nolvit-bg-page); transition: border-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-choice:has(> .nolvit-choice__head input:checked) { border-color: var(--nolvit-border-strong); }
.nolvit-choice__head { display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; }
html body .nolvit-choice input.nolvit-choice__input { position: absolute !important; display: block !important; width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; clip-path: inset(50%); -webkit-appearance: none; appearance: none; }
.nolvit-choice__radio { position: relative; flex: none; width: 20px; height: 20px; border: 1px solid var(--nolvit-border-default); border-radius: 50%; background: var(--nolvit-bg-page); transition: border-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-choice__radio::after { position: absolute; inset: 4px; border-radius: 50%; content: ''; background: var(--nolvit-bg-inverse); transform: scale(0); transition: transform var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-choice__input:checked + .nolvit-choice__radio { border-color: var(--nolvit-border-strong); }
.nolvit-choice__input:checked + .nolvit-choice__radio::after { transform: scale(1); }
html:not(.nolvit-pointer) .nolvit-choice__input:focus-visible + .nolvit-choice__radio { outline: 1px solid var(--nolvit-button-focus-ring); outline-offset: 2px; }
.nolvit-choice__label { flex: 1; color: var(--nolvit-text-primary); }
.nolvit-choice__price { color: var(--nolvit-text-tertiary); }
.nolvit-choice__body { display: flex; flex-direction: column; gap: 16px; padding: 4px 0 12px 32px; }
.nolvit-choice__note { margin: 0; color: var(--nolvit-text-tertiary); }
/* The open panel lets a dropdown reach beyond the card; while it animates the content stays clipped. */
@keyframes nolvit-open-overflow { to { overflow: visible; } }
.nolvit-choice:has(> .nolvit-choice__head input:checked) > .nolvit-collapse > .nolvit-collapse__inner { animation: nolvit-open-overflow 0s linear var(--nolvit-motion) forwards; }

/* Combobox (store.js enhanceSelect): a 50px field that opens a list under it; a search row for long lists.
   Selected row is beige with a check; the scrollbar is a thin gold line. On mobile the list is a bottom sheet. */
.nolvit-select { position: relative; width: 100%; }
html body .nolvit-select .nolvit-select__native { position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.nolvit-select__trigger { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--nolvit-border-subtle); border-radius: 0; background: var(--nolvit-bg-page); color: var(--nolvit-text-tertiary); text-align: left; cursor: pointer; transition: border-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-select.is-filled .nolvit-select__trigger { color: var(--nolvit-text-primary); }
.nolvit-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nolvit-select__trigger .nolvit-icon { --nolvit-icon-size: 16px; color: var(--nolvit-icon-primary); transition: transform var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-select.is-open .nolvit-select__trigger, .nolvit-select__trigger:focus-visible { border-color: var(--nolvit-border-strong); outline: none; }
.nolvit-select.is-open .nolvit-select__trigger .nolvit-icon { transform: rotate(180deg); }
.nolvit-select__trigger:disabled { background: var(--nolvit-bg-subtle); cursor: not-allowed; }
.nolvit-form-row:has(select[aria-invalid="true"]) .nolvit-select__trigger { border-color: var(--nolvit-status-error); }
.nolvit-select__panel { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; display: flex; flex-direction: column; width: 100%; max-height: 254px; overflow: hidden; border: 1px solid var(--nolvit-border-strong); background: var(--nolvit-bg-page); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--nolvit-motion) var(--nolvit-ease), transform var(--nolvit-motion) var(--nolvit-ease), visibility 0s linear var(--nolvit-motion); }
.nolvit-select.is-open .nolvit-select__panel { opacity: 1; visibility: visible; transform: none; transition: opacity var(--nolvit-motion) var(--nolvit-ease), transform var(--nolvit-motion) var(--nolvit-ease), visibility 0s; }
.nolvit-select__head { display: none; }
.nolvit-select__search { display: none; flex: none; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--nolvit-border-subtle); }
.nolvit-select.has-search .nolvit-select__search { display: flex; }
.nolvit-select__search .nolvit-icon { --nolvit-icon-size: 16px; color: var(--nolvit-icon-secondary); }
html body .nolvit-select__search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; box-shadow: none; color: var(--nolvit-text-primary); outline: none; -webkit-appearance: none; appearance: none; }
.nolvit-select__search input::placeholder { color: var(--nolvit-text-tertiary); opacity: 1; }
.nolvit-select__search input::-webkit-search-cancel-button { display: none; }
.nolvit-select__clear { display: grid; place-items: center; flex: none; padding: 0; border: 0; background: none; color: var(--nolvit-icon-secondary); cursor: pointer; }
.nolvit-select__clear[hidden] { display: none; }
.nolvit-select__clear:hover { color: var(--nolvit-icon-primary); }
.nolvit-select__clear:focus-visible { outline: 2px solid var(--nolvit-button-focus-ring); outline-offset: 2px; }
.nolvit-select__option strong { color: var(--nolvit-text-primary); font-weight: 600; }
.nolvit-select__list { flex: 1; min-height: 0; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; scrollbar-color: var(--nolvit-icon-accent) transparent; }
.nolvit-select__list::-webkit-scrollbar { width: 3px; }
.nolvit-select__list::-webkit-scrollbar-thumb { border-radius: 2px; background: var(--nolvit-icon-accent); }
.nolvit-select__option, .nolvit-select__empty { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 45px; margin: 0; padding: 12px 16px; color: var(--nolvit-text-secondary); cursor: pointer; transition: color var(--nolvit-motion) var(--nolvit-ease), background-color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-select__option:hover, .nolvit-select__option:focus-visible { color: var(--nolvit-text-primary); outline: none; }
.nolvit-select__option:focus-visible { background: var(--nolvit-bg-subtle); }
.nolvit-select__option[aria-selected="true"] { background: var(--nolvit-bg-subtle); color: var(--nolvit-text-primary); }
.nolvit-select__option .nolvit-icon { --nolvit-icon-size: 16px; color: var(--nolvit-icon-primary); opacity: 0; }
.nolvit-select__option[aria-selected="true"] .nolvit-icon { opacity: 1; }
.nolvit-select__empty { color: var(--nolvit-text-tertiary); cursor: default; }
.nolvit-select__option[hidden], .nolvit-select__empty[hidden] { display: none; }

/* Checkout: simple header, form on the left, the order on the right (on mobile: lines on top, totals at the bottom). */
.nolvit-checkout-header { display: flex; justify-content: space-between; align-items: center; height: 82px; padding: 20px var(--nolvit-page-gutter); border-bottom: 1px solid var(--nolvit-border-subtle); background: var(--nolvit-bg-page); }
.nolvit-checkout-header > :first-child, .nolvit-checkout-header > :last-child { flex: 1; }
.nolvit-checkout-header > :last-child { justify-content: flex-end; }
.nolvit-checkout-header__back, .nolvit-checkout-header__phone { display: flex; align-items: center; gap: 8px; color: var(--nolvit-text-secondary); text-decoration: none; transition: color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-checkout-header__back:hover, .nolvit-checkout-header__phone:hover { color: var(--nolvit-text-primary); }
.nolvit-checkout-header__back .nolvit-icon { --nolvit-icon-size: 16px; }
.nolvit-checkout-header__phone .nolvit-icon { --nolvit-icon-size: 18px; }
.nolvit-icon--phone { --nolvit-icon-src: url('assets/icons/phone.svg'); }
.nolvit-icon--eye { --nolvit-icon-src: url('assets/icons/eye.svg'); }
.nolvit-icon--download { --nolvit-icon-src: url('assets/icons/download.svg'); }
.nolvit-icon--clock { --nolvit-icon-src: url('assets/icons/clock.svg'); }
.nolvit-icon--info { --nolvit-icon-src: url('assets/icons/info.svg'); }
.nolvit-icon--eye-off { --nolvit-icon-src: url('assets/icons/eye-off.svg'); }
.nolvit-checkout-page { padding: 48px var(--nolvit-page-gutter) 80px; }
.nolvit-checkout { display: grid; grid-template-columns: minmax(0, 676fr) minmax(0, 563fr); grid-template-areas: "head order" "main order" "main totals" "main ."; grid-template-rows: auto auto auto 1fr; column-gap: clamp(40px, 8.4vw, 160px); }
.nolvit-checkout__form { display: contents; }
.nolvit-checkout__head { grid-area: head; display: flex; flex-direction: column; gap: 32px; padding-bottom: 40px; }
.nolvit-checkout__head h1 { margin: 0; }
.nolvit-checkout__main, .nolvit-checkout__login { grid-area: main; display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.nolvit-checkout__main[hidden], .nolvit-checkout__login[hidden] { display: none; }
.nolvit-checkout__section { display: flex; flex-direction: column; gap: 24px; }
.nolvit-checkout__title { margin: 0; color: var(--nolvit-text-primary); }
.nolvit-checkout__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 6px; }
.nolvit-checkout__fields .form-row-wide { grid-column: 1 / -1; }
.nolvit-checkout__fields:empty { display: none; }
.nolvit-checkout__empty { margin: 0; color: var(--nolvit-text-secondary); }
.nolvit-checkout__order, .nolvit-checkout__totals { background: var(--nolvit-bg-subtle); }
.nolvit-checkout__order { grid-area: order; align-self: start; display: flex; flex-direction: column; gap: 24px; padding: 32px 32px 24px; }
.nolvit-checkout__order-toggle, .nolvit-checkout__totals-heading { display: none; }
.nolvit-checkout__order-heading { margin: 0; color: var(--nolvit-text-primary); }
.nolvit-checkout__lines { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nolvit-checkout__collapse { display: block; visibility: visible; }
.nolvit-checkout__collapse-inner { display: flex; flex-direction: column; gap: 24px; overflow: visible; }
.nolvit-checkout__totals { grid-area: totals; align-self: start; display: flex; flex-direction: column; gap: 24px; padding: 0 32px 32px; }
.nolvit-checkout__review { display: flex; flex-direction: column; gap: 20px; }
.nolvit-checkout__progress { display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.nolvit-checkout__progress.is-free .nolvit-cart-panel__progress span { background: var(--nolvit-status-success); }
html body .nolvit-choices__none { display: none !important; }
.nolvit-checkout__sums { display: flex; flex-direction: column; gap: 12px; margin: 0; padding-top: 16px; border-top: 1px solid var(--nolvit-border-subtle); }
.nolvit-checkout__sum { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nolvit-checkout__sum dt { color: var(--nolvit-text-secondary); }
.nolvit-checkout__sum dd { margin: 0; color: var(--nolvit-text-primary); }
.nolvit-checkout__sum--total dt { color: var(--nolvit-text-primary); }
.nolvit-checkout__free { color: var(--nolvit-status-success); }
/* A checkbox with its error line 8px below (checkout offer, wholesale consent). */
.nolvit-consent { display: flex; flex-direction: column; }
.nolvit-checkout__terms { padding: 8px 0; }
.nolvit-checkout__terms a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.nolvit-checkout__submit { width: 100%; }
.nolvit-checkout__hint { margin: -12px 0 0; color: var(--nolvit-text-tertiary); text-align: center; }
.nolvit-checkout__hint[hidden] { display: none; }
.nolvit-checkout__hint.is-error { color: var(--nolvit-status-error); }
.nolvit-checkout .blockUI.blockOverlay { background: transparent !important; }
.nolvit-checkout .woocommerce-NoticeGroup { grid-column: 1; }
.nolvit-checkout__login { gap: 24px; }
.nolvit-checkout__login-intro { display: flex; flex-direction: column; gap: 8px; }
.nolvit-checkout__login-intro > * { margin: 0; }
.nolvit-checkout__login-intro p { color: var(--nolvit-text-secondary); }
.nolvit-login-form { display: flex; flex-direction: column; gap: 24px; margin: 0; }
.nolvit-login-form__fields { display: flex; flex-direction: column; gap: 20px; }
.nolvit-login-form__password { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.nolvit-login-form .nolvit-button { width: 100%; }
.nolvit-checkout__user { display: flex; align-items: center; gap: 8px; padding: 16px 20px; background: var(--nolvit-bg-subtle); color: var(--nolvit-text-primary); }
.nolvit-checkout__user .nolvit-icon { --nolvit-icon-size: 20px; }
.nolvit-checkout__user .nolvit-text-link { margin-left: auto; }
/* Thank-you page (woocommerce/checkout/thankyou.php). */
.nolvit-checkout-page:has(.nolvit-thankyou) { padding: 0; }
.nolvit-thankyou { display: flex; flex-direction: column; align-items: center; gap: 48px; padding: 80px var(--nolvit-page-gutter) 120px; }
.nolvit-thankyou__intro { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.nolvit-thankyou__intro h1 { margin: 0; color: var(--nolvit-text-primary); }
.nolvit-thankyou__intro p { max-width: 560px; margin: -8px 0 0; color: var(--nolvit-text-secondary); }
.nolvit-thankyou__mark { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--nolvit-bg-subtle); color: var(--nolvit-icon-primary); }
.nolvit-thankyou__mark .nolvit-icon { --nolvit-icon-size: 32px; }
.nolvit-thankyou__facts, .nolvit-thankyou__body, .nolvit-thankyou__extra { width: min(905px, 100%); }
.nolvit-thankyou__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 24px 0; border-top: 1px solid var(--nolvit-border-subtle); border-bottom: 1px solid var(--nolvit-border-subtle); }
.nolvit-thankyou__facts > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nolvit-thankyou__facts dt { color: var(--nolvit-text-tertiary); }
.nolvit-thankyou__facts dd { margin: 0; color: var(--nolvit-text-primary); }
.nolvit-thankyou__body { display: flex; align-items: flex-start; gap: 40px; }
.nolvit-thankyou__info { display: flex; flex: 1; flex-direction: column; gap: 24px; min-width: 0; }
.nolvit-thankyou__section { display: flex; flex-direction: column; gap: 16px; }
.nolvit-thankyou__section--ruled { padding-top: 24px; border-top: 1px solid var(--nolvit-border-subtle); }
.nolvit-thankyou__title { margin: 0; color: var(--nolvit-text-primary); }
.nolvit-thankyou__steps { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: nolvit-step; }
.nolvit-thankyou__step { display: flex; align-items: center; gap: 12px; counter-increment: nolvit-step; }
.nolvit-thankyou__step::before { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border: 1px solid var(--nolvit-border-strong); border-radius: 50%; color: var(--nolvit-text-primary); content: counter(nolvit-step); }
.nolvit-thankyou__step > div { display: flex; flex-direction: column; gap: 6px; }
.nolvit-thankyou__step p, .nolvit-thankyou__lines p { margin: 0; }
.nolvit-thankyou__step-title { color: var(--nolvit-text-primary); }
.nolvit-thankyou__step-text, .nolvit-thankyou__lines p { color: var(--nolvit-text-secondary); }
.nolvit-thankyou__lines { display: flex; flex-direction: column; gap: 12px; }
/* woocommerce-order-details is kept on the card for WooCommerce hooks and tests; Moderno gives that class a bottom margin. */
html body .nolvit-thankyou__order.woocommerce-order-details { margin: 0; }
.nolvit-thankyou__order { display: flex; flex: none; flex-direction: column; gap: 24px; width: 449px; padding: 32px; background: var(--nolvit-bg-subtle); }
.nolvit-thankyou__items { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.nolvit-thankyou__item { display: flex; gap: 16px; }
.nolvit-thankyou__image { flex: none; width: 64px; height: 86px; overflow: hidden; background: var(--nolvit-bg-muted); }
.nolvit-thankyou__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nolvit-thankyou__item-info { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 8px; min-width: 0; }
.nolvit-thankyou__item-info p { margin: 0; }
.nolvit-thankyou__item-name { color: var(--nolvit-text-primary); }
.nolvit-thankyou__item-name a { color: inherit; text-decoration: none; }
.nolvit-thankyou__item-options { margin-top: 4px !important; color: var(--nolvit-text-secondary); white-space: pre-wrap; }
.nolvit-thankyou__item-price { color: var(--nolvit-text-primary); }
.nolvit-thankyou__note { margin: -12px 0 0; color: var(--nolvit-text-secondary); }
.nolvit-thankyou__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nolvit-thankyou__actions .nolvit-icon { --nolvit-icon-size: 20px; }
/* Moderno styles button#place_order by id (accent hover, a 2px shift, no focus ring): the button states from the design win here. */
html body button#place_order.nolvit-checkout__submit { transform: none; }
html body button#place_order.nolvit-checkout__submit:not(:disabled):hover { border-color: var(--nolvit-button-primary-bg-hover); background: var(--nolvit-button-primary-bg-hover); }
html body button#place_order.nolvit-checkout__submit:not(:disabled):active { border-color: var(--nolvit-button-primary-bg-pressed); background: var(--nolvit-button-primary-bg-pressed); }
html body button#place_order.nolvit-checkout__submit:focus-visible { outline: 2px solid var(--nolvit-button-focus-ring); outline-offset: -1px; }

/* Notice: one message bar for the whole store. nolvit_notice() renders it; WooCommerce's own messages (added to cart, errors, info) are restyled to match. */
html body .nolvit-notice, html body .woocommerce-message, html body .woocommerce-info, html body .woocommerce-error { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; margin: 0 0 16px; padding: 16px 20px; text-align: left; border: 0; border-radius: 0; background: var(--nolvit-bg-accent); color: var(--nolvit-text-primary); list-style: none; box-shadow: none; }
html body .nolvit-notice::before, html body .woocommerce-message::before, html body .woocommerce-info::before, html body .woocommerce-error::before { content: ''; position: static; flex: none; display: block; width: 20px; height: 20px; margin: 0; background-color: currentColor; -webkit-mask: url('assets/icons/check.svg') center / contain no-repeat; mask: url('assets/icons/check.svg') center / contain no-repeat; font: inherit; }
html body .nolvit-notice--error::before, html body .woocommerce-error::before, html body .woocommerce-notices-wrapper--ajax .woocommerce-notice:has(.woocommerce-notice-error-svg, .woocommerce-notice-info-svg)::before { width: 24px; height: 24px; background-color: var(--nolvit-icon-primary); -webkit-mask-image: url('assets/icons/alert.svg'); mask-image: url('assets/icons/alert.svg'); }
html body .woocommerce-info::before { display: none; }
html body .nolvit-notice__text, html body .woocommerce-error li { margin: 0; }
html body .woocommerce-error li { padding: 0; }
html body .nolvit-product-detail .nolvit-notice { margin: 16px 0 0; }
/* Pop-up toast (Moderno's ajax "added to cart" bubble): same bar as the notice, floating top right. */
html body .woocommerce-notices-wrapper--ajax { top: 24px; right: 24px; width: min(420px, calc(100vw - 32px)); }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notice { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 52px 16px 20px; border: 0; border-radius: 0; background: var(--nolvit-bg-accent); box-shadow: none; color: var(--nolvit-text-primary); font: var(--nolvit-font-body-s); letter-spacing: 0; }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notice { animation: nolvit-toast-in .35s ease-out; }
@keyframes nolvit-toast-in { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html body .woocommerce-notices-wrapper--ajax .woocommerce-notice { animation: none; } }
html body .woocommerce-notices-wrapper--ajax :is(.woocommerce-notice-success-svg, .woocommerce-notice-error-svg, .woocommerce-notice-info-svg, .woocommerce-notice-close-svg) { display: none; }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notice:has(.woocommerce-notice-error-svg) .wc-forward { display: none; }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notice::before { content: ''; flex: none; width: 20px; height: 20px; background-color: currentColor; -webkit-mask: url('assets/icons/check.svg') center / contain no-repeat; mask: url('assets/icons/check.svg') center / contain no-repeat; }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notice:has(.woocommerce-notice-error-svg, .woocommerce-notice-info-svg)::before { width: 24px; height: 24px; -webkit-mask-image: url('assets/icons/alert.svg'); mask-image: url('assets/icons/alert.svg'); }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notices-atc-wrap { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 4px; margin: 0; text-align: center; }
html body .woocommerce-message .button, html body .woocommerce-info .button { display: none; }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notices-atc-wrap a.button.wc-forward { min-height: 0; margin: 0; padding: 0; border: 0; background: none; color: var(--nolvit-text-primary); font: var(--nolvit-font-body-s); letter-spacing: 0; text-align: center; text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 6px; text-transform: none; white-space: nowrap; }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notices-atc-wrap a.button.wc-forward:hover { color: var(--nolvit-text-secondary); }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notice-close { opacity: 1; position: absolute; top: 50%; right: 16px; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0; padding: 0; border: 0; background: none; transform: translateY(-50%); cursor: pointer; }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notice-close::before { content: ''; width: 20px; height: 20px; background-color: var(--nolvit-icon-primary); -webkit-mask: url('assets/icons/close.svg') center / contain no-repeat; mask: url('assets/icons/close.svg') center / contain no-repeat; }
html body .woocommerce-notices-wrapper--ajax .woocommerce-notice-close:hover::before { background-color: var(--nolvit-icon-secondary); }
html body .nolvit-product-detail form.cart .added_to_cart, html body .nolvit-card .added_to_cart { display: none; }
.nolvit-product-detail__shipping { display: flex; align-items: center; gap: 8px; margin: 24px 0 0; color: var(--nolvit-text-secondary); }
.nolvit-product-detail__shipping .nolvit-icon { --nolvit-icon-size: 20px; color: var(--nolvit-icon-secondary); }
.nolvit-product-detail .nolvit-accordion { margin-top: 24px; }

/* Composition: heading, a proportional bar and a list with percentages. */
.nolvit-composition { display: flex; flex-direction: column; gap: 16px; }
.nolvit-composition + .nolvit-composition { margin-top: 24px; }
.nolvit-composition > * { margin: 0; }
.nolvit-composition__title, .nolvit-composition__text { color: var(--nolvit-text-secondary); }
.nolvit-composition__bar { display: flex; gap: 2px; height: 4px; }
.nolvit-composition__bar span { min-width: 2px; background: var(--nolvit-bg-inverse); }
.nolvit-composition__bar span:nth-child(2), .nolvit-composition__list li:nth-child(2) .nolvit-composition__name::before { background: var(--nolvit-icon-secondary); }
.nolvit-composition__bar span:nth-child(3), .nolvit-composition__list li:nth-child(3) .nolvit-composition__name::before { background: var(--nolvit-border-default); }
.nolvit-composition__bar span:nth-child(4), .nolvit-composition__list li:nth-child(4) .nolvit-composition__name::before { background: var(--nolvit-neutral-300); }
.nolvit-composition__bar span:nth-child(n+5), .nolvit-composition__list li:nth-child(n+5) .nolvit-composition__name::before { background: var(--nolvit-bg-accent); }
.nolvit-composition__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nolvit-composition__list li { display: flex; align-items: center; gap: 8px; }
.nolvit-composition__name { display: flex; flex: 1 1 auto; align-items: center; gap: 8px; color: var(--nolvit-text-secondary); }
.nolvit-composition__name::before { flex: none; width: 8px; height: 8px; border-radius: 50%; content: ''; background: var(--nolvit-bg-inverse); }
.nolvit-composition__percent { color: var(--nolvit-text-primary); }
.nolvit-product-page .nolvit-section { padding-bottom: 80px; }
.nolvit-account-page .woocommerce { max-width: 1100px; }
.nolvit-account-page .woocommerce form.login, .nolvit-account-page .woocommerce form.register { padding: 30px; border: 1px solid var(--nolvit-border-subtle); border-radius: 0; }
.nolvit-account-page .woocommerce input.input-text { width: 100%; padding: 13px; border: 1px solid var(--nolvit-border-default); border-radius: 0; }
.nolvit-account-page .woocommerce button.button { padding: 14px 22px; border: 0; border-radius: 0; }
.nolvit-primary-link { display: inline-block; padding: 15px 20px; text-decoration: none; }
.nolvit-info-page__content { max-width: 800px; min-height: 250px; }
.nolvit-stores-page__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.nolvit-stores-page__grid article { padding: 0 0 20px; background: var(--nolvit-bg-subtle); }
.nolvit-stores-page__grid article > :not(.nolvit-stores-page__image) { margin-left: 20px; margin-right: 20px; }
.nolvit-stores-page__image { position: relative; display: grid; place-items: center; height: 220px; overflow: hidden; margin-bottom: 25px; background: linear-gradient(140deg, var(--nolvit-bg-muted), var(--nolvit-bg-accent)); color: var(--nolvit-text-inverse); font: 48px var(--nolvit-serif); }
.nolvit-stores-page__image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.nolvit-stores-page__directions { margin: 0 20px; }
.nolvit-stores-page__directions p { margin: 0 0 15px; }
@media (max-width: 900px) {
    .nolvit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nolvit-stores-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Wholesale account states: "Гурт" tag, retail price next to the wholesale one, the bar under the header, product label. */
.nolvit-tag { display: inline-flex; padding: 2px 6px; outline: 1px solid var(--nolvit-text-accent); outline-offset: -1px; color: var(--nolvit-text-accent); }
.nolvit-header__account:has(.nolvit-tag) { display: inline-flex; width: auto; gap: 6px; }
.nolvit-drawer__row:has(.nolvit-tag) { justify-content: flex-start; gap: 12px; }
.nolvit-price__retail { color: var(--nolvit-text-tertiary); white-space: nowrap; }
.nolvit-card__price .nolvit-price__retail, .nolvit-product-detail__price .nolvit-price__retail { align-self: baseline; }
.nolvit-product-detail__price:has(.nolvit-price--wholesale) { column-gap: 12px; align-items: center; }
.nolvit-product-detail__label { color: var(--nolvit-text-accent); }
.nolvit-cart-item__amounts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.nolvit-cart-item__retail { margin: 0; color: var(--nolvit-text-tertiary); white-space: nowrap; }
.nolvit-wholesale-notice { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--nolvit-page-gutter); background: var(--nolvit-bg-subtle); color: var(--nolvit-text-primary); }
.nolvit-wholesale-notice__message { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; }
.nolvit-wholesale-notice__message p { margin: 0; }
.nolvit-wholesale-notice .nolvit-icon { --nolvit-icon-size: 20px; }
.nolvit-wholesale-notice__close { display: grid; flex: none; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--nolvit-icon-secondary); cursor: pointer; transition: color var(--nolvit-motion) var(--nolvit-ease); }
.nolvit-wholesale-notice__close:hover { color: var(--nolvit-text-primary); }
.nolvit-wholesale-notice__close:focus-visible { outline: 1px solid var(--nolvit-button-focus-ring); outline-offset: 2px; }
.nolvit-checkout__wholesale { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--nolvit-status-success); }
.nolvit-checkout__wholesale .nolvit-icon { --nolvit-icon-size: 16px; }
.nolvit-checkout__wholesale--order { margin-top: -8px; }
.nolvit-checkout__wholesale--totals { display: none; }
/* Account login and registration (woocommerce/myaccount/form-login.php). */
.nolvit-auth-page { padding: 48px var(--nolvit-page-gutter) 80px; }
.nolvit-auth { display: flex; flex-direction: column; gap: 40px; width: min(678px, 100%); margin: 0 auto; }
.nolvit-auth__panel { display: flex; flex-direction: column; gap: 24px; }
.nolvit-auth__panel[hidden] { display: none; }
.nolvit-auth__intro { display: flex; flex-direction: column; gap: 12px; text-align: center; }
.nolvit-auth__intro > *, .nolvit-auth__partner-text > * { margin: 0; }
.nolvit-auth__intro h2 { color: var(--nolvit-text-primary); }
.nolvit-auth__lead { color: var(--nolvit-text-secondary); }
.nolvit-auth__partner { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 32px 24px; background: var(--nolvit-bg-subtle); text-align: center; }
.nolvit-auth__partner-text { display: flex; flex-direction: column; gap: 8px; }
.nolvit-auth__partner-title { color: var(--nolvit-text-primary); }
.nolvit-auth .nolvit-consent .nolvit-check__label a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* A secondary button on a beige (bg-subtle) surface: the hover of the button table (beige-50) equals the surface, so the hover is white. */
.nolvit-on-subtle .nolvit-button--secondary:hover { background: var(--nolvit-bg-page); }
.nolvit-on-subtle .nolvit-button--secondary:active { background: var(--nolvit-button-secondary-bg-pressed); }
/* Wholesale page (page-wholesale.php): hero, terms, steps with the application form, manager and catalogs. */
.nolvit-wholesale-page .nolvit-kicker { margin: 0 0 6px; }
.nolvit-wholesale-page :is(h1, h2, h3, p, ul, ol) { margin-top: 0; margin-bottom: 0; }
.nolvit-wholesale-page :is(ul, ol) { padding: 0; list-style: none; }
.nolvit-wholesale-hero { display: grid; grid-template-columns: minmax(0, 563fr) minmax(0, 677fr); align-items: center; gap: 40px clamp(40px, 8.4vw, 160px); padding: 48px var(--nolvit-page-gutter); }
.nolvit-wholesale-hero__text { display: flex; flex-direction: column; gap: 24px; }
.nolvit-wholesale-hero__lead { margin-top: -8px; color: var(--nolvit-text-secondary); }
.nolvit-wholesale-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.nolvit-wholesale-hero__login { color: var(--nolvit-text-secondary); }
.nolvit-wholesale-hero__image { display: block; width: 100%; height: auto; aspect-ratio: 677 / 447; object-fit: cover; }
.nolvit-wholesale-terms { display: flex; flex-direction: column; gap: 40px; padding: 80px var(--nolvit-page-gutter); background: var(--nolvit-bg-subtle); }
.nolvit-wholesale-terms__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.nolvit-wholesale-terms__item { display: flex; flex-direction: column; gap: 12px; padding: 32px 24px; background: var(--nolvit-bg-page); }
.nolvit-wholesale-terms__number { color: var(--nolvit-text-accent); }
.nolvit-wholesale-terms__name { color: var(--nolvit-text-primary); }
.nolvit-wholesale-terms__text { margin-top: -4px !important; color: var(--nolvit-text-secondary); }
.nolvit-wholesale-apply { display: grid; grid-template-columns: minmax(0, 563fr) minmax(0, 677fr); grid-template-rows: auto auto 1fr; grid-template-areas: "intro form" "manager form" "catalogs form"; column-gap: clamp(40px, 8.4vw, 160px); row-gap: 40px; padding: 96px var(--nolvit-page-gutter) 120px; }
.nolvit-wholesale-apply__intro { grid-area: intro; display: flex; flex-direction: column; gap: 40px; }
.nolvit-wholesale-apply__manager { grid-area: manager; }
.nolvit-wholesale-apply__catalogs { grid-area: catalogs; align-self: start; }
.nolvit-wholesale-steps { display: flex; flex-direction: column; gap: 20px; counter-reset: nolvit-wholesale-step; }
.nolvit-wholesale-steps__item { display: flex; align-items: center; gap: 12px; counter-increment: nolvit-wholesale-step; }
.nolvit-wholesale-steps__item::before { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border: 1px solid var(--nolvit-border-strong); border-radius: 50%; color: var(--nolvit-text-primary); content: counter(nolvit-wholesale-step); }
.nolvit-wholesale-steps__item > div { display: flex; flex-direction: column; gap: 4px; }
.nolvit-wholesale-steps__title { color: var(--nolvit-text-primary); }
.nolvit-wholesale-steps__text { color: var(--nolvit-text-secondary); }
.nolvit-wholesale-block { display: flex; flex-direction: column; gap: 16px; }
.nolvit-wholesale-block__title { color: var(--nolvit-text-primary); }
.nolvit-wholesale-block__list { display: flex; flex-direction: column; gap: 8px; }
.nolvit-wholesale-row { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border: 1px solid var(--nolvit-border-subtle); background: var(--nolvit-bg-page); color: inherit; text-decoration: none; transition: border-color var(--nolvit-motion) var(--nolvit-ease); }
a.nolvit-wholesale-row:hover { border-color: var(--nolvit-border-strong); }
a.nolvit-wholesale-row:focus-visible { outline: 1px solid var(--nolvit-button-focus-ring); outline-offset: 2px; }
.nolvit-wholesale-row__avatar { display: grid; flex: none; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--nolvit-bg-subtle); color: var(--nolvit-text-accent); }
.nolvit-wholesale-row__image { flex: none; width: 56px; height: 72px; object-fit: cover; background: var(--nolvit-bg-muted); }
.nolvit-wholesale-row__info { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.nolvit-wholesale-row__name { color: var(--nolvit-text-primary); }
.nolvit-wholesale-row__meta { color: var(--nolvit-text-tertiary); }
.nolvit-wholesale-row__icon { --nolvit-icon-size: 20px; color: var(--nolvit-icon-primary); }
.nolvit-wholesale-card { grid-area: form; grid-row: 1 / -1; align-self: start; display: flex; flex-direction: column; gap: 24px; padding: 40px; background: var(--nolvit-bg-subtle); scroll-margin-top: 24px; }
.nolvit-wholesale-card__title { color: var(--nolvit-text-primary); }
.nolvit-wholesale-card__note { margin-top: -8px !important; color: var(--nolvit-text-secondary); }
.nolvit-wholesale-form { display: flex; flex-direction: column; gap: 24px; }
.nolvit-wholesale-form__fields { display: flex; flex-direction: column; gap: 20px; }
.nolvit-wholesale-form__submit { display: flex; flex-direction: column; gap: 12px; }
.nolvit-wholesale-form__submit .nolvit-button { width: 100%; }
.nolvit-wholesale-form__hint { color: var(--nolvit-text-tertiary); text-align: center; }
.nolvit-wholesale-form__hint.is-error { color: var(--nolvit-status-error); }
.nolvit-wholesale-card--done { padding: 80px 40px; }
.nolvit-wholesale-card__done { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.nolvit-wholesale-card__message { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 449px; }
.nolvit-wholesale-card__message > * { margin: 0; }
.nolvit-wholesale-card__message h2 { color: var(--nolvit-text-primary); }
.nolvit-wholesale-card__message p { color: var(--nolvit-text-secondary); }
.nolvit-wholesale-card__done .nolvit-thankyou__mark { margin-bottom: -8px; background: var(--nolvit-bg-page); }
.nolvit-wholesale-consent__short { display: none; }
.nolvit-field textarea.nolvit-field__input { min-height: 94px; padding: 12px 16px; resize: vertical; }
@media (max-width: 1100px) {
    .nolvit-wholesale-apply { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
    .nolvit-wholesale-terms__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .nolvit-select__panel { position: fixed; z-index: 110; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: none; padding: 8px 20px 20px; border: 0; opacity: 1; transform: translateY(100%); transition: transform var(--nolvit-motion) var(--nolvit-ease), visibility 0s linear var(--nolvit-motion); }
    .nolvit-select.is-open .nolvit-select__panel { transform: none; transition: transform var(--nolvit-motion) var(--nolvit-ease), visibility 0s; }
    .nolvit-select__head { display: block; flex: none; }
    .nolvit-select__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0 12px; border-bottom: 1px solid var(--nolvit-border-subtle); }
    .nolvit-select__search { padding: 0; border-bottom: 1px solid var(--nolvit-border-subtle); height: 56px; }
    .nolvit-select__list { flex: none; max-height: calc(5 * 45px + 8px); padding-top: 8px; }
    .nolvit-checkout-header { height: 60px; padding: 12px 20px; }
    .nolvit-checkout-header .nolvit-icon { --nolvit-icon-size: 24px !important; }
    .nolvit-checkout-header__back > span:not(.nolvit-icon), .nolvit-checkout-header__phone > span:not(.nolvit-icon) { display: none; }
    .nolvit-checkout-page { padding: 0; }
    .nolvit-checkout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "order" "head" "main" "totals"; grid-template-rows: none; }
    .nolvit-checkout__head { gap: 24px; padding: 32px 20px 32px; }
    .nolvit-checkout__main, .nolvit-checkout__login { gap: 32px; padding: 0 20px 40px; }
    .nolvit-checkout__login { gap: 24px; }
    .nolvit-thankyou { gap: 24px; padding: 32px 20px 48px; }
    .nolvit-thankyou__facts { grid-template-columns: repeat(2, 1fr); row-gap: 16px; padding: 20px 0; }
    .nolvit-thankyou__body { flex-direction: column; gap: 24px; }
    .nolvit-thankyou__info { width: 100%; }
    .nolvit-thankyou__order { width: 100%; padding: 24px 16px; }
    .nolvit-thankyou__actions { flex-direction: column; align-self: stretch; margin-top: 8px; }
    .nolvit-wholesale-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 0 0 32px; }
    .nolvit-wholesale-hero__image { order: -1; aspect-ratio: 390 / 310; }
    .nolvit-wholesale-hero__text { padding: 0 20px; }
    .nolvit-wholesale-hero__actions { flex-direction: column; align-items: stretch; gap: 16px; text-align: center; }
    .nolvit-wholesale-terms { gap: 24px; padding: 48px 20px; }
    .nolvit-wholesale-terms__list { grid-template-columns: minmax(0, 1fr); }
    .nolvit-wholesale-apply { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "intro" "form" "manager" "catalogs"; row-gap: 32px; padding: 48px 20px 56px; }
    .nolvit-wholesale-apply__intro { gap: 24px; }
    .nolvit-wholesale-card { grid-row: auto; padding: 20px; }
    .nolvit-wholesale-card--done { padding: 40px 20px; }
    .nolvit-auth-page { padding: 32px 20px 56px; }
    .nolvit-wholesale-notice { flex-wrap: wrap; gap: 8px; padding: 12px 20px; }
    .nolvit-wholesale-notice__message { flex: 1 0 100%; }
    .nolvit-wholesale-notice:has(.nolvit-wholesale-notice__close) .nolvit-wholesale-notice__message { padding-right: 32px; }
    .nolvit-wholesale-notice__extra { display: none; }
    .nolvit-wholesale-notice > .nolvit-text-link { margin-left: 32px; }
    .nolvit-wholesale-notice__close { position: absolute; top: 12px; right: 20px; }
    .nolvit-checkout__wholesale--order { display: none; }
    .nolvit-checkout__wholesale--totals { display: flex; }
    .nolvit-auth__partner .nolvit-button { align-self: stretch; }
    .nolvit-wholesale-card__done .nolvit-button { align-self: stretch; }
    .nolvit-wholesale-card__break { display: none; }
    .nolvit-wholesale-consent__long { display: none; }
    .nolvit-wholesale-consent__short { display: inline; }
    .nolvit-checkout__login-intro { gap: 4px; }
    .nolvit-checkout__fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .nolvit-choice__body { padding-left: 0; }
    .nolvit-checkout__order { gap: 0; padding: 16px 20px; border-bottom: 1px solid var(--nolvit-border-subtle); }
    .nolvit-checkout__order-heading { display: none; }
    .nolvit-checkout__order-toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: none; color: var(--nolvit-text-primary); font: var(--nolvit-font-body-s); cursor: pointer; }
    .nolvit-checkout__order-toggle > .nolvit-icon:first-child { --nolvit-icon-size: 16px; }
    .nolvit-checkout__order-chevron { --nolvit-icon-size: 16px; transform: rotate(180deg); transition: transform var(--nolvit-motion) var(--nolvit-ease); }
    .nolvit-checkout__order-toggle[aria-expanded="false"] .nolvit-checkout__order-chevron { transform: none; }
    .nolvit-checkout__head-total { margin-left: auto; }
    .nolvit-checkout__collapse { display: grid; visibility: hidden; }
    .nolvit-checkout__collapse-inner { overflow: hidden; }
    .nolvit-checkout__lines { padding-top: 20px; padding-bottom: 8px; }
    .nolvit-checkout__order-toggle[aria-expanded="true"] + .nolvit-checkout__collapse { visibility: visible; }
    .nolvit-checkout__totals { gap: 20px; padding: 32px 20px; }
    .nolvit-checkout__totals-heading { display: block; margin: 0; color: var(--nolvit-text-primary); }
    .nolvit-checkout .woocommerce-NoticeGroup { margin: 0 20px; }
    html body .woocommerce-notices-wrapper--ajax { top: 16px; right: 16px; left: 16px; width: auto; margin: 0 auto; }
    .nolvit-cart-panel__heading { padding: 24px 20px; }
    .nolvit-cart-panel__shipping { padding: 20px; }
    .nolvit-cart-panel__empty { padding: 40px 20px; }
    .nolvit-cart-panel__items { padding: 24px 20px; }
    .nolvit-cart-panel__suggestions, .nolvit-cart-panel__empty + .nolvit-cart-panel__suggestions { padding: 32px 20px; }
    .nolvit-cart-panel__suggestions .nolvit-section__actions { display: none; }
    .nolvit-cart-panel .nolvit-carousel { grid-auto-columns: 172px; margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; }
    .nolvit-cart-panel { width: 100vw; }
    .nolvit-cart-panel .nolvit-card__name { white-space: normal; }
    .nolvit-cart-panel__footer { padding: 20px 20px 24px; }
    html, body.wp-child-theme-nolvit-child, #content { max-width: 100vw; overflow-x: clip; }
    .nolvit-promo-bar { min-height: 41px; }
    .nolvit-promo-bar__separator, .nolvit-promo-bar__separator + span { display: none; }
    .nolvit-stores-page__grid { grid-template-columns: 1fr; }
    .nolvit-store { width: 100vw; max-width: 100vw; min-width: 0; padding: 0 20px 70px; }
    .nolvit-store__heading { margin: 15px 0 30px; }
    .nolvit-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 6px; }
    .nolvit-product-detail { display: block; padding: 0; }
    .nolvit-gallery { margin-top: 12px; }
    .nolvit-gallery__track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .nolvit-gallery__track::-webkit-scrollbar { display: none; }
    .nolvit-gallery__item { flex: 0 0 100%; aspect-ratio: 390 / 520; scroll-snap-align: start; }
    .nolvit-gallery::after { position: absolute; right: 0; bottom: 0; left: 0; height: 120px; content: ''; background: linear-gradient(180deg, transparent, var(--nolvit-bg-scrim-strong)); pointer-events: none; }
    .nolvit-gallery__dots { position: absolute; z-index: 1; left: 50%; bottom: 20px; display: flex; transform: translateX(-50%); }
    .nolvit-product-detail__copy { padding: 24px 20px 40px; }
    .nolvit-product-page .nolvit-section { gap: 20px; padding-top: 0; padding-bottom: 56px; }
    .nolvit-product-page .nolvit-section h2 { line-height: 40px; }
    .nolvit-product-page .nolvit-carousel { grid-auto-columns: calc((100% - 6px) / 2); }
    .nolvit-dialog__head { padding: 20px; }
    .nolvit-dialog__body { padding: 20px 20px 24px; }
    .nolvit-dialog__body table :is(th, td) { padding: 12px 6px; }
    .nolvit-breadcrumbs { padding-top: 12px; }
    .nolvit-breadcrumbs li:first-child, .nolvit-breadcrumbs__desktop { display: none; }
    .nolvit-breadcrumbs li:nth-child(2)::before { display: none; }
    :root { --nolvit-page-gutter: 20px; }
    .nolvit-catalog__head { flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 0 20px; }
    .nolvit-catalog__titles { gap: 4px; padding: 0 20px; }
    .nolvit-catalog__tiles { flex: none; padding: 0 20px; }
    .nolvit-catalog__tiles .nolvit-category-card--compact { width: 120px; }
    .nolvit-catalog__toolbar { gap: 8px; padding: 20px; }
    .nolvit-catalog__filter-toggle { flex: 1 1 0; order: 0; width: auto; min-width: 0; padding-inline: 8px; }
    .nolvit-sort { flex: 1 1 0; }
    .nolvit-sort__toggle { justify-content: center; gap: 8px; min-height: 50px; border: 1px solid var(--nolvit-button-secondary-border); color: var(--nolvit-button-secondary-text); transition: background-color var(--nolvit-motion) var(--nolvit-ease); }
    .nolvit-sort__toggle:hover { background: var(--nolvit-button-secondary-bg-hover); }
    .nolvit-sort__label { font: var(--nolvit-font-button); letter-spacing: 2px; }
    .nolvit-sort__colon, .nolvit-sort__value { display: none; }
    .nolvit-sort__toggle .nolvit-icon { --nolvit-icon-size: 20px; color: currentColor; }
    .nolvit-sort[open] .nolvit-sort__toggle .nolvit-icon { transform: none; }
    .nolvit-sort__menu { position: fixed; z-index: 100; top: auto; left: 0; right: 0; bottom: 0; width: auto; padding: 8px 20px 32px; border: 0; animation: nolvit-sheet-in var(--nolvit-motion) var(--nolvit-ease); }
    .nolvit-sheet__handle { display: block; width: 40px; height: 4px; margin: 0 auto 8px; border-radius: 2px; background: var(--nolvit-border-default); }
    .nolvit-sort .nolvit-sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0 12px; border-bottom: 1px solid var(--nolvit-border-subtle); }
    .nolvit-sort__list { padding-top: 8px; }
    .nolvit-sort__option { justify-content: flex-start; padding: 12px 0; color: var(--nolvit-text-primary); }
    .nolvit-sort__option[aria-current] { background: none; }
    .nolvit-sort__option .nolvit-icon { display: none; }
    .nolvit-sort__option::before { flex: none; width: 20px; height: 20px; box-sizing: border-box; border: 1px solid var(--nolvit-border-default); border-radius: 50%; content: ''; background: var(--nolvit-bg-page); }
    .nolvit-sort__option[aria-current]::before { border-color: var(--nolvit-border-strong); background: radial-gradient(circle, var(--nolvit-bg-inverse) 5px, var(--nolvit-bg-page) 5.5px); }
    .nolvit-filters__head { padding: 20px; }
    .nolvit-filters__body { padding: 8px 20px 24px; }
    .nolvit-filters__footer { padding: 20px; }
    .nolvit-filters__word { display: none; }
    .nolvit-active-filters { flex-wrap: nowrap; overflow-x: auto; padding: 20px 20px 0; scrollbar-width: none; }
    .nolvit-active-filters::-webkit-scrollbar { display: none; }
    .nolvit-active-filters__reset { order: 0; }
    .nolvit-catalog__empty { padding: 28px 0 48px; }
    .nolvit-empty br { display: inline; }
    .nolvit-empty__actions { flex-direction: column; align-self: stretch; }
    .nolvit-empty__actions .nolvit-button { width: 100%; min-width: 0; }
    .nolvit-catalog .nolvit-catalog__suggestions { padding-top: 0; padding-bottom: 56px; }
    .nolvit-catalog__results { padding-top: 20px; }
    .nolvit-more { gap: 12px; padding: 48px 0 56px; }
    .nolvit-more .nolvit-button { align-self: stretch; min-width: 0; }
    }
