/* UDG Global Header v3.2 — Hero Overlay + Section-Aware Theme.
   Approved palette only: Obsidian #0B0A0A, Oxblood #5A1027, Warm Bone #F7F2EC,
   Rose Dust #D8C4CA, Smoked Taupe #6D6467, Soft White #FFFDFC.
   No Gold #C4973A. No Dark-Brown #2C1F14. No legacy accent colors.
   No trust strip. Hero overlay mode. Section-aware theme switching. */

/* =========================================================
   ROOT + TOKENS
   ========================================================= */
.udg-global-header-v3 {
  --udg-oxblood:#5A1027; --udg-obsidian:#0B0A0A; --udg-rose:#D8C4CA;
  --udg-bone:#F7F2EC; --udg-white:#FFFDFC; --udg-taupe:#6D6467;
  --udg-mast-bg:var(--udg-white); --udg-mast-fg:var(--udg-obsidian);
  --udg-mast-hover:var(--udg-oxblood);
  --udg-mast-veil:transparent;
  --udg-mast-height:52px; --udg-pad:32px;
  --udg-target:44px; --udg-icon:20px; --udg-stroke:1.25px;
  color:var(--udg-mast-fg); font:400 14px/1.5 'DM Sans',sans-serif; position:relative;
  width:100%; isolation:isolate; z-index:200;
}
/* Section-aware theme states — set by JS via data-udg-theme.
   Each state defines: mast-bg, mast-fg, mast-hover, mast-veil.
   The WHOLE mast inherits ONE coherent foreground. No per-control overrides. */
.udg-global-header-v3[data-udg-theme="light"] {
  --udg-mast-bg:var(--udg-white); --udg-mast-fg:var(--udg-obsidian);
  --udg-mast-hover:var(--udg-oxblood); --udg-mast-veil:transparent;
}
.udg-global-header-v3[data-udg-theme="dark"] {
  --udg-mast-bg:transparent; --udg-mast-fg:var(--udg-white);
  --udg-mast-hover:var(--udg-rose); --udg-mast-veil:rgba(11,10,10,0.12);
}
.udg-global-header-v3[data-udg-theme="transparent-dark"] {
  --udg-mast-bg:transparent; --udg-mast-fg:var(--udg-white);
  --udg-mast-hover:var(--udg-rose); --udg-mast-veil:rgba(11,10,10,0.12);
}
.udg-global-header-v3[data-udg-theme="transparent-light"] {
  --udg-mast-bg:transparent; --udg-mast-fg:var(--udg-obsidian);
  --udg-mast-hover:var(--udg-oxblood); --udg-mast-veil:transparent;
}
.udg-global-header-v3[data-udg-theme="obsidian"] {
  --udg-mast-bg:var(--udg-obsidian); --udg-mast-fg:var(--udg-white);
  --udg-mast-hover:var(--udg-rose); --udg-mast-veil:transparent;
}
.udg-global-header-v3[data-udg-theme="warm"] {
  --udg-mast-bg:var(--udg-bone); --udg-mast-fg:var(--udg-obsidian);
  --udg-mast-hover:var(--udg-oxblood); --udg-mast-veil:transparent;
}
.udg-global-header-v3[data-udg-theme="soft"] {
  --udg-mast-bg:var(--udg-white); --udg-mast-fg:var(--udg-obsidian);
  --udg-mast-hover:var(--udg-oxblood); --udg-mast-veil:transparent;
}
/* Legacy compat */
.udg-global-header-v3[data-udg-surface="dark"] {--udg-mast-bg:var(--udg-obsidian);--udg-mast-fg:var(--udg-white);--udg-mast-hover:var(--udg-rose)}
.udg-global-header-v3 *, .udg-global-header-v3 *::before, .udg-global-header-v3 *::after {box-sizing:border-box}
.udg-global-header-v3 [hidden] {display:none!important}

/* =========================================================
   P0: GOLD / DARK-BROWN ELIMINATION — HIGH-SPECIFICITY SCOPED RESETS
   Override Elementor global button styling inside #udg-global-header-v3.
   Targets: color, background, background-color, border, border-color,
   outline, outline-color, box-shadow, fill, stroke.
   States: default, hover, focus-visible, active, expanded, current, disabled.
   ========================================================= */

/* Base reset for ALL buttons inside the header scope */
#udg-global-header-v3 button,
#udg-global-header-v3 button:hover,
#udg-global-header-v3 button:focus,
#udg-global-header-v3 button:focus-visible,
#udg-global-header-v3 button:active,
#udg-global-header-v3 button[aria-expanded="true"],
#udg-global-header-v3 button[aria-expanded="false"],
#udg-global-header-v3 button[aria-current="true"],
#udg-global-header-v3 button:disabled {
  appearance:none; -webkit-appearance:none;
  color:var(--udg-mast-fg);
  background:transparent; background-color:transparent;
  border:0; border-color:transparent; border-radius:0;
  box-shadow:none; fill:none; stroke:currentColor;
  cursor:pointer; padding:0; text-transform:none; letter-spacing:normal;
  font-family:'DM Sans',sans-serif; font-size:inherit; line-height:inherit;
}
#udg-global-header-v3 button:disabled {cursor:wait; opacity:.55}

/* Base reset for ALL links inside the header scope */
#udg-global-header-v3 a,
#udg-global-header-v3 a:hover,
#udg-global-header-v3 a:focus,
#udg-global-header-v3 a:focus-visible,
#udg-global-header-v3 a:active,
#udg-global-header-v3 a[aria-current="true"] {
  color:var(--udg-mast-fg); text-decoration:none;
  background:transparent; background-color:transparent;
  border:0; border-color:transparent; box-shadow:none;
  fill:none; -webkit-tap-highlight-color:transparent;
}

/* Focus-visible: 2px Oxblood on light themes, Rose Dust on dark themes */
#udg-global-header-v3 :is(a,button,input):focus-visible {
  outline:2px solid var(--udg-mast-hover); outline-offset:4px;
}

/* Close buttons — transparent, Obsidian X, Oxblood hover, no tile */
#udg-global-header-v3 .udg-global-header-v3-close,
#udg-global-header-v3 .udg-global-header-v3-close:hover,
#udg-global-header-v3 .udg-global-header-v3-close:focus,
#udg-global-header-v3 .udg-global-header-v3-close:focus-visible,
#udg-global-header-v3 .udg-global-header-v3-close:active {
  width:var(--udg-target); height:var(--udg-target); flex:0 0 var(--udg-target);
  display:flex; align-items:center; justify-content:center; margin:0;
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0!important; border-color:transparent!important; border-radius:0;
  box-shadow:none; fill:none; transition:color 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-close:hover {color:var(--udg-oxblood)}
