/* ==========================================================================
   nexus-store — custom.css
   Hand-written, static, no preprocessor. Auto-loaded by PrestaShop core as
   "theme-custom" at priority 1000 (after Classic's theme.css at 50).

   Sections
     01  Tokens (the only palette: dark brand)    :root { --nx-* }
     02  (removed — light/dark toggle dropped 2026-10-14)
     03  --mm-* aliases for mmhelpchat.css
     04  Base + typography + layout primitives
     05  Buttons, badges, pills
     06  Forms
     07  Header: top bar, main row, sticky, icons, search, burger, off-canvas
     08  (removed 2026-10-05 — was the ETS mega menu skin; the menu is nxstorefront, styled by its nxmenu.css)
     09  Section headings
     10  Product card (.product-miniature / .nx-card), flags, hover bar, list view
     11  Listing: toolbar, grid, active filters, pagination, facets, category tree
     12  Product page: gallery, info, variants, quantity, tabs, reassurance
     13  Overlays: quick view, blockcart modal, fly-cart drawer, nx-modal, newsletter, image modal
     14  Scroll-to-top
     15  Footer
     16  Breadcrumb, page headers
     17  Classic pages (cart, checkout, order confirmation, account) — CSS only
     18  Module output: mm*, weightstock, groupinc, wishlist, productcomments, blockreassurance, helpchat
     19  Compare page
     20  Responsive (≤991, ≤767, ≤480), hover:none, reduced motion, print
     21  Features (phase 2)
     22  Dark-only page pass: header clearance, panels, cart, checkout, notices, forms, account, feedback, overlays
     23  Medi Messages (everpsblog "flat" skin → tokens)

   Conventions: Classic classes are kept; `nx-` classes are added (docs/design/components.md).
   `!important` is used only where Classic's theme.css forces a value — each case is commented "(!: Classic)".
   Nothing here restyles CE widgets, except the two marked TEMPORARY bridges (§19b legacy home, §22.13b CMS text).
   ========================================================================== */


/* ==========================================================================
   01  TOKENS — the ONLY palette: Shop 1 dark brand (2026-10-14, plan option C; docs/design/tokens.md)
   There is no light mode and no toggle any more. Values come from the shop- and designer-approved webdev
   brand layer (mm-webdev: Montserrat, green #8EB364, on-dark #F2F2F2 / #C9C9C9, amber #F5B800); pages sit on
   the CE kit's dark texture and draw dark translucent panels, never white cards.
   ========================================================================== */
:root {
  color-scheme: dark;

  /* type: one family, four weights (400/500/600/700). Montserrat is served by the CE kit's Google Fonts request on
     every page (the theme no longer links its own fonts — head.tpl). */
  --nx-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --nx-font-heading: var(--nx-font);
  --nx-font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;   /* referral / promo codes only */

  /* colour — surfaces: page = CE kit texture; panels are dark glass */
  --nx-bg: #0C1D10;                         /* texture base colour (shows while the texture loads / where it is absent) */
  --nx-surface: rgba(11, 15, 11, 0.78);     /* cards / panels on the texture */
  --nx-surface-solid: #121812;              /* where translucency is unsafe: modals, drawer, dropdowns, floating buttons */
  --nx-surface-2: #182018;                  /* inset rows, summary blocks, table stripes */
  --nx-surface-3: #1F291F;                  /* hover rows, inactive checkout steps */
  --nx-input-bg: #0E130E;
  --nx-overlay: rgba(10, 14, 10, 0.92);
  --nx-backdrop: rgba(0, 0, 0, 0.6);
  --nx-header-bg: transparent;              /* CE draws the header */
  --nx-topbar-bg: transparent;
  --nx-footer-bg: transparent;              /* CE footer draws it; no white #footer strip */
  --nx-footer-top-bg: transparent;
  --nx-card-bg: transparent;
  --nx-panel-border: 1px solid rgba(242, 242, 242, 0.08);
  --nx-panel-blur: blur(6px);

  /* colour — text */
  --nx-text-strong: #F2F2F2;
  --nx-text: #C9C9C9;
  --nx-text-soft: #A3A9A3;
  --nx-text-muted: #8A918A;
  --nx-text-invert: #111111;
  --nx-text-on-dark: #F2F2F2;
  --nx-text-on-light-strong: #111111;   /* text inside the designer's light CE boxes (product buy box): 18.9:1 on #fff */
  --nx-text-on-light: #444444;          /* 9.7:1 on #fff */
  --nx-link: #8EB364;
  --nx-link-hover: #A6C97F;

  /* colour — lines */
  --nx-border: #2A332A;
  --nx-border-light: #1F271F;
  --nx-border-dark: #3A453A;
  --nx-border-strong: rgba(242, 242, 242, 0.16);
  --nx-ring: 0 0 0 3px rgba(245, 184, 0, 0.55);   /* amber focus, as webdev */

  /* colour — brand + state */
  --nx-primary: #8EB364;
  --nx-primary-hover: #6F9448;
  --nx-on-primary: #111111;
  --nx-accent: #8EB364;
  --nx-accent-hover: #A6C97F;
  --nx-on-accent: #111111;
  --nx-brand-deep: #4E7D2E;    /* only on light backgrounds (3.6:1 on dark) */
  --nx-amber: #F5B800;         /* stars, focus, notices */
  --nx-star: var(--nx-amber);
  --nx-sale: #FB7185;
  --nx-flag-new: #0791d6;
  --nx-flag-sale: #e0525c;
  --nx-flag-online: #d67007;
  --nx-flag-default: #F2F2F2;  /* light flag, ink text (§10 rule below) */
  --nx-flag-out: #5C645C;
  --nx-success: #8EB364;
  --nx-warning: #F59E0B;
  --nx-danger: #EF4444;
  --nx-info: #38BDF8;
  --nx-crypto: #F7931A;

  /* type scale (phones: h1 28, h2 22, hero 34 — §20) */
  --nx-fs-xs: 11px;
  --nx-fs-sm: 12px;
  --nx-fs-md: 13px;
  --nx-fs-ui: 14px;        /* labels, menu, buttons */
  --nx-fs-body: 16px;      /* = CE kit body */
  --nx-fs-lg: 18px;
  --nx-fs-xl: 20px;
  --nx-fs-h3: 22px;
  --nx-fs-h2: 28px;
  --nx-fs-h1: 36px;
  --nx-fs-hero: 52px;
  --nx-lh: 1.6;
  --nx-lh-tight: 1.25;
  --nx-tracking: 0.04em;
  --nx-tracking-wide: 0.08em;

  /* spacing */
  --nx-space-1: 4px;
  --nx-space-2: 8px;
  --nx-space-3: 12px;
  --nx-space-4: 16px;
  --nx-space-5: 20px;
  --nx-space-6: 24px;
  --nx-space-7: 32px;
  --nx-space-8: 40px;
  --nx-space-9: 60px;
  --nx-section-y: 60px;
  --nx-gutter: 15px;
  --nx-grid-gutter: 10px;

  /* radius */
  --nx-radius-sm: 4px;
  --nx-radius: 6px;
  --nx-radius-md: 6px;
  --nx-radius-lg: 12px;
  --nx-radius-pill: 999px;
  --nx-radius-round: 50%;

  /* shadows */
  --nx-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --nx-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --nx-shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.5);
  --nx-shadow-flag: 0 1px 2px rgba(0, 0, 0, 0.3);

  /* motion */
  --nx-ease: ease;
  --nx-t-fast: 0.2s;
  --nx-t: 0.3s;
  --nx-t-hover: 0.35s;
  --nx-t-slow: 0.4s;

  /* layout */
  --nx-container: 1200px;
  --nx-container-wide: 1500px;
  --nx-ce-header-h: 136px;  /* clearance under the floating CE header (doc 8: bar ends at 97–121px on desktop); 90px ≤767 (§22) */
  --nx-header-h: 80px;      /* theme header (only where CE does not draw one) */
  --nx-header-h-stuck: 60px;
  --nx-menu-h: 50px;        /* menu bar row (nxstorefront .nx-menu) */
  --nx-menu-h-stuck: 44px;
  --nx-menu-bg: #121812;
  --nx-menu-fg: #F2F2F2;
  --nx-menu-fg-muted: rgba(242, 242, 242, 0.7);
  --nx-menu-accent: var(--nx-accent);
  --nx-topbar-h: 36px;
  --nx-control-h: 44px;
  --nx-drawer-w: 400px;
  --nx-offcanvas-w: 300px;

  /* z-index ladder (Bootstrap 4-alpha modal = 1050, backdrop = 1040) */
  --nx-z-float: 1010;
  --nx-z-header: 1020;
  --nx-z-dropdown: 1030;
  --nx-z-drawer: 1055;
  --nx-z-modal: 1060;

  /* breakpoints — informational only (custom properties can't be used in @media): 991 / 767 / 480 */
  --nx-bp-md: 991px;
  --nx-bp-sm: 767px;
  --nx-bp-xs: 480px;
}
/* flags: the default (light) flag and pack flags take ink text; nexus_labels flags (inline --nx-flag-bg) are
   excluded — their text colour is set in the BO. */
.product-flags .product-flag.pack,
.product-flags .product-flag:not(.new):not(.on-sale):not(.discount):not(.online-only):not(.out_of_stock):not([style*="--nx-flag-bg"]) {
  color: var(--nx-text-invert);
}


/* ==========================================================================
   02  (removed 2026-10-14 — was the html[data-nx-theme="dark"] palette; §01 is now the only palette)
   ========================================================================== */


/* ==========================================================================
   03  --mm-* ALIASES (mmhelpchat.css uses var(--mm-*) and nothing else defines them)
   ========================================================================== */
:root {
  --mm-bg: var(--nx-bg);
  --mm-bg-card: var(--nx-surface-solid);
  --mm-border: var(--nx-border);
  --mm-text: var(--nx-text-strong);
  --mm-text-secondary: var(--nx-text);
  --mm-text-muted: var(--nx-text-muted);
  --mm-accent: var(--nx-accent);
  --mm-accent-hover: var(--nx-primary-hover);
  --mm-warning: var(--nx-warning);
  --mm-danger: var(--nx-danger);
  --mm-crypto: var(--nx-crypto);
  --mm-header-bg: var(--nx-surface-solid);
  --mm-font: var(--nx-font);
}


/* ==========================================================================
   04  BASE + TYPOGRAPHY + LAYOUT PRIMITIVES
   ========================================================================== */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--nx-font);
  font-size: var(--nx-fs-body);
  line-height: var(--nx-lh);
  color: var(--nx-text);
  background: var(--nx-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.nx-lock { overflow: hidden; }

/* Classic paints #wrapper light grey and boxes pages in shadowed .card — Movic is flat white */
#wrapper {
  display: flow-root;   /* new BFC: children's margins can't collapse through it (an empty #notifications' margin
                           otherwise lands BETWEEN #header and #wrapper — the 16px strip seen on the sandbox) */
  background: transparent;   /* the CE kit's texture on body shows through (theme pages sit on it) */
  padding-top: 0;            /* clearance under the floating CE header: §22.1 */
  box-shadow: none;
}
#content-wrapper { padding-bottom: var(--nx-space-8); }
#main .page-header { margin-bottom: var(--nx-space-5); }
#main .page-content { margin-bottom: var(--nx-space-5); }
#main .page-content.card,
#main .page-header.card,
#main .page-footer.card,
.card {
  box-shadow: none;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.card-block { padding: 0; }
.page-content.card-block,
.page-header.card-block,
.page-footer.card-block { padding: 0; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--nx-font-heading);
  font-weight: 600;
  line-height: var(--nx-lh-tight);
  color: var(--nx-text-strong);
  margin: 0 0 var(--nx-space-4);
  text-transform: none;
}
h1, .h1 { font-size: var(--nx-fs-h1); }
h2, .h2 { font-size: var(--nx-fs-h2); }
h3, .h3 { font-size: var(--nx-fs-xl); }
h4, .h4 { font-size: var(--nx-fs-lg); }
h5, .h5 { font-size: var(--nx-fs-body); }
h6, .h6 { font-size: var(--nx-fs-ui); }
p { margin: 0 0 var(--nx-space-4); }
small, .small { font-size: var(--nx-fs-md); }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--nx-border); margin: var(--nx-space-6) 0; }

a { color: var(--nx-link); text-decoration: none; transition: color var(--nx-t) var(--nx-ease); }
a:hover, a:focus { color: var(--nx-link-hover); text-decoration: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--nx-accent); outline-offset: 2px; }

img, picture, video { max-width: 100%; height: auto; }
.material-icons { vertical-align: middle; }
table { color: inherit; }
.table thead th { border-bottom: 2px solid var(--nx-border); font-size: var(--nx-fs-md); text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.table td, .table th { border-top: 1px solid var(--nx-border); padding: 12px 10px; vertical-align: middle; }
.table-striped tbody tr:nth-of-type(odd) { background: var(--nx-surface-2); }

/* container: 1200px (Classic's xl container is 1140) */
.container { width: 100%; max-width: var(--nx-container); padding-left: var(--nx-gutter); padding-right: var(--nx-gutter); margin-left: auto; margin-right: auto; }
.nx-container--wide { max-width: var(--nx-container-wide); }

.nx-section { padding: var(--nx-section-y) 0; }
.nx-section + .nx-section { padding-top: 0; }
.sr-only {
  position: absolute !important; /* (!: utility, same as Classic's .sr-only) */
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.nx-visually-hidden {   /* no !important: header labels un-hide it at ≥992 (§7.3) */
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.nx-hide-desktop { display: none; }

/* Classic alerts / notifications */
.alert { border-radius: var(--nx-radius); border: 1px solid var(--nx-border); padding: 12px 16px; font-size: var(--nx-fs-ui); background: var(--nx-surface-2); color: var(--nx-text-strong); }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { border-color: var(--nx-success); background: rgba(76, 187, 108, 0.1); }
.alert-warning { border-color: var(--nx-warning); background: rgba(255, 154, 82, 0.12); }
.alert-danger { border-color: var(--nx-danger); background: rgba(217, 83, 79, 0.1); }
.alert-info { border-color: var(--nx-info); background: rgba(91, 192, 222, 0.1); }
#notifications { margin: 0; }
#notifications .container { padding: 0; }
#notifications .notifications-container { margin-top: 0; }
#notifications .alert { margin: var(--nx-space-4) 0 0; }   /* spacing only when there is something to show */

/* dropdowns (Classic .dropdown / .js-dropdown in header widgets, sort order) */
.dropdown-menu {
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  box-shadow: var(--nx-shadow-md);
  background: var(--nx-surface-solid);
  padding: 8px 0;
  min-width: 185px;
  font-size: var(--nx-fs-ui);
  color: var(--nx-text);
  z-index: var(--nx-z-dropdown);
}
.dropdown-menu a, .dropdown-menu .dropdown-item, .dropdown-menu li a { display: block; padding: 6px 16px; color: var(--nx-text); white-space: nowrap; }
.dropdown-menu a:hover, .dropdown-menu .dropdown-item:hover, .dropdown-menu li a:hover, .dropdown-menu .select-list a:hover { background: var(--nx-surface-2); color: var(--nx-text-strong); }
.dropdown-menu .select-list { padding: 0; }
.btn-unstyle { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.expand-more { color: inherit; }


/* ==========================================================================
   05  BUTTONS, BADGES, PILLS
   ========================================================================== */
.nx-btn,
.btn,
.btn-primary,
.btn-secondary,
.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--nx-font);
  font-size: var(--nx-fs-ui);
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: var(--nx-tracking);
  text-align: center;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: var(--nx-radius);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color var(--nx-t-slow) var(--nx-ease), color var(--nx-t-slow) var(--nx-ease), border-color var(--nx-t-slow) var(--nx-ease), opacity var(--nx-t) var(--nx-ease);
}
.nx-btn .material-icons, .btn .material-icons { font-size: 18px; line-height: 1; }

/* primary: ink → grey (dark: emerald → darker emerald) */
.nx-btn--primary, .btn-primary, .btn-primary:focus {
  background: var(--nx-primary);
  border-color: var(--nx-primary);
  color: var(--nx-on-primary);
}
.nx-btn--primary:hover, .btn-primary:hover, .btn-primary:active, .btn-primary:not(:disabled):not(.disabled):active {
  background: var(--nx-primary-hover);
  border-color: var(--nx-primary-hover);
  color: var(--nx-on-primary);
}
/* accent: coral */
.nx-btn--accent { background: var(--nx-accent); border-color: var(--nx-accent); color: var(--nx-on-accent); }
.nx-btn--accent:hover { background: var(--nx-accent-hover); border-color: var(--nx-accent-hover); color: var(--nx-on-accent); }
/* ghost / outline */
.nx-btn--ghost, .btn-secondary, .btn-outline-primary, .btn-secondary:focus {
  background: transparent;
  border-color: var(--nx-text-strong);
  color: var(--nx-text-strong);
}
.nx-btn--ghost:hover, .btn-secondary:hover, .btn-outline-primary:hover {
  background: var(--nx-text-strong);
  border-color: var(--nx-text-strong);
  color: var(--nx-text-invert);
}
/* light (for dark/photo backgrounds) */
.nx-btn--light { background: #fff; border-color: #fff; color: #222; }
.nx-btn--light:hover { background: var(--nx-accent); border-color: var(--nx-accent); color: #fff; }
/* link-style */
.nx-btn--link { padding: 0; border: 0; background: none; color: var(--nx-text-strong); text-transform: none; letter-spacing: 0; font-weight: 500; }
.nx-btn--link:hover { color: var(--nx-accent); text-decoration: underline; }
/* sizes */
.nx-btn--sm, .btn-sm { font-size: var(--nx-fs-sm); padding: 10px 14px; line-height: 16px; }
.nx-btn--lg, .btn-lg { font-size: var(--nx-fs-body); padding: 18px 32px; }
.nx-btn--block, .btn-block { display: flex; width: 100%; }
.nx-btn--icon { width: var(--nx-control-h); height: var(--nx-control-h); padding: 0; border-radius: var(--nx-radius-round); }
/* states */
.nx-btn:disabled, .nx-btn.disabled, .btn:disabled, .btn.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.nx-btn.is-loading { position: relative; color: transparent !important; /* (!: hides label under spinner in every variant) */ pointer-events: none; }
.nx-btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; top: 50%; left: 50%; margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%;
  animation: nx-spin 0.7s linear infinite;
}
.nx-btn--ghost.is-loading::after { border-color: rgba(0, 0, 0, 0.2); border-top-color: var(--nx-text-strong); }
@keyframes nx-spin { to { transform: rotate(360deg); } }

/* badges / pills */
.nx-badge {
  display: inline-block;
  font-size: var(--nx-fs-xs);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--nx-tracking);
  padding: 4px 6px;
  border-radius: var(--nx-radius-md);
  background: var(--nx-flag-default);
  color: #fff;
}
.nx-badge--new { background: var(--nx-flag-new); }
.nx-badge--sale, .nx-badge--hot { background: var(--nx-flag-sale); }
.nx-badge--out { background: var(--nx-flag-out); }
.nx-badge--count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--nx-radius-pill);
  background: var(--nx-accent);
  color: var(--nx-on-accent);
  font-size: var(--nx-fs-xs);
  line-height: 18px;
  text-align: center;
  letter-spacing: 0;
  pointer-events: none;
}
.nx-badge--count:empty,
.nx-badge--count[data-nx-count="0"],
.nx-badge--count.is-empty { display: none; }

.nx-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--nx-fs-md);
  line-height: 1;
  padding: 7px 8px 7px 12px;
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-pill);
  background: var(--nx-surface-2);
  color: var(--nx-text-strong);
  margin: 0 8px 8px 0;
}
.nx-pill__x, .nx-pill .material-icons {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font-size: 14px; line-height: 1; color: var(--nx-text-muted);
}
.nx-pill__x:hover, .nx-pill .material-icons:hover { color: var(--nx-accent); }


/* ==========================================================================
   06  FORMS (Classic classes restyled; nx- aliases)
   ========================================================================== */
.form-control,
.nx-input,
.form-control-select,
.nx-select,
input[type="text"].form-control,
input[type="email"].form-control,
input[type="password"].form-control,
input[type="number"].form-control,
input[type="tel"].form-control,
textarea.form-control,
select.form-control {
  display: block;
  width: 100%;
  height: var(--nx-control-h);
  padding: 0.5rem 0.75rem;
  font-family: var(--nx-font);
  font-size: var(--nx-fs-ui);
  line-height: 1.5;
  color: var(--nx-text-strong);
  background: var(--nx-input-bg);
  border: 1px solid var(--nx-border-strong);
  border-radius: var(--nx-radius);
  box-shadow: none;
  transition: border-color var(--nx-t) var(--nx-ease), box-shadow var(--nx-t) var(--nx-ease);
  -webkit-appearance: none;
  appearance: none;
}
textarea.form-control { height: auto; min-height: 120px; resize: vertical; }
.form-control::placeholder { color: var(--nx-text-muted); opacity: 1; }
.form-control:focus, .nx-input:focus, .form-control-select:focus {
  outline: 0;
  border-color: var(--nx-text-strong);
  box-shadow: var(--nx-ring);
  background: var(--nx-input-bg);
  color: var(--nx-text-strong);
}
.form-control:disabled, .form-control[readonly] { background: var(--nx-surface-2); opacity: 0.8; }
.form-control-select, select.form-control, .nx-select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9c9c9' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}
.form-control.is-valid, .form-control-valign.valid, .form-control[aria-invalid="false"] { border-color: var(--nx-success); }
.form-control.is-invalid, .form-control[aria-invalid="true"] { border-color: var(--nx-warning); }

.form-group, .nx-field { margin-bottom: var(--nx-space-4); }
.form-control-label, label, .nx-field > label {
  display: inline-block;
  font-size: var(--nx-fs-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--nx-tracking);
  color: var(--nx-text-strong);
  margin-bottom: 6px;
  padding-top: 0;
}
.form-control-label.required::after, label.required::after { content: " *"; color: var(--nx-accent); }
.form-control-comment { font-size: var(--nx-fs-md); color: var(--nx-text-muted); padding-top: 6px; }
.help-block { font-size: var(--nx-fs-md); color: var(--nx-text-muted); margin-top: 6px; }
.form-footer { padding-top: var(--nx-space-4); }
.form-footer .btn, .form-footer .nx-btn { min-width: 160px; }
.nx-form__msg { font-size: var(--nx-fs-ui); padding: 10px 14px; border-radius: var(--nx-radius); margin: var(--nx-space-3) 0; }
.nx-form__msg--ok { background: rgba(76, 187, 108, 0.12); color: var(--nx-success); }
.nx-form__msg--err { background: rgba(217, 83, 79, 0.12); color: var(--nx-danger); }
.js-invalid-feedback-browser, .invalid-feedback { font-size: var(--nx-fs-md); color: var(--nx-danger); margin-top: 6px; }

/* Classic's two-column form rows (label col-md-3 / field col-md-6) → stack and simplify */
.form-fields .form-group.row { margin-left: 0; margin-right: 0; }
.form-fields .form-group.row > [class*="col-md-"] { padding-left: 0; padding-right: 0; }
.form-fields .form-group.row .form-control-label { text-align: left; }
.form-fields .form-group.row .form-control-comment { text-align: left; padding-top: 6px; }
.form-fields .form-group.row .col-md-6 { max-width: none; flex: 0 0 100%; }
.form-fields .form-group.row .col-md-3 { max-width: none; flex: 0 0 100%; }
.form-fields .form-group.row .col-md-6 + .col-md-3 { flex: 0 0 100%; }
.forgot-password { font-size: var(--nx-fs-md); margin-top: var(--nx-space-2); }

/* input groups (newsletter, voucher, referral) */
.input-group { display: flex; width: 100%; }
.input-group .form-control { flex: 1 1 auto; border-radius: var(--nx-radius) 0 0 var(--nx-radius); }
.input-group .input-group-btn { display: flex; }
.input-group .input-group-btn .btn, .input-group .btn { border-radius: 0 var(--nx-radius) var(--nx-radius) 0; height: var(--nx-control-h); padding-top: 0; padding-bottom: 0; }

/* custom checkbox / radio */
.custom-checkbox, .custom-radio, .nx-check { position: relative; display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.custom-checkbox input[type="checkbox"], .nx-check input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.custom-checkbox input[type="checkbox"] + span,
.nx-check input[type="checkbox"] + span {
  display: inline-block; flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px;
  border: 1px solid var(--nx-border-strong); border-radius: var(--nx-radius-sm); background: var(--nx-input-bg);
  position: relative; vertical-align: middle; transition: background var(--nx-t-fast), border-color var(--nx-t-fast);
}
.custom-checkbox input[type="checkbox"] + span .checkbox-checked { display: none; }
.custom-checkbox input[type="checkbox"]:checked + span,
.nx-check input[type="checkbox"]:checked + span { background: var(--nx-text-strong); border-color: var(--nx-text-strong); }
.custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked { display: block; }
.custom-checkbox input[type="checkbox"]:checked + span::after,
.nx-check input[type="checkbox"]:checked + span::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px;
  border: solid var(--nx-text-invert); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked { display: none; } /* our ::after tick replaces Classic's icon */
.custom-checkbox input[type="checkbox"]:focus-visible + span { box-shadow: var(--nx-ring); }
.custom-checkbox label, .custom-checkbox span:not(.color) + label { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: var(--nx-fs-ui); margin: 0; color: var(--nx-text); }
.custom-radio {
  width: 18px; height: 18px; border: 1px solid var(--nx-border-strong); border-radius: 50%; background: var(--nx-input-bg);
  display: inline-block; vertical-align: middle; margin-right: 8px; flex: 0 0 18px;
}
.custom-radio input[type="radio"] { opacity: 0; position: absolute; width: 0; height: 0; margin: 0; }
.custom-radio input[type="radio"]:checked + span {
  display: block; width: 10px; height: 10px; margin: 3px; border-radius: 50%; background: var(--nx-text-strong);
}
.custom-radio input[type="radio"]:focus-visible + span { box-shadow: var(--nx-ring); }


/* ==========================================================================
   07  HEADER
   ========================================================================== */
#header, .nx-header {
  background: var(--nx-header-bg);
  color: var(--nx-text-strong);
  box-shadow: none;
  border-bottom: 1px solid var(--nx-border);
  position: relative;
  z-index: var(--nx-z-header);
}
#header .logo { max-width: 100%; }   /* Classic also sets height:auto here (1,1,0) — the sized logo rules in 7.2 / 7.1 carry #header to win */

/* --- 7.1 top bar (sits on nav.header-nav) ------------------------------------ */
#header .header-nav,
.nx-topbar {
  min-height: var(--nx-topbar-h);
  max-height: none;
  margin-bottom: 0;
  padding: 0;
  background: var(--nx-topbar-bg);
  border-bottom: 1px solid var(--nx-border);
  font-size: var(--nx-fs-md);
  color: var(--nx-text-muted);
}
.nx-topbar .container > .row { margin: 0; }
.nx-topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nx-topbar-h);
  padding: 0;
  gap: var(--nx-space-4);
}
.nx-topbar__row > [class*="col-"] { flex: 0 1 auto; width: auto; max-width: none; padding: 0; }
.nx-topbar__left, .nx-topbar__right { display: flex; align-items: center; gap: var(--nx-space-4); }
.nx-topbar__right { justify-content: flex-end; }
.nx-topbar__promo {
  flex: 1 1 auto;
  text-align: center;
  font-size: var(--nx-fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--nx-tracking-wide);
  color: var(--nx-text-strong);
}
.nx-topbar__promo--accent { color: var(--nx-accent); }
.nx-topbar--announce { background: var(--nx-accent); color: var(--nx-on-accent); border-bottom: 0; }
.nx-topbar--announce .nx-topbar__promo, .nx-topbar--announce a, .nx-topbar--announce .user-info a,
.nx-topbar--announce .language-selector-wrapper, .nx-topbar--announce .currency-selector,
.nx-topbar--announce .expand-more, .nx-topbar--announce #contact-link { color: var(--nx-on-accent); }

/* Classic widgets inside the top bar */
.nx-topbar a, #header .header-nav a { color: var(--nx-text-muted); }
.nx-topbar a:hover, #header .header-nav a:hover { color: var(--nx-text-strong); }
#header .header-nav .material-icons { font-size: 16px; line-height: 1; }
#header .header-nav .user-info { margin: 0; text-align: right; }
#header .header-nav .user-info a { display: inline-flex; align-items: center; gap: 4px; margin-left: var(--nx-space-4); font-size: var(--nx-fs-md); }
#header .header-nav .user-info a:first-child { margin-left: 0; }
#header .header-nav #contact-link, #header .header-nav .language-selector-wrapper, #header .header-nav .currency-selector { margin-top: 0; }
#header .header-nav .language-selector-wrapper, #header .header-nav .currency-selector { display: inline-flex; align-items: center; gap: 4px; }
#header .header-nav .language-selector-wrapper > span, #header .header-nav .currency-selector > span { display: none; }
#header .header-nav .dropdown { position: relative; }
#header .header-nav .dropdown .btn-unstyle { display: inline-flex; align-items: center; gap: 2px; font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
#header .header-nav .dropdown .btn-unstyle:hover { color: var(--nx-text-strong); }
#header .header-nav .dropdown .expand-more { color: inherit; font-weight: 400; }
#header .header-nav .dropdown-menu { left: 0; top: calc(100% + 6px); }
#header .header-nav .dropdown-menu a { color: var(--nx-text); }
#header .header-nav .blockcart { background: none; height: auto; padding: 0; margin: 0; }
#header .header-nav .blockcart .header { background: none; }
#header .header-nav .blockcart .cart-products-count { color: inherit; }
#header .header-nav .blockcart.active a:hover { color: var(--nx-accent); }
#header .header-nav .blockcart .shopping-cart { color: inherit; font-size: 18px; }
#header .header-nav .right-nav { display: flex; align-items: center; justify-content: flex-end; gap: var(--nx-space-4); flex-wrap: nowrap; }
#header .header-nav .right-nav > div { margin: 0; }

/* Classic's mobile row inside header-nav (hidden on desktop; shown ≤991 in §20) */
.nx-topbar__mobile { display: none; flex-wrap: wrap; align-items: center; min-height: var(--nx-header-h-stuck); padding: 0; margin: 0; }
.nx-topbar__mobile > .col-xs-12, .nx-topbar__mobile > [class*="col-"] { display: flex; align-items: center; justify-content: space-between; gap: var(--nx-space-2); padding: 0; width: 100%; max-width: none; flex: 1 1 100%; min-height: var(--nx-header-h-stuck); }
.nx-topbar__mobile #_mobile_logo, .nx-topbar__mobile .top-logo { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-width: 0; }
.nx-topbar__mobile .nx-icons { flex: 0 0 auto; gap: 0; }
.nx-topbar__mobile .nx-icons > *, .nx-topbar__mobile #_mobile_cart, .nx-topbar__mobile #_mobile_user_info { display: inline-flex; align-items: center; }
#header .header-nav .top-logo { width: auto; margin: 0; padding: 0; }
#header .header-nav .top-logo a img, #_mobile_logo img { height: 36px; max-height: none; width: auto; max-width: 180px; }
#header .header-nav #menu-icon { margin: 0; }
#header .header-nav #menu-icon .material-icons { line-height: 1; font-size: 26px; }
#header .header-nav .top-logo { text-align: center; }

/* --- 7.1b empty top bar (no desktop content: contact link + selectors moved into the main row) ---- */
.nx-topbar--empty .nx-topbar__row { display: none; }
@media (min-width: 992px) {
  .nx-topbar--empty, #header .header-nav.nx-topbar--empty { display: none; }
}

/* --- 7.2 main row + menu row = ONE visual unit ---------------------------------
   #header.nx-header > .nx-header__main > .nx-header__inner > (logo | search | links | icons)
   followed by .nx-header__menu (nxstorefront .nx-menu). Shared background, no gap, no border between
   them; the single bottom border lives on #header (rest) and on .nx-header__menu (stuck).
   (.nx-header__bar, if a template still has it, is a pass-through wrapper.)               */
#header .header-top { background: var(--nx-header-bg); padding: 0; }
#header .header-top > .container > .row { margin: 0; }
#header .header-top .position-static { position: static; }
.nx-header__main {
  display: flex;
  align-items: center;
  height: var(--nx-header-h);
  background: var(--nx-header-bg);
  border: 0;
  box-shadow: none;
  transition: height var(--nx-t-fast) var(--nx-ease);
}
.nx-header__bar { display: contents; }
.nx-header__inner {
  display: flex;
  align-items: center;
  gap: var(--nx-space-6);
  height: 100%;
}
.nx-header__logo, #_desktop_logo { flex: 0 0 auto; padding: 0; }
.nx-header__logo h1, #_desktop_logo h1 { margin: 0; line-height: 0; }
/* logo: the shop SVG has a viewBox but no root width/height and PS emits width=""/height="", so `max-height + width:auto`
   resolves to a 0-wide box in Chrome — an explicit height lets the browser derive the width from the aspect ratio */
#header .nx-header__logo img, #header #_desktop_logo img, #header .nx-header__logo .logo { height: 50px; max-height: none; width: auto; max-width: 220px; transition: height var(--nx-t-fast) var(--nx-ease); }   /* > Classic's #header .logo { height:auto } */
.nx-header__search { flex: 1 1 auto; max-width: 520px; margin: 0 auto; min-width: 0; }
#header .header-top .search-widget, #header .header-top .search-widgets { float: none; min-width: 0; max-width: none; width: 100%; margin: 0; }   /* Classic: max-width 13rem + margin-bottom */
#header .header-top-right { display: block; float: none; }
.nx-header__links {
  display: flex;
  align-items: center;
  gap: var(--nx-space-4);
  flex: 0 0 auto;
  margin-left: auto;
  font-size: var(--nx-fs-md);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--nx-tracking);
  white-space: nowrap;
}
.nx-header__links a, .nx-header__links #contact-link a, .nx-header__links .btn-unstyle { color: var(--nx-text); font-size: var(--nx-fs-md); font-weight: 500; }
.nx-header__links a:hover, .nx-header__links .btn-unstyle:hover { color: var(--nx-text-strong); }
.nx-header__links > div, .nx-header__links #_desktop_contact_link, .nx-header__links #contact-link { margin: 0; }
.nx-header__links .language-selector-wrapper, .nx-header__links .currency-selector { display: inline-flex; align-items: center; gap: 2px; margin: 0; }
.nx-header__links .language-selector-wrapper > span, .nx-header__links .currency-selector > span { display: none; }   /* "Language:" / "Currency:" labels */
.nx-header__links .dropdown { position: relative; }
.nx-header__links .dropdown .btn-unstyle { display: inline-flex; align-items: center; gap: 2px; text-transform: uppercase; }
.nx-header__links .dropdown .expand-more { color: inherit; font-weight: inherit; font-size: inherit; }
.nx-header__links .dropdown .material-icons.expand-more { font-size: 16px; }
.nx-header__links .dropdown-menu { left: auto; right: 0; top: calc(100% + 8px); text-transform: none; letter-spacing: 0; font-weight: 400; }
.nx-header__inner > .nx-icons { margin-left: auto; }          /* icons hug the right edge … */
.nx-header__links + .nx-icons { margin-left: 0; }             /* … unless the links group already pushed them there */

