/* Source: mercris/mercris-oklch-elite-20261025.css */
/* MerCris Enterprise Premium Elite - Dynamic OKLCH tokens, October 2026.
 * One non-destructive CSS layer for admin, marketplace, distributor and public stores.
 * CSS Color Level 5 is progressively enhanced; no modification of authorization,
 * commerce, SVG resources, theme-published palette or database content.
 */

/* sRGB fallbacks for older browsers; established brand and tenant palettes prevail. */
html[data-mc-ui-contract], html.mc-storefront-root, html.mc-store-elite {
  --mc-elite-seed: #315fe7;
  --mc-elite-primary: #315fe7;
  --mc-elite-primary-hover: #244cc5;
  --mc-elite-primary-tint: #ebf2ff;
  --mc-elite-surface: #ffffff;
  --mc-elite-subtle: #f6f8fd;
  --mc-elite-border: #d9e4f2;
  --mc-elite-text: #172e4d;
  --mc-elite-shadow: 0 8px 28px rgba(32,74,130,.09), 0 1px 3px rgba(32,74,130,.05);
  --mc-elite-shadow-raised: 0 16px 36px rgba(32,74,130,.14), 0 3px 8px rgba(32,74,130,.07);
  --mc-elite-focus: #315fe7;
  --mc-elite-radius: 16px;
}
/* Admin reads the actual saved design color: no forced replacement of brand choice. */
html[data-mc-ui-contract] { --mc-elite-seed: var(--mcui-admin, #315fe7); }
html[data-mc-ui-contract][data-mc-module="commerce"] { --mc-elite-seed: var(--mcui-commerce, #007d65); }
html[data-mc-ui-contract][data-mc-module="crm"] { --mc-elite-seed: var(--mcui-crm, #3d57cf); }
html[data-mc-ui-contract][data-mc-module="entrepreneurs"] { --mc-elite-seed: var(--mcui-entrepreneurs, #495fcc); }
html[data-mc-ui-contract][data-mc-module="partners"] { --mc-elite-seed: var(--mcui-partners, #925800); }
html[data-mc-ui-contract][data-mc-module="operations"] { --mc-elite-seed: var(--mcui-operations, #0e7490); }
html[data-mc-ui-contract][data-mc-module="home"] { --mc-elite-seed: var(--mcui-executive, #2563eb); }
html.mc-storefront-root body.mc-storefront { --mc-elite-seed: var(--mc-accent, #315fe7); }
html.mc-store-elite { --mc-elite-seed: #146fa5; }
html[data-mc-ui-contract][data-mercris-theme="dark"] {
  color-scheme: dark;
  --mc-elite-surface: #1a2840;
  --mc-elite-subtle: #202f47;
  --mc-elite-border: #374c68;
  --mc-elite-text: #f1f6ff;
}
/* Level 4/5 progressive color math: browsers lacking support keep the fallbacks. */
@supports (color: oklch(60% 0.18 260)) {
  html[data-mc-ui-contract], html.mc-storefront-root, html.mc-store-elite {
    --mc-elite-surface: oklch(99.5% 0.004 255);
    --mc-elite-subtle: oklch(97.5% 0.010 257);
    --mc-elite-border: oklch(89% 0.025 256);
    --mc-elite-text: oklch(28% 0.050 260);
  }
  html[data-mc-ui-contract][data-mercris-theme="dark"] {
    --mc-elite-surface: oklch(25% 0.036 257);
    --mc-elite-subtle: oklch(30% 0.036 257);
    --mc-elite-border: oklch(41% 0.044 257);
    --mc-elite-text: oklch(96% 0.010 250);
  }
}
@supports (color: oklch(from red l c h)) {
  html[data-mc-ui-contract], html.mc-store-elite,
  html.mc-storefront-root body.mc-storefront {
    --mc-elite-primary: oklch(from var(--mc-elite-seed) l c h);
    --mc-elite-primary-hover: oklch(from var(--mc-elite-seed) calc(l - 0.07) c h);
  }
}
@supports (color: color-mix(in oklch, red 12%, white)) {
  html[data-mc-ui-contract], html.mc-store-elite,
  html.mc-storefront-root body.mc-storefront {
    --mc-elite-primary-tint: color-mix(in oklch, var(--mc-elite-primary) 11%, white);
    --mc-elite-border: color-mix(in oklch, var(--mc-elite-primary) 13%, var(--mc-elite-surface));
    --mc-elite-shadow: 0 8px 28px color-mix(in oklch, var(--mc-elite-primary) 12%, transparent),
       0 1px 3px color-mix(in oklch, var(--mc-elite-primary) 8%, transparent);
    --mc-elite-shadow-raised: 0 17px 36px color-mix(in oklch, var(--mc-elite-primary) 18%, transparent),
       0 3px 8px color-mix(in oklch, var(--mc-elite-primary) 10%, transparent);
    --mc-elite-focus: color-mix(in oklch, var(--mc-elite-primary) 70%, white);
  }
}
@supports (color: light-dark(white, black)) {
  html[data-mc-ui-contract] {
    --mc-elite-surface: light-dark(oklch(99.5% 0.004 255),oklch(25% 0.036 257));
    --mc-elite-subtle: light-dark(oklch(97.5% 0.01 257),oklch(30% 0.036 257));
    --mc-elite-text: light-dark(oklch(28% 0.05 260),oklch(96% 0.01 250));
  }
}
/* Visual surfaces: existing classes and semantics retained. */
body.mc-app :is(.mc-card, .mc-panel, .mc-stat-card, .mc-store-card,
  .mc-member-card, .mc-plan-card, .mcx-kpi, .mc-design-panel),
body.mc-storefront :is(.mc-store-card, .mc-product-card, .mc-card,
  .mc-panel, .mc-shop-card),
html.mc-store-elite :is(.product, .card, .trust article, .filters, .panel, .empty) {
  border-color: var(--mc-elite-border);
  box-shadow: var(--mc-elite-shadow);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
body.mc-app :is(.mc-card, .mc-panel, .mc-stat-card, .mc-store-card, .mcx-kpi):hover,
body.mc-storefront :is(.mc-store-card, .mc-product-card, .mc-shop-card):hover,
html.mc-store-elite :is(.product, .card):hover {
  box-shadow: var(--mc-elite-shadow-raised);
}
/* Functional primary actions keep existing event handlers, forms, dimensions and routes. */
body.mc-app :is(.mc-button-primary, .mc-design-publish-button, .mc-btn-primary, .mc-action-button),
body.mc-storefront :is(.mc-btn-primary, .mc-buy-button, .mc-checkout-btn),
html.mc-store-elite :is(.btn, .searchhead button, .filters button, .purchase button, .btn-primary) {
  background-color: var(--mc-elite-primary);
  border-color: var(--mc-elite-primary);
  color: #fff;
  box-shadow: 0 3px 10px color-mix(in srgb, var(--mc-elite-primary) 21%, transparent);
}
body.mc-app :is(.mc-button-primary, .mc-design-publish-button, .mc-btn-primary, .mc-action-button):hover,
body.mc-storefront :is(.mc-btn-primary, .mc-buy-button, .mc-checkout-btn):hover,
html.mc-store-elite :is(.btn, .searchhead button, .filters button, .purchase button, .btn-primary):hover {
  background-color: var(--mc-elite-primary-hover);
  border-color: var(--mc-elite-primary-hover);
}
/* High clarity controls without inflating spacing or replacing the existing SVGs. */
body.mc-app :is(button, a, input, select, textarea):focus-visible,
body.mc-storefront :is(button, a, input, select, textarea):focus-visible,
html.mc-store-elite :is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--mc-elite-focus);
  outline-offset: 3px;
}
body.mc-app :is(.mc-card, .mc-panel, .mc-stat-card, .mc-store-card),
body.mc-storefront :is(.mc-product-card, .mc-store-card),
html.mc-store-elite :is(.product, .card, .trust article) {
  border-radius: var(--mc-elite-radius);
}
/* CSS Color Module 5 contrast-color() is optional, not relied upon for accessibility. */
@supports (color: contrast-color(red)) {
  html.mc-store-elite :is(.btn, .searchhead button, .filters button, .purchase button, .btn-primary),
  body.mc-storefront :is(.mc-btn-primary, .mc-buy-button, .mc-checkout-btn) {
    color: contrast-color(var(--mc-elite-primary));
  }
}
@media (prefers-reduced-motion: reduce) {
  body.mc-app :is(.mc-card, .mc-panel, .mc-stat-card, .mc-store-card, .mcx-kpi),
  body.mc-storefront :is(.mc-store-card, .mc-product-card, .mc-shop-card),
  html.mc-store-elite :is(.product, .card) { transition: none; transform: none; }
}

/* Source: mercris/mercris-oklch-profesional-elite-20261025.css */
/* MerCris Enterprise | OKLCH Profesional Elite | incremental layer E3 | 2026-10-25
   Visual enhancement only: no DOM mutation, privilege changes, commerce changes,
   layout restructuring, font loading, or interference with tenant design settings.
   Requires MerCris OKLCH Global 20261025; phase-2 component layer is optional.
*/

/* RGB fallback tokens keep older browsers functional. The brand is the previously
   published MerCris token (not a hard-coded replacement of module/tenant settings). */
html[data-mc-ui-contract],
html.mc-storefront-root body.mc-storefront,
html.mc-store-elite {
  --mc-e3-brand: var(--mc-elite-primary, #315fe7);
  --mc-e3-brand-hover: var(--mc-elite-primary-hover, #244cc5);
  --mc-e3-ink: var(--mc-elite-text, #1a3050);
  --mc-e3-surface: var(--mc-elite-surface, #fff);
  --mc-e3-soft: var(--mc-elite-subtle, #f5f8fd);
  --mc-e3-line: #d7e2f0;
  --mc-e3-hover: #eef3fc;
  --mc-e3-active: #e8efff;
  --mc-e3-focus: #2954ce;
  --mc-e3-focus-ring: rgba(41,84,206,.22);
  --mc-e3-border-strong: #a5b8d2;
  --mc-e3-on-brand: #fff;
  --mc-e3-elevation: 0 9px 28px rgba(28,53,89,.095), 0 2px 5px rgba(28,53,89,.04);
  --mc-e3-elevation-high: 0 20px 44px rgba(28,53,89,.16),0 4px 10px rgba(28,53,89,.06);
  --mc-e3-radius: 14px;
  --mc-e3-speed: 160ms cubic-bezier(.2,.72,.24,1);
}
html[data-mc-ui-contract][data-mercris-theme='dark'] {
  --mc-e3-line: #42536d;
  --mc-e3-hover: #2c3d56;
  --mc-e3-active: #344b72;
  --mc-e3-focus: #9bb8ff;
  --mc-e3-focus-ring: rgba(155,184,255,.25);
  --mc-e3-border-strong: #6984a5;
  --mc-e3-elevation: 0 9px 28px rgba(1,6,15,.27),0 2px 6px rgba(1,6,15,.2);
  --mc-e3-elevation-high: 0 22px 46px rgba(1,6,15,.41),0 4px 11px rgba(1,6,15,.24);
}
@supports (color: oklch(68% .14 260)) {
  html[data-mc-ui-contract],html.mc-storefront-root body.mc-storefront,html.mc-store-elite {
    --mc-e3-line: oklch(89% .024 256);
    --mc-e3-hover: oklch(96% .017 258);
    --mc-e3-active: oklch(93.8% .035 260);
    --mc-e3-border-strong: oklch(75% .04 257);
    --mc-e3-focus: oklch(49% .18 266);
  }
  html[data-mc-ui-contract][data-mercris-theme='dark'] {
    --mc-e3-line: oklch(46% .04 255);
    --mc-e3-hover: oklch(33% .04 255);
    --mc-e3-active: oklch(39% .065 260);
    --mc-e3-border-strong: oklch(61% .06 250);
    --mc-e3-focus: oklch(81% .105 255);
  }
}
@supports (color: color-mix(in oklch, white 50%, black)) {
  html[data-mc-ui-contract],html.mc-storefront-root body.mc-storefront,html.mc-store-elite {
    --mc-e3-line: color-mix(in oklch, var(--mc-e3-brand) 14%, var(--mc-e3-surface));
    --mc-e3-hover: color-mix(in oklch, var(--mc-e3-brand) 7%, var(--mc-e3-surface));
    --mc-e3-active: color-mix(in oklch, var(--mc-e3-brand) 13%, var(--mc-e3-surface));
    --mc-e3-focus-ring: color-mix(in oklch, var(--mc-e3-focus) 27%, transparent);
    --mc-e3-elevation: 0 10px 27px color-mix(in oklch,var(--mc-e3-brand) 11%, transparent), 0 2px 5px rgba(28,53,89,.04);
    --mc-e3-elevation-high: 0 20px 44px color-mix(in oklch,var(--mc-e3-brand) 17%, transparent), 0 4px 10px rgba(28,53,89,.08);
  }
  html[data-mc-ui-contract][data-mercris-theme='dark'] {
    --mc-e3-line: color-mix(in oklch,var(--mc-e3-brand) 21%,var(--mc-e3-surface));
    --mc-e3-hover: color-mix(in oklch,var(--mc-e3-brand) 14%,var(--mc-e3-surface));
    --mc-e3-active: color-mix(in oklch,var(--mc-e3-brand) 22%,var(--mc-e3-surface));
  }
}
@supports (color: oklch(from red l c h)) {
  html[data-mc-ui-contract],html.mc-storefront-root body.mc-storefront,html.mc-store-elite {
    --mc-e3-brand-hover: oklch(from var(--mc-e3-brand) clamp(.28, calc(l - .055), .80) calc(c * .95) h);
    --mc-e3-focus: oklch(from var(--mc-e3-brand) clamp(.42, l, .61) clamp(.08, c, .2) h);
  }
}
/* Avoid implicit OS dark mode: use the project's explicit theme switch. */
@supports (color: light-dark(white, black)) {
  html[data-mc-ui-contract] {color-scheme: light; --mc-e3-border-strong: light-dark(#a5b8d2, #6984a5);}
  html[data-mc-ui-contract][data-mercris-theme='dark'] {color-scheme: dark;}
  html.mc-storefront-root body.mc-storefront,html.mc-store-elite {color-scheme: light;}
}
/* CSS Color 5 contrast-color is progressive, never the sole text-color fallback. */
@supports (color: contrast-color(red)) {
  html[data-mc-ui-contract],html.mc-storefront-root body.mc-storefront,html.mc-store-elite {
    --mc-e3-on-brand: contrast-color(var(--mc-e3-brand));
  }
}

/* Keyboard: accessible, visible, and compatible with existing action controls. */
html[data-mc-ui-contract] body.mc-app :is(a,button,input,select,textarea,[role='button'],[role='menuitem']):focus-visible,
html.mc-storefront-root body.mc-storefront :is(a,button,input,select,textarea,[role='button']):focus-visible,
html.mc-store-elite :is(a,button,input,select,textarea,[role='button']):focus-visible {
  outline: 2px solid var(--mc-e3-focus);
  outline-offset: 3px;
}
/* Do not add hover animations to disabled/inert/hidden controls. */
html[data-mc-ui-contract] body.mc-app :is(.mc-nav-item,.mc-user-dropdown-nav a,.mc-admin-rail-links a,.mc-icon-button),
html.mc-storefront-root body.mc-storefront :is(.mc-primary-nav a,.mc-btn,.mc-product-card),
html.mc-store-elite :is(.mc-a-btn,.mc-a-close,.navlinks a,.pillnav a) {
  transition: background-color var(--mc-e3-speed), border-color var(--mc-e3-speed),box-shadow var(--mc-e3-speed),color var(--mc-e3-speed);
}
/* Navigation: preserve active/aria-current indicators, backdrop logic, and click targets. */
html[data-mc-ui-contract] body.mc-app :is(.mc-nav-item,.mc-admin-rail-links a,.mc-user-dropdown-nav a):not([aria-disabled='true']):not(.mc-nav-item-disabled):hover,
html.mc-storefront-root body.mc-storefront .mc-primary-nav a:hover,
html.mc-store-elite :is(.navlinks a,.pillnav a,.mc-a-nav a):hover {
  background-color: var(--mc-e3-hover);
}
html[data-mc-ui-contract] body.mc-app :is(.mc-nav-item,.mc-admin-rail-links a)[aria-current='page'],
html.mc-storefront-root body.mc-storefront .mc-primary-nav a[aria-current='page'],
html.mc-store-elite :is(.navlinks a,.mc-a-nav a)[aria-current='page'] {
  box-shadow: inset 3px 0 0 var(--mc-e3-brand);
}
/* Form focus, not value binding or input size. */
html[data-mc-ui-contract] body.mc-app .mc-content :is(input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='file']):not([type='color']),select,textarea),
html.mc-storefront-root body.mc-storefront main :is(input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='file']):not([type='color']),select,textarea),
html.mc-store-elite :is(main,.mc-a-modal,.searchhead,.filters) :is(input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='file']):not([type='color']),select,textarea) {
  border-radius: min(12px,var(--mc-e3-radius));
  transition: box-shadow var(--mc-e3-speed),border-color var(--mc-e3-speed),background-color var(--mc-e3-speed);
}
html[data-mc-ui-contract] body.mc-app .mc-content :is(input,select,textarea):not(:disabled):focus-visible,
html.mc-storefront-root body.mc-storefront main :is(input,select,textarea):not(:disabled):focus-visible,
html.mc-store-elite :is(main,.mc-a-modal,.searchhead,.filters) :is(input,select,textarea):not(:disabled):focus-visible {
  border-color: var(--mc-e3-focus);
  box-shadow: 0 0 0 4px var(--mc-e3-focus-ring);
}
html[data-mc-ui-contract] body.mc-app .mc-content :is(input[type='checkbox'],input[type='radio']),
html.mc-storefront-root body.mc-storefront main :is(input[type='checkbox'],input[type='radio']),
html.mc-store-elite :is(input[type='checkbox'],input[type='radio']) {
  accent-color: var(--mc-e3-brand);
}
/* Primary controls gain tactile depth without changing event handlers or geometry. */
html[data-mc-ui-contract] body.mc-app :is(.mc-btn-primary,.mc-button-primary,.mc-design-publish-button):not(:disabled),
html.mc-storefront-root body.mc-storefront :is(.mc-btn-primary,.mc-buy-button,.mc-checkout-btn):not(:disabled),
html.mc-store-elite :is(.mc-a-btn:not(.mc-a-btn-subtle):not(.mc-a-btn-warn),.btn-primary,.purchase button,.searchhead button,.filters button):not(:disabled) {
  box-shadow: 0 5px 15px var(--mc-e3-focus-ring);
}
html[data-mc-ui-contract] body.mc-app :is(.mc-btn-primary,.mc-button-primary,.mc-design-publish-button):not(:disabled):active,
html.mc-storefront-root body.mc-storefront :is(.mc-btn-primary,.mc-buy-button,.mc-checkout-btn):not(:disabled):active,
html.mc-store-elite :is(.mc-a-btn:not(.mc-a-btn-subtle):not(.mc-a-btn-warn),.btn-primary,.purchase button,.searchhead button,.filters button):not(:disabled):active {
  box-shadow: 0 2px 7px var(--mc-e3-focus-ring);
}
/* On-brand labels respect tenant chroma only where the primary style is already used. */
@supports (color: contrast-color(red)) {
  html[data-mc-ui-contract] body.mc-app :is(.mc-btn-primary,.mc-button-primary,.mc-design-publish-button),
  html.mc-storefront-root body.mc-storefront :is(.mc-btn-primary,.mc-buy-button,.mc-checkout-btn) {
    color: var(--mc-e3-on-brand);
  }
}

/* Cards and KPI surfaces: subtle elevation, never a fake clickable affordance. */
html[data-mc-ui-contract] body.mc-app :is(.mc-card,.mc-panel,.mc-stat-card,.mc-store-card,.mc-member-card,.mc-plan-card,.mcx-kpi,.mc-design-panel),
html.mc-storefront-root body.mc-storefront :is(.mc-card,.mc-store-card,.mc-shop-card,.mc-product-card),
html.mc-store-elite :is(.mc-a-panel,.mc-a-stat,.mc-a-address,.product,.card,.trust article,.filters,.empty) {
  border-color: var(--mc-e3-line);
  box-shadow: var(--mc-e3-elevation);
  transition: border-color var(--mc-e3-speed),box-shadow var(--mc-e3-speed);
}
html[data-mc-ui-contract] body.mc-app :is(.mc-card,.mc-panel,.mc-stat-card,.mcx-kpi):hover,
html.mc-storefront-root body.mc-storefront :is(.mc-store-card,.mc-shop-card,.mc-product-card):hover,
html.mc-store-elite :is(.mc-a-address,.product,.card):hover {
  box-shadow: var(--mc-e3-elevation-high);
}
/* Modal surfaces, account flyouts and tables: no interference with stacking or display. */
html[data-mc-ui-contract] body.mc-app :is(.mc-modal-content,.mc-dialog,.mc-user-dropdown,.mc-command-dialog,.mc293-switcher-panel,.mc-premium-account-panel),
html.mc-storefront-root body.mc-storefront :is(.mc-modal-content,.mc-dialog),
html.mc-store-elite :is(.mc-a-modal,.dialog,.modal-content) {
  border-color: var(--mc-e3-line);
  box-shadow: var(--mc-e3-elevation-high);
}
html[data-mc-ui-contract] body.mc-app .mc-content :is(table,.mc-table) thead th,
html.mc-storefront-root body.mc-storefront main :is(table,.mc-table) thead th,
html.mc-store-elite :is(.mc-a-table,table) thead th {border-bottom-color:var(--mc-e3-border-strong);}
html[data-mc-ui-contract] body.mc-app .mc-content :is(table,.mc-table) tbody tr:hover,
html.mc-storefront-root body.mc-storefront main :is(table,.mc-table) tbody tr:hover,
html.mc-store-elite :is(.mc-a-table,table) tbody tr:hover {background-color:var(--mc-e3-hover);}
/* Existing semantic dangerous/critical states are intentionally not repainted. */
@media (prefers-contrast: more) {
  html[data-mc-ui-contract],html.mc-storefront-root body.mc-storefront,html.mc-store-elite {
    --mc-e3-line: var(--mc-e3-border-strong);
  }
  html[data-mc-ui-contract] body.mc-app :is(a,button,input,select,textarea):focus-visible,
  html.mc-storefront-root body.mc-storefront :is(a,button,input,select,textarea):focus-visible,
  html.mc-store-elite :is(a,button,input,select,textarea):focus-visible {outline-width: 3px;}
}
@media (prefers-reduced-motion: reduce) {
  html[data-mc-ui-contract] body.mc-app :is(.mc-nav-item,.mc-card,.mc-panel,.mc-user-dropdown-nav a,.mc-content input,.mc-content select,.mc-content textarea),
  html.mc-storefront-root body.mc-storefront :is(.mc-primary-nav a,.mc-product-card,main input,main select,main textarea),
  html.mc-store-elite :is(.mc-a-btn,.mc-a-panel,.mc-a-address,.product,.card,.searchhead button,.filters button) {
    transition: none;
  }
}
@media print {
  html[data-mc-ui-contract] body.mc-app :is(.mc-card,.mc-panel,.mc-stat-card),
  html.mc-storefront-root body.mc-storefront :is(.mc-product-card,.mc-store-card),
  html.mc-store-elite :is(.mc-a-panel,.product,.card,.filters) {box-shadow:none;}
}
/* Existing store links upgraded from arrow glyphs to compact vector icons. */
html.mc-store-elite .mc-e3-inline-icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: -0.14em;
  margin-inline-end: 0.32em;
  flex-shrink: 0;
}

/* Source: mercris/mercris-oklch-profesional-elite-e4-20261025.css */
/* MerCris Enterprise | OKLCH Profesional Elite E4 | incremental and scoped.
   Loads AFTER Global / optional Components / E3; no JS, routing, business logic,
   permission, visibility, layering, tenant palette, input size or click behavior changes.
   Fallback -> OKLCH -> color-mix -> relative OKLCH, gated per feature. */

/* Semantic UI contract; brand is E3's resolved per-module/per-store value. */
html[data-mc-ui-contract],
html.mc-storefront-root body.mc-storefront,
html.mc-store-elite {
  --mc-e4-control-line: #c9d8e9;
  --mc-e4-control-bg: #ffffff;
  --mc-e4-control-hover: #f6f9fe;
  --mc-e4-muted: #526782;
  --mc-e4-divider: #e5edf7;
  --mc-e4-selection: #eaf0ff;
  --mc-e4-status-info: #2b5bad;
  --mc-e4-status-ok: #18704d;
  --mc-e4-status-danger: #a22c36;
  --mc-e4-status-warn: #895400;
  --mc-e4-ok-bg: #edf8f3;
  --mc-e4-error-bg: #fff0f1;
  --mc-e4-info-bg: #ecf3ff;
  --mc-e4-warn-bg: #fff6e4;
  --mc-e4-ring: var(--mc-e3-focus-ring, rgba(41,84,206,.22));
  --mc-e4-radius: 12px;
  --mc-e4-transition: 160ms cubic-bezier(.2,.72,.24,1);
}
html[data-mc-ui-contract][data-mercris-theme='dark'] {
  --mc-e4-control-line: #526b8a;
  --mc-e4-control-bg: #263850;
  --mc-e4-control-hover: #304563;
  --mc-e4-muted: #bdcbe0;
  --mc-e4-divider: #405670;
  --mc-e4-selection: #2d456e;
  --mc-e4-status-info: #a9c4ff;
  --mc-e4-status-ok: #9de4bf;
  --mc-e4-status-danger: #ffabb4;
  --mc-e4-status-warn: #f5d08c;
  --mc-e4-ok-bg: #183f32;
  --mc-e4-error-bg: #4a242d;
  --mc-e4-info-bg: #283c60;
  --mc-e4-warn-bg: #493817;
}
@supports (color: oklch(65% .13 260)) {
  html[data-mc-ui-contract],html.mc-storefront-root body.mc-storefront,html.mc-store-elite {
    --mc-e4-control-line: oklch(85% .033 260);
    --mc-e4-control-bg: oklch(99.6% .004 260);
    --mc-e4-muted: oklch(45% .047 260);
    --mc-e4-divider: oklch(93% .015 260);
    --mc-e4-status-info: oklch(44% .16 265);
    --mc-e4-status-ok: oklch(44% .105 158);
    --mc-e4-status-danger: oklch(48% .17 25);
    --mc-e4-status-warn: oklch(51% .11 72);
    --mc-e4-ok-bg: oklch(96% .025 155);
    --mc-e4-error-bg: oklch(96% .026 25);
    --mc-e4-info-bg: oklch(96% .025 263);
    --mc-e4-warn-bg: oklch(97% .028 83);
  }
  html[data-mc-ui-contract][data-mercris-theme='dark'] {
    --mc-e4-control-line: oklch(53% .05 259);
    --mc-e4-control-bg: oklch(31% .04 258);
    --mc-e4-muted: oklch(83% .025 258);
    --mc-e4-divider: oklch(42% .04 257);
    --mc-e4-status-info: oklch(82% .095 255);
    --mc-e4-status-ok: oklch(85% .08 160);
    --mc-e4-status-danger: oklch(82% .10 22);
    --mc-e4-status-warn: oklch(85% .10 83);
    --mc-e4-ok-bg: oklch(33% .058 161);
    --mc-e4-error-bg: oklch(33% .065 25);
    --mc-e4-info-bg: oklch(35% .056 259);
    --mc-e4-warn-bg: oklch(35% .06 80);
  }
}
@supports (color: color-mix(in oklch, red 30%, white)) {
  html[data-mc-ui-contract],html.mc-storefront-root body.mc-storefront,html.mc-store-elite {
    --mc-e4-control-line: color-mix(in oklch,var(--mc-e3-brand) 18%,var(--mc-e3-surface));
    --mc-e4-control-hover: color-mix(in oklch,var(--mc-e3-brand) 4%,var(--mc-e3-surface));
    --mc-e4-divider: color-mix(in oklch,var(--mc-e3-brand) 9%,var(--mc-e3-surface));
    --mc-e4-selection: color-mix(in oklch,var(--mc-e3-brand) 11%,var(--mc-e3-surface));
    --mc-e4-ring: color-mix(in oklch,var(--mc-e3-focus) 32%,transparent);
  }
  html[data-mc-ui-contract][data-mercris-theme='dark'] {
    --mc-e4-control-line: color-mix(in oklch,var(--mc-e3-brand) 27%,var(--mc-e3-surface));
    --mc-e4-control-hover: color-mix(in oklch,var(--mc-e3-brand) 16%,var(--mc-e3-surface));
    --mc-e4-divider: color-mix(in oklch,var(--mc-e3-brand) 18%,var(--mc-e3-surface));
    --mc-e4-selection: color-mix(in oklch,var(--mc-e3-brand) 22%,var(--mc-e3-surface));
  }
}
@supports (color: oklch(from red l c h)) {
  html[data-mc-ui-contract],html.mc-storefront-root body.mc-storefront,html.mc-store-elite {
    --mc-e4-brand-muted: oklch(from var(--mc-e3-brand) clamp(.35,calc(l - .08),.65) calc(c * .7) h);
  }
}
@supports (color: light-dark(white, black)) {
  html[data-mc-ui-contract] { color-scheme: light; }
  html[data-mc-ui-contract][data-mercris-theme='dark'] { color-scheme: dark; }
  html.mc-storefront-root body.mc-storefront,html.mc-store-elite { color-scheme: light; }
}

/* Inputs: preserve native interaction, browser autofill, error semantics and geometry. */
html[data-mc-ui-contract] body.mc-app .mc-content :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea),
html.mc-storefront-root body.mc-storefront main :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea),
html.mc-store-elite :is(main,.mc-a-modal,.searchhead,.filters) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) {
  border-color: var(--mc-e4-control-line);
  transition: border-color var(--mc-e4-transition),box-shadow var(--mc-e4-transition),background-color var(--mc-e4-transition);
}
html[data-mc-ui-contract] body.mc-app .mc-content :is(input,select,textarea):not(:disabled):hover:not(:focus),
html.mc-storefront-root body.mc-storefront main :is(input,select,textarea):not(:disabled):hover:not(:focus),
html.mc-store-elite :is(main,.mc-a-modal) :is(input,select,textarea):not(:disabled):hover:not(:focus) {border-color:var(--mc-e3-border-strong);}
/* :user-invalid is more discreet than :invalid on initial page load. */
html[data-mc-ui-contract] body.mc-app .mc-content :is(input,select,textarea):is([aria-invalid='true'],.is-invalid,.has-error),
html.mc-storefront-root body.mc-storefront main :is(input,select,textarea):is([aria-invalid='true'],.is-invalid,.has-error),
html.mc-store-elite :is(main,.mc-a-modal) :is(input,select,textarea):is([aria-invalid='true'],.is-invalid,.has-error) {
  border-color: var(--mc-e4-status-danger);
  box-shadow: 0 0 0 2px var(--mc-e4-error-bg);
}
@supports selector(input:user-invalid) {
  html[data-mc-ui-contract] body.mc-app .mc-content :is(input,select,textarea):user-invalid,
  html.mc-storefront-root body.mc-storefront main :is(input,select,textarea):user-invalid,
  html.mc-store-elite :is(main,.mc-a-modal) :is(input,select,textarea):user-invalid {border-color:var(--mc-e4-status-danger);}
}
html[data-mc-ui-contract] body.mc-app .mc-content :is(input,select,textarea):disabled,
html.mc-storefront-root body.mc-storefront main :is(input,select,textarea):disabled,
html.mc-store-elite :is(main,.mc-a-modal) :is(input,select,textarea):disabled {cursor:not-allowed;}
html[data-mc-ui-contract] body.mc-app .mc-content :is(input[type=file])::file-selector-button,
html.mc-storefront-root body.mc-storefront main input[type=file]::file-selector-button,
html.mc-store-elite :is(main,.mc-a-modal) input[type=file]::file-selector-button {
  border:1px solid var(--mc-e4-control-line);border-radius:8px;
  background:var(--mc-e3-soft);color:var(--mc-e3-ink);
  padding:.42em .7em;margin-inline-end:.7em;font:inherit;cursor:pointer;
}
/* Labels, helper text and required indicators; retain custom error messages. */
html[data-mc-ui-contract] body.mc-app .mc-content :is(.mc-field-hint,.mc-help-text,.form-hint,small.help),
html.mc-storefront-root body.mc-storefront main :is(.mc-field-hint,.mc-help-text,.form-hint),
html.mc-store-elite :is(.mc-a-hint,.mc-a-lead,.mc-a-email) {color:var(--mc-e4-muted);}

/* Menus and tabs: no change to permissions, active classes, routing or geometry. */
html[data-mc-ui-contract] body.mc-app :is(.mc-nav-item,.mc-admin-rail-links a,.mc-user-dropdown-nav a,.mc-command-item),
html.mc-storefront-root body.mc-storefront :is(.mc-primary-nav a,.mc-btn),
html.mc-store-elite :is(.mc-a-nav a,.mc-a-toplink,.navlinks a,.pillnav a) {
  transition:background-color var(--mc-e4-transition),color var(--mc-e4-transition),border-color var(--mc-e4-transition),box-shadow var(--mc-e4-transition);
}
html[data-mc-ui-contract] body.mc-app :is(.mc-nav-item.is-active,.mc-nav-item[aria-current='page'],.mc-admin-rail-links a.is-active,.mc-admin-rail-links a[aria-current='page']),
html.mc-storefront-root body.mc-storefront .mc-primary-nav a[aria-current='page'],
html.mc-store-elite :is(.mc-a-nav a[aria-current='page'],.navlinks a[aria-current='page']) {
  box-shadow:inset 3px 0 0 var(--mc-e3-brand);
}
html[data-mc-ui-contract] body.mc-app :is(.mc-command-item,.mc-user-dropdown-nav a):not([aria-disabled='true']):hover,
html.mc-store-elite :is(.mc-a-nav a,.mc-a-toplink):hover {background-color:var(--mc-e4-selection);}
html[data-mc-ui-contract] body.mc-app :is(.mc-command-item,.mc-nav-item,.mc-admin-rail-links a)[aria-disabled='true'] {cursor:not-allowed;}

/* Non-destructive table styling: status colors, sortable headers and links remain intact. */
html[data-mc-ui-contract] body.mc-app .mc-content :is(.mc-table,table) :is(th,td),
html.mc-storefront-root body.mc-storefront main :is(.mc-table,table) :is(th,td),
html.mc-store-elite :is(.mc-a-table,table) :is(th,td) {border-bottom-color:var(--mc-e4-divider);}
html[data-mc-ui-contract] body.mc-app .mc-content :is(.mc-table,table) tbody tr:focus-within,
html.mc-storefront-root body.mc-storefront main :is(.mc-table,table) tbody tr:focus-within,
html.mc-store-elite :is(.mc-a-table,table) tbody tr:focus-within {box-shadow:inset 3px 0 0 var(--mc-e3-focus);}
/* Scroll containers remain scrollable; only a stable outline helps keyboard users. */
html[data-mc-ui-contract] body.mc-app .mc-content :is(.mc-table-scroll,.table-responsive):focus-visible,
html.mc-store-elite :is(.mc-a-table-scroll,.table-scroll):focus-visible {outline:2px solid var(--mc-e3-focus);outline-offset:2px;}

/* Buttons and action groups: feedback states without modifying enabled/disabled wiring. */
html[data-mc-ui-contract] body.mc-app :is(.mc-btn-primary,.mc-icon-button,.mc-command-trigger,.mc-design-link),
html.mc-storefront-root body.mc-storefront :is(.mc-btn,.mc-buy-button,.mc-checkout-btn),
html.mc-store-elite :is(.mc-a-btn,.btn,.button,button) {
  transition:background-color var(--mc-e4-transition),color var(--mc-e4-transition),border-color var(--mc-e4-transition),box-shadow var(--mc-e4-transition);
}
html[data-mc-ui-contract] body.mc-app :is(button,[role=button])[aria-busy='true'],
html.mc-storefront-root body.mc-storefront :is(button,[role=button])[aria-busy='true'],
html.mc-store-elite :is(button,[role=button])[aria-busy='true'] {cursor:progress;}
html[data-mc-ui-contract] body.mc-app :is(button,[role=button]):disabled,
html.mc-storefront-root body.mc-storefront :is(button,[role=button]):disabled,
html.mc-store-elite :is(button,[role=button]):disabled {cursor:not-allowed;}

/* Cards, panels, empty states: avoid reflow, forced backgrounds and false click cues. */
html[data-mc-ui-contract] body.mc-app :is(.mc-card,.mc-panel,.mc-stat-card,.mcx-kpi,.mc-store-card,.mc-member-card,.mc-plan-card),
html.mc-storefront-root body.mc-storefront :is(.mc-card,.mc-store-card,.mc-product-card,.mc-shop-card),
html.mc-store-elite :is(.mc-a-panel,.mc-a-stat,.mc-a-address,.card,.product,.tile,.empty) {
  border-color:var(--mc-e4-control-line);
}
html[data-mc-ui-contract] body.mc-app :is(.mc-command-empty,.mc293-switcher-empty),
html.mc-store-elite :is(.mc-a-empty,.empty) {
  border-color:var(--mc-e4-divider);
  color:var(--mc-e4-muted);
}

/* Flyouts and modals keep their existing z-index, display, scroll-lock, and focus logic. */
html[data-mc-ui-contract] body.mc-app :is(.mc-user-dropdown,.mc-command-dialog,.mc293-switcher-panel,.mc-premium-account-panel,.mc-modal-content,.mc-dialog),
html.mc-storefront-root body.mc-storefront :is(.mc-dialog,.mc-modal-content),
html.mc-store-elite :is(.mc-a-modal,.dialog,.modal-content) {
  border-color:var(--mc-e4-control-line);
  box-shadow:var(--mc-e3-elevation-high);
}
html[data-mc-ui-contract] body.mc-app :is(.mc-command-footer,.mc-user-dropdown-head,.mc293-switcher-footer),
html.mc-store-elite :is(.mc-a-modal-header,.mc-a-modal-footer) {
  border-color:var(--mc-e4-divider);
}
/* Notice colors: only known semantic classes, never generic custom status badges. */
html.mc-store-elite :is(.mc-a-alert-error,.cart-error),
html.mc-storefront-root body.mc-storefront .mc-alert-error {
  border-color:var(--mc-e4-status-danger);
  background-color:var(--mc-e4-error-bg);
  color:var(--mc-e4-status-danger);
}
html.mc-store-elite .warning {
  border-color:var(--mc-e4-status-warn);
  background-color:var(--mc-e4-warn-bg);
  color:var(--mc-e4-status-warn);
}
html.mc-storefront-root body.mc-storefront .mc-alert-good {
  border-color:var(--mc-e4-status-ok);
  background-color:var(--mc-e4-ok-bg);
  color:var(--mc-e4-status-ok);
}
html[data-mc-ui-contract] body.mc-app :is(.mc-impersonation-banner,.mc-global-feedback) {border-color:var(--mc-e4-control-line);}
/* Status badge, chip and category label details inherit business state colors. */
html[data-mc-ui-contract] body.mc-app :is(.mc-badge,.mc-tag,.mc-status),
html.mc-store-elite :is(.mc-a-pill,.mc-a-pill-muted) {border-color:var(--mc-e4-divider);}

/* Accessibility: visible focus also for command palette and account controls. */
html[data-mc-ui-contract] body.mc-app :is(.mc-command-item,.mc293-switcher-trigger,.mc-top-avatar-button,.mc-logout-button):focus-visible,
html.mc-store-elite :is(.mc-a-close,.mc-a-btn,.mc-a-nav a,.button):focus-visible {
  outline:2px solid var(--mc-e3-focus);outline-offset:3px;
  box-shadow:0 0 0 4px var(--mc-e4-ring);
}
@media (prefers-contrast:more) {
  html[data-mc-ui-contract],html.mc-storefront-root body.mc-storefront,html.mc-store-elite {--mc-e4-control-line:var(--mc-e3-border-strong);}
  html[data-mc-ui-contract] body.mc-app :is(a,button,input,select,textarea):focus-visible,
  html.mc-storefront-root body.mc-storefront :is(a,button,input,select,textarea):focus-visible,
  html.mc-store-elite :is(a,button,input,select,textarea):focus-visible {outline-width:3px;}
}
@media (prefers-reduced-motion:reduce) {
  html[data-mc-ui-contract] body.mc-app :is(.mc-nav-item,.mc-command-item,.mc-card,.mc-btn-primary,.mc-content input,.mc-content select,.mc-content textarea),
  html.mc-storefront-root body.mc-storefront :is(.mc-primary-nav a,.mc-card,main input,main select,main textarea),
  html.mc-store-elite :is(.mc-a-btn,.mc-a-nav a,.mc-a-panel,.product,button,main input,main select,main textarea) {transition:none;}
}
@media (max-width:640px) {
  html.mc-store-elite :is(.mc-a-table-scroll,.table-scroll) {max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;}
  html[data-mc-ui-contract] body.mc-app .mc-content :is(.mc-table-scroll,.table-responsive) {max-width:100%;overflow-x:auto;}
  /* No change to modal position, width, drawer activation or page layout. */
}
@media print {
  html[data-mc-ui-contract] body.mc-app :is(.mc-card,.mc-panel,.mc-stat-card,.mc-dialog),
  html.mc-storefront-root body.mc-storefront :is(.mc-card,.mc-product-card),
  html.mc-store-elite :is(.mc-a-panel,.mc-a-modal,.card,.product,.tile) {box-shadow:none;}
}

/* Source: mercris/mercris-experience-storefront-e47.css */
/* E4.7 - published per-store design, restricted to one public storefront. */
body.mc-storefront.mc-e47-published { background:var(--mc-e47-bg,#f8fafc) !important; color:var(--mc-e47-text,#0f172a); }
body.mc-storefront.mc-e47-published .mc-topbar { background:var(--mc-e47-primary,#245fe0) !important; border-color:color-mix(in oklch,var(--mc-e47-primary),black 13%); }
body.mc-storefront.mc-e47-published .mc-topbar :is(a,.mc-brand,strong,small){color:#fff !important}
body.mc-storefront.mc-e47-published .mc-shop-hero {
  background:linear-gradient(118deg,var(--mc-e47-primary,#245fe0),var(--mc-e47-secondary,#234567)) !important;
  border-radius:var(--mc-e47-radius,18px);border-color:color-mix(in oklch,var(--mc-e47-primary),black 12%) !important;
}
body.mc-storefront.mc-e47-published .mc-shop-hero :is(h1,p,.mc-kicker){color:#fff!important}
body.mc-storefront.mc-e47-published :is(.mc-section-heading h2,.mc-section-heading h3,.mc252-results-heading p){color:var(--mc-e47-text)!important}
body.mc-storefront.mc-e47-published :is(.mc-product-card,.mc-shop-card,.mc252-catalogue,.mc-panel,.mc-card){border-radius:var(--mc-e47-radius,18px)}
body.mc-storefront.mc-e47-published :is(.mc-product-card,.mc-shop-card,.mc-panel,.mc-card){background:var(--mc-e47-surface,#fff)}
body.mc-storefront.mc-e47-published :is(.mc-btn-primary,.mc-button-primary,.mc-btn--primary,button[type=submit].mc-primary){background:var(--mc-e47-primary)!important;border-color:var(--mc-e47-primary)!important;color:#fff!important}
body.mc-storefront.mc-e47-published :is(a,button):focus-visible{outline:3px solid var(--mc-e47-accent)!important;outline-offset:2px}
body.mc-storefront.mc-e47-published[data-e47-button=rounded] :is(button,.mc-btn,.mc252-category-pill){border-radius:12px}
body.mc-storefront.mc-e47-published[data-e47-button=pill] :is(button,.mc-btn,.mc252-category-pill){border-radius:999px}
body.mc-storefront.mc-e47-published[data-e47-button=square] :is(button,.mc-btn,.mc252-category-pill){border-radius:5px}
body.mc-storefront.mc-e47-published[data-e47-font=serif] {font-family:Georgia,'Times New Roman',serif}
body.mc-storefront.mc-e47-published[data-e47-font=display] {font-family:'Trebuchet MS',system-ui,sans-serif}
body.mc-storefront.mc-e47-published[data-e47-font=sans],body.mc-storefront.mc-e47-published[data-e47-font=system] {font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body.mc-storefront.mc-e47-published[data-e47-header=centered] .mc-topbar-inner {justify-content:center;gap:28px;flex-wrap:wrap}
body.mc-storefront.mc-e47-published[data-e47-header=minimal] .mc-topbar {box-shadow:none}
/* Browser fallback for CSS Color 5; the base colors above are solid values. */
@supports (background:oklch(from red l c h)) {
  body.mc-storefront.mc-e47-published .mc-shop-hero {background:linear-gradient(120deg,var(--mc-e47-primary),oklch(from var(--mc-e47-secondary) l c h / 0.93))!important}
}
@media (max-width:700px){body.mc-storefront.mc-e47-published .mc-topbar-inner{flex-wrap:wrap}}
@media (prefers-reduced-motion:reduce){body.mc-storefront.mc-e47-published *,body.mc-storefront.mc-e47-published *::before{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Source: mercris/mercris-experience-storefront-e48.css */
/* MerCris Experience E4.8. Merchant media remains independent of tokens. */
body.mc-storefront .mc-e48-store-brand {display:inline-flex;align-items:center;min-width:0;gap:12px;text-decoration:none}
body.mc-storefront .mc-e48-store-brand .mc-e48-logo-frame {display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 1px 12px rgb(0 0 0 / 10%)}
body.mc-storefront .mc-e48-logo-frame img {display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff}
body.mc-storefront .mc-e48-brand-name {display:flex;flex-direction:column;min-width:0;gap:2px}
body.mc-storefront .mc-e48-brand-name strong {font-size:clamp(1rem,1.6vw,1.35rem);overflow-wrap:anywhere;line-height:1.12}
body.mc-storefront .mc-e48-brand-name small {letter-spacing:.08em}
/* The actual assigned Cover/Hero wins over CSS preset backgrounds.
   Unlike E4.7's generated gradient this is a real image layer. */
body.mc-storefront .mc-shop-hero.mc-e48-has-cover {position:relative;isolation:isolate;overflow:hidden;min-height:245px}
body.mc-storefront .mc-shop-hero.mc-e48-has-cover > img.mc-e48-cover-image {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;max-width:none;pointer-events:none}
body.mc-storefront .mc-shop-hero.mc-e48-has-cover > .mc-e48-cover-shade {position:absolute;inset:0;display:block;z-index:1;background:linear-gradient(90deg,rgb(10 24 42 / 73%) 0%,rgb(10 24 42 / 43%) 48%,rgb(10 24 42 / 8%) 100%);pointer-events:none}
body.mc-storefront .mc-shop-hero.mc-e48-has-cover > .mc-e48-cover-content {position:relative;z-index:2;max-width:780px}
body.mc-storefront .mc-shop-hero.mc-e48-has-cover :is(h1,p,.mc-kicker) {color:#fff!important;text-shadow:0 1px 3px rgb(0 0 0 / 22%)}
@supports (background:color-mix(in oklch,red,white)) {
  body.mc-storefront .mc-shop-hero.mc-e48-has-cover > .mc-e48-cover-shade {background:linear-gradient(90deg,color-mix(in oklch,black 63%,transparent),color-mix(in oklch,black 22%,transparent) 70%,transparent)}
}
@media (max-width:700px) {
  body.mc-storefront .mc-e48-store-brand {gap:9px}
  body.mc-storefront .mc-e48-store-brand .mc-e48-logo-frame {width:40px;height:40px;flex-basis:40px}
  body.mc-storefront .mc-e48-brand-name small{font-size:.6rem}
  body.mc-storefront .mc-shop-hero.mc-e48-has-cover {min-height:220px}
  body.mc-storefront .mc-shop-hero.mc-e48-has-cover > .mc-e48-cover-shade{background:linear-gradient(90deg,rgb(8 23 40 / 82%),rgb(8 23 40 / 32%))}
}

/* Source: mercris/mercris-experience-hero-e410.css */
/* MerCris E4.10 - storefront Cover/Hero as the dominant image layer.
   Design tokens keep affecting the frame and text, not the assigned image. */
body.mc-storefront .mc-shop-hero.mc-e410-cover{
  position:relative!important;isolation:isolate;overflow:hidden!important;
  min-height:clamp(220px,24vw,320px);
  display:flex;align-items:center;
  background:transparent!important;
}
body.mc-storefront .mc-shop-hero.mc-e410-cover::after{display:none!important}
body.mc-storefront .mc-shop-hero.mc-e410-cover > img.mc-e410-public-cover{
  position:absolute!important;inset:0!important;display:block!important;
  width:100%!important;height:100%!important;max-width:none!important;
  object-fit:cover!important;object-position:center center!important;
  opacity:1!important;visibility:visible!important;z-index:0!important;
  pointer-events:none;
}
body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-shade{
  position:absolute!important;inset:0!important;display:block!important;
  background:linear-gradient(90deg,rgba(8,24,46,.76) 0%,rgba(8,24,46,.49) 48%,rgba(8,24,46,.08) 100%)!important;
  z-index:1!important;pointer-events:none;
}
body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content{
  position:relative!important;z-index:2!important;max-width:min(760px,94%);
}
body.mc-storefront .mc-shop-hero.mc-e410-cover :is(h1,p,.mc-kicker){color:#fff!important}
@media(max-width:700px){
 body.mc-storefront .mc-shop-hero.mc-e410-cover{min-height:230px;padding:28px 23px}
 body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-shade{
  background:linear-gradient(90deg,rgba(8,24,46,.82),rgba(8,24,46,.35))!important;
 }
}

/* Source: mercris/mercris-experience-e411.css */
/* E4.11 — same full-frame, never-crop visual rule in Preview & Public. */
body.mc-storefront .mc-shop-hero.mc-e410-cover,
.mc-preview-hero.has-cover { min-height: 230px!important; height:clamp(230px,24vw,335px)!important; isolation:isolate!important; overflow:hidden!important; background:#15213b!important; }
body.mc-storefront .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-backdrop,
.mc-preview-hero.has-cover > img.mc-e411-hero-backdrop { object-fit:cover!important; filter:blur(18px) saturate(.75)!important; transform:scale(1.08); opacity:.35!important; z-index:0!important; }
body.mc-storefront .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-fit:contain!important; object-position:center center!important; opacity:1!important; z-index:1!important;}
body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-shade,
.mc-preview-hero.has-cover > .mc-e410-preview-overlay {z-index:2!important; background:linear-gradient(90deg,rgba(8,21,42,.83) 0%,rgba(8,21,42,.5) 43%,rgba(8,21,42,.12) 83%)!important;}
body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
.mc-preview-hero.has-cover > div:not(.mc-preview-art) {z-index:3!important;}
.mc-store-preview{--mc-e47-primary:var(--preview-primary,#245fe0);--mc-e47-surface:var(--preview-surface,#fff);--mc-e47-text:var(--preview-text,#162844)}
.mc-e411-selector .mc-e411-help{font-size:.78rem;line-height:1.5;color:#60718b}
.mc-e411-search{display:block;width:100%;padding:.65rem .8rem;border:1px solid #ccd9ef;border-radius:12px;background:#f9fbff;color:#152a4b;margin:.6rem 0}
.mc-e411-selector-items{display:grid;gap:7px;max-height:265px;overflow:auto;scrollbar-width:thin;padding:2px}
.mc-e411-product-option{display:flex;gap:9px;align-items:center;border:1px solid #d9e5f1;background:#f8faff;border-radius:11px;padding:9px;cursor:pointer}
.mc-e411-product-option:focus-within{outline:2px solid #3266ee;outline-offset:2px}
.mc-e411-product-option strong{display:block;font-size:.78rem;color:#1e3151}
.mc-e411-product-option small{display:block;font-size:.68rem;color:#667c98;margin-top:3px}
.mc-e411-empty{color:#637591;font-size:.8rem;line-height:1.5;padding:16px;border:1px dashed #cbd9ec;border-radius:12px;background:#f9fbff}
.mc-e411-featured-block{margin:1.5rem 0 2.3rem}
.mc-e411-featured-heading{margin-bottom:1rem}.mc-e411-featured-heading h2{margin:.4rem 0;font-size:1.55rem}
.mc-e411-featured-grid,.mc-e411-preview-products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;align-items:stretch}
.mc-e411-product-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--mc-e47-radius,16px);border:1px solid color-mix(in oklch,var(--mc-e47-primary,#245fe0) 12%,transparent);background:var(--mc-e47-surface,#fff);box-shadow:0 6px 18px rgba(17,35,57,.06)}
.mc-e411-card-media{aspect-ratio:4/3;display:grid;place-items:center;background:color-mix(in oklch,var(--mc-e47-primary,#245fe0) 8%,#fff)}
.mc-e411-card-media img{width:100%;height:100%;object-fit:cover}
.mc-e411-image-empty{display:grid;place-items:center;color:var(--mc-e47-primary,#245fe0)}.mc-e411-image-empty svg{width:28px;height:28px}
.mc-e411-card-body{display:flex;flex:1;flex-direction:column;padding:10px;gap:5px;min-width:0}
.mc-e411-card-body strong{font-size:.86rem;color:var(--mc-e47-text,#162844);line-height:1.35;overflow-wrap:anywhere}
.mc-e411-sku{font-size:.68rem;color:#64748b}.mc-e411-price{font-weight:750;font-size:.88rem;color:var(--mc-e47-primary,#245fe0)}
.mc-e411-availability{font-size:.65rem;color:#147a5b}
.mc-e411-card-actions{display:flex;gap:7px;margin-top:auto;padding-top:8px;align-items:stretch;flex-wrap:wrap}.mc-e411-card-actions form{margin:0;display:flex;flex:1}
.mc-e411-button{flex:1;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;min-height:33px;border-radius:10px;padding:5px 9px;text-align:center;font-size:.68rem;font-weight:600;line-height:1.2;font-family:inherit;text-decoration:none;cursor:pointer}
.mc-e411-button.mc-e411-outline{border:1px solid var(--mc-e47-primary,#245fe0);color:var(--mc-e47-primary,#245fe0);background:#fff}
.mc-e411-button.mc-e411-filled{border:1px solid var(--mc-e47-primary,#245fe0);background:var(--mc-e47-primary,#245fe0);color:white}
.mc-e411-button[aria-disabled=true]{opacity:.72;cursor:default}
.mc-e411-preview-products{padding:15px!important;background:#fff!important;min-height:0!important;height:auto!important;}
.mc-e411-preview-products .mc-e411-card-body{padding:7px}.mc-e411-preview-products .mc-e411-button{font-size:.56rem;padding:4px 5px}
@media(max-width:850px){.mc-e411-featured-grid,.mc-e411-preview-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.mc-e411-featured-grid,.mc-e411-preview-products{grid-template-columns:1fr}.mc-e411-card-media{aspect-ratio:5/3}
 body.mc-storefront .mc-shop-hero.mc-e410-cover,.mc-preview-hero.has-cover{min-height:250px!important;height:250px!important}}
@supports not (color:color-mix(in oklch, red, blue)){.mc-e411-product-card{border-color:#dce4f2}.mc-e411-card-media{background:#f0f4fa}}

/* Source: mercris/mercris-experience-e412.css */
/* MerCris Enterprise E4.12 — tarjetas compartidas del editor y tienda. OKLCH Profesional Elite. */
.mc-e411-featured-grid,
.mc-e411-preview-products{grid-auto-rows:auto!important;align-items:stretch!important}
.mc-e411-product-card.mc-e412-product-card{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;max-width:100%!important;box-sizing:border-box;overflow:hidden;border-radius:var(--mc-e47-radius,16px);background:var(--mc-e47-surface,#fff)}
.mc-e412-product-card .mc-e411-card-media{position:relative!important;display:block!important;flex:none!important;overflow:hidden!important;min-height:0!important;height:auto!important;aspect-ratio:4 / 3!important;line-height:0;background:oklch(97% .008 255);border-bottom:1px solid oklch(90% .013 250)}
.mc-e412-product-card .mc-e411-card-media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:100%!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;display:block!important;filter:none!important;transform:none!important}
.mc-e412-product-card .mc-e411-image-empty{position:absolute;inset:0;display:grid;place-items:center}
.mc-e412-product-card .mc-e411-card-body{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-width:0!important;padding:clamp(10px,1.3vw,15px)!important;gap:6px!important;box-sizing:border-box}
.mc-e412-product-card .mc-e412-card-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden;min-height:2.6em;line-height:1.3!important;font-size:clamp(.78rem,1.2vw,.94rem)!important}
.mc-e412-product-card .mc-e411-sku{font-size:.7rem}.mc-e412-product-card .mc-e411-price{font-size:.95rem!important}
.mc-e412-product-card .mc-e411-availability[data-unavailable]{color:oklch(49% .14 25)}
.mc-e412-product-card .mc-e412-card-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)!important;align-items:stretch!important;gap:8px!important;margin-top:auto!important;padding-top:14px!important;flex-wrap:nowrap!important}
.mc-e412-product-card .mc-e412-card-actions form{display:flex!important;min-width:0!important;width:100%!important}
.mc-e412-product-card .mc-e412-card-actions .mc-e411-button{box-sizing:border-box;min-width:0!important;width:100%!important;min-height:39px!important;padding:8px 7px!important;font-size:clamp(.66rem,1vw,.78rem)!important;gap:5px!important;white-space:normal!important;line-height:1.24!important;align-items:center!important;flex-wrap:nowrap!important;cursor:pointer}
.mc-e412-product-card .mc-e412-card-actions svg{width:16px;height:16px;flex:none;stroke-width:1.8}
.mc-e412-product-card .mc-e412-preview-purchase{opacity:.78;cursor:not-allowed}
.mc-e412-product-card .mc-e411-button:focus-visible,.mc-e412-dialog-content button:focus-visible,.mc-e412-dialog-content a:focus-visible{outline:3px solid var(--mc-e47-accent,#f59e0b)!important;outline-offset:3px}
.mc-e412-product-card .mc-e411-button:hover:not([aria-disabled="true"]){filter:brightness(.95)}
/* The same image dimensions in the canvas; no intrinsic-height growth from text printed inside product photos. */
.mc-e411-preview-products .mc-e412-product-card .mc-e411-card-media{aspect-ratio:4/3!important}
.mc-e411-preview-products .mc-e412-product-card .mc-e411-card-body{padding:9px!important}
.mc-e411-preview-products .mc-e412-product-card .mc-e412-card-actions{gap:5px!important;padding-top:9px!important}
.mc-e411-preview-products .mc-e412-product-card .mc-e411-button{font-size:.61rem!important;min-height:32px!important;padding:5px 4px!important;gap:3px!important}
.mc-e411-preview-products .mc-e412-product-card .mc-e411-button svg{width:13px;height:13px}
.mc-preview-stage:has(.mc-e411-preview-products){height:auto!important;min-height:0!important;padding-bottom:18px!important}
.mc-studio-preview-panel:has(.mc-e411-preview-products){align-self:start!important}
.mc-store-preview:has(.mc-e411-preview-products){min-height:0!important;height:auto!important}
/* Hero: visible full image with high-resolution environmental sides instead of flat black sidebands. */
body.mc-storefront .mc-shop-hero.mc-e410-cover>img.mc-e411-hero-backdrop,
.mc-preview-hero.has-cover>img.mc-e411-hero-backdrop{opacity:.80!important;filter:blur(19px) saturate(1.08) brightness(.87)!important;transform:scale(1.16)!important}
body.mc-storefront .mc-shop-hero.mc-e410-cover>.mc-e48-cover-shade,
.mc-preview-hero.has-cover>.mc-e410-preview-overlay{background:linear-gradient(90deg,rgba(8,21,42,.76) 0%,rgba(8,21,42,.47) 35%,rgba(8,21,42,.04) 85%)!important}
/* Real quick view; every published card opens its own correct product. */
.mc-e412-quick-dialog{box-sizing:border-box;position:fixed!important;inset:0!important;max-width:min(92vw,750px)!important;width:750px!important;max-height:min(88dvh,720px)!important;border:1px solid oklch(87% .018 255);border-radius:20px;padding:0!important;background:#fff;color:#152a4c;box-shadow:0 24px 72px #07152857;overflow:auto}
.mc-e412-quick-dialog::backdrop{background:rgba(7,22,43,.68);backdrop-filter:blur(3px)}
.mc-e412-dialog-content{padding:20px}.mc-e412-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e1e7f0;font-size:.73rem;letter-spacing:.07em;color:var(--mc-e47-primary,#245fe0);font-weight:800}
.mc-e412-dialog-top button{width:36px;height:36px;display:grid;place-items:center;background:#f2f5fa;border:0;border-radius:10px;cursor:pointer;color:#1f3755}.mc-e412-dialog-top svg{width:18px;height:18px}
.mc-e412-dialog-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;padding-top:18px}.mc-e412-dialog-media{display:grid;place-items:center;min-height:240px;aspect-ratio:4/3;background:#f5f7fa;border-radius:14px;overflow:hidden}.mc-e412-dialog-media img{width:100%;height:100%;max-height:340px;object-fit:contain}
.mc-e412-dialog-info{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.mc-e412-dialog-info h3{font-size:clamp(1.1rem,2.8vw,1.6rem);line-height:1.25;margin:0}.mc-e412-dialog-info p{margin:0;line-height:1.5}.mc-e412-dialog-price{font-size:1.25rem;font-weight:800;color:var(--mc-e47-primary,#245fe0)}.mc-e412-dialog-info form,.mc-e412-dialog-info>a{width:100%;margin-top:4px;box-sizing:border-box}.mc-e412-dialog-info .mc-e411-button{width:100%;font-size:.84rem;min-height:42px}.mc-e412-preview-note{font-size:.8rem;color:#5e7390}
@media(max-width:650px){.mc-e412-dialog-grid{grid-template-columns:minmax(0,1fr)}.mc-e412-dialog-media{min-height:180px}.mc-e412-dialog-content{padding:13px}.mc-e411-preview-products .mc-e412-card-actions{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:550px){.mc-e411-featured-grid,.mc-e411-preview-products{grid-template-columns:minmax(0,1fr)!important}.mc-e412-product-card .mc-e411-card-media{aspect-ratio:4/3!important}}
@media(prefers-reduced-motion:reduce){.mc-e412-quick-dialog::backdrop{backdrop-filter:none}}
@supports not (color:oklch(50% .1 260)){.mc-e412-product-card .mc-e411-card-media{background:#f5f7fa;border-bottom-color:#e1e7f0}.mc-e412-quick-dialog{border-color:#dde5ef}}

/* Source: mercris/mercris-experience-e413.css */
/* MerCris Experience E4.13 — hero visual clarity without invasive dark mask.
   Applies equally to Live Preview and the published storefront. */
body.mc-storefront .mc-shop-hero.mc-e410-cover,
.mc-preview-hero.has-cover{
  background:linear-gradient(180deg, rgba(9,18,34,.05), rgba(9,18,34,.03))!important;
}

body.mc-storefront .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-backdrop,
.mc-preview-hero.has-cover > img.mc-e411-hero-backdrop{
  opacity:.18!important;
  filter:blur(14px) saturate(1.02) brightness(.97)!important;
  transform:scale(1.04)!important;
}

body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-shade,
.mc-preview-hero.has-cover > .mc-e410-preview-overlay{
  background:linear-gradient(90deg,
      rgba(7,19,37,.20) 0%,
      rgba(7,19,37,.11) 22%,
      rgba(7,19,37,.04) 40%,
      rgba(7,19,37,0) 58%)!important;
}

body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
.mc-preview-hero.has-cover > div:not(.mc-preview-art){
  position:relative;
  max-width:min(640px, 92%);
  padding:clamp(12px, 1.8vw, 18px);
  border-radius:clamp(12px, 2vw, 18px);
  background:linear-gradient(180deg,
      rgba(8,20,40,.16),
      rgba(8,20,40,.10))!important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  box-shadow:0 10px 24px rgba(8,20,40,.08);
}

body.mc-storefront .mc-shop-hero.mc-e410-cover :is(h1,p,.mc-kicker),
.mc-preview-hero.has-cover :is(h3,p,span[data-preview-tagline]){
  color:#fff!important;
  text-shadow:0 1px 2px rgba(8,20,40,.28);
}

body.mc-storefront .mc-shop-hero.mc-e410-cover .mc-kicker,
.mc-preview-hero.has-cover span[data-preview-tagline]{
  letter-spacing:.12em;
}

body.mc-storefront .mc-shop-hero.mc-e410-cover .mc-e48-cover-content p,
.mc-preview-hero.has-cover > div:not(.mc-preview-art) p{
  max-width:56ch;
}

@media (max-width: 900px){
  body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
  .mc-preview-hero.has-cover > div:not(.mc-preview-art){
    max-width:min(92%, 560px);
    padding:14px;
  }
}

@media (max-width: 700px){
  body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-shade,
  .mc-preview-hero.has-cover > .mc-e410-preview-overlay{
    background:linear-gradient(90deg,
        rgba(7,19,37,.28) 0%,
        rgba(7,19,37,.15) 30%,
        rgba(7,19,37,.05) 55%,
        rgba(7,19,37,0) 75%)!important;
  }
  body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
  .mc-preview-hero.has-cover > div:not(.mc-preview-art){
    max-width:calc(100% - 32px);
    margin-inline:0;
  }
}

@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))){
  body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
  .mc-preview-hero.has-cover > div:not(.mc-preview-art){
    background:rgba(8,20,40,.18)!important;
  }
}

/* R1: canvas grows to fit the entire real product cards, including purchase controls. */
.mc-studio-preview-panel:has(.mc-e411-preview-products),
.mc-preview-stage:has(.mc-e411-preview-products),
.mc-store-preview:has(.mc-e411-preview-products){height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.mc-preview-stage:has(.mc-e411-preview-products){padding-bottom:clamp(12px,2vw,24px)!important}
.mc-preview-products.mc-e411-preview-products{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;align-items:stretch!important}
.mc-e411-preview-products .mc-e412-product-card{height:auto!important;max-height:none!important}
.mc-e411-preview-products .mc-e412-product-card .mc-e411-card-body{min-height:0!important;height:auto!important;overflow:visible!important}
/* Preserve natural preview width of each responsive device instead of a fixed viewport-height crop. */
@media (max-width:700px){.mc-preview-stage:has(.mc-e411-preview-products){overflow-x:auto!important}}

/* Source: mercris/mercris-experience-e414.css */
/* MerCris Enterprise Experience Studio E4.14 — design tokens per tienda.
   Never touches global platform panels, only scoped editor preview/public store. */
body.mc-storefront.mc-e47-published .mc-topbar {
  background:var(--mc-e414-header-color,var(--mc-e47-primary,#245FE0))!important;
  border-color:color-mix(in oklch,var(--mc-e414-header-color,var(--mc-e47-primary,#245FE0)),black 12%)!important;
}
body.mc-storefront.mc-e47-published .mc-topbar :is(a,.mc-brand,strong,small,.mc-primary-nav a),
body.mc-storefront.mc-e47-published .mc-topbar .mc-brand-symbol svg {
  color:var(--mc-e414-header-text,#FFFFFF)!important;
  stroke:currentColor;
}
.mc-store-preview .mc-preview-header {
  background:var(--mc-e414-header-color,var(--preview-primary,#245FE0))!important;
  color:var(--mc-e414-header-text,#FFFFFF)!important;
}
.mc-store-preview .mc-preview-header :is(strong,small,span,a,nav) {
  color:var(--mc-e414-header-text,#FFFFFF)!important;
}
/* Every available position uses a single full image with the ambience preserved. */
body.mc-storefront .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview .mc-preview-hero.has-cover > img.mc-e411-hero-whole {
  object-fit:contain!important; object-position:center center!important;
}
body.mc-storefront[data-e414-hero-position="left"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e414-hero-position="left"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-position:left center!important;}
body.mc-storefront[data-e414-hero-position="right"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e414-hero-position="right"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-position:right center!important;}
body.mc-storefront[data-e414-hero-position="cover"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e414-hero-position="cover"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-fit:cover!important;object-position:center center!important;}
/* Light hero information panel: foreground contrast without darkening the photograph. */
body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
.mc-store-preview .mc-preview-hero.has-cover > div:not(.mc-preview-art) {
  background:rgba(255,255,255,.82)!important;
  border:1px solid rgba(255,255,255,.64)!important;
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
  box-shadow:0 12px 32px rgba(14,26,50,.10)!important;
}
body.mc-storefront .mc-shop-hero.mc-e410-cover :is(h1,p,.mc-kicker),
.mc-store-preview .mc-preview-hero.has-cover :is(h3,p,span[data-preview-tagline]) {
  color:#142743!important;text-shadow:none!important;
}
/* New original modern product card, built around true commerce data. */
body.mc-storefront.mc-e47-published .mc-e411-product-card.mc-e412-product-card,
.mc-store-preview .mc-e411-product-card.mc-e412-product-card{
  border:1px solid color-mix(in oklch,var(--mc-e47-primary,#245FE0) 11%,#dce5f1)!important;
  background:var(--mc-e47-surface,#fff)!important;
  box-shadow:0 10px 30px rgba(22,43,77,.09)!important;
  transition:box-shadow .18s ease,translate .18s ease,border-color .18s ease;
}
body.mc-storefront .mc-e411-product-card:hover {translate:0 -2px;box-shadow:0 17px 36px rgba(22,43,77,.14)!important;}
.mc-e412-product-card .mc-e411-card-media{background:color-mix(in oklch,var(--mc-e47-bg,#f7f9fc),#eef4fc 45%)!important}
.mc-e414-image-label{position:absolute;inset-block-start:12px;inset-inline-start:12px;z-index:1;
  display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;
  background:rgba(255,255,255,.94);color:#1d3d68;font-size:.67rem;font-weight:700;letter-spacing:.025em;
  box-shadow:0 3px 10px rgba(23,40,71,.10);line-height:1.1}
.mc-e412-product-card .mc-e412-card-name{font-weight:750!important;letter-spacing:-.01em}
.mc-e412-product-card .mc-e414-short-description{font-size:clamp(.73rem,.9vw,.83rem)!important;
  color:color-mix(in oklch,var(--mc-e47-text,#213350) 70%,#7a889c)!important;
  margin:0;line-height:1.44;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.75em}
.mc-e412-product-card .mc-e411-price{font-weight:850!important;letter-spacing:-.01em}
.mc-e412-product-card .mc-e411-availability{font-weight:650!important}
.mc-e412-product-card .mc-e412-card-actions{padding-top:14px!important;gap:7px!important}
.mc-e412-product-card .mc-e411-button{font-weight:700!important;border-radius:10px;transition:filter .15s ease,transform .15s ease}
body.mc-storefront .mc-e411-featured-grid{gap:clamp(12px,1.25vw,20px)!important}
/* Card style and density, shared by published storefront and editor preview. */
:is(body.mc-storefront,.mc-store-preview)[data-e414-card-style="outlined"] .mc-e412-product-card{
  box-shadow:none!important;border:2px solid color-mix(in oklch,var(--mc-e47-primary,#245FE0) 20%,#e5eaf4)!important}
:is(body.mc-storefront,.mc-store-preview)[data-e414-card-style="minimal"] .mc-e412-product-card{
  box-shadow:none!important;border:1px solid transparent!important;background:transparent!important}
:is(body.mc-storefront,.mc-store-preview)[data-e414-card-density="compact"] .mc-e412-product-card .mc-e411-card-body{padding:9px!important;gap:4px!important}
:is(body.mc-storefront,.mc-store-preview)[data-e414-card-density="compact"] .mc-e412-product-card .mc-e412-card-actions{padding-top:6px!important}
:is(body.mc-storefront,.mc-store-preview)[data-e414-card-show-sku="off"] .mc-e412-product-card .mc-e411-sku,
:is(body.mc-storefront,.mc-store-preview)[data-e414-card-show-description="off"] .mc-e412-product-card .mc-e414-short-description,
:is(body.mc-storefront,.mc-store-preview)[data-e414-card-show-status="off"] .mc-e412-product-card .mc-e411-availability{display:none!important}
/* The base catalogue keeps its native functional actions; apply only visual enhancements. */
body.mc-storefront.mc-e47-published .mc252-catalogue .mc-product-card{
  overflow:hidden;border:1px solid color-mix(in oklch,var(--mc-e47-primary,#245FE0) 13%,#e0e6f0);
  box-shadow:0 7px 22px rgba(15,34,64,.07);transition:box-shadow .16s ease,translate .16s ease}
body.mc-storefront.mc-e47-published .mc252-catalogue .mc-product-card:hover {translate:0 -2px;box-shadow:0 12px 28px rgba(15,34,64,.12)}
/* Editor controls */
.mc-e414-design{overflow:visible!important}
.mc-e414-design h4{font-size:.82rem;margin:0 0 10px;color:#213959}
.mc-e414-help{font-size:.74rem;line-height:1.55;color:#617693;margin:7px 0 14px}
.mc-e414-section{border-top:1px solid #e5eaf4;padding:16px 0;display:grid;gap:10px}
.mc-e414-section>label:not(.mc-e414-color):not(.mc-e414-switch){font-size:.76rem;font-weight:650}
.mc-e414-section .mc-select{width:100%}
.mc-e414-color{display:grid;grid-template-columns:minmax(0,1fr) 42px 83px;align-items:center;gap:8px}
.mc-e414-color>span,.mc-e414-switch>span{font-size:.77rem;font-weight:650;color:#2c4263}
.mc-e414-color input[type="color"]{width:42px;height:35px;border:1px solid #cfdaec;border-radius:9px;background:#fff;padding:3px;cursor:pointer}
.mc-e414-color input[data-e414-control]{width:100%;min-width:0;border:1px solid #d1dced;border-radius:9px;padding:8px 5px;font-size:.74rem;color:#172b49;background:#fff;font-family:ui-monospace,monospace}
.mc-e414-switch{display:grid;grid-template-columns:minmax(0,1fr) 110px;align-items:center;gap:8px}
.mc-e414-contrast{font-size:.72rem;color:#426b58;line-height:1.5;margin:0}
.mc-e414-contrast[data-e414-fail="true"]{color:#9a3d35}
.mc-e414-status{font-size:.77rem;line-height:1.45;min-height:1.3em;margin:0 0 10px}
.mc-e414-status[data-e414-error="true"]{color:#9a3d35}
.mc-e414-save{width:100%;min-height:42px}
@media(max-width:620px){.mc-e414-color{grid-template-columns:minmax(0,1fr) 36px 86px}
  .mc-e414-design{min-width:0}.mc-e412-product-card .mc-e414-short-description{min-height:0}}
@media(prefers-reduced-motion:reduce){.mc-e411-product-card,.mc-product-card{transition:none!important;translate:none!important}}
@supports not (color:color-mix(in oklch, red, blue)){.mc-e414-image-label{background:#fff}.mc-e412-product-card .mc-e414-short-description{color:#60738f!important}}

/* Source: mercris/mercris-experience-e415.css */
/* MerCris Experience E4.15 — banner optical fit, isolated tokens and compact real product cards.
   Loaded last to supersede legacy E4.10-E4.14 priority layers. */
:is(body.mc-storefront,.mc-store-preview) {
  --mc-e415-hero-bg:#E8EEF5;
  --mc-e415-hero-panel:#142743;
  --mc-e415-hero-text:#FFFFFF;
}
/* Hero visual layers: no blanket white overlay; real background and image sizing. */
body.mc-storefront .mc-shop-hero.mc-e410-cover,
.mc-store-preview .mc-preview-hero.has-cover {
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:var(--mc-e415-hero-bg,#E8EEF5)!important;
}
body.mc-storefront .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-backdrop,
.mc-store-preview .mc-preview-hero.has-cover > img.mc-e411-hero-backdrop {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center center!important;
  filter:blur(14px) saturate(1.08) brightness(1.02)!important;
  opacity:.52!important;transform:scale(1.07)!important;pointer-events:none;
}
body.mc-storefront .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview .mc-preview-hero.has-cover > img.mc-e411-hero-whole {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  opacity:1!important;filter:none!important;transform:none!important;
  pointer-events:none;
}
/* In contain or aligned positions original image is FULLY visible; ambience fills leftover sides. */
body.mc-storefront[data-e414-hero-position="left"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e414-hero-position="left"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-fit:contain!important;object-position:left center!important}
body.mc-storefront[data-e414-hero-position="right"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e414-hero-position="right"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-fit:contain!important;object-position:right center!important}
body.mc-storefront[data-e414-hero-position="center"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e414-hero-position="center"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole,
body.mc-storefront[data-e414-hero-position="contain"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e414-hero-position="contain"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-fit:contain!important;object-position:center center!important}
/* Cover really fills 100% of banner; focus can keep the person's face visible. */
body.mc-storefront[data-e414-hero-position="cover"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e414-hero-position="cover"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {
  object-fit:cover!important;object-position:center 30%!important;
}
body.mc-storefront[data-e415-hero-focus="top"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e415-hero-focus="top"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-position:center 0%!important}
body.mc-storefront[data-e415-hero-focus="upper"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e415-hero-focus="upper"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-position:center 30%!important}
body.mc-storefront[data-e415-hero-focus="center"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e415-hero-focus="center"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-position:center 50%!important}
body.mc-storefront[data-e415-hero-focus="lower"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e415-hero-focus="lower"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-position:center 70%!important}
body.mc-storefront[data-e415-hero-focus="bottom"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e415-hero-focus="bottom"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {object-position:center 100%!important}
/* Do not bleach the whole banner; focus contrast exclusively behind the text. */
body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-shade,
.mc-store-preview .mc-preview-hero.has-cover > .mc-e410-preview-overlay {
  background:none!important;opacity:0!important;pointer-events:none!important;
}
body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
.mc-store-preview .mc-preview-hero.has-cover > div:not(.mc-preview-art) {
  background:color-mix(in srgb,var(--mc-e415-hero-panel,#142743) 45%,transparent)!important;
  border:1px solid color-mix(in srgb,var(--mc-e415-hero-panel,#142743) 16%,transparent)!important;
  box-shadow:0 8px 24px rgba(8,20,40,.10)!important;
  -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
  max-width:min(620px,90%)!important;
}
body.mc-storefront[data-e415-hero-panel-opacity="off"] .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
.mc-store-preview[data-e415-hero-panel-opacity="off"] .mc-preview-hero.has-cover > div:not(.mc-preview-art) {
  background:transparent!important;border-color:transparent!important;box-shadow:none!important;backdrop-filter:none;
}
body.mc-storefront[data-e415-hero-panel-opacity="medium"] .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
.mc-store-preview[data-e415-hero-panel-opacity="medium"] .mc-preview-hero.has-cover > div:not(.mc-preview-art) {
  background:color-mix(in srgb,var(--mc-e415-hero-panel,#142743) 70%,transparent)!important;
}
body.mc-storefront .mc-shop-hero.mc-e410-cover :is(h1,p,.mc-kicker),
.mc-store-preview .mc-preview-hero.has-cover :is(h3,p,span[data-preview-tagline]) {
  color:var(--mc-e415-hero-text,#FFFFFF)!important;text-shadow:0 1px 2px rgba(4,15,30,.25)!important;
}
/* No unused white slabs in featured cards. Real media fills the full, slightly shorter upper area. */
body.mc-storefront .mc-e411-featured-grid,
.mc-store-preview .mc-e411-preview-products{align-items:start!important;grid-auto-rows:auto!important}
body.mc-storefront .mc-e411-featured-grid > .mc-e412-product-card,
.mc-store-preview .mc-e411-preview-products > .mc-e412-product-card {
  display:flex!important;flex-direction:column!important;height:auto!important;
  align-self:start!important;min-height:0!important;max-width:100%!important;
  overflow:hidden!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e411-card-media,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e411-card-media{
  width:100%!important;height:auto!important;min-height:0!important;
  aspect-ratio:5 / 3!important;overflow:hidden!important;
  background:color-mix(in oklch,var(--mc-e47-surface,#ffffff) 80%,#dce9f3)!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e411-card-media img,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e411-card-media img {
  width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:center center!important;display:block!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e411-card-body,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e411-card-body{
  display:flex!important;flex:0 0 auto!important;flex-direction:column!important;
  padding:10px 11px!important;gap:4px!important;min-height:0!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e414-short-description,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e414-short-description{
  min-height:0!important;line-height:1.35!important;margin:0!important;
  -webkit-line-clamp:1!important;line-clamp:1!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e412-card-name,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e412-card-name{
  min-height:0!important;line-height:1.3!important;font-size:clamp(.78rem,1vw,.92rem)!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e412-card-actions,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e412-card-actions{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  margin-top:3px!important;padding-top:4px!important;gap:6px!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e412-card-actions .mc-e411-button,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e412-card-actions .mc-e411-button{
  min-height:34px!important;padding:6px 5px!important;
  font-size:clamp(.62rem,.87vw,.74rem)!important;
}
.mc-e411-featured-grid .mc-e414-image-label,
.mc-e411-preview-products .mc-e414-image-label{
  inset-block-start:7px;inset-inline-start:7px;font-size:.62rem;padding:4px 8px;
}
/* Native catalogue remains fully functional; only its visual image frame is optimized. */
body.mc-storefront.mc-e47-published .mc252-catalogue .mc-product-card {
  height:auto;align-self:start;
}
body.mc-storefront.mc-e47-published .mc252-catalogue .mc-product-card img {
  object-fit:cover;object-position:center center;
}
@media(max-width:700px){
  body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e411-card-media,
  .mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e411-card-media{aspect-ratio:5/3!important}
  body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
  .mc-store-preview .mc-preview-hero.has-cover > div:not(.mc-preview-art){max-width:92%!important}
}
@media(max-width:460px){
  .mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e411-card-body{padding:8px!important}
}
@supports not (color:color-mix(in oklch,red,blue)) {
  body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e411-card-media,
  .mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e411-card-media{background:#eaf0f6!important}
}

/* Panel Premium: functional compact merchant header inspired by MerCris admin topbar.
   Not an admin toolbar, no inert notifications/search. Independent tenant header tokens apply. */
body.mc-storefront.mc-e47-published[data-e47-header="panel"] .mc-topbar{
  background:var(--mc-e414-header-color,#fff)!important;
  border-bottom:1px solid color-mix(in oklch,var(--mc-e414-header-text,#152a48) 13%,transparent)!important;
  box-shadow:0 4px 16px rgba(16,40,72,.045)!important;
  position:relative;isolation:isolate;
}
body.mc-storefront[data-e47-header="panel"] .mc-topbar-inner{
  display:flex!important;flex-direction:row!important;justify-content:space-between!important;
  align-items:center!important;gap:14px!important;min-height:66px!important;
  flex-wrap:wrap!important;padding-block:9px!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-topbar .mc-brand{
  min-width:0!important;display:flex!important;align-items:center!important;flex:none!important;
  gap:10px!important;max-width:min(100%,390px)!important;margin:0!important;
  text-decoration:none!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-topbar .mc-e48-brand-name{
  min-width:0!important;display:flex!important;flex-direction:column!important;align-items:start!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-topbar .mc-brand strong{
  font-family:inherit!important;font-size:clamp(.9rem,1.3vw,1.08rem)!important;
  font-weight:800!important;line-height:1.22!important;letter-spacing:-.012em!important;
  max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
body.mc-storefront[data-e47-header="panel"] .mc-topbar .mc-brand small{
  font-family:inherit!important;font-size:.62rem!important;font-weight:650!important;
  opacity:.78!important;letter-spacing:.065em!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-e48-logo-frame{
  border-radius:12px!important;width:42px!important;height:42px!important;
  padding:3px!important;box-shadow:0 2px 8px rgba(20,40,72,.09)!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-e415-toolbar{
  min-width:0;display:flex;align-items:center;gap:10px;margin-left:auto;flex-wrap:wrap;
}
body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search{
  display:flex;align-items:center;gap:7px;min-width:0;width:clamp(175px,18vw,255px);
  box-sizing:border-box;margin:0;border-radius:11px;padding:5px 7px 5px 10px;
  border:1px solid color-mix(in oklch,var(--mc-e414-header-text,#152a48) 18%,transparent);
  color:var(--mc-e414-header-text,#152a48)!important;
  background:color-mix(in oklch,var(--mc-e414-header-text,#152a48) 5%,var(--mc-e414-header-color,#fff));
}
body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search svg,
body.mc-storefront[data-e47-header="panel"] .mc-primary-nav svg{
  width:17px!important;height:17px!important;flex:none!important;stroke:currentColor!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search input{
  min-width:0;width:100%;flex:1;border:0;box-shadow:none!important;outline-offset:2px;
  background:transparent;color:inherit;font:inherit;font-size:.78rem;padding:4px 0;
}
body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search input::placeholder{color:inherit;opacity:.65}
body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search button{
  background:color-mix(in oklch,var(--mc-e414-header-text,#152a48) 9%,transparent);
  color:inherit;border:0;border-radius:7px;padding:6px 8px;font-size:.72rem;font-weight:750;
  cursor:pointer;
}
body.mc-storefront[data-e47-header="panel"] .mc-primary-nav{
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;
  flex-wrap:wrap!important;justify-content:flex-end!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-primary-nav a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;padding:10px 11px!important;border-radius:11px!important;
  border:1px solid color-mix(in oklch,var(--mc-e414-header-text,#152a48) 16%,transparent)!important;
  background:color-mix(in oklch,var(--mc-e414-header-text,#152a48) 5%,transparent)!important;
  text-decoration:none!important;font-family:inherit!important;font-size:.77rem!important;
  font-weight:750!important;line-height:1.2!important;white-space:nowrap!important;
  color:var(--mc-e414-header-text,#152a48)!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-primary-nav a:hover,
body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search button:hover{
  background:color-mix(in oklch,var(--mc-e414-header-text,#152a48) 12%,transparent)!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-topbar :is(a,input,button):focus-visible{
  outline:3px solid var(--mc-e47-accent,#e7b75c)!important;outline-offset:3px;
}
/* Search is only presented in the Panel Premium variant. Other header modes remain unchanged. */
body.mc-storefront:not([data-e47-header="panel"]) .mc-e415-header-search{display:none!important}
body.mc-storefront:not([data-e47-header="panel"]) .mc-e415-toolbar{display:contents}
body.mc-storefront:not([data-e47-header="panel"]) .mc-primary-nav svg{display:none!important}

/* Editor representation: same aligned brand and compact navigation. */
.mc-store-preview[data-header-style="panel"] .mc-preview-header{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex-direction:row!important;flex-wrap:wrap!important;gap:10px!important;
  padding:11px clamp(10px,2vw,18px)!important;min-height:62px!important;
  background:var(--mc-e414-header-color,#fff)!important;
  border-bottom:1px solid color-mix(in oklch,var(--mc-e414-header-text,#152a48) 15%,transparent)!important;
  box-shadow:0 4px 12px rgba(16,40,72,.045)!important;
}
.mc-store-preview[data-header-style="panel"] .mc-preview-brand{
  display:flex!important;align-items:center!important;flex-direction:row!important;
  gap:8px!important;min-width:0!important;text-align:left!important;margin:0!important;
}
.mc-store-preview[data-header-style="panel"] .mc-preview-brand strong{
  font-family:inherit!important;font-size:clamp(.75rem,1.2vw,.94rem)!important;
  font-weight:800!important;white-space:normal!important;text-align:left!important;
}
.mc-store-preview[data-header-style="panel"] .mc-preview-header nav{
  display:flex!important;align-items:center!important;flex-direction:row!important;
  flex-wrap:wrap!important;gap:5px!important;margin:0 0 0 auto!important;
}
.mc-store-preview[data-header-style="panel"] .mc-preview-header nav span{
  border:1px solid color-mix(in oklch,var(--mc-e414-header-text,#152a48) 16%,transparent)!important;
  background:color-mix(in oklch,var(--mc-e414-header-text,#152a48) 5%,transparent)!important;
  padding:7px 8px!important;border-radius:9px!important;font-size:.63rem!important;
  font-weight:700!important;white-space:nowrap!important;
}
@media(max-width:920px){
  body.mc-storefront[data-e47-header="panel"] .mc-e415-toolbar{width:100%!important;justify-content:space-between!important}
  body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search{flex:1!important;max-width:360px!important}
}
@media(max-width:600px){
  body.mc-storefront[data-e47-header="panel"] .mc-topbar-inner{min-height:0!important;gap:10px!important}
  body.mc-storefront[data-e47-header="panel"] .mc-e415-toolbar{gap:8px!important}
  body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search{flex:1 1 100%!important;width:100%!important;max-width:none!important}
  body.mc-storefront[data-e47-header="panel"] .mc-primary-nav{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  body.mc-storefront[data-e47-header="panel"] .mc-primary-nav a{min-width:0!important;padding:9px 5px!important;gap:4px!important;font-size:.68rem!important}
  body.mc-storefront[data-e47-header="panel"] .mc-primary-nav a svg{width:14px!important;height:14px!important}
  .mc-store-preview[data-header-style="panel"] .mc-preview-header{padding:9px!important;gap:7px!important}
  .mc-store-preview[data-header-style="panel"] .mc-preview-header nav{width:100%!important;justify-content:space-between!important}
}
@supports not (color:color-mix(in oklch,black,white)){
  body.mc-storefront[data-e47-header="panel"] .mc-primary-nav a,
  .mc-store-preview[data-header-style="panel"] .mc-preview-header nav span{border-color:#d9e3ef!important;background:#f5f7fb!important}
}

/* Source: mercris/mercris-experience-e416.css */
/* MerCris Experience E4.16 — modular refinement of storefront Panel Premium, cover focus, product cards.
   CSS only on approved semantic components; no catalog, checkout or RBAC changes. */
/* True adjustable focus for COVER, not for full-image containment. Applies to both published and preview. */
body.mc-storefront[data-e414-hero-position="cover"] .mc-shop-hero.mc-e410-cover > img.mc-e411-hero-whole,
.mc-store-preview[data-e414-hero-position="cover"] .mc-preview-hero.has-cover > img.mc-e411-hero-whole {
  object-position: center var(--mc-e416-hero-focus-y, 14%)!important;
}
/* Keep image clean; text panel only, not a full-size mask over faces. */
body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
.mc-store-preview .mc-preview-hero.has-cover > div:not(.mc-preview-art) {
  padding:clamp(13px,2vw,22px)!important;
  max-width:min(565px, 82%)!important;
  border-radius:clamp(12px,1.4vw,19px)!important;
}
/* Merchant panel header: larger, carefully grouped and still tenant-color driven. */
body.mc-storefront[data-e47-header="panel"] .mc-topbar-inner{
  gap:clamp(12px,2vw,24px)!important;
  padding-block:10px!important;
  min-height:72px!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-e415-toolbar{gap:clamp(8px,.9vw,13px)!important}
body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search{
  width:clamp(200px,20vw,315px)!important;
  min-height:43px!important;
  gap:8px!important;
  padding:5px 6px 5px 12px!important;
  border-radius:12px!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search svg,
body.mc-storefront[data-e47-header="panel"] .mc-primary-nav svg{
  width:18px!important;height:18px!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search input{
  font-size:.84rem!important;min-height:30px;
}
body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search button{
  min-height:32px!important;border-radius:9px!important;padding:7px 10px!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-primary-nav{
  gap:clamp(7px,.75vw,12px)!important;
}
body.mc-storefront[data-e47-header="panel"] .mc-primary-nav a{
  min-height:42px!important;padding:10px 13px!important;font-size:.81rem!important;
  border-radius:12px!important;gap:7px!important;
}
/* Featured cards: equal image sizes, compact copy, consistent action align, no empty slabs. */
body.mc-storefront .mc-e411-featured-grid,
.mc-store-preview .mc-e411-preview-products{column-gap:clamp(9px,1.1vw,15px)!important}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e411-card-media,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e411-card-media{
  aspect-ratio: 16/10!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e411-card-body,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e411-card-body{
  gap:5px!important;padding:11px 12px!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e412-card-actions,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e412-card-actions{
  gap:7px!important; padding-top:6px!important; margin-top:3px!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e412-product-card .mc-e412-card-actions .mc-e411-button,
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e412-card-actions .mc-e411-button{
  gap:4px!important;font-size:clamp(.67rem,.75vw,.8rem)!important;
  min-height:38px!important;white-space:nowrap!important;
  padding:7px 5px!important;
}
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e412-card-actions svg{
  width:12px!important;height:12px!important;
}
/* Editor: not an oversized mock-up; show labels and actions without clipping. */
.mc-store-preview .mc-e411-preview-products{overflow:visible!important;padding:12px!important}
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card{overflow:hidden!important}
.mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e412-card-actions .mc-e411-button{
  font-size:clamp(.62rem,.8vw,.7rem)!important;min-height:35px!important;
}
/* Preview header echoes real merchant spacing without simulating admin widgets. */
.mc-store-preview[data-header-style="panel"] .mc-preview-header{gap:11px!important}
.mc-store-preview[data-header-style="panel"] .mc-preview-header nav span{
  min-height:31px!important;display:inline-flex!important;align-items:center!important;
  border-radius:10px!important;padding:7px 9px!important;
}
.mc-e416-focus-label{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mc-e416-focus-label output{font-weight:750;font-variant-numeric:tabular-nums;color:var(--mc-e47-primary,#245fe0)}
.mc-e416-focus-range{width:100%;accent-color:var(--mc-e47-primary,#245fe0);cursor:pointer;min-height:30px}
.mc-e416-focus-range:focus-visible{outline:3px solid #245fe0;outline-offset:2px;border-radius:6px}
.mc-e416-focus-ticks{display:flex;justify-content:space-between;gap:8px;font-size:.73rem;color:#5b718b}
@media (max-width:960px){
 body.mc-storefront[data-e47-header="panel"] .mc-e415-toolbar{width:100%!important;justify-content:space-between!important}
 body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search{flex:1!important;max-width:450px!important}
}
@media(max-width:640px){
 body.mc-storefront[data-e47-header="panel"] .mc-topbar-inner{padding-block:9px!important;gap:9px!important}
 body.mc-storefront[data-e47-header="panel"] .mc-e415-toolbar{gap:9px!important}
 body.mc-storefront[data-e47-header="panel"] .mc-e415-header-search{width:100%!important;max-width:none!important;flex:1 1 100%!important}
 body.mc-storefront[data-e47-header="panel"] .mc-primary-nav{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
 body.mc-storefront[data-e47-header="panel"] .mc-primary-nav a{min-width:0!important;padding:9px 4px!important;min-height:42px!important;gap:5px!important;font-size:.72rem!important}
 body.mc-storefront[data-e47-header="panel"] .mc-primary-nav svg{width:16px!important;height:16px!important}
 body.mc-storefront .mc-shop-hero.mc-e410-cover > .mc-e48-cover-content,
 .mc-store-preview .mc-preview-hero.has-cover > div:not(.mc-preview-art){max-width:94%!important}
}
@media(max-width:380px){
 body.mc-storefront[data-e47-header="panel"] .mc-primary-nav a{font-size:.68rem!important}
 .mc-store-preview .mc-e411-preview-products .mc-e412-product-card .mc-e412-card-actions{
   grid-template-columns:minmax(0,1fr)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.mc-storefront[data-e47-header="panel"] .mc-topbar *{transition:none!important}
}

/* Source: mercris/mercris-experience-e417.css */
/* E4.17: single published/pictured product card shared by catalog, featured and Live Preview. */
body.mc-storefront .mc-e417-product-card,
.mc-store-preview .mc-e417-product-card{
  --mc-e417-surface:var(--mc-e47-surface,#fff);
  box-sizing:border-box;min-width:0;min-height:0!important;height:auto!important;
  display:flex!important;flex-direction:column!important;overflow:hidden;
  background:var(--mc-e417-surface);border-radius:var(--mc-e47-radius,16px);
}
/* Native catalog keeps its grid/slider DOM and snap behaviour. */
body.mc-storefront .mce263-product-grid .mc-e417-catalog{min-width:0!important;width:auto!important;align-self:start!important}
body.mc-storefront .mc-e417-card-media,
.mc-store-preview .mc-e417-card-media{
  position:relative!important;aspect-ratio:16/10!important;height:auto!important;max-height:none!important;
  overflow:hidden!important;flex:0 0 auto!important;display:block!important;
  background:color-mix(in oklch,var(--mc-e47-bg,#f5f7fa) 55%,white)!important;
}
.mc-e417-card-media .mc-e417-media-link{display:block;position:absolute;inset:0;min-width:0;overflow:hidden}
.mc-e417-card-media .mc-e417-media-link img,
.mc-store-preview .mc-e417-product-card .mc-e417-card-media > img,
body.mc-storefront .mc-e417-product-card .mc-e417-card-media > img {position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;transform:none!important;filter:none!important}
.mc-e417-card-media .mc-e411-image-empty{position:absolute;inset:0;display:grid;place-items:center}
.mc-e417-card-body{display:flex!important;flex:0 0 auto!important;flex-direction:column!important;gap:4px!important;padding:clamp(9px,1.1vw,13px)!important;margin:0!important}
.mc-e417-title{font-size:clamp(.78rem,1.12vw,.98rem)!important;line-height:1.3!important;min-height:0!important;margin:0!important;overflow-wrap:anywhere}
.mc-e417-title a{color:inherit;text-decoration:none}
.mc-e417-title a:hover{text-decoration:underline;text-underline-offset:2px}
.mc-e417-summary{min-height:0!important;margin:0!important;line-height:1.32!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mc-e417-sku{margin:0!important;font-size:.70rem!important;line-height:1.3!important}
.mc-e417-category{display:block;color:var(--mc-e47-primary,#245fe0);font-size:.7rem;font-weight:700;line-height:1.2}
.mc-e417-price-row{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;line-height:1.3;padding-top:1px}
.mc-e417-price-row .mc-e411-price{margin:0!important;font-weight:850!important}
.mc-e417-price-row .mc-e411-availability{margin:0!important}
.mc-e417-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding-top:6px!important;margin:0!important;align-items:stretch!important}
.mc-e417-actions form{display:flex!important;width:100%!important;min-width:0!important;margin:0!important}
.mc-e417-actions .mc-e411-button{display:inline-flex!important;width:100%!important;min-width:0!important;min-height:36px!important;white-space:normal!important;gap:4px!important;font-size:clamp(.65rem,.8vw,.76rem)!important;line-height:1.2!important;padding:6px!important}
.mc-e417-actions .mc-e411-button svg{width:15px;min-width:15px;height:15px}
/* Favorite is a real POST to the existing tenant-scoped endpoint; never a decorative icon. */
.mc-e417-like-form{position:absolute;z-index:3;right:10px;top:10px;margin:0!important}
.mc-e417-like{display:grid;place-items:center;position:absolute;z-index:3;top:10px;right:10px;width:35px;height:35px;border-radius:50%;border:1px solid #dae3ed;background:rgba(255,255,255,.94);color:#36516e;box-shadow:0 3px 12px rgba(12,31,62,.16);cursor:pointer;padding:7px;text-decoration:none}
.mc-e417-like-form .mc-e417-like{position:relative;inset:auto}
.mc-e417-like svg{width:20px;height:20px}
.mc-e417-like.is-liked{color:#a42b54;background:#ffedf4}
.mc-e417-like:focus-visible,.mc-e417-media-link:focus-visible,.mc-e417-actions :focus-visible{outline:3px solid var(--mc-e47-accent,#d7a850)!important;outline-offset:2px}
.mc-e417-quick-dialog{max-width:min(92vw,750px)!important;overflow:auto!important}
.mc-e417-quick-dialog .mc-e412-dialog-info{gap:9px!important}
/* The same E4.14 style/density/show controls now govern both sections because both use the same component. */
body.mc-storefront .mce263-product-grid .mc-e417-catalog .mc-e411-card-body{padding:clamp(9px,1.1vw,13px)!important}
body.mc-storefront[data-e414-card-density="compact"] .mc-e417-product-card .mc-e417-card-body,
.mc-store-preview[data-e414-card-density="compact"] .mc-e417-product-card .mc-e417-card-body{padding:9px!important;gap:3px!important}
:is(body.mc-storefront,.mc-store-preview)[data-e414-card-style="outlined"] .mc-e417-product-card{box-shadow:none!important;border:2px solid color-mix(in oklch,var(--mc-e47-primary,#245fe0) 22%,#e1e7ef)!important}
:is(body.mc-storefront,.mc-store-preview)[data-e414-card-style="minimal"] .mc-e417-product-card{box-shadow:none!important;border:1px solid transparent!important;background:transparent!important}
.mc-store-preview .mc-e417-actions .mc-e411-button{min-height:35px!important}
@media(max-width:650px){
 body.mc-storefront .mce263-product-track>.mc-e417-catalog{flex:0 0 calc((100% - 8px)/2)!important;scroll-snap-align:start}
 body.mc-storefront .mce263-product-grid .mc-e417-actions{grid-template-columns:minmax(0,1fr)!important}
 body.mc-storefront .mce263-product-grid .mc-e417-actions .mc-e411-button{min-height:34px!important;font-size:.71rem!important}
}
@media(max-width:380px){.mc-e417-price-row{align-items:flex-start;flex-direction:column;gap:3px}.mc-e417-actions{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){.mc-e417-product-card{transition:none!important;translate:none!important}}
@supports not (color:color-mix(in oklch, red, blue)){
 .mc-e417-card-media{background:#f2f5fa!important}
 :is(body.mc-storefront,.mc-store-preview)[data-e414-card-style="outlined"] .mc-e417-product-card{border-color:#dbe5ef!important}
}

/* Source: mercris/mercris-experience-e418.css */
/* MerCris E4.18 — Unified commercial media, configurable tenant-specific grid. */
body.mc-storefront .mc-e417-product-card .mc-e417-card-media,
.mc-store-preview .mc-e417-product-card .mc-e417-card-media{
 aspect-ratio:16/10!important;background:color-mix(in oklch,var(--mc-e47-bg,#f5f7fa) 78%,white)!important;
}
body.mc-storefront .mc-e417-product-card .mc-e417-card-media img,
.mc-store-preview .mc-e417-product-card .mc-e417-card-media img{
 object-fit:contain!important;object-position:center!important;
 padding:clamp(5px,.7vw,9px)!important;box-sizing:border-box!important;background:transparent!important;
}
body.mc-storefront .mc-e418-catalog .mce263-product-grid{
 display:grid!important;grid-template-columns:repeat(var(--mce263-columns,3),minmax(0,1fr))!important;
 gap:clamp(10px,1.2vw,16px)!important;
}
body.mc-storefront .mc-e418-catalog .mce263-product-row,
body.mc-storefront .mc-e418-catalog .mce263-product-track{display:contents!important}
body.mc-storefront .mc-e418-catalog .mce263-row-dots{display:none!important}
/* Premium Quick View */
.mc-e418-quick-dialog{width:min(1050px,94vw)!important;max-width:min(1050px,94vw)!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:26px!important}
.mc-e418-quick-dialog::backdrop{background:rgba(12,23,43,.65);backdrop-filter:blur(7px)}
.mc-e418-dialog-shell{position:relative;border-radius:26px;background:var(--mc-e47-surface,#fff);border:1px solid rgba(43,77,139,.14);box-shadow:0 30px 85px rgba(10,24,46,.27);padding:clamp(17px,2.4vw,29px);color:var(--mc-e47-text,#182e4c)}
.mc-e418-dialog-close{position:absolute;right:14px;top:14px;z-index:4;width:40px;height:40px;border-radius:13px;border:1px solid rgba(30,60,120,.14);background:#fff;color:#253e61;cursor:pointer;display:grid;place-items:center;box-shadow:0 5px 12px rgba(20,42,78,.10)}
.mc-e418-dialog-close svg{width:19px;height:19px}
.mc-e418-dialog-close:hover{background:#edf3fc}
.mc-e418-dialog-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:clamp(18px,2.8vw,30px)}
.mc-e418-media-column{min-width:0;display:flex;flex-direction:column;gap:12px}
.mc-e418-media-stage{display:grid;place-items:center;width:100%;height:min(52vh,460px);min-height:270px;overflow:hidden;border-radius:20px;background:color-mix(in oklch,var(--mc-e47-bg,#f3f6fa) 75%,white);border:1px solid rgba(33,61,107,.1)}
.mc-e418-media-stage img,.mc-e418-media-stage video{display:block;width:100%;height:100%;object-fit:contain!important}
.mc-e418-media-stage video{background:#121a2d}
.mc-e418-media-strip{display:flex;gap:9px;overflow-x:auto;padding:4px 2px;scrollbar-width:thin;scroll-snap-type:x proximity}
.mc-e418-thumb{flex:0 0 75px;width:75px;height:75px;position:relative;border-radius:13px;border:1px solid rgba(24,57,115,.18);background:#f5f8fe;cursor:pointer;overflow:hidden;scroll-snap-align:start;padding:0;transition:border-color .15s,box-shadow .15s}
.mc-e418-thumb.is-active{border:2px solid var(--mc-e47-primary,#2863dc);box-shadow:0 0 0 2px rgba(30,97,217,.12)}
.mc-e418-thumb:focus-visible,.mc-e418-dialog-close:focus-visible{outline:3px solid var(--mc-e47-primary,#2863dc);outline-offset:2px}
.mc-e418-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.mc-e418-video-thumb{width:100%;height:100%;display:flex;flex-direction:column;gap:4px;justify-content:center;align-items:center;background:linear-gradient(140deg,#263f73,#356ab4);color:#fff}
.mc-e418-video-thumb svg{width:23px;height:23px}
.mc-e418-video-thumb span{font-size:10px;font-weight:700;line-height:1.2}
.mc-e418-media-empty{color:#51627b;text-align:center;padding:14px}
.mc-e418-info-column{min-width:0;display:flex;flex-direction:column;gap:16px;padding:8px 0 0}
.mc-e418-copy{display:flex;flex-direction:column;gap:12px}
.mc-e418-info-column h3{font-size:clamp(1.55rem,2.7vw,2.45rem);line-height:1.1;letter-spacing:-.02em;margin:0;color:var(--mc-e47-text,#142b50)}
.mc-e418-dialog-price{font-size:clamp(1.5rem,2.4vw,2rem);font-weight:800;line-height:1.2;margin:0;color:var(--mc-e47-primary,#2863dc)}
.mc-e418-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.mc-e418-meta :is(.mc-e411-sku,.mc-e411-availability){margin:0;font-size:.82rem;padding:7px 11px;border-radius:999px;background:#f0f5fc;color:#375a7e}
.mc-e418-meta .mc-e411-availability{background:#eaf7f2;color:#166545}
.mc-e418-meta .mc-e411-availability[data-unavailable]{background:#ffeaea;color:#a42d2d}
.mc-e418-summary-block{font-size:.94rem;line-height:1.55;background:#f5f7fa;border-radius:14px;padding:13px 16px;margin:0;color:#43536c}
.mc-e418-actions{display:flex;flex-direction:column;gap:9px;margin-top:auto}
.mc-e418-actions .mc-e411-button,.mc-e418-actions form{width:100%;margin:0!important}
.mc-e418-actions .mc-e411-button{min-height:47px;display:flex;align-items:center;justify-content:center;border-radius:13px;font-size:.95rem;font-weight:750}
.mc-e418-preview-note{padding:13px;background:#f1f5fb;border-radius:13px;color:#586d86}
.mc-e418-grid-controls select{margin-bottom:9px}
@media(max-width:850px){
 body.mc-storefront .mc-e418-catalog .mce263-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.mc-storefront .mc-e418-catalog[data-e418-columns="2"] .mce263-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mc-e418-dialog-grid{grid-template-columns:1fr}
 .mc-e418-media-stage{height:min(48vh,390px)}
}
@media(max-width:650px){
 body.mc-storefront .mc-e418-catalog .mce263-product-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.mc-storefront .mc-e418-catalog .mce263-product-row,
 body.mc-storefront .mc-e418-catalog .mce263-product-track{display:contents!important;overflow:visible!important}
 body.mc-storefront .mc-e418-catalog .mce263-product-card{width:auto!important;flex:none!important}
 .mc-e418-quick-dialog{max-width:100vw!important;width:100vw!important;max-height:100dvh!important}
 .mc-e418-dialog-shell{border-radius:20px;padding:16px}
 .mc-e418-dialog-grid{gap:12px}
 .mc-e418-media-stage{height:min(42vh,340px);min-height:230px}
 .mc-e418-info-column{gap:11px}
}
@media(max-width:400px){body.mc-storefront .mc-e418-catalog .mce263-product-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){.mc-e418-thumb{transition:none!important}}

/* Source: mercris/mercris-experience-e419.css */
/* MerCris Experience E4.19 — independent featured grid, complete images and genuine editor focus. */
body.mc-storefront .mc-e411-featured-grid,
.mc-store-preview .mc-e411-preview-products {
  display:grid!important;
  grid-template-columns:repeat(var(--mc-e419-featured-columns,3),minmax(0,1fr))!important;
  gap:clamp(10px,1.2vw,18px)!important;
  align-items:stretch!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e417-card-media img,
.mc-store-preview .mc-e411-preview-products .mc-e417-card-media img,
body.mc-storefront .mc-e418-catalog .mc-e417-card-media img{
  object-fit:contain!important;object-position:center!important;
  padding:clamp(5px,.65vw,10px)!important;
}
body.mc-storefront .mc-e411-featured-grid .mc-e417-card-media,
.mc-store-preview .mc-e411-preview-products .mc-e417-card-media{
  background:color-mix(in oklch,var(--mc-e47-bg,#f2f5f9) 78%,white)!important;
}
@media(max-width:930px){
 body.mc-storefront .mc-e411-featured-grid,
 .mc-store-preview .mc-e411-preview-products{grid-template-columns:repeat(min(var(--mc-e419-featured-columns,3),3),minmax(0,1fr))!important}
}
@media(max-width:650px){
 body.mc-storefront .mc-e411-featured-grid,
 .mc-store-preview .mc-e411-preview-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:410px){
 body.mc-storefront .mc-e411-featured-grid,
 .mc-store-preview .mc-e411-preview-products{grid-template-columns:1fr!important}
}
/* Panel expand stays in the editor, while Extract moves the original panel into a native dialog. */
.mc-e419-editor-panel .mc-panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mc-e419-editor-panel .mc-panel-header>div:first-child{min-width:0}
.mc-e419-panel-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}
.mc-e419-panel-button{display:grid;place-items:center;width:35px;height:35px;padding:6px;border:1px solid color-mix(in oklch,var(--mc-e47-primary,#3166c7) 24%,transparent);border-radius:11px;background:color-mix(in oklch,var(--mc-e47-primary,#3166c7) 6%,white);color:var(--mc-e47-primary,#3166c7);cursor:pointer}
.mc-e419-panel-button svg{width:20px;height:20px}
.mc-e419-panel-button:hover{background:color-mix(in oklch,var(--mc-e47-primary,#3166c7) 15%,white)}
.mc-e419-panel-button:focus-visible{outline:3px solid var(--mc-e47-primary,#3166c7);outline-offset:2px}
.mc-e419-editor-panel.mc-e419-expanded{position:relative;z-index:52;width:min(820px,calc(100vw - 35px));max-width:none!important;box-shadow:0 22px 65px rgba(16,38,72,.22)!important}
.mc-e419-editor-panel.mc-e419-expanded .mc-e411-selector-items{max-height:46vh;overflow:auto}
.mc-e419-focused-dialog{border:0!important;border-radius:24px!important;background:transparent!important;padding:0!important;width:min(960px,calc(100vw - 28px));max-width:960px;max-height:calc(100dvh - 28px);overflow-y:auto;box-shadow:none!important}
.mc-e419-focused-dialog::backdrop{background:rgba(9,22,42,.67);backdrop-filter:blur(7px)}
.mc-e419-focus-shell{padding:8px}
.mc-e419-focused-dialog .mc-e419-editor-panel{display:block!important;width:100%!important;max-width:none!important;margin:0!important;box-shadow:0 26px 65px rgba(15,28,55,.22)!important;border-radius:20px!important}
.mc-e419-focused-dialog .mc-e419-editor-panel .mc-e411-selector-items{max-height:min(42vh,450px)!important;overflow-y:auto!important}
.mc-e419-focused-dialog .mc-e414-design .mc-e414-section{padding-block:15px}
@media(max-width:650px){
 .mc-e419-editor-panel.mc-e419-expanded{width:calc(100vw - 24px)}
 .mc-e419-focused-dialog{width:100vw;max-height:100dvh;border-radius:0!important}
 .mc-e419-focus-shell{padding:6px}
}

/* Source: mercris/mercris-experience-e420.css */
/* E4.20: familiar vertical expand/collapse like other MerCris Studio cards. */
.mc-e420-panel-body[hidden]{display:none!important}
.mc-e420-panel-body{min-width:0}
.mc-e420-panel-actions{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0}
.mc-e420-toggle{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;
  border:1px solid color-mix(in oklch,var(--mc-e47-primary,#2863dc) 22%,#fff);
  background:color-mix(in oklch,var(--mc-e47-primary,#2863dc) 6%,#fff);
  color:var(--mc-e47-primary,#2863dc);padding:7px;cursor:pointer}
.mc-e420-toggle:hover{background:color-mix(in oklch,var(--mc-e47-primary,#2863dc) 14%,#fff)}
.mc-e420-toggle:focus-visible{outline:3px solid var(--mc-e47-primary,#2863dc);outline-offset:2px}
.mc-e420-toggle svg{height:19px;width:19px}
.mc-e420-open .mc-e420-plus-vertical{display:none}
.mc-e420-panel-body>form{min-width:0}
@supports not (color:color-mix(in oklch, red, white)){
 .mc-e420-toggle{background:#f4f7fc;border-color:#c7d9f1;color:#245fe0}
 .mc-e420-toggle:hover{background:#eaf1fc}
}
/* E4.20: unified fit across featured / catalog / Live Preview, including images inside linked covers.
   The contain modes retain the entire source image; deliberate whitespace preserves its ratio. */
:is(body.mc-storefront,.mc-store-preview) .mc-e417-product-card .mc-e417-card-media{
  aspect-ratio:4/3!important;
  background:linear-gradient(145deg,
      color-mix(in oklch,var(--mc-e47-surface,#fff) 86%,var(--mc-e47-bg,#eef2f9)),
      color-mix(in oklch,var(--mc-e47-bg,#f3f7fb) 88%,white))!important;
  overflow:hidden!important;
}
:is(body.mc-storefront,.mc-store-preview) .mc-e417-product-card .mc-e417-card-media :is(.mc-e417-media-link img,img:not(.mc-e411-favicon)){
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  object-fit:contain!important;object-position:center center!important;
  padding:0!important;margin:0!important;border:0!important;
  box-sizing:border-box!important;transform:none!important;
}
:is(body.mc-storefront,.mc-store-preview)[data-e420-card-image-fit="balanced"] .mc-e417-product-card .mc-e417-card-media img{
  padding:clamp(5px,.65vw,11px)!important;
}
:is(body.mc-storefront,.mc-store-preview)[data-e420-card-image-fit="cover"] .mc-e417-product-card .mc-e417-card-media img{
  object-fit:cover!important;padding:0!important;
}
@media(max-width:600px){
 :is(body.mc-storefront,.mc-store-preview) .mc-e417-product-card .mc-e417-card-media{aspect-ratio:4/3!important}
}

/* Source: mercris/mercris-experience-e421.css */
/* MerCris Experience E4.21 — product detail multimedia + commerce. Scoped to product page. */
.mc-storefront .mc-e421-product-page{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(18px,2.7vw,34px);align-items:start;margin-top:12px}
.mc-e421-media-column{min-width:0;position:relative}
.mc-e421-gallery{--mc-e421-line:oklch(0.88 0.02 251);display:grid;gap:14px;border:1px solid #dce4f1;border-color:var(--mc-e421-line);padding:clamp(13px,1.5vw,19px);background:#fff;border-radius:26px;box-shadow:0 18px 45px rgba(17,43,77,.06)}
.mc-e421-gallery-stage{height:clamp(300px,36vw,520px);border-radius:20px;background:#f5f7fb;background:color-mix(in oklch,var(--mc-e47-surface,#fff) 78%,#e5ebf8);border:1px solid rgba(28,57,101,.08);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.mc-e421-gallery-stage img,.mc-e421-gallery-stage video{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:transparent}
.mc-e421-gallery-stage video{background:#111d34}
.mc-e421-media-empty{padding:20px;color:#586a88;text-align:center;line-height:1.6}
.mc-e421-gallery-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mc-e421-gallery-count{color:#556b8b;font-size:.85rem;font-weight:750}
.mc-e421-gallery-nav{display:flex;gap:8px}
.mc-e421-gallery-nav button{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;cursor:pointer;background:#f5f8ff;border:1px solid #dce7f6;color:#1b3b66;transition:transform .15s ease}
.mc-e421-gallery-nav button:hover{transform:translateY(-1px);background:#eaf1ff}
.mc-e421-gallery-nav svg{width:18px;height:18px}
.mc-e421-gallery-thumbs{display:flex;align-items:stretch;gap:10px;overflow-x:auto;padding:4px 2px 9px;scrollbar-width:thin;scroll-snap-type:x mandatory}
.mc-e421-thumb{position:relative;min-width:86px;width:86px;height:86px;flex:0 0 86px;background:#f3f7fd;border:2px solid #dce5f2;border-radius:14px;padding:4px;cursor:pointer;overflow:hidden;scroll-snap-align:start;transition:border-color .15s ease,box-shadow .15s ease;display:grid;place-items:center;color:#fff}
.mc-e421-thumb:hover,.mc-e421-thumb.is-active{border-color:var(--mc-e47-primary,var(--mc-accent,#245fe0));box-shadow:0 0 0 3px rgba(42,99,216,.11)}
.mc-e421-thumb img{width:100%;height:100%;object-fit:contain;border-radius:9px}
.mc-e421-video-tile{position:absolute;inset:0;background:linear-gradient(145deg,#1b3253,#263f6a)}
.mc-e421-play-label{position:absolute;inset:auto 5px 7px;display:flex;align-items:center;justify-content:center;gap:4px;background:rgba(12,29,52,.8);border-radius:9px;color:white;padding:5px 3px;font-size:10px;font-weight:800;letter-spacing:.02em}
.mc-e421-play-label svg{width:12px;height:12px}
.mc-e421-stage-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.76rem;color:#6d7f98;line-height:1.5;min-width:0}
.mc-e421-stage-footer>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:72%}
.mc-e421-zoom{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dce5f2;border-radius:10px;padding:7px 10px;background:#f9fbff;color:#1e416d;font-size:.78rem;font-weight:750;cursor:pointer}
.mc-e421-zoom svg{width:17px;height:17px}
.mc-e421-zoom[hidden]{display:none!important}
.mc-e421-zoom-dialog{width:min(96vw,1250px);height:min(94vh,900px);max-width:96vw;max-height:94vh;overflow:hidden;border:0;border-radius:24px;padding:40px 16px 18px;background:white;box-shadow:0 32px 85px rgba(10,22,43,.35)}
.mc-e421-zoom-dialog::backdrop{background:rgba(9,17,33,.78);backdrop-filter:blur(7px)}
.mc-e421-zoom-dialog img{width:100%;height:100%;object-fit:contain}
.mc-e421-zoom-dialog [data-e421-zoom-close]{position:absolute;right:16px;top:12px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #dce5f2;background:#fff;color:#243c60;border-radius:11px;cursor:pointer}
.mc-e421-zoom-dialog [data-e421-zoom-close] svg{width:19px;height:19px}
.mc-storefront .mc-e421-buy-panel{min-width:0;padding:clamp(20px,2.7vw,34px)!important;background:#fff;border:1px solid #dce5f2;border-radius:26px;box-shadow:0 18px 45px rgba(17,43,77,.06)}
.mc-e421-store-name{display:inline-flex;align-items:center;gap:6px;text-transform:uppercase;font-size:.72rem;letter-spacing:.10em}
.mc-storefront .mc-e421-buy-panel h1{margin:12px 0 8px;color:var(--mc-e47-text,#182b46);font-size:clamp(1.7rem,2.8vw,2.65rem);line-height:1.14;overflow-wrap:anywhere}
.mc-storefront .mc-e421-price{display:block;margin:15px 0 11px!important;color:var(--mc-e47-primary,#245fe0);font-size:clamp(1.9rem,3vw,2.55rem)!important;letter-spacing:-.035em}
.mc-e421-buy-panel .mc-stock{display:inline-flex;align-items:center;border-radius:999px;padding:7px 12px;background:#e9f7ef;color:#156743;font-weight:750;margin:3px 0 14px}
.mc-e421-buy-panel .mc-stock-empty{background:#fbecef;color:#9e253f}
.mc-e421-variants{border-top:1px solid #e2eaf4;border-bottom:1px solid #e2eaf4;padding:19px 0;margin:15px 0}
.mc-e421-variants h2,.mc-e421-description h2,.mc-e421-specs h2{font-size:1.02rem!important;margin:0 0 10px!important;color:var(--mc-e47-text,#1b3150)}
.mc-e421-variants .mc253-variant-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mc-e421-variant-option{border-radius:15px!important;padding:13px!important;transition:background .18s ease,border-color .18s ease}
.mc-e421-variant-option.is-selected{background:#eff5ff!important;border:2px solid var(--mc-e47-primary,#245fe0)!important;padding:12px!important}
.mc-e421-variant-option:focus-visible{outline:3px solid var(--mc-e47-primary,#245fe0);outline-offset:3px}
.mc-e421-description{border-top:1px solid #e2eaf4;margin-top:19px;padding-top:18px}
.mc-e421-description .mc-description{border:0;margin:0;padding:0;line-height:1.7;overflow-wrap:anywhere}
.mc-e421-specs{margin-top:18px}
.mc-e421-buy-form{display:grid!important;gap:9px;margin-top:22px;border-top:1px solid #e2eaf4;padding-top:20px}
.mc-e421-buy-form>label{font-weight:800;color:var(--mc-e47-text,#1b3150)}
.mc-e421-purchase-row{display:flex;align-items:stretch;gap:12px;min-width:0}
.mc-e421-qty-control{display:flex;align-items:stretch;border:1px solid #cfdaeb;border-radius:14px;overflow:hidden;min-height:51px;background:#fff}
.mc-e421-qty-control button{width:42px;min-width:42px;border:0;background:#f5f8fe;display:grid;place-items:center;color:#213d69;cursor:pointer}
.mc-e421-qty-control button:hover{background:#e7efff}
.mc-e421-qty-control svg{width:17px;height:17px}
.mc-storefront .mc-e421-qty-control input{width:57px;min-width:0;height:auto;border:0;border-left:1px solid #e6ecf6;border-right:1px solid #e6ecf6;border-radius:0;padding:5px;text-align:center;font-weight:800;color:#1c3559;appearance:textfield;-moz-appearance:textfield}
.mc-e421-qty-control input::-webkit-outer-spin-button,.mc-e421-qty-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.mc-storefront .mc-e421-add-button{flex:1;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:14px!important;padding:12px 15px!important;font-weight:800;line-height:1.25}
.mc-e421-add-button svg{width:19px;height:19px;flex-shrink:0}
.mc-storefront .mc-e421-buy-panel .mc-note{font-size:.8rem;line-height:1.6}
@media(max-width:900px){.mc-storefront .mc-e421-product-page{grid-template-columns:1fr}.mc-e421-gallery-stage{height:clamp(320px,58vw,520px)}}
@media(max-width:560px){.mc-storefront .mc-e421-product-page{gap:15px}.mc-e421-gallery{padding:11px;border-radius:19px;gap:10px}.mc-e421-gallery-stage{height:clamp(260px,88vw,400px);border-radius:14px}.mc-e421-thumb{width:70px;min-width:70px;flex-basis:70px;height:70px;border-radius:12px}.mc-storefront .mc-e421-buy-panel{padding:19px!important;border-radius:19px}.mc-e421-variants .mc253-variant-options{grid-template-columns:1fr}.mc-e421-purchase-row{flex-wrap:wrap}.mc-storefront .mc-e421-add-button{flex-basis:100%;min-height:48px}.mc-e421-qty-control{width:100%}.mc-e421-qty-control button{flex:1}.mc-e421-zoom-dialog{border-radius:13px;padding:44px 8px 10px}}
@media(prefers-reduced-motion:reduce){.mc-e421-thumb,.mc-e421-gallery-nav button,.mc-e421-variant-option{transition:none!important}}

/* Source: mercris/mercris-storefront-header-e429.css */
/* E4.29 — shared published merchant header, same component for storefront, cart and tracking.
   This layer only reinforces the existing Premium Panel layout and published tenant tokens;
   it never creates a second header or overwrites a store's saved palette. */
body.mc-storefront.mc-e47-published[data-e47-header="panel"] .mc-topbar {
  background: var(--mc-e414-header-color, #ffffff) !important;
  color: var(--mc-e414-header-text, #241f31) !important;
  border-color: color-mix(in oklch, var(--mc-e414-header-text, #241f31) 16%, transparent) !important;
}
body.mc-storefront.mc-e47-published[data-e47-header="panel"] .mc-topbar :is(.mc-brand, .mc-brand strong, .mc-brand small, .mc-e48-brand-name, .mc-e48-brand-name strong, .mc-e48-brand-name small, .mc-primary-nav a, .mc-primary-nav a svg, .mc-e415-header-search) {
  color: var(--mc-e414-header-text, #241f31) !important;
}
body.mc-storefront.mc-e47-published[data-e47-header="panel"] .mc-topbar :is(.mc-e415-header-search input, .mc-e415-header-search input::placeholder) {
  color: var(--mc-e414-header-text, #241f31) !important;
}
body.mc-storefront.mc-e47-published[data-e47-header="panel"] .mc-e415-header-search button {
  color: var(--mc-e414-header-text, #241f31) !important;
}
body.mc-storefront.mc-e47-published[data-e47-header="panel"] .mc-topbar :is(a, button, input):focus-visible {
  outline: 3px solid var(--mc-e47-accent, #245fe0);
  outline-offset: 3px;
}
@supports (color: color-mix(in oklch, black, white)) {
  body.mc-storefront.mc-e47-published[data-e47-header="panel"] .mc-topbar .mc-primary-nav a {
    border-color: color-mix(in oklch, var(--mc-e414-header-text, #241f31) 16%, transparent) !important;
    background: color-mix(in oklch, var(--mc-e414-header-text, #241f31) 5%, transparent) !important;
  }
}