#udg-global-header-v3 .udg-global-header-v3-close svg {width:16px; height:16px; stroke:currentColor; fill:none}

/* Clear button */
#udg-global-header-v3 .udg-global-header-v3-clear,
#udg-global-header-v3 .udg-global-header-v3-clear:hover,
#udg-global-header-v3 .udg-global-header-v3-clear:focus,
#udg-global-header-v3 .udg-global-header-v3-clear:focus-visible,
#udg-global-header-v3 .udg-global-header-v3-clear:active {
  height:var(--udg-target); font-size:12px; color:var(--udg-obsidian);
  background:transparent; background-color:transparent;
  border:0!important; border-color:transparent!important; box-shadow:none;
  fill:none; transition:color 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-clear:hover {color:var(--udg-oxblood)}

/* CTA buttons — Oxblood background, no Gold */
#udg-global-header-v3 .udg-global-header-v3-cta,
#udg-global-header-v3 .udg-global-header-v3-cta:hover,
#udg-global-header-v3 .udg-global-header-v3-cta:focus,
#udg-global-header-v3 .udg-global-header-v3-cta:focus-visible,
#udg-global-header-v3 .udg-global-header-v3-cta:active {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:var(--udg-target); padding:12px 24px;
  background:var(--udg-oxblood); background-color:var(--udg-oxblood);
  color:var(--udg-white); font:500 12px/18px 'DM Sans',sans-serif;
  text-align:center; border-radius:2px; border:0; border-color:transparent;
  box-shadow:none; fill:none; transition:background-color 180ms ease,color 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-cta:hover {color:var(--udg-white)!important; background:var(--udg-obsidian); background-color:var(--udg-obsidian)}

/* Remove buttons */
#udg-global-header-v3 .udg-global-header-v3-remove,
#udg-global-header-v3 .udg-global-header-v3-remove:hover,
#udg-global-header-v3 .udg-global-header-v3-remove:focus,
#udg-global-header-v3 .udg-global-header-v3-remove:focus-visible,
#udg-global-header-v3 .udg-global-header-v3-remove:active {
  font-size:12px; text-decoration:underline; min-height:var(--udg-target);
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0!important; border-color:transparent!important; box-shadow:none; fill:none;
}
#udg-global-header-v3 .udg-global-header-v3-remove:hover {color:var(--udg-oxblood)}

/* Quantity buttons */
#udg-global-header-v3 .udg-global-header-v3-quantity button,
#udg-global-header-v3 .udg-global-header-v3-quantity button:hover,
#udg-global-header-v3 .udg-global-header-v3-quantity button:focus,
#udg-global-header-v3 .udg-global-header-v3-quantity button:focus-visible,
#udg-global-header-v3 .udg-global-header-v3-quantity button:active,
#udg-global-header-v3 .udg-global-header-v3-quantity button:disabled {
  width:36px; height:var(--udg-target); font-size:18px;
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0!important; border-color:transparent!important; box-shadow:none; fill:none;
}
#udg-global-header-v3 .udg-global-header-v3-quantity button:hover {color:var(--udg-oxblood)}

/* View cart link */
#udg-global-header-v3 .udg-global-header-v3-view-cart,
#udg-global-header-v3 .udg-global-header-v3-view-cart:hover,
#udg-global-header-v3 .udg-global-header-v3-view-cart:focus,
#udg-global-header-v3 .udg-global-header-v3-view-cart:focus-visible {
  text-align:center; font-size:12px; text-decoration:underline; min-height:24px;
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0; border-color:transparent; box-shadow:none; fill:none;
}
#udg-global-header-v3 .udg-global-header-v3-view-cart:hover {color:var(--udg-oxblood)}

/* Rail navigation buttons (search) */
#udg-global-header-v3 .udg-global-header-v3-rail-btn,
#udg-global-header-v3 .udg-global-header-v3-rail-btn:hover,
#udg-global-header-v3 .udg-global-header-v3-rail-btn:focus,
#udg-global-header-v3 .udg-global-header-v3-rail-btn:focus-visible,
#udg-global-header-v3 .udg-global-header-v3-rail-btn:active,
#udg-global-header-v3 .udg-global-header-v3-rail-btn:disabled {
  width:38px; height:38px; flex:0 0 38px; display:flex; align-items:center; justify-content:center;
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0!important; border-color:transparent!important; box-shadow:none; fill:none;
  transition:color 180ms ease,opacity 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-rail-btn:hover {color:var(--udg-oxblood)}
#udg-global-header-v3 .udg-global-header-v3-rail-btn:disabled {opacity:.3; cursor:default}

/* SVG defaults */
.udg-global-header-v3 svg {display:block; flex-shrink:0; pointer-events:none; stroke:currentColor; fill:none}

/* =========================================================
   ANNOUNCEMENT (34px fixed, crossfade carousel)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-announcement {
  height:34px; display:flex; align-items:center; justify-content:center;
  padding:4px 12px; background:var(--udg-oxblood); color:var(--udg-white);
  font-size:12px; line-height:18px; text-align:center;
  position:fixed; top:0; left:0; right:0; z-index:19; overflow:hidden;
}
.udg-global-header-v3 .udg-global-header-v3-announcement-viewport {
  position:relative; width:100%; height:18px; display:flex; align-items:center; justify-content:center;
}
.udg-global-header-v3 .udg-global-header-v3-announcement-slide {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity 300ms ease-in-out;
}
.udg-global-header-v3 .udg-global-header-v3-announcement-slide[data-active="true"] {opacity:1}

/* =========================================================
   HEADER SPACER — 0 on hero pages, mast height on non-hero
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-spacer {
  height:0; width:100%; pointer-events:none;
}
/* Non-hero pages: reserve mast height so content isn't hidden */
body:not(.udg-hero-overlay) .udg-global-header-v3 .udg-global-header-v3-spacer {
  height:calc(34px + var(--udg-mast-height));
}