/* menu row — the dark bar (demo 5): no gap, no border; sits directly under the white main row */
.nx-header__menu { background: var(--nx-menu-bg); color: var(--nx-menu-fg); border: 0; margin: 0; padding: 0; }
#header:has(.nx-header__menu .nx-menu) { border-bottom: 0; }   /* the bar is the unit's bottom edge */
.nx-header__menu > .container { padding: 0 var(--nx-gutter); }
#_desktop_top_menu { margin: 0; }

/* sticky (≥992): main row compresses to 60px, menu row stays visible under it; both fixed.
   The in-flow heights are reserved on #header so nothing jumps. */
#header.nx-header--stuck { padding-bottom: calc(var(--nx-header-h) + var(--nx-menu-h)); }
#header.nx-header--stuck .nx-header__main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nx-header-h-stuck);
  z-index: var(--nx-z-header);
}
#header.nx-header--stuck .nx-header__menu {
  position: fixed;
  top: var(--nx-header-h-stuck);
  left: 0;
  right: 0;
  z-index: calc(var(--nx-z-header) - 1);
  border-bottom: 0;
  box-shadow: var(--nx-shadow-md);
}
#header.nx-header--stuck .nx-header__logo img, #header.nx-header--stuck #_desktop_logo img { height: 40px; }
/* stuck: icon-only controls shrink to 40px; labelled text links (≥992 "ACCOUNT WISHLIST …") keep width:auto —
   a blanket width:40px (1,2,0) beat the ≥992 label rule (0,3,0) and squashed the labels on top of each other */
#header.nx-header--stuck .nx-icon { height: 40px; }
#header.nx-header--stuck .nx-icon:not(:has(.nx-icon__label, .nx-visually-hidden)) { width: 40px; }
/* no menu bar rendered: reserve the main row only. ≥992 only — this is (1,3,0) and would beat the ≤991
   `#header.nx-header--stuck { padding-bottom: 0 }` (1,1,0), adding a 60px jump (gate L1) */
@media (min-width: 992px) {
  #header.nx-header--stuck:not(:has(.nx-header__menu .nx-menu)) { padding-bottom: var(--nx-header-h); }
}

/* --- 7.3 icon group ------------------------------------------------------------
   Base (≤991, the mobile bar): icon-only 44px squares with a count bubble.
   ≥992 (demo 5): TEXT links — "Account" (dropdown), "Wishlist", "Compare", "My Cart 0" — 13px/500
   uppercase, 24px gaps; the glyph is hidden when a label exists, the cart count is plain text after
   the label, wishlist/compare counts are not shown. Works with label-present markup
   (`.nx-icon__label` or `.nx-visually-hidden` inside the link) and label-absent markup (glyph stays). */
.nx-icons { display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex: 0 0 auto; }
.nx-icon, .nx-icons .nx-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--nx-control-h);
  height: var(--nx-control-h);
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: var(--nx-radius-round);
  color: var(--nx-text-strong);
  font-family: var(--nx-font);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--nx-t) var(--nx-ease), background var(--nx-t) var(--nx-ease);
}
.nx-icon:hover, .nx-icon:focus-visible { color: var(--nx-accent); }
.nx-icon .material-icons { display: inline-block; font-size: 24px; line-height: 1; }
/* icon-only by default: any label span is visually hidden whether or not the markup adds .nx-visually-hidden */
.nx-icon .nx-icon__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nx-icon__link { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: inherit; gap: 6px; }
.nx-icon .nx-badge--count { top: 2px; right: 0; }
.nx-icon--cart { width: auto; min-width: var(--nx-control-h); }
.nx-icon--cart .blockcart { background: none; height: auto; padding: 0; margin: 0; }
.nx-icon--cart .blockcart .header { background: none; display: flex; align-items: center; height: var(--nx-control-h); padding: 0; }
.nx-icon--cart .blockcart .header a { display: inline-flex; align-items: center; justify-content: center; position: relative; width: var(--nx-control-h); height: var(--nx-control-h); color: inherit; }
.nx-icon--cart .blockcart .header a:hover { color: var(--nx-accent); }
.nx-icon--cart .blockcart .shopping-cart { color: inherit; }
.nx-icon--cart .blockcart .cart-products-count { position: absolute; top: 2px; right: 0; }
.nx-icon--account .user-info { display: contents; }
.nx-icon--account .user-info .logout { display: none; }                    /* icon-only mode: one link per icon */
/* optional account dropdown panel (theme adds <div class="nx-icon__menu"> inside .nx-icon--account) */
.nx-icon__menu {
  display: none; position: absolute; right: 0; top: 100%; min-width: 200px; padding: 8px 0; margin: 0; list-style: none;
  background: var(--nx-surface-solid); border: 1px solid var(--nx-border); border-radius: var(--nx-radius-lg); box-shadow: var(--nx-shadow-md); z-index: var(--nx-z-dropdown);
  text-align: left; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: var(--nx-fs-ui);
}
.nx-icon__menu a, .nx-icon__menu li > a { display: block; padding: 7px 16px; color: var(--nx-text); white-space: nowrap; }
.nx-icon__menu a:hover { background: var(--nx-surface-2); color: var(--nx-text-strong); }
.nx-icon__menu .nx-icon__menu-sep, .nx-icon__menu hr { margin: 6px 0; border-top: 1px solid var(--nx-border-light); }
.nx-icon__menu .nx-icon__menu-title { padding: 8px 16px 4px; font-size: var(--nx-fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-muted); }
.nx-icon--account:hover .nx-icon__menu, .nx-icon--account:focus-within .nx-icon__menu, .nx-icon--account.is-open .nx-icon__menu { display: block; }

@media (min-width: 992px) {
  .nx-header__inner > .nx-icons { gap: var(--nx-space-6); }
  .nx-header__inner > .nx-icons .nx-icon {
    width: auto; min-width: 0; height: var(--nx-control-h); padding: 0; border-radius: 0;
    font-size: var(--nx-fs-ui); font-weight: 500; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); gap: 6px;
  }
  .nx-header__inner > .nx-icons .nx-icon:hover, .nx-header__inner > .nx-icons .nx-icon:focus-visible, .nx-header__inner > .nx-icons .nx-icon:hover .nx-icon__link { color: var(--nx-accent); background: none; }
  /* labels become visible text */
  .nx-header__inner > .nx-icons .nx-icon .nx-icon__label,
  .nx-header__inner > .nx-icons .nx-icon .nx-visually-hidden:not(.logout):not(.nx-icon__link) {
    position: static; width: auto; height: auto; margin: 0; padding: 0; overflow: visible; clip: auto; white-space: nowrap;
    display: inline; font: inherit; color: inherit;
  }
  /* glyph hidden once a label is present; without :has() support both show (acceptable) */
  .nx-header__inner > .nx-icons .nx-icon:has(.nx-icon__label, .nx-visually-hidden) .material-icons,
  .nx-header__inner > .nx-icons .nx-icon .nx-icon__link:has(.nx-icon__label, .nx-visually-hidden) .material-icons { display: none; }
  .nx-header__inner > .nx-icons .nx-icon:has(.nx-icon__label, .nx-visually-hidden) .material-icons.expand-more { display: inline-block; font-size: 16px; }
  /* counts: plain text after the label — cart only (always shown, even "0"); wishlist/compare never */
  .nx-header__inner > .nx-icons .nx-icon .nx-badge--count,
  .nx-header__inner > .nx-icons .nx-icon--cart .blockcart .cart-products-count {
    position: static; display: inline; min-width: 0; height: auto; padding: 0; margin: 0 0 0 2px; border-radius: 0;
    background: none; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; pointer-events: auto;
  }
  .nx-header__inner > .nx-icons .nx-icon--cart .cart-products-count:empty::before { content: "0"; }
  .nx-header__inner > .nx-icons .nx-icon--cart .nx-badge--count[data-nx-count="0"],
  .nx-header__inner > .nx-icons .nx-icon--cart .nx-badge--count.is-empty { display: inline; }
  .nx-header__inner > .nx-icons .nx-icon--cart .blockcart.inactive .cart-products-count { color: inherit; }
  .nx-header__inner > .nx-icons .nx-icon--wishlist .nx-badge--count,
  .nx-header__inner > .nx-icons .nx-icon--compare .nx-badge--count { display: none; }
  .nx-header__inner > .nx-icons .nx-icon--cart .blockcart .header a { width: auto; height: var(--nx-control-h); gap: 6px; }
  .nx-header__inner > .nx-icons .nx-icon--cart .blockcart .header a:hover { color: var(--nx-accent); }
  /* account: label + logged-in "Sign out" as a secondary link; chevron when a dropdown panel exists */
  .nx-header__inner > .nx-icons .nx-icon--account .user-info { display: inline-flex; align-items: center; gap: var(--nx-space-3); }
  .nx-header__inner > .nx-icons .nx-icon--account .user-info .logout { display: inline-flex; position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
  .nx-header__inner > .nx-icons .nx-icon--account .user-info .logout:hover { color: var(--nx-accent); }
  .nx-header__inner > .nx-icons .nx-icon--account .user-info .logout .material-icons { display: none; }
  .nx-header__inner > .nx-icons .nx-icon--account:has(.nx-icon__menu) > .user-info > a::after,
  .nx-header__inner > .nx-icons .nx-icon--account:has(.nx-icon__menu) > a::after,
  .nx-header__inner > .nx-icons .nx-icon--account:has(.nx-icon__menu) > button::after {
    content: ""; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); display: inline-block;
  }
  .nx-header__inner > .nx-icons .nx-search-toggle { display: none; }
}
/* if the theme keeps Classic's .cart-preview .body dropdown */
.nx-icon--cart .cart-preview .body {
  display: none; position: absolute; right: 0; top: 100%; width: 320px; padding: var(--nx-space-4);
  background: var(--nx-surface-solid); box-shadow: var(--nx-shadow-lg); border-radius: var(--nx-radius-lg); z-index: var(--nx-z-dropdown);
  font-size: var(--nx-fs-ui); text-align: left;
}
.nx-icon--cart:hover .cart-preview .body { display: block; }
/* Classic's default blockcart (when not inside .nx-icons, e.g. still in Nav2) */
#_desktop_cart .blockcart, #_mobile_cart .blockcart { background: none; height: auto; padding: 0; text-align: right; white-space: nowrap; }
#_desktop_cart .blockcart .header, #_mobile_cart .blockcart .header { background: none; }
.blockcart .cart-products-count { font-size: var(--nx-fs-ui); }
.blockcart.inactive .cart-products-count { color: var(--nx-text-muted); }

/* --- 7.4 search --------------------------------------------------------------- */
#search_widget, .nx-search { width: 100%; min-width: 0; float: none; }
#search_widget form, .nx-search form { position: relative; display: flex; align-items: center; margin: 0; }
#search_widget form > i.material-icons.search { display: none; }     /* Classic's decorative icon */
#search_widget input[type="text"], .nx-search__input {
  width: 100%;
  height: var(--nx-control-h);
  min-width: 0;
  padding: 0 52px 0 20px;
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-pill);
  background: var(--nx-input-bg);
  color: var(--nx-text-strong);
  font-family: var(--nx-font);
  font-size: var(--nx-fs-ui);
  transition: border-color var(--nx-t) var(--nx-ease), box-shadow var(--nx-t) var(--nx-ease);
}
#search_widget input[type="text"]::placeholder { color: var(--nx-text-muted); }
#search_widget input[type="text"]:focus, .nx-search__input:focus { outline: 0; border-color: var(--nx-text-strong); box-shadow: var(--nx-ring); }
#search_widget button[type="submit"], .nx-search__btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 36px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: var(--nx-radius-round);
  background: var(--nx-primary);
  color: var(--nx-on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0;
  transform: none;   /* Classic: .header-top .search-widgets form button[type=submit] { top:50%; transform:translateY(-50%) } */
  transition: background var(--nx-t) var(--nx-ease);
}
#search_widget button[type="submit"]:hover, .nx-search__btn:hover { background: var(--nx-accent); color: var(--nx-on-accent); }
#search_widget button[type="submit"] .material-icons { font-size: 20px; line-height: 1; color: inherit; display: inline-block; }
/* jQuery-UI autocomplete list from ps_searchbar */
.ui-autocomplete.ui-menu, .search-widget .ui-autocomplete {
  border: 1px solid var(--nx-border); border-radius: var(--nx-radius-lg); box-shadow: var(--nx-shadow-md);
  background: var(--nx-surface-solid); padding: 6px 0; font-family: var(--nx-font); font-size: var(--nx-fs-ui); z-index: var(--nx-z-dropdown);
}
.ui-autocomplete .ui-menu-item, .ui-autocomplete .ui-menu-item-wrapper, .ui-autocomplete .ui-menu-item a { padding: 8px 14px; color: var(--nx-text); border: 0; margin: 0; display: block; }
.ui-autocomplete .ui-menu-item .ui-state-active, .ui-autocomplete .ui-menu-item-wrapper.ui-state-active, .ui-autocomplete .ui-menu-item a.ui-state-focus { background: var(--nx-surface-2); color: var(--nx-text-strong); border: 0; margin: 0; }
.ui-autocomplete .category { color: var(--nx-text-muted); font-size: var(--nx-fs-md); }
.ui-autocomplete .separator { color: var(--nx-text-muted); }
.ui-autocomplete .product { color: var(--nx-text-strong); }
.nx-search-toggle { display: none; }

/* --- 7.5 burger + off-canvas -------------------------------------------------- */
.nx-burger, #menu-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--nx-control-h); height: var(--nx-control-h); padding: 0; border: 0; background: none; color: var(--nx-text-strong); cursor: pointer;
}
.nx-burger:hover, #menu-icon:hover { color: var(--nx-accent); }
#mobile_top_menu_wrapper { display: none; }           /* Classic default; .nx-offcanvas below takes over */
.nx-offcanvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--nx-offcanvas-w);
  max-width: 85vw;
  background: var(--nx-surface-solid);
  color: var(--nx-text);
  box-shadow: var(--nx-shadow-lg);
  z-index: var(--nx-z-drawer);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform var(--nx-t) var(--nx-ease), visibility 0s linear var(--nx-t);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
}
#mobile_top_menu_wrapper.nx-offcanvas { display: block; background: var(--nx-surface-solid); margin: 0; padding: 0; }
.nx-offcanvas.is-open { transform: translateX(0); visibility: visible; transition: transform var(--nx-t) var(--nx-ease), visibility 0s; }
.nx-offcanvas__head { display: flex; align-items: center; justify-content: space-between; height: var(--nx-header-h-stuck); padding: 0 var(--nx-space-2) 0 var(--nx-space-5); border-bottom: 1px solid var(--nx-border); }
.nx-offcanvas__title { font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.nx-offcanvas__close, .nx-drawer__close, .nx-modal__close {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0;
  background: none; color: var(--nx-text-strong); cursor: pointer; border-radius: var(--nx-radius-round); transition: color var(--nx-t), background var(--nx-t);
}
.nx-offcanvas__close:hover, .nx-drawer__close:hover, .nx-modal__close:hover { color: var(--nx-accent); background: var(--nx-surface-2); }
.nx-offcanvas__body { padding: var(--nx-space-2) 0 var(--nx-space-6); }
.nx-offcanvas__backdrop, .nx-drawer__backdrop {
  position: fixed; inset: 0; background: var(--nx-backdrop); opacity: 0; visibility: hidden;
  transition: opacity var(--nx-t) var(--nx-ease), visibility 0s linear var(--nx-t); z-index: calc(var(--nx-z-drawer) - 1);
}
.nx-offcanvas__backdrop.is-open, .nx-drawer__backdrop.is-open { opacity: 1; visibility: visible; transition: opacity var(--nx-t) var(--nx-ease), visibility 0s; }

/* Classic ps_mainmenu (desktop popovers + mobile accordion) — used if ps_mainmenu renders in displayTop */
#_desktop_top_menu .menu, .top-menu { margin: 0; }
.top-menu a[data-depth="0"] { font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); padding: 22px 16px; }
.top-menu a[data-depth="0"]:hover, .top-menu .current a[data-depth="0"] { color: var(--nx-accent); }
.top-menu .popover { border: 1px solid var(--nx-border); border-radius: var(--nx-radius-lg); box-shadow: var(--nx-shadow-md); background: var(--nx-surface-solid); padding: var(--nx-space-5); }
.top-menu .sub-menu { background: var(--nx-surface-solid); box-shadow: var(--nx-shadow-md); border: 1px solid var(--nx-border); border-radius: var(--nx-radius-lg); padding: var(--nx-space-5); }
.top-menu .sub-menu a[data-depth="1"] { font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; color: var(--nx-text-strong); }
.top-menu .sub-menu a:not([data-depth="0"]):not([data-depth="1"]) { font-size: var(--nx-fs-ui); color: var(--nx-text); padding: 4px 0; }
.top-menu .sub-menu a:hover { color: var(--nx-accent); }
.nx-offcanvas .js-top-menu.mobile li { border-bottom: 1px solid var(--nx-border-light); }
.nx-offcanvas .js-top-menu.mobile a { display: block; padding: 12px var(--nx-space-5); font-size: var(--nx-fs-ui); color: var(--nx-text-strong); }
.nx-offcanvas .js-top-menu.mobile a[data-depth="0"] { font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); }
.nx-offcanvas .js-top-menu.mobile .sub-menu { position: static; width: auto; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 var(--nx-space-4); background: var(--nx-surface-2); }
.nx-offcanvas .js-top-menu.mobile .collapse-icons { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--nx-text-muted); }
.nx-offcanvas #_mobile_currency_selector, .nx-offcanvas #_mobile_language_selector, .nx-offcanvas #_mobile_contact_link { padding: 10px var(--nx-space-5); border-top: 1px solid var(--nx-border-light); font-size: var(--nx-fs-ui); }
.nx-offcanvas .language-selector-wrapper, .nx-offcanvas .currency-selector { display: flex; align-items: center; gap: 8px; }


/* ==========================================================================
   09  SECTION HEADINGS (Movic-style centred title + subtitle)
   ========================================================================== */
.nx-section__head { text-align: center; margin: 0 0 var(--nx-space-7); }
.nx-section__title, .nx-section__head h2, .nx-section__head h3 {
  display: inline-block;
  position: relative;
  margin: 0 0 var(--nx-space-3);
  padding: 0 0 var(--nx-space-3);
  font-size: var(--nx-fs-xl);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--nx-tracking);
  color: var(--nx-text-strong);
  line-height: var(--nx-lh-tight);
}
.nx-section__title::after, .nx-section__head h2::after, .nx-section__head h3::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 40px; height: 2px; margin-left: -20px; background: var(--nx-accent);
}
.nx-section__sub { font-size: var(--nx-fs-ui); color: var(--nx-text-muted); margin: 0; max-width: 560px; margin-left: auto; margin-right: auto; }
.nx-section__head--left { text-align: left; }
.nx-section__head--left .nx-section__title::after, .nx-section__head--left h2::after { left: 0; margin-left: 0; }
.nx-section__head--left .nx-section__sub { margin-left: 0; }
.nx-section__head--tabs { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--nx-space-4); text-align: left; }
.nx-section__head--tabs .nx-section__title::after { left: 0; margin-left: 0; }
.nx-section__tabs { display: flex; flex-wrap: wrap; gap: var(--nx-space-2); list-style: none; margin: 0; padding: 0; }
.nx-section__tab {
  background: none; border: 0; padding: 8px 12px; cursor: pointer; font-family: var(--nx-font);
  font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-muted);
  border-bottom: 2px solid transparent; transition: color var(--nx-t), border-color var(--nx-t);
}
.nx-section__tab:hover, .nx-section__tab.is-active { color: var(--nx-text-strong); border-bottom-color: var(--nx-accent); }
/* Classic's own section headings on module grids (featured products, accessories, specials…) */
.featured-products > .h2, .featured-products > h2, .products-section-title, .product-accessories > .h2, .product-accessories > h2, .page-product-heading {
  display: block; text-align: center; position: relative; padding: 0 0 var(--nx-space-3); margin: 0 0 var(--nx-space-7);
  font-size: var(--nx-fs-xl); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong);
}
.featured-products > .h2::after, .featured-products > h2::after, .products-section-title::after, .product-accessories > .h2::after, .product-accessories > h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 40px; height: 2px; margin-left: -20px; background: var(--nx-accent);
}
.featured-products { padding: var(--nx-section-y) 0; }
.featured-products .all-product-link { display: inline-flex; margin: var(--nx-space-6) auto 0; font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); float: none; justify-content: center; width: 100%; }
.featured-products .all-product-link:hover { color: var(--nx-accent); }
.featured-products .all-product-link .material-icons { font-size: 18px; }


/* ==========================================================================
   10  PRODUCT CARD — article.product-miniature (+ .nx-card)
   ========================================================================== */
.product-miniature, .nx-card {
  display: block;               /* Classic 2.2: .product-miniature { display:flex; justify-content:center } → media + body side by side once the body is a sibling */
  position: relative;
  margin: 0 0 var(--nx-space-7);
  background: var(--nx-card-bg);
  border: 0;
  box-shadow: none;
  text-align: left;
}
.product-miniature .product { display: block; width: auto; min-width: 0; }   /* Classic: .page-index .product-miniature .product { width:25%; min-width:250px } */
/* Classic nests .product-description INSIDE .thumbnail-container; the theme is moving it out to be a sibling.
   So the clipping aspect-ratio box is .thumbnail-top (picture + flags + hover bar only) and .thumbnail-container /
   .nx-card__media is a neutral wrapper — both DOMs render: the body flows beneath the picture either way. */
.product-miniature .thumbnail-container, .nx-card__media {
  position: relative;
  overflow: visible;
  width: 100%;
  height: auto;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.product-miniature .thumbnail-container:hover, .product-miniature .thumbnail-container:focus-within { box-shadow: none; }
.product-miniature .thumbnail-top {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  margin: 0 0 var(--nx-space-3);
  background: var(--nx-surface-2);
  aspect-ratio: 1 / 1;          /* the shop's photos are square on white; .nx-card--portrait gives 3:4 */
}
.nx-card--portrait .thumbnail-top { aspect-ratio: 3 / 4; }
.nx-card--square .thumbnail-top { aspect-ratio: 1 / 1; }
.product-miniature .thumbnail, .product-miniature .product-thumbnail, .nx-card__link,
.product-miniature .thumbnail-container .product-thumbnail { display: block; width: 100%; height: 100%; position: relative; }   /* Classic: height: calc(100% - 70px) at (0,3,0) */
.product-miniature .thumbnail-container .product-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0; }   /* Classic: height:auto; margin:auto at (0,4,1) */
.product-miniature .thumbnail-top img,
.product-miniature .thumbnail-top picture,
.product-miniature .thumbnail-top picture img,
.nx-card__img, .nx-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  transition: opacity 0.5s var(--nx-ease), transform 0.6s var(--nx-ease);
}
.product-miniature .thumbnail-top picture { position: absolute; inset: 0; }
.product-miniature .thumbnail-container > .product-description { position: static; margin-top: 0; }   /* nested (Classic) DOM: visible beneath */
.nx-card__img--hover, .product-miniature .thumbnail-top .nx-card__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
}
.product-miniature:hover .nx-card__img--hover, .nx-card:hover .nx-card__img--hover { opacity: 1; }

/* flags */
.product-miniature .product-flags, .nx-flags, .product-flags {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.product-flags .product-flag, .nx-flag {
  position: static;
  display: inline-block;
  margin: 0;
  padding: 3px 6px;
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: var(--nx-tracking);
  color: #fff;
  background: var(--nx-flag-default);
  border-radius: var(--nx-radius-md);
  box-shadow: var(--nx-shadow-flag);
  min-width: 0;
  min-height: 0;
  white-space: nowrap;
}
.product-flags .product-flag.new { background: var(--nx-flag-new); }
.product-flags .product-flag.on-sale,
.product-flags li.product-flag.on-sale { background: var(--nx-flag-sale) !important; /* (!: Classic forces .on-sale background/width/position) */ width: auto !important; left: auto !important; top: auto !important; position: static !important; text-align: left; }
.product-flags .product-flag.discount, .product-flags .product-flag.discount-percentage, .product-flags .product-flag.discount-amount, .product-flags .product-flag.discount-price { background: var(--nx-flag-sale); }
.product-flags .product-flag.online-only { background: var(--nx-flag-online); }
.product-flags .product-flag.pack { background: var(--nx-flag-default); }
/* theme engineer 2026-10-05: on the product page the flags are rendered inside .product-cover (position:relative) */
.product-cover > .product-flags { position: absolute; top: 10px; left: 10px; z-index: 2; margin: 0; }
.product-flags .product-flag.out_of_stock { background: var(--nx-flag-out); }
/* nexus_labels flags (type nx-<slug>) are coloured by the module from the BO: its header <style> + the inline vars */
/* mmsalemanager's JS-injected SALE badge: same look; hidden when a real on-sale flag exists in the same card */
.mmsm-sale-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-block; padding: 3px 6px;
  font-size: 0.85em; font-weight: 600; line-height: 1.3; text-transform: uppercase; letter-spacing: var(--nx-tracking);
  color: #fff; background: var(--nx-flag-sale); border-radius: var(--nx-radius-md); box-shadow: var(--nx-shadow-flag); pointer-events: none;
}
.product-miniature:has(.product-flags .product-flag) .mmsm-sale-badge { top: auto; bottom: 10px; }  /* core flags present: stack it at the bottom */
.product-miniature:has(.product-flag.on-sale) .mmsm-sale-badge,
.thumbnail-container:has(.product-flag.on-sale) .mmsm-sale-badge { display: none; }
h1.product-title .mmsm-sale-badge { position: static; display: inline-block; vertical-align: middle; margin-left: 8px; font-size: var(--nx-fs-sm); }

/* hover action bar */
.product-miniature .highlighted-informations {
  position: absolute; left: 0; right: 0; bottom: 0; top: auto; z-index: 3;
  width: auto; height: auto; padding: 0; margin: 0; background: transparent; box-shadow: none; text-align: center;
  transform: none; transition: none;
}
.product-miniature .highlighted-informations .quick-view { display: none; }   /* quick view lives in .nx-card__actions */
.product-miniature .highlighted-informations .variant-links { position: absolute; left: 0; right: 0; bottom: 48px; background: transparent; min-height: 0; padding: 6px 0; text-align: center; opacity: 0; transition: opacity var(--nx-t-hover) var(--nx-ease); }
.product-miniature:hover .highlighted-informations .variant-links { opacity: 1; }
.product-miniature .highlighted-informations.no-variants .variant-links { display: none; }
.nx-card__actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: var(--nx-control-h);
  background: var(--nx-overlay);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--nx-t-hover) var(--nx-ease), transform var(--nx-t-hover) var(--nx-ease);
}
.product-miniature:hover .nx-card__actions,
.product-miniature:focus-within .nx-card__actions,
.nx-card:hover .nx-card__actions,
.nx-card:focus-within .nx-card__actions,
.nx-card__actions.is-touch { opacity: 1; transform: translateY(0); }
.nx-card__cartform { display: contents; }
.nx-card__action,
.nx-card__actions .wishlist-button-add {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--nx-control-h);
  height: var(--nx-control-h);
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--nx-text-strong);
  cursor: pointer;
  font-family: var(--nx-font);
  transition: color var(--nx-t) var(--nx-ease), background var(--nx-t) var(--nx-ease);
}
.nx-card__action .material-icons, .nx-card__actions .wishlist-button-add .material-icons { font-size: 20px; line-height: 1; color: inherit; }
.nx-card__action:hover, .nx-card__action:focus-visible, .nx-card__actions .wishlist-button-add:hover { color: var(--nx-accent); background: transparent; }
.nx-card__action.is-active, .nx-card__actions .wishlist-button-add.is-active { color: var(--nx-accent); }
.nx-card__action > span {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(4px);
  padding: 4px 8px; border-radius: var(--nx-radius); background: var(--nx-text-strong); color: var(--nx-text-invert);
  font-size: var(--nx-fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); line-height: 1.2; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--nx-t-fast), transform var(--nx-t-fast);
}
.nx-card__action:hover > span, .nx-card__action:focus-visible > span { opacity: 1; transform: translateX(-50%) translateY(0); }
.nx-card__action--wishlist { display: inline-flex; }
.nx-card__action--wishlist .wishlist-button-product { display: contents; }

/* body */
.product-miniature .product-description, .nx-card__body {
  position: static;
  width: auto;
  height: auto;
  padding: 0 2px;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.product-miniature .product-description::after { display: none; }
.nx-card__cat { font-size: var(--nx-fs-sm); text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-muted); margin-bottom: 4px; }
.product-miniature .product-title, .nx-card__title {
  margin: 0 0 6px;
  font-size: var(--nx-fs-ui);
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
  text-align: left;
  color: var(--nx-text-strong);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-miniature .product-title a, .nx-card__title a { color: var(--nx-text-strong); }
.product-miniature .product-title a:hover, .nx-card__title a:hover { color: var(--nx-accent); }
.product-miniature .product-price-and-shipping, .nx-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: var(--nx-fs-body); color: var(--nx-text-strong); }
.product-miniature .product-price-and-shipping .regular-price, .regular-price { font-size: var(--nx-fs-body); font-weight: 400; color: var(--nx-text-muted); text-decoration: line-through; }
.product-miniature .product-price-and-shipping .price, .nx-card__price .price { font-size: 15px; font-weight: 600; color: var(--nx-text-strong); }
.product-miniature .product-price-and-shipping .discount-percentage,
.product-miniature .product-price-and-shipping .discount-amount,
.product-miniature .product-price-and-shipping .discount-product,
.nx-card__price .discount-percentage {
  font-size: var(--nx-fs-md); font-weight: 600; color: var(--nx-sale); background: transparent; padding: 0; border-radius: 0; display: inline; position: static;
}
.product-miniature .product-price-and-shipping .product-price-and-shipping-weight { width: 100%; font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.product-miniature .unit-price, .product-miniature .product-unit-price { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.nx-card__desc { display: none; font-size: var(--nx-fs-ui); color: var(--nx-text); margin: var(--nx-space-2) 0; }
.nx-card__swatches { margin-top: var(--nx-space-2); }
.product-miniature .variant-links { background: transparent; min-height: 0; padding: 0; text-align: left; }
.variant-links a.color, .variant-links a, .nx-card__swatches a {
  width: 16px; height: 16px; margin: 0 4px 0 0; border-radius: 50%; border: 1px solid var(--nx-border-dark); box-shadow: 0 0 0 1px #fff inset; display: inline-block;
}
.variant-links .count, .nx-card__swatches .count { font-size: var(--nx-fs-sm); color: var(--nx-text-muted); vertical-align: middle; }
.product-miniature .product-list-reviews, .nx-card__body .product-list-reviews { position: static; width: auto; background: transparent; padding: 0; margin: 4px 0 0; box-shadow: none; display: flex; align-items: center; gap: 6px; }
.nx-card--center, .nx-card--center .product-description, .nx-card--center .product-title { text-align: center; }
.nx-card--center .product-price-and-shipping { justify-content: center; }

/* list view */
.nx-list-view .products.row > .js-product, .nx-list-view .products > .js-product, .nx-list-view > .products > [class*="col-"] { flex: 0 0 100%; max-width: 100%; width: 100%; }
.nx-list-view .product-miniature, .nx-list-view .nx-card { display: flex; gap: var(--nx-space-6); align-items: flex-start; margin-bottom: var(--nx-space-6); padding-bottom: var(--nx-space-6); border-bottom: 1px solid var(--nx-border-light); }
.nx-list-view .product-miniature .thumbnail-container { flex: 0 0 30%; min-width: 160px; margin: 0; }
.nx-list-view .product-miniature .product-description { flex: 1 1 auto; padding: var(--nx-space-2) 0 0; }
.nx-list-view .product-miniature .product-title { font-size: var(--nx-fs-lg); -webkit-line-clamp: 3; }
.nx-list-view .nx-card__desc { display: block; }
.nx-list-view .nx-card__actions { position: static; opacity: 1; transform: none; justify-content: flex-start; background: transparent; margin-top: var(--nx-space-3); height: auto; }
.nx-list-view .nx-card__action, .nx-list-view .nx-card__actions .wishlist-button-add { border: 1px solid var(--nx-border); border-radius: var(--nx-radius); margin-right: 6px; }
.nx-list-view .product-miniature .thumbnail-container .nx-card__actions { position: absolute; margin: 0; }

/* .nx-grid: 4 / 3 / 2 columns with 10px gutters regardless of the col-* classes */
.nx-grid { display: flex; flex-wrap: wrap; margin-left: calc(var(--nx-grid-gutter) * -1); margin-right: calc(var(--nx-grid-gutter) * -1); }
.nx-grid > .js-product, .nx-grid > [class*="col-"], .nx-grid__item { flex: 0 0 25%; max-width: 25%; width: 25%; padding-left: var(--nx-grid-gutter); padding-right: var(--nx-grid-gutter); min-width: 170px; }
.nx-grid--3 > .js-product, .nx-grid--3 > [class*="col-"] { flex-basis: 33.3333%; max-width: 33.3333%; width: 33.3333%; }
.nx-grid--5 > .js-product, .nx-grid--5 > [class*="col-"] { flex-basis: 20%; max-width: 20%; width: 20%; }
.products.row { margin-left: calc(var(--nx-grid-gutter) * -1); margin-right: calc(var(--nx-grid-gutter) * -1); }
.products.row > .js-product { padding-left: var(--nx-grid-gutter); padding-right: var(--nx-grid-gutter); }


/* ==========================================================================
   11  LISTING — category head, toolbar, active filters, pagination, facets, category tree
   ========================================================================== */
#category #main .block-category, .nx-cat-head { padding: 0; margin: 0 0 var(--nx-space-6); min-height: 0; background: transparent; box-shadow: none; }
#category #main .block-category .block-category-title, #category #main .block-category h1 { font-size: var(--nx-fs-h1); text-transform: uppercase; letter-spacing: var(--nx-tracking); margin-bottom: var(--nx-space-3); }
#category #main .block-category #category-description { font-size: var(--nx-fs-ui); color: var(--nx-text); }
#category #main .block-category #category-description p { margin: 0 0 var(--nx-space-2); }
#category #main .block-category .category-cover { position: static; display: block; margin: 0 0 var(--nx-space-5); }
#category #main .block-category .category-cover img { width: 100%; height: auto; border-radius: var(--nx-radius); }
#subcategories ul, .subcategories-list { display: flex; flex-wrap: wrap; gap: var(--nx-space-3); margin: 0 0 var(--nx-space-5); padding: 0; list-style: none; }
#subcategories ul li a, .subcategories-list a { font-size: var(--nx-fs-md); text-transform: uppercase; letter-spacing: var(--nx-tracking); padding: 8px 12px; border: 1px solid var(--nx-border); border-radius: var(--nx-radius-pill); color: var(--nx-text-strong); display: inline-block; }
#subcategories ul li a:hover, .subcategories-list a:hover { border-color: var(--nx-text-strong); }

/* toolbar */
#js-product-list-top, .products-selection, .nx-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--nx-space-3) var(--nx-space-5);
  padding: var(--nx-space-3) 0;
  margin: 0 0 var(--nx-space-5);
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
  font-size: var(--nx-fs-ui);
  color: var(--nx-text);
}
.products-selection > .row, .products-selection .row { display: contents; }
.products-selection .total-products, .nx-toolbar__count { flex: 1 1 auto; padding: 0; margin: 0; }
.products-selection .total-products p, .nx-toolbar__count p { margin: 0; font-size: var(--nx-fs-ui); color: var(--nx-text-muted); }
.products-selection .total-products .h2, .products-selection .total-products h1 { margin: 0; font-size: var(--nx-fs-lg); }
.nx-toolbar__right { display: flex; align-items: center; gap: var(--nx-space-3); margin-left: auto; }
.products-selection .sort-by-row, .products-selection .sort-by, .products-selection .filter-button { padding: 0; margin: 0; }
.products-selection .sort-by-row { display: flex; align-items: center; gap: var(--nx-space-3); max-width: none; flex: 0 0 auto; }
.products-selection .sort-by { font-size: var(--nx-fs-ui); color: var(--nx-text-muted); text-align: right; white-space: nowrap; flex: 0 0 auto; max-width: none; }
.products-selection .products-sort-order, .nx-toolbar__sort { position: relative; flex: 0 0 auto; max-width: none; padding: 0; min-width: 180px; }
.products-sort-order .select-title {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 36px; padding: 0 12px;
  border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-input-bg); color: var(--nx-text-strong);
  font-size: var(--nx-fs-ui); box-shadow: none; cursor: pointer;
}
.products-sort-order .select-title .material-icons { font-size: 18px; color: var(--nx-text-muted); }
.products-sort-order .dropdown-menu { left: auto; right: 0; top: calc(100% + 4px); width: 100%; min-width: 220px; margin: 0; box-shadow: var(--nx-shadow-md); }
.products-sort-order .select-list { display: block; padding: 6px 16px; color: var(--nx-text); font-size: var(--nx-fs-ui); }
.products-sort-order .select-list:hover, .products-sort-order .select-list.current { background: var(--nx-surface-2); color: var(--nx-text-strong); }
.products-sort-order .select-list.current { font-weight: 600; }
.products-selection .filter-button .btn { height: 36px; padding: 0 14px; }
.nx-toolbar__view { display: inline-flex; gap: 4px; }
.nx-view-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-input-bg); color: var(--nx-text-muted); cursor: pointer;
  transition: background var(--nx-t), color var(--nx-t), border-color var(--nx-t);
}
.nx-view-btn .material-icons { font-size: 20px; }
.nx-view-btn:hover { border-color: var(--nx-text-strong); color: var(--nx-text-strong); }
.nx-view-btn.is-active { background: var(--nx-text-strong); border-color: var(--nx-text-strong); color: var(--nx-text-invert); }
.nx-filter-toggle { display: none; height: 36px; padding: 0 14px; }

