/*
 * VinhLac Market • dark appearance system v2.0.66
 * Single authoritative dark surface layer for the public storefront.
 * Light design lives in app.css; do not add dark overrides to app.css.
 * This stylesheet loads AFTER app.css and inherits the user's Light/Dark/System selection.
 */
html[data-theme="dark"] {
  color-scheme: dark;
  --vvl-bg: #0b1120;
  --vvl-surface: #111b2d;
  --vvl-surface-raised: #18243a;
  --vvl-surface-deep: #0f1929;
  --vvl-soft: #1d2b44;
  --vvl-border: #34445e;
  --vvl-border-muted: #2a3a52;
  --vvl-divider: #2a3a52;
  --vvl-text: #f2f6ff;
  --vvl-text-secondary: #c7d3e6;
  --vvl-text-muted: #a3b3ca;
  --vvl-link: #92b5ff;
  --vvl-accent: #6791ff;
  --vvl-accent-bg: #1b3769;
  --vvl-input: #111e31;
  --vvl-shadow: 0 20px 55px rgba(0,0,0,.32);
  --vvl-scrim: rgba(2,6,23,.78);
  --vvl-action: #2b60e9;
  --vvl-action-hover: #3a70fa;
  --vvl-action-text: #ffffff;
  --vvl-action-border: #4778e5;
  --vvl-action-soft: #1b3358;
  --vvl-action-soft-hover: #294875;
  --vvl-action-soft-border: #3a5983;
  --vvl-action-soft-text: #e9f1ff;

  /* Maintain compatibility with existing light-mode design tokens. */
  --brand-50: #1a305b;
  --brand-100: #203d76;
  --brand-200: #31579d;
  --brand-500: #81a5ff;
  --brand-600: #a3bdff;
  --brand-700: #bfd0ff;
  --brand-950: #f3f6ff;
  --ink-900: #f2f6ff;
  --ink-700: #c7d3e6;
  --ink-500: #a3b3ca;
  --border: #34445e;
  --surface-2: #152136;
  --lacvo-page-bg: var(--vvl-bg);
  --lacvo-surface: var(--vvl-surface);
  --lacvo-surface-raised: var(--vvl-surface-raised);
  --lacvo-surface-soft: var(--vvl-surface-deep);
  --lacvo-surface-muted: var(--vvl-soft);
  --lacvo-text: var(--vvl-text);
  --lacvo-text-2: var(--vvl-text-secondary);
  --lacvo-text-3: var(--vvl-text-muted);
  --lacvo-border-theme: var(--vvl-border);
  --lacvo-border-strong: #465a77;
  --lacvo-overlay: var(--vvl-scrim);
  --lacvo-theme-shadow: var(--vvl-shadow);
}

/* Neutral borders are scoped to visible card boundaries, not every descendant.
   Accent outlines and focus indicators must retain their semantic colors. */
html[data-theme="dark"] .site-shell hr {
  background:transparent;
  border-top-color:var(--vvl-divider) !important;
}

/* Page / typography — never recolor content imagery. */
html[data-theme="dark"] :is(body, .site-shell, main, .knowledge-page, .blog-page, .topic-page,
  .product-archive-page, .lacvo-auth-page, .lacvo-auth-embedded, .content-layout,
  .lacvo-order-received) {
  background-color: var(--vvl-bg) !important;
  color: var(--vvl-text-secondary);
}
html[data-theme="dark"] :is(h1,h2,h3,h4,h5,h6) { color: var(--vvl-text) !important; }
html[data-theme="dark"] :is(p, li, small, time, label, summary, legend) { color: inherit; }
html[data-theme="dark"] :is(.section-heading p, .archive-description, .woocommerce-result-count,
  .lacvo-product-rating, .lacvo-cart-item__meta, .post-card__meta, .guide-card__meta,
  .article-meta, .article-date, .topic-section__heading p) { color: var(--vvl-text-muted) !important; }
html[data-theme="dark"] a:not(.button):not(.product-card__buy) { text-decoration-color: currentColor; }
html[data-theme="dark"] :is(.breadcrumb a, .woocommerce-breadcrumb a, .entry-content a,
  .knowledge-page a:not(.post-card__link), .article-content a) { color: var(--vvl-link); }
html[data-theme="dark"] ::selection { background:#2b4f92;color:#fff; }
html[data-theme="dark"] :focus-visible { outline-color: var(--vvl-accent); }

/* Global chrome: accessible light foreground on the permanently dark navigation. */
html[data-theme="dark"] :is(.trust-bar, .site-header, .header-main, .desktop-navigation,
  .mobile-menu, .site-footer, .header-account-menu__panel, .category-menu__panel,
  .primary-menu .sub-menu, .theme-switcher__menu) {
  background: var(--vvl-surface-deep) !important;
  border-color: var(--vvl-border-muted) !important;
  color: var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.trust-bar, .trust-bar__items, .trust-bar__actions,
  .trust-bar__support, .primary-navigation a, .primary-menu a, .category-menu > button,
  .site-brand__copy strong, .header-actions__account, .header-actions__register,
  .site-brand__copy, .site-brand__copy small) { color: var(--vvl-text) !important; }
html[data-theme="dark"] .site-brand__copy small { color: var(--vvl-text-muted) !important; }
html[data-theme="dark"] :is(.header-actions__account, .cart-link) { opacity:1 !important; }
html[data-theme="dark"] :is(.icon-button, .theme-switcher__trigger, .cart-link,
  .header-account-menu__trigger, .header-account-menu__panel nav a,
  .category-menu__panel a, .mobile-menu a) {
  color: var(--vvl-text-secondary) !important;
  border-color: var(--vvl-border) !important;
}
html[data-theme="dark"] :is(.icon-button, .theme-switcher__trigger, .header-account-menu__trigger) {
  background-color: var(--vvl-surface) !important;
}
html[data-theme="dark"] :is(.icon-button:hover, .theme-switcher__trigger:hover,
  .primary-menu a:hover, .header-account-menu__panel nav a:hover,
  .category-menu__panel a:hover) { background-color: var(--vvl-soft) !important; color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.header-account-menu__identity strong,
  .theme-switcher__menu strong, .theme-switcher__menu button) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.header-account-menu__identity span,
  .theme-switcher__menu small, .category-menu__copy small) { color:var(--vvl-text-muted) !important; }
html[data-theme="dark"] :is(.header-account-menu__identity, .header-account-menu__panel nav a) { border-color:var(--vvl-border-muted) !important; }
html[data-theme="dark"] .header-account-menu__panel nav a.is-logout { color: #ffb7bd !important; }
html[data-theme="dark"] :is(.product-search, .mobile-menu__search form) {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.product-search input, .mobile-menu__search input) {
  background:transparent !important;
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.product-search input::placeholder, .mobile-menu__search input::placeholder) { color: var(--vvl-text-muted) !important; opacity: 1; }
html[data-theme="dark"] :is(.search-suggestions, .search-suggestions__items,
  .search-suggestions__status, .search-suggestions__all) {
  background:var(--vvl-surface-raised) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.search-suggestions a, .search-suggestions strong,
  .search-suggestions__item-title) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.search-suggestions small, .search-suggestions__item-meta) { color:var(--vvl-text-muted) !important; }
html[data-theme="dark"] :is(.search-suggestions a:hover, .search-suggestions [aria-selected="true"]) { background:var(--vvl-soft) !important; }
html[data-theme="dark"] :is(.theme-switcher__menu button:hover, .theme-switcher__menu button.is-active,
  .mobile-theme-options button.is-active, .primary-menu .current-menu-item > a) {
  background:var(--vvl-accent-bg) !important;
  color:#eaf1ff !important;
}
html[data-theme="dark"] :is(.mobile-theme-options button, .mobile-menu__appearance) {
  background:var(--vvl-surface-raised) !important;
  color:var(--vvl-text-secondary) !important;
  border-color:var(--vvl-border) !important;
}

/* Header categories and dropdown: the light button was masking its label. */
html[data-theme="dark"] .category-menu > button {
  background:#1a2a42 !important;
  color:#e6eeff !important;
  border-color:#324660 !important;
  -webkit-text-fill-color:#e6eeff !important;
}
html[data-theme="dark"] .category-menu > button :is(span,svg,.icon) {
  color:inherit !important;
}
html[data-theme="dark"] .category-menu > button:hover,
html[data-theme="dark"] .category-menu > button[aria-expanded="true"] {
  background:#253e69 !important;
  color:#f8fbff !important;
}
html[data-theme="dark"] .category-menu__panel :is(a,.category-menu__copy,.category-menu__copy strong) {
  color:#e9f1ff !important;
}
html[data-theme="dark"] .category-menu__panel a:hover :is(strong,small) {
  color:#fff !important;
}
/* Header separators use subdued strokes, never pure white. */
html[data-theme="dark"] :is(.trust-bar,.site-header,.header-main,.desktop-navigation,
  .product-search,.category-menu__panel) { border-color:var(--vvl-divider) !important; }