/* =========================================================
   MAST (fixed, JS-managed top offset, section-aware theme)
   The mast themes as ONE unit — all controls inherit --udg-mast-fg.
   A subtle contrast veil (8-18% opacity) may sit behind controls
   on transparent themes over mixed-photo heroes.
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-mast {
  position:fixed; top:0; left:0; right:0; z-index:20;
  height:var(--udg-mast-height);
  display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:32px; align-items:center; padding:0 var(--udg-pad); margin:0;
  background:var(--udg-mast-bg); color:var(--udg-mast-fg);
  border:0; box-shadow:none;
  transition:background-color 180ms ease, color 180ms ease;
}
/* Contrast veil: subtle dark overlay within mast region for mixed-photo heroes.
   Only visible on transparent-dark theme. Never opaque, never glass, never blur. */
.udg-global-header-v3 .udg-global-header-v3-mast::before {
  content:''; position:absolute; inset:0; z-index:-1;
  background:var(--udg-mast-veil);
  transition:background 180ms ease;
  pointer-events:none;
}
/* Hero pages: mast starts transparent (overlay) */
body.udg-hero-overlay .udg-global-header-v3 .udg-global-header-v3-mast {
  background:transparent;
}
/* Scrolled state: mast gets solid surface for legibility, veil removed */
.udg-global-header-v3[data-scrolled="true"] .udg-global-header-v3-mast {
  background:var(--udg-mast-bg);
}
.udg-global-header-v3[data-scrolled="true"] .udg-global-header-v3-mast::before {
  background:transparent;
}
/* When scrolled on hero pages, transparent themes get solid surface */
body.udg-hero-overlay .udg-global-header-v3[data-scrolled="true"][data-udg-theme="transparent-dark"] .udg-global-header-v3-mast {
  background:var(--udg-obsidian);
}
body.udg-hero-overlay .udg-global-header-v3[data-scrolled="true"][data-udg-theme="transparent-light"] .udg-global-header-v3-mast {
  background:var(--udg-white);
}

/* =========================================================
   LOGO (cropped Inkscape assets, optical sizing)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-logo {
  width:216px; height:32px; display:flex; align-items:center; justify-content:flex-start;
  min-width:0; color:var(--udg-mast-fg);
}
.udg-global-header-v3 .udg-global-header-v3-logo img {
  height:28px; width:auto; max-width:100%;
  object-fit:contain; object-position:left center; display:block;
}
.udg-global-header-v3 [data-udg-logo-slot] {display:none}
.udg-global-header-v3 .udg-global-header-v3-wordmark {display:none}

/* =========================================================
   DESKTOP NAV
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-nav {
  display:flex; gap:24px; align-items:center; justify-content:center;
  white-space:nowrap; font-size:13px; font-weight:500; line-height:18px;
  letter-spacing:0.04em; color:var(--udg-mast-fg);
}
#udg-global-header-v3 .udg-global-header-v3-nav > a,
#udg-global-header-v3 [data-udg-mega-trigger] {
  display:flex; align-items:center; min-height:var(--udg-target);
  color:var(--udg-mast-fg); background:transparent; background-color:transparent;
  border:0!important; border-color:transparent!important; box-shadow:none; fill:none;
  padding:0; transition:color 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-nav a:hover,
#udg-global-header-v3 .udg-global-header-v3-nav button:hover {color:var(--udg-mast-hover)}
#udg-global-header-v3 .udg-global-header-v3-nav button[aria-expanded="true"] {color:var(--udg-mast-hover)}
.udg-global-header-v3 [data-udg-mega-trigger] svg {width:10px; height:10px; margin-left:4px; transition:transform 180ms ease}
.udg-global-header-v3 [data-udg-mega-trigger][aria-expanded="true"] svg {transform:rotate(180deg)}

/* =========================================================
   UTILITIES (true 44x44 targets, transparent, Obsidian/Oxblood)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-utilities,
.udg-global-header-v3 .udg-global-header-v3-mobile-left {
  display:flex; gap:0; align-items:center; justify-content:flex-end;
  color:var(--udg-mast-fg);
}
/* True 44x44 target box with centered 20px icon.
   All icons inherit the SAME mast foreground — no per-icon color overrides. */
#udg-global-header-v3 .udg-global-header-v3-icon,
#udg-global-header-v3 .udg-global-header-v3-icon:hover,
#udg-global-header-v3 .udg-global-header-v3-icon:focus,
#udg-global-header-v3 .udg-global-header-v3-icon:focus-visible,
#udg-global-header-v3 .udg-global-header-v3-icon:active,
#udg-global-header-v3 .udg-global-header-v3-icon[aria-expanded="true"] {
  width:var(--udg-target); height:var(--udg-target); flex:0 0 var(--udg-target);
  display:flex; align-items:center; justify-content:center; position:relative;
  color:var(--udg-mast-fg); background:transparent; background-color:transparent;
  border:0!important; border-color:transparent!important; box-shadow:none; fill:none;
  transition:color 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-icon:hover {color:var(--udg-mast-hover)}