/* active filters */
#js-active-search-filters, .nx-chips { padding: 0; margin: 0 0 var(--nx-space-4); background: transparent; }
#js-active-search-filters .active-filter-title, .nx-chips .active-filter-title { display: inline-block; margin: 0 8px 8px 0; font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); vertical-align: middle; }
#js-active-search-filters ul { display: inline; margin: 0; padding: 0; }
#js-active-search-filters .filter-block {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 8px 8px 0; padding: 7px 8px 7px 12px;
  border: 1px solid var(--nx-border); border-radius: var(--nx-radius-pill); background: var(--nx-surface-2); color: var(--nx-text-strong);
  font-size: var(--nx-fs-md); line-height: 1; box-shadow: none;
}
#js-active-search-filters .filter-block .js-search-link, #js-active-search-filters .filter-block a { display: inline-flex; color: var(--nx-text-muted); }
#js-active-search-filters .filter-block .material-icons { font-size: 14px; line-height: 1; }
#js-active-search-filters .filter-block a:hover { color: var(--nx-accent); }

/* pagination */
.pagination, .nx-pagination { font-size: var(--nx-fs-ui); color: var(--nx-text-muted); padding: var(--nx-space-5) 0 0; margin: 0; }
.pagination > .row, .nx-pagination > .row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--nx-space-3); margin: 0; }
.pagination > .row > [class*="col-"] { padding: 0; width: auto; max-width: none; flex: 0 1 auto; }
.pagination .page-list { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; background: transparent; box-shadow: none; list-style: none; }
.pagination .page-list li { display: inline-flex; margin: 0; }
.pagination a, .pagination .page-list a, .pagination .page-list span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--nx-border); border-radius: var(--nx-radius); color: var(--nx-text-strong); font-weight: 500; font-size: var(--nx-fs-ui);
  transition: background var(--nx-t), color var(--nx-t), border-color var(--nx-t);
}
.pagination a:hover, .pagination .page-list a:hover { border-color: var(--nx-text-strong); color: var(--nx-text-strong); }
.pagination .current a, .pagination .page-list .current a, .pagination a.current { background: var(--nx-text-strong); border-color: var(--nx-text-strong); color: var(--nx-text-invert); font-weight: 600; }
.pagination .disabled a, .pagination .disabled, .pagination .page-list .disabled a { color: var(--nx-text-muted); border-color: var(--nx-border-light); pointer-events: none; }
.pagination .previous a, .pagination .next a, .pagination .previous, .pagination .next { font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); font-size: var(--nx-fs-md); gap: 4px; }
.pagination .previous .material-icons, .pagination .next .material-icons { font-size: 16px; }
.pagination .spacer { display: inline-flex; align-items: center; min-width: 20px; justify-content: center; color: var(--nx-text-muted); }
#js-product-list .up, .up { display: none; }   /* Classic's mobile "Back to top" link — replaced by .nx-totop */

/* facets sidebar (ps_facetedsearch) */
#search_filters_wrapper { padding: 0; }
#search_filters, .nx-facets { padding: 0; margin: 0 0 var(--nx-space-6); background: transparent; box-shadow: none; border: 0; }
#search_filters > p, #search_filters > .h6, #search_filters > .text-uppercase.h6 { display: none; }   /* Classic "Filter by" heading */
#search_filters .facet, .nx-facet { padding: var(--nx-space-4) 0; margin: 0; border-bottom: 1px solid var(--nx-border); }
#search_filters .facet:first-of-type { border-top: 1px solid var(--nx-border); }
#search_filters .facet .facet-title, .nx-facet__title {
  display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 0;
  font-size: var(--nx-fs-body); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong);
}
#search_filters .facet .h6.facet-title, #search_filters .facet .facet-title.h6 { font-size: var(--nx-fs-body); }
#search_filters .facet .navbar-toggler { display: inline-flex; padding: 0; height: auto; width: auto; color: var(--nx-text-muted); }
#search_filters .facet .collapse-icons .material-icons { font-size: 20px; }
#search_filters .facet .collapse, #search_filters .facet .collapse.in, #search_filters .facet ul { margin: var(--nx-space-3) 0 0; padding: 0; list-style: none; }
#search_filters .facet li { padding: 4px 0; }
#search_filters .facet .facet-label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--nx-fs-ui); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--nx-text); cursor: pointer; }
#search_filters .facet .facet-label .search-link { color: inherit; display: block; flex: 1 1 auto; margin-top: 0; line-height: 1.4; font-size: var(--nx-fs-ui); }
#search_filters .facet .facet-label .search-link .magnitude { color: var(--nx-text-muted); font-size: var(--nx-fs-md); }
#search_filters .facet .facet-label:hover .search-link { color: var(--nx-text-strong); }
#search_filters .facet .facet-label.active { color: var(--nx-text-strong); font-weight: 600; }
#search_filters .facet .custom-checkbox { margin: 0; }
#search_filters .facet .custom-checkbox input[type="checkbox"] + span { margin-top: 0; }
#search_filters .facet .custom-checkbox .color { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--nx-border-dark); margin: 0; display: inline-block; background-size: cover; }
#search_filters .facet .custom-checkbox input[type="checkbox"]:checked + .color { background-color: inherit; border-color: var(--nx-border-dark); box-shadow: 0 0 0 2px var(--nx-surface-solid), 0 0 0 3px var(--nx-text-strong); }
#search_filters .facet .custom-checkbox input[type="checkbox"]:checked + .color::after { display: none; }
#search_filters .facet .facet-label.active .custom-checkbox .color { box-shadow: 0 0 0 2px var(--nx-surface-solid), 0 0 0 3px var(--nx-text-strong); }
#search_filters .facet select.form-control-select { height: 40px; }
/* price / weight sliders (jQuery UI from ps_facetedsearch dist) */
#search_filters .ui-slider { position: relative; height: 3px; margin: var(--nx-space-5) 8px var(--nx-space-3); background: var(--nx-border-dark); border: 0; border-radius: 2px; }
#search_filters .ui-slider .ui-slider-range { position: absolute; top: 0; height: 100%; background: var(--nx-text-strong); border: 0; }
#search_filters .ui-slider .ui-slider-handle {
  position: absolute; top: -7px; width: 16px; height: 16px; margin-left: -8px; border: 2px solid var(--nx-text-strong); border-radius: 50%;
  background: var(--nx-surface-solid); cursor: pointer; outline: 0;
}
#search_filters .ui-slider .ui-slider-handle:hover, #search_filters .ui-slider .ui-slider-handle.ui-state-active { background: var(--nx-text-strong); }
#search_filters .facet .faceted-slider p, #search_filters .facet p { font-size: var(--nx-fs-ui); color: var(--nx-text-strong); margin: 0; }
#_desktop_search_filter_clear, .js-search-filters-clear { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 var(--nx-space-3); padding: 0; border: 0; background: none; font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-muted); cursor: pointer; }
#_desktop_search_filter_clear:hover, .js-search-filters-clear:hover { color: var(--nx-accent); }
#search_filter_controls { display: none; }
#left-column { padding-right: var(--nx-space-6); }
#right-column { padding-left: var(--nx-space-6); }

/* category tree (ps_categorytree) */
.block-categories { padding: 0; margin: 0 0 var(--nx-space-6); background: transparent; box-shadow: none; border: 0; }
.block-categories .h6, .block-categories .text-uppercase { font-size: var(--nx-fs-body); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); padding: var(--nx-space-4) 0; margin: 0; border-top: 1px solid var(--nx-border); border-bottom: 1px solid var(--nx-border); }
.block-categories .category-top-menu { margin: var(--nx-space-3) 0 0; }
.block-categories .category-top-menu > li > a { font-size: var(--nx-fs-ui); color: var(--nx-text-strong); }
.block-categories .category-sub-menu { margin: 0; }
.block-categories .category-sub-menu li { position: relative; }
.block-categories .category-sub-menu li[data-depth="0"] { border-bottom: 1px solid var(--nx-border-light); }
.block-categories .category-sub-menu li[data-depth="0"] > a { display: block; padding: 8px 0; font-size: var(--nx-fs-ui); font-weight: 500; color: var(--nx-text-strong); }
.block-categories .category-sub-menu li[data-depth="1"] > a, .block-categories .category-sub-menu li[data-depth="2"] > a { display: block; padding: 6px 0 6px var(--nx-space-4); font-size: var(--nx-fs-ui); color: var(--nx-text); }
.block-categories .category-sub-menu a:hover { color: var(--nx-accent); }
.block-categories .collapse-icons { position: absolute; right: 0; top: 4px; padding: 0; cursor: pointer; color: var(--nx-text-muted); }
.block-categories .collapse-icons .material-icons { font-size: 20px; }
.block-categories .arrows .arrow-right, .block-categories .arrows .arrow-down { font-size: 18px; margin-top: 8px; cursor: pointer; color: var(--nx-text-muted); }
.block-categories a { color: var(--nx-text); }


/* ==========================================================================
   12  PRODUCT PAGE
   ========================================================================== */
#product #content { max-width: none; }
#product .product-container { margin-bottom: var(--nx-space-8); }
.nx-product__gallery, .nx-product__info { margin-bottom: var(--nx-space-6); }

/* gallery */
.images-container, .nx-gallery { position: relative; }
.product-cover, .nx-gallery__cover { position: relative; margin: 0 0 var(--nx-space-3); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); overflow: hidden; background: var(--nx-surface-2); }
.product-cover img, .product-cover picture img { display: block; width: 100%; height: auto; box-shadow: none; }
.product-cover .layer { background: rgba(0, 0, 0, 0); opacity: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity var(--nx-t); }
.product-cover:hover .layer { opacity: 1; background: rgba(0, 0, 0, 0.05); }
.product-cover .layer .zoom-in { font-size: 28px; color: var(--nx-text-strong); background: var(--nx-overlay); border-radius: 50%; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; opacity: 0.9; }
/* flags over the cover wherever the template puts the <ul> (inside .images-container or beside it in .nx-product__gallery) */
.nx-product__gallery, .nx-product__images--thumbs-left, #product .images-container { position: relative; }
#product .product-flags, .nx-product__gallery .product-flags, #product .images-container .product-flags {
  position: absolute; top: 10px; left: 10px; z-index: 2; grid-column: auto; grid-row: auto; width: auto; height: auto; margin: 0;
}
.product-images, .images-container .product-images, .quickview .product-images { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.product-images .thumb-container, .images-container .thumb-container { flex: 0 0 auto; margin: 0; }
.product-images .thumb, .images-container .thumb, .quickview .thumb {
  width: 72px; height: auto; max-width: 100%; margin: 0; cursor: pointer; border: 1px solid var(--nx-border); border-radius: var(--nx-radius); box-shadow: none;
  transition: border-color var(--nx-t) var(--nx-ease); display: block; object-fit: cover;
}
.product-images .thumb:hover, .images-container .thumb:hover { border-color: var(--nx-text-muted); }
.product-images .thumb.selected, .images-container .thumb.selected, .quickview .thumb.selected,
#product .images-container .product-images .thumb.selected, .quickview .product-images .thumb.selected { border: 1px solid var(--nx-text-strong); }   /* Classic: 3px #24b9d7 */
.scroll-box-arrows, .nx-gallery__arrows { display: none; }

/* desktop layout: thumbs column left, cover right */
@media (min-width: 768px) {
  .nx-gallery, #product .images-container { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: var(--nx-space-3); align-items: start; }
  /* theme engineer 2026-10-05: products with one distinct image (template adds .nx-gallery--single) */
  .nx-gallery--single, #product .images-container.nx-gallery--single { grid-template-columns: minmax(0, 1fr); }
  .nx-gallery--single .js-qv-mask, #product .images-container.nx-gallery--single .js-qv-mask { display: none; }
  .nx-gallery--single .product-cover, #product .images-container.nx-gallery--single .product-cover { grid-column: 1; }
  .nx-gallery .product-cover, #product .images-container .product-cover { grid-column: 2; grid-row: 1; margin: 0; }
  .nx-gallery .js-qv-mask, #product .images-container .js-qv-mask { grid-column: 1; grid-row: 1; max-height: 520px; overflow: hidden; }
  .nx-gallery .product-images, #product .images-container .product-images { flex-direction: column; flex-wrap: nowrap; }
  .nx-gallery .thumb, #product .images-container .thumb { width: 80px; }
  .nx-gallery .scroll-box-arrows, #product .images-container .scroll-box-arrows { display: block; grid-column: 1; grid-row: 2; position: static; text-align: center; margin-top: 4px; }
  .nx-gallery .scroll-box-arrows .material-icons, #product .images-container .scroll-box-arrows .material-icons { position: static; display: inline-block; cursor: pointer; font-size: 22px; color: var(--nx-text-muted); margin: 0 2px; transform: rotate(90deg); }
  .nx-gallery .scroll-box-arrows .material-icons:hover, #product .images-container .scroll-box-arrows .material-icons:hover { color: var(--nx-text-strong); }
  /* flags sit over the cover, i.e. past the 80px thumbs column when there are thumbnails */
  #product .images-container:has(.product-images .thumb-container) .product-flags,
  .nx-product__gallery:has(.product-images .thumb-container) > .product-flags { left: calc(80px + var(--nx-space-3) + 10px); }
  /* no thumbnails (single image): the thumbs column takes no space */
  .nx-gallery:not(:has(.product-images .thumb-container)), #product .images-container:not(:has(.product-images .thumb-container)) { grid-template-columns: minmax(0, 1fr); }
  .nx-gallery:not(:has(.product-images .thumb-container)) .product-cover, #product .images-container:not(:has(.product-images .thumb-container)) .product-cover { grid-column: 1; }
  .nx-gallery:not(:has(.product-images .thumb-container)) .js-qv-mask, #product .images-container:not(:has(.product-images .thumb-container)) .js-qv-mask,
  .nx-gallery:not(:has(.product-images .thumb-container)) .scroll-box-arrows, #product .images-container:not(:has(.product-images .thumb-container)) .scroll-box-arrows { display: none; }
}

/* info column */
#product h1.product-title, .nx-product__title, .product-title.h1 { font-size: var(--nx-fs-h1); font-weight: 600; line-height: 1.25; text-transform: none; color: var(--nx-text-strong); margin: 0 0 var(--nx-space-3); }
.nx-product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--nx-space-4); font-size: var(--nx-fs-md); color: var(--nx-text-muted); margin-bottom: var(--nx-space-4); }
.product-reference { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.product-reference label, .product-reference .label { font-weight: 400; text-transform: none; letter-spacing: 0; color: inherit; margin: 0; font-size: inherit; }
.nx-product__brand { color: var(--nx-text-strong); font-weight: 500; }
.product-manufacturer { margin: 0; }
.product-manufacturer img { max-height: 36px; width: auto; }
#product .product-prices, .nx-product__price { margin: 0 0 var(--nx-space-5); }
#product .product-prices > div, .quickview .product-prices > div { margin-bottom: 4px; }
.product-prices .current-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.product-prices .current-price .price, .product-prices .current-price > span:first-child, .product-prices .current-price-value { font-size: 22px; font-weight: 600; color: var(--nx-text-strong); line-height: 1.2; }
.product-prices .has-discount .current-price .price, .product-prices .has-discount .current-price > span:first-child { color: var(--nx-sale); }
.product-prices .product-discount { margin: 0; }
.product-prices .product-discount .regular-price, .product-prices .regular-price { font-size: var(--nx-fs-lg); font-weight: 400; color: var(--nx-text-muted); text-decoration: line-through; }
.product-prices .discount-percentage, .product-prices .discount-amount, .product-prices .discount.discount-percentage, .product-prices .discount.discount-amount, .product-prices .badge-discount {
  font-size: var(--nx-fs-body); font-weight: 600; color: var(--nx-sale); background: transparent; padding: 0; border-radius: 0; text-transform: none;
}
.product-prices .tax-shipping-delivery-label, .product-prices .product-pack-price, .product-prices .product-unit-price { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.product-prices .product-pack-price span, .product-prices .product-unit-price span { font-size: inherit; color: inherit; }
.product-prices .price-flag, .product-prices .tax-shipping-delivery-label .delivery-information { color: var(--nx-text-muted); }
#product .product-description-short, .nx-product__short, .quickview .product-description-short { font-size: var(--nx-fs-ui); line-height: 1.7; color: var(--nx-text); margin: 0 0 var(--nx-space-5); }
#product .product-information { font-size: var(--nx-fs-ui); color: var(--nx-text); }
#product .product-actions, .nx-product__buy { margin: 0; padding: var(--nx-space-5) 0; border-top: 1px solid var(--nx-border); }
.product-actions .control-label { font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); margin-bottom: 6px; }

/* variants (keep .product-variants / .product-variants-item / .input-container / .input-color / .radio-label / .attribute-name) */
.product-variants { margin: 0 0 var(--nx-space-3); }
.product-variants > .product-variants-item, .product-variants-item { margin: 0 0 var(--nx-space-4); }
.product-variants-item .form-control-label, .product-variants-item .control-label { display: block; margin-bottom: 8px; font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.product-variants-item ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.product-variants-item ul li, .product-variants-item .input-container { margin: 0; float: none; display: inline-block; }
.product-variants-item .input-container label { position: relative; display: inline-block; margin: 0; padding: 0; cursor: pointer; font-weight: 400; text-transform: none; letter-spacing: 0; }
/* colour swatches */
.product-variants-item .input-color, .quickview .input-color { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.product-variants-item .input-color + span, .product-variants-item label .color, .quickview .input-color + span {
  display: inline-block; width: 32px; height: 32px; margin: 0; border-radius: 50%; border: 1px solid var(--nx-border-dark);
  box-shadow: 0 0 0 2px var(--nx-surface-solid) inset; background-size: cover; transition: box-shadow var(--nx-t-fast);
}
.product-variants-item .input-color:hover + span, .product-variants-item .input-color:checked + span,
.product-variants-item label .color.selected, .product-variants-item .input-container.selected .color, .quickview .input-color:checked + span {
  border-color: var(--nx-text-strong); box-shadow: 0 0 0 2px var(--nx-surface-solid) inset, 0 0 0 2px var(--nx-text-strong);
}
/* radio chips (size etc.) */
.product-variants-item .input-radio, .quickview .input-radio { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.product-variants-item .input-radio + span, .product-variants-item .radio-label, .quickview .input-radio + span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 36px; padding: 0 12px;
  border: 1px solid var(--nx-border-dark); border-radius: var(--nx-radius); background: var(--nx-input-bg); color: var(--nx-text-strong);
  font-size: var(--nx-fs-ui); font-weight: 500; box-shadow: none; transition: background var(--nx-t-fast), color var(--nx-t-fast), border-color var(--nx-t-fast);
}
.product-variants-item .input-radio:hover + span, .product-variants-item .input-radio:hover ~ .radio-label { border-color: var(--nx-text-strong); }
.product-variants-item .input-radio:checked + span, .product-variants-item .input-radio:checked ~ .radio-label, .product-variants-item .input-container.selected .radio-label, .quickview .input-radio:checked + span {
  background: var(--nx-text-strong); border-color: var(--nx-text-strong); color: var(--nx-text-invert);
}
.product-variants-item .input-radio:disabled + span, .product-variants-item .input-container.disabled .radio-label { opacity: 0.4; text-decoration: line-through; }
.product-variants-item .attribute-name { font-size: var(--nx-fs-ui); }
.product-variants-item select.form-control-select, .product-variants-item .form-control-select { max-width: 280px; height: 40px; }

/* quantity + add to cart */
.product-add-to-cart { margin: 0; }
.product-add-to-cart .control-label { display: none; }
.product-quantity, .nx-qty { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--nx-space-3); margin: var(--nx-space-2) 0 var(--nx-space-4); }
.product-quantity .qty { flex: 0 0 auto; margin: 0; width: auto; }
.product-quantity .add { flex: 1 1 auto; margin: 0; display: flex; }
.product-quantity .add .add-to-cart, .product-quantity .add .btn, .product-quantity .add .nx-btn { flex: 1 1 auto; height: var(--nx-control-h); padding-top: 0; padding-bottom: 0; line-height: var(--nx-control-h); min-width: 180px; }
.product-quantity .add .add-to-cart .material-icons { font-size: 18px; }
.product-quantity #quantity_wanted, .product-quantity .qty input, .quickview #quantity_wanted {
  width: 56px; height: var(--nx-control-h); padding: 0 8px; text-align: center; font-size: var(--nx-fs-body); font-weight: 500;
  border: 1px solid var(--nx-border-strong); border-right: 0; border-radius: var(--nx-radius) 0 0 var(--nx-radius); color: var(--nx-text-strong); background: var(--nx-input-bg);
  -moz-appearance: textfield;
}
.product-quantity #quantity_wanted::-webkit-inner-spin-button, .product-quantity #quantity_wanted::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product-quantity .input-group.bootstrap-touchspin, .bootstrap-touchspin { display: flex; align-items: stretch; width: auto; box-shadow: none; border: 0; }
.bootstrap-touchspin .input-group-btn-vertical { display: flex; flex-direction: column; width: 32px; float: none; }
.bootstrap-touchspin .input-group-btn-vertical .btn, .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up, .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
  flex: 1 1 50%; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: auto; min-height: 0; padding: 0; margin: 0;
  border: 1px solid var(--nx-border-strong); border-left: 0; background: var(--nx-input-bg); color: var(--nx-text-strong); border-radius: 0; box-shadow: none; position: static;
}
.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up { border-radius: 0 var(--nx-radius) 0 0; border-bottom: 0; }
.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down { border-radius: 0 0 var(--nx-radius) 0; }
.bootstrap-touchspin .input-group-btn-vertical .btn:hover { background: var(--nx-surface-2); }
.bootstrap-touchspin .input-group-btn-vertical i, .bootstrap-touchspin .input-group-btn-vertical .touchspin-up, .bootstrap-touchspin .input-group-btn-vertical .touchspin-down { position: static; font-size: 14px; line-height: 1; }
.product-quantity .wishlist-button-add, .nx-product__buy .wishlist-button-add, .product-quantity .nx-compare-add, .product-actions .wishlist-button-add {
  flex: 0 0 auto; width: var(--nx-control-h); height: var(--nx-control-h); margin: 0; padding: 0; border: 1px solid var(--nx-border-dark); border-radius: var(--nx-radius);
  background: var(--nx-input-bg); color: var(--nx-text-strong); box-shadow: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: color var(--nx-t), border-color var(--nx-t);
}
.product-quantity .wishlist-button-add:hover, .product-quantity .nx-compare-add:hover, .product-actions .wishlist-button-add:hover { color: var(--nx-accent); border-color: var(--nx-accent); background: var(--nx-surface); }
.product-quantity .wishlist-button-add .material-icons, .product-quantity .nx-compare-add .material-icons, .product-actions .wishlist-button-add .material-icons { font-size: 20px; color: inherit; }
/* feature gate: component display rules (inline-flex above) would otherwise beat the hidden attribute */
[data-nx-feature][hidden] { display: none !important; }
.product-minimal-quantity, .product-availability { font-size: var(--nx-fs-md); color: var(--nx-text-muted); margin: 4px 0 0; }
#product-availability { font-size: var(--nx-fs-ui); font-weight: 500; margin: 0 0 var(--nx-space-3); display: inline-flex; align-items: center; gap: 4px; }
#product-availability .product-available { color: var(--nx-success); }
#product-availability .product-unavailable, #product-availability .product-last-items { color: var(--nx-warning); }
#product-availability .material-icons { font-size: 18px; }
.product-pack, .product-discounts { margin: var(--nx-space-4) 0; }
.product-discounts .table-product-discounts thead th { background: var(--nx-surface-2); border: 0; }
.product-discounts .table-product-discounts td { border-color: var(--nx-border); }
.product-customization { padding: var(--nx-space-4); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); margin: 0 0 var(--nx-space-5); background: transparent; }
.product-customization .product-customization-item { margin: 0 0 var(--nx-space-4); }

/* additional info (hooks) */
.product-additional-info, .nx-product__extra { display: flex; flex-direction: column; gap: var(--nx-space-4); padding: var(--nx-space-4) 0 0; margin: 0; }
.product-additional-info > *:empty { display: none; }
.product-additional-info .social-sharing { margin: 0; display: flex; align-items: center; gap: 8px; }
.product-additional-info .social-sharing span { font-size: var(--nx-fs-md); text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-muted); font-weight: 600; }
.product-additional-info .social-sharing ul { display: flex; gap: 8px; margin: 0; padding: 0; }
.product-additional-info .social-sharing li { width: 32px; height: 32px; box-shadow: none; border: 1px solid var(--nx-border); border-radius: 50%; background-size: 16px; background-position: center; background-color: var(--nx-surface); cursor: pointer; transition: border-color var(--nx-t); margin: 0; }
.product-additional-info .social-sharing li:hover { border-color: var(--nx-text-strong); background-color: var(--nx-surface); }
.product-additional-info .social-sharing li a { display: block; width: 100%; height: 100%; }
.product-additional-info .product-comments-additional-info, .product-additional-info .comments_note { margin: 0; }
.product-additional-info .js-mailalert, .product-additional-info #mailalert_link { font-size: var(--nx-fs-ui); }
.js-mailalert .form-control { height: 40px; max-width: 320px; }
.js-mailalert .btn { height: 40px; padding: 0 16px; }

/* reassurance on product page (blockreassurance) */
.nx-product__reassurance, .blockreassurance_product { margin: var(--nx-space-5) 0 0; padding: var(--nx-space-4) 0 0; border-top: 1px solid var(--nx-border); }
.blockreassurance_product > div { display: flex; align-items: center; gap: 12px; padding: 8px 0; margin: 0; font-size: var(--nx-fs-ui); color: var(--nx-text); }
.blockreassurance_product .item-product { width: 36px; height: 36px; flex: 0 0 36px; display: flex; align-items: center; justify-content: center; margin: 0; }
.blockreassurance_product .item-product img, .blockreassurance_product .item-product svg { width: 28px; height: 28px; }
.blockreassurance_product p, .blockreassurance_product .block-title { margin: 0; font-size: var(--nx-fs-ui); color: var(--nx-text); }
.blockreassurance_product .block-title { font-weight: 600; color: var(--nx-text-strong); }
.blockreassurance_product span { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }

/* tabs */
.tabs, .nx-tabs { margin: var(--nx-space-7) 0 0; padding: 0; background: transparent; box-shadow: none; border: 0; }
.tabs .nav-tabs, .nx-tabs .nav-tabs { display: flex; flex-wrap: wrap; gap: var(--nx-space-6); border-bottom: 1px solid var(--nx-border); margin: 0 0 var(--nx-space-5); padding: 0; }
.tabs .nav-tabs .nav-item { margin: 0; }
.tabs .nav-tabs .nav-link {
  display: block; padding: 12px 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none;
  font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-muted); transition: color var(--nx-t), border-color var(--nx-t);
}
.tabs .nav-tabs .nav-link:hover { color: var(--nx-text-strong); }
.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link.active:hover { color: var(--nx-text-strong); border-bottom-color: var(--nx-text-strong); background: none; }
.tabs .tab-content { padding: 0; font-size: var(--nx-fs-body); line-height: 1.7; color: var(--nx-text); }
.tabs .tab-pane { padding: 0; }
.tabs .tab-content .product-description img { border-radius: var(--nx-radius); }
.product-features > dl.data-sheet, .product-details .data-sheet { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 0; margin: 0; border: 1px solid var(--nx-border); border-radius: var(--nx-radius); overflow: hidden; }
.product-features > dl.data-sheet dt.name, .product-features > dl.data-sheet dd.value, .product-details .data-sheet dt, .product-details .data-sheet dd {
  margin: 0; padding: 10px 14px; font-size: var(--nx-fs-ui); background: transparent; border-bottom: 1px solid var(--nx-border-light); flex: none; width: auto; min-height: 0; word-break: normal;
}
.product-features > dl.data-sheet dt.name, .product-details .data-sheet dt { font-weight: 600; color: var(--nx-text-strong); background: var(--nx-surface-2); }
.product-features > dl.data-sheet dd.value, .product-details .data-sheet dd { color: var(--nx-text); }
.product-features > dl.data-sheet dt:nth-of-type(even), .product-features > dl.data-sheet dd:nth-of-type(even) { background-color: inherit; }
.product-details .product-reference, .product-details .product-quantities, .product-details .product-out-of-stock, .product-details .product-condition { margin: 0 0 var(--nx-space-2); font-size: var(--nx-fs-ui); }
.product-details label, .product-details .label { font-weight: 600; text-transform: none; letter-spacing: 0; font-size: inherit; }
.product-attachments { margin-top: var(--nx-space-4); }
.product-attachments .attachment { padding: 10px 0; border-bottom: 1px solid var(--nx-border-light); }
.product-attachments .attachment h4 { font-size: var(--nx-fs-body); margin-bottom: 4px; }

/* related / accessories / footer product hooks */
.product-accessories, #product .featured-products { padding: var(--nx-section-y) 0 0; }
.product-accessories .products { margin-top: 0; }
#product .product-footer, .product-footer { margin-top: var(--nx-space-7); }
.nx-stickybuy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--nx-z-float); display: flex; align-items: center; gap: var(--nx-space-3);
  padding: 10px var(--nx-gutter); background: var(--nx-surface-solid); border-top: 1px solid var(--nx-border); box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(100%); transition: transform var(--nx-t) var(--nx-ease);
}
.nx-stickybuy.is-visible { transform: translateY(0); }
.nx-stickybuy__price { font-size: var(--nx-fs-lg); font-weight: 600; color: var(--nx-text-strong); flex: 1 1 auto; }
.nx-stickybuy .nx-btn, .nx-stickybuy .btn { height: 44px; padding-top: 0; padding-bottom: 0; }


/* ==========================================================================
   13  OVERLAYS — quick view, blockcart modal, fly-cart drawer, generic modal, newsletter, image modal
   ========================================================================== */