/* Hero — fix dark-on-dark headlines and gradient spill. */
html[data-theme="dark"] :is(.hero-slide, .hero-slider, .hero-main) { border-color:var(--vvl-border-muted); }
html[data-theme="dark"] .hero-slide__copy {
  background:linear-gradient(90deg, #17243a 72%, rgba(23,36,58,.80) 88%, rgba(23,36,58,.14) 100%) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.hero-slide__copy h1, .hero-slide__copy h2, .hero-slide__copy strong) {
  color:#f5f8ff !important;
  -webkit-text-fill-color:#f5f8ff !important;
}
html[data-theme="dark"] .hero-slide__copy p { color:#cdd8e9 !important; }
html[data-theme="dark"] .hero-slide__copy > a { background:#2d61ec !important;color:#fff !important; }
html[data-theme="dark"] .hero-slide__visual { background:transparent; }
html[data-theme="dark"] :is(.hero-slider__dots button, .hero-slider__arrows button) { border-color:var(--vvl-border-muted); }

/* Sections, catalog, filters, badges, promotional modules. */
html[data-theme="dark"] :is(.shop-sidebar,
  .lacvo-shop-sidebar, .lacvo-product-sidebar, .product-filters, .filter-sidebar,
  .lacvo-filter-sidebar, .category-sidebar, .archive-filter-bar,
  .woocommerce .widget, .woocommerce-page .widget, .widget) {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.shop-sidebar h2, .shop-sidebar h3, .lacvo-filter-sidebar h2,
  .lacvo-filter-sidebar strong, .woocommerce .widget-title) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.product-card, .category-card, .promo-card, .post-card,
  .guide-card, .knowledge-topic-card, .topic-overview__card, .topic-faq-item,
  .guide-sidebar-card, .article-sidebar-card, .related-card,
  .lacvo-feature-card, .trust-card, .lacvo-benefit-card, .section-card,
  .lacvo-contact-card, .lacvo-contact-info-card, .lacvo-contact-note-card) {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
  box-shadow:var(--vvl-shadow);
}
html[data-theme="dark"] :is(.product-card__body, .post-card__body, .guide-card__body,
  .product-card__footer, .article-sidebar-card__body, .lacvo-feature-card__body) {
  background:var(--vvl-surface) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.product-card__title, .product-card__title a,
  .post-card__body h2, .post-card__body h2 a, .guide-card h2,
  .category-card h3, .section-heading h2, .archive-heading h1,
  .lacvo-product-info h1, .lacvo-product-summary h1) {
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.product-card__description, .product-card__meta,
  .post-card__body p, .guide-card p, .topic-faq-item p,
  .product-card__labels, .product-card__category, .archive-description) { color:var(--vvl-text-secondary) !important; }
html[data-theme="dark"] :is(.post-card__placeholder, .article-hero__placeholder,
  .product-card__media, .guide-card__placeholder,
  .product-gallery__placeholder) {
  background:var(--vvl-soft) !important;
  color:var(--vvl-accent) !important;
}
html[data-theme="dark"] :is(.post-card__pill, .guide-category,
  .lacvo-product-category a, .topic-tabs a, .blog-filter button,
  .blog-filter__chip, .article-category, .lacvo-filter-list a.is-active,
  .lacvo-product-badge) {
  border-color:#415d95 !important;
  background:var(--vvl-accent-bg) !important;
  color:#cfdeff !important;
}
/* Category names are plain metadata text, not pill/badge UI. Avoid blue
   rectangular fills on storefront, archive and related product cards. */
html[data-theme="dark"] .product-card__category-row .product-card__category {
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:var(--vvl-text-muted) !important;
  padding:0 !important;
}
html[data-theme="dark"] .product-card__category-row .product-card__category:is(:hover,:focus-visible) {
  color:var(--vvl-link) !important;
}
html[data-theme="dark"] :is(.product-card__discount, .lacvo-product-discount) {
  border-color:#804052 !important;
  background:#311923 !important;
  color:#ffc2ce !important;
}
html[data-theme="dark"] :is(.product-card__price, .product-card__price-row ins,
  .lacvo-product-price ins, .woocommerce-Price-amount) { color:#9bb9ff; }
html[data-theme="dark"] :is(.product-card__price del, .woocommerce del,
  .product-card__price-row del) { color:var(--vvl-text-muted) !important; }
html[data-theme="dark"] :is(.product-card__buy,.button--primary,
  .woocommerce a.button.alt,.woocommerce button.button.alt,
  .lacvo-cart-summary__submit,.lacvo-checkout-summary #place_order,
  .lacvo-filter-submit,.flashsale-deals__empty a) {
  background:var(--vvl-action) !important;
  background-image:none !important;
  color:var(--vvl-action-text) !important;
  -webkit-text-fill-color:var(--vvl-action-text) !important;
  border-color:var(--vvl-action) !important;
}
html[data-theme="dark"] :is(.product-card__buy,.button--primary,
  .woocommerce a.button.alt,.woocommerce button.button.alt,
  .lacvo-cart-summary__submit,.lacvo-checkout-summary #place_order,
  .lacvo-filter-submit,.flashsale-deals__empty a):is(:hover,:focus-visible) {
  background:var(--vvl-action-hover) !important;
  border-color:var(--vvl-action-hover) !important;
  color:var(--vvl-action-text) !important;
}
/* Secondary actions use a restrained branded surface: not white, not neon. */
html[data-theme="dark"] :is(.product-card__demo,.lacvo-product-demo,
  .lacvo-filter-reset,.quick-buy-modal__cart) {
  background:var(--vvl-action-soft) !important;
  background-image:none !important;
  color:var(--vvl-action-soft-text) !important;
  -webkit-text-fill-color:var(--vvl-action-soft-text) !important;
  border:1px solid var(--vvl-action-soft-border) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] :is(.product-card__demo,.lacvo-product-demo,
  .lacvo-filter-reset,.quick-buy-modal__cart):is(:hover,:focus-visible) {
  background:var(--vvl-action-soft-hover) !important;
  color:#fff !important;
  border-color:#547cba !important;
}
html[data-theme="dark"] :is(.product-card__demo,.lacvo-product-demo) .icon {
  color:inherit !important;
  stroke:currentColor;
}
html[data-theme="dark"] :is(.product-card__delivery, .delivery-badge,
  .product-card__labels .delivery-badge, .lacvo-order-product__delivery) {
  border-color:#3c5c98 !important;
  background:#152a50 !important;
  color:#bed3ff !important;
}
html[data-theme="dark"] :is(.guide-sidebar-card a:hover, .lacvo-filter-list a:hover,
  .filter-sidebar a:hover, .category-menu__panel a:hover) { background:var(--vvl-soft) !important;color:var(--vvl-text) !important; }

/* Catalog sidebar and price filtering — all fields use the same surface system. */
html[data-theme="dark"] .lacvo-filter-card {
  background:var(--vvl-surface) !important;
  color:var(--vvl-text-secondary) !important;
  border:1px solid var(--vvl-border-muted) !important;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.16) !important;
}
html[data-theme="dark"] .lacvo-filter-card :is(h2, label) {
  color:var(--vvl-text-muted) !important;
}
html[data-theme="dark"] .lacvo-filter-list a {
  color:var(--vvl-text-secondary) !important;
  background:transparent !important;
}
html[data-theme="dark"] .lacvo-filter-list a:is(:hover,:focus-visible) {
  background:var(--vvl-soft) !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .lacvo-filter-list a.is-active {
  background:var(--vvl-accent-bg) !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .lacvo-filter-divider { background:var(--vvl-divider) !important; }
html[data-theme="dark"] .lacvo-filter-card :is(select,input[type="number"]) {
  background:var(--vvl-input) !important;
  border:1px solid var(--vvl-border-muted) !important;
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
  color-scheme:dark;
}
html[data-theme="dark"] .lacvo-filter-card :is(select,input[type="number"]):focus-visible {
  border-color:var(--vvl-action-border) !important;
  outline:2px solid var(--vvl-action-border) !important;
  outline-offset:2px;
}
html[data-theme="dark"] .lacvo-price-slider__summary {
  background:var(--vvl-surface-raised) !important;
  background-image:none !important;
  color:var(--vvl-text-secondary) !important;
  border:1px solid var(--vvl-border-muted) !important;
}
html[data-theme="dark"] .lacvo-price-slider__summary strong {
  color:#b5cbff !important;
}
html[data-theme="dark"] .lacvo-price-slider__track {
  background:var(--vvl-border) !important;
}
html[data-theme="dark"] .lacvo-price-slider__range {
  background:var(--vvl-action) !important;
}
html[data-theme="dark"] .lacvo-filter-reset {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
}

/* Home storefront — card interiors inherit the page's dark tonal scale.
   Structural sections remain unpainted to prevent square background slabs. */
html[data-theme="dark"] :is(.homepage,.hero-section,.home-section,.category-section,
  .category-grid,.shop-layout,.archive-product-layout,.lacvo-product-top,
  .lacvo-product-information,.lacvo-product-media,
  .lacvo-archive-layout,.lacvo-archive-main,.lacvo-archive-sidebar,
  .lacvo-products,.lacvo-related,.lacvo-related-grid,
  .lacvo-cart-page,.lacvo-checkout-page,.lacvo-cart-items,
  .lacvo-cart-items__list,.lacvo-payment-page__main) {
  background:transparent !important;
  background-image:none !important;
  box-shadow:none;
}
/* The WooCommerce catch-all wrapper has a semi-transparent LIGHT canvas
   in app.css. When left unchanged it mixes with the dark body to #81858e,
   creating grey gutters around the dark product content. */
html[data-theme="dark"] .commerce-page {
  background:var(--vvl-bg) !important;
  background-image:none !important;
  color:var(--vvl-text-secondary);
}
html[data-theme="dark"] .commerce-page .commerce-layout {
  background:transparent !important;
  background-image:none !important;
}
/* Only outer full-width page canvases carry the page background. */
html[data-theme="dark"] :is(.lacvo-archive-page,.lacvo-commerce-shell) {
  background:var(--vvl-bg) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .lacvo-archive-header :is(h1,h2) {
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .lacvo-archive-header :is(p,.lacvo-archive-description) {
  color:var(--vvl-text-muted) !important;
}
html[data-theme="dark"] :is(.lacvo-archive-page .woocommerce-breadcrumb,
  .lacvo-single-breadcrumbs .woocommerce-breadcrumb) {
  color:var(--vvl-text-muted) !important;
}
html[data-theme="dark"] :is(.trust-cards > div,.category-card,.lacvo-product-trust,
  .woocommerce ul.products li.product,.woocommerce ul.products li.product.product-card) {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.trust-cards strong,.category-card strong,
  .category-menu__copy strong,.category-card span strong) {
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.trust-cards small,.category-card small,
  .category-menu__copy small,.lacvo-product-trust span) {
  color:var(--vvl-text-muted) !important;
}
html[data-theme="dark"] :is(.trust-cards .icon,.lacvo-product-trust .icon) {
  background:#1b355e !important;
  color:#9bbbff !important;
}
html[data-theme="dark"] :is(.category-card:hover,.woocommerce ul.products li.product:hover) {
  border-color:#4a6da6 !important;
  box-shadow:0 10px 28px rgba(0,0,0,.15) !important;
}
html[data-theme="dark"] .section-heading--numbered .section-heading__copy {
  position:relative;
  z-index:1;
}
html[data-theme="dark"] :is(.section-heading__copy,.section-heading h2,
  .section-heading--numbered h2) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.section-heading p,.section-heading--numbered p,
  .section-heading__copy p) { color:var(--vvl-text-muted) !important; }
html[data-theme="dark"] .section-heading > a {
  background:transparent !important;
  color:#a8c2ff !important;
  border-color:var(--vvl-border) !important;
}
html[data-theme="dark"] .section-heading > a:hover { background:#203656 !important; }
html[data-theme="dark"] :is(.section-heading--numbered .section-heading__label,
  .section-heading--accent .eyebrow) {
  background:#20385f !important;
  color:#bdd3ff !important;
}
html[data-theme="dark"] :is(.product-card__subtitle,
  .woocommerce ul.products li.product .product-card__subtitle) {
  color:var(--vvl-text-muted) !important;
}

/* Homepage FAQ: actual details are cards, never light Tailwind defaults. */
html[data-theme="dark"] .home-faq .faq-grid {
  background:transparent !important;
}
html[data-theme="dark"] .home-faq .faq-grid details {
  background:var(--vvl-surface) !important;
  color:var(--vvl-text-secondary) !important;
  border:1px solid var(--vvl-border-muted) !important;
  border-radius:16px !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .home-faq .faq-grid details[open] {
  background:var(--vvl-surface-raised) !important;
  border-color:#42618d !important;
}
html[data-theme="dark"] .home-faq .faq-grid summary {
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
}
html[data-theme="dark"] .home-faq .faq-grid p {
  color:var(--vvl-text-secondary) !important;
}

/* Blog, editorial, documentation, FAQ and related guides. */
html[data-theme="dark"] :is(.knowledge-page, .blog-page, .guide-archive, .article-page,
  .article-body, .article-section, .article-layout, .article-content,
  .guide-single, .entry-content, .post-content, .topic-overview,
  .topic-section, .topic-faq-list, .related-guides) { color:var(--vvl-text-secondary) !important; }
html[data-theme="dark"] :is(.post-card__body h2, .post-card__body h3,
  .post-card__title, .guide-card h2, .article-content h2,
  .article-content h3, .related-guides h2) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.post-card__body p, .article-content p, .article-lead p,
  .article-hero p, .article-author time, .guide-card__excerpt) { color:var(--vvl-text-secondary) !important; }
html[data-theme="dark"] :is(.article-lead, .article-author, .article-sidebar,
  .article-sidebar-card, .article-toc, .article-share-mobile,
  .article-related, .guide-callout, .guide-summary, .article-callout,
  .knowledge-guide-card, .knowledge-faq-card) {
  background:var(--vvl-surface-raised) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.article-lead h2, .article-toc h3,
  .article-toc strong, .article-author strong, .related-guides h2) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.article-hero, .guide-hero) { color:#fff !important; }
html[data-theme="dark"] :is(.article-hero h1, .guide-hero h1,
  .article-hero p, .guide-hero p) { color:#fff !important; }
html[data-theme="dark"] :is(.article-share-action, .article-share-mobile button,
  .article-toc a) { background:var(--vvl-surface-deep) !important;border-color:var(--vvl-border) !important;color:var(--vvl-text-secondary) !important; }
html[data-theme="dark"] :is(.article-share-action:hover, .article-toc a:hover) { background:var(--vvl-soft) !important;color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.guide-card__placeholder .icon, .post-card__placeholder .icon) { color:var(--vvl-accent) !important; }
html[data-theme="dark"] :is(.topic-tabs a.is-active, .blog-filter button.is-active,
  .blog-filter__chip.is-active) { background:#2d61e9 !important;color:#fff !important; }

/* Storefront product detail and options — no low-contrast white labels. */
html[data-theme="dark"] :is(.lacvo-product-benefit,
  .lacvo-product-panel, .lacvo-product-specs, .woocommerce-tabs .panel,
  .lacvo-product-accordion, .lacvo-product-faq) {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-product-purchase h1, .lacvo-product-info h1,
  .lacvo-product-summary h1, .woocommerce div.product .product_title,
  .lacvo-product-specs h2) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.lacvo-product-purchase .quantity,
  .lacvo-product-purchase input.qty, .lacvo-product-purchase .lacvo-quantity-step,
  .woocommerce div.product form.cart .quantity) {
  border-color:var(--vvl-border) !important;
  background:var(--vvl-surface-deep) !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.lacvo-product-accordion summary, .lacvo-product-accordion button,
  .product-accordion summary, .product-faq summary,
  .lacvo-product-faq summary, .lacvo-product-detail details,
  .woocommerce-tabs li a) {
  background:var(--vvl-surface-raised) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text) !important;
}

/* Product detail: preserve existing card radius, no rectangular fill on
   layout columns or plain text containers. Price and notice use true dark surfaces. */
html[data-theme="dark"] :is(.lacvo-product-info,.lacvo-product-side,
  .lacvo-product-detail,.lacvo-product-benefits,.lacvo-product-tabs,
  .woocommerce-tabs,.woocommerce div.product .summary,
  .lacvo-product-purchase,.lacvo-product-information) {
  background:transparent !important;
}
html[data-theme="dark"] :is(.lacvo-product-summary,.lacvo-product-pricebox,
  .lacvo-product-trust,.lacvo-product-notice,.lacvo-full-site-overview) {
  background:var(--vvl-surface) !important;
  color:var(--vvl-text-secondary) !important;
  border-color:var(--vvl-border-muted) !important;
}
html[data-theme="dark"] .lacvo-product-pricebox {
  background:#19283e !important;
}
html[data-theme="dark"] :is(.lacvo-product-summary .product_title,
  .lacvo-product-notice strong,.lacvo-product-information > h2,
  .lacvo-product-content :is(h2,h3,h4)) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.lacvo-product-content,
  .lacvo-product-content p,.lacvo-product-accordion p,
  .lacvo-product-information p,.lacvo-product-notice p,
  .lacvo-product-trust > div,.lacvo-product-sold) {
  color:var(--vvl-text-secondary) !important;
}
/* Keep the Details divider as quiet as all other dark-mode separators. */
html[data-theme="dark"] .lacvo-product-information {
  border-top-color:var(--vvl-divider) !important;
}
html[data-theme="dark"] .lacvo-product-accordion {
  overflow:hidden;
  border-color:var(--vvl-border) !important;
  background:var(--vvl-surface) !important;
}
html[data-theme="dark"] .lacvo-product-accordion summary {
  color:var(--vvl-text) !important;
  background:var(--vvl-surface-raised) !important;
  border-color:var(--vvl-divider) !important;
}
html[data-theme="dark"] .lacvo-product-accordion summary:hover { background:#233650 !important; }
html[data-theme="dark"] .lacvo-product-content {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-divider) !important;
}
html[data-theme="dark"] :is(.lacvo-product-demo,.lacvo-product-demo .icon) {
  color:#bcd1ff !important;
}
html[data-theme="dark"] .lacvo-product-notice > div {
  background:transparent !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .lacvo-product-notice > strong {
  border-radius:14px 14px 0 0;
  background:#342a17 !important;
  color:#ffd390 !important;
  border-color:#5a4729 !important;
}
html[data-theme="dark"] :is(.lacvo-product-price .price,
  .lacvo-product-pricebox .price,.lacvo-product-pricebox ins) {
  color:#9bbbff !important;
}
html[data-theme="dark"] :is(.lacvo-product-pricebox del,
  .lacvo-product-sold,.lacvo-product-rating > span) { color:var(--vvl-text-muted) !important; }
/* Two distinct purchase actions: blue Buy now, subdued Add to cart. */
html[data-theme="dark"] .lacvo-product-purchase .lacvo-buy-now {
  background:var(--vvl-action) !important;
  color:var(--vvl-action-text) !important;
  border:1px solid var(--vvl-action) !important;
  -webkit-text-fill-color:var(--vvl-action-text) !important;
}
html[data-theme="dark"] .lacvo-product-purchase .single_add_to_cart_button:not(.lacvo-buy-now) {
  background:var(--vvl-action-soft) !important;
  background-image:none !important;
  color:var(--vvl-action-soft-text) !important;
  -webkit-text-fill-color:var(--vvl-action-soft-text) !important;
  border:1px solid var(--vvl-action-soft-border) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-product-purchase .single_add_to_cart_button:not(.lacvo-buy-now):is(:hover,:focus-visible) {
  background:var(--vvl-action-soft-hover) !important;
  color:#fff !important;
  border-color:#547cba !important;
}

/* Product detail and related items share the page canvas, not extra rectangles. */
html[data-theme="dark"] :is(.lacvo-single-product,.lacvo-single-breadcrumbs,
  .woocommerce div.product.lacvo-single-product,
  section.lacvo-related,.woocommerce div.product section.lacvo-related,
  .lacvo-related__header,.lacvo-related-grid,.woocommerce .lacvo-related-grid.products) {
  background:transparent !important;
  background-image:none !important;
  color:var(--vvl-text-secondary) !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-related__header h2 {
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .lacvo-related__header a {
  color:var(--vvl-link) !important;
}

html[data-theme="dark"] .lacvo-product-purchase .lacvo-product-demo {
  background:var(--vvl-action-soft) !important;
  color:var(--vvl-action-soft-text) !important;
  -webkit-text-fill-color:var(--vvl-action-soft-text) !important;
  border:1px solid var(--vvl-action-soft-border) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-product-purchase .lacvo-product-demo:hover {
  background:var(--vvl-action-soft-hover) !important;
  color:#fff !important;
}

/* Purchase flow, account, tables and payment methods. */
html[data-theme="dark"] :is(.lacvo-cart-item, .lacvo-cart-summary, .lacvo-checkout-summary,
  .lacvo-order-product, .lacvo-account-card,
  .woocommerce table.shop_table, .woocommerce .woocommerce-message,
  .woocommerce .woocommerce-info, .woocommerce .woocommerce-error) {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-cart-summary h2, .lacvo-checkout-summary h2,
  .lacvo-cart-item h2, .lacvo-order-product h2,
  .lacvo-order-received h1, .lacvo-payment-page__heading h1) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.woocommerce table.shop_table th, .woocommerce table.shop_table td,
  .lacvo-cart-summary__rows > div, .lacvo-checkout-summary__rows > div) {
  background:transparent !important;
  border-color:var(--vvl-border-muted) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-receipt-methods__button,
  .lacvo-payment-choice__option, .lacvo-payment-method__body) {
  background:var(--vvl-surface-deep) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.lacvo-receipt-methods__button.is-selected,
  .lacvo-payment-choice__option:has(input:checked),
  .lacvo-payment-method > input:checked + .lacvo-payment-method__body) {
  background:var(--vvl-accent-bg) !important;
  border-color:var(--vvl-accent) !important;
  color:#fff !important;
}
html[data-theme="dark"] :is(.lacvo-payment-page, .lacvo-payment-page__main,
  .lacvo-payment-qr-card, .lacvo-payment-field, .lacvo-payment-fields,
  .lacvo-payment-choice, .lacvo-payment-selected, .lacvo-receipt-methods,
  .lacvo-payment-bank-icon) {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-payment-field strong, .lacvo-payment-choice legend,
  .lacvo-payment-choice__text strong, .lacvo-receipt-methods > strong,
  .lacvo-payment-page__heading strong, .lacvo-payment-selected strong) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.lacvo-payment-field span, .lacvo-payment-choice__text small,
  .lacvo-payment-qr-column > p) { color:var(--vvl-text-muted) !important; }
html[data-theme="dark"] :is(.lacvo-payment-qr-frame, .lacvo-payment-qr-card__image) { background:#fff !important; }
html[data-theme="dark"] :is(.lacvo-payment-field button, .lacvo-payment-qr-brand) { color:var(--vvl-link) !important; }
html[data-theme="dark"] :is(.lacvo-order-view__notice.is-failed, .lacvo-order-failed) { background:#371a23 !important;color:#ffd1db !important;border-color:#914d63 !important; }

/* Reviews, rating bars and forms — modal geometry is shared with LIGHT mode below. */
html[data-theme="dark"] :is(.lacvo-reviews, .lacvo-review-modal__dialog,
  .lacvo-review-modal__form, .lacvo-review-modal__dialog > header) {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-reviews__header h2, .lacvo-review-card__name-row h3,
  .lacvo-review-card__title, .lacvo-review-average > strong,
  .lacvo-review-modal__dialog h3, .lacvo-review-modal__form label,
  .lacvo-review-star-field > span) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.lacvo-review-modal__dialog > header p,
  .lacvo-reviews__header p, .lacvo-review-average > span,
  .lacvo-review-card__header time, .lacvo-review-card__content p) {
  color:var(--vvl-text-muted) !important;
}
html[data-theme="dark"] :is(.lacvo-review-bars__row i, .lacvo-review-toolbar button,
  .lacvo-review-cancel, .lacvo-review-modal__dialog > header button) {
  background:var(--vvl-surface-raised) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-review-bars__row i b, .lacvo-review-toolbar button.is-active) { background:#4c7cf0 !important; color:#fff !important; }
html[data-theme="dark"] .lacvo-review-modal__backdrop { background:rgba(1,6,16,.78) !important; }
html[data-theme="dark"] .lacvo-review-modal__dialog { box-shadow:0 30px 85px rgba(0,0,0,.5) !important; }

/* Review area: muted voting controls and rating separators. */
html[data-theme="dark"] :is(.lacvo-review-summary,.lacvo-review-listing,
  .lacvo-review-list,.lacvo-review-toolbar,.lacvo-review-card) {
  background:transparent !important;
  border-color:var(--vvl-divider) !important;
}
html[data-theme="dark"] :is(.lacvo-review-votes button,
  .lacvo-review-toolbar button,.lacvo-review-write) {
  background:var(--vvl-surface-raised) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-review-votes button:hover,
  .lacvo-review-toolbar button:hover) { background:#263d60 !important; color:#fff !important; }
html[data-theme="dark"] :is(.lacvo-review-votes button.is-active,
  .lacvo-review-toolbar button.is-active) {
  background:#2b60e9 !important;
  border-color:#527ef2 !important;
  color:#fff !important;
}
html[data-theme="dark"] :is(.lacvo-review-card__content,
  .lacvo-reviews__empty,.lacvo-review-average > span,
  .lacvo-review-bars__row > span,.lacvo-review-bars__row small) {
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-review-bars__row i,
  .lacvo-review-bars__row > i) { background:#243551 !important; }
html[data-theme="dark"] :is(.lacvo-review-average > strong,
  .lacvo-review-card__author,.lacvo-review-card__title) { color:var(--vvl-text) !important; }

/* Search, account login and common form fields. */
html[data-theme="dark"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  textarea, select) {
  color:var(--vvl-text) !important;
  background-color:var(--vvl-input);
  border-color:var(--vvl-border);
  accent-color:var(--vvl-accent);
}
html[data-theme="dark"] :is(input::placeholder, textarea::placeholder) { color:var(--vvl-text-muted) !important; opacity:1 !important; }
html[data-theme="dark"] :is(.lacvo-checkout-field input, .lacvo-cart-summary input,
  .lacvo-checkout-summary input, .lacvo-checkout-summary textarea,
  .lacvo-contact-fields input, .lacvo-contact-fields select,
  .lacvo-contact-fields textarea,
  .lacvo-review-modal__form input[type="text"], .lacvo-review-modal__form input[type="email"],
  .lacvo-review-modal__form textarea, .woocommerce input.input-text,
  .woocommerce textarea) {
  background:var(--vvl-input) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(input,textarea,select):focus-visible {
  outline:2px solid var(--vvl-accent);
  outline-offset:2px;
}
html[data-theme="dark"] :is(input:-webkit-autofill,textarea:-webkit-autofill) {
  -webkit-text-fill-color:var(--vvl-text) !important;
  box-shadow:0 0 0 1000px var(--vvl-input) inset !important;
  caret-color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.lacvo-auth-page__header h1,
  .lacvo-auth-page__header p, .lacvo-login-card h2,
  .lv-auth-card h1, .lv-auth-card h2) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.lv-auth-card, .lv-login-box, .lv-login-popup__content,
  .lacvo-auth-card, .lacvo-login-card, .lacvo-contact-form,
  .contact-form, .lacvo-auth-form) {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lv-field label, .lv-field-label-row label,
  .lv-auth-card label, .lv-login-note, .lv-auth-subtitle) { color:var(--vvl-text-secondary) !important; }
html[data-theme="dark"] :is(.lv-google-button, .lv-login-google) { background:#f8fafc !important;color:#101828 !important; }
html[data-theme="dark"] :is(.lv-google-button span, .lv-login-google span) { color:#101828 !important; }

/* Toasts, coupons, promotions, notices and dialogs. */
html[data-theme="dark"] :is(.lacvo-toast, .promotion-modal__dialog, .quick-buy-modal__dialog,
  .coupon-card, .coupon-notice,
  .lacvo-empty-cart, .cart-empty, .woocommerce-notice) {
  background:var(--vvl-surface-raised) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.quick-buy-modal__header, .quick-buy-modal__content,
  .quick-buy-modal__footer, .quick-buy-option, .promotion-modal__content) {
  background:var(--vvl-surface-raised) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.quick-buy-modal__header h2, .promotion-modal__dialog h2,
  .quick-buy-modal__content strong, .lacvo-empty-cart h2) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.promotion-modal__backdrop, .quick-buy-modal__backdrop) { background:var(--vvl-scrim) !important; }
html[data-theme="dark"] :is(.floating-contact__scrolltop, .floating-contact__app) { background:var(--vvl-surface-raised) !important; color:#d5e3ff !important; }

/* Never apply dark fills to external brand marks or genuine QR codes. */
html[data-theme="dark"] :is(img, video, canvas, picture, .product-card__image img,
  .hero-slide__visual img, .lacvo-payment-qr-card__image) { filter:none !important; }

@media(max-width:767px) {
  html[data-theme="dark"] .hero-slide__copy {
    background:linear-gradient(90deg,#17243a 45%,rgba(23,36,58,.96) 78%,rgba(23,36,58,.18)) !important;
  }
  html[data-theme="dark"] .header-account-menu__panel { background:var(--vvl-surface-raised) !important; }
}

/* Modal scrollbar is palette-aware, but geometry is shared with light mode. */
html[data-theme="dark"] .lacvo-review-modal__dialog > header { border-color:var(--vvl-border-muted); }
html[data-theme="dark"] .lacvo-review-modal__form { scrollbar-color:#526887 transparent; }
html[data-theme="dark"] .lacvo-review-modal__form::-webkit-scrollbar-thumb { background:#526887; background-clip:padding-box; }

/* Wheel artwork itself is circular: never place a rectangular solid layer behind it. */
html[data-theme="dark"] :is(.promotion-wheel-stage,.promotion-wheel-column,.promotion-wheel-glow) {
  background-color:transparent !important;
}
html[data-theme="dark"] .promotion-wheel-stage { background-image:none !important; }

/* Quick buy layout and close button. Shared secondary CTA rule above owns cart action. */
html[data-theme="dark"] :is(.quick-buy-modal__close,.quick-buy-modal__site,
  .quick-buy-modal__options select,.quick-buy-option) {
  background:var(--vvl-surface-raised) !important;
  border-color:var(--vvl-border-muted) !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.quick-buy-modal__site strong,
  .quick-buy-option strong) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.quick-buy-modal__site small,
  .quick-buy-modal__subtitle,.quick-buy-modal__price del) { color:var(--vvl-text-muted) !important; }
html[data-theme="dark"] .quick-buy-modal__discount {
  background:#3a1f2b !important;
  color:#ffc4d1 !important;
}
html[data-theme="dark"] .quick-buy-modal__dialog { overflow:hidden; }

/* Flash Sale: same navy canvas as the rest of the store, no black inset slab. */
html[data-theme="dark"] :is(.flashsale-page,.flashsale-deals) {
  background:var(--vvl-bg) !important;
  background-image:none !important;
}
html[data-theme="dark"] .flashsale-deals__empty {
  background:var(--vvl-surface) !important;
  box-shadow:none !important;
  border:1px solid var(--vvl-border-muted) !important;
  border-radius:22px;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .flashsale-deals__empty > .icon {
  background:var(--vvl-surface-raised) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .flashsale-deals__empty :is(h3,p) {
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .flashsale-deals__empty h3 { color:var(--vvl-text) !important; }

/* Connected storefront widgets (Lacvo Core and account plugin). */
html[data-theme="dark"] .lacvo-currency-switcher__menu {
  border-color:var(--vvl-border) !important;
  background:var(--vvl-surface-raised) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-currency-switcher__menu a,
  .lacvo-currency-switcher__code, .lacvo-currency-switcher__symbol) { color:var(--vvl-text) !important; }
html[data-theme="dark"] .lacvo-currency-switcher__name { color:var(--vvl-text-muted) !important; }
html[data-theme="dark"] :is(.lacvo-currency-switcher__menu a:hover,
  .lacvo-currency-switcher__menu a.is-active) {
  background:var(--vvl-accent-bg) !important;
  color:#fff !important;
}
html[data-theme="dark"] :is(.lacvo-sales-notification,
  .lacvo-sales-notification__link, .lacvo-sales-notification__content) {
  background:var(--vvl-surface-raised) !important;
  color:var(--vvl-text-secondary) !important;
  border-color:var(--vvl-border) !important;
}
html[data-theme="dark"] .lacvo-sales-notification__email { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.lacvo-sales-notification__action,
  .lacvo-sales-notification__time) { color:var(--vvl-text-muted) !important; }
html[data-theme="dark"] .nav-promo {
  border:1px solid #b58a3a !important;
  background:#2b2517 !important;
  color:#ffcf7c !important;
}
html[data-theme="dark"] :is(.product-card__category-row .product-card__category,
  .woocommerce ul.products li.product.product-card .product-card__category-row .product-card__category) {
  color:var(--vvl-text-muted) !important;
}
html[data-theme="dark"] :is(.woocommerce ul.products li.product.product-card .woocommerce-loop-product__title,
  .woocommerce ul.products li.product.product-card .woocommerce-loop-product__title a,
  .woocommerce div.product .product_title) {
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.product-search, .product-card,
  .post-card, .guide-card, .knowledge-topic-card) { color:var(--vvl-text-secondary) !important; }
html[data-theme="dark"] :is(.lacvo-payment-fields, .lacvo-payment-field, .lacvo-payment-method,
  .lacvo-payment-method__body, .lacvo-payment-page__main) { color:var(--vvl-text-secondary) !important; }
html[data-theme="dark"] :is(.lacvo-product-accordion summary,
  .lacvo-product-accordion button, .woocommerce-tabs .panel p,
  .lacvo-product-purchase p) { color:var(--vvl-text-secondary) !important; }
html[data-theme="dark"] :is(.lacvo-comment-respond, .lacvo-comment__card,
  .lacvo-comments, .lacvo-comment-form, .lacvo-comment-form__field,
  .lacvo-comment-form__message) {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-comment-form__heading .comment-reply-title,
  .lacvo-comment-form__identity strong, .lacvo-comment__author,
  .lacvo-comment__card strong, .lacvo-comments__header h2,
  .lacvo-comment-form label) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.lacvo-comment-form input[type="text"],
  .lacvo-comment-form input[type="email"], .lacvo-comment-form textarea) {
  background:var(--vvl-input) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.lacvo-checkout-summary input#billing_email,
  .lacvo-cart-summary input#lacvo_checkout_email,
  input[data-lacvo-commerce-email="1"]) {
  background:var(--vvl-input) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
  box-shadow:inset 0 0 0 1000px var(--vvl-input) !important;
  caret-color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.lv-field input, .lv-auth-card input[type="email"],
  .lv-auth-card input[type="password"], .lv-auth-card input[type="text"]) {
  background:var(--vvl-input) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
}

/* Editorial columns and dividers: no forced rectangular background blocks. */
html[data-theme="dark"] :is(.article-page,.article-layout,.article-body,
  .article-content,.article-section,.article-meta,.related-guides,
  .knowledge-articles,.knowledge-topics,.article-share-rail) {
  background:transparent !important;
}
html[data-theme="dark"] :is(.article-sidebar-card > h2,
  .article-toc-mobile .article-toc__list,
  .article-content hr,.article-share-separator,
  .article-author,.article-sidebar-card hr) {
  border-color:var(--vvl-divider) !important;
}
html[data-theme="dark"] :is(.article-sidebar-card a,.article-sidebar-card strong,
  .article-toc__list a,.article-toc-mobile summary) {
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.article-sidebar-card a:hover,.article-toc__list a:hover) {
  background:#233650 !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .article-sidebar-card :is(h3,h4,h5) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.article-toc-mobile,.article-content table,
  .article-content pre,.article-content blockquote) {
  background:var(--vvl-surface-raised) !important;
  color:var(--vvl-text-secondary) !important;
  border-color:var(--vvl-border) !important;
}
html[data-theme="dark"] .article-content :is(h2,h3,h4,li,strong) {
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.article-share-mobile,
  .article-share-action) { border-color:var(--vvl-border) !important; }

/* Prize wheel: the community section is an intentionally continuous dark canvas,
   not white cards with near-white labels. */
html[data-theme="dark"] :is(.promotion-page,.promotion-community,
  .promotion-how,.promotion-section,.promotion-section__heading) {
  background:var(--vvl-bg) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.promotion-section__heading h2,
  .promotion-winner__copy p,.promotion-winner__copy strong) {
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.promotion-section__heading p,
  .promotion-section__heading > span,.promotion-winner__copy small,
  .promotion-winner__copy p span,.promotion-winner__prize small) {
  color:var(--vvl-text-muted) !important;
}
html[data-theme="dark"] .promotion-winners > li {
  background:var(--vvl-surface) !important;
  border-color:var(--vvl-border) !important;
}
html[data-theme="dark"] .promotion-winner__avatar {
  background:#253b59 !important;
  color:#eff5ff !important;
}
html[data-theme="dark"] .promotion-winner__prize strong {
  background:#1f3760 !important;
  color:#c9dcff !important;
}
html[data-theme="dark"] :is(.promotion-winners > li:nth-child(3n+1) .promotion-winner__avatar,
  .promotion-winners > li:nth-child(3n+1) .promotion-winner__prize strong) {
  background:#234472 !important;
  color:#e0ecff !important;
}
html[data-theme="dark"] .promotion-winners__empty {
  background:var(--vvl-surface) !important;
  color:var(--vvl-text-secondary) !important;
}


/* Remaining commerce microcopy: readable on dark without painting wrappers. */
html[data-theme="dark"] :is(.lacvo-cart-summary label,
  .lacvo-cart-summary__coupon label,.lacvo-checkout-field label,
  .lacvo-payment-choice legend,.lacvo-product-information label) {
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.lacvo-cart-summary__rows .is-total,
  .lacvo-cart-summary__rows .is-total strong,
  .lacvo-checkout-summary .lacvo-cart-summary__rows .is-total,
  .lacvo-cart-item__title) { color:var(--vvl-text) !important; }
html[data-theme="dark"] .lacvo-cart-summary__coupon button {
  background:var(--vvl-action-soft) !important;
  border:1px solid var(--vvl-action-soft-border) !important;
  color:var(--vvl-action-soft-text) !important;
}
html[data-theme="dark"] .lacvo-cart-summary__coupon button:hover {
  background:var(--vvl-action-soft-hover) !important;
  color:#fff !important;
}
html[data-theme="dark"] .lacvo-payment-choice__unavailable {
  background:#302619 !important;
  border-color:#614a30 !important;
  color:#ffd59d !important;
}

/* Knowledge center: preserve artwork while fixing the bright outer wrappers. */
html[data-theme="dark"] :is(.knowledge-topics, .knowledge-articles,
  .guide-page, .guide-centre, .guide-library, .knowledge-results,
  .knowledge-results__inner, .knowledge-empty) {
  background:var(--vvl-bg) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .knowledge-hero {
  background:radial-gradient(circle at 92% 16%,rgba(85,123,219,.16),transparent 34%),
    linear-gradient(118deg,#0e172a,#172644 80%,#213661) !important;
}
html[data-theme="dark"] :is(.knowledge-hero h1, .knowledge-hero__inner > p,
  .knowledge-eyebrow, .knowledge-tags a) { color:#eff5ff !important; }
html[data-theme="dark"] :is(.knowledge-section-heading h2, .guide-centre h1,
  .guide-topic-heading h1, .knowledge-empty h2) { color:var(--vvl-text) !important; }
html[data-theme="dark"] :is(.knowledge-section-heading p, .guide-centre__lead,
  .guide-topic-heading p, .knowledge-empty p, .guide-support-note) { color:var(--vvl-text-muted) !important; }
html[data-theme="dark"] :is(.guide-search, .guide-search .guide-search-suggestions,
  .guide-search .search-suggestions__status, .guide-search .search-suggestions__items,
  .guide-search .search-suggestions__item, .guide-search .search-suggestions__all) {
  background:var(--vvl-surface) !important;
  color:var(--vvl-text-secondary) !important;
  border-color:var(--vvl-border) !important;
}
html[data-theme="dark"] :is(.guide-search input[type="search"], .guide-search input[type="search"]:focus) {
  background:transparent !important;
  color:var(--vvl-text) !important;
  -webkit-text-fill-color:var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.guide-search .search-suggestions__copy strong,
  .guide-quick-links a, .guide-topic-heading strong) { color:var(--vvl-text-secondary) !important; }
html[data-theme="dark"] :is(.guide-topic-chips a, .knowledge-filter-chip,
  .guide-centre__eyebrow) {
  background:var(--vvl-surface-raised) !important;
  color:var(--vvl-text-secondary) !important;
  border-color:var(--vvl-border) !important;
}
html[data-theme="dark"] :is(.guide-topic-chips a:hover, .knowledge-filter-chip:hover,
  .knowledge-filter-chip.is-active) {
  background:var(--vvl-accent-bg) !important;
  color:#f8fbff !important;
  border-color:#577fc9 !important;
}
html[data-theme="dark"] .knowledge-topic-card__copy strong,
html[data-theme="dark"] .knowledge-topic-card__copy small { color:#fff !important; }
/* Image-backed feature cards intentionally retain their overlays rather than flat fills. */
html[data-theme="dark"] :is(.knowledge-articles--featured .post-card__body,
  .home-blog-featured .post-card__body) {
  background:linear-gradient(180deg,rgba(6,14,34,0) 14%,rgba(6,14,34,.08) 34%,rgba(6,14,34,.90) 100%) !important;
}
html[data-theme="dark"] :is(.knowledge-articles--featured .post-card__body h2 a,
  .knowledge-articles--featured .post-card__body p,
  .home-blog-featured .post-card__body h2 a,
  .home-blog-featured .post-card__body p) { color:#fff !important; }
html[data-theme="dark"] :is(.knowledge-pagination a, .knowledge-pagination span,
  .guide-pagination a, .guide-pagination span) {
  background:var(--vvl-surface-raised) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] :is(.knowledge-pagination .current,
  .guide-pagination .current) { background:#2d61e9 !important; color:#fff !important; }


/* === 2.0.63 audited component styles (dark only) =========================
   Each component owns its dark surface. Layout wrappers remain transparent.
   Never style a currency dropdown link as a generic secondary button. */

/* Blog editorial: remove the light Tailwind gradient from related products. */
html[data-theme="dark"] .article-products,
html[data-theme="dark"] .article-recommendation-box {
  background:transparent !important;
  background-image:none !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .article-recommendation-box > header h2 { color:var(--vvl-text) !important; }
html[data-theme="dark"] .article-recommendation-box > header p { color:var(--vvl-text-secondary) !important; }
html[data-theme="dark"] .article-recommendation-box > .products { background:transparent !important; }

/* WordPress page.php: legal and help content is a document, not a card. */
html[data-theme="dark"] main.content-layout .entry-single:not(.entry-single--order-view),
html[data-theme="dark"] main.content-layout .entry-single > .entry-header,
html[data-theme="dark"] main.content-layout .entry-single > .entry-content {
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html[data-theme="dark"] main.content-layout .entry-single > .entry-header h1 {
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] main.content-layout .entry-single > .entry-content,
html[data-theme="dark"] main.content-layout .entry-single > .entry-content p,
html[data-theme="dark"] main.content-layout .entry-single > .entry-content li {
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] main.content-layout .entry-content :is(h2,h3,h4) {color:var(--vvl-text) !important;}

/* Coupon help cards are real cards; no light tiles with nearly white text. */
html[data-theme="dark"] .promotion-steps article {
  background:var(--vvl-surface) !important;
  background-image:none !important;
  color:var(--vvl-text-secondary) !important;
  border:1px solid var(--vvl-border-muted) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
html[data-theme="dark"] .promotion-steps article:hover {
  background:var(--vvl-surface-raised) !important;
  border-color:#436187 !important;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
}
html[data-theme="dark"] .promotion-steps article h3 {color:var(--vvl-text) !important;}
html[data-theme="dark"] .promotion-steps article p {color:var(--vvl-text-secondary) !important;}
html[data-theme="dark"] .promotion-steps article > div > span {
  background:var(--vvl-accent-bg) !important;
  color:#b8cdff !important;
}
html[data-theme="dark"] .promotion-steps article > div > strong {color:#8eb0fb !important;}

/* Native file-input buttons are platform-dependent; use accessible custom label. */
html[data-theme="dark"] .lacvo-contact-upload {
  background:var(--vvl-input);
  border-color:var(--vvl-border);
  color:var(--vvl-text-secondary);
}
html[data-theme="dark"] .lacvo-contact-upload__button {
  background:var(--vvl-action-soft);
  border:1px solid var(--vvl-action-soft-border);
  color:var(--vvl-action-soft-text);
  box-shadow:0 8px 20px rgba(0,0,0,.20);
}
html[data-theme="dark"] .lacvo-contact-upload:hover .lacvo-contact-upload__button,
html[data-theme="dark"] .lacvo-contact-upload:focus-within .lacvo-contact-upload__button {
  background:var(--vvl-action-soft-hover);
  border-color:#5876a0;
  color:#fff;
}
html[data-theme="dark"] .lacvo-contact-upload__status {color:var(--vvl-text-secondary);}

/* Money switcher rows are menu items, not individually outlined buttons. */
html[data-theme="dark"] .lacvo-currency-switcher__menu > a {
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:none !important;
  color:var(--vvl-text) !important;
  min-height:42px;
  border-radius:9px;
}
html[data-theme="dark"] .lacvo-currency-switcher__menu > a:is(:hover,:focus-visible),
html[data-theme="dark"] .lacvo-currency-switcher__menu > a.is-active {
  background:var(--vvl-accent-bg) !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .lacvo-currency-switcher__menu > a .lacvo-currency-switcher__name {
  color:var(--vvl-text-muted) !important;
}

/* Product review replies: readable body and restrained separator line. */
html[data-theme="dark"] .lacvo-review-replies {border-left-color:var(--vvl-divider) !important;}
html[data-theme="dark"] .lacvo-review-reply__avatar {background:var(--vvl-accent-bg) !important;color:#dbe7ff !important;}
html[data-theme="dark"] .lacvo-review-reply__body header strong,
html[data-theme="dark"] .lacvo-review-card__identity h3 {color:var(--vvl-text) !important;}
html[data-theme="dark"] .lacvo-review-reply__body header span {
  color:#d5e2ff !important;
  background:var(--vvl-accent-bg) !important;
}
html[data-theme="dark"] .lacvo-review-reply__body header time,
html[data-theme="dark"] .lacvo-review-reply__content {color:var(--vvl-text-secondary) !important;}

/* A product screen must not inherit the light document canvas. */
html[data-theme="dark"] body.single-product,
html[data-theme="dark"] body.single-product .site-shell,
html[data-theme="dark"] body.single-product main {
  background:var(--vvl-bg) !important;
}

/* ==== v2.0.62 dark-mode refinement pass ==== */
/* Shared pills / tags on dark sections must use the same tinted surface system. */
html[data-theme="dark"] :is(.eyebrow,
  .section-heading__label,
  .guide-centre__eyebrow,
  .guide-card .post-card__pill,
  .post-card__pill,
  .article-category,
  .topic-tabs a,
  .blog-filter__chip,
  .knowledge-filter-chip) {
  background:var(--vvl-accent-bg) !important;
  background-image:none !important;
  color:#cfdeff !important;
  border:1px solid #415d95 !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .section-heading--numbered.is-warning .section-heading__label {
  background:#342a19 !important;
  color:#ffd28f !important;
  border-color:#5a4729 !important;
}

/* Numbered section headers: keep the decorative index visible but subtle. */
html[data-theme="dark"] .section-heading--numbered {
  overflow:hidden;
  padding-left:1.4rem;
}
html[data-theme="dark"] .section-heading--numbered .section-heading__number {
  display:block !important;
  position:absolute;
  left:.2rem;
  top:-.15rem;
  z-index:0;
  font-size:clamp(4.15rem, 8vw, 7rem);
  line-height:.9;
  color:rgba(132,167,255,.18) !important;
}
html[data-theme="dark"] .section-heading--numbered.is-warning .section-heading__number {
  color:rgba(255,213,143,.2) !important;
}
html[data-theme="dark"] .section-heading--numbered .section-heading__copy,
html[data-theme="dark"] .section-heading--numbered > a {
  position:relative;
  z-index:1;
}

/* Header auth link: no bright hover background in dark mode. */
html[data-theme="dark"] .header-actions__account {
  background:transparent !important;
  border:1px solid transparent !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .header-actions__account:is(:hover,:focus-visible) {
  background:var(--vvl-soft) !important;
  border-color:var(--vvl-border) !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .header-actions__account span {
  color:inherit !important;
  -webkit-text-fill-color:currentColor !important;
}

/* Review modal action buttons. */
html[data-theme="dark"] .lacvo-review-modal__actions .submit {
  background:var(--vvl-action) !important;
  background-image:none !important;
  color:var(--vvl-action-text) !important;
  -webkit-text-fill-color:var(--vvl-action-text) !important;
  border:1px solid var(--vvl-action) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-review-modal__actions .submit:is(:hover,:focus-visible) {
  background:var(--vvl-action-hover) !important;
  border-color:var(--vvl-action-hover) !important;
}
html[data-theme="dark"] .lacvo-review-modal__actions .lacvo-review-cancel {
  background:var(--vvl-surface-raised) !important;
  color:var(--vvl-text) !important;
  border:1px solid var(--vvl-border) !important;
  box-shadow:none !important;
}

/* Product detail / related-product structure must not create light nested slabs. */
html[data-theme="dark"] :is(.lacvo-single-product,
  .lacvo-single-product > section,
  .lacvo-product-information,
  .lacvo-product-top,
  .lacvo-related,
  .lacvo-related .products,
  .lacvo-related ul.products,
  .lacvo-related-grid) {
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}
html[data-theme="dark"] :is(.lacvo-product-summary,
  .lacvo-product-pricebox,
  .lacvo-product-trust,
  .lacvo-product-notice,
  .lacvo-product-accordion,
  .lacvo-product-content,
  .lacvo-product-benefit,
  .lacvo-product-panel,
  .lacvo-product-specs,
  .lacvo-product-faq) {
  background:var(--vvl-surface) !important;
  background-image:none !important;
}
html[data-theme="dark"] .lacvo-related__header,
html[data-theme="dark"] .lacvo-product-information > h2 {
  background:transparent !important;
}

/* Cart / checkout coupon actions should match the dark button system. */
html[data-theme="dark"] :is(.lacvo-cart-summary__coupon button,
  .lacvo-inline-form .button,
  .lacvo-inline-form button,
  .lacvo-inline-form input[type="submit"]) {
  background:var(--vvl-action-soft) !important;
  background-image:none !important;
  color:var(--vvl-action-soft-text) !important;
  -webkit-text-fill-color:var(--vvl-action-soft-text) !important;
  border:1px solid var(--vvl-action-soft-border) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] :is(.lacvo-cart-summary__coupon button,
  .lacvo-inline-form .button,
  .lacvo-inline-form button,
  .lacvo-inline-form input[type="submit"]):not(:disabled):is(:hover,:focus-visible) {
  background:var(--vvl-action-soft-hover) !important;
  color:#fff !important;
  border-color:#547cba !important;
}
html[data-theme="dark"] :is(.lacvo-cart-summary__coupon button,
  .lacvo-inline-form .button,
  .lacvo-inline-form button,
  .lacvo-inline-form input[type="submit"]):disabled {
  background:rgba(141,160,190,.14) !important;
  color:var(--vvl-text-muted) !important;
  -webkit-text-fill-color:var(--vvl-text-muted) !important;
  border-color:var(--vvl-border) !important;
  opacity:1 !important;
}

/* Article separators / rules / tables in dark mode. */
html[data-theme="dark"] :is(hr,
  .article-content hr,
  .entry-content hr,
  .article-sidebar-card > h2,
  .guide-sidebar-card > h2,
  .article-content table,
  .entry-content table,
  .article-content table th,
  .article-content table td,
  .entry-content table th,
  .entry-content table td,
  .article-content blockquote,
  .entry-content blockquote) {
  border-color:var(--vvl-divider) !important;
}
html[data-theme="dark"] :is(.article-content table th,
  .article-content table td,
  .entry-content table th,
  .entry-content table td) {
  background:transparent !important;
  color:var(--vvl-text-secondary) !important;
}

/* Sidebar shell stays transparent; only inner cards carry a surface. */
html[data-theme="dark"] :is(.article-sidebar,
  .article-sidebar__sticky,
  .guide-single .article-sidebar,
  .guide-single .article-sidebar__sticky) {
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}


/* ===== VinhLac 2.0.62 dark-mode fixes ===== */
html[data-theme="dark"] .site-shell hr,
html[data-theme="dark"] :is(.article-content hr,.article-share-separator,.article-sidebar-card hr,
	.woocommerce-tabs,.lacvo-product-information > h2,.lacvo-contact-form-heading,
	.lacvo-contact-form-footer,.footer-newsletter,.lacvo-review-summary,
	.lacvo-review-toolbar,.lacvo-reviews__header,.lacvo-product-accordion summary,
	.guide-centre,.guide-library,.lacvo-contact-note-card,.lacvo-contact-alert,
	.wp-block-separator,.comment-respond,.comments-area) {
	border-color: var(--vvl-divider) !important;
}

html[data-theme="dark"] :is(.article-content hr,.article-share-separator,.wp-block-separator) {
	background: transparent !important;
	color: var(--vvl-divider) !important;
}

html[data-theme="dark"] :is(.article-share-action,.article-share-mobile a,
	.theme-switcher__trigger,.header-actions__account,.header-account-menu__trigger,
	.floating-contact__scrolltop,.floating-contact__app,.lacvo-product-zoom,
	.lacvo-review-votes button,.lacvo-review-toolbar button,
	.lacvo-review-cancel,.lacvo-product-demo,.product-card__demo) {
	background: var(--vvl-surface-raised) !important;
	border: 1px solid var(--vvl-border) !important;
	color: var(--vvl-text-secondary) !important;
	box-shadow: none !important;
}

html[data-theme="dark"] :is(.article-share-action:hover,.article-share-mobile a:hover,
	.theme-switcher__trigger:hover,.header-actions__account:hover,.header-account-menu__trigger:hover,
	.floating-contact__scrolltop:hover,.floating-contact__app:hover,.lacvo-product-zoom:hover,
	.lacvo-review-votes button:hover,.lacvo-review-toolbar button:hover,
	.lacvo-review-cancel:hover,.lacvo-product-demo:hover,.product-card__demo:hover) {
	background: #243a5b !important;
	border-color: #456180 !important;
	color: #f8fbff !important;
}

html[data-theme="dark"] :is(
	.button--primary,.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,
	.woocommerce button.button.alt,.woocommerce input.button.alt,
	.header-actions__register,.search-form button,.site-search button,
	.theme-search button,.theme-search__button,.lacvo-auth-page button[type="submit"],
	.lacvo-contact-form-footer button,.footer-newsletter__form button,
	.flashsale-hero__actions a:not(.is-secondary),.promotion-modal__acknowledge,
	.lacvo-review-write,.guide-search button,
	button[type="submit"].alt,.button[type="submit"].alt,
	.woocommerce-ResetPassword button,.lost_reset_password button
) {
	background: linear-gradient(180deg, #3f79ff 0%, #2a62ea 100%) !important;
	background-image: linear-gradient(180deg, #3f79ff 0%, #2a62ea 100%) !important;
	border: 1px solid #4f81f2 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	box-shadow: 0 0 0 1px rgba(120, 160, 255, 0.18), 0 14px 32px rgba(43, 96, 233, 0.34), 0 0 24px rgba(72, 122, 255, 0.22) !important;
}

html[data-theme="dark"] :is(
	.button--primary:hover,.woocommerce #respond input#submit.alt:hover,.woocommerce a.button.alt:hover,
	.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover,
	.header-actions__register:hover,.search-form button:hover,.site-search button:hover,
	.theme-search button:hover,.theme-search__button:hover,.lacvo-auth-page button[type="submit"]:hover,
	.lacvo-contact-form-footer button:hover,.footer-newsletter__form button:hover,
	.flashsale-hero__actions a:not(.is-secondary):hover,.promotion-modal__acknowledge:hover,
	.lacvo-review-write:hover,.guide-search button:hover,
	.woocommerce-ResetPassword button:hover,.lost_reset_password button:hover
) {
	background: linear-gradient(180deg, #4a85ff 0%, #326df7 100%) !important;
	border-color: #6894ff !important;
	transform: translateY(-1px);
}

html[data-theme="dark"] :is(.button--secondary,.flashsale-hero__actions a.is-secondary,
	.product-card__demo,.lacvo-product-purchase .single_add_to_cart_button:not(.lacvo-buy-now),
	.header-actions__account) {
	background: linear-gradient(180deg, #182b48 0%, #14243d 100%) !important;
	border: 1px solid #365171 !important;
	color: var(--vvl-action-soft-text) !important;
	box-shadow: 0 0 0 1px rgba(87, 119, 174, 0.12), 0 10px 20px rgba(8, 17, 37, 0.28) !important;
}

html[data-theme="dark"] :is(.button--secondary:hover,.flashsale-hero__actions a.is-secondary:hover,
	.product-card__demo:hover,.lacvo-product-purchase .single_add_to_cart_button:not(.lacvo-buy-now):hover) {
	background: linear-gradient(180deg, #21365b 0%, #193150 100%) !important;
	border-color: #4a6c95 !important;
	color: #ffffff !important;
}

html[data-theme="dark"] :is(.lacvo-currency-switcher__menu,.theme-switcher__menu) {
	border-color: var(--vvl-border) !important;
	box-shadow: var(--vvl-shadow) !important;
}

/* Keep the original 11×11px pointer; never stretch it into a large diamond. */
html[data-theme="dark"] .lacvo-currency-switcher__menu::before {
  top:-6px;
  right:22px;
  width:11px;
  height:11px;
  transform:rotate(45deg);
  border-left:1px solid var(--vvl-border);
  border-top:1px solid var(--vvl-border);
  border-right:0;
  border-bottom:0;
  border-radius:0;
  background:var(--vvl-surface-raised) !important;
  box-shadow:none !important;
}

html[data-theme="dark"] :is(.lv-auth-card,.lv-login-box,.lv-login-popup__content,
	.lacvo-auth-card,.lacvo-login-card,.lacvo-contact-form,.contact-form,
	.lacvo-auth-form,.lacvo-contact-form-card,.lacvo-contact-info-card,
	.lacvo-contact-note-card) {
	background: var(--vvl-surface) !important;
	border-color: var(--vvl-border) !important;
	box-shadow: var(--vvl-shadow) !important;
}

html[data-theme="dark"] :is(.lacvo-contact-form-heading,.lacvo-contact-form-footer,
	.lacvo-contact-layout,.lacvo-contact-hero,.lacvo-contact-page,
	.lacvo-contact-fields label,.lacvo-contact-files) {
	background: transparent !important;
	color: var(--vvl-text-secondary) !important;
}

html[data-theme="dark"] :is(.lacvo-contact-info-card h2,.lacvo-contact-form-heading h2,
	.lacvo-contact-note-card h3,.lacvo-contact-hero h1,.lacvo-contact-form-footer button span,
	.lacvo-contact-form-heading small,.lacvo-contact-fields span) {
	color: var(--vvl-text) !important;
}

html[data-theme="dark"] :is(.lacvo-contact-info-card > p,.lacvo-contact-form-heading p,
	.lacvo-contact-note-card p,.lacvo-contact-hero p,.lacvo-contact-form-footer p,
	.lacvo-contact-fields small,.lacvo-contact-info-card small) {
	color: var(--vvl-text-secondary) !important;
}

html[data-theme="dark"] .lacvo-contact-info-card ul li {
	background: var(--vvl-surface-raised) !important;
	border-color: var(--vvl-border) !important;
}

html[data-theme="dark"] .lacvo-contact-info-card ul li a,
html[data-theme="dark"] .lacvo-contact-info-card ul li strong {
	color: var(--vvl-text) !important;
}


html[data-theme="dark"] .lacvo-auth-page :is(.lv-google-button,.lv-login-google) {
	background: linear-gradient(180deg, #f5f7fb 0%, #e9eef8 100%) !important;
	border-color: #cad7ef !important;
	box-shadow: 0 10px 24px rgba(12, 18, 31, 0.18) !important;
}

html[data-theme="dark"] :is(.lacvo-product-category,.guide-topic-chips a,
	.tag-list a,.knowledge-filter-chip,.post-card__pill,
	.topic-tabs a,.blog-filter button,.blog-filter__chip,
	.lacvo-delivery-badge,.product-card__delivery,
	.lacvo-product-discount,.product-card__badge,.lacvo-review-toolbar button) {
	border-color: var(--vvl-border) !important;
}

html[data-theme="dark"] .lacvo-product-category {
	background: #1a3052 !important;
	color: #d9e7ff !important;
	border: 1px solid #35557a !important;
}

html[data-theme="dark"] .guide-topic-chips small,
html[data-theme="dark"] .blog-filter__chip small,
html[data-theme="dark"] .topic-tabs small {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 999px;
	background: #d9e7ff !important;
	color: #1d3e79 !important;
	font-weight: 700;
	border: 1px solid rgba(96, 135, 211, 0.45) !important;
}

html[data-theme="dark"] .article-hero h1 {
	color: var(--vvl-text) !important;
}

html[data-theme="dark"] .article-author,
html[data-theme="dark"] .article-author a {
	background: transparent !important;
	box-shadow: none !important;
}

html[data-theme="dark"] .article-author__avatar {
	background: linear-gradient(180deg, #477ef7 0%, #2a62ea 100%) !important;
	backdrop-filter: none !important;
	box-shadow: 0 10px 24px rgba(42, 98, 234, 0.35) !important;
}

html[data-theme="dark"] :is(.article-byline,.article-meta,.article-content,
	.article-content p,.article-content li,.article-content ul,
	.article-content ol,.article-footer,.article-footer__author) {
	color: var(--vvl-text-secondary) !important;
}

html[data-theme="dark"] :is(.article-page,.article-layout,.article-body,
	.article-content,.article-section,.article-meta,.related-guides,
	.knowledge-articles,.knowledge-topics,.article-share-rail,
	.section.lacvo-related,section.related,section.related.products,
	.related.products,.lacvo-related,.lacvo-related-grid,
	.woocommerce .lacvo-related-grid.products,.lacvo-reviews,
	.lacvo-review-summary,.lacvo-review-listing,.lacvo-review-list,
	.lacvo-product-information) {
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

html[data-theme="dark"] :is(.lacvo-product-summary,.lacvo-product-pricebox,
	.lacvo-product-trust,.lacvo-product-notice,.lacvo-full-site-overview,
	.lacvo-product-accordion,.lacvo-product-content) {
	background: var(--vvl-surface) !important;
	border-color: var(--vvl-border) !important;
}

html[data-theme="dark"] .lacvo-product-pricebox {
	background-image: none !important;
}

html[data-theme="dark"] :is(.lacvo-reviews__header,.lacvo-review-summary,
	.lacvo-review-toolbar) {
	background: transparent !important;
	box-shadow: none !important;
}

html[data-theme="dark"] .lacvo-reviews__header h2,
html[data-theme="dark"] .lacvo-related__header h2,
html[data-theme="dark"] .related.products > h2,
html[data-theme="dark"] .lacvo-product-information > h2 {
	color: var(--vvl-text) !important;
}

html[data-theme="dark"] :is(.lacvo-reviews__header p,.lacvo-review-average > span,
	.lacvo-review-bars__row > span,.lacvo-review-bars__row small,
	.lacvo-related__header a) {
	color: var(--vvl-text-secondary) !important;
}

html[data-theme="dark"] .lacvo-review-bars__row i,
html[data-theme="dark"] .lacvo-review-bars__row > i {
	background: #223552 !important;
}

html[data-theme="dark"] .footer-newsletter {
	background: linear-gradient(180deg, rgba(24, 36, 58, 0.92) 0%, rgba(17, 27, 45, 0.96) 100%) !important;
	border: 1px solid var(--vvl-border) !important;
	box-shadow: var(--vvl-shadow) !important;
}

html[data-theme="dark"] :is(.footer-newsletter__copy h2,.footer-newsletter__form button) {
	color: var(--vvl-text) !important;
}

html[data-theme="dark"] :is(.footer-newsletter__copy p,.footer-newsletter__status,
	.lacvo-newsletter-form__status) {
	color: var(--vvl-text-secondary) !important;
}

html[data-theme="dark"] .footer-newsletter__form > span {
	background: var(--vvl-input) !important;
	border-color: var(--vvl-border) !important;
}

html[data-theme="dark"] :is(.footer-newsletter__form input[type="email"],
	.footer-newsletter__form input[type="email"]:focus) {
	background: transparent !important;
	color: var(--vvl-text) !important;
	-webkit-text-fill-color: var(--vvl-text) !important;
}

html[data-theme="dark"] .flashsale-hero__actions a.is-secondary {
	color: var(--vvl-text) !important;
}

html[data-theme="dark"] :is(.flashsale-hero > *, .flashsale-hero__stats > div) {
	border-color: rgba(92, 114, 146, 0.32) !important;
}

/* === 2.0.65 · Dark component polish ===========================================
 * Reference: checkout inputs in dark mode. A single neutral border token for
 * outlines, quiet dividers for document rules, primary blue only for actions.
 * Do not paint structural wrappers. Do not style menu rows as generic buttons.
 * ============================================================================ */

/* 1. Product gallery: one rounded, muted border on the visible media wrapper.
   WooCommerce's white gallery surface caused the glowing bottom corner and
   visible light border; the parent must never create a second rectangle. */
html[data-theme="dark"] .lacvo-single-product :is(
  .lacvo-product-media,.lacvo-product-gallery-wrap,.woocommerce-product-gallery,
  .woocommerce-product-gallery__image,.woocommerce-product-gallery__image > a) {
  background:transparent !important;
  background-image:none !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-single-product .woocommerce-product-gallery__wrapper {
  background:transparent !important;
  background-image:none !important;
  border:1px solid var(--vvl-border) !important;
  border-radius:16px;
  box-shadow:none !important;
  outline:0 !important;
  padding:0 !important;
  overflow:hidden;
}
html[data-theme="dark"] .lacvo-single-product .woocommerce-product-gallery__image img {
  display:block;
  width:100%;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  outline:0 !important;
}
/* Preserve image size/cropping and the existing contextual zoom control. */

/* 2. Reviews: editorial canvas and hairline dividers instead of nested slabs.
   Header and individual comments are not cards. The rating breakdown is the
   only bordered panel in this section; vote buttons remain genuine controls. */
html[data-theme="dark"] .lacvo-single-product .lacvo-reviews {
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-reviews :is(
  .lacvo-reviews__header,.lacvo-review-listing,.lacvo-review-list,
  .lacvo-review-item,.lacvo-review-card,.lacvo-review-card__header,
  .lacvo-review-card__content,.lacvo-review-card__actions) {
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-reviews__header {
  border:0 !important;
  padding-inline:0;
}
html[data-theme="dark"] .lacvo-review-summary {
  background:transparent !important;
  background-image:none !important;
  border:1px solid var(--vvl-border) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-review-listing,
html[data-theme="dark"] .lacvo-review-list {
  border:0 !important;
}
html[data-theme="dark"] .lacvo-review-item {
  border-color:var(--vvl-divider) !important;
}
html[data-theme="dark"] .lacvo-review-item:last-child {
  border-bottom:0 !important;
}
html[data-theme="dark"] .lacvo-review-card {
  border:0 !important;
}

/* Three sort buttons, no parent frame or per-option boxes. */
html[data-theme="dark"] .lacvo-review-toolbar {
  gap:4px;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  overflow:visible;
}
html[data-theme="dark"] .lacvo-reviews .lacvo-review-toolbar > button {
  margin:0 !important;
  border:1px solid transparent !important;
  border-radius:999px !important;
  background:transparent !important;
  background-image:none !important;
  color:var(--vvl-text-secondary) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-reviews .lacvo-review-toolbar > button:not(.is-active):is(:hover,:focus-visible) {
  background:var(--vvl-soft) !important;
  border-color:var(--vvl-border-muted) !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .lacvo-reviews .lacvo-review-toolbar > button.is-active {
  background:var(--vvl-action) !important;
  border-color:var(--vvl-action-border) !important;
  color:#fff !important;
}

/* 3. Appearance options: the popup has ONE border. Only hovered/focused row
   gets a fill. The selected row uses the check icon and accessible text. */
html[data-theme="dark"] .theme-switcher__menu > button {
  border:0 !important;
  border-radius:12px;
  background:transparent !important;
  background-image:none !important;
  color:var(--vvl-text-secondary) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .theme-switcher__menu > button.is-active {
  border:0 !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .theme-switcher__menu > button:is(:hover,:focus-visible),
html[data-theme="dark"] .theme-switcher__menu > button.is-active:is(:hover,:focus-visible) {
  border:0 !important;
  background:var(--vvl-soft) !important;
  background-image:none !important;
  box-shadow:none !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .theme-switcher__menu > button > .icon:first-child {
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .theme-switcher__menu > button.is-active .theme-switcher__check {
  color:var(--vvl-accent) !important;
}

/* 4. Blog / guide document rules: WP and theme HRs sometimes use a light
   border AND a background, resulting in two bright strokes. Collapse to one
   1px dark divider. Avoid changing the geometry of dotted WP separators. */
html[data-theme="dark"] .article-page .article-content hr:not(.is-style-dots),
html[data-theme="dark"] .article-page .article-content .wp-block-separator:not(.is-style-dots),
html[data-theme="dark"] main.content-layout .entry-content hr:not(.is-style-dots) {
  display:block;
  height:1px !important;
  min-height:1px;
  border:0 !important;
  background:var(--vvl-divider) !important;
  background-image:none !important;
  color:var(--vvl-divider) !important;
  opacity:1;
  box-shadow:none !important;
}
html[data-theme="dark"] .article-page :is(
  .article-content h2,.article-content h3,.article-content h4,
  .article-footer,.article-footer__row,.article-sidebar-card > h2,
  .article-author,.article-main,.article-content table,
  .article-content table th,.article-content table td) {
  border-color:var(--vvl-divider) !important;
}
html[data-theme="dark"] :is(.article-share-separator,
  .article-share-rail .article-share-separator) {
  background:var(--vvl-divider) !important;
  border-color:var(--vvl-divider) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .site-shell hr.is-style-dots {
  border-color:var(--vvl-divider) !important;
  color:var(--vvl-text-muted) !important;
}


/* 2.0.66 — Dark-mode component consistency.
   Match the established input / panel palette (#34445e border; #2a3a52 divider).
   Keep these adjustments on the dark layer only: light mode retains its original UI. */

/* Related guides: remove light-mode separator inherited from .post-card__footer.
   Use the same neutral hairline as product details, reviews and article sections. */
html[data-theme="dark"] .post-card__footer {
  border-top:1px solid var(--vvl-divider) !important;
  background:transparent !important;
  box-shadow:none !important;
}

/* Contact page: eyebrow is a dark-mode label, not a bright white CTA. */
html[data-theme="dark"] .lacvo-contact-eyebrow {
  background:var(--vvl-action-soft) !important;
  background-image:none !important;
  border:1px solid var(--vvl-border) !important;
  color:#c8daff !important;
  -webkit-text-fill-color:#c8daff !important;
  box-shadow:none !important;
  font-weight:600;
}

/* Contact channel and form-heading glyph surfaces share the same dark neutral
   chip, with original brand-coloured glyphs retained where applicable. */
html[data-theme="dark"] :is(
  .lacvo-contact-info-card li > span,
  .lacvo-contact-form-heading > div:first-child,
  .lacvo-contact-note-card > span
) {
  background:var(--vvl-soft) !important;
  background-image:none !important;
  color:var(--vvl-accent) !important;
  border:0 !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-contact-info-card li > span > svg {
  width:24px;
  height:24px;
  max-width:100%;
  max-height:100%;
}

/* Category icons: light pastel tiles caused white squares on the dark sidebar.
   Uniform dark tile across all categories, semantic icons retain muted accents. */
html[data-theme="dark"] :is(
  .lacvo-filter-icon,.category-menu__icon,.category-card__icon
),
html[data-theme="dark"] .lacvo-filter-card .lacvo-filter-icon[class*="is-"],
html[data-theme="dark"] .category-menu__icon[class*="is-"],
html[data-theme="dark"] .category-card__icon[class*="is-"] {
  background:var(--vvl-soft) !important;
  background-image:none !important;
  color:var(--vvl-accent) !important;
  border-color:var(--vvl-border-muted) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] :is(
  .lacvo-filter-icon.is-violet,.lacvo-filter-icon.is-fuchsia,
  .lacvo-filter-icon.is-pink,.category-menu__icon.is-violet,
  .category-menu__icon.is-fuchsia,.category-menu__icon.is-pink,
  .category-card__icon.is-violet,.category-card__icon.is-fuchsia,
  .category-card__icon.is-pink
) { color:#c0adff !important; }
html[data-theme="dark"] :is(
  .lacvo-filter-icon.is-cyan,.lacvo-filter-icon.is-teal,
  .category-menu__icon.is-cyan,.category-menu__icon.is-teal,
  .category-card__icon.is-cyan,.category-card__icon.is-teal
) { color:#7bd9e9 !important; }
html[data-theme="dark"] :is(
  .lacvo-filter-icon.is-amber,.category-menu__icon.is-amber,
  .category-card__icon.is-amber
) { color:#edbe76 !important; }
html[data-theme="dark"] :is(
  .lacvo-filter-icon.is-emerald,.category-menu__icon.is-emerald,
  .category-card__icon.is-emerald
) { color:#7cdbb5 !important; }

/* Logo frames: neutral dark backgrounds in footer and fallback header.
   The actual V artwork is retained in a dark-compatible SVG asset. */
html[data-theme="dark"] :is(.footer-brand__mark,.site-footer .site-brand__mark,
  .site-brand__mark) {
  background:var(--vvl-soft) !important;
  border:1px solid var(--vvl-border) !important;
  color:var(--vvl-accent) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .site-brand__mark img.lacvo-logo--light { display:none !important; }
html[data-theme="dark"] .site-brand__mark img.lacvo-logo--dark { display:block !important; }

/* WooCommerce may render the pay button again after an update_checkout event.
   The server adds disabled to that button when no configured currency-matched
   channel exists; there is never a fake 'success' state or duplicate warning. */
html[data-theme="dark"] .lacvo-checkout-page #place_order:disabled {
  background:var(--vvl-soft) !important;
  background-image:none !important;
  border:1px solid var(--vvl-border) !important;
  color:var(--vvl-text-muted) !important;
  box-shadow:none !important;
  cursor:not-allowed !important;
  transform:none !important;
  opacity:1 !important;
}


/* VinhLac 2.0.69 — full-website product ownership card.
   Its original white tiles (#fff) and dark heading (#111827) were not
   covered by the general product card rules, resulting in unreadable dark mode.
   Follow the established dark input/border tokens; no palette duplication. */
html[data-theme="dark"] .lacvo-full-site-overview {
  background: var(--vvl-surface) !important;
  background-image: none !important;
  color: var(--vvl-text-secondary) !important;
  border: 1px solid var(--vvl-border) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .lacvo-full-site-overview > header {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
}
html[data-theme="dark"] .lacvo-full-site-overview > header > span {
  background: var(--vvl-soft) !important;
  border: 1px solid var(--vvl-border) !important;
  color: var(--vvl-link) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .lacvo-full-site-overview > header strong {
  color: var(--vvl-text) !important;
  font-weight: 600;
}
html[data-theme="dark"] .lacvo-full-site-overview > header small {
  color: var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .lacvo-full-site-overview dl > div {
  background: var(--vvl-input) !important;
  background-image: none !important;
  border: 1px solid var(--vvl-border) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .lacvo-full-site-overview dl dt {
  color: var(--vvl-text-muted) !important;
}
html[data-theme="dark"] .lacvo-full-site-overview dl dd {
  color: var(--vvl-text) !important;
  font-weight: 600;
}
html[data-theme="dark"] .lacvo-full-site-overview dl dd em {
  background: var(--vvl-action-soft) !important;
  border: 1px solid var(--vvl-action-soft-border) !important;
  color: var(--vvl-action-soft-text) !important;
}
html[data-theme="dark"] .lacvo-full-site-overview__scope {
  color: var(--vvl-text-secondary) !important;
  border-top: 1px solid var(--vvl-divider) !important;
}
html[data-theme="dark"] .lacvo-full-site-overview__scope strong {
  color: var(--vvl-text) !important;
}

/* VinhLac 2.0.70 — checkout receipt and mobile menu dark parity.
   Source of truth: the established --vvl-* tokens; light mode stays untouched. */
html[data-theme="dark"] :is(.lacvo-payment-statusbar,.lacvo-payment-warning,
  .lacvo-payment-guide article,.lacvo-payment-guide article > i,
  .lacvo-payment-selected strong,.lacvo-payment-choice__empty) {
  background:var(--vvl-surface) !important;
  background-image:none !important;
  border-color:var(--vvl-border-muted) !important;
  color:var(--vvl-text-secondary) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .lacvo-payment-statusbar {
  border-top:1px solid var(--vvl-divider) !important;
  background:var(--vvl-surface-raised) !important;
}
html[data-theme="dark"] .lacvo-payment-statusbar__state,
html[data-theme="dark"] .lacvo-payment-statusbar__state b {
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .lacvo-payment-statusbar__state i {border-color:var(--vvl-border) !important;border-top-color:var(--vvl-accent) !important;}
html[data-theme="dark"] .lacvo-payment-statusbar__timer {
  background:#3a291d !important;
  color:#ffbc76 !important;
}
html[data-theme="dark"] .lacvo-payment-selected strong {
  border:1px solid var(--vvl-border) !important;
  color:var(--vvl-link) !important;
  -webkit-text-fill-color:var(--vvl-link) !important;
  font-weight:600;
}
html[data-theme="dark"] .lacvo-payment-warning {
  border:1px solid var(--vvl-border-muted) !important;
  color:var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .lacvo-payment-warning strong {color:var(--vvl-text) !important;}
html[data-theme="dark"] .lacvo-payment-warning b {color:#ffbc76 !important;}
html[data-theme="dark"] .lacvo-payment-guide h2 {color:var(--vvl-text-muted) !important;}
html[data-theme="dark"] .lacvo-payment-guide article {
  border:1px solid var(--vvl-border) !important;
  background:var(--vvl-surface) !important;
}
html[data-theme="dark"] .lacvo-payment-guide article > i {
  background:var(--vvl-soft) !important;
  border:0 !important;
  color:var(--vvl-accent) !important;
}
html[data-theme="dark"] .lacvo-payment-guide article h3 {color:var(--vvl-text) !important;}
html[data-theme="dark"] .lacvo-payment-guide article p {color:var(--vvl-text-muted) !important;}
html[data-theme="dark"] .lacvo-payment-guide article > span {color:#fff !important;background:var(--vvl-action) !important;}
html[data-theme="dark"] .lacvo-payment-qr-brand strong {background:transparent !important;color:var(--vvl-link) !important;}
html[data-theme="dark"] .lacvo-payment-choice__empty {border:0 !important;background:transparent !important;color:var(--vvl-text-muted) !important;}
html[data-theme="dark"] :is(.lacvo-payment-page__heading p,.lacvo-payment-page__heading p strong) {color:var(--vvl-text-secondary) !important;}
/* Mobile navigation previously inherited light-mode white category tiles and dividers. */
html[data-theme="dark"] .mobile-menu,
html[data-theme="dark"] .mobile-menu__search,
html[data-theme="dark"] .mobile-menu__categories,
html[data-theme="dark"] .mobile-menu__links {background:var(--vvl-surface-deep) !important;color:var(--vvl-text-secondary) !important;}
html[data-theme="dark"] .mobile-menu :is(nav,.mobile-menu__search,.mobile-menu__currency,
 .mobile-menu__links,.mobile-menu__links > li,.mobile-menu__links .sub-menu,
 .mobile-menu__links .sub-menu > li,.mobile-menu__categories) {
  border-color:var(--vvl-divider) !important;
}
html[data-theme="dark"] .mobile-menu__links > li > a,
html[data-theme="dark"] .mobile-menu__links .sub-menu > li > a {
  background:transparent !important;
  background-image:none !important;
  color:var(--vvl-text-secondary) !important;
  border-color:var(--vvl-divider) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .mobile-menu__categories > a {
  background:var(--vvl-surface) !important;
  background-image:none !important;
  border:1px solid var(--vvl-border) !important;
  color:var(--vvl-text-secondary) !important;
  -webkit-text-fill-color:var(--vvl-text-secondary) !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .mobile-menu__categories > a :is(svg,.icon) {color:var(--vvl-accent) !important;}
html[data-theme="dark"] .mobile-menu__categories > strong {color:var(--vvl-text-muted) !important;}
html[data-theme="dark"] .mobile-menu :is(.mobile-menu__links > li > a:hover,
 .mobile-menu__links .sub-menu > li > a:hover,.mobile-menu__categories > a:hover) {
  background:var(--vvl-soft) !important;
  color:var(--vvl-text) !important;
}
html[data-theme="dark"] .mobile-menu :is(hr,.mobile-menu__links > li,
 .mobile-menu__categories) {border-color:var(--vvl-divider) !important;}
html[data-theme="dark"] .mobile-menu__search {border-bottom:1px solid var(--vvl-divider) !important;}
@media (max-width:767px) {
 html[data-theme="dark"] .mobile-menu {background:var(--vvl-surface-deep) !important;box-shadow:var(--vvl-shadow) !important;}
}
/* Override the high-specificity grouped dark surface rule for selected method badges. */
html[data-theme="dark"] .lacvo-payment-page .lacvo-payment-selected strong {
  border:1px solid var(--vvl-border) !important;
  color:var(--vvl-link) !important;
  -webkit-text-fill-color:var(--vvl-link) !important;
  background:var(--vvl-surface-deep) !important;
}

/* ===== VinhLac 2.0.71 — account, orders, mobile dock, checkout overlay dark-mode hardening ===== */
html[data-theme="dark"] :is(body.woocommerce-account, body.woocommerce-view-order) #primary.content-layout--account,
html[data-theme="dark"] :is(body.woocommerce-account, body.woocommerce-view-order) #primary.site-container,
html[data-theme="dark"] :is(body.woocommerce-account, body.woocommerce-view-order) .entry-content,
html[data-theme="dark"] :is(body.woocommerce-account, body.woocommerce-view-order) .woocommerce {
  background: transparent !important;
  color: var(--vvl-text-secondary) !important;
}

html[data-theme="dark"] :is(
  .lacvo-account-profile,
  .lacvo-account-logout,
  .lacvo-account-card,
  .lacvo-account-order-card,
  .lacvo-account-empty,
  .lacvo-order-products,
  .lacvo-order-summary-card,
  .woocommerce-MyAccount-content > .woocommerce-message,
  .woocommerce-MyAccount-content > .woocommerce-info,
  .woocommerce-MyAccount-content > .woocommerce-error
) {
  background: var(--vvl-surface-deep) !important;
  border-color: var(--vvl-border) !important;
  color: var(--vvl-text-secondary) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] :is(
  .lacvo-account-card__header,
  .lacvo-account-profile__body,
  .lacvo-account-profile__stats,
  .lacvo-account-order-card > header,
  .lacvo-order-products > header,
  .lacvo-order-summary-card > header,
  .lacvo-order-summary-card footer,
  .lacvo-order-product,
  .woocommerce-MyAccount-content > .woocommerce-message,
  .woocommerce-MyAccount-content > .woocommerce-info,
  .woocommerce-MyAccount-content > .woocommerce-error
) {
  border-color: var(--vvl-divider) !important;
}

html[data-theme="dark"] :is(
  .lacvo-account-heading p,
  .lacvo-account-card__header p,
  .lacvo-account-help,
  .lacvo-security-row p,
  .lacvo-account-orders__meta,
  .lacvo-account-order-card__product p,
  .lacvo-order-view__breadcrumb,
  .lacvo-order-view__breadcrumb a,
  .lacvo-order-product__meta,
  .lacvo-order-summary-card dt
) {
  color: var(--vvl-text-muted) !important;
}

html[data-theme="dark"] :is(
  .lacvo-account-profile__body strong,
  .lacvo-account-profile__stats strong,
  .lacvo-account-heading h1,
  .lacvo-account-card__header h2,
  .lacvo-security-row strong,
  .lacvo-account-order-card__product h3,
  .lacvo-account-order-card > header > strong,
  .lacvo-order-number,
  .lacvo-order-view__breadcrumb strong,
  .lacvo-order-view__notice h1,
  .lacvo-order-products h2,
  .lacvo-order-product h3,
  .lacvo-order-summary-card h2,
  .lacvo-order-summary-card dd,
  .lacvo-order-summary-card footer,
  .woocommerce-MyAccount-content > .woocommerce-message,
  .woocommerce-MyAccount-content > .woocommerce-info,
  .woocommerce-MyAccount-content > .woocommerce-error
) {
  color: var(--vvl-text) !important;
}

html[data-theme="dark"] .lacvo-account-menu a .icon,
html[data-theme="dark"] .lacvo-account-logout .icon {
  color: var(--vvl-accent) !important;
}
html[data-theme="dark"] .lacvo-account-logout {
  background: var(--vvl-surface-deep) !important;
  color: #ffd0d4 !important;
}
html[data-theme="dark"] .lacvo-account-logout:hover {
  background: rgba(220, 53, 69, .12) !important;
  border-color: rgba(255, 148, 160, .35) !important;
}

html[data-theme="dark"] .lacvo-account-profile__stats > div {
  background: rgba(10, 18, 36, .4) !important;
}

html[data-theme="dark"] .lacvo-account-form :is(label, .lacvo-account-linked > label) {
  color: var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .lacvo-account-form label small {
  color: var(--vvl-text-muted) !important;
}
html[data-theme="dark"] :is(.lacvo-account-field, .lacvo-google-badge, .lacvo-email-badge, .lacvo-security-mark, .lacvo-google-mark) {
  background: var(--vvl-input) !important;
  border-color: var(--vvl-border) !important;
  color: var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .lacvo-account-field .icon,
html[data-theme="dark"] .lacvo-email-badge .icon,
html[data-theme="dark"] .lacvo-security-mark .icon {
  color: var(--vvl-text-muted) !important;
}
html[data-theme="dark"] .lacvo-account-field input {
  color: var(--vvl-text) !important;
  -webkit-text-fill-color: var(--vvl-text) !important;
}
html[data-theme="dark"] .lacvo-account-field input::placeholder {
  color: var(--vvl-text-muted) !important;
}
html[data-theme="dark"] .lacvo-account-field.is-disabled,
html[data-theme="dark"] .lacvo-account-field.is-disabled input:disabled {
  color: var(--vvl-text-muted) !important;
  -webkit-text-fill-color: var(--vvl-text-muted) !important;
  opacity: 1 !important;
}
html[data-theme="dark"] .woocommerce .lacvo-account-submit .button {
  background: var(--vvl-soft) !important;
  color: var(--vvl-text) !important;
}
html[data-theme="dark"] .woocommerce .lacvo-account-submit .button:hover {
  background: var(--vvl-action) !important;
  color: #fff !important;
}

html[data-theme="dark"] .woocommerce-MyAccount-content > :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 18px !important;
}
html[data-theme="dark"] .woocommerce-MyAccount-content > :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button,
html[data-theme="dark"] .woocommerce-MyAccount-content > :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a.button {
  background: var(--vvl-action) !important;
  border-color: var(--vvl-action-border) !important;
  color: #fff !important;
}

html[data-theme="dark"] .lacvo-account-order-card > header {
  background: rgba(12, 22, 42, .72) !important;
}
html[data-theme="dark"] .lacvo-account-order-card > header time {
  color: var(--vvl-text-muted) !important;
}
html[data-theme="dark"] .lacvo-account-order-card__thumb {
  background: var(--vvl-soft) !important;
  color: var(--vvl-link) !important;
}
html[data-theme="dark"] .lacvo-order-detail-button,
html[data-theme="dark"] .lacvo-account-pagination a {
  background: var(--vvl-surface) !important;
  border-color: var(--vvl-border) !important;
  color: var(--vvl-link) !important;
}
html[data-theme="dark"] .lacvo-order-detail-button:hover,
html[data-theme="dark"] .lacvo-account-pagination a:hover {
  background: var(--vvl-soft) !important;
  border-color: var(--vvl-action-border) !important;
  color: var(--vvl-text) !important;
}
html[data-theme="dark"] .lacvo-account-empty > .icon {
  color: var(--vvl-link) !important;
}

html[data-theme="dark"] .lacvo-order-view__notice {
  background: rgba(31, 45, 70, .72) !important;
  border-color: rgba(255, 179, 83, .42) !important;
}
html[data-theme="dark"] .lacvo-order-view__notice.is-success {
  background: rgba(20, 59, 46, .72) !important;
  border-color: rgba(80, 210, 141, .42) !important;
}
html[data-theme="dark"] .lacvo-order-view__notice.is-failed {
  background: rgba(78, 28, 36, .72) !important;
  border-color: rgba(255, 130, 146, .42) !important;
}
html[data-theme="dark"] .lacvo-order-view__notice-icon {
  background: var(--vvl-surface) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .lacvo-order-view__notice p,
html[data-theme="dark"] .lacvo-order-view__shop span {
  color: var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .lacvo-order-product__delivery {
  background: var(--vvl-soft) !important;
  color: var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .lacvo-order-product__price,
html[data-theme="dark"] .lacvo-order-summary-card footer strong,
html[data-theme="dark"] .lacvo-order-view__shop,
html[data-theme="dark"] .lacvo-order-view__payment-link {
  color: var(--vvl-link) !important;
}
html[data-theme="dark"] .lacvo-order-summary-card__payment .icon {
  background: var(--vvl-soft) !important;
  color: var(--vvl-link) !important;
}

html[data-theme="dark"] .mobile-menu__appearance {
  background: var(--vvl-surface) !important;
  border-color: var(--vvl-border) !important;
}
html[data-theme="dark"] .mobile-menu__appearance > strong {
  color: var(--vvl-text-muted) !important;
}
html[data-theme="dark"] .mobile-theme-options button {
  background: var(--vvl-surface-deep) !important;
  border-color: var(--vvl-border) !important;
  color: var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .mobile-theme-options button.is-active {
  background: var(--vvl-action-soft) !important;
  border-color: var(--vvl-action-border) !important;
  color: var(--vvl-text) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .mobile-menu__currency :is(.lacvo-currency-switcher, details, summary, .lacvo-currency-switcher__menu) {
  background: var(--vvl-surface) !important;
  border-color: var(--vvl-border) !important;
  color: var(--vvl-text) !important;
}
html[data-theme="dark"] .mobile-menu__currency .lacvo-currency-switcher__menu button {
  color: var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .mobile-menu__currency .lacvo-currency-switcher__menu button:hover,
html[data-theme="dark"] .mobile-menu__currency .lacvo-currency-switcher__menu button.is-active {
  background: var(--vvl-soft) !important;
  color: var(--vvl-text) !important;
}

html[data-theme="dark"] .mobile-dock {
  background: rgba(9, 15, 30, .98) !important;
  border-top: 1px solid var(--vvl-divider) !important;
  box-shadow: 0 -10px 26px rgba(0, 0, 0, .34) !important;
}
html[data-theme="dark"] .mobile-dock a {
  color: var(--vvl-text-muted) !important;
}
html[data-theme="dark"] .mobile-dock a .icon,
html[data-theme="dark"] .mobile-dock a span {
  color: inherit !important;
}
html[data-theme="dark"] .mobile-dock a:hover,
html[data-theme="dark"] .mobile-dock a:focus-visible,
html[data-theme="dark"] .mobile-dock a[aria-current="page"] {
  color: var(--vvl-text) !important;
}

/* 2.0.74 — Account is a layout, not a painted card.
   This removes the grey rectangle behind the heading and orders while
   retaining distinct card surfaces and semantic focus indicators. */
html[data-theme="dark"] body.woocommerce-account :is(
  .lacvo-account-shell, .lacvo-account-heading, .lacvo-account-layout,
  .lacvo-account-content, .lacvo-account-sidebar,
  .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content,
  .entry-single, .entry-content
) {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* WooCommerce's navigation UL has its own white background/border/shadow,
   which was visible beneath our transparent list rows. Reset it at source. */
html[data-theme="dark"] .lacvo-account-menu ul {
  background: transparent !important;
  border: 0 !important;
  border-radius: inherit;
  box-shadow: none !important;
}
/* Use a single understated outline around the account navigation. */
html[data-theme="dark"] .lacvo-account-menu {
  background: var(--vvl-surface-deep) !important;
  border: 1px solid var(--vvl-border) !important;
  border-radius: 14px;
  box-shadow: none !important;
}
html[data-theme="dark"] .lacvo-account-menu li {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--vvl-divider) !important;
}
html[data-theme="dark"] .lacvo-account-menu li:last-child {
  border-bottom: 0 !important;
}
html[data-theme="dark"] .lacvo-account-menu li.is-logout {
  background: transparent !important;
  border-color: var(--vvl-border) !important;
}
html[data-theme="dark"] .lacvo-account-menu a {
  background: transparent !important;
  border: 0 !important;
  border-left: 2px solid transparent !important;
  border-radius: 0 !important;
  color: var(--vvl-text-secondary) !important;
  outline: none;
  box-shadow: none !important;
}
html[data-theme="dark"] .lacvo-account-menu li.is-active a,
html[data-theme="dark"] .lacvo-account-menu a[aria-current="page"] {
  background: var(--vvl-action-soft) !important;
  border-left-color: var(--vvl-accent) !important;
  color: var(--vvl-text) !important;
}
html[data-theme="dark"] .lacvo-account-menu a:hover {
  background: var(--vvl-soft) !important;
  color: var(--vvl-text) !important;
}
html[data-theme="dark"] .lacvo-account-menu a:focus-visible {
  outline: 2px solid var(--vvl-accent) !important;
  outline-offset: -3px;
}
/* A profile member-since divider previously inherited the light-mode white line. */
html[data-theme="dark"] .lacvo-account-profile__body p {
  border-top-color: var(--vvl-divider) !important;
  color: var(--vvl-text-secondary) !important;
}
html[data-theme="dark"] .lacvo-account-profile__avatar {
  border-color: var(--vvl-surface-deep) !important;
}
html[data-theme="dark"] .lacvo-account-profile__stats > div + div {
  border-left-color: var(--vvl-divider) !important;
}
/* WooCommerce notices can have a three-pixel top highlight even in dark mode. */
html[data-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
  border: 1px solid var(--vvl-border) !important;
  background: var(--vvl-surface-deep) !important;
  color: var(--vvl-text-secondary) !important;
  box-shadow: none !important;
}

/* Account currency select: retain the 2.0.73 accessibility fixes. */
html[data-theme="dark"] .lacvo-account-form select,
html[data-theme="dark"] .woocommerce-EditAccountForm select,
html[data-theme="dark"] .woocommerce-EditAccountForm .form-row select {
  display: block !important;
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid var(--vvl-border) !important;
  border-radius: 18px !important;
  background-color: var(--vvl-input) !important;
  color: var(--vvl-text) !important;
  padding: 0 44px 0 16px !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--vvl-text-muted) 50%), linear-gradient(135deg, var(--vvl-text-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 2px), calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
html[data-theme="dark"] .lacvo-account-form select:focus,
html[data-theme="dark"] .woocommerce-EditAccountForm select:focus {
  border-color: var(--vvl-action-border) !important;
  box-shadow: 0 0 0 3px rgba(66, 113, 255, .18) !important;
}
html[data-theme="dark"] .lacvo-account-form select option,
html[data-theme="dark"] .woocommerce-EditAccountForm select option {
  background: #0d1730 !important;
  color: var(--vvl-text) !important;
}
html[data-theme="dark"] .demo-viewer__icon-button .icon {
  color: currentColor !important;
}

/* 2.0.75 auth dark-mode polish: Google button and OR divider */
html[data-theme="dark"] :is(.lacvo-auth-page, .lacvo-auth-embedded) {
  --lv-auth-divider: var(--vvl-divider);
}
html[data-theme="dark"] :is(.lacvo-auth-page, .lacvo-auth-embedded) :is(.lv-google-button, .lv-login-google) {
  background: var(--vvl-surface-raised) !important;
  background-image: none !important;
  border: 1px solid var(--vvl-border) !important;
  color: var(--vvl-text) !important;
  -webkit-text-fill-color: var(--vvl-text) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] :is(.lacvo-auth-page, .lacvo-auth-embedded) :is(.lv-google-button:hover, .lv-login-google:hover, .lv-google-button:focus-visible, .lv-login-google:focus-visible) {
  background: var(--vvl-soft) !important;
  border-color: var(--vvl-action-border) !important;
  color: var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.lacvo-auth-page, .lacvo-auth-embedded) :is(.lv-google-button span, .lv-login-google span) {
  color: var(--vvl-text) !important;
  -webkit-text-fill-color: var(--vvl-text) !important;
}
html[data-theme="dark"] :is(.lacvo-auth-page, .lacvo-auth-embedded) :is(.lv-google-button svg, .lv-login-google svg, .lv-google-button img, .lv-login-google img) {
  filter: none !important;
}
html[data-theme="dark"] :is(.lacvo-auth-page, .lacvo-auth-embedded) :is(hr, [class*="divider"], [class*="separator"]) {
  border-color: var(--lv-auth-divider) !important;
  background-color: transparent !important;
  color: var(--vvl-text-muted) !important;
}
html[data-theme="dark"] :is(.lacvo-auth-page, .lacvo-auth-embedded) :is([class*="divider"], [class*="separator"])::before,
html[data-theme="dark"] :is(.lacvo-auth-page, .lacvo-auth-embedded) :is([class*="divider"], [class*="separator"])::after {
  border-color: var(--lv-auth-divider) !important;
  background-color: var(--lv-auth-divider) !important;
}
html[data-theme="dark"] :is(.lacvo-auth-page, .lacvo-auth-embedded) :is([class*="divider"] span, [class*="separator"] span, .lv-login-note, .lv-auth-subtitle) {
  color: var(--vvl-text-muted) !important;
}


/* 2.0.77 — rating metadata / active stars in dark appearance. */
html[data-theme="dark"] .lacvo-product-rating > strong { color: var(--vvl-text-secondary) !important; }
html[data-theme="dark"] .lacvo-product-rating > span:not(.star-rating) { color: var(--vvl-link) !important; }
html[data-theme="dark"] .lacvo-review-star-picker > button[data-review-star] { color: #71809a !important; background: transparent !important; }
html[data-theme="dark"] .lacvo-review-star-picker > button[data-review-star].is-active { color: #ffb400 !important; }
html[data-theme="dark"] .lacvo-review-star-picker.is-low > button[data-review-star].is-active { color: #a0adbe !important; }