.udg-global-header-v3 .udg-global-header-v3-icon svg {width:var(--udg-icon); height:var(--udg-icon)}
.udg-global-header-v3 .udg-global-header-v3-dot {
  position:absolute; top:8px; right:8px; width:4px; height:4px;
  border-radius:50%; background:var(--udg-oxblood);
}
.udg-global-header-v3 [data-udg-wishlist][data-saved="true"] svg {fill:var(--udg-oxblood); stroke:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-mobile-left {display:none}

/* =========================================================
   MEGA MENU (Collections — 57.26% / 42.74% grid)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-mega {
  position:absolute; top:100%; left:0; right:0;
  max-height:calc(100dvh - 100px); overflow-y:auto;
  display:grid; grid-template-columns:57.26% 42.74%; gap:16px;
  min-height:380px; padding:32px;
  background:var(--udg-white); color:var(--udg-obsidian);
  border-top:1px solid var(--udg-rose); white-space:normal;
  animation:udg-global-header-v3-reveal 200ms ease both;
}
.udg-global-header-v3 .udg-global-header-v3-mega[data-closing="true"] {
  animation:udg-global-header-v3-reveal-close 200ms ease both;
}
.udg-global-header-v3 .udg-global-header-v3-mega-links {
  display:flex; flex-direction:column; align-items:flex-start; gap:14px;
}
#udg-global-header-v3 .udg-global-header-v3-mega-links a:not(.udg-global-header-v3-cta),
#udg-global-header-v3 .udg-global-header-v3-mega-links a:not(.udg-global-header-v3-cta):hover,
#udg-global-header-v3 .udg-global-header-v3-mega-links a:not(.udg-global-header-v3-cta):focus,
#udg-global-header-v3 .udg-global-header-v3-mega-links a:not(.udg-global-header-v3-cta):focus-visible {
  display:flex; gap:16px; min-height:28px; align-items:center;
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0; border-color:transparent; box-shadow:none; fill:none;
  transition:color 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-mega-links a:not(.udg-global-header-v3-cta):hover {color:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-mega-links a:not(.udg-global-header-v3-cta) span {color:var(--udg-taupe); font-size:11px}
.udg-global-header-v3 .udg-global-header-v3-mega-links .udg-global-header-v3-cta {margin-top:auto; min-width:200px}
.udg-global-header-v3 .udg-global-header-v3-label {
  font-size:11px; line-height:18px; font-weight:500; color:var(--udg-taupe);
  letter-spacing:0.08em; text-transform:uppercase;
}

/* MEGA EDITORIAL (real product cards) */
.udg-global-header-v3 .udg-global-header-v3-editorial {
  display:grid; grid-template-columns:1fr 1fr; gap:16px; align-content:start;
}
#udg-global-header-v3 .udg-global-header-v3-editorial a,
#udg-global-header-v3 .udg-global-header-v3-editorial a:hover,
#udg-global-header-v3 .udg-global-header-v3-editorial a:focus,
#udg-global-header-v3 .udg-global-header-v3-editorial a:focus-visible {
  display:flex; flex-direction:column; gap:10px;
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0; border-color:transparent; box-shadow:none; fill:none;
  transition:color 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-editorial a:hover {color:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-media-slot {
  display:flex; align-items:center; justify-content:center;
  aspect-ratio:3/4; background:var(--udg-bone); color:var(--udg-taupe);
  font-size:10px; text-align:center; overflow:hidden; border:0;
}
.udg-global-header-v3 .udg-global-header-v3-media-slot img {
  height:100%; width:100%; object-fit:cover; display:block;
  transition:transform 250ms ease;
}
.udg-global-header-v3 .udg-global-header-v3-editorial a:hover .udg-global-header-v3-media-slot img {transform:scale(1.05)}
.udg-global-header-v3 .udg-global-header-v3-display {font:400 22px/1.15 'Bodoni Moda',serif; letter-spacing:normal}
.udg-global-header-v3 .udg-global-header-v3-editorial .udg-global-header-v3-display {font-size:18px}

/* =========================================================
   DIALOGS (shared)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-dialog {
  padding:0; margin:0; border:0; box-shadow:none;
  max-width:none; max-height:none; position:fixed;
  color:var(--udg-obsidian); background:var(--udg-white);
  font:400 14px/1.5 'DM Sans',sans-serif;
  overflow:hidden; overscroll-behavior:contain;
}
.udg-global-header-v3 .udg-global-header-v3-dialog::backdrop {
  background:rgb(11 10 10 / .3); animation:udg-global-header-v3-fade 300ms ease both;
}
.udg-global-header-v3 .udg-global-header-v3-dialog[open] {display:flex; flex-direction:column}

/* =========================================================
   SEARCH PANEL
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-search {
  top:0; left:0; width:100%; height:100dvh;
  animation:udg-global-header-v3-fade 300ms ease both;
  background:var(--udg-bone);
}
.udg-global-header-v3 .udg-global-header-v3-search::backdrop {background:transparent}
.udg-global-header-v3 .udg-global-header-v3-search-form {
  display:flex; gap:16px; align-items:center; flex:0 0 46px;
  padding:0 var(--udg-pad); margin:0;
  background:var(--udg-bone); border-bottom:1px solid var(--udg-rose);
  color:var(--udg-obsidian);
}
.udg-global-header-v3 .udg-global-header-v3-search-form svg {color:var(--udg-obsidian)}
.udg-global-header-v3 .udg-global-header-v3-search-form input[type="search"] {
  flex:1; min-width:0; width:100%; height:44px; padding:12px 0;
  appearance:none; -webkit-appearance:none; border:0; border-radius:0;
  background:transparent; background-color:transparent;
  color:var(--udg-obsidian); box-shadow:none;
  font:400 16px/20px 'DM Sans',sans-serif;
}
.udg-global-header-v3 .udg-global-header-v3-search-form input::placeholder {color:var(--udg-taupe); opacity:1}
.udg-global-header-v3 input[type="search"]::-webkit-search-cancel-button {appearance:none}

.udg-global-header-v3 .udg-global-header-v3-search-body {
  flex:1; min-height:0; overflow:auto;
  display:flex; gap:16px; padding:24px 0 24px 32px;
  background:var(--udg-bone);
}
.udg-global-header-v3 .udg-global-header-v3-search-aside {flex:0 0 332px; min-width:0}
.udg-global-header-v3 .udg-global-header-v3-search-aside nav {
  display:flex; flex-direction:column; gap:12px; margin-top:16px; padding-right:16px;
}
#udg-global-header-v3 .udg-global-header-v3-search-aside nav a,
#udg-global-header-v3 .udg-global-header-v3-search-aside nav a:hover,
#udg-global-header-v3 .udg-global-header-v3-search-aside nav a:focus,
#udg-global-header-v3 .udg-global-header-v3-search-aside nav a:focus-visible {
  display:flex; gap:12px; min-height:24px; align-items:center;
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0; border-color:transparent; box-shadow:none; fill:none;
  transition:color 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-search-aside nav a:hover {color:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-search-aside nav a span {color:var(--udg-taupe); font-size:11px}
.udg-global-header-v3 [data-udg-recent] {margin-top:32px}
.udg-global-header-v3 [data-udg-recent-list] {list-style:none; padding:8px 0}
#udg-global-header-v3 [data-udg-recent-list] button,
#udg-global-header-v3 [data-udg-recent-list] button:hover,
#udg-global-header-v3 [data-udg-recent-list] button:focus,
#udg-global-header-v3 [data-udg-recent-list] button:focus-visible {
  min-height:36px; text-align:left; color:var(--udg-obsidian);
  background:transparent; background-color:transparent;
  border:0!important; border-color:transparent!important; box-shadow:none; fill:none;
}
#udg-global-header-v3 [data-udg-recent-list] button:hover {color:var(--udg-oxblood)}

.udg-global-header-v3 .udg-global-header-v3-results-section {flex:1; min-width:0}
.udg-global-header-v3 .udg-global-header-v3-results-heading {
  display:flex; justify-content:space-between; align-items:baseline;
  gap:16px; padding-right:32px; margin-bottom:20px;
}
#udg-global-header-v3 .udg-global-header-v3-results-heading > a,
#udg-global-header-v3 .udg-global-header-v3-results-heading > a:hover,
#udg-global-header-v3 .udg-global-header-v3-results-heading > a:focus,
#udg-global-header-v3 .udg-global-header-v3-results-heading > a:focus-visible {
  font-size:12px; text-decoration:underline; min-width:50px;
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0; border-color:transparent; box-shadow:none; fill:none;
}
#udg-global-header-v3 .udg-global-header-v3-results-heading > a:hover {color:var(--udg-oxblood)}
.udg-global-header-v3 [data-udg-search-status] {padding:0 32px 12px 0; color:var(--udg-taupe)}

/* Rail wrapper with prev/next controls */
.udg-global-header-v3 .udg-global-header-v3-rail-wrapper {
  display:flex; align-items:stretch; gap:0; padding-right:32px;
}
.udg-global-header-v3 .udg-global-header-v3-product-rail {
  flex:1; min-width:0; display:flex; gap:16px;
  overflow-x:auto; scroll-snap-type:x proximity;
  padding:4px 8px 24px 0; overscroll-behavior-x:contain;
  scrollbar-width:none;
}
.udg-global-header-v3 .udg-global-header-v3-product-rail::-webkit-scrollbar {display:none}

/* Product cards — DM Sans compact typography (not Bodoni) */
.udg-global-header-v3 .udg-global-header-v3-product {
  flex:0 0 216px; min-width:0;
  display:flex; flex-direction:column; gap:8px; scroll-snap-align:start;
}
.udg-global-header-v3 .udg-global-header-v3-product img {
  width:216px; height:270px; object-fit:cover; display:block;
  border-radius:2px; background:var(--udg-white);
}
.udg-global-header-v3 .udg-global-header-v3-product h3 {
  font:500 14px/18px 'DM Sans',sans-serif; margin:0;
  overflow-wrap:anywhere; color:var(--udg-obsidian);
}
.udg-global-header-v3 .udg-global-header-v3-product > p {font-size:12px; color:var(--udg-taupe)}
.udg-global-header-v3 .udg-global-header-v3-product .udg-global-header-v3-cta {margin-top:auto}

/* =========================================================
   CART DRAWER (564px max, 350ms motion)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-cart {
  top:0; left:auto; right:0;
  width:min(100%,564px); height:100dvh;
  animation:udg-global-header-v3-from-right 350ms ease-in-out both;
}
.udg-global-header-v3 .udg-global-header-v3-panel-head {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:16px var(--udg-pad); min-height:53px; flex-shrink:0;
  border-bottom:1px solid var(--udg-rose);
}
.udg-global-header-v3 .udg-global-header-v3-panel-head h2 {
  font:500 14px/21px 'DM Sans',sans-serif; color:var(--udg-obsidian);
}
.udg-global-header-v3 .udg-global-header-v3-status {padding:0 var(--udg-pad) 8px; color:var(--udg-taupe); font-size:12px}

/* FREE SHIPPING PROGRESS (4px Rose Dust track, Oxblood fill) */
.udg-global-header-v3 .udg-global-header-v3-shipping-progress {
  padding:12px var(--udg-pad); border-bottom:1px solid var(--udg-rose);
}
.udg-global-header-v3 .udg-global-header-v3-shipping-message {
  font-size:12px; color:var(--udg-obsidian); margin-bottom:8px;
}
.udg-global-header-v3 .udg-global-header-v3-shipping-bar {
  height:4px; background:var(--udg-rose); border-radius:0; overflow:hidden;
}
.udg-global-header-v3 .udg-global-header-v3-shipping-bar-fill {
  height:100%; background:var(--udg-oxblood); transition:width 300ms ease-in-out;
}

.udg-global-header-v3 .udg-global-header-v3-cart-scroll {
  flex:1; overflow-y:auto; min-height:0;
  padding:16px var(--udg-pad); overscroll-behavior:contain;
  display:flex; flex-direction:column; gap:16px;
}
.udg-global-header-v3 .udg-global-header-v3-cart-empty {
  margin-block:auto; display:flex; flex-direction:column;
  align-items:flex-start; gap:16px;
}
.udg-global-header-v3 .udg-global-header-v3-cart-empty p {
  font:400 16px/1.3 'Bodoni Moda',serif; color:var(--udg-obsidian);
}
.udg-global-header-v3 .udg-global-header-v3-cart-item {
  display:grid; grid-template-columns:72px minmax(0,1fr); gap:16px; min-height:90px;
}
.udg-global-header-v3 .udg-global-header-v3-cart-item img {
  width:72px; height:90px; object-fit:cover; display:block; border-radius:2px;
}
.udg-global-header-v3 .udg-global-header-v3-cart-info {display:flex; flex-direction:column; gap:4px; min-width:0}
.udg-global-header-v3 .udg-global-header-v3-cart-line {
  display:flex; align-items:baseline; justify-content:space-between;
  gap:12px; overflow-wrap:anywhere;
}
.udg-global-header-v3 .udg-global-header-v3-cart-line strong {font-weight:500; color:var(--udg-obsidian)}
.udg-global-header-v3 .udg-global-header-v3-cart-price {white-space:nowrap; font-size:12px; color:var(--udg-taupe)}
.udg-global-header-v3 .udg-global-header-v3-cart-variation {font-size:12px; color:var(--udg-taupe)}
.udg-global-header-v3 .udg-global-header-v3-cart-actions {
  display:flex; align-items:center; justify-content:space-between;
  gap:8px; margin-top:auto;
}
.udg-global-header-v3 .udg-global-header-v3-quantity {display:flex; align-items:center; gap:0; color:var(--udg-obsidian)}
.udg-global-header-v3 .udg-global-header-v3-quantity span {width:24px; text-align:center}

/* Cart sticky footer */
.udg-global-header-v3 .udg-global-header-v3-cart-footer {
  background:var(--udg-white); border-top:1px solid var(--udg-rose);
  flex-shrink:0; padding:16px var(--udg-pad) max(16px,env(safe-area-inset-bottom));
  display:flex; flex-direction:column; gap:12px;
}
.udg-global-header-v3 .udg-global-header-v3-subtotal {
  display:flex; align-items:center; justify-content:space-between;
  font-size:15px; color:var(--udg-obsidian);
}
.udg-global-header-v3 .udg-global-header-v3-subtotal strong {font-weight:600}
.udg-global-header-v3 .udg-global-header-v3-cart-footer p {font-size:11px; color:var(--udg-taupe)}

/* =========================================================
   PRODUCT CARD HEARTS (YITH wishlist toggle on cards)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-product {position:relative}
.udg-global-header-v3 .udg-global-header-v3-heart {
  position:absolute; top:8px; right:8px; z-index:2;
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,253,252,0.85); border:0; border-radius:50%;
  cursor:pointer; color:var(--udg-obsidian);
  transition:color 180ms ease, background 180ms ease;
}
.udg-global-header-v3 .udg-global-header-v3-heart:hover {color:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-heart[data-saved="true"] {color:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-heart[data-saved="true"] svg {fill:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-heart svg {fill:none; transition:fill 180ms ease}

/* Product card category label */
.udg-global-header-v3 .udg-global-header-v3-product-cat {
  font-size:11px; letter-spacing:0.04em; color:var(--udg-taupe); text-transform:uppercase;
}

/* =========================================================
   RAIL PAGINATION SEGMENTS
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-rail-pagination {
  display:flex; gap:6px; justify-content:center; padding:0 32px 8px;
}
.udg-global-header-v3 .udg-global-header-v3-rail-pagination span {
  width:24px; height:3px; background:var(--udg-rose); border-radius:0;
  transition:background 180ms ease;
}
.udg-global-header-v3 .udg-global-header-v3-rail-pagination span[data-active="true"] {
  background:var(--udg-oxblood);
}

/* =========================================================
   CART RECOMMENDATIONS (compact horizontal cards)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-cart-recommendations {
  padding:16px var(--udg-pad); border-top:1px solid var(--udg-rose);
  flex-shrink:0;
}
.udg-global-header-v3 .udg-global-header-v3-cart-recommendations h3 {
  font:400 18px/1.2 'Bodoni Moda',serif; color:var(--udg-obsidian);
  margin:0 0 12px;
}
.udg-global-header-v3 .udg-global-header-v3-rail-wrapper-compact {padding-right:0}
.udg-global-header-v3 .udg-global-header-v3-product-rail-compact {gap:12px; padding:4px 0 16px}
.udg-global-header-v3 .udg-global-header-v3-product-compact {
  flex:0 0 200px; min-width:0;
  display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px;
  scroll-snap-align:start; align-items:start;
}
.udg-global-header-v3 .udg-global-header-v3-product-compact img {
  width:64px; height:80px; object-fit:cover; border-radius:2px; display:block;
}
.udg-global-header-v3 .udg-global-header-v3-product-compact-info {
  display:flex; flex-direction:column; gap:4px; min-width:0;
}
.udg-global-header-v3 .udg-global-header-v3-product-compact-info h4 {
  font:500 13px/16px 'DM Sans',sans-serif; color:var(--udg-obsidian);
  margin:0; overflow:hidden; text-overflow:ellipsis;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
}
.udg-global-header-v3 .udg-global-header-v3-product-compact-cat {
  font-size:10px; color:var(--udg-taupe); text-transform:uppercase; letter-spacing:0.04em;
}
.udg-global-header-v3 .udg-global-header-v3-product-compact-price {font-size:12px; color:var(--udg-obsidian)}
.udg-global-header-v3 .udg-global-header-v3-product-compact-cta {
  font-size:11px; text-decoration:underline; color:var(--udg-oxblood);
  margin-top:2px; cursor:pointer; background:transparent; border:0; padding:0;
  text-align:left;
}

/* =========================================================
   WISHLIST DRAWER (564px, right-side, 350ms motion)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-wishlist {
  top:0; left:auto; right:0;
  width:min(100%,564px); height:100dvh;
  animation:udg-global-header-v3-from-right 350ms ease-in-out both;
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-scroll {
  flex:1; overflow-y:auto; min-height:0;
  padding:16px var(--udg-pad); overscroll-behavior:contain;
  display:flex; flex-direction:column; gap:16px;
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-empty {
  margin-block:auto; display:flex; flex-direction:column;
  align-items:flex-start; gap:16px;
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-empty p {
  font:400 16px/1.3 'Bodoni Moda',serif; color:var(--udg-obsidian);
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-recommendations {
  padding:16px var(--udg-pad); border-top:1px solid var(--udg-rose);
  flex-shrink:0;
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-recommendations h3 {
  font:400 22px/1.15 'Bodoni Moda',serif; color:var(--udg-obsidian);
  margin:0 0 12px;
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-item {
  display:grid; grid-template-columns:80px minmax(0,1fr) auto; gap:16px;
  min-height:100px; align-items:start;
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-item img {
  width:80px; height:100px; object-fit:cover; border-radius:2px; display:block;
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-item-info {
  display:flex; flex-direction:column; gap:4px; min-width:0;
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-item-info h4 {
  font:500 14px/18px 'DM Sans',sans-serif; color:var(--udg-obsidian);
  margin:0; overflow-wrap:anywhere;
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-item-info .price {font-size:12px; color:var(--udg-taupe)}
.udg-global-header-v3 .udg-global-header-v3-wishlist-remove {
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  background:transparent; border:0; color:var(--udg-taupe); cursor:pointer;
  transition:color 180ms ease;
}
.udg-global-header-v3 .udg-global-header-v3-wishlist-remove:hover {color:var(--udg-oxblood)}

/* =========================================================
   MOBILE MENU (full width at 430/390/360, 350ms motion)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-menu {
  top:0; left:0; width:min(100%,420px); height:100dvh;
  animation:udg-global-header-v3-from-left 350ms ease-in-out both;
}
.udg-global-header-v3 .udg-global-header-v3-panel-scroll {
  overflow-y:auto; flex:1; min-height:0; overscroll-behavior:contain;
}
.udg-global-header-v3 .udg-global-header-v3-menu-primary {
  display:flex; align-items:center; gap:20px; padding:0 16px 12px;
  overflow-x:auto; border-bottom:1px solid var(--udg-rose);
  font-size:12px; white-space:nowrap; color:var(--udg-obsidian);
}
#udg-global-header-v3 .udg-global-header-v3-menu-primary a,
#udg-global-header-v3 .udg-global-header-v3-menu-primary a:hover,
#udg-global-header-v3 .udg-global-header-v3 .udg-global-header-v3-menu-primary a:focus {
  display:flex; align-items:center; min-height:36px;
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0; border-color:transparent; box-shadow:none; fill:none;
}
#udg-global-header-v3 .udg-global-header-v3-menu-primary a:hover {color:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-categories {
  padding:8px 16px; display:flex; flex-direction:column;
}
#udg-global-header-v3 .udg-global-header-v3-categories a,
#udg-global-header-v3 .udg-global-header-v3-categories a:hover,
#udg-global-header-v3 .udg-global-header-v3-categories a:focus {
  display:flex; align-items:center; gap:16px; min-height:56px;
  border-bottom:1px solid var(--udg-rose);
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border-left:0; border-right:0; border-top:0; box-shadow:none; fill:none;
  transition:color 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-categories a:hover {color:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-categories span {color:var(--udg-taupe); font-size:11px}
#udg-global-header-v3 .udg-global-header-v3-menu-shop,
#udg-global-header-v3 .udg-global-header-v3-menu-shop:hover,
#udg-global-header-v3 .udg-global-header-v3-menu-shop:focus {
  margin:16px; display:flex; justify-content:space-between; align-items:center;
  min-height:var(--udg-target); color:var(--udg-obsidian);
  background:transparent; background-color:transparent;
  border:0; border-color:transparent; box-shadow:none; fill:none;
}
#udg-global-header-v3 .udg-global-header-v3-menu-shop:hover {color:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-menu-footer {
  display:flex; justify-content:space-between; gap:16px;
  border-top:1px solid var(--udg-rose);
  padding:16px 16px max(16px,env(safe-area-inset-bottom));
  font-size:12px; color:var(--udg-obsidian);
}
#udg-global-header-v3 .udg-global-header-v3-menu-footer a,
#udg-global-header-v3 .udg-global-header-v3-menu-footer a:hover,
#udg-global-header-v3 .udg-global-header-v3-menu-footer a:focus {
  min-height:var(--udg-target); display:flex; align-items:center;
  color:var(--udg-obsidian); background:transparent; background-color:transparent;
  border:0; border-color:transparent; box-shadow:none; fill:none;
}
#udg-global-header-v3 .udg-global-header-v3-menu-footer a:hover {color:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-sr {
  position:absolute!important; width:1px; height:1px; padding:0;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
}

/* =========================================================
   ACCOUNT POPUP (dropdown panel, ~448px, anchored under icon)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-account-wrap {
  position:relative;
}
.udg-global-header-v3 .udg-global-header-v3-account {
  position:absolute; top:calc(100% + 8px); right:0;
  width:448px; max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 120px); overflow-y:auto;
  background:var(--udg-white); color:var(--udg-obsidian);
  border:1px solid var(--udg-rose);
  box-shadow:0 8px 32px rgba(11,10,10,0.12);
  z-index:25; overscroll-behavior:contain;
  animation:udg-global-header-v3-account-reveal 280ms ease both;
}
.udg-global-header-v3 .udg-global-header-v3-account[hidden] {display:none!important}
.udg-global-header-v3 .udg-global-header-v3-account[data-closing="true"] {
  animation:udg-global-header-v3-account-close 200ms ease both;
}
.udg-global-header-v3 .udg-global-header-v3-account-head {
  display:flex; align-items:center; justify-content:space-between;
  padding:0 0 0 0; border-bottom:1px solid var(--udg-rose);
  flex-shrink:0;
}
.udg-global-header-v3 .udg-global-header-v3-account-tabs {
  display:flex; flex:1; min-width:0;
}
#udg-global-header-v3 .udg-global-header-v3-account-tabs button,
#udg-global-header-v3 .udg-global-header-v3-account-tabs button:hover,
#udg-global-header-v3 .udg-global-header-v3-account-tabs button:focus,
#udg-global-header-v3 .udg-global-header-v3-account-tabs button:focus-visible,
#udg-global-header-v3 .udg-global-header-v3-account-tabs button[aria-selected="true"] {
  flex:1; min-height:48px; padding:14px 16px;
  font:500 12px/18px 'DM Sans',sans-serif; letter-spacing:0.06em;
  color:var(--udg-taupe); background:transparent; background-color:transparent;
  border:0!important; border-color:transparent!important; border-radius:0;
  box-shadow:none; fill:none; cursor:pointer;
  border-bottom:2px solid transparent;
  transition:color 180ms ease, border-color 180ms ease;
}
#udg-global-header-v3 .udg-global-header-v3-account-tabs button:hover {color:var(--udg-obsidian)}
#udg-global-header-v3 .udg-global-header-v3-account-tabs button[aria-selected="true"] {
  color:var(--udg-obsidian); border-bottom-color:var(--udg-oxblood);
}
.udg-global-header-v3 .udg-global-header-v3-account-body {
  padding:24px; display:flex; flex-direction:column; gap:16px;
}
.udg-global-header-v3 .udg-global-header-v3-account-greeting {
  font:400 16px/1.3 'Bodoni Moda',serif; color:var(--udg-obsidian); margin:0 0 4px;
}
.udg-global-header-v3 .udg-global-header-v3-field {
  display:flex; flex-direction:column; gap:6px;
}
.udg-global-header-v3 .udg-global-header-v3-field input {
  height:44px; padding:12px 14px;
  appearance:none; -webkit-appearance:none;
  border:1px solid var(--udg-rose); border-radius:2px;
  background:var(--udg-white); color:var(--udg-obsidian);
  font:400 14px/18px 'DM Sans',sans-serif;
  transition:border-color 180ms ease;
}
.udg-global-header-v3 .udg-global-header-v3-field input:focus {
  outline:none; border-color:var(--udg-oxblood);
}
.udg-global-header-v3 .udg-global-header-v3-field input::placeholder {color:var(--udg-taupe)}
.udg-global-header-v3 .udg-global-header-v3-remember {
  display:flex; align-items:center; gap:8px;
  font-size:13px; color:var(--udg-taupe); cursor:pointer;
}
.udg-global-header-v3 .udg-global-header-v3-remember input {
  width:16px; height:16px; accent-color:var(--udg-oxblood);
}
.udg-global-header-v3 .udg-global-header-v3-account-submit {
  width:100%; margin-top:4px;
}
.udg-global-header-v3 .udg-global-header-v3-account-lost {
  text-align:center; font-size:13px; text-decoration:underline;
  color:var(--udg-obsidian); padding:4px 0;
  transition:color 180ms ease;
}
.udg-global-header-v3 .udg-global-header-v3-account-lost:hover {color:var(--udg-oxblood)}
.udg-global-header-v3 .udg-global-header-v3-account-note {
  font-size:12px; color:var(--udg-taupe); line-height:1.4;
}
/* Logged-in state */
.udg-global-header-v3 .udg-global-header-v3-account-logged-in {
  padding:24px; display:flex; flex-direction:column; gap:16px;
}
.udg-global-header-v3 .udg-global-header-v3-account-logged-in p {
  font:400 16px/1.3 'Bodoni Moda',serif; color:var(--udg-obsidian);
}
@keyframes udg-global-header-v3-account-reveal {
  from {opacity:0; transform:translateY(-8px)}
  to {opacity:1; transform:translateY(0)}
}
@keyframes udg-global-header-v3-account-close {
  from {opacity:1; transform:translateY(0)}
  to {opacity:0; transform:translateY(-8px)}
}

/* =========================================================
   MOBILE BREAKPOINT (<=1024)
   ========================================================= */
@media(max-width:1024px){
  .udg-global-header-v3 {--udg-mast-height:44px; --udg-pad:16px}
  .udg-global-header-v3 .udg-global-header-v3-mast {
    gap:12px; grid-template-columns:minmax(0,1fr) 109px minmax(0,1fr);
    padding-left:max(16px,env(safe-area-inset-left));
    padding-right:max(16px,env(safe-area-inset-right));
  }
  .udg-global-header-v3 .udg-global-header-v3-mobile-left {display:flex; justify-content:flex-start}
  .udg-global-header-v3 .udg-global-header-v3-nav,
  .udg-global-header-v3 .udg-global-header-v3-desktop-only {display:none}
  .udg-global-header-v3 .udg-global-header-v3-logo {
    width:109px; height:28px; justify-content:center;
  }
  .udg-global-header-v3 .udg-global-header-v3-logo img {
    height:28px; width:auto; object-position:center;
  }
  /* Mobile search: 500ms left entry + 300ms opacity */
  .udg-global-header-v3 .udg-global-header-v3-search {
    width:calc(100% - 32px); animation:udg-global-header-v3-from-left 500ms ease-in-out both;
  }
  .udg-global-header-v3 .udg-global-header-v3-search::backdrop {background:rgb(11 10 10 / .3)}
  .udg-global-header-v3 .udg-global-header-v3-search-form {gap:8px}
  .udg-global-header-v3 .udg-global-header-v3-search-body {
    display:flex; flex-direction:column; padding:24px 0 16px; gap:24px;
  }
  .udg-global-header-v3 .udg-global-header-v3-search-aside {flex:0 0 auto; padding:0 16px}
  .udg-global-header-v3 .udg-global-header-v3-results-section {flex:0 0 auto; padding-left:16px}
  .udg-global-header-v3 .udg-global-header-v3-results-heading {padding-right:16px}
  .udg-global-header-v3 .udg-global-header-v3-rail-wrapper {padding-right:16px}
  .udg-global-header-v3 .udg-global-header-v3-display {font-size:22px}
  .udg-global-header-v3 .udg-global-header-v3-cart-item {grid-template-columns:64px minmax(0,1fr); gap:12px}
  .udg-global-header-v3 .udg-global-header-v3-cart-item img {width:64px; height:80px}
  .udg-global-header-v3 .udg-global-header-v3-cart {width:100vw}
  .udg-global-header-v3 .udg-global-header-v3-menu {width:100%}
  /* Hide rail buttons on mobile (touch scroll) */
  .udg-global-header-v3 .udg-global-header-v3-rail-btn {display:none}
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes udg-global-header-v3-reveal {
  from {clip-path:inset(0 0 100%); opacity:0}
  to {clip-path:inset(0); opacity:1}
}
@keyframes udg-global-header-v3-reveal-close {
  from {clip-path:inset(0); opacity:1}
  to {clip-path:inset(0 0 100%); opacity:0}
}
@keyframes udg-global-header-v3-fade {from{opacity:0} to{opacity:1}}
@keyframes udg-global-header-v3-from-right {from{transform:translateX(100%)} to{transform:translateX(0)}}
@keyframes udg-global-header-v3-from-left {from{transform:translateX(-100%)} to{transform:translateX(0)}}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media(prefers-reduced-motion:reduce){
  .udg-global-header-v3 *,
  .udg-global-header-v3 *::after,
  .udg-global-header-v3 *::before,
  .udg-global-header-v3 dialog::backdrop {
    animation:none!important; transition:none!important; scroll-behavior:auto!important;
  }
  .udg-global-header-v3 .udg-global-header-v3-announcement-slide {transition:none!important}
}

/* =========================================================
   UDGOON TEXT WORDMARK (fallback when no logo image)
   ========================================================= */
.udg-global-header-v3 .udg-global-header-v3-wordmark {
  display:inline-flex; flex-direction:column; justify-content:center;
  min-width:92px; min-height:20px; padding:2px;
  color:var(--udg-mast-fg);
  font-family:"Bodoni Moda",serif; font-size:15px; font-weight:500;
  letter-spacing:0.06em; line-height:0.9; text-transform:uppercase; white-space:nowrap;
}
.udg-global-header-v3 .udg-global-header-v3-wordmark-main {display:block}
.udg-global-header-v3 .udg-global-header-v3-wordmark-sub {
  display:block; margin-top:2px;
  font-family:"DM Sans",sans-serif; font-size:0.42em; font-weight:600;
  letter-spacing:0.22em; line-height:1; color:var(--udg-taupe);
}
.udg-global-header-v3 .udg-global-header-v3-logo:has(img[data-udg-logo][src]:not([hidden])) .udg-global-header-v3-wordmark {display:none}
@media(max-width:1024px){
  .udg-global-header-v3 .udg-global-header-v3-wordmark {
    font-size:13px; min-width:109px; text-align:center;
    align-items:center; letter-spacing:0.05em;
  }
  .udg-global-header-v3 .udg-global-header-v3-wordmark-sub {font-size:0.40em; letter-spacing:0.20em}
}