/* Bootstrap 4-alpha modal base used by Classic */
.modal { z-index: var(--nx-z-modal); }
.modal-backdrop { background: #000; }
.modal-backdrop.in, .modal-backdrop.show { opacity: 0.4; }
.modal .modal-content { border: 0; border-radius: var(--nx-radius); box-shadow: var(--nx-shadow-lg); background: var(--nx-surface-solid); color: var(--nx-text); }
.modal .modal-header { border-bottom: 0; padding: var(--nx-space-4) var(--nx-space-5) 0; display: flex; align-items: center; justify-content: space-between; }
.modal .modal-header .modal-title, .modal .modal-header .h4 { font-size: var(--nx-fs-lg); margin: 0; }
.modal .modal-header .close, .modal .close {
  position: relative; float: none; margin: 0 0 0 auto; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; opacity: 1; color: var(--nx-text-strong); background: transparent; border: 0; cursor: pointer; font-size: 22px; line-height: 1; text-shadow: none; transition: background var(--nx-t), color var(--nx-t);
}
.modal .close:hover { background: var(--nx-surface-2); color: var(--nx-accent); opacity: 1; }
.modal .close .material-icons { font-size: 22px; color: inherit; }
.modal .modal-body { padding: var(--nx-space-5); }
.modal .modal-footer { border-top: 1px solid var(--nx-border); padding: var(--nx-space-4) var(--nx-space-5); display: flex; justify-content: flex-start; gap: var(--nx-space-3); flex-wrap: wrap; }

/* 13.1 quick view */
.quickview .modal-dialog, .nx-qv .modal-dialog { width: calc(100% - 40px); max-width: 1024px; min-height: 0; margin: 40px auto; }
.quickview .modal-content { min-height: 31.25rem; }
.quickview .modal-header { padding: var(--nx-space-3) var(--nx-space-4) 0; }
.quickview .modal-body { padding: var(--nx-space-4) var(--nx-space-7) var(--nx-space-7); min-height: 0; }
.quickview .modal-body > .row { margin: 0; }
.quickview .modal-body > .row > [class*="col-"] { padding: 0 var(--nx-space-4); }
.quickview .images-container { display: block; }
.quickview .product-cover { margin-bottom: var(--nx-space-3); }
.quickview .product-cover img { width: 100%; }
.quickview .js-qv-mask, .quickview .mask { max-height: none; overflow: visible; }
.quickview .product-images { flex-direction: row; flex-wrap: wrap; }
.quickview .product-images .thumb { width: 64px; }
.quickview .arrows { display: none; }
.quickview h1, .quickview .h1 { font-size: 22px; text-transform: none; margin: 0 0 var(--nx-space-3); }
.quickview .product-prices { margin-bottom: var(--nx-space-4); }
.quickview .product-actions { border-top: 1px solid var(--nx-border); padding-top: var(--nx-space-4); }
.quickview .product-description-short { margin-bottom: var(--nx-space-4); }
.quickview .modal-footer { border-top: 1px solid var(--nx-border); padding: var(--nx-space-4) var(--nx-space-7); justify-content: flex-start; }
.quickview .modal-footer .product-additional-info { padding: 0; flex-direction: row; flex-wrap: wrap; gap: var(--nx-space-5); align-items: center; }
.quickview .social-sharing { margin: 0; }
.nx-qv__full { margin-top: var(--nx-space-4); font-size: var(--nx-fs-ui); }
.quickview .product-flags { position: absolute; top: 10px; left: 10px; }

/* 13.2 Classic #blockcart-modal (fallback if the drawer is not wired) */
#blockcart-modal .modal-dialog { max-width: 1024px; width: calc(100% - 40px); margin: 40px auto; }
#blockcart-modal .modal-header { background: var(--nx-surface-solid); border-bottom: 1px solid var(--nx-border); padding: var(--nx-space-4) var(--nx-space-5); color: var(--nx-text-strong); }
#blockcart-modal .modal-header .modal-title { font-size: var(--nx-fs-lg); display: flex; align-items: center; gap: 8px; }
#blockcart-modal .modal-header .modal-title .material-icons { color: var(--nx-success); font-size: 22px; }
#blockcart-modal .modal-header .close { color: var(--nx-text-strong); opacity: 1; }
#blockcart-modal .modal-body { padding: var(--nx-space-5); background: var(--nx-surface-solid); }
#blockcart-modal .product-image { max-width: 100%; height: auto; border: 1px solid var(--nx-border); border-radius: var(--nx-radius); }
#blockcart-modal .product-name, #blockcart-modal .h6 { font-size: var(--nx-fs-lg); color: var(--nx-text-strong); margin-bottom: var(--nx-space-2); }
#blockcart-modal .product-price { font-size: var(--nx-fs-lg); font-weight: 600; color: var(--nx-text-strong); }
#blockcart-modal .modal-body .divide-right { border-right: 1px solid var(--nx-border); }
#blockcart-modal .modal-body .divide-right span, #blockcart-modal .cart-content p { font-size: var(--nx-fs-ui); color: var(--nx-text); }
#blockcart-modal .cart-content { padding-left: var(--nx-space-5); }
#blockcart-modal .cart-content p { display: flex; justify-content: space-between; margin: 0 0 6px; }
#blockcart-modal .cart-content p.product-total { font-weight: 600; color: var(--nx-text-strong); font-size: var(--nx-fs-body); border-top: 1px solid var(--nx-border); padding-top: 8px; margin-top: 8px; }
#blockcart-modal .cart-content-btn { display: flex; flex-wrap: wrap; gap: var(--nx-space-3); margin-top: var(--nx-space-4); }
#blockcart-modal .cart-content-btn .btn { flex: 1 1 auto; margin: 0; }
#blockcart-modal .cart-products-count { font-weight: 600; }
#blockcart-modal .cart-content .label { font-weight: 400; }

/* 13.3 fly-cart drawer */
.nx-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--nx-drawer-w);
  max-width: calc(100vw - 40px);
  display: flex;
  flex-direction: column;
  background: var(--nx-surface-solid);
  color: var(--nx-text);
  box-shadow: var(--nx-shadow-lg);
  z-index: var(--nx-z-drawer);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--nx-t) var(--nx-ease), visibility 0s linear var(--nx-t);
}
.nx-drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.nx-drawer--bottom { top: auto; left: 0; right: 0; width: auto; max-width: none; max-height: 85vh; border-radius: var(--nx-radius-lg) var(--nx-radius-lg) 0 0; transform: translateY(100%); }
.nx-drawer.is-open { transform: translate(0, 0); visibility: visible; transition: transform var(--nx-t) var(--nx-ease), visibility 0s; }
.nx-drawer__head { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; height: var(--nx-header-h-stuck); padding: 0 var(--nx-space-3) 0 var(--nx-space-6); border-bottom: 1px solid var(--nx-border); }
.nx-drawer__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--nx-fs-lg); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.nx-drawer__title .nx-badge--count { position: static; }
.nx-drawer__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: var(--nx-space-4) var(--nx-space-6); }
.nx-drawer__added { display: flex; align-items: center; gap: 8px; padding: 10px 14px; margin: 0 0 var(--nx-space-4); border-radius: var(--nx-radius); background: rgba(76, 187, 108, 0.12); color: var(--nx-success); font-size: var(--nx-fs-ui); font-weight: 500; }
.nx-drawer__added .material-icons { font-size: 18px; }
.nx-drawer__empty { padding: var(--nx-space-8) 0; text-align: center; color: var(--nx-text-muted); font-size: var(--nx-fs-ui); }
.nx-cart-lines { list-style: none; margin: 0; padding: 0; }
.nx-cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--nx-space-3); align-items: start; padding: var(--nx-space-4) 0; border-bottom: 1px solid var(--nx-border-light); position: relative; }
.nx-cart-line__img { display: block; border: 1px solid var(--nx-border); border-radius: var(--nx-radius); overflow: hidden; background: var(--nx-surface-2); }
.nx-cart-line__img img { display: block; width: 100%; height: auto; }
.nx-cart-line__info { min-width: 0; padding-right: 28px; }
.nx-cart-line__name { display: block; font-size: var(--nx-fs-ui); font-weight: 500; color: var(--nx-text-strong); line-height: 1.4; margin-bottom: 4px; }
.nx-cart-line__name:hover { color: var(--nx-accent); }
.nx-cart-line__attrs, .nx-cart-line__qty { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.nx-cart-line__price { font-size: var(--nx-fs-ui); font-weight: 600; color: var(--nx-text-strong); white-space: nowrap; padding-right: 28px; }
.nx-cart-line__remove {
  position: absolute; top: var(--nx-space-4); right: 0; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--nx-text-muted); border-radius: 50%; transition: color var(--nx-t), background var(--nx-t);
}
.nx-cart-line__remove:hover { color: var(--nx-accent); background: var(--nx-surface-2); }
.nx-cart-line__remove .material-icons { font-size: 16px; }
.nx-drawer__foot { flex: 0 0 auto; padding: var(--nx-space-4) var(--nx-space-6) var(--nx-space-6); border-top: 1px solid var(--nx-border); background: var(--nx-surface-solid); }
.nx-cart-totals { margin: 0 0 var(--nx-space-4); }
.nx-cart-totals__row { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; font-size: var(--nx-fs-ui); color: var(--nx-text); }
.nx-cart-totals__row dt { font-weight: 400; margin: 0; }
.nx-cart-totals__row dd { margin: 0; color: var(--nx-text-strong); }
.nx-cart-totals__row--total { border-top: 1px solid var(--nx-border); margin-top: 6px; padding-top: 10px; font-size: var(--nx-fs-body); }
.nx-cart-totals__row--total dt, .nx-cart-totals__row--total dd { font-weight: 600; color: var(--nx-text-strong); }
.nx-drawer__foot .nx-btn + .nx-btn, .nx-drawer__foot .btn + .btn { margin-top: var(--nx-space-2); }
.nx-drawer.is-loading .nx-drawer__body { opacity: 0.5; pointer-events: none; }

/* 13.4 generic modal (quick login, newsletter, size guide, compare) */
.nx-modal .modal-dialog, .nx-modal__dialog { width: calc(100% - 40px); max-width: 480px; margin: 60px auto; }
.nx-modal--wide .modal-dialog { max-width: 900px; }
.nx-modal--newsletter .modal-dialog { max-width: 760px; }
.nx-modal .modal-content, .nx-modal__content { position: relative; padding: var(--nx-space-7); }
.nx-modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; }
.nx-modal__title { font-size: var(--nx-fs-h2); margin: 0 0 var(--nx-space-5); text-align: center; }
.nx-modal__tabs { display: flex; justify-content: center; gap: var(--nx-space-5); margin: 0 0 var(--nx-space-5); padding: 0; list-style: none; border-bottom: 1px solid var(--nx-border); }
.nx-modal__tab {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 2px; cursor: pointer; font-family: var(--nx-font);
  font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-muted); transition: color var(--nx-t), border-color var(--nx-t);
}
.nx-modal__tab:hover { color: var(--nx-text-strong); }
.nx-modal__tab.is-active { color: var(--nx-text-strong); border-bottom-color: var(--nx-text-strong); }
.nx-modal__pane { display: none; }
.nx-modal__pane.is-active { display: block; }
.nx-modal__pane .form-footer { text-align: center; }
.nx-modal__pane .form-footer .btn, .nx-modal__pane .form-footer .nx-btn { width: 100%; }
.nx-modal__pane .no-account, .nx-modal__pane .forgot-password { text-align: center; font-size: var(--nx-fs-ui); margin-top: var(--nx-space-4); }
.nx-modal__social { margin-top: var(--nx-space-5); padding-top: var(--nx-space-5); border-top: 1px solid var(--nx-border); display: flex; gap: var(--nx-space-3); }
.nx-modal__social .nx-btn { flex: 1 1 0; }
.nx-modal.is-loading .modal-content::after {
  content: ""; position: absolute; inset: 0; background: var(--nx-overlay); border-radius: inherit; z-index: 3;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='%238EB364' stroke-width='3' stroke-dasharray='70 40' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='0.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
/* newsletter popup */
.nx-modal--newsletter .modal-content { padding: 0; display: flex; flex-direction: row; overflow: hidden; }
.nx-newsletter__media { flex: 0 0 45%; background: var(--nx-surface-2) center / cover no-repeat; min-height: 360px; }
.nx-newsletter__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nx-newsletter__body { flex: 1 1 auto; padding: var(--nx-space-8) var(--nx-space-7); display: flex; flex-direction: column; justify-content: center; }
.nx-newsletter__title { font-size: var(--nx-fs-h1); text-transform: uppercase; letter-spacing: var(--nx-tracking); margin: 0 0 var(--nx-space-3); }
.nx-newsletter__text { font-size: var(--nx-fs-ui); color: var(--nx-text); margin: 0 0 var(--nx-space-5); }
.nx-newsletter__form { display: flex; gap: 0; margin: 0 0 var(--nx-space-4); }
.nx-newsletter__form .form-control, .nx-newsletter__form input[type="email"] { flex: 1 1 auto; height: var(--nx-control-h); border-radius: var(--nx-radius) 0 0 var(--nx-radius); }
.nx-newsletter__form .nx-btn, .nx-newsletter__form .btn { height: var(--nx-control-h); padding-top: 0; padding-bottom: 0; border-radius: 0 var(--nx-radius) var(--nx-radius) 0; }
.nx-newsletter__dismiss { display: inline-flex; align-items: center; gap: 8px; font-size: var(--nx-fs-md); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--nx-text-muted); cursor: pointer; }
.nx-newsletter__dismiss input { margin: 0; }

/* 13.5 Classic image modal (#product-modal) */
#product-modal .modal-dialog { max-width: 960px; width: calc(100% - 40px); margin: 40px auto; }
#product-modal .modal-content { background: transparent; box-shadow: none; }
#product-modal .modal-content .modal-body { display: flex; flex-direction: column; align-items: center; gap: var(--nx-space-3); padding: 0; margin: 0; }
#product-modal .modal-content .modal-body .product-cover-modal { max-width: 100%; height: auto; background: var(--nx-surface-solid); border-radius: var(--nx-radius); }
#product-modal .modal-content .modal-body .image-caption { width: 100%; background: var(--nx-surface-solid); padding: var(--nx-space-3) var(--nx-space-4); border-radius: var(--nx-radius); font-size: var(--nx-fs-ui); color: var(--nx-text); border: 0; }
#product-modal .modal-content .modal-body .thumbnails { position: static; display: flex; justify-content: center; }
#product-modal .modal-content .modal-body .mask { height: auto; overflow: visible; }
#product-modal .modal-content .modal-body .product-images { flex-direction: row; flex-wrap: wrap; justify-content: center; }
#product-modal .modal-content .modal-body .product-images img { width: 64px; height: auto; cursor: pointer; border: 2px solid transparent; border-radius: var(--nx-radius); margin: 0; }
#product-modal .modal-content .modal-body .product-images img.selected, #product-modal .modal-content .modal-body .product-images img:hover { border-color: #fff; }
#product-modal .modal-content .modal-body .arrows { display: none; }
#product-modal .modal-header .close { color: #fff; }


/* ==========================================================================
   14  SCROLL-TO-TOP
   ========================================================================== */
.nx-totop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: var(--nx-z-float);
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--nx-radius-round);
  background: var(--nx-surface-solid);
  color: var(--nx-text-strong);
  box-shadow: var(--nx-shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--nx-t-fast) var(--nx-ease), transform var(--nx-t-fast) var(--nx-ease), visibility 0s linear var(--nx-t-fast), color var(--nx-t);
}
.nx-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity var(--nx-t-fast) var(--nx-ease), transform var(--nx-t-fast) var(--nx-ease), visibility 0s, color var(--nx-t); }
.nx-totop:hover { color: var(--nx-accent); }
.nx-totop .material-icons { font-size: 24px; }
body.nx-has-helpchat .nx-totop { bottom: 90px; }


/* ==========================================================================
   15  FOOTER (#footer / .nx-footer; Classic ps_linklist, ps_contactinfo, ps_customeraccountlinks, ps_socialfollow, ps_emailsubscription)
   ========================================================================== */
#footer, .nx-footer {
  background: var(--nx-footer-bg);
  color: var(--nx-text);
  font-size: var(--nx-fs-ui);
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--nx-border);
}
.footer-container, #footer .footer-container { background: transparent; margin: 0; padding: var(--nx-space-9) 0 var(--nx-space-8); box-shadow: none; overflow: visible; }
.footer-container .row, .nx-footer__cols { margin: 0 calc(var(--nx-gutter) * -1); }
.nx-footer__top { background: var(--nx-footer-top-bg); padding: var(--nx-space-8) 0; border-bottom: 1px solid var(--nx-border); }
.nx-footer__top--dark { background: var(--nx-primary); color: #ddd; }
.nx-footer__top--dark .h4, .nx-footer__top--dark .block_newsletter .h4, .nx-footer__top--dark p { color: #fff; }
.nx-footer__top > .container > .row { margin: 0; }
/* `.footer-container .wrapper` is !important-ed by Classic — left untouched on purpose */

/* column titles */
#footer .links .h3, #footer .links h3, #footer .block-contact .h3, #footer .block-contact .h4, #footer .account-list .h3,
#footer .block-social .h3, #footer .block_newsletter .h4, #footer .block-contact-title, .nx-footer__title {
  display: block;
  margin: 0 0 var(--nx-space-5);
  font-size: var(--nx-fs-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--nx-tracking);
  color: var(--nx-text-strong);
}
#footer .links .title, #footer .block-contact .title, #footer .account-list .title { padding: 0; margin: 0; border: 0; }
#footer .links .title .h3, #footer .account-list .title .h3, #footer .block-contact .title .h4 { margin: 0; }
#footer .links ul, #footer .account-list ul { margin: 0; padding: 0; list-style: none; }
#footer .links ul > li, #footer .account-list ul > li, #footer .block-contact ul > li, #footer .block-contact .block-contact-item { padding: 5px 0; margin: 0; font-weight: 400; border: 0; background: transparent; }
#footer .links ul > li a, #footer .account-list ul > li a, #footer .block-contact a, .nx-footer__col a {
  display: inline-block;
  font-size: var(--nx-fs-ui);
  color: var(--nx-text);
  transition: color var(--nx-t-slow) var(--nx-ease), transform var(--nx-t-slow) var(--nx-ease);
}
#footer .links ul > li a:hover, #footer .account-list ul > li a:hover, #footer .block-contact a:hover, .nx-footer__col a:hover { color: var(--nx-text-strong); transform: translateX(5px); }
#footer .block-contact { color: var(--nx-text); font-size: var(--nx-fs-ui); line-height: 1.8; }
#footer .block-contact br { display: none; }
#footer .block-contact a { transform: none; }
#footer .block-contact a:hover { transform: none; }
.nx-footer__col { margin-bottom: var(--nx-space-6); }

/* mobile accordion (Classic .title[data-toggle=collapse] + .collapse) — shown only ≤767 in §20 */
#footer .links .title[data-toggle="collapse"], #footer .account-list .title[data-toggle="collapse"], #footer .block-contact .title[data-toggle="collapse"] { display: none; }
#footer .links .title .navbar-toggler, #footer .account-list .title .navbar-toggler, #footer .block-contact .title .navbar-toggler { display: inline-flex; align-items: center; padding: 0; color: var(--nx-text-muted); }
#footer .links .collapse, #footer .account-list .collapse, #footer .block-contact .collapse { display: block; }
#footer .links .title .collapse-icons .add, #footer .account-list .title .collapse-icons .add { display: inline-block; }
#footer .links .title .collapse-icons .remove, #footer .account-list .title .collapse-icons .remove { display: none; }
#footer .links .title[aria-expanded="true"] .collapse-icons .add, #footer .account-list .title[aria-expanded="true"] .collapse-icons .add { display: none; }
#footer .links .title[aria-expanded="true"] .collapse-icons .remove, #footer .account-list .title[aria-expanded="true"] .collapse-icons .remove { display: inline-block; }

/* newsletter band (ps_emailsubscription) */
.block_newsletter, #footer .block_newsletter { font-size: var(--nx-fs-ui); margin: 0; padding: 0; border: 0; }
.block_newsletter .h4 { margin-bottom: var(--nx-space-2); }
.block_newsletter > .row, .block_newsletter .row { margin: 0; align-items: center; }
.block_newsletter > .row > [class*="col-"] { padding: 0; }
.block_newsletter p { font-size: var(--nx-fs-ui); color: var(--nx-text); margin: 0 0 var(--nx-space-3); }
.block_newsletter form { margin: 0; }
.block_newsletter form .row { margin: 0; }
.block_newsletter form .input-wrapper, .block_newsletter form .col-xs-12 { padding: 0; }
.block_newsletter form .input-wrapper { position: relative; overflow: visible; display: flex; }
.block_newsletter form input[type="email"], .block_newsletter form .form-control, .block_newsletter input.form-control {
  height: var(--nx-control-h); padding: 0 var(--nx-space-5); border: 1px solid var(--nx-border-strong); border-right: 0; border-radius: var(--nx-radius-pill) 0 0 var(--nx-radius-pill); width: 100%; box-shadow: none; font-size: var(--nx-fs-ui); background: var(--nx-input-bg);
}
.block_newsletter form input[type="email"]:focus { border-color: var(--nx-text-strong); }
.block_newsletter form input[type="submit"], .block_newsletter form button[type="submit"], .block_newsletter form .btn {
  position: static; height: var(--nx-control-h); padding: 0 var(--nx-space-6); margin: 0; border-radius: 0 var(--nx-radius-pill) var(--nx-radius-pill) 0; font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking);
  background: var(--nx-primary); color: var(--nx-on-primary); border: 1px solid var(--nx-primary); cursor: pointer; white-space: nowrap; transition: background var(--nx-t-slow);
}
.block_newsletter form input[type="submit"]:hover, .block_newsletter form button[type="submit"]:hover, .block_newsletter form .btn:hover { background: var(--nx-primary-hover); border-color: var(--nx-primary-hover); }
.block_newsletter form .btn .material-icons { display: none; }
.block_newsletter .alert { margin-top: var(--nx-space-3); }
.block_newsletter .gdpr_module, .block_newsletter .custom-checkbox { margin-top: var(--nx-space-3); font-size: var(--nx-fs-md); }
.block_newsletter .conditions, .block_newsletter .form-control-comment { font-size: var(--nx-fs-md); color: var(--nx-text-muted); margin-top: var(--nx-space-2); }
.nx-footer__top .blockreassurance { margin: 0; }

/* social (ps_socialfollow) */
#footer .block-social, .nx-footer__social { margin: 0; }
#footer .block-social ul, .nx-footer__social ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
#footer .block-social li, .nx-footer__social li {
  width: 36px; height: 36px; margin: 0; border: 1px solid var(--nx-border); border-radius: 50%; background-color: var(--nx-surface-solid);
  background-size: 16px; background-position: center; background-repeat: no-repeat; box-shadow: none; cursor: pointer; transition: border-color var(--nx-t), background-color var(--nx-t), filter var(--nx-t);
  filter: grayscale(1); opacity: 0.8;
}
#footer .block-social li:hover, .nx-footer__social li:hover { border-color: var(--nx-text-strong); background-color: var(--nx-surface-solid); filter: grayscale(0); opacity: 1; }
#footer .block-social li a { display: block; width: 100%; height: 100%; overflow: hidden; white-space: nowrap; text-indent: 100%; }

/* bottom bar */
.nx-footer__bottom { border-top: 1px solid var(--nx-border); padding: var(--nx-space-5) 0; font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.nx-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--nx-space-4); }
.nx-footer__copy { margin: 0; font-size: var(--nx-fs-md); }
.nx-footer__copy a { color: var(--nx-text-strong); }
.nx-footer__payments { display: flex; align-items: center; gap: 8px; }
.nx-footer__payments img { height: 24px; width: auto; opacity: 0.8; }
#footer .footer-container .copyright, #footer .copyright, #footer .links .copyright { text-align: inherit; font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
#footer .footer-container > .container > .row:last-child > .col-md-12 > p { font-size: var(--nx-fs-md); color: var(--nx-text-muted); margin: 0; }
#footer a[href*="prestashop"] { color: inherit; }
.footer-container .hidden-sm-down { display: block; }

/* reassurance (blockreassurance on displayFooterBefore / displayNavFullWidth / displayFooterAfter) */
.blockreassurance { padding: 0; margin: 0; background: transparent; }
.blockreassurance .row { display: flex; flex-wrap: wrap; align-items: stretch; margin: 0; justify-content: center; }
.blockreassurance .row > [class*="col-"] { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--nx-space-2); padding: var(--nx-space-4); flex: 1 1 220px; max-width: none; }
.blockreassurance .block-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; margin: 0; }
.blockreassurance .block-icon img, .blockreassurance .block-icon svg { width: 32px; height: 32px; }
.blockreassurance .block-title { margin: 0; font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.blockreassurance p, .blockreassurance .block-text { margin: 0; font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
/* ==========================================================================
   16  BREADCRUMB + PAGE HEADERS
   ========================================================================== */
.breadcrumb, nav.breadcrumb, .nx-breadcrumb {
  background: transparent;
  padding: var(--nx-space-4) 0;
  margin: 0;
  border-radius: 0;
  font-size: var(--nx-fs-md);
  color: var(--nx-text-muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; padding: 0; margin: 0; }
.breadcrumb li::after { display: none; }
.breadcrumb li + li::before { content: "/"; padding: 0 8px; color: var(--nx-border-dark); }
.breadcrumb li a, .breadcrumb li a span { color: var(--nx-text-muted); }
.breadcrumb li a:hover span, .breadcrumb li a:hover { color: var(--nx-text-strong); }
.breadcrumb li:last-child span, .breadcrumb li:last-child a span { color: var(--nx-text-strong); font-weight: 500; }
.nx-breadcrumb--band { background: var(--nx-surface-2); border-bottom: 1px solid var(--nx-border); margin-bottom: var(--nx-space-6); }
.nx-page-title { text-align: center; padding: var(--nx-space-7) 0; }
.nx-page-title h1 { font-size: var(--nx-fs-h1); text-transform: uppercase; letter-spacing: var(--nx-tracking); margin: 0; }
#main .page-header h1, #main .page-header .h1, .page-header h1 { font-size: var(--nx-fs-h1); text-transform: uppercase; letter-spacing: var(--nx-tracking); margin: 0 0 var(--nx-space-5); }
#main .page-header { border: 0; padding: 0; }
#main .page-content { padding: 0; }
#main .page-content h6, #main .page-content .h6 { font-size: var(--nx-fs-body); }
#main .page-footer { padding: var(--nx-space-5) 0 0; }
#main .page-footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--nx-space-4); }
#main .page-footer ul li a { display: inline-flex; align-items: center; gap: 4px; font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
#main .page-footer ul li a:hover { color: var(--nx-accent); }
.page-content.page-cms, #cms .page-content { font-size: var(--nx-fs-body); line-height: 1.8; }
.page-cms h2, .page-cms h3 { margin-top: var(--nx-space-6); }
.page-not-found { padding: var(--nx-space-8) 0; text-align: center; }
.page-not-found .search-widget { max-width: 480px; margin: var(--nx-space-5) auto 0; }
#notifications ul { margin: 0; }


/* ==========================================================================
   17  CLASSIC PAGES — cart, checkout, order confirmation, account (CSS only)
   ========================================================================== */
/* 17.1 cart */
#cart .cart-grid { margin: 0 0 var(--nx-space-8); }
#cart .cart-grid .h1, #cart h1.h1 { font-size: var(--nx-fs-h1); text-transform: uppercase; letter-spacing: var(--nx-tracking); margin: 0 0 var(--nx-space-5); }
.cart-grid-body, .cart-grid-right { margin: 0; }
.cart-grid-body .card, .cart-grid-right .card, .cart-container, .cart-summary, .cart-grid-right .cart-summary { background: transparent; box-shadow: none; border: 0; }
.cart-grid-body .cart-container { border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: 0; }
.cart-grid-body .card-block.cart-container { padding: 0; }
.cart-grid-body .cart-overview { padding: 0; }
.cart-items, .cart-overview .cart-items { margin: 0; padding: 0; list-style: none; }
.cart-item { padding: var(--nx-space-5); border-bottom: 1px solid var(--nx-border-light); }
.cart-item:last-child { border-bottom: 0; }
.product-line-grid { display: flex; align-items: center; flex-wrap: wrap; gap: var(--nx-space-4); margin: 0; }
.product-line-grid > [class*="col-"] { padding: 0; }
.product-line-grid .product-line-grid-left { flex: 0 0 100px; max-width: 100px; }
.product-line-grid .product-line-grid-body { flex: 1 1 200px; max-width: none; }
.product-line-grid .product-line-grid-right { flex: 1 1 260px; max-width: none; }
.product-line-grid-left img, .product-line-grid .product-image { width: 100px; max-width: 100%; height: auto; border: 1px solid var(--nx-border); border-radius: var(--nx-radius); }
.product-line-info { margin: 0 0 4px; font-size: var(--nx-fs-ui); color: var(--nx-text); }
.product-line-info .label, .product-line-info label { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: inherit; color: var(--nx-text-muted); margin: 0; }
.product-line-info .value { color: var(--nx-text); }
.product-line-info a.label, .product-line-grid-body .label, .product-line-grid-body a.label { font-size: var(--nx-fs-body); font-weight: 500; color: var(--nx-text-strong); }
.product-line-grid-body a.label:hover { color: var(--nx-accent); }
.product-line-info.product-price, .product-line-grid-body .product-price { font-size: var(--nx-fs-body); font-weight: 600; color: var(--nx-text-strong); }
.product-line-info.product-price .regular-price, .product-price .regular-price { font-size: var(--nx-fs-md); margin-right: 6px; }
.product-line-info.product-price .product-discount .discount-percentage, .product-line-info .discount { font-size: var(--nx-fs-md); color: var(--nx-sale); background: transparent; padding: 0; }
.product-line-grid-right .row { display: flex; align-items: center; justify-content: flex-end; gap: var(--nx-space-4); margin: 0; }
.product-line-grid-right .row > [class*="col-"], .product-line-grid-right .qty, .product-line-grid-right .price, .product-line-grid-right .cart-line-product-actions { padding: 0; width: auto; max-width: none; flex: 0 0 auto; }
.product-line-grid-right .bootstrap-touchspin { width: auto; }
.product-line-grid-right .bootstrap-touchspin .js-cart-line-product-quantity, .product-line-grid-right .bootstrap-touchspin input.form-control {
  width: 56px; height: 40px; padding: 0 8px; text-align: center; border: 1px solid var(--nx-border-strong); border-right: 0; border-radius: var(--nx-radius) 0 0 var(--nx-radius); font-size: var(--nx-fs-ui); -moz-appearance: textfield;
}
.product-line-grid-right .bootstrap-touchspin input::-webkit-inner-spin-button, .product-line-grid-right .bootstrap-touchspin input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product-line-grid-right .bootstrap-touchspin .input-group-btn-vertical { width: 30px; }
.product-line-grid-right .bootstrap-touchspin .input-group-btn-vertical .btn { width: 30px; }
.product-line-grid-right .price, .product-line-grid-right .product-price { font-size: var(--nx-fs-body); font-weight: 600; color: var(--nx-text-strong); min-width: 80px; text-align: right; }
.product-line-grid-right .product-price strong { font-weight: 600; }
.cart-line-product-actions .remove-from-cart, .product-line-grid-right .remove-from-cart { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--nx-text-muted); transition: color var(--nx-t), background var(--nx-t); }
.cart-line-product-actions .remove-from-cart:hover, .product-line-grid-right .remove-from-cart:hover { color: var(--nx-accent); background: var(--nx-surface-2); }
.cart-line-product-actions .remove-from-cart .material-icons { font-size: 18px; }
.cart-grid-body .cart-detailed-actions, .cart-grid-body .card-block .cart-detailed-actions { padding: 0; }
.cart-grid-body a.label.continue, #cart .label.continue, .cart-grid-body .cart-detailed-actions .label { display: inline-flex; align-items: center; gap: 4px; margin: var(--nx-space-5) 0 0; font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.cart-grid-body a.label.continue:hover { color: var(--nx-accent); }
.cart-grid-body a.label.continue .material-icons { font-size: 18px; }
.cart-grid-body .cart-overview.js-cart .no-items, .cart-overview .no-items { padding: var(--nx-space-8) var(--nx-space-5); text-align: center; font-size: var(--nx-fs-body); color: var(--nx-text-muted); }
/* summary */
.cart-grid-right .cart-summary { border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: var(--nx-space-5); background: var(--nx-surface-2); }
.cart-grid-right .cart-summary .card-block { padding: 0; }
.cart-summary-line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--nx-space-3); padding: 4px 0; font-size: var(--nx-fs-ui); clear: both; }
.cart-summary-line .label { float: none; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: inherit; color: var(--nx-text); margin: 0; padding: 0; white-space: normal; }
.cart-summary-line .value { float: none; font-weight: 500; color: var(--nx-text-strong); text-align: right; }
.cart-summary-products { padding: 0 0 var(--nx-space-3); border-bottom: 1px solid var(--nx-border); margin-bottom: var(--nx-space-3); }
.cart-summary-products p, .cart-summary-products .js-show-details, .cart-summary-products a { font-size: var(--nx-fs-ui); margin: 0; color: var(--nx-text-muted); }
.cart-summary-products .js-show-details { color: var(--nx-text-strong); text-decoration: underline; }
.cart-summary-subtotals-container { padding: var(--nx-space-3) 0; border-bottom: 1px solid var(--nx-border); }
.cart-summary-totals { padding: var(--nx-space-3) 0 0; }
.cart-total, .cart-summary-line.cart-total { font-size: var(--nx-fs-lg); border-top: 0; padding-top: 6px; }
.cart-total .label, .cart-summary-line.cart-total .label { font-weight: 600; color: var(--nx-text-strong); font-size: var(--nx-fs-body); }
.cart-total .value, .cart-summary-line.cart-total .value { font-weight: 600; font-size: var(--nx-fs-lg); color: var(--nx-text-strong); }
.cart-summary-line .sub, .cart-summary-line small, .cart-summary-line .text-xs-right small { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.cart-grid-right .checkout, .cart-grid-right .cart-detailed-actions { padding: var(--nx-space-4) 0 0; margin: 0; background: transparent; }
.cart-grid-right .checkout .btn, .cart-detailed-actions .btn-primary { width: 100%; }
.cart-grid-right .checkout .btn.disabled { opacity: 0.5; }
.cart-grid-right .cart-voucher, .cart-grid-right .block-promo { margin-top: var(--nx-space-4); }
.block-promo .promo-code { background: transparent; padding: 0; margin: 0; }
.block-promo .promo-code-button, .block-promo .promo-code__button, .block-promo .collapse-button { display: inline-flex; font-size: var(--nx-fs-ui); font-weight: 500; color: var(--nx-text-strong); text-decoration: underline; margin: var(--nx-space-3) 0; cursor: pointer; }
.block-promo .promo-code-button:hover { color: var(--nx-accent); }
.block-promo .promo-code form, .block-promo .promo-input { margin: 0; }
.block-promo .promo-input { display: flex; width: 100%; }
.block-promo .promo-input input, .block-promo .promo-input .form-control, .block-promo .promo-code input[name="discount_name"] { flex: 1 1 auto; height: 40px; border-radius: var(--nx-radius) 0 0 var(--nx-radius); width: auto; min-width: 0; }
.block-promo .promo-input .btn, .block-promo .promo-code .btn { height: 40px; padding: 0 16px; border-radius: 0 var(--nx-radius) var(--nx-radius) 0; margin: 0; }
.block-promo .promo-name { margin: var(--nx-space-3) 0 0; }
.block-promo .promo-name .cart-summary-line { background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: 8px 12px; }
.block-promo .promo-name a, .block-promo .promo-name .material-icons { color: var(--nx-text-muted); font-size: 16px; }
.block-promo .promo-name a:hover { color: var(--nx-accent); }
.block-promo .promo-discounts { font-size: var(--nx-fs-ui); margin: var(--nx-space-3) 0 0; }
.block-promo .promo-discounts .code { color: var(--nx-text-strong); font-weight: 500; }
.block-promo .alert { margin-top: var(--nx-space-3); }
.block-promo .cart-voucher-error, .js-error { font-size: var(--nx-fs-md); color: var(--nx-danger); }
#cart .blockreassurance { margin-top: var(--nx-space-5); }
#cart .blockreassurance .row > [class*="col-"] { flex-direction: row; text-align: left; gap: 12px; padding: 8px 0; flex: 1 1 100%; }
#cart .cart-grid-right .blockreassurance .block-icon { flex: 0 0 36px; }
/* 17.2 checkout */
#checkout section.checkout-step, .checkout-step {
  padding: var(--nx-space-5) var(--nx-space-6);
  margin: 0 0 var(--nx-space-3);
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  box-shadow: none;
}
.checkout-step .step-title, .checkout-step .step-title.h3 {
  display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer;
  font-size: var(--nx-fs-lg); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-muted);
}
.checkout-step .step-title .step-number {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--nx-surface-3); color: var(--nx-text-muted); font-size: var(--nx-fs-md); font-weight: 600; flex: 0 0 28px;
}
.checkout-step .step-title .step-edit { margin-left: auto; font-size: var(--nx-fs-md); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--nx-text-muted); display: inline-flex; align-items: center; gap: 4px; }
.checkout-step .step-title .step-edit:hover { color: var(--nx-accent); }
.checkout-step .step-title .step-edit .material-icons { font-size: 16px; }
.checkout-step .step-title .done, .checkout-step .step-title .material-icons.done { color: var(--nx-success); font-size: 22px; display: none; }
.checkout-step.-current .step-title { color: var(--nx-text-strong); }
.checkout-step.-current .step-title .step-number { background: var(--nx-primary); color: var(--nx-on-primary); }
.checkout-step.-complete .step-title { color: var(--nx-text-strong); }
.checkout-step.-complete .step-title .step-number { background: var(--nx-success); color: #fff; }
.checkout-step.-complete.-reachable .step-title .step-edit { display: inline-flex; }
.checkout-step.-reachable.-complete h1 .step-edit, .checkout-step.-reachable.-complete .step-title .step-edit { display: inline-flex; }
.checkout-step.-unreachable { opacity: 0.6; }
.checkout-step .content { padding: var(--nx-space-5) 0 0 40px; }
.checkout-step .content .alert { margin-bottom: var(--nx-space-4); }
#checkout-personal-information-step .nav-tabs, .checkout-step .nav-tabs { display: flex; gap: var(--nx-space-6); border-bottom: 1px solid var(--nx-border); margin: 0 0 var(--nx-space-5); padding: 0; }
#checkout-personal-information-step .nav-tabs .nav-item { margin: 0; }
#checkout-personal-information-step .nav-tabs .nav-link { padding: 10px 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-muted); background: none; }
#checkout-personal-information-step .nav-tabs .nav-link.active { color: var(--nx-text-strong); border-bottom-color: var(--nx-text-strong); }
#checkout-personal-information-step .nav-tabs .nav-link:hover { color: var(--nx-text-strong); }
.checkout-step .login-form, .checkout-step .register-form { max-width: 560px; }
.checkout-step .form-footer, .checkout-step .continue { margin-top: var(--nx-space-4); }
.checkout-step .identity, .checkout-step .identity a { font-size: var(--nx-fs-ui); }
/* addresses */
.checkout-step .address-selector, #delivery-addresses, #invoice-addresses { display: flex; flex-wrap: wrap; gap: var(--nx-space-4); margin: 0 0 var(--nx-space-4); }
.checkout-step .address-item, .address-item { flex: 1 1 240px; max-width: 320px; margin: 0; padding: var(--nx-space-4); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface); font-size: var(--nx-fs-ui); color: var(--nx-text); }
.address-item.selected { border-color: var(--nx-text-strong); box-shadow: 0 0 0 1px var(--nx-text-strong); }
.address-item .custom-radio { float: none; }
.address-item .address-alias { font-weight: 600; color: var(--nx-text-strong); margin-left: 4px; }
.address-item .address { font-size: var(--nx-fs-ui); line-height: 1.6; margin: var(--nx-space-2) 0; }
.address-item .address-footer, .address-item .address-item-footer { display: flex; gap: var(--nx-space-3); border-top: 1px solid var(--nx-border-light); padding-top: var(--nx-space-2); margin-top: var(--nx-space-2); font-size: var(--nx-fs-md); }
.address-item .address-footer a, .address-item .address-item-footer a { display: inline-flex; align-items: center; gap: 4px; color: var(--nx-text-muted); }
.address-item .address-footer a:hover { color: var(--nx-accent); }
.address-item .address-footer .material-icons { font-size: 16px; }
.checkout-step .add-address, .address-selector + .add-address { margin: 0 0 var(--nx-space-4); }
.checkout-step .add-address a { display: inline-flex; align-items: center; gap: 4px; font-size: var(--nx-fs-ui); font-weight: 500; color: var(--nx-text-strong); }
.checkout-step .add-address a:hover { color: var(--nx-accent); }
.checkout-step .js-address-form, .checkout-step .address-form { max-width: 560px; }
/* delivery options */
.delivery-options { margin: 0 0 var(--nx-space-4); }
.delivery-option { display: flex; align-items: center; gap: var(--nx-space-3); margin: 0 0 var(--nx-space-2); padding: var(--nx-space-4); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface); cursor: pointer; transition: border-color var(--nx-t); }
.delivery-option:hover, .delivery-option.selected, .delivery-option:has(input:checked) { border-color: var(--nx-text-strong); }
.delivery-option > div, .delivery-option .row { display: contents; }
.delivery-option label { display: flex; align-items: center; gap: var(--nx-space-4); flex: 1 1 auto; margin: 0; font-weight: 400; text-transform: none; letter-spacing: 0; cursor: pointer; }
.delivery-option label .row { display: flex; align-items: center; gap: var(--nx-space-4); margin: 0; width: 100%; }
.delivery-option label .row > [class*="col-"] { padding: 0; width: auto; max-width: none; flex: 0 1 auto; }
.delivery-option .carrier-logo img { max-height: 40px; width: auto; }
.delivery-option .carrier-name, .delivery-option .h6.carrier-name { font-size: var(--nx-fs-body); font-weight: 600; color: var(--nx-text-strong); margin: 0; }
.delivery-option .carrier-delay { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.delivery-option .carrier-price { font-size: var(--nx-fs-body); font-weight: 600; color: var(--nx-text-strong); margin-left: auto; white-space: nowrap; }
.delivery-options .carrier-extra-content { padding: var(--nx-space-4); border: 1px solid var(--nx-border); border-top: 0; border-radius: 0 0 var(--nx-radius) var(--nx-radius); margin: -8px 0 var(--nx-space-3); background: var(--nx-surface-2); }
.order-options { margin-top: var(--nx-space-4); }
.order-options textarea.form-control { min-height: 90px; }
/* payment */
.payment-options { margin: 0 0 var(--nx-space-5); }
.payment-options .payment-option { display: flex; align-items: center; gap: var(--nx-space-3); margin: 0 0 var(--nx-space-2); padding: var(--nx-space-4); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface); transition: border-color var(--nx-t); }
.payment-options .payment-option:hover, .payment-options .payment-option:has(input:checked) { border-color: var(--nx-text-strong); }
.payment-options .payment-option label { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: var(--nx-fs-body); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--nx-text-strong); cursor: pointer; }
.payment-options .payment-option label img, .payment-options .payment-option img { max-height: 28px; width: auto; }
.payment-options .payment-option .custom-radio { margin: 0; }
.payment-options .payment-option > div, .payment-options .payment-option .col-md-12 { display: contents; }
.payment-options .additional-information, .payment-options .js-additional-information, .payment-options .js-payment-option-form {
  display: block; margin: -8px 0 var(--nx-space-3); padding: var(--nx-space-4); border: 1px solid var(--nx-border); border-top: 0; border-radius: 0 0 var(--nx-radius) var(--nx-radius); background: var(--nx-surface-2); font-size: var(--nx-fs-ui);
}
.payment-options .additional-information .alert, .js-additional-information .alert { margin: 0; }
.payment-options .additional-information section, .payment-options .additional-information .definition-list { margin: 0; }
.payment-options .definition-list dl { display: grid; grid-template-columns: auto 1fr; gap: 4px var(--nx-space-4); margin: 0; }
.payment-options .definition-list dt { font-weight: 600; color: var(--nx-text-strong); font-size: var(--nx-fs-ui); }
.payment-options .definition-list dd { margin: 0; font-size: var(--nx-fs-ui); }
.payment-options .payment-option .payment-option-fee, .payment-options .mmpp-fee, .payment-option .fee-preview, .payment-option .payment-fee-preview { margin-left: auto; font-size: var(--nx-fs-md); color: var(--nx-text-muted); white-space: nowrap; }
#conditions-to-approve { margin: 0 0 var(--nx-space-5); }
#conditions-to-approve ul { margin: 0; padding: 0; list-style: none; }
#conditions-to-approve li { font-size: var(--nx-fs-ui); margin: 0 0 var(--nx-space-2); }
#conditions-to-approve .condition-label { display: flex; align-items: center; gap: 8px; }
#conditions-to-approve .condition-label label { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: var(--nx-fs-ui); margin: 0; color: var(--nx-text); }
#conditions-to-approve .condition-label label a { text-decoration: underline; color: var(--nx-text-strong); }
#conditions-to-approve .custom-checkbox { margin: 0; }
#payment-confirmation { padding: 0; }
#payment-confirmation .btn, #payment-confirmation .btn-primary { width: 100%; max-width: 360px; }
#payment-confirmation .btn:disabled { opacity: 0.5; }
/* summary column */
#js-checkout-summary, .cart-summary.js-checkout-summary, #js-checkout-summary.cart-summary { background: var(--nx-surface-2); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: var(--nx-space-5); box-shadow: none; font-size: var(--nx-fs-ui); }
#js-checkout-summary .card-block { padding: 0; }
#js-checkout-summary .cart-summary-products p { font-size: var(--nx-fs-ui); }
#js-checkout-summary .cart-summary-products .h5, #js-checkout-summary .cart-summary-products h5 { font-size: var(--nx-fs-body); margin: 0; }
#js-checkout-summary .cart-summary-products .js-show-details { font-size: var(--nx-fs-md); margin-top: 4px; display: inline-block; }
#cart-summary-product-list, #js-checkout-summary .media-list { margin: var(--nx-space-3) 0 0; padding: 0; list-style: none; }
#cart-summary-product-list .media, #js-checkout-summary .media-list .media { display: flex; align-items: flex-start; gap: var(--nx-space-3); padding: var(--nx-space-3) 0; border-bottom: 1px solid var(--nx-border); margin: 0; }
#cart-summary-product-list .media:last-child { border-bottom: 0; }
#cart-summary-product-list .media .media-left, #cart-summary-product-list .media img { flex: 0 0 48px; width: 48px; height: auto; border: 1px solid var(--nx-border); border-radius: var(--nx-radius); }
#cart-summary-product-list .media .media-body { flex: 1 1 auto; font-size: var(--nx-fs-md); color: var(--nx-text); }
#cart-summary-product-list .media .product-name, #cart-summary-product-list .media .media-body span:first-child { color: var(--nx-text-strong); font-weight: 500; display: block; }
#cart-summary-product-list .media .product-price, #cart-summary-product-list .media .product-quantity { color: var(--nx-text-strong); }
#js-checkout-summary .cart-summary-subtotals-container { border-top: 1px solid var(--nx-border); }
#js-checkout-summary .block-promo { margin-top: var(--nx-space-3); }
#checkout .cart-summary .btn.btn-secondary, #checkout .cart-summary .cart-detailed-actions { display: none; }
#checkout .cart-summary .btn.btn-secondary.btn-block, #checkout .cart-summary a.btn-secondary[href*="cart"] { display: inline-flex; width: 100%; margin-top: var(--nx-space-4); }
#checkout .cart-summary .btn-secondary { font-size: var(--nx-fs-md); padding: 10px 14px; }
#checkout #footer, #checkout .checkout-footer { padding: var(--nx-space-5) 0; }
#checkout .modal .modal-dialog { max-width: 720px; }
#checkout .js-checkout-modal .modal-body, .js-checkout-modal .modal-body { font-size: var(--nx-fs-ui); line-height: 1.7; }
/* 17.3 order confirmation */
#order-confirmation .card, #order-confirmation #content-hook_order_confirmation, .page-order-confirmation .card { border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface); padding: var(--nx-space-6); margin: 0 0 var(--nx-space-4); box-shadow: none; }
#order-confirmation .card-block { padding: 0; }
#order-confirmation #content-hook_order_confirmation h3, #content-hook_order_confirmation .h1, #content-hook_order_confirmation .h3 { font-size: var(--nx-fs-h2); display: flex; align-items: center; gap: 8px; margin: 0 0 var(--nx-space-3); }
#content-hook_order_confirmation .done, #content-hook_order_confirmation .material-icons.done { color: var(--nx-success); font-size: 26px; }
#content-hook_order_confirmation p { font-size: var(--nx-fs-ui); margin: 0 0 var(--nx-space-2); }
#order-confirmation .h3, #order-confirmation h3 { font-size: var(--nx-fs-lg); text-transform: uppercase; letter-spacing: var(--nx-tracking); margin: 0 0 var(--nx-space-4); }
#order-items .order-confirmation-table, .order-confirmation-table { border: 0; padding: 0; margin: 0; }
#order-items .order-confirmation-table .order-line, .order-confirmation-table .order-line { display: flex; align-items: center; gap: var(--nx-space-4); padding: var(--nx-space-3) 0; border-bottom: 1px solid var(--nx-border-light); margin: 0; font-size: var(--nx-fs-ui); }
#order-items .order-confirmation-table .order-line > [class*="col-"], .order-confirmation-table .order-line > [class*="col-"] { padding: 0; }
#order-items .order-confirmation-table .image img, .order-confirmation-table .image img { width: 72px; height: auto; border: 1px solid var(--nx-border); border-radius: var(--nx-radius); }
#order-items .order-confirmation-table .details, .order-confirmation-table .details { flex: 1 1 auto; }
#order-items .order-confirmation-table .details .bold, .order-confirmation-table .details .bold { font-weight: 600; color: var(--nx-text-strong); }
#order-items .order-confirmation-table .qty, .order-confirmation-table .qty { flex: 0 0 auto; display: flex; gap: var(--nx-space-5); align-items: center; }
#order-items .order-confirmation-table .qty .row { display: contents; }
#order-items .order-confirmation-table .qty .bold, .order-confirmation-table .qty .bold { font-weight: 600; color: var(--nx-text-strong); }
#order-items hr { margin: var(--nx-space-3) 0; }
#order-items table, .order-confirmation-table table { width: 100%; margin: 0; }
#order-items table td, .order-confirmation-table table td { padding: 6px 0; font-size: var(--nx-fs-ui); border: 0; }
#order-items table tr.total-value td, #order-items table .total-value, .order-confirmation-table .total-value td { font-weight: 600; color: var(--nx-text-strong); font-size: var(--nx-fs-body); border-top: 1px solid var(--nx-border); padding-top: 10px; }
#order-items table .text-xs-right, #order-items table .text-right { text-align: right; }
#order-details { font-size: var(--nx-fs-ui); }
#order-details ul { margin: 0; padding: 0; list-style: none; }
#order-details ul li { padding: 4px 0; }
#order-details ul li strong { color: var(--nx-text-strong); }
#order-confirmation #registration-form, #order-confirmation .page-order-confirmation .featured-products { margin-top: var(--nx-space-8); }
#order-confirmation .featured-products { padding: var(--nx-space-8) 0 0; }
.page-order-confirmation .definition-list dl { display: grid; grid-template-columns: auto 1fr; gap: 4px var(--nx-space-4); }

/* 17.4 account pages (my-account, authentication, identity, addresses, history, order-detail, etc.) */
#my-account .page-content, .page-my-account .page-content { border: 0; box-shadow: none; }
.page-my-account #content .links, #my-account .links { display: flex; flex-wrap: wrap; gap: var(--nx-space-4); margin: 0; }
.page-my-account #content .links a, #my-account .links a, #my-account .links .link-item, .page-my-account #content .links .link-item {
  flex: 1 1 200px; max-width: 280px; margin: 0; padding: var(--nx-space-6) var(--nx-space-4); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface);
  font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); text-align: center; box-shadow: none;
  display: flex; flex-direction: column; align-items: center; gap: var(--nx-space-3); transition: border-color var(--nx-t), color var(--nx-t), transform var(--nx-t);
}
.page-my-account #content .links a .link-item, #my-account .links a .link-item { padding: 0; border: 0; background: transparent; box-shadow: none; max-width: none; display: contents; }
.page-my-account #content .links a:hover, #my-account .links a:hover { border-color: var(--nx-text-strong); color: var(--nx-accent); transform: translateY(-2px); }
.page-my-account #content .links a .link-item i, .page-my-account #content .links a i.material-icons, #my-account .links .link-item i { display: block; font-size: 32px; width: auto; height: auto; padding: 0; margin: 0; color: var(--nx-text-strong); }
.page-my-account #content .links a:hover i { color: var(--nx-accent); }
.page-customer-account #content, .page-customer-account .page-content { font-size: var(--nx-fs-ui); }
.page-customer-account #content .forgot-password { text-align: left; }
.page-customer-account #content .no-account, .page-authentication .no-account { text-align: center; margin: var(--nx-space-5) 0 0; font-size: var(--nx-fs-ui); }
.page-customer-account #content .no-account a { font-weight: 600; color: var(--nx-text-strong); text-decoration: underline; }
#authentication .page-content, #authentication #content, #password .page-content, #registration .page-content { max-width: 640px; margin: 0 auto var(--nx-space-8); }
#authentication .page-content .login-form, #authentication .login-form, #authentication .register-form { max-width: 100%; }
#authentication .page-content h1, #authentication .page-header h1, #password .page-header h1 { text-align: center; }
#authentication .page-content .form-footer, #password .form-footer { text-align: center; }
#authentication .page-content .form-footer .btn { min-width: 200px; }
#authentication .page-content .register-form > p, #authentication .register-form p { font-size: var(--nx-fs-ui); text-align: center; }
#authentication .register-form p a, .register-form .btn-link { font-weight: 600; color: var(--nx-text-strong); text-decoration: underline; }
#customer-form .form-footer { text-align: center; }
#customer-form .psgdpr_consent_message, .psgdpr_consent_message { font-size: var(--nx-fs-md); }
#customer-form .custom-checkbox label, #customer-form .custom-checkbox span + label { font-size: var(--nx-fs-md); }
#customer-form .form-group.row .col-md-6 .custom-checkbox { display: inline-flex; }
#customer-form .input-group .input-group-btn .btn { background: var(--nx-surface-2); color: var(--nx-text-strong); border: 1px solid var(--nx-border-strong); border-left: 0; }
.page-password .form-fields { max-width: 480px; margin: 0 auto; }
/* addresses */
#addresses .page-content .address, .page-addresses .address { border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface); box-shadow: none; margin: 0 0 var(--nx-space-4); font-size: var(--nx-fs-ui); }
.page-addresses .address .address-body { padding: var(--nx-space-4); }
.page-addresses .address .address-body h4, .page-addresses .address .address-body .h4 { font-size: var(--nx-fs-body); margin: 0 0 var(--nx-space-2); }
.page-addresses .address .address-body address { line-height: 1.7; margin: 0; }
.page-addresses .address .address-footer { display: flex; gap: var(--nx-space-4); padding: var(--nx-space-3) var(--nx-space-4); border-top: 1px solid var(--nx-border-light); }
.page-addresses .address .address-footer a { display: inline-flex; align-items: center; gap: 4px; font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-muted); }
.page-addresses .address .address-footer a:hover { color: var(--nx-accent); }
.page-addresses .address .address-footer a .material-icons { font-size: 16px; }
.page-addresses .addresses-footer { margin: var(--nx-space-4) 0 0; }
.page-addresses .addresses-footer a { display: inline-flex; align-items: center; gap: 4px; font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.page-addresses .addresses-footer a:hover { color: var(--nx-accent); }
.page-addresses .addresses-footer a .material-icons { font-size: 18px; }
#address .page-content, .page-address .page-content { max-width: 640px; }
/* orders / order detail / tables */
.table-labeled, .page-order-detail .table { font-size: var(--nx-fs-ui); }
.table-labeled .label, .table-labeled .label.label-pill, .page-order-detail .label, #history .label, .order-status-label, .mmgk-pill {
  display: inline-block; padding: 4px 10px; border-radius: var(--nx-radius-pill); font-size: var(--nx-fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: #fff; line-height: 1.3; white-space: nowrap;
}
.table-labeled .thead-default th, .table thead.thead-default th { background: var(--nx-surface-2); }
.table-labeled td, .table-labeled th { vertical-align: middle; }
.table-labeled .order-actions a, .order-actions a { display: inline-flex; align-items: center; margin: 0 var(--nx-space-2) 0 0; font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.table-labeled .order-actions a:hover, .order-actions a:hover { color: var(--nx-accent); }
.page-order-detail #order-infos, .page-order-detail #order-history, .page-order-detail .addresses, .page-order-detail #order-products, .page-order-detail .order-message-form, .page-order-detail #order-shipping, .page-order-detail .box {
  padding: var(--nx-space-5); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); margin: 0 0 var(--nx-space-4); background: var(--nx-surface); box-shadow: none; font-size: var(--nx-fs-ui);
}
.page-order-detail .box .h3, .page-order-detail h3, .page-order-detail .h3 { font-size: var(--nx-fs-lg); text-transform: uppercase; letter-spacing: var(--nx-tracking); margin: 0 0 var(--nx-space-4); }
.page-order-detail .addresses .box { border: 0; padding: 0; margin: 0; }
.page-order-detail #order-history .table, .page-order-detail .table { margin: 0; }
.page-order-detail #order-products .table tfoot td, .page-order-detail .table tfoot td { font-weight: 600; color: var(--nx-text-strong); }
.page-order-detail .order-message-form select, .page-order-detail .order-message-form textarea { max-width: 100%; }
.page-order-detail .box .list-unstyled, .page-order-detail .box ul { margin: 0; padding: 0; list-style: none; }
.page-order-detail .box .list-unstyled li { padding: 3px 0; }
.page-order-detail .box .list-unstyled li strong { color: var(--nx-text-strong); }
#history .table-labeled .order-actions, #history .order-actions { white-space: nowrap; }
/* GDPR, loyalty, referral, feedback blocks on my-account (module output lives in §18) */
.page-customer-account .psgdprinfo17, .page-customer-account #psgdpr { font-size: var(--nx-fs-ui); }
#module-psgdpr-gdpr .psgdprinfo17, .psgdprinfo17 { border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: var(--nx-space-5); margin: 0 0 var(--nx-space-4); background: var(--nx-surface-2); }
/* wishlist pages (blockwishlist) */
.page-wishlist .wishlist-list-item, .wishlist-list-item { border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: var(--nx-space-4); margin: 0 0 var(--nx-space-3); background: var(--nx-surface); box-shadow: none; }
.wishlist-list-item-title, .wishlist-list-item .wishlist-list-item-title { font-size: var(--nx-fs-body); font-weight: 600; color: var(--nx-text-strong); }
.wishlist-footer-links { margin-top: var(--nx-space-4); display: flex; flex-wrap: wrap; gap: var(--nx-space-3); }
.wishlist-footer-links a { font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.wishlist-footer-links a:hover { color: var(--nx-accent); }
.wishlist-product-bottom .btn, .wishlist-products-list .wishlist-product-bottom .btn { font-size: var(--nx-fs-md); padding: 10px 14px; }
.wishlist-product-title, .wishlist-products-list .wishlist-product-title { font-size: var(--nx-fs-ui); font-weight: 500; }
.wishlist-product-price, .wishlist-products-list .wishlist-product-price { font-size: 15px; font-weight: 600; color: var(--nx-text-strong); }
.wishlist-products-container .wishlist-products-container-header h1, .wishlist-products-container h1, .page-wishlist h1 { font-size: var(--nx-fs-h1); text-transform: uppercase; letter-spacing: var(--nx-tracking); }
/* contact page */
#contact .contact-form, .contact-form { padding: var(--nx-space-6); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface); box-shadow: none; }
#contact .contact-form h3, .contact-form .h3 { font-size: var(--nx-fs-lg); text-transform: uppercase; letter-spacing: var(--nx-tracking); margin: 0 0 var(--nx-space-5); }
#contact .contact-rich, .contact-rich { font-size: var(--nx-fs-ui); color: var(--nx-text); }
#contact .contact-rich h4, .contact-rich .h4 { font-size: var(--nx-fs-lg); text-transform: uppercase; letter-spacing: var(--nx-tracking); margin: 0 0 var(--nx-space-4); }
#contact .contact-rich .block { display: flex; gap: var(--nx-space-3); align-items: flex-start; margin: 0 0 var(--nx-space-4); }
#contact .contact-rich .block .icon { flex: 0 0 24px; }
#contact .contact-rich .block .icon .material-icons { font-size: 22px; color: var(--nx-text-strong); }
#contact .contact-rich .block .data { font-size: var(--nx-fs-ui); line-height: 1.7; word-break: normal; }
#contact .contact-rich .block .data.email a { color: var(--nx-text-strong); }
#contact .contact-form input[type="file"], .contact-form input[type="file"] { font-size: var(--nx-fs-ui); }
/* stores, sitemap, manufacturers, search, prices-drop, best-sales, new-products share the listing/page styles */
#stores .store-item, .store-item { border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: var(--nx-space-4); margin: 0 0 var(--nx-space-4); font-size: var(--nx-fs-ui); }
#stores .store-item-container .divide-left { border-left: 1px solid var(--nx-border); }
#stores .store-item .store-item-footer { display: flex; justify-content: space-between; gap: var(--nx-space-4); border-top: 1px solid var(--nx-border-light); padding-top: var(--nx-space-3); margin-top: var(--nx-space-3); }
#sitemap .sitemap, .sitemap { font-size: var(--nx-fs-ui); }
#sitemap .sitemap .h2, .sitemap h2 { font-size: var(--nx-fs-lg); text-transform: uppercase; letter-spacing: var(--nx-tracking); border-bottom: 1px solid var(--nx-border); padding-bottom: var(--nx-space-2); margin-bottom: var(--nx-space-3); }
#sitemap .sitemap ul { margin: 0; padding: 0; list-style: none; }
#sitemap .sitemap ul li { padding: 3px 0; }
#sitemap .sitemap ul ul { padding-left: var(--nx-space-4); }
#manufacturer .brand, .brand, #supplier .supplier { display: flex; align-items: center; gap: var(--nx-space-4); padding: var(--nx-space-4) 0; border-bottom: 1px solid var(--nx-border-light); }
#manufacturer .brand .brand-img img, .brand .brand-img img { max-width: 120px; height: auto; }
#manufacturer .brand .brand-infos, .brand .brand-infos { flex: 1 1 auto; font-size: var(--nx-fs-ui); }
#manufacturer .brand .brand-infos h3, .brand .brand-infos h3 { font-size: var(--nx-fs-body); margin: 0 0 4px; }
#manufacturer .brand .brand-products a, .brand .brand-products a { display: block; font-size: var(--nx-fs-ui); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
#manufacturer .brand .brand-products a:hover { color: var(--nx-accent); }
#search .page-not-found, #search #main .page-content > p { font-size: var(--nx-fs-ui); }


/* ==========================================================================
   18  MODULE OUTPUT — mm*, weightstock, groupinc, wishlist, productcomments, blockreassurance, helpchat
   ========================================================================== */
/* mmgatekeeper */
.mmgk-cart-hint, .mmgk-cart-hint.alert, .mmgk-cart-hint.alert-warning {
  display: flex; align-items: flex-start; gap: 10px; margin: var(--nx-space-4) 0 0; padding: 12px 16px;
  border: 1px solid var(--nx-warning); border-radius: var(--nx-radius); background: rgba(255, 154, 82, 0.12); color: var(--nx-text-strong); font-size: var(--nx-fs-ui); line-height: 1.5;
}
.mmgk-cart-hint a { color: var(--nx-text-strong); text-decoration: underline; font-weight: 500; }
.mmgk-cart-hint a:hover { color: var(--nx-accent); }
.mmgk-policy, .mmgk-policy--inline, .mmgk-policy--banner { font-family: var(--nx-font); font-size: var(--nx-fs-ui); color: var(--nx-text); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface-2); padding: var(--nx-space-4); }
.mmgk-policy--banner { border-radius: 0; border-left: 0; border-right: 0; margin: 0; }
#mmgk-banner { background: var(--nx-surface-2); color: var(--nx-text-strong); border-bottom: 1px solid var(--nx-border); font-size: var(--nx-fs-ui); font-family: var(--nx-font); }
.mmgk-policy__lead, .mmgk-status__lead { font-weight: 600; color: var(--nx-text-strong); }
.mmgk-policy__icon { color: var(--nx-warning); }
.mmgk-policy__link, .mmgk-policy a { color: var(--nx-text-strong); text-decoration: underline; }
.mmgk-policy__link:hover { color: var(--nx-accent); }
.mmgk-policy__body { font-size: var(--nx-fs-ui); }
#mmgk-register-notice, #mmgk-checkout-notice { font-family: var(--nx-font); font-size: var(--nx-fs-ui); border: 1px solid var(--nx-warning); border-radius: var(--nx-radius); background: rgba(255, 154, 82, 0.12); color: var(--nx-text-strong); padding: 12px 16px; margin: 0 0 var(--nx-space-4); }
.mmgk-account-block { border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: var(--nx-space-5); margin: 0 0 var(--nx-space-4); background: var(--nx-surface); font-size: var(--nx-fs-ui); }
.mmgk-account-block .h3, .mmgk-account-block h3, .mmgk-status-page h1, .mmgk-status-page .h1 { font-size: var(--nx-fs-lg); text-transform: uppercase; letter-spacing: var(--nx-tracking); }
.mmgk-pill--approved, .mmgk-status--approved { background: var(--nx-success); }
.mmgk-pill--pending, .mmgk-status--pending, .mmgk-policy__pending { background: var(--nx-warning); }
.mmgk-pill--rejected, .mmgk-status--rejected { background: var(--nx-danger); }
.mmgk-status { display: inline-block; padding: 4px 10px; border-radius: var(--nx-radius-pill); font-size: var(--nx-fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: #fff; }
.mmgk-status-page { font-size: var(--nx-fs-ui); max-width: 720px; }
.mmgk-status__actions { display: flex; flex-wrap: wrap; gap: var(--nx-space-3); margin-top: var(--nx-space-4); }
.mmgk-status__reason, .mmgk-status__help, .mmgk-note { font-size: var(--nx-fs-ui); color: var(--nx-text); }
.mmgk-answer { font-size: var(--nx-fs-ui); }
.mmgk-answer__label { font-weight: 600; color: var(--nx-text-strong); }
/* mmreferral */
#mmreferral-checkout, .mmreferral-checkout { margin: 0 0 var(--nx-space-5); padding: var(--nx-space-4); border: 1px dashed var(--nx-border-dark); border-radius: var(--nx-radius); background: var(--nx-surface-2); font-size: var(--nx-fs-ui); color: var(--nx-text); font-family: var(--nx-font); }
#mmreferral-checkout .mmreferral-label, .mmreferral-checkout .mmreferral-label, .mmreferral-checkout label { display: block; font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); margin: 0 0 6px; }
.mmreferral-checkout-form { margin: 0; }
.mmreferral-checkout-form .input-group { display: flex; max-width: 420px; }
#mmreferral-input, .mmreferral-checkout-form .form-control { height: 40px; border-radius: var(--nx-radius) 0 0 var(--nx-radius); flex: 1 1 auto; }
#mmreferral-apply-btn, .mmreferral-checkout-form .btn { height: 40px; padding: 0 16px; border-radius: 0 var(--nx-radius) var(--nx-radius) 0; margin: 0; }
.mmreferral-checkout-form .input-group-btn { display: flex; }
.mmreferral-checkout-incentive { font-size: var(--nx-fs-md); color: var(--nx-text-muted); margin: 6px 0 0; }
.mmreferral-checkout-feedback { font-size: var(--nx-fs-md); margin: 6px 0 0; }
.mmreferral-checkout-feedback.success, .mmreferral-checkout-feedback--ok { color: var(--nx-success); }
.mmreferral-checkout-feedback.error, .mmreferral-checkout-feedback--err { color: var(--nx-danger); }
.mmreferral-checkout-applied { display: flex; align-items: center; gap: 8px; color: var(--nx-success); font-weight: 500; }
.mmreferral-discount-info { font-size: var(--nx-fs-md); color: var(--nx-text); }
.mmreferral-cart-credit { margin: var(--nx-space-4) 0 0; padding: var(--nx-space-4); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface); font-size: var(--nx-fs-ui); color: var(--nx-text); font-family: var(--nx-font); }
.mmreferral-cart-credit__header { font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); margin: 0 0 var(--nx-space-2); }
.mmreferral-cart-credit__list { margin: 0; padding: 0; list-style: none; }
.mmreferral-cart-credit__item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 6px 0; border-bottom: 1px solid var(--nx-border-light); }
.mmreferral-cart-credit__item:last-child { border-bottom: 0; }
.mmreferral-cart-credit__amount { font-weight: 600; color: var(--nx-text-strong); }
.mmreferral-cart-credit__code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--nx-fs-md); background: var(--nx-surface-2); padding: 2px 6px; border-radius: var(--nx-radius-sm); }
.mmreferral-cart-credit__expiry, .mmreferral-cart-credit__footnote { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.mmreferral-cart-credit__status { display: inline-block; padding: 2px 8px; border-radius: var(--nx-radius-pill); font-size: var(--nx-fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: #fff; }
.mmreferral-cart-credit__status--applied { background: var(--nx-success); }
.mmreferral-cart-credit__status--blocked { background: var(--nx-text-muted); }
.mmreferral-account, .mmreferral-credit-card, .mmreferral-code-box, .mmreferral-how-it-works, .mmreferral-rewards-info, .mmreferral-history, .mmreferral-share, .mmreferral-redeem-form {
  border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface); padding: var(--nx-space-5); margin: 0 0 var(--nx-space-4); font-size: var(--nx-fs-ui); color: var(--nx-text); font-family: var(--nx-font);
}
.mmreferral-credit-header, .mmreferral-credit-label, .mmreferral-how-it-works h3, .mmreferral-rewards-info h3, .mmreferral-history h3, .mmreferral-code-box h3, .mmreferral-account h3, .mmreferral-account .h3 { font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); margin: 0 0 var(--nx-space-3); }
.mmreferral-credit-amount { font-size: var(--nx-fs-h1); font-weight: 600; color: var(--nx-text-strong); }
.mmreferral-credit-stats { display: flex; flex-wrap: wrap; gap: var(--nx-space-4); font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.mmreferral-code-display, .mmreferral-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--nx-fs-lg); font-weight: 600; color: var(--nx-text-strong); background: var(--nx-surface-2); border: 1px dashed var(--nx-border-dark); border-radius: var(--nx-radius); padding: 10px 16px; display: inline-block; letter-spacing: 0.1em; }
#mmreferral-link { font-size: var(--nx-fs-ui); word-break: break-all; }
.mmreferral-copy-feedback { font-size: var(--nx-fs-md); color: var(--nx-success); margin-left: 8px; }
.mmreferral-account-badge, .mmreferral-type-badge { display: inline-block; padding: 2px 8px; border-radius: var(--nx-radius-pill); font-size: var(--nx-fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: #fff; background: var(--nx-text-muted); }
.mmreferral-type-earn { background: var(--nx-success); }
.mmreferral-type-redeem { background: var(--nx-info); }
.mmreferral-type-expire { background: var(--nx-text-muted); }
.mmreferral-type-adjust { background: var(--nx-warning); }
.mmreferral-amount-positive { color: var(--nx-success); font-weight: 600; }
.mmreferral-amount-negative { color: var(--nx-danger); font-weight: 600; }
.mmreferral-history-table { width: 100%; font-size: var(--nx-fs-ui); }
.mmreferral-history-table th { font-size: var(--nx-fs-md); text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); border-bottom: 2px solid var(--nx-border); padding: 8px; text-align: left; }
.mmreferral-history-table td { padding: 8px; border-bottom: 1px solid var(--nx-border-light); }
.mmreferral-history-date { color: var(--nx-text-muted); white-space: nowrap; }
.mmreferral-reward-item { padding: 6px 0; border-bottom: 1px solid var(--nx-border-light); }
.mmreferral-redeem-hint, .mmreferral-no-code { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.mmreferral-redeem-form .form-control { max-width: 320px; }

/* mmbundlebuilder */
#mmbundle-builder, .mmbundle-builder { margin: 0; padding: var(--nx-space-5); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface-2); font-family: var(--nx-font); font-size: var(--nx-fs-ui); color: var(--nx-text); }
#mmbundle-builder .mmbundle-header, .mmbundle-header { display: flex; align-items: center; gap: 8px; font-size: var(--nx-fs-body); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); margin: 0 0 4px; }
#mmbundle-builder .mmbundle-header .material-icons { font-size: 20px; color: var(--nx-accent); }
.mmbundle-subtitle { font-size: var(--nx-fs-md); color: var(--nx-text-muted); margin: 0 0 var(--nx-space-4); }
.mmbundle-slots { display: flex; flex-direction: column; gap: var(--nx-space-3); margin: 0; }
.mmbundle-slot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; padding: 0; }
.mmbundle-slot-label { flex: 0 0 100%; font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.mmbundle-slot-label .mmbundle-required { color: var(--nx-accent); }
.mmbundle-weight { font-size: var(--nx-fs-md); color: var(--nx-text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.mmbundle-select, select.mmbundle-select {
  flex: 1 1 240px; height: 40px; padding: 0 36px 0 12px; font-family: var(--nx-font); font-size: var(--nx-fs-ui); color: var(--nx-text-strong); background: var(--nx-input-bg); border: 1px solid var(--nx-border-strong); border-radius: var(--nx-radius);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9c9c9' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center;
}
.mmbundle-select:focus { outline: 0; border-color: var(--nx-text-strong); box-shadow: var(--nx-ring); }
.mmbundle-slot-error, .mmbundle-error { font-size: var(--nx-fs-md); color: var(--nx-danger); margin: 4px 0 0; }
.mmbundle-error { margin-top: var(--nx-space-3); padding: 8px 12px; border: 1px solid var(--nx-danger); border-radius: var(--nx-radius); background: rgba(217, 83, 79, 0.08); }
.mmbundle-error:empty { display: none; }
.mmbundle-complete { color: var(--nx-success); font-weight: 500; }
.mmbundle-duplicate { color: var(--nx-warning); }
.mmbundle-cart-selections { margin: 6px 0 0; font-size: var(--nx-fs-md); color: var(--nx-text); }
.mmbundle-cart-title { font-weight: 600; color: var(--nx-text-strong); }
.mmbundle-cart-list { margin: 2px 0 0; padding-left: 16px; }
.mmbundle-cart-weight { color: var(--nx-text-muted); }
/* mmsalemanager per-gram display (product page) */
.mmsm-pergram-display { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-family: var(--nx-font); font-size: var(--nx-fs-ui); color: var(--nx-text); margin: 0; }
.mmsm-pergram-old { color: var(--nx-text-muted); text-decoration: line-through; }
.mmsm-pergram-new { font-weight: 600; color: var(--nx-sale); }

/* weightstock */
.stock-status, [id^="stock-display-"] .stock-status, #stock-display .stock-status {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--nx-radius-pill); font-family: var(--nx-font); font-size: var(--nx-fs-md); font-weight: 600; line-height: 1.3; letter-spacing: 0.02em;
  background: var(--nx-surface-2); color: var(--nx-text-strong); border: 1px solid var(--nx-border);
}
.stock-status i, .stock-status .material-icons { font-size: 16px; line-height: 1; }
.stock-status.in-stock { background: rgba(76, 187, 108, 0.12); border-color: rgba(76, 187, 108, 0.4); color: var(--nx-success); }
.stock-status.low-stock { background: rgba(255, 154, 82, 0.14); border-color: rgba(255, 154, 82, 0.5); color: var(--nx-warning); }
.stock-status.out-of-stock { background: rgba(217, 83, 79, 0.1); border-color: rgba(217, 83, 79, 0.4); color: var(--nx-danger); }
.weight-selector-container, .weight-input-group, .weight-product-notice { font-family: var(--nx-font); font-size: var(--nx-fs-ui); color: var(--nx-text); }
.weight-selector-container { margin: 0 0 var(--nx-space-4); padding: var(--nx-space-4); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface-2); }
.weight-selector-container label, .weight-input-wrapper label { font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); }
.weight-input, .weight-input-wrapper input, .weight-input-group input { height: 40px; border: 1px solid var(--nx-border-strong); border-radius: var(--nx-radius); padding: 0 10px; font-size: var(--nx-fs-body); font-weight: 500; text-align: center; color: var(--nx-text-strong); background: var(--nx-input-bg); width: 90px; }
.weight-input:focus { outline: 0; border-color: var(--nx-text-strong); box-shadow: var(--nx-ring); }
.weight-unit { font-size: var(--nx-fs-ui); color: var(--nx-text-muted); margin-left: 6px; }
.weight-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--nx-space-3) 0 0; }
.weight-presets button, .weight-presets .btn, .btn-weight-adjust {
  height: 32px; padding: 0 12px; border: 1px solid var(--nx-border-dark); border-radius: var(--nx-radius); background: var(--nx-input-bg); color: var(--nx-text-strong); font-family: var(--nx-font); font-size: var(--nx-fs-md); font-weight: 500; cursor: pointer; transition: background var(--nx-t-fast), color var(--nx-t-fast), border-color var(--nx-t-fast);
}
.weight-presets button:hover, .btn-weight-adjust:hover { border-color: var(--nx-text-strong); }
.weight-presets button.active, .weight-presets .btn.active { background: var(--nx-text-strong); border-color: var(--nx-text-strong); color: var(--nx-text-invert); }
.weight-controls { display: flex; align-items: center; gap: 6px; }
.weight-slider-container { margin: var(--nx-space-3) 0; }
.weight-slider { width: 100%; accent-color: var(--nx-primary); }
.weight-price-display { font-size: var(--nx-fs-lg); font-weight: 600; color: var(--nx-text-strong); margin: var(--nx-space-3) 0 0; }
.weight-stock-info, .weight-validation-message { font-size: var(--nx-fs-md); color: var(--nx-text-muted); margin: 6px 0 0; }
.weight-validation-message.error, .weight-validation-message.invalid { color: var(--nx-danger); }
.weight-product-notice { padding: 8px 12px; border-radius: var(--nx-radius); background: rgba(91, 192, 222, 0.1); border: 1px solid var(--nx-info); margin: 0 0 var(--nx-space-3); }
.stock-available { color: var(--nx-success); }

/* groupinc (quantity discount text + countdown) */
.groupincText { font-family: var(--nx-font); font-size: var(--nx-fs-ui); color: var(--nx-text); margin: var(--nx-space-2) 0 0; line-height: 1.6; }
.groupincText strong, .groupincText b { color: var(--nx-sale); font-weight: 600; }
.cd_element, .col-md-6.cd_element, .col-xs-12.cd_element {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; margin: var(--nx-space-2) 0 0; border-radius: var(--nx-radius); background: var(--nx-surface-2); border: 1px solid var(--nx-border);
  font-family: var(--nx-font); font-size: var(--nx-fs-md); font-weight: 600; color: var(--nx-text-strong); letter-spacing: 0.02em; float: none; width: auto; max-width: 100%; flex: none;
}
.cd_element[data-countdown]::before { content: "\e425"; font-family: "Material Icons"; font-weight: 400; font-size: 16px; line-height: 1; color: var(--nx-accent); }
.cd_element span, .cd_element .countdown-amount { font-variant-numeric: tabular-nums; }
.prodListDisplay.cd_element { display: inline-flex; margin: 4px 0 0; padding: 3px 8px; font-size: var(--nx-fs-xs); }
.prodListDisplay { padding: 0; float: none; width: auto; }
.product-miniature .cd_element { position: static; }
.product-miniature .groupincText { font-size: var(--nx-fs-md); margin: 4px 0 0; }
#product .product-prices .cd_element, .product-prices .cd_element { margin-top: var(--nx-space-2); }
#product .product-prices .row:has(.cd_element) { margin: 0; }
.cd_element.row, .product-prices > .row { margin-left: 0; margin-right: 0; }
/* mmloyalty / mmfeedback (my-account blocks — class names from their templates; styled generically) */
.mmloyalty-redeem-box, .mmloyalty-points, .mmloyalty-account, .mmloyalty-history, [class^="mmloyalty-"] .card, .mmfeedback-account, .mmfb-account, .mmfb-card, .mmfb-form, .mmfb-review, .mmfeedback-form, .mmfeedback-list, .mmfeedback-item {
  font-family: var(--nx-font); font-size: var(--nx-fs-ui); color: var(--nx-text);
}
.mmloyalty-redeem-box, .mmloyalty-account, .mmloyalty-history, .mmfb-card, .mmfeedback-form, .mmfeedback-item, .mmfb-review { border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface); padding: var(--nx-space-5); margin: 0 0 var(--nx-space-4); }
.mmloyalty-points-value, .mmloyalty-balance, .mmfb-rating-value { font-size: var(--nx-fs-h1); font-weight: 600; color: var(--nx-text-strong); }
.mmloyalty-redeem-box form { display: flex; flex-wrap: wrap; gap: var(--nx-space-3); align-items: flex-end; }
.mmloyalty-redeem-box .form-control { max-width: 200px; }
.mmfb-stars, .mmfeedback-stars, .mmfb-rating { color: var(--nx-star); }
.mmfb-stars .material-icons, .mmfeedback-stars .material-icons { font-size: 20px; }

/* blockwishlist (Vue) — buttons, modals, toast */
.wishlist-button-add {
  width: 40px; height: 40px; border-radius: 50%; background: var(--nx-surface-solid); color: var(--nx-text-strong); box-shadow: var(--nx-shadow-sm); border: 1px solid var(--nx-border);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: color var(--nx-t), border-color var(--nx-t);
}
.wishlist-button-add:hover { color: var(--nx-accent); border-color: var(--nx-accent); }
.wishlist-button-add .material-icons { font-size: 20px; color: inherit; }
.wishlist-button-add.is-active .material-icons, .wishlist-button-add .material-icons.active { color: var(--nx-accent); }
.wishlist-button-product { position: static; margin: 0; }
.wishlist-modal .modal-dialog { max-width: 480px; width: calc(100% - 40px); margin: 60px auto; }
.wishlist-modal .modal-content { border: 0; border-radius: var(--nx-radius); box-shadow: var(--nx-shadow-lg); background: var(--nx-surface-solid); color: var(--nx-text); }
.wishlist-modal .modal-header { border-bottom: 1px solid var(--nx-border); padding: var(--nx-space-4) var(--nx-space-5); }
.wishlist-modal .modal-header .modal-title, .wishlist-modal .modal-header .h5 { font-size: var(--nx-fs-lg); margin: 0; }
.wishlist-modal .modal-body { padding: var(--nx-space-5); font-size: var(--nx-fs-ui); }
.wishlist-modal .modal-footer { border-top: 1px solid var(--nx-border); padding: var(--nx-space-4) var(--nx-space-5); display: flex; gap: var(--nx-space-3); justify-content: flex-end; }
.wishlist-modal .modal-footer .btn { margin: 0; }
.wishlist-modal .wishlist-list { margin: 0; padding: 0; list-style: none; }
.wishlist-modal .wishlist-list-item { padding: 10px 12px; margin: 0 0 6px; border-radius: var(--nx-radius); cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.wishlist-modal .wishlist-list-item:hover, .wishlist-modal .wishlist-list-item.active { background: var(--nx-surface-2); }
.wishlist-modal .wishlist-list-item p { margin: 0; }
.wishlist-toast { position: fixed; top: 100px; right: 20px; z-index: var(--nx-z-modal); padding: 12px 18px; border-radius: var(--nx-radius); background: var(--nx-text-strong); color: var(--nx-text-invert); font-family: var(--nx-font); font-size: var(--nx-fs-ui); box-shadow: var(--nx-shadow-lg); display: none; align-items: center; gap: 8px; }
.wishlist-toast.isShown, .wishlist-toast.show { display: flex; }
.wishlist-toast.success { background: var(--nx-success); color: #fff; }
.wishlist-toast.error { background: var(--nx-danger); color: #fff; }
.wishlist-toast p { margin: 0; }
.wishlist-toast .wishlist-toast-text { font-size: var(--nx-fs-ui); }
.wishlist-create .modal-body .form-group { margin: 0; }
.wishlist-add-to, .wishlist-add-to-new { font-size: var(--nx-fs-ui); font-weight: 500; color: var(--nx-text-strong); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; margin-top: var(--nx-space-3); }
.wishlist-add-to-new:hover { color: var(--nx-accent); }

/* productcomments */
.product-list-reviews { display: inline-flex; align-items: center; gap: 6px; font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.product-list-reviews .grade-stars, .grade-stars { display: inline-block; height: 16px; min-width: 0; line-height: 1; }
.product-list-reviews .comments-nb, .comments-nb { font-size: var(--nx-fs-md); color: var(--nx-text-muted); line-height: 1; }
.grade-stars .star-content, .grade-stars .star, .grade-stars .star-on, .grade-stars .star-hover { width: 16px; height: 16px; background-size: 16px 16px; }
.product-comments-additional-info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--nx-space-3); font-size: var(--nx-fs-ui); margin: 0; }
.product-comments-additional-info .comments-nb { font-size: var(--nx-fs-ui); }
.product-comments-additional-info .additional-links, .product-comments-additional-info a { font-size: var(--nx-fs-ui); font-weight: 500; color: var(--nx-text-strong); text-decoration: underline; }
.product-comments-additional-info a:hover { color: var(--nx-accent); }
.product-comments-additional-info .btn-comment, .product-comments-additional-info .post-product-comment { display: inline-flex; align-items: center; gap: 6px; }
#product-comments-list-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--nx-space-3); margin: 0 0 var(--nx-space-5); }
#product-comments-list-header .post-product-comment, #product-comments-list-header .btn-comment { margin: 0; }
#product-comments-list-header .comments-note, .comments-note { display: inline-flex; align-items: center; gap: 8px; font-size: var(--nx-fs-ui); }
.product-comments-list-header .h4, #product-comments-list-header .h4 { margin: 0; }
#product-comments-list-pagination, .product-comments-list-pagination { margin: var(--nx-space-4) 0 0; }
#product-comments-list-pagination .pagination, .product-comments-list-pagination .pagination { padding: 0; }
#product-comments-list .product-comment-list-item, .product-comment-list-item { padding: var(--nx-space-4); margin: 0 0 var(--nx-space-3); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); background: var(--nx-surface); font-size: var(--nx-fs-ui); }
.product-comment-list-item .comment-infos { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.product-comment-list-item .comment-infos .comment-author, .comment-infos .comment-author { font-weight: 600; color: var(--nx-text-strong); display: block; }
.product-comment-list-item .comment-content .h4, .comment-content h4 { font-size: var(--nx-fs-body); margin: 0 0 var(--nx-space-2); }
.product-comment-list-item .comment-content p { font-size: var(--nx-fs-ui); line-height: 1.7; color: var(--nx-text); }
.product-comment-list-item .comment-buttons, .comment-buttons { display: flex; flex-wrap: wrap; gap: var(--nx-space-3); margin-top: var(--nx-space-3); font-size: var(--nx-fs-md); color: var(--nx-text-muted); }
.product-comment-list-item .comment-buttons .useful-review, .product-comment-list-item .comment-buttons .not-useful-review, .product-comment-list-item .comment-buttons .report-abuse, .comment-buttons button, .comment-buttons .btn-link {
  display: inline-flex; align-items: center; gap: 4px; font-size: var(--nx-fs-md); color: var(--nx-text-muted); background: none; border: 0; padding: 0; cursor: pointer;
}
.product-comment-list-item .comment-buttons button:hover { color: var(--nx-text-strong); }
.product-comment-list-item .comment-buttons .material-icons { font-size: 16px; }
#empty-product-comment, .product-comments-empty { font-size: var(--nx-fs-ui); color: var(--nx-text-muted); padding: var(--nx-space-5) 0; }
#post-product-comment-modal .modal-dialog, .post-product-comment-modal .modal-dialog { max-width: 720px; width: calc(100% - 40px); }
#post-product-comment-modal .modal-header { border-bottom: 1px solid var(--nx-border); padding: var(--nx-space-4) var(--nx-space-5); }
#post-product-comment-modal .modal-header .modal-title { font-size: var(--nx-fs-lg); }
#post-product-comment-modal .modal-body { padding: var(--nx-space-5); font-size: var(--nx-fs-ui); }
#post-product-comment-modal .modal-footer { border-top: 1px solid var(--nx-border); padding: var(--nx-space-4) var(--nx-space-5); justify-content: flex-end; }
#post-product-comment-modal .product-comment-form .product, .post-product-comment-modal .product { display: flex; gap: var(--nx-space-4); align-items: center; margin: 0 0 var(--nx-space-4); }
#post-product-comment-modal .product img, .post-product-comment-modal .product-image { max-width: 80px; border: 1px solid var(--nx-border); border-radius: var(--nx-radius); }
#post-product-comment-modal .product .product-name, .post-product-comment-modal .product-name { font-size: var(--nx-fs-body); font-weight: 600; color: var(--nx-text-strong); }
#post-product-comment-modal .criterion-rating, .criterion-rating { display: flex; align-items: center; gap: var(--nx-space-3); margin: 0 0 var(--nx-space-3); }
#post-product-comment-modal .criterion-rating label, .criterion-rating label { margin: 0; text-transform: none; letter-spacing: 0; font-size: var(--nx-fs-ui); flex: 0 0 120px; }
#post-product-comment-modal .post-comment-buttons, .post-comment-buttons { display: flex; gap: var(--nx-space-3); }
#post-product-comment-modal .post-comment-buttons .btn { margin: 0; }
#product-comment-posted-modal .modal-body, #product-comment-post-error .modal-body, #report-comment-posted, #product-comment-report-confirmation { font-size: var(--nx-fs-ui); }
#product-comment-posted-modal .modal-dialog, #product-comment-post-error .modal-dialog, #report-comment-posted .modal-dialog, #product-comment-report-confirmation .modal-dialog { max-width: 480px; }
.product-comments-section .h4, #product-comments-list-header .h4, .product-comments .h4 { font-size: var(--nx-fs-lg); text-transform: uppercase; letter-spacing: var(--nx-tracking); }
.product-comments-section, #product-comments-list, .product-comments-block { margin-top: var(--nx-space-6); }
/* blockreassurance — the module injects inline styles for colours; leave icons alone */
.blockreassurance .carousel-indicators, .blockreassurance .carousel-control { display: none; }

/* mmhelpchat — tokens come from --mm-* aliases; a few safety overrides for the font and z-index */
#mmhelpchat-root, #mmhc-trigger, #mmhc-panel { font-family: var(--nx-font); }
#mmhc-trigger { z-index: var(--nx-z-float); }
#mmhc-panel { z-index: calc(var(--nx-z-float) + 1); }
#mmhc-panel .mmhc-msg, #mmhc-messages { font-size: var(--nx-fs-ui); }
#mmhc-panel .mmhc-opt { font-family: var(--nx-font); }
/* hidecheckoutfields hides .form-fields .form-group:has(input[name=…]) — nothing to add */

/* ps_wirepayment / mmpaymentpool popups and fee preview (built by their JS; family only) */
#card-payment-popup-overlay, #order-status-notice-overlay { font-family: var(--nx-font); z-index: var(--nx-z-modal); }
#card-payment-popup-overlay > div, #order-status-notice-overlay > div { border-radius: var(--nx-radius); box-shadow: var(--nx-shadow-lg); font-size: var(--nx-fs-ui); }
#card-payment-popup-overlay button, #order-status-notice-overlay button { font-family: var(--nx-font); border-radius: var(--nx-radius); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); font-size: var(--nx-fs-md); cursor: pointer; }
.cart-summary-line.mmpp-fee-line, .cart-summary-line.payment-fee-line, .cart-summary-line.js-fee-line { color: var(--nx-text-muted); }

/* ps_emailalerts "notify me" on product page */
.js-mailalert { display: flex; flex-wrap: wrap; gap: var(--nx-space-2); align-items: center; }
.js-mailalert .form-control { height: 40px; max-width: 320px; }
.js-mailalert .btn { height: 40px; padding: 0 16px; }
.js-mailalert .mailalert_msg, #mailalert_msg { flex: 0 0 100%; font-size: var(--nx-fs-md); }

/* btcpay payment option */
.payment-option .btcpay-logo, .payment-options img[src*="btcpay"] { max-height: 28px; }

/* ps_imageslider (Classic Bootstrap carousel) — if rendered outside CE */
#carousel { margin: 0 0 var(--nx-space-6); box-shadow: none; }
#carousel .carousel-item img { width: 100%; height: auto; }
#carousel .caption { bottom: 10%; left: 8%; right: auto; max-width: 480px; background: transparent; color: #fff; }
#carousel .caption .caption-description, #carousel .caption .display-1 { color: inherit; }
#carousel .caption .display-1 { font-size: var(--nx-fs-hero); font-weight: 600; line-height: 1.1; text-transform: uppercase; letter-spacing: var(--nx-tracking); margin: 0 0 var(--nx-space-3); }
#carousel .caption p { font-size: var(--nx-fs-body); }
#carousel .carousel-control { width: 48px; opacity: 0; transition: opacity var(--nx-t); }
#carousel:hover .carousel-control { opacity: 1; }
#carousel .carousel-control .icon-prev, #carousel .carousel-control .icon-next { width: 40px; height: 40px; border-radius: 50%; background: var(--nx-overlay); color: var(--nx-text-strong); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--nx-shadow-md); }
#carousel .carousel-indicators li { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); border: 0; margin: 0 4px; }
#carousel .carousel-indicators .active { background: #fff; }
/* ps_banner / ps_customtext (if rendered outside CE) */
.banner, #custom-text { margin: 0 0 var(--nx-space-6); }
.banner img { width: 100%; height: auto; border-radius: var(--nx-radius); }
#custom-text { padding: var(--nx-space-8) var(--nx-space-6); background: var(--nx-surface-2); border-radius: var(--nx-radius); text-align: center; box-shadow: none; font-size: var(--nx-fs-body); line-height: 1.8; }
#custom-text h2 { font-size: var(--nx-fs-h1); text-transform: uppercase; letter-spacing: var(--nx-tracking); }
#custom-text p { color: var(--nx-text); }
/* ps_brandlist, ps_supplierlist, ps_viewedproduct, ps_crossselling in columns/footer */
.brand-list, .supplier-list, .brands-list { font-size: var(--nx-fs-ui); }
.nx-brand-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--nx-space-7); padding: var(--nx-space-7) 0; border-top: 1px solid var(--nx-border); border-bottom: 1px solid var(--nx-border); }
.nx-brand-strip img { max-height: 48px; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter var(--nx-t), opacity var(--nx-t); }
.nx-brand-strip a:hover img { filter: grayscale(0); opacity: 1; }


/* ==========================================================================
   19  COMPARE PAGE (nexus_compare)
   ========================================================================== */
.nx-compare { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 var(--nx-space-8); }
.nx-compare__table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: var(--nx-fs-ui); }
.nx-compare__table th, .nx-compare__table td { padding: var(--nx-space-3) var(--nx-space-4); border-bottom: 1px solid var(--nx-border); vertical-align: top; text-align: left; background: var(--nx-surface); }
.nx-compare__table thead th { vertical-align: bottom; border-bottom: 2px solid var(--nx-border); }
.nx-compare__label { position: sticky; left: 0; z-index: 1; width: 160px; min-width: 140px; font-size: var(--nx-fs-md); font-weight: 600; text-transform: uppercase; letter-spacing: var(--nx-tracking); color: var(--nx-text-strong); background: var(--nx-surface-2); }
.nx-compare__product { position: relative; text-align: center; min-width: 180px; }
.nx-compare__product img { width: 100%; max-width: 160px; height: auto; margin: 0 auto var(--nx-space-3); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); display: block; }
.nx-compare__name { display: block; font-size: var(--nx-fs-ui); font-weight: 500; color: var(--nx-text-strong); margin: 0 0 4px; }
.nx-compare__name:hover { color: var(--nx-accent); }
.nx-compare__price { display: block; font-size: 15px; font-weight: 600; color: var(--nx-text-strong); margin: 0 0 var(--nx-space-3); }
.nx-compare__product .nx-btn { width: 100%; }
.nx-compare__remove { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--nx-surface-solid); border: 1px solid var(--nx-border); color: var(--nx-text-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nx-compare__remove:hover { color: var(--nx-accent); border-color: var(--nx-accent); }
.nx-compare__remove .material-icons { font-size: 16px; }
.nx-compare__row:nth-child(even) td { background: var(--nx-surface-2); }
.nx-compare__row td .material-icons { font-size: 18px; vertical-align: middle; }
.nx-compare__yes { color: var(--nx-success); }
.nx-compare__no { color: var(--nx-text-muted); }
.nx-compare__empty { padding: var(--nx-space-9) 0; text-align: center; color: var(--nx-text-muted); font-size: var(--nx-fs-body); }
.nx-compare__empty .nx-btn { margin-top: var(--nx-space-4); }
.nx-compare__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--nx-space-3); margin: 0 0 var(--nx-space-5); }


/* ==========================================================================
   19b  TEMPORARY — legacy Creative Elements home page (dark design) (dark-only since 2026-10-14)
   The only rules in this file allowed to mention a CE/Elementor hook. The existing CE home was built
   dark (black sections, white copy via CE kit CSS that assumed a dark body); under the light theme its
   copy inherits the ink text colour and vanishes. Scoped to body#index + the page-index document only;
   nothing here touches .nx-* components. DELETE this section when the designer rebuilds the home as
   Movic demo 5 (docs/research/design-spec-home5.md).
   ========================================================================== */
body#index [data-elementor-type="page-index"] { color: var(--nx-text-on-dark, #f5f5f5); }
body#index [data-elementor-type="page-index"] :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p, li:not(.product-flag), span, a:not(.btn):not(.nx-btn)) { color: inherit; }
body#index [data-elementor-type="page-index"] a:not(.btn):not(.nx-btn):hover { color: var(--nx-accent); }
/* product cards embedded in the CE page (carousel/grid widgets render Classic miniatures): white cards, ink text */
body#index [data-elementor-type="page-index"] .product-miniature { background: var(--nx-surface); color: var(--nx-text); padding: 0 0 var(--nx-space-2); border-radius: var(--nx-radius); overflow: hidden; }
body#index [data-elementor-type="page-index"] .product-miniature .product-description { padding: 0 var(--nx-space-3); }
body#index [data-elementor-type="page-index"] .product-miniature :is(.product-title, .product-title a, .price, .nx-card__cat, .comments-nb) { color: var(--nx-text-strong); }
body#index [data-elementor-type="page-index"] .product-miniature .product-title a:hover { color: var(--nx-accent); }
body#index [data-elementor-type="page-index"] .product-miniature .regular-price { color: var(--nx-text-muted); }
body#index [data-elementor-type="page-index"] .product-miniature .discount-percentage { color: var(--nx-sale); }
body#index [data-elementor-type="page-index"] .product-miniature .thumbnail-top { margin-bottom: var(--nx-space-2); }


/* ==========================================================================
   20  RESPONSIVE — ≤991 (tablet), ≤767 (phone), ≤480 (small phone), hover:none, reduced motion, print
   ========================================================================== */

/* ---- ≥992: desktop-only helpers ---------------------------------------- */
@media (min-width: 992px) {
  .nx-hide-desktop { display: none !important; /* (!: utility) */ }
  .nx-topbar__mobile { display: none; }
}

/* ---- ≤991: tablet + phone ----------------------------------------------- */
@media (max-width: 991px) {
  :root { --nx-header-h: 60px; --nx-section-y: 40px; }
  .nx-hide-mobile { display: none !important; /* (!: utility) */ }

  /* header: Classic switches its rows at 768; we re-switch them at 991 inside the top bar */
  .nx-topbar .nx-topbar__row, #header .header-nav .hidden-sm-down { display: none; }
  .nx-topbar__mobile, #header .header-nav .hidden-md-up { display: flex; }
  /* 768–991: Classic's `.hidden-md-up { display: none !important }` (≥768) hid the whole mobile row, and theme.js has
     already moved logo/cart/account into it (min_width 992) → the tablet header was an empty 60px bar. Only an
     !important can beat a Classic !important utility; the class stays (rule 1). */
  #header .header-nav .nx-topbar__mobile.hidden-md-up { display: flex !important; /* (!: beats Classic's !important utility) */ }
  /* 768–991: the left/right column is the off-canvas filters drawer, so the content takes the full width
     (Classic's col-md-8 / col-md-9 left it at 2/3) */
  #content-wrapper.left-column, #content-wrapper.right-column { flex: 0 0 100%; max-width: 100%; width: 100%; }
  .nx-topbar, #header .header-nav { background: var(--nx-header-bg); border-bottom: 1px solid var(--nx-border); min-height: var(--nx-header-h-stuck); }
  .nx-topbar__mobile > [class*="col-"] { gap: var(--nx-space-2); }
  .nx-topbar__mobile .nx-icons { gap: 0; }
  .nx-topbar__mobile #_mobile_cart, .nx-topbar__mobile #_mobile_user_info { display: inline-flex; }
  #_mobile_cart .blockcart .header a, #_mobile_user_info .user-info a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; position: relative; color: var(--nx-text-strong); margin: 0; }
  #_mobile_user_info .user-info a span:not(.cart-products-count):not(.nx-badge) { display: none; }   /* icon only on phones */
  #_mobile_user_info .user-info .material-icons, #_mobile_cart .blockcart .material-icons { font-size: 24px; }
  #_mobile_cart .blockcart .cart-products-count { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--nx-radius-pill); background: var(--nx-accent); color: var(--nx-on-accent); font-size: var(--nx-fs-xs); font-weight: 600; line-height: 18px; text-align: center; }
  #_mobile_cart .blockcart.inactive .cart-products-count, #_mobile_cart .blockcart .cart-products-count:empty { display: none; }

  /* secondary mobile row (currency / language / contact after theme.js moves them) — hidden while empty */
  .nx-topbar__mobile-tools { display: flex; align-items: center; justify-content: flex-end; gap: var(--nx-space-4); min-height: 32px; padding: 0; font-size: var(--nx-fs-md); border-top: 1px solid var(--nx-border-light); }
  .nx-topbar__mobile-tools:not(:has(a, button, select, .dropdown)) { display: none; }
  .nx-topbar__mobile-tools > div { margin: 0; }
  .nx-topbar__mobile-tools .language-selector-wrapper > span, .nx-topbar__mobile-tools .currency-selector > span { display: none; }
  .nx-topbar__mobile-tools .dropdown-menu { left: auto; right: 0; }
  .nx-topbar--empty { display: block; }        /* the mobile row still lives here */

  /* main row: the logo and icons have been swapped into the mobile row; what is left is the collapsible search */
  .nx-header__main { height: auto; min-height: 0; }
  .nx-header__inner { flex-wrap: wrap; gap: 0; height: auto; }
  .nx-header__logo:empty, #_desktop_logo:empty { display: none; }
  .nx-header__links { display: none; }        /* its content moved to .nx-topbar__mobile-tools / #_mobile_contact_link */
  /* the mobile bar is THE icon row: main-row icons are hidden here (theme moves what it wants into the bar's .nx-icons) */
  .nx-header__main .nx-icons { display: none; }
  /* search: a full-width 44px row under the bar; collapsible only when the theme puts a .nx-search-toggle in the bar */
  .nx-header__search { flex: 0 0 100%; max-width: none; margin: 0; max-height: none; overflow: visible; padding: var(--nx-space-2) 0; transition: max-height var(--nx-t) var(--nx-ease), padding var(--nx-t) var(--nx-ease); }
  #header:has(.nx-topbar__mobile .nx-search-toggle) .nx-header__search { max-height: 0; overflow: hidden; padding: 0; }
  #header:has(.nx-topbar__mobile .nx-search-toggle) .nx-header__search--open { max-height: 80px; padding: var(--nx-space-2) 0 var(--nx-space-3); }
  .nx-search-toggle { display: inline-flex; }
  .nx-icons:empty { display: none; }
  /* theme engineer 2026-10-05 (for the design engineer): labels off ≤991 in every icon row, incl. the moved ones */
  .nx-icons .nx-icon__label { display: none; }   /* no .nx-icon ancestor once theme.js moved .user-info / .blockcart */
  #_mobile_logo img.logo, #header .header-nav .top-logo a img.logo { height: 32px; max-height: 32px; width: auto; }
  /* the filters drawer is the whole #left-column (facets + category tree); custom.js adds .nx-offcanvas below 992 */
  #left-column:not(.nx-offcanvas) { display: none; }
  #left-column.nx-offcanvas { padding: var(--nx-space-5); overflow-y: auto; }
  #left-column.nx-offcanvas #search_filters_wrapper { display: block; }
  #left-column.nx-offcanvas .nx-offcanvas__head { margin: calc(var(--nx-space-5) * -1) calc(var(--nx-space-5) * -1) var(--nx-space-4); }
  .nx-header__main .nx-icons .nx-icon--cart:empty, .nx-header__main .nx-icons .nx-icon--account:empty { display: none; }
  .nx-topbar__mobile .nx-icons .nx-icon, .nx-topbar__mobile .nx-icons .nx-icon__link, .nx-topbar__mobile #_mobile_cart .blockcart .header a, .nx-topbar__mobile #_mobile_user_info .user-info a { width: 40px; height: 40px; padding: 0; font-size: 0; }
  .nx-topbar__mobile .nx-icons .material-icons, .nx-topbar__mobile #_mobile_cart .material-icons, .nx-topbar__mobile #_mobile_user_info .material-icons { display: inline-block; font-size: 24px; }
  .nx-topbar__mobile .nx-icon__label, .nx-topbar__mobile .nx-icons .nx-visually-hidden, .nx-topbar__mobile .logout { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); margin: -1px; }
  .nx-topbar__mobile .nx-badge--count, .nx-topbar__mobile .cart-products-count { position: absolute; top: 0; right: -2px; display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--nx-radius-pill); background: var(--nx-accent); color: var(--nx-on-accent); font-size: var(--nx-fs-xs); font-weight: 600; line-height: 18px; text-align: center; }
  .nx-topbar__mobile .nx-badge--count[data-nx-count="0"], .nx-topbar__mobile .nx-badge--count.is-empty, .nx-topbar__mobile .cart-products-count:empty { display: none; }
  /* sticky ≤991: the mobile bar (inside .header-nav) is what sticks; main row + menu row stay in flow */
  #header.nx-header--stuck { padding-bottom: 0; padding-top: var(--nx-header-h-stuck); }
  #header.nx-header--stuck .nx-header__main, #header.nx-header--stuck .nx-header__menu { position: static; height: auto; box-shadow: none; border-bottom: 0; }
  #header.nx-header--stuck .header-nav, #header.nx-header--stuck .nx-topbar { position: fixed; top: 0; left: 0; right: 0; z-index: var(--nx-z-header); box-shadow: var(--nx-shadow-md); }
  #header.nx-header--stuck .nx-topbar__mobile-tools { display: none; }

  /* menu row: ≤991 nxstorefront turns the bar into a drawer opened by #menu-icon (nxmenu.css) */
  .nx-header__menu > .container { padding: 0; }
  /* icons stay icon-only in the mobile bar (labels remain visually hidden, count is a bubble) */
  .nx-icons .nx-icon { width: 40px; height: 40px; gap: 0; }
  .nx-icons .nx-icon .material-icons { display: inline-block; }
  #_desktop_top_menu { display: none; }
  /* #menu-icon.nx-burger: hidden unless a menu is rendered — nxmenu.css shows it (#header:has(.nx-menu) …) to open its drawer */
  #menu-icon.nx-burger { display: none; }
  .top-menu a[data-depth="0"] { padding: 12px var(--nx-space-5); }

  /* listing */
  .nx-grid > .js-product, .nx-grid > [class*="col-"], .nx-grid__item { flex-basis: 33.3333%; max-width: 33.3333%; width: 33.3333%; }
  #left-column, #right-column { padding-left: var(--nx-gutter); padding-right: var(--nx-gutter); }
  #left-column { order: 2; margin-top: var(--nx-space-6); }
  .nx-filter-toggle { display: inline-flex; }
  #search_filters_wrapper { display: none; }
  #search_filters_wrapper.nx-offcanvas { display: block; padding: var(--nx-space-5); }
  #search_filters_wrapper.nx-offcanvas .nx-offcanvas__head { margin: calc(var(--nx-space-5) * -1) calc(var(--nx-space-5) * -1) var(--nx-space-4); }
  #search_filters_wrapper.active, #search_filters_wrapper.nx-offcanvas.is-open { display: block; }
  #search_filters_wrapper.active:not(.nx-offcanvas) { position: fixed; inset: 0; z-index: var(--nx-z-drawer); background: var(--nx-surface-solid); overflow-y: auto; padding: var(--nx-space-5); }
  #search_filter_controls { display: flex; gap: var(--nx-space-3); justify-content: flex-end; padding: var(--nx-space-3) 0 0; border-top: 1px solid var(--nx-border); margin-top: var(--nx-space-4); position: sticky; bottom: 0; background: var(--nx-surface); }
  #search_filter_controls .btn, #search_filter_controls button { height: 40px; padding: 0 16px; }
  #search_filter_controls .js-search-filters-clear { margin: 0; }
  .products-selection .filter-button { display: block; }
  .block-categories { margin-top: var(--nx-space-5); }

  /* product page */
  .nx-product__gallery, .nx-product__info { margin-bottom: var(--nx-space-5); }
  .product-quantity .add .add-to-cart { min-width: 0; }

  /* footer */
  .footer-container, #footer .footer-container { padding: var(--nx-space-8) 0 var(--nx-space-6); }
  .nx-footer__col, #footer .links, #footer .block-contact, #footer .account-list { flex: 0 0 50%; max-width: 50%; }
  .nx-footer__top { padding: var(--nx-space-6) 0; }
  .blockreassurance .row > [class*="col-"] { flex-basis: 50%; }

  /* overlays */
  .quickview .modal-dialog, .nx-qv .modal-dialog { margin: 20px auto; }
  .quickview .modal-body { padding: var(--nx-space-4) var(--nx-space-5) var(--nx-space-5); }
  .nx-stickybuy { display: flex; }
  body.nx-has-helpchat .nx-totop { bottom: 80px; }
}

/* ---- ≤767: phone -------------------------------------------------------- */
@media (max-width: 767px) {
  :root { --nx-section-y: 32px; --nx-grid-gutter: 6px; }
  html { font-size: 15px; }
  h1, .h1 { font-size: 22px; }
  h2, .h2 { font-size: 18px; }
  .container { padding-left: var(--nx-gutter); padding-right: var(--nx-gutter); }
  #content-wrapper { padding-bottom: var(--nx-space-6); }
  .nx-section__head { margin-bottom: var(--nx-space-5); }
  .nx-section__title, .nx-section__head h2, .featured-products > .h2, .featured-products > h2, .products-section-title, .product-accessories > .h2 { font-size: var(--nx-fs-lg); }
  .nx-section__head--tabs { flex-direction: column; align-items: flex-start; }
  .nx-section__tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .nx-section__tab { white-space: nowrap; }

  /* header */
  #header .header-nav .top-logo a img, #_mobile_logo img { height: 32px; }
  .nx-offcanvas { max-width: 85vw; }

  /* grid: 2 columns (min 170px) */
  .nx-grid > .js-product, .nx-grid > [class*="col-"], .nx-grid__item,
  .products.row > .js-product, .products.row > .col-xs-12, .products.row > .col-sm-6 {
    flex: 0 0 50%; max-width: 50%; width: 50%; min-width: 0;
  }
  .product-miniature, .nx-card { margin-bottom: var(--nx-space-5); }
  .product-miniature .product-title { font-size: var(--nx-fs-md); }
  .product-miniature .product-price-and-shipping .price { font-size: var(--nx-fs-body); }
  .nx-list-view .product-miniature { gap: var(--nx-space-3); }
  .nx-list-view .product-miniature .thumbnail-container { flex-basis: 40%; min-width: 120px; }
  .nx-list-view .product-miniature .product-title { font-size: var(--nx-fs-body); }
  .nx-list-view .nx-card__desc { display: none; }
  .product-miniature .thumbnail-top { margin-bottom: 0; }
  /* card actions always visible under the image on phones (no hover) */
  .nx-card__actions {
    position: static; opacity: 1; transform: none; background: transparent; height: 40px; border-top: 1px solid var(--nx-border-light); margin: 0 0 var(--nx-space-2); justify-content: space-around;
  }
  .nx-card__actions .nx-card__action, .nx-card__actions .wishlist-button-add { width: 40px; height: 40px; }
  .nx-card__action > span { display: none; }
  .product-miniature .highlighted-informations .variant-links { display: none; }

  /* toolbar */
  #js-product-list-top, .products-selection, .nx-toolbar { gap: var(--nx-space-2) var(--nx-space-3); padding: var(--nx-space-2) 0; }
  .products-selection .total-products { flex: 1 1 100%; }
  .products-selection .total-products p { font-size: var(--nx-fs-md); }
  .nx-toolbar__right { margin-left: 0; width: 100%; justify-content: space-between; }
  .products-selection .sort-by, .nx-toolbar__sort + .sort-by { display: none; }
  .products-selection .products-sort-order, .nx-toolbar__sort { flex: 1 1 auto; min-width: 0; }
  .pagination > .row { justify-content: center; }
  .pagination .page-list { justify-content: center; }
  .pagination > .row > .col-md-4, .pagination .hidden-sm-down { display: none; }
  #category #main .block-category .block-category-title, #category #main .block-category h1 { font-size: 20px; }

  /* product page: full-width gallery, thumbs beneath, stacked info */
  #product .product-container > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .nx-gallery, #product .images-container { display: block; }
  .nx-gallery .js-qv-mask, #product .images-container .js-qv-mask { max-height: none; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .nx-gallery .product-images, #product .images-container .product-images { flex-direction: row; flex-wrap: nowrap; }
  .nx-gallery .thumb, #product .images-container .thumb, .product-images .thumb { width: 64px; flex: 0 0 64px; }
  .scroll-box-arrows, .nx-gallery .scroll-box-arrows, #product .images-container .scroll-box-arrows { display: none; }
  #product h1.product-title, .nx-product__title { font-size: 20px; }
  .product-prices .current-price .price, .product-prices .current-price > span:first-child { font-size: 20px; }
  .product-quantity { gap: var(--nx-space-2); }
  .product-quantity .add { flex: 1 1 100%; order: 10; }
  .product-quantity .add .add-to-cart { width: 100%; }
  .product-quantity .qty { order: 1; }
  .product-quantity .wishlist-button-add, .product-quantity .nx-compare-add { order: 2; }
  .product-variants-item .input-radio + span, .product-variants-item .radio-label { min-width: 44px; height: 40px; }
  .product-variants-item .input-color + span { width: 36px; height: 36px; }
  .tabs .nav-tabs { gap: var(--nx-space-4); overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tabs .nav-tabs .nav-link { white-space: nowrap; }
  .product-features > dl.data-sheet, .product-details .data-sheet { grid-template-columns: 1fr; }
  .product-features > dl.data-sheet dt.name { border-bottom: 0; padding-bottom: 2px; }
  .nx-stickybuy { padding: 8px var(--nx-gutter); }
  .nx-stickybuy__price { font-size: var(--nx-fs-body); }
  .nx-stickybuy.is-visible ~ #footer, body:has(.nx-stickybuy.is-visible) #footer { padding-bottom: 64px; }

  /* overlays */
  .quickview .modal-dialog, .nx-qv .modal-dialog, .nx-modal .modal-dialog, #blockcart-modal .modal-dialog, #product-modal .modal-dialog, .wishlist-modal .modal-dialog { width: calc(100% - 20px); margin: 10px auto; }
  .quickview .modal-content { min-height: 0; }
  .quickview .modal-body { padding: var(--nx-space-3) var(--nx-space-4) var(--nx-space-5); }
  .quickview .modal-body > .row > [class*="col-"] { padding: 0; flex: 0 0 100%; max-width: 100%; }
  .quickview .modal-body > .row > .col-md-6:first-child { margin-bottom: var(--nx-space-4); }
  .quickview .modal-footer { padding: var(--nx-space-3) var(--nx-space-4); }
  .quickview h1, .quickview .h1 { font-size: 18px; }
  #blockcart-modal .modal-body .divide-right { border-right: 0; border-bottom: 1px solid var(--nx-border); padding-bottom: var(--nx-space-4); margin-bottom: var(--nx-space-4); }
  #blockcart-modal .cart-content { padding-left: 0; }
  .nx-modal .modal-content, .nx-modal__content { padding: var(--nx-space-6) var(--nx-space-5); }
  .nx-modal__tabs { gap: var(--nx-space-4); }
  .nx-modal--newsletter .modal-content { flex-direction: column; padding: 0; }
  .nx-newsletter__media { flex: 0 0 160px; min-height: 160px; height: 160px; }
  .nx-newsletter__body { padding: var(--nx-space-6) var(--nx-space-5); }
  .nx-newsletter__title { font-size: 20px; }
  /* slide-in cart takes the width of the phone minus a 40px reveal */
  .nx-drawer { width: calc(100vw - 40px); max-width: calc(100vw - 40px); }
  .nx-drawer__body, .nx-drawer__foot { padding-left: var(--nx-space-4); padding-right: var(--nx-space-4); }
  .nx-drawer__head { padding-left: var(--nx-space-4); }
  .nx-totop { right: 10px; bottom: 10px; }
  body.nx-has-helpchat .nx-totop { bottom: 80px; right: 10px; }

  /* cart page */
  .product-line-grid { gap: var(--nx-space-3); }
  .product-line-grid .product-line-grid-left { flex: 0 0 72px; max-width: 72px; }
  .product-line-grid-left img, .product-line-grid .product-image { width: 72px; }
  .product-line-grid .product-line-grid-body { flex: 1 1 120px; }
  .product-line-grid .product-line-grid-right { flex: 1 1 100%; }
  .product-line-grid-right .row { justify-content: space-between; }
  .product-line-grid-right .price { text-align: left; min-width: 0; }
  .cart-item { padding: var(--nx-space-4); }
  .cart-grid-right { margin-top: var(--nx-space-5); }
  .cart-grid-right .cart-summary { padding: var(--nx-space-4); }

  /* checkout */
  #checkout section.checkout-step, .checkout-step { padding: var(--nx-space-4); }
  .checkout-step .content { padding-left: 0; }
  .checkout-step .step-title { font-size: var(--nx-fs-body); }
  .checkout-step .address-item { flex-basis: 100%; max-width: none; }
  .delivery-option label .row { flex-wrap: wrap; }
  .delivery-option .carrier-price { margin-left: 0; flex: 0 0 100%; }
  .payment-options .payment-option label { flex-wrap: wrap; }
  #js-checkout-summary, .cart-summary.js-checkout-summary { padding: var(--nx-space-4); margin-top: var(--nx-space-5); }
  #payment-confirmation .btn { max-width: none; }

  /* order confirmation */
  #order-items .order-confirmation-table .order-line { flex-wrap: wrap; }
  #order-items .order-confirmation-table .qty { flex: 0 0 100%; justify-content: space-between; }

  /* account */
  .page-my-account #content .links a, #my-account .links a { flex-basis: calc(50% - var(--nx-space-2)); max-width: none; padding: var(--nx-space-4) var(--nx-space-2); font-size: var(--nx-fs-xs); }
  .table-labeled { font-size: var(--nx-fs-md); }
  .table-labeled td, .table-labeled th { padding: 8px 6px; }
  .page-order-detail #order-infos, .page-order-detail .box { padding: var(--nx-space-4); }
  #contact .contact-form { padding: var(--nx-space-4); margin-top: var(--nx-space-5); }

  /* footer: single column with Classic's accordion */
  .nx-footer__col, #footer .links, #footer .block-contact, #footer .account-list { flex: 0 0 100%; max-width: 100%; margin-bottom: 0; }
  #footer .links .h3.hidden-sm-down, #footer .account-list .h3.hidden-sm-down, #footer .block-contact .h3.hidden-sm-down, #footer .links .hidden-sm-down, #footer .account-list .hidden-sm-down { display: none; }
  #footer .links .title[data-toggle="collapse"], #footer .account-list .title[data-toggle="collapse"], #footer .block-contact .title[data-toggle="collapse"] {
    display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0; border-bottom: 1px solid var(--nx-border-light); cursor: pointer;
  }
  #footer .links .title .h3, #footer .account-list .title .h3, #footer .block-contact .title .h4 { margin: 0; }
  #footer .links .collapse:not(.in):not(.show), #footer .account-list .collapse:not(.in):not(.show), #footer .block-contact .collapse:not(.in):not(.show) { display: none; }
  #footer .links .collapse.in, #footer .links .collapse.show, #footer .account-list .collapse.in, #footer .account-list .collapse.show { display: block; padding: var(--nx-space-2) 0 var(--nx-space-4); }
  #footer .links ul > li, #footer .account-list ul > li { padding: 8px 0; }
  #footer .links ul > li a:hover, #footer .account-list ul > li a:hover { transform: none; }
  #footer .block-contact { padding: var(--nx-space-4) 0; }
  .footer-container, #footer .footer-container { padding: var(--nx-space-5) 0 var(--nx-space-4); }
  .nx-footer__top { padding: var(--nx-space-5) 0; }
  .block_newsletter > .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .block_newsletter form .input-wrapper { flex-direction: column; gap: var(--nx-space-2); }
  .block_newsletter form input[type="email"], .block_newsletter form .form-control { border-right: 1px solid var(--nx-border-strong); border-radius: var(--nx-radius-pill); }
  .block_newsletter form input[type="submit"], .block_newsletter form button[type="submit"], .block_newsletter form .btn { border-radius: var(--nx-radius-pill); width: 100%; }
  .nx-footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: var(--nx-space-3); }
  .blockreassurance .row > [class*="col-"] { flex-basis: 100%; flex-direction: row; text-align: left; gap: 12px; padding: 10px 0; }
  .blockreassurance .block-icon { flex: 0 0 36px; }
  .nx-brand-strip { gap: var(--nx-space-5); }
  .nx-brand-strip img { max-height: 32px; }
  .breadcrumb { padding: var(--nx-space-3) 0; }
  .breadcrumb ol { white-space: nowrap; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  #main .page-footer ul { gap: var(--nx-space-3); }
  .nx-compare__table { min-width: 560px; }
  .nx-compare__label { width: 120px; min-width: 110px; }
}

/* ---- ≤480: small phone ---------------------------------------------------- */
@media (max-width: 480px) {
  :root { --nx-gutter: 12px; }
  /* gate L2: Classic's grid is −15px rows / 15px columns; with a 12px .container gutter the rows stuck out 3px
     (horizontal scroll). Same 12px everywhere: (0,1,0) beats Classic's .row / .col-* (loaded earlier); every more
     specific theme override (margin:0 rows, padding:0 cols, .products.row grid gutter) still wins. */
  .row { margin-left: calc(var(--nx-gutter) * -1); margin-right: calc(var(--nx-gutter) * -1); }
  .row > :where([class*="col-"]) { padding-left: var(--nx-gutter); padding-right: var(--nx-gutter); }
  .nx-grid > .js-product, .nx-grid > [class*="col-"], .nx-grid__item, .products.row > .js-product { flex-basis: 50%; max-width: 50%; width: 50%; }
  .product-miniature .product-price-and-shipping { gap: 6px; }
  .product-miniature .product-price-and-shipping .regular-price { font-size: var(--nx-fs-md); }
  .nx-card__actions { justify-content: space-evenly; }
  .nx-icon, .nx-icons .nx-icon, #_mobile_cart .blockcart .header a, #_mobile_user_info .user-info a { width: 36px; height: 36px; }
  .nx-icon .material-icons { font-size: 22px; }
  #header .header-nav .top-logo a img, #_mobile_logo img { height: 28px; }
  .nx-offcanvas { max-width: 88vw; }
  .nx-drawer { width: 100vw; max-width: 100vw; }
  .page-my-account #content .links a, #my-account .links a { flex-basis: 100%; }
  .nx-modal__tabs { gap: var(--nx-space-3); }
  .nx-modal__tab { font-size: var(--nx-fs-md); }
  .nx-section__title::after { width: 32px; margin-left: -16px; }
  .tabs .nav-tabs .nav-link { font-size: var(--nx-fs-md); }
  .pagination a, .pagination .page-list a { min-width: 32px; height: 32px; padding: 0 8px; }
  .checkout-step .step-title .step-number { width: 24px; height: 24px; flex-basis: 24px; }
  #blockcart-modal .cart-content-btn .btn { flex-basis: 100%; }
}

/* ---- touch devices: hover-only actions become always visible ------------- */
@media (hover: none) {
  .nx-card__actions { position: static; opacity: 1; transform: none; background: transparent; height: 40px; border-top: 1px solid var(--nx-border-light); margin: 0 0 var(--nx-space-2); justify-content: space-around; }
  .nx-card__actions .nx-card__action, .nx-card__actions .wishlist-button-add { width: 40px; height: 40px; }
  .nx-card__action > span { display: none; }
  .product-miniature .thumbnail-container { margin-bottom: 0; }
  .nx-card__img--hover { display: none; }
  .product-miniature .highlighted-informations .variant-links { display: none; }
  .product-miniature .thumbnail-top { margin-bottom: 0; }
  .nx-icon--cart:hover .cart-preview .body { display: none; }
  #footer .links ul > li a:hover, #footer .account-list ul > li a:hover { transform: none; }
}
body.nx-touch .nx-card__actions { position: static; opacity: 1; transform: none; background: transparent; height: 40px; border-top: 1px solid var(--nx-border-light); margin: 0 0 var(--nx-space-2); justify-content: space-around; }
body.nx-touch .nx-card__action > span { display: none; }
body.nx-touch .product-miniature .thumbnail-top { margin-bottom: 0; }

/* ---- reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; /* (!: accessibility override) */ }
  .nx-card__actions, .nx-card__img--hover, .nx-drawer, .nx-offcanvas, .nx-totop { transition: none; }
}

/* ---- print ---------------------------------------------------------------- */
@media print {
  #header, #footer, .nx-totop, .nx-drawer, .nx-drawer__backdrop, .nx-offcanvas, .nx-offcanvas__backdrop, #mmhelpchat-root, .nx-card__actions, .nx-stickybuy, .breadcrumb, #search_filters_wrapper, .nx-toolbar, .pagination { display: none !important; /* (!: print) */ }
  body { background: #fff; color: #000; font-size: 12px; }
  #wrapper, #content-wrapper { padding: 0; }
  a { color: inherit; text-decoration: none; }
  .product-miniature, .nx-card { break-inside: avoid; }
}


/* ==========================================================================
   21  features (phase 2) — rules the design did not have yet (features engineer, 2026-10-05).
       Kept minimal on purpose; the design engineer polishes. Everything else these features use
       (.nx-drawer*, .nx-cart-line*, .nx-cart-totals*, .nx-modal*, .nx-newsletter*, .nx-totop) is above.
   ========================================================================== */
/* features (phase 2): fly cart — the hidden drawer template inside .blockcart */
.blockcart .nx-cart-drawer__src { display: none !important; /* (!: template, never shown in place) */ }
.nx-cart-line--added { background: rgba(76, 187, 108, 0.06); margin: 0 calc(var(--nx-space-3) * -1); padding-left: var(--nx-space-3); padding-right: var(--nx-space-3); border-radius: var(--nx-radius); }
.nx-cart-totals__row--tax { font-size: var(--nx-fs-md); color: var(--nx-text-muted); }

/* features (phase 2): quick login + newsletter form messages */
.nx-modal__pane .nx-login .login-form { margin: 0; }
.nx-modal__pane .nx-login .no-account { text-align: center; font-size: var(--nx-fs-ui); margin-top: var(--nx-space-4); }
.nx-form__msg--err { background: rgba(224, 82, 92, 0.12); color: #e0525c; }
.nx-newsletter__conditions { font-size: var(--nx-fs-md); color: var(--nx-text-muted); margin: 0 0 var(--nx-space-3); }
.nx-newsletter__form .nx-btn { flex: 0 0 auto; }
.nx-newsletter__form .gdpr_module_consent, .nx-newsletter__form .custom-checkbox { flex: 1 1 100%; margin-top: var(--nx-space-3); }
.nx-newsletter__form { flex-wrap: wrap; }

/* features (phase 2): infinite scroll "Load more" */
.nx-loadmore { display: flex; justify-content: center; margin: var(--nx-space-6) 0 var(--nx-space-4); }
.nx-loadmore__btn { min-width: 200px; justify-content: center; }

/* features (phase 2): sliders (Swiper 11, vendored; its bundle CSS provides .swiper / .swiper-wrapper / .swiper-slide) */
.nx-slider { position: relative; }
.nx-slider .swiper-slide { height: auto; }
.nx-slider__item { width: 100%; padding: 0; }
.nx-slider .product-miniature, .nx-slider .nx-card { margin-bottom: 0; }
.nx-slider__arrow {
  position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-round); background: var(--nx-surface-solid); color: var(--nx-text-strong); box-shadow: var(--nx-shadow-md);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: color var(--nx-t), opacity var(--nx-t);
}
.nx-slider__arrow:hover { color: var(--nx-accent); }
.nx-slider__arrow--prev { left: -12px; }
.nx-slider__arrow--next { right: -12px; }
.nx-slider__arrow.swiper-button-disabled { opacity: 0.3; cursor: default; }
.nx-slider__arrow.swiper-button-lock { display: none; }
.nx-slider--products .swiper-slide { display: flex; }
.nx-slider--products .swiper-slide > .js-product { width: 100%; }
/* before Swiper runs (or without JS): a scrollable row with the per-view widths of the desktop layout */
.nx-slider:not(.swiper-initialized) .swiper-wrapper { display: flex; overflow-x: auto; gap: 20px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
/* still swipeable, but no grey native bar under the row (Windows draws one; designer flagged it 10-13) */
.nx-slider:not(.swiper-initialized) .swiper-wrapper::-webkit-scrollbar { display: none; }
.nx-slider:not(.swiper-initialized) .swiper-slide { flex: 0 0 calc(25% - 15px); scroll-snap-align: start; }
.nx-slider:not(.swiper-initialized) .nx-slider__arrow { display: none; }
.nx-brand { display: flex; align-items: center; justify-content: center; }
.nx-brand__link { display: block; padding: var(--nx-space-3); }
.nx-brand__img { display: block; max-height: 60px; width: auto; max-width: 100%; margin: 0 auto; filter: grayscale(1); opacity: 0.6; transition: filter var(--nx-t), opacity var(--nx-t); }
.nx-brand__link:hover .nx-brand__img { filter: grayscale(0); opacity: 1; }
.nx-brands__empty { text-align: center; color: var(--nx-text-muted); font-size: var(--nx-fs-ui); }
@media (max-width: 991px) {
  .nx-slider:not(.swiper-initialized) .swiper-slide { flex-basis: calc(33.333% - 14px); }
}
@media (max-width: 767px) {
  .nx-slider__arrow--prev { left: 0; }
  .nx-slider__arrow--next { right: 0; }
  .nx-slider:not(.swiper-initialized) .swiper-slide { flex-basis: calc(50% - 10px); }
}
/* features (phase 2): fly cart count line (Classic's modal sentence, keeps .cart-products-count) */
#nx-cart-drawer .nx-drawer__count { margin: 0 0 var(--nx-space-3); font-size: var(--nx-fs-md); color: var(--nx-text-muted); }


/* ==========================================================================
   22  DARK-ONLY PAGE PASS (2026-10-14, front-end round, plan option C)
   Theme-rendered pages (CMS wrapper, cart, checkout, order confirmation, account, login/registration, feedback,
   contact, 404) sit on the CE kit's dark texture under the floating CE header. Panels are dark glass, never white.
   Classic's theme.css paints many of these white with selectors like `body#checkout section.checkout-step` (1,1,2),
   so several selectors below repeat that prefix to win — each one is marked "(Classic: …)".
   The CE header/footer documents and their colours belong to the designer; nothing here restyles CE widgets.
   ========================================================================== */

/* 22.1 page frame ------------------------------------------------------------------------------------------------
   The CE header (doc 8) floats over the page (its section has no height; the bar ends 97–121px down on desktop,
   55–78px on phones). Pages whose content the theme renders get a top clearance; pages CE draws edge to edge
   (home, product, category) keep theirs. The theme's #header wrapper is only a 3px host for CE: no colour, no line. */
#header:has([data-elementor-type="header"]) { background: transparent; border-bottom: 0; box-shadow: none; }
/* :where() keeps this at (1,0,1) so page-specific rules (checkout notice, §22.7) can adjust it */
body:where(:has(#header [data-elementor-type="header"]):not(#index, #product, #category)) #wrapper { padding-top: var(--nx-ce-header-h); }
#footer, .nx-footer, body#checkout #footer { background: transparent; border-top: 0; }   /* (Classic: body#checkout #footer #fff) */
#wrapper .breadcrumb { padding-top: 0; }
/* the theme's own header (pages CE does not cover, e.g. module controllers): solid dark bar */
#header:not(:has([data-elementor-type="header"])) { background: var(--nx-surface-solid); border-bottom: var(--nx-panel-border); }
#header:not(:has([data-elementor-type="header"])) .nx-header__main, #header:not(:has([data-elementor-type="header"])) .header-top { background: transparent; }

/* 22.1b Creative Elements documents keep the type scale they were designed with. The theme scale went up on 2026-10-14
   (body 14 → 16, h2 20 → 28 …) for theme-rendered pages, but CE widgets without an explicit size inherit from the
   page and from the theme's h1–h6 rules, so the designer's footer headings (20px), product descriptions (14px) and
   home section titles grew. Inside any CE document the previous values apply again, which leaves CE pages as
   designed (checked: computed sizes equal to before on home, product, category and the cart header/footer, desktop
   + phone). Theme pages outside CE keep the new scale. */
[data-elementor-type] {
  --nx-fs-xs: 10px; --nx-fs-sm: 11px; --nx-fs-md: 12px; --nx-fs-ui: 13px; --nx-fs-body: 14px;
  --nx-fs-lg: 16px; --nx-fs-xl: 18px; --nx-fs-h2: 20px; --nx-fs-h1: 24px; --nx-fs-hero: 48px; --nx-lh-tight: 1.3;
  font-size: var(--nx-fs-body);
}
[data-elementor-type="header"] { font-size: 14px; }   /* pinned: the CE header menu stays 14px whatever the page scale */

/* 22.2 Classic cyan (#24b9d7) → brand green, for what is still cyan after the tokens (ported from webdev mm-webdev §1,
   values on dark: text → --nx-link, fills/borders → --nx-accent) */
.btn-link, .page-link, .text-primary, .block-promo .promo-code-button.cancel-promo, .pagination .current a { color: var(--nx-link); }
.btn-link:hover, .page-link:hover, .dropdown-item:focus, .dropdown-item:hover, .cart-grid-body a.label:hover { color: var(--nx-link-hover); }
.page-item.active .page-link, .dropdown-item.active, .bg-primary, .tag-primary, .list-group-item.active { background-color: var(--nx-accent); border-color: var(--nx-accent); color: var(--nx-on-accent); }
.form-control:focus, .input-group.focus { outline: 0; }
.custom-radio input[type="radio"]:checked + span { background-color: var(--nx-accent); }
body#checkout section.checkout-step .address-item.selected { border: 1px solid var(--nx-accent); box-shadow: 0 0 0 1px var(--nx-accent); }   /* (Classic: 3px cyan) */
.block-promo .promo-input + button { border: 1px solid var(--nx-accent); }
.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link:hover { border-bottom-color: var(--nx-accent); color: var(--nx-text-strong); }
.product-images > li.thumb-container .thumb.selected, .product-images > li.thumb-container .thumb:hover,
#product-modal .modal-content .modal-body .product-images img:hover { border-color: var(--nx-accent); }   /* (Classic: 3px cyan) */

/* 22.3 focus: amber ring everywhere (as webdev) */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--nx-amber); outline-offset: 2px; box-shadow: none;
}
.form-control:focus, .nx-input:focus, .form-control-select:focus { border-color: var(--nx-accent); box-shadow: var(--nx-ring); }

/* 22.4 type on dark: titles, buttons */
#wrapper, #wrapper .btn, #wrapper .form-control, #wrapper label, #blockcart-modal, .nx-drawer, .modal { font-family: var(--nx-font); }
#main .page-header h1, #main .page-header .h1, #cart .cart-grid .h1, #cart h1.h1 { font-size: var(--nx-fs-h2); font-weight: 700; color: var(--nx-text-strong); }
.btn-primary, .nx-btn--primary { font-weight: 600; }
.btn-primary.disabled, .btn-primary:disabled, .nx-btn--primary.disabled, .nx-btn--primary:disabled,
.btn-primary.disabled:hover, .btn-primary:disabled:hover { background: var(--nx-border); border-color: var(--nx-border); color: var(--nx-text-muted); opacity: 1; }
.nx-btn--ghost:hover, .btn-secondary:hover, .btn-outline-primary:hover { color: var(--nx-text-invert); }
/* text on a green / success fill reads in ink (white on #8EB364 is 2.4:1) */
.checkout-step.-complete .step-title .step-number, .mmgk-pill--approved, .mmgk-status--approved, .mmreferral-type-earn,
.mmreferral-cart-credit__status--applied, .wishlist-toast.success, .nx-badge--count { color: var(--nx-on-primary); }
.mmgk-pill--pending, .mmgk-status--pending, .mmreferral-type-adjust { color: var(--nx-text-invert); }

/* 22.5 panels instead of white cards ---------------------------------------------------------------------------- */
#main .page-content.page-cms,                                                  /* (Classic: .page-content.page-cms #fff) */
.cart-grid-body .cart-container,
.cart-grid-right .cart-summary,
body#checkout section.checkout-step,                                          /* (Classic: #fff + shadow) */
#js-checkout-summary, .cart-summary.js-checkout-summary,
#order-confirmation #content-hook_order_confirmation, #order-confirmation .card, .page-order-confirmation .card,
#authentication #main .page-content, #registration #main .page-content, #password #main .page-content,
body.page-customer-account:not(#my-account) #main #content,                     /* (Classic: .page-customer-account #content #fff) */
#contact .contact-form, .contact-form,
#order-detail .box, .page-order-detail .box, .page-addresses .address,
.mmgk-account-block, .mmreferral-account, .mmreferral-credit-card, .mmreferral-code-box, .mmreferral-how-it-works,
.mmreferral-rewards-info, .mmreferral-history, .mmreferral-share, .mmreferral-redeem-form,
.mmloyalty-redeem-box, .mmloyalty-account, .mmloyalty-history {
  background: var(--nx-surface);
  border: var(--nx-panel-border);
  border-radius: var(--nx-radius-lg);
  box-shadow: none;
  -webkit-backdrop-filter: var(--nx-panel-blur);
  backdrop-filter: var(--nx-panel-blur);
  color: var(--nx-text);
}
#main .page-content.page-cms { padding: var(--nx-space-7); }
.cart-grid-right .cart-summary, #js-checkout-summary { padding: var(--nx-space-5); }
#authentication #main .page-content, #registration #main .page-content, #password #main .page-content,
body.page-customer-account:not(#my-account) #main #content { padding: var(--nx-space-7); }
/* the account content panel contains its own cards: those become insets (solid, no second blur) */
body.page-customer-account #main #content .address, body.page-customer-account #main #content .box,
body.page-customer-account #main #content .card, .page-order-detail .box .box { background: var(--nx-surface-2); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--nx-border); }
/* CMS pages whose Creative Elements content carries its own title: FAQ (6), How to order (12) (as webdev) */
body.cms-id-6 #main > .page-header, body.cms-id-12 #main > .page-header { display: none; }

/* 22.6 cart ---------------------------------------------------------------------------------------------------------- */
.cart-grid-body .cart-container { padding: var(--nx-space-5) var(--nx-space-5) 0; }
.cart-grid-body .cart-container > .card-block:first-child { padding: 0 0 var(--nx-space-3); }
.cart-grid-body .cart-container .h1 { margin: 0; }
.cart-grid-body .cart-container hr.separator { border-top-color: var(--nx-border); margin: 0; }
.cart-item { padding: var(--nx-space-5) 0; }
.product-line-grid-left img, .product-line-grid .product-image, #cart-summary-product-list .media img { background: #fff; }   /* product photos are on white: keep the plate */
.product-line-grid-right .bootstrap-touchspin input.form-control, .bootstrap-touchspin input.form-control, .bootstrap-touchspin input.input-group,
.bootstrap-touchspin .btn-touchspin { background-color: var(--nx-input-bg); color: var(--nx-text-strong); border-color: var(--nx-border-strong); }   /* (Classic: #fff) */
.bootstrap-touchspin .btn-touchspin:hover { background-color: var(--nx-surface-3); }
.bootstrap-touchspin .btn-touchspin .material-icons, .bootstrap-touchspin .touchspin-up::after, .bootstrap-touchspin .touchspin-down::after { color: var(--nx-text); }
/* "Continue shopping": outline button on the texture (as webdev) */
.cart-grid-body > a.label, .cart-grid-body a.label.continue {
  display: inline-flex; align-items: center; gap: 4px; margin-top: var(--nx-space-4); padding: 10px 18px 10px 12px;
  border: 1px solid var(--nx-text-strong); border-radius: var(--nx-radius); color: var(--nx-text-strong); background: transparent;
  text-transform: none; letter-spacing: 0; font-weight: 600; transition: background var(--nx-t-fast), color var(--nx-t-fast);
}
.cart-grid-body > a.label:hover, .cart-grid-body > a.label:focus-visible, .cart-grid-body a.label.continue:hover { background: var(--nx-text-strong); color: var(--nx-text-invert); }
.cart-grid-body > a.label .material-icons { color: inherit; }
.cart-summary-line .value, .cart-total .value { color: var(--nx-text-strong); }
.block-promo .promo-name .cart-summary-line { background: var(--nx-surface-2); }
#order-items table tr.total-value { background-color: transparent; }   /* (Classic: #f6f6f6) */

/* 22.7 checkout -------------------------------------------------------------------------------------------------------- */
body#checkout section.checkout-step { padding: var(--nx-space-5) var(--nx-space-6); margin: 0 0 var(--nx-space-3); border-bottom: var(--nx-panel-border); }
body#checkout section.checkout-step .step-title { color: var(--nx-text-muted); }
body#checkout section.checkout-step.-current .step-title, body#checkout section.checkout-step.-complete .step-title { color: var(--nx-text-strong); }
body#checkout section.checkout-step .step-number { background: var(--nx-border); color: var(--nx-text); border: 0; }
body#checkout section.checkout-step.-current .step-number, body#checkout section.checkout-step.-reachable.-current .step-number { background: var(--nx-primary); color: var(--nx-on-primary); }   /* (Classic: #00c062 + #fff) */
body#checkout section.checkout-step .step-title { border-bottom: 0; padding-bottom: 0; }   /* (Classic: #ddd rule under every title) */
body#checkout section.checkout-step.-current .step-title { border-bottom: 1px solid var(--nx-border); padding-bottom: var(--nx-space-4); }
body#checkout section.checkout-step.-current + .checkout-step .step-title { border-top: 0; padding-top: 0; }
/* steps not reached yet: a quieter solid row, no grey slab (Classic fades them to 50 %) */
body#checkout section.checkout-step.-unreachable, body#checkout section.checkout-step:not(.-current):not(.-complete) {
  background: var(--nx-surface-3); -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1;
}
body#checkout section.checkout-step.-unreachable .step-title { opacity: 1; }
body#checkout section.checkout-step .address-item, body#checkout section.checkout-step .delivery-options .delivery-option,
body#checkout section.checkout-step .select-field div { background: var(--nx-surface-2); color: var(--nx-text); }   /* (Classic: #f6f6f6) */
body#checkout section.checkout-step .address-item.selected { background: var(--nx-surface-3); }
body#checkout section.checkout-step .delivery-options .delivery-option:has(input:checked) { border-color: var(--nx-accent); }
body#checkout .modal-content, body#checkout #order-summary-content .order-confirmation-table,
body#checkout #order-summary-content .summary-selected-carrier { background-color: var(--nx-surface-solid); color: var(--nx-text); }   /* (Classic: #fff / #f6f6f6) */
body#checkout #checkout-personal-information-step .nav-link, body#checkout .nav-inline .nav-link { color: var(--nx-text-muted); }
body#checkout #checkout-personal-information-step .nav-link.active { color: var(--nx-text-strong); }
#checkout .cart-summary-products .js-show-details, #checkout .cart-summary-products a { color: var(--nx-link); }
.payment-options .payment-option, .delivery-option { background: var(--nx-surface-2); }

/* mmgatekeeper's checkout reminder: notice.js prepends it to <body>, above <main>, so it pushed the CE header down
   and sat full-bleed above it. Re-order without touching markup: <main> becomes display:contents and its children
   (header, wrapper, footer) join the notice as flex items of <body>, so the notice can sit between header and page. */
body#checkout:has(> #mmgk-checkout-notice) { display: flex; flex-direction: column; min-height: 100vh; }
body#checkout:has(> #mmgk-checkout-notice) > * { order: 5; }
body#checkout:has(> #mmgk-checkout-notice) > main { display: contents; }
body#checkout:has(> #mmgk-checkout-notice) > main > #header { order: 1; }
body#checkout:has(> #mmgk-checkout-notice) > #mmgk-checkout-notice {
  order: 2; width: calc(100% - 2 * var(--nx-gutter)); max-width: calc(var(--nx-container) - 2 * var(--nx-gutter));
  margin: var(--nx-ce-header-h) auto 0; align-self: center;
}
body#checkout:has(> #mmgk-checkout-notice) > main > #wrapper { order: 3; padding-top: var(--nx-space-5); }
body#checkout:has(> #mmgk-checkout-notice) > main > #footer { order: 4; }

/* 22.8 mmgatekeeper notices on dark: an amber-edged dark panel (the module paints a green gradient + orange bar) */
#mmgk-checkout-notice, #mmgk-register-notice, .mmgk-policy--inline, .mmgk-cart-hint, .mmgk-cart-hint.alert {
  background: var(--nx-surface-solid); color: var(--nx-text);
  border: 1px solid rgba(245, 184, 0, 0.45); border-left: 4px solid var(--nx-amber); border-radius: var(--nx-radius-lg);
  box-shadow: var(--nx-shadow-md); padding: var(--nx-space-4) var(--nx-space-5); text-align: center;
}
.cart-grid #mmgk-checkout-notice, .cart-grid .mmgk-policy--inline { margin: 0 var(--nx-gutter) var(--nx-space-5); max-width: none; flex: 1 1 100%; }
.mmgk-policy__icon { color: var(--nx-amber); text-shadow: none; }
.mmgk-policy__l1 { color: var(--nx-text-strong); font-size: var(--nx-fs-ui); font-weight: 700; letter-spacing: var(--nx-tracking); }
.mmgk-policy__l2 { color: var(--nx-amber); font-size: var(--nx-fs-md); font-weight: 600; }
.mmgk-policy__lead { color: var(--nx-text); }
.mmgk-policy__pending { background: transparent; color: var(--nx-text-strong); font-weight: 600; border: 1px solid rgba(245, 184, 0, 0.4); border-radius: var(--nx-radius); padding: 6px 12px; }
.mmgk-policy__link, .mmgk-policy a, .mmgk-cart-hint a { color: var(--nx-amber); }
.mmgk-policy__link:hover, .mmgk-policy a:hover, .mmgk-cart-hint a:hover { color: var(--nx-text-strong); }
.mmgk-note { color: var(--nx-text-muted); }
.mmgk-status { background: var(--nx-surface-2); border-color: var(--nx-border); }

/* 22.9 Customer Reassurance (cart, checkout, product): its texts carry inline dark colours */
.blockreassurance_product { margin-top: var(--nx-space-4); padding: var(--nx-space-4) var(--nx-space-5); background: var(--nx-surface); border: var(--nx-panel-border); border-radius: var(--nx-radius-lg); }
.blockreassurance_product > div { display: flex; flex-wrap: nowrap; align-items: center; column-gap: 12px; padding: 6px 0; }
.blockreassurance_product > div + div { border-top: 1px solid var(--nx-border); }
.blockreassurance_product .item-product { float: none; width: 32px; height: 32px; margin: 0; display: inline-flex; flex: 0 0 32px; }
.blockreassurance_product .block-title { color: var(--nx-text-strong) !important; /* (!: module inline style) */ font-weight: 600; font-size: var(--nx-fs-ui); }
.blockreassurance_product p { color: var(--nx-text-soft) !important; /* (!: module inline style) */ margin: 0; font-size: var(--nx-fs-md); }
.blockreassurance_product p:empty, .blockreassurance_product > div > br { display: none; }
.blockreassurance .block-title, .blockreassurance p { color: var(--nx-text-strong) !important; /* (!: module inline style) */ }
.blockreassurance p { color: var(--nx-text-soft) !important; /* (!: module inline style) */ }

/* 22.10 forms on dark ------------------------------------------------------------------------------------------- */
.form-control, .form-control-select, select.form-control, .custom-select, .dropdown select,
.product-variants > .product-variants-item select { background-color: var(--nx-input-bg); color: var(--nx-text-strong); border-color: var(--nx-border-strong); }
.form-control:disabled, .form-control[readonly], .custom-select:disabled { background-color: var(--nx-surface-2); color: var(--nx-text-muted); }   /* (Classic: #f6f6f6) */
.form-control::placeholder, input::placeholder, textarea::placeholder { color: var(--nx-text-muted); opacity: 1; }
.input-group-addon { background: var(--nx-surface-2); color: var(--nx-text); border-color: var(--nx-border-strong); }
.input-group .input-group-btn > .btn[data-action="show-password"], #customer-form .input-group .input-group-btn .btn {
  background: var(--nx-surface-3); color: var(--nx-text-strong); border: 1px solid var(--nx-border-strong); border-left: 0;   /* (Classic: #7a7a7a) */
}
.custom-checkbox input[type="checkbox"] + span, .custom-radio { background: var(--nx-input-bg); border-color: var(--nx-border-strong); }
.custom-checkbox input[type="checkbox"]:checked + span { background: var(--nx-accent); border-color: var(--nx-accent); }
.custom-checkbox input[type="checkbox"]:checked + span::after { border-color: var(--nx-on-accent); }
.form-control-comment, .help-block, .form-text, small.text-muted, .text-muted { color: var(--nx-text-muted) !important; /* (!: Bootstrap .text-muted utility) */ }
.form-control-label, label, form .form-control-label, .label { color: var(--nx-text-strong); }   /* (Classic: form .form-control-label #232323) */
.custom-checkbox label, .custom-checkbox span:not(.color) + label, #conditions-to-approve .condition-label label { color: var(--nx-text); }
/* Chrome autofill paints inputs pale yellow/white: keep them dark */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color: var(--nx-text-strong); caret-color: var(--nx-text-strong);
  -webkit-box-shadow: 0 0 0 1000px var(--nx-input-bg) inset; box-shadow: 0 0 0 1000px var(--nx-input-bg) inset;
  transition: background-color 9999s ease-out 0s;
}
/* alerts / notifications on dark */
.alert { background: var(--nx-surface-solid); color: var(--nx-text-strong); border: 1px solid var(--nx-border); border-left-width: 4px; }
.alert-success { border-color: var(--nx-success); }
.alert-warning { border-color: var(--nx-warning); }
.alert-danger { border-color: var(--nx-danger); background: var(--nx-surface-solid); }   /* (Classic: #f2dede) */
.alert-info { border-color: var(--nx-info); }
.alert a { color: var(--nx-link); text-decoration: underline; }

/* 22.11 account ---------------------------------------------------------------------------------------------------- */
.page-my-account #content .links a, #my-account .links a { background: var(--nx-surface); border: var(--nx-panel-border); border-radius: var(--nx-radius-lg); -webkit-backdrop-filter: var(--nx-panel-blur); backdrop-filter: var(--nx-panel-blur); }
.page-my-account #content .links a span.link-item { background: transparent; box-shadow: none; padding: 0; color: inherit; }   /* (Classic: (1,3,2) #fff) */
.page-my-account #content .links a:hover, #my-account .links a:hover { border-color: var(--nx-accent); color: var(--nx-text-strong); }
.page-my-account #content .links a i, .page-my-account #content .links a:hover i { color: var(--nx-accent); }
#my-account #main .page-content, .page-my-account #content { background: transparent; }
.page-customer-account #content .no-account a, #authentication .register-form p a, .register-form .btn-link { color: var(--nx-link); }
.table, .table-labeled { color: var(--nx-text); }
.table-labeled .thead-default th, .table thead.thead-default th { background: var(--nx-surface-2); color: var(--nx-text-strong); }
.table-striped tbody tr:nth-of-type(odd) { background: rgba(242, 242, 242, 0.03); }

/* 22.12 mmfeedback page (/feedback) + its account pages — CSS only; module front.css loads before this file */
.mm-feedback-page .feedback-summary {
  background: var(--nx-surface); border: var(--nx-panel-border); border-radius: var(--nx-radius-lg);
  -webkit-backdrop-filter: var(--nx-panel-blur); backdrop-filter: var(--nx-panel-blur);
}
.mm-feedback-page .feedback-summary .card-body { padding: var(--nx-space-6); }
.mm-feedback-page .rating-score-box .rating-number { color: var(--nx-text-strong); font-weight: 700; }
.mm-feedback-page .rating-score-box .rating-max, .mm-feedback-page .rating-details .review-count { color: var(--nx-text-soft); }
.mm-star-display .star, .mm-star-rating .star { color: var(--nx-border-dark); }
.mm-star-display .star.filled, .mm-star-rating .star:hover, .mm-star-rating .star.active, .mm-star-rating .star.hovered { color: var(--nx-amber); }
.mm-star-display .star.half { background: linear-gradient(90deg, var(--nx-amber) 50%, var(--nx-border-dark) 50%); -webkit-background-clip: text; background-clip: text; }
.mm-feedback-page .feedback-item {
  background: var(--nx-surface); border: var(--nx-panel-border); border-left: 3px solid var(--nx-accent); border-radius: var(--nx-radius-lg);
  -webkit-backdrop-filter: var(--nx-panel-blur); backdrop-filter: var(--nx-panel-blur); box-shadow: none;
}
.mm-feedback-page .feedback-item:hover { box-shadow: var(--nx-shadow-md); }
.mm-feedback-page .feedback-item .card-body { padding: var(--nx-space-4) var(--nx-space-5); }
.mm-feedback-page .customer-name { color: var(--nx-text-strong); font-size: var(--nx-fs-body); }
.mm-feedback-page .customer-name.anonymous { color: var(--nx-text-soft); }
.mm-feedback-page .feedback-comment { color: var(--nx-text); font-size: var(--nx-fs-body); }
.mm-feedback-page .feedback-header small, .mm-feedback-page .text-muted { color: var(--nx-text-muted); }
.mm-feedback-page .pagination, .feedback-pagination .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: var(--nx-space-6) 0 0; }
.feedback-pagination .page-item .page-link, .mm-feedback-page .page-link {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; margin: 0;
  background: var(--nx-surface-solid); border: 1px solid var(--nx-border); border-radius: var(--nx-radius-pill); color: var(--nx-text); font-size: var(--nx-fs-ui);
}
.feedback-pagination .page-item .page-link:hover, .mm-feedback-page .page-link:hover { border-color: var(--nx-accent); color: var(--nx-text-strong); }
.feedback-pagination .page-item.active .page-link, .mm-feedback-page .page-item.active .page-link { background: var(--nx-accent); border-color: var(--nx-accent); color: var(--nx-on-accent); font-weight: 600; }
.feedback-pagination .page-item.disabled .page-link { opacity: 0.5; }
/* review form + "my reviews" boxes */
.mm-feedback-box, .mmfb-card, .mmfeedback-form, .mmfeedback-item, .mmfb-review {
  background: var(--nx-surface); border: var(--nx-panel-border); border-radius: var(--nx-radius-lg); color: var(--nx-text);
}
.mm-feedback-box .card-header { background: var(--nx-surface-2); border-bottom: 1px solid var(--nx-border); color: var(--nx-text-strong); }
.mm-feedback-box .card-header h4 { color: var(--nx-text-strong); }
.mm-feedback-form label { color: var(--nx-text-strong); }
.mm-feedback-section { border-top-color: var(--nx-border); }

/* 22.13 overlays: cart drawer, blockcart modal, quick view — solid surfaces (set in §13), plus the bits still light */
.quickview .modal-content { background: var(--nx-surface-solid); }   /* (Classic: #f6f6f6) */
#blockcart-modal .cart-content p.product-total, #blockcart-modal .cart-content .product-total { background-color: transparent; }   /* (Classic: #f6f6f6) */
#blockcart-modal .product-image, .nx-cart-line__img, .quickview .product-cover img, .quickview .product-images img { background: #fff; }   /* white product photos keep their plate */
#product-modal .modal-content .modal-body .product-cover-modal, #product-modal .modal-content .modal-body .product-images img { background: #fff; }
.modal-backdrop.in, .modal-backdrop.show { opacity: 0.6; }
.nx-drawer__added { background: rgba(142, 179, 100, 0.12); color: var(--nx-accent); }
.dropdown-menu { background-color: var(--nx-surface-solid); }   /* (Classic: .dropdown-menu #fff) */
.dropdown-item { color: var(--nx-text); }

/* 22.13b details found in the preview pass */
.cart-line-product-actions .remove-from-cart, .product-line-grid-right .cart-line-product-actions .remove-from-cart,
.product-line-grid-right .product-price .remove-from-cart { color: var(--nx-text-muted); }   /* (Classic: #232323) */
.remove-from-cart .material-icons { color: inherit; }
.cart-summary hr, .cart-detailed-totals hr, .cart-grid hr, #js-checkout-summary hr, .separator { border-color: var(--nx-border); }
.cart-summary-line .value { margin-left: auto; }
/* CMS (FAQ / Our story) — TEMPORARY bridge, not a design: the ported CE text-editor widgets carry pasted near-black
   text that was written for a white box. Remove when the designer sets CE text colours to the tokens (theme plan §5.5). */
#main .page-content.page-cms .elementor-widget-text-editor :is(p, li, span, strong, em) { color: var(--nx-text) !important; /* (!: CE inline styles) */ background: transparent !important; /* (!: CE inline styles) */ }

/* pages CE does not cover (module controllers, e.g. Medi Messages) render the theme header/footer and have no kit
   texture: give them the same page background (asset from the CE kit; if it moves, the token colour shows) */
body:not(.ce-kit-1) { background: var(--nx-bg) url("/img/cms/nx-bg-body.webp") center top / 100% auto repeat-y; }
#header .nx-icons .nx-icon, #header .nx-icons .nx-icon a, #header .nx-icons .nx-icon .btn-unstyle,
#header .nx-header__links a, #header .nx-icon--cart .blockcart .header a { color: var(--nx-text-strong); }   /* (Classic: #header a #232323) */
#header .nx-icons .nx-icon:hover, #header .nx-icons .nx-icon a:hover, #header .nx-header__links a:hover { color: var(--nx-accent); }
.footer-container .h3, .footer-container .h3 a, #block_myaccount_infos .myaccount-title a, #footer .account-list .h3 a { color: var(--nx-text-strong); }   /* (Classic: #232323) */
.block_newsletter, #footer .block_newsletter, [id^="blockEmailSubscription"] { background: transparent; }   /* (Classic: #fff) */
.block_newsletter #block-newsletter-label, .block_newsletter p, .block_newsletter .h4 { color: var(--nx-text-strong); }
.block_newsletter .conditions, .block_newsletter p.conditions, .block_newsletter .form-control-comment { color: var(--nx-text-muted); }

/* contact page (as webdev §3, on dark) and 404 / no-results */
.contact-rich, .contact-rich h4, .contact-rich .block .data, .contact-rich .block .data a, #contact .contact-rich h4 { color: var(--nx-text-strong); }
.contact-rich .block .icon .material-icons, #contact .contact-rich .block .icon .material-icons { color: var(--nx-text-soft); }
.contact-rich a, .contact-rich .block .data a { text-decoration: underline; text-underline-offset: 2px; }
.contact-rich a:hover { color: var(--nx-accent); }
.contact-rich hr { border-color: var(--nx-border); }
#contact .contact-form h3, .contact-form .h3, .contact-form h3 { color: var(--nx-text-strong); }
.group-span-filestyle .btn-default, #wrapper .group-span-filestyle label.btn-default { background: var(--nx-primary); border-color: var(--nx-primary); color: var(--nx-on-primary); }
#wrapper .contact-form input[type="file"].filestyle { max-width: 100%; width: 1px; }   /* clipped input stuck out 2px at 390 (as webdev) */
#pagenotfound #main .page-content, .page-not-found, #search .page-not-found, section#content.page-not-found {
  background: var(--nx-surface); border: var(--nx-panel-border); border-radius: var(--nx-radius-lg); color: var(--nx-text); padding: var(--nx-space-6);
}   /* (Classic: #fff) */
.page-not-found h4, .page-not-found .h4 { color: var(--nx-text-strong); }
.page-not-found p { color: var(--nx-text-soft); }

/* wishlist (blockwishlist) modals on dark — titles are p.h5 since the theme override of its modal templates */
.wishlist-modal .modal-header .modal-title, .wishlist-modal .modal-header h5, .wishlist-modal .modal-title.h5 { color: var(--nx-text-strong); font-family: var(--nx-font); font-size: var(--nx-fs-lg); font-weight: 600; margin: 0; }
.wishlist-modal .modal-text, .wishlist-modal .modal-body, .wishlist-modal .wishlist-list-item p { color: var(--nx-text); }
.wishlist-modal .close { color: var(--nx-text-soft); }
.wishlist-modal .close:hover { color: var(--nx-text-strong); }
.wishlist-modal .modal-body .form-group .form-control { background: var(--nx-input-bg); color: var(--nx-text-strong); border: 1px solid var(--nx-border-strong); border-radius: var(--nx-radius); }
.wishlist-modal .wishlist-list-item:hover, .wishlist-modal .wishlist-list-item.active { background: var(--nx-surface-2); }

/* empty cart (Classic prints only "There are no more items in your cart"; no checkout/** override, rule 6):
   a centred empty state with a basket glyph; the cart's own "Continue shopping" button sits under it */
.cart-grid-body .cart-overview .no-items, .cart-overview .no-items {
  display: flex; flex-direction: column; align-items: center; gap: var(--nx-space-3);
  padding: var(--nx-space-8) var(--nx-space-5) var(--nx-space-7); text-align: center;
  font-size: var(--nx-fs-lg); font-weight: 600; color: var(--nx-text-strong);
}
.cart-overview .no-items::before {
  content: "shopping_cart"; font-family: "Material Icons"; font-weight: 400; font-size: 56px; line-height: 1;
  color: var(--nx-accent); -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
}

/* "Be the first to write your review": .btn is nowrap, so on a 390px phone the button ran 24px past its box and
   the page scrolled sideways */
.btn-comment, .btn-comment-big, .post-product-comment { max-width: 100%; box-sizing: border-box; white-space: normal; }
/* core discount flag ("-10%"): white on the light salmon fill was 2.13:1 — ink text instead (≥ 7:1) */
.product-flags li.product-flag.discount, .product-flags .product-flag.discount.nx-flag,
.product-flags .product-flag.discount-percentage, .product-flags .product-flag.discount-amount { color: var(--nx-text-invert); }
/* help chat: the module's panel uses Jost / Inter; one family site-wide */
#mmhelpchat-root#mmhelpchat-root, #mmhelpchat-root#mmhelpchat-root :is(button, input, textarea, select, div, span, p, a, h1, h2, h3, h4, h5, h6, li, label, strong, b) { font-family: var(--nx-font); }

/* 22.14 help chat: on cart/checkout phones the button covered the totals and buttons (as webdev) */
@media (max-width: 767px) {
  body#cart #mmhelpchat-root, body#checkout #mmhelpchat-root { display: none; }
}

/* 22.15 phones -------------------------------------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root { --nx-ce-header-h: 90px; --nx-fs-h1: 28px; --nx-fs-h2: 22px; --nx-fs-hero: 34px; }
  #main .page-content.page-cms, #authentication #main .page-content, #registration #main .page-content, #password #main .page-content,
  body.page-customer-account:not(#my-account) #main #content { padding: var(--nx-space-5) var(--nx-space-4); }
  .cart-grid-body .cart-container { padding: var(--nx-space-4) var(--nx-space-4) 0; }
  body#checkout section.checkout-step { padding: var(--nx-space-4); }
  .checkout-step .content { padding-left: 0; }
  /* Classic: .card { background: inherit } below 768px — keep the panels */
  #wrapper .cart-grid .card.cart-container, #wrapper .cart-grid-right .card.cart-summary { background: var(--nx-surface); }
  .mm-feedback-page .feedback-item .card-body { padding: var(--nx-space-4); }
  #mmgk-checkout-notice, .mmgk-policy--inline { padding: var(--nx-space-4); }
}


/* ==========================================================================
   23  MEDI MESSAGES — everpsblog "flat" skin mapped onto the tokens (2026-10-14; plan medi-messages.md §4 task 2)
   Colours only: the Medi Messages team owns the templates (themes/nexus-store/modules/everpsblog/**). The skin
   hard-codes --ever-flat-text #161616 and #222/#202020 excerpts, which were near-black on the dark page. The
   --ever-* variables are set on <body> so they beat the skin's :root values and the module's inline :root block.
   One list of posts, read-only: no styling for category chips, the category rail/sidebar or comment forms.
   ========================================================================== */
body {
  --ever-flat-text: var(--nx-text-strong);
  --ever-flat-muted: var(--nx-text-soft);
  --ever-flat-panel: var(--nx-surface);
  --ever-flat-soft: var(--nx-surface-2);
  --ever-flat-teal: var(--nx-accent);
  --ever-flat-orange: var(--nx-amber);
  --ever-blog-accent-bg: var(--nx-accent);
  --ever-blog-header-bg: var(--nx-surface-solid);
  --ever-blog-header-bg-alt: var(--nx-surface-2);
  --ever-blog-header-overlay-bg: #0A0E0A;
  --ever-blog-header-title-color: var(--nx-text-strong);
  --ever-blog-placeholder-bg: var(--nx-surface-2);
}
body[id^="module-everpsblog"] { color: var(--nx-text); }
body[id^="module-everpsblog"] #wrapper { padding-bottom: var(--nx-space-8); }
/* hero */
.flat-blog-hero { border-radius: var(--nx-radius-lg); border: var(--nx-panel-border); }
.flat-blog-hero__inner, .flat-blog-hero h1, body[id^="module-everpsblog"] .flat-blog-hero h1 { color: var(--nx-text-strong) !important; /* (!: theme h1 colour vs skin) */ font-family: var(--nx-font); font-weight: 700; }
.flat-blog-hero p, body[id^="module-everpsblog"] .flat-blog-hero p { color: var(--nx-text-soft); font-family: var(--nx-font); }
.flat-blog-intro { color: var(--nx-text); }
/* section headings ("Latest messages") */
.flat-blog-section > .h2, #related-posts > .h2 { color: var(--nx-text-strong); border-bottom-color: var(--nx-accent); font-family: var(--nx-font); font-weight: 700; }
/* post cards (listing, category, related posts, and the home "latest" strip rendered by the CE Module widget) */
.flat-post-card {
  background: var(--nx-surface); border: var(--nx-panel-border); border-radius: var(--nx-radius-lg); overflow: hidden;
  -webkit-backdrop-filter: var(--nx-panel-blur); backdrop-filter: var(--nx-panel-blur); color: var(--nx-text);
  transition: border-color var(--nx-t), transform var(--nx-t);
}
.flat-post-card:hover { border-color: rgba(142, 179, 100, 0.45); transform: translateY(-2px); }
.flat-post-card__body { padding: var(--nx-space-5); }
.flat-post-card__title, .flat-post-card__title a, body[id^="module-everpsblog"] .flat-post-title,
.flat-related-card__title a { color: var(--nx-text-strong) !important; /* (!: skin + theme heading colours) */ font-family: var(--nx-font); font-weight: 700; }
.flat-post-card__title a:hover, .flat-related-card__title a:hover { color: var(--nx-accent) !important; /* (!: as above) */ }
.flat-post-card__excerpt, .flat-post-card__excerpt p, .flat-related-card__excerpt { color: var(--nx-text); }
.flat-post-card__link, .flat-related-card__link, .flat-post-more { color: var(--nx-link); font-weight: 600; }
.flat-post-card__link:hover, .flat-related-card__link:hover, .flat-post-more:hover { color: var(--nx-link-hover); }
.flat-post-card__image, .flat-post-card__placeholder, .flat-related-card__image { background: var(--nx-surface-2); }
.flat-post-card__placeholder { color: var(--nx-text-muted); }
/* single post */
body#module-everpsblog-post .everpsblog-post-hero { background: transparent !important; /* (!: skin) */ }
body#module-everpsblog-post .flat-post-page, body#module-everpsblog-post .postcontent {
  color: var(--nx-text); font-family: var(--nx-font); font-size: var(--nx-fs-body); line-height: 1.75;
}
body#module-everpsblog-post .flat-post-page { padding: var(--nx-space-7); background: var(--nx-surface); border: var(--nx-panel-border); border-radius: var(--nx-radius-lg); }
body#module-everpsblog-post .everpsblog-post-intro, body#module-everpsblog-post .postcontent p, body#module-everpsblog-post .postcontent li { color: var(--nx-text); }
body#module-everpsblog-post .postcontent h2, body#module-everpsblog-post .postcontent h3, body#module-everpsblog-post .postcontent h4 { color: var(--nx-text-strong); }
body#module-everpsblog-post .postcontent a { color: var(--nx-link); text-decoration: underline; text-underline-offset: 2px; }
body#module-everpsblog-post .postcontent img { border-radius: var(--nx-radius); }
body#module-everpsblog-post #related-posts { background: transparent; }
body[id^="module-everpsblog"] .everpsblog-blog-header { background-color: var(--nx-surface-solid) !important; /* (!: skin) */ }
/* dates / author / meta lines */
body[id^="module-everpsblog"] time, body[id^="module-everpsblog"] .date, body[id^="module-everpsblog"] [class*="__meta"],
body[id^="module-everpsblog"] [class*="__date"] { color: var(--nx-text-muted); }
/* keyword search (module toolbar) */
.everpsblog-search .form-control, .everpsblog-search input[type="search"] { background: var(--nx-input-bg); color: var(--nx-text-strong); border-color: var(--nx-border-strong); }
.everpsblog-search .btn { background: var(--nx-primary); border-color: var(--nx-primary); color: var(--nx-on-primary); }
@media (max-width: 767px) {
  body#module-everpsblog-post .flat-post-page { padding: var(--nx-space-5) var(--nx-space-4); }
  .flat-post-card__body { padding: var(--nx-space-4); }
}
