:root {
  /* Brand design tokens — canonical values */
  --brand-bg: #f0f0f0;
  --brand-surface: rgba(255, 255, 255, 0.96);
  --brand-card: #ffffff;
  --brand-text: #111111;
  --brand-muted: #5f5f5f;
  --brand-border: rgba(17, 17, 17, 0.12);
  --brand-accent: #111111;
  --brand-accent-soft: #707070;
  --brand-nav-glass: rgba(255, 255, 255, 0.96);
  --brand-nav-border: rgba(17, 17, 17, 0.1);
  --brand-nav-shadow: 0 16px 34px rgba(17, 17, 17, 0.08);
  --brand-nav-link: #3f3f3f;
  --brand-nav-link-strong: #111111;
  --brand-nav-panel: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 244, 244, 0.98));
  --brand-shadow: 0 18px 46px rgba(17, 17, 17, 0.08);
  --brand-radius-xl: 28px;
  --brand-radius-lg: 18px;
  --brand-max: 1180px;

  /* Shorthand aliases — pages may override these in their own :root */
  --bg: var(--brand-bg);
  --surface: var(--brand-surface);
  --card: var(--brand-card);
  --text: var(--brand-text);
  --muted: var(--brand-muted);
  --border: var(--brand-border);
  --accent: var(--brand-accent);
  --shadow: var(--brand-shadow);
  --radius-xl: var(--brand-radius-xl);
  --radius-lg: var(--brand-radius-lg);
  --max: var(--brand-max);
}

*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none) and (pointer: coarse) {
  a:hover,
  button:hover,
  .btn:hover,
  .brand-btn:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .brand-btn-primary:hover,
  .product-card:hover,
  .wishlist-card:hover,
  .related-card:hover,
  .card:hover,
  .summary-card:hover,
  .account-card:hover,
  .team-card:hover,
  .craft-card:hover,
  .brand-hero:hover,
  .brand-panel:hover,
  .gateway-card:hover,
  .profile-nav-item:hover,
  .profile-nav-btn:hover,
  .nav-dropdown-toggle:hover,
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu button:hover,
  .nav-toggle:hover,
  #backToTop:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
  .gateway-card:hover .gateway-card-media img,
  .product-card:hover img,
  .wishlist-card:hover img,
  .craft-card:hover img {
    transform: none !important;
    filter: none !important;
  }
}

.brand-page {
  margin: 0;
  min-height: 100vh;
  color: var(--brand-text);
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(240, 240, 240, 0.9), transparent 32%),
    linear-gradient(180deg, #f0f0f0 0%, #e4e4e4 100%);
}

.brand-container {
  width: min(var(--brand-max), calc(100% - 32px));
  margin: 0 auto;
}

body.ne-nature-ready {
  position: relative;
  isolation: isolate;
}

.ne-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ne-atmosphere-layer {
  position: absolute;
  inset: -10%;
}

.ne-atmosphere-haze {
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.18) 22%, transparent 44%),
    radial-gradient(circle at 82% 22%, rgba(17,17,17,0.08) 0%, rgba(17,17,17,0.02) 18%, transparent 38%),
    radial-gradient(circle at 52% 78%, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0.14) 18%, transparent 42%);
  filter: blur(10px);
  opacity: 0.72;
  animation: ne-haze-drift 18s ease-in-out infinite alternate;
}

.ne-atmosphere-orb {
  background:
    radial-gradient(circle at 28% 26%, rgba(255,255,255,0.34) 0%, transparent 16%),
    radial-gradient(circle at 72% 64%, rgba(17,17,17,0.06) 0%, transparent 12%),
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.28) 0%, transparent 10%);
  opacity: 0.55;
  animation: ne-orb-float 24s ease-in-out infinite alternate;
}

.ne-atmosphere-grain {
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 7px 7px, 7px 7px;
  transform: scale(1.04);
}

body.ne-nature-ready .topbar,
body.ne-nature-ready .brand-topbar,
body.ne-nature-ready main,
body.ne-nature-ready footer,
body.ne-nature-ready .brand-main {
  position: relative;
  z-index: 1;
}
body.ne-nature-ready .topbar,
body.ne-nature-ready .brand-topbar {
  z-index: 320;
}

body.ne-motion-ready .hero,
body.ne-motion-ready .page-hero,
body.ne-motion-ready .brand-hero {
  overflow: hidden;
}

body.ne-motion-ready .hero::after,
body.ne-motion-ready .page-hero::after,
body.ne-motion-ready .brand-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -26% -12%;
  height: 52%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 40%, rgba(255,255,255,0.34), transparent 22%),
    radial-gradient(circle at 72% 60%, rgba(255,255,255,0.24), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.22) 46%, transparent 100%);
  filter: blur(16px);
  opacity: 0.58;
  animation: ne-mist-sweep 16s ease-in-out infinite alternate;
}

@keyframes ne-page-enter {
  from { opacity: 1; }
  to { opacity: 0; }
}

.brand-transition,
.page-transition {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: #ffffff;
  opacity: 0;
  animation: ne-page-enter 400ms ease forwards;
  transition: opacity 400ms ease;
}

body.page-leaving .brand-transition,
body.page-leaving .page-transition {
  animation: none;
  opacity: 1;
}

.ne-site-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  pointer-events: none;
  opacity: 1;
  transform: translateY(0);
}

.ne-site-splash.is-exiting {
  animation: ne-site-splash-exit 680ms ease-in-out forwards;
}

.ne-site-splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.ne-site-splash-mark {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #111111;
  color: #ffffff;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.4);
}

.ne-site-splash.is-animating .ne-site-splash-mark {
  animation: ne-site-splash-mark-in 560ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.ne-site-splash-brand {
  display: flex;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.ne-site-splash-brand span {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
}

.ne-site-splash.is-animating .ne-site-splash-brand span {
  animation: ne-site-splash-letter-in 480ms ease-out forwards;
  animation-delay: var(--ne-splash-delay, 0ms);
}

.ne-site-splash-line {
  width: 180px;
  height: 1px;
  background: #111111;
  transform: scaleX(0);
  transform-origin: center;
}

.ne-site-splash.is-animating .ne-site-splash-line {
  animation: ne-site-splash-line-in 560ms ease-in-out forwards;
  animation-delay: 1040ms;
}

.ne-site-splash-tagline {
  color: #666666;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
}

.ne-site-splash.is-animating .ne-site-splash-tagline {
  animation: ne-site-splash-tagline-in 480ms ease-out forwards;
  animation-delay: 1280ms;
}

@keyframes ne-site-splash-mark-in {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ne-site-splash-letter-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ne-site-splash-line-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes ne-site-splash-tagline-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ne-site-splash-exit {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}

.brand-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.74) 0%, rgba(255,255,255,0.58) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 12px 30px rgba(17, 17, 17, 0.05);
}

.brand-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-accent);
  color: #fff;
  font-weight: 700;
}

.brand-btn {
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  padding: 10px 18px;
  background: #fff;
  color: var(--brand-text);
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.brand-btn:hover {
  transform: translateY(-1px);
}

.brand-btn-primary {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}

.brand-main {
  padding: 28px 0 56px;
}

.brand-hero,
.brand-panel {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-xl);
  box-shadow: var(--brand-shadow);
}

.brand-hero {
  padding: 30px;
  margin-bottom: 18px;
}

.brand-hero h1,
.brand-panel h2,
.brand-panel h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: -0.02em;
}

.brand-hero h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.brand-panel {
  padding: 24px;
}

.brand-muted {
  color: var(--brand-muted);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(25, 20, 18, 0.08);
  padding: 6px 12px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-footer {
  padding: 0 0 30px;
}

/* ── Shared Footer ── */
.ne-footer {
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.62);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  margin-top: 80px;
}

.ne-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}

.ne-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ne-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.ne-footer-logo-mark {
  width: 36px;
  height: 36px;
  background: #ffffff;
  color: #0d0d0d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.ne-footer-logo-name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ne-footer-tagline {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.42);
  max-width: 220px;
  margin: 0;
}

.ne-footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ne-footer-heading {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.ne-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ne-footer-col a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.18s ease;
  font-size: 0.875rem;
}

.ne-footer-col a:hover {
  color: #ffffff;
}

.ne-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ne-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ne-footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
}

.ne-footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ne-footer-legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 0.18s ease;
}

.ne-footer-legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 860px) {
  .ne-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 48px 20px 36px;
  }
  .ne-footer-brand {
    grid-column: 1 / -1;
  }
  .ne-footer-tagline {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .ne-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand-accent);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  z-index: 120;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.brand-footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--brand-muted);
}

/* Premium motion layer */
body.ne-motion-ready .topbar,
body.ne-motion-ready .brand-topbar {
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

body.ne-motion-ready .topbar.ne-topbar-scrolled,
body.ne-motion-ready .brand-topbar.ne-topbar-scrolled {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.84) 0%, rgba(248,248,248,0.72) 100%) !important;
  border-bottom-color: rgba(255, 255, 255, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.58),
    0 18px 44px rgba(17, 17, 17, 0.09) !important;
}

body.ne-motion-ready .brand-mark,
body.ne-motion-ready .brand-logo-mark {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ne-motion-ready .brand-mark::after,
body.ne-motion-ready .brand-logo-mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,0.34) 48%, transparent 66%);
  transform: translateX(-135%) rotate(8deg);
  opacity: 0;
}

body.ne-motion-ready .brand:hover .brand-mark,
body.ne-motion-ready .brand-logo:hover .brand-logo-mark {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.18);
}

body.ne-motion-ready .brand:hover .brand-mark::after,
body.ne-motion-ready .brand-logo:hover .brand-logo-mark::after {
  opacity: 1;
  animation: ne-brand-sheen 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.ne-motion-ready .btn,
body.ne-motion-ready .brand-btn {
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease;
}

body.ne-motion-ready .btn:hover,
body.ne-motion-ready .brand-btn:hover {
  transform: translateY(-2px);
}

body.ne-motion-ready .btn-primary:hover,
body.ne-motion-ready .brand-btn-primary:hover {
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.2);
  filter: saturate(1.03);
}

body.ne-motion-ready .brand-hero,
body.ne-motion-ready .brand-panel,
body.ne-motion-ready .summary-card,
body.ne-motion-ready .wishlist-card,
body.ne-motion-ready .account-card,
body.ne-motion-ready .team-card,
body.ne-motion-ready .craft-card,
body.ne-motion-ready .product-card,
body.ne-motion-ready .card,
body.ne-motion-ready [class*="panel"],
body.ne-motion-ready [class*="hero"] {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    opacity 0.45s ease;
  transform: translateZ(0);
}

body.ne-motion-ready .brand-hero:hover,
body.ne-motion-ready .brand-panel:hover,
body.ne-motion-ready .summary-card:hover,
body.ne-motion-ready .wishlist-card:hover,
body.ne-motion-ready .account-card:hover,
body.ne-motion-ready .team-card:hover,
body.ne-motion-ready .craft-card:hover,
body.ne-motion-ready .product-card:hover,
body.ne-motion-ready .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(17, 17, 17, 0.12);
}

body.ne-motion-ready [data-ne-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ne-motion-ready [data-ne-reveal].ne-in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.ne-motion-ready .page-hero img,
body.ne-motion-ready .hero-bg img,
body.ne-motion-ready .craft-card img,
body.ne-motion-ready .team-photo img,
body.ne-motion-ready .wishlist-card img {
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}

body.ne-motion-ready .page-hero:hover img,
body.ne-motion-ready .craft-card:hover img,
body.ne-motion-ready .team-card:hover .team-photo img,
body.ne-motion-ready .wishlist-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

@keyframes ne-brand-sheen {
  from {
    transform: translateX(-135%) rotate(8deg);
  }
  to {
    transform: translateX(135%) rotate(8deg);
  }
}

@keyframes ne-haze-drift {
  from {
    transform: translate3d(-2%, -1.5%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1.5%, 0) scale(1.04);
  }
}

@keyframes ne-orb-float {
  from {
    transform: translate3d(0, -1.5%, 0);
  }
  to {
    transform: translate3d(-2%, 2%, 0);
  }
}

@keyframes ne-mist-sweep {
  from {
    transform: translate3d(-3%, 0, 0);
  }
  to {
    transform: translate3d(3%, -2%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ne-motion-ready [data-ne-reveal],
  body.ne-motion-ready [data-ne-reveal].ne-in-view {
    opacity: 1;
    transform: none;
  }

  body.ne-motion-ready .btn,
  body.ne-motion-ready .brand-btn,
  body.ne-motion-ready .brand-mark,
  body.ne-motion-ready .brand-logo-mark,
  .ne-atmosphere-layer,
  body.ne-motion-ready .brand-hero,
  body.ne-motion-ready .brand-panel,
  body.ne-motion-ready .summary-card,
  body.ne-motion-ready .wishlist-card,
  body.ne-motion-ready .account-card,
  body.ne-motion-ready .team-card,
  body.ne-motion-ready .craft-card,
  body.ne-motion-ready .product-card,
  body.ne-motion-ready .card,
  body.ne-motion-ready [class*="panel"],
  body.ne-motion-ready [class*="hero"],
  body.ne-motion-ready .page-hero img,
  body.ne-motion-ready .hero-bg img,
  body.ne-motion-ready .craft-card img,
  body.ne-motion-ready .team-photo img,
  body.ne-motion-ready .wishlist-card img,
  body.ne-motion-ready .hero::after,
  body.ne-motion-ready .page-hero::after,
  body.ne-motion-ready .brand-hero::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ── Shared Topbar / Nav ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 320;
  backdrop-filter: blur(24px) saturate(1.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.76) 0%, rgba(255,255,255,0.6) 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.32) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.52),
    0 12px 34px rgba(17, 17, 17, 0.055) !important;
}
.topbar .container,
.topbar .container.nav,
.topbar > .container {
  width: 100% !important;
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* Canonical shared header contract for customer-facing pages. These selectors
   intentionally outrank older page-local nav rules so the standardized
   `#topbar` markup renders consistently everywhere. */
body header.topbar#topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 320 !important;
  backdrop-filter: blur(24px) saturate(1.45) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.45) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.76) 0%, rgba(255,255,255,0.6) 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.32) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.52),
    0 12px 34px rgba(17, 17, 17, 0.055) !important;
}
body header.topbar#topbar > .container,
body header.topbar#topbar > .container.nav,
body header.topbar#topbar .container.nav {
  width: 100% !important;
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
body header.topbar#topbar .nav {
  min-height: 78px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}
body header.topbar#topbar .brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 700 !important;
  font-size: 1.22rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}
body header.topbar#topbar .brand-mark {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  background: #111111 !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
body header.topbar#topbar .nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  color: rgba(17, 17, 17, 0.6) !important;
}
body header.topbar#topbar .nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-left: auto !important;
}
body header.topbar#topbar .nav-dropdown-toggle {
  min-height: 52px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}
body header.topbar#topbar .profile-nav-btn,
body header.topbar#topbar .nav-toggle {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: visible;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #111111 !important;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: none !important;
  font-family: "DM Sans", sans-serif;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  color: rgba(17, 17, 17, 0.6) !important;
  flex: 0 1 auto;
}
.nav-links a {
  position: relative;
  padding-bottom: 0;
  transition: color 0.2s;
  text-decoration: none;
  color: inherit;
}
.nav-links a:hover { color: var(--brand-nav-link-strong) !important; }
.nav-links a::after {
  display: none;
}
.nav-links a.active { color: var(--brand-nav-link-strong) !important; font-weight: 600; }

/* ── Nav item dropdowns (Fragrances, Makeup) ── */
.nav-dropdown { position: relative; display: flex; align-items: center; overflow: visible; }
.nav-dropdown-toggle {
  background: none; border: none; font: inherit; color: inherit;
  cursor: pointer; position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 52px; padding: 0;
  border-radius: 0;
  transition: color 0.2s ease;
  font-size: 0.9rem;
  white-space: nowrap;
  line-height: 1.1;
}
.nav-dropdown-toggle:hover { color: var(--brand-nav-link-strong) !important; background: transparent; box-shadow: none; }
.nav-dropdown-toggle[aria-expanded="true"] { color: var(--brand-nav-link-strong) !important; background: transparent; box-shadow: none; }
.nav-dropdown-toggle::after { display: none; }

.nav-dropdown-chevron {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  opacity: 0.55;
}
.nav-dropdown-toggle:hover .nav-dropdown-chevron,
.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-chevron { opacity: 1; }
.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-chevron { transform: rotate(180deg); }

/* The panel */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(0.97);
  transform-origin: top center;
  min-width: 240px;
  padding: 8px 6px 6px;
  opacity: 0;
  pointer-events: none;
  z-index: 350;
  /* Background */
  background: linear-gradient(160deg, rgba(255,255,255,0.99) 0%, rgba(248,246,243,0.98) 100%) !important;
  /* Border */
  border: 1px solid rgba(17,17,17,0.07) !important;
  border-radius: 22px;
  /* Layered shadow for depth */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.6) inset,
    0 2px 4px rgba(17,17,17,0.04),
    0 8px 20px rgba(17,17,17,0.08),
    0 24px 60px rgba(17,17,17,0.13) !important;
  /* Glass blur */
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  /* Animation */
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Caret arrow pointing up to trigger */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.99);
  border-left: 1px solid rgba(17,17,17,0.07);
  border-top: 1px solid rgba(17,17,17,0.07);
  border-radius: 3px 0 0 0;
  pointer-events: none;
}
.nav-dropdown-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Section label */
.nav-menu-label {
  display: block;
  padding: 6px 14px 10px;
  margin: 0 2px 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.35);
  border-bottom: 1px solid rgba(17,17,17,0.06);
}

/* Menu items */
.nav-dropdown-menu a,
.nav-dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  width: 100%;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(17,17,17,0.8);
  text-decoration: none;
  border-radius: 14px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  position: relative;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}
/* Small accent dot */
.nav-dropdown-menu a::before,
.nav-dropdown-menu button::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(17,17,17,0.2);
  flex-shrink: 0;
  transition: background 0.15s, transform 0.18s cubic-bezier(0.34,1.56,0.64,1);
}
/* Hover arrow on right */
.nav-dropdown-menu a::after,
.nav-dropdown-menu button::after {
  content: "→";
  position: absolute;
  right: 14px;
  font-size: 0.78rem;
  color: rgba(17,17,17,0.25);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.18s cubic-bezier(0.34,1.56,0.64,1);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu button:hover {
  background: linear-gradient(135deg, rgba(17,17,17,0.05) 0%, rgba(17,17,17,0.03) 100%);
  color: #111;
  transform: translateX(2px);
  box-shadow: none;
}
.nav-dropdown-menu a:hover::before,
.nav-dropdown-menu button:hover::before {
  background: #111;
  transform: scale(1.3);
}
.nav-dropdown-menu a:hover::after,
.nav-dropdown-menu button:hover::after {
  opacity: 1;
  transform: translateX(0);
}
/* First item "All X" gets a bolder treatment */
.nav-dropdown-menu a:first-of-type,
.nav-dropdown-menu button:first-of-type {
  font-weight: 600;
  color: #111;
}
.nav-dropdown-menu a:first-of-type::before,
.nav-dropdown-menu button:first-of-type::before {
  background: #111;
}

/* Sub-item copy */
.nav-dropdown-link-copy { display: grid; gap: 2px; min-width: 0; flex: 1; }
.nav-dropdown-link-title { display: block; color: inherit; font-size: 0.9rem; line-height: 1.2; }
.nav-dropdown-link-meta { display: block; color: rgba(17,17,17,0.45); font-size: 0.72rem; line-height: 1.35; white-space: normal; }
.nav-dropdown-link-arrow { color: rgba(17,17,17,0.28); font-size: 0.85rem; transition: transform 0.18s, color 0.15s; flex-shrink: 0; }
.nav-dropdown-menu a:hover .nav-dropdown-link-arrow { color: #111; transform: translateX(3px); }

/* ── Nav dropdown — mobile ── */
@media (max-width: 900px) {
  .nav-dropdown { position: relative; display: flex; align-items: center; width: auto; flex: 0 0 auto; }
  .nav-dropdown-toggle {
    width: auto; padding: 0; min-height: 46px; font-size: 0.92rem;
    color: inherit; justify-content: flex-start;
    background: transparent !important; box-shadow: none !important;
  }
  .nav-dropdown-toggle::after { display: none; }
  .nav-dropdown-menu {
    position: absolute; top: calc(100% + 10px); left: 0;
    right: auto; min-width: 200px;
    transform: translateY(-6px) scale(0.97) !important;
    transform-origin: top left;
    border-radius: 18px; padding: 8px 6px 6px;
    box-shadow: 0 8px 20px rgba(17,17,17,0.1), 0 24px 50px rgba(17,17,17,0.12) !important;
    transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.16,1,0.3,1);
    opacity: 0;
  }
  .nav-dropdown-menu::before { left: 18px; transform: translateX(0) rotate(45deg); }
  .nav-dropdown-menu.open {
    opacity: 1; transform: translateY(0) scale(1) !important;
  }
  .nav-dropdown-menu a,
  .nav-dropdown-menu button {
    min-width: 180px; padding: 10px 12px; font-size: 0.875rem;
  }
  .nav-dropdown-link-meta { font-size: 0.71rem; }
}

/* ── Profile nav dropdown ── */
.profile-nav-dropdown { position: relative; overflow: visible; }
.profile-nav-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: rgba(255,255,255,0.82) !important;
  cursor: pointer;
  color: var(--brand-nav-link-strong) !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  position: relative;
}
.profile-nav-btn::before,
.profile-nav-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  pointer-events: none;
}
.profile-nav-btn::before {
  top: 9px;
  width: 10px;
  height: 10px;
  border: 1.9px solid currentColor;
  border-radius: 50%;
}
.profile-nav-btn::after {
  bottom: 9px;
  width: 17px;
  height: 8px;
  border: 1.9px solid currentColor;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 0;
}
.profile-nav-btn svg,
.profile-nav-icon,
.profile-nav-icon-img {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0;
}
.profile-nav-btn:hover { background: rgba(245,245,245,0.96) !important; border-color: rgba(17,17,17,0.28) !important; }
.profile-nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 240px;
  padding: 8px 6px 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  z-index: 400;
  /* Background */
  background: linear-gradient(160deg, rgba(255,255,255,0.99) 0%, rgba(248,246,243,0.98) 100%) !important;
  border: 1px solid rgba(17,17,17,0.07) !important;
  border-radius: 22px;
  /* Layered shadow */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.6) inset,
    0 2px 4px rgba(17,17,17,0.04),
    0 8px 20px rgba(17,17,17,0.09),
    0 28px 64px rgba(17,17,17,0.14) !important;
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  transition: opacity 0.2s cubic-bezier(0.16,1,0.3,1),
              transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
/* Caret pointing up toward profile button */
.profile-nav-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.99);
  border-left: 1px solid rgba(17,17,17,0.07);
  border-top: 1px solid rgba(17,17,17,0.07);
  border-radius: 3px 0 0 0;
  transform: rotate(45deg);
  pointer-events: none;
}
.profile-nav-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  font-size: 0.875rem;
  color: rgba(17,17,17,0.78);
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease,
              transform 0.18s cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  line-height: 1.4;
  border-radius: 14px;
  font-weight: 500;
}
.profile-nav-item::before {
  content: "";
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: inline-block;
  background: currentColor;
  opacity: 0.92;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.profile-nav-item[data-profile-icon="tracking"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v8H3z'/%3E%3Cpath d='M14 10h3l3 3v2h-6z'/%3E%3Ccircle cx='8' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v8H3z'/%3E%3Cpath d='M14 10h3l3 3v2h-6z'/%3E%3Ccircle cx='8' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
}
.profile-nav-item[data-profile-icon="returns"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7H5v3'/%3E%3Cpath d='M5 10a7 7 0 1 0 2-4.9L5 7'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7H5v3'/%3E%3Cpath d='M5 10a7 7 0 1 0 2-4.9L5 7'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E");
}
.profile-nav-item[data-profile-icon="invoices"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M10 13h6'/%3E%3Cpath d='M10 17h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M10 13h6'/%3E%3Cpath d='M10 17h6'/%3E%3C/svg%3E");
}
.profile-nav-item[data-profile-icon="admin"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3.5 8-7 10-3.5-2-7-5-7-10V6z'/%3E%3Cpath d='M9.5 12l1.7 1.7L15 10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3.5 8-7 10-3.5-2-7-5-7-10V6z'/%3E%3Cpath d='M9.5 12l1.7 1.7L15 10'/%3E%3C/svg%3E");
}
.profile-nav-item[data-profile-icon="account"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0'/%3E%3C/svg%3E");
}
.profile-nav-item[data-profile-icon="signout"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H4'/%3E%3Cpath d='M20 4v16'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H4'/%3E%3Cpath d='M20 4v16'/%3E%3C/svg%3E");
}
.profile-nav-item[data-profile-icon="wishlist"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}
.profile-nav-item-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: inline-block;
  color: currentColor;
}
.profile-nav-item-label {
  flex: 1 1 auto;
}
.profile-nav-item:hover {
  background: linear-gradient(135deg, rgba(17,17,17,0.05) 0%, rgba(17,17,17,0.03) 100%);
  color: #111;
  transform: translateX(2px);
}
.profile-nav-signout { color: #dc2626; font-weight: 500; }
.profile-nav-signout:hover { background: linear-gradient(135deg, rgba(220,38,38,0.07), rgba(220,38,38,0.04)); color: #b91c1c; transform: translateX(2px); }
#profileAdminLink[hidden] { display: none; }
.profile-nav-header {
  padding: 12px 13px 12px;
  border-bottom: 1px solid rgba(17,17,17,0.07);
  margin: 0 0 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.profile-nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111 0%, #444 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.profile-nav-header-copy { min-width: 0; }
.profile-nav-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,17,17,0.08), transparent);
  margin: 4px 6px;
}
.profile-nav-name { font-size: 0.82rem; font-weight: 600; color: #111; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-nav-email { font-size: 0.71rem; color: rgba(17,17,17,0.48); display: block; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Back to top button ── */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(17,17,17,0.12);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.7) inset,
    0 2px 8px rgba(17,17,17,0.08),
    0 8px 24px rgba(17,17,17,0.1);
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition:
    opacity 0.28s cubic-bezier(0.16,1,0.3,1),
    transform 0.28s cubic-bezier(0.16,1,0.3,1),
    background 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
#backToTop:hover {
  background: rgba(255,255,255,1);
  border-color: rgba(17,17,17,0.22);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.9) inset,
    0 4px 12px rgba(17,17,17,0.1),
    0 14px 36px rgba(17,17,17,0.14);
  transform: translateY(-2px) scale(1);
}
#backToTop:active {
  transform: translateY(0) scale(0.95);
}
#backToTop svg {
  display: block;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  #backToTop {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

#cartNavCount {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 1px 7px;
  margin-left: 2px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.3;
}

#checkoutNavBtn {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.78) !important;
  border: 1px solid rgba(17,17,17,0.16) !important;
  color: var(--brand-nav-link-strong) !important;
  border-radius: 999px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition:
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}
.nav-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}
.nav-toggle:hover {
  border-color: rgba(17,17,17,0.28) !important;
  background: rgba(255,255,255,0.96) !important;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.08);
}
.nav-search-host {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.nav-search-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(480px, calc(100vw - 32px));
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(244,244,244,0.98) 100%);
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.36s cubic-bezier(0.34, 1.26, 0.64, 1),
    box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  z-index: 500;
}
.nav-search-host.open .nav-search-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  box-shadow: 0 32px 72px rgba(17, 17, 17, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-search-panel.ne-search-closing {
  transition:
    opacity 0.09s ease,
    transform 0.1s cubic-bezier(0.4, 0, 1, 1),
    box-shadow 0.09s ease !important;
}
.nav-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.nav-search-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.62);
}
.nav-search-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(17, 17, 17, 0.18);
}
.nav-search-shortcut {
  font-size: 0.72rem;
  color: rgba(17, 17, 17, 0.5);
}
.nav-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.nav-search-field:hover {
  border-color: rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.98);
}
.nav-search-field:focus-within {
  border-color: rgba(17, 17, 17, 0.18);
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(17, 17, 17, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.86);
}
.nav-search-field svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(17, 17, 17, 0.5);
}
.nav-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  background: transparent;
  color: #111111;
  font: 500 0.95rem/1.4 "DM Sans", sans-serif;
  box-shadow: none !important;
}
.nav-search-input::placeholder {
  color: rgba(17, 17, 17, 0.42);
}
.nav-search-input:focus,
.nav-search-input:focus-visible {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}
.nav-search-input::-webkit-search-decoration,
.nav-search-input::-webkit-search-cancel-button,
.nav-search-input::-webkit-search-results-button,
.nav-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.nav-search-input::-ms-clear,
.nav-search-input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}
.nav-search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 2px 0;
}
.nav-search-status {
  font-size: 0.78rem;
  color: rgba(17, 17, 17, 0.58);
}
.nav-search-link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #111111;
  cursor: pointer;
}
.nav-search-link:hover {
  color: rgba(17, 17, 17, 0.72);
}
.nav-search-results {
  margin-top: 14px;
  max-height: min(58vh, 430px);
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 2px;
}
.nav-search-results:empty {
  display: none;
}
.ne-search-result {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  text-decoration: none;
  color: #111111;
  transition: background 0.18s ease, transform 0.18s ease;
}
.ne-search-result:hover {
  background: rgba(17, 17, 17, 0.045);
  transform: translateY(-1px);
}
.ne-search-result-thumb {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17,17,17,0.06), rgba(17,17,17,0.12));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ne-search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ne-search-result-fallback {
  font: 700 0.78rem/1 "DM Sans", sans-serif;
  letter-spacing: 0.16em;
  color: rgba(17, 17, 17, 0.62);
}
.ne-search-result-content {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.ne-search-result-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.48);
}
.ne-search-result-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-search-result-meta,
.ne-search-result-description {
  font-size: 0.8rem;
  color: rgba(17, 17, 17, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-search-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ne-search-featured-card {
  position: relative;
  min-height: 138px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #111111 0%, #4b4b4b 100%);
}
.ne-search-featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ne-search-featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.02), rgba(17,17,17,0.7));
}
.ne-search-featured-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  font: 600 0.82rem/1.35 "DM Sans", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-search-empty {
  padding: 18px 14px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.04);
  font-size: 0.84rem;
  color: rgba(17, 17, 17, 0.62);
}
/* ── Mobile nav drawer (full-screen slide-in) ── */
/* Backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-backdrop.open {
  display: block;
  opacity: 1;
}

@media (max-width: 900px) {
  .topbar .container,
  .topbar .container.nav,
  .topbar > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .nav {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .nav-links {
    /* Full-screen drawer */
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 100%);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    z-index: 210;
    display: flex;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -12px 0 42px rgba(0,0,0,0.16);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  /* Drawer header */
  .nav-links::before {
    content: "Noir Élixir";
    display: block;
    width: 100%;
    padding: 28px 24px 20px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-nav-link-strong);
    border-bottom: 1px solid rgba(17,17,17,0.08);
    box-sizing: border-box;
  }
  .nav-links a {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(17,17,17,0.08);
    color: #111111;
  }
  .nav-links a:hover {
    background: rgba(0,0,0,0.06);
    color: var(--brand-nav-link-strong);
  }
  .nav-links a::after { display: none; }
  .topbar { position: relative; }
  .nav-toggle { display: block; }
  /* Close button injected via JS */
  .nav-close-btn {
    position: absolute;
    top: 22px;
    right: 18px;
    background: none;
    border: 1px solid rgba(17,17,17,0.14);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: #444444;
    transition: background 0.15s;
    z-index: 1;
  }
  .nav-close-btn:hover { background: rgba(0,0,0,0.08); }
}

@media (max-width: 900px) {
  .nav-search-panel {
    position: fixed;
    top: 88px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    transform-origin: top center;
  }
  .nav-search-featured {
    grid-template-columns: 1fr;
  }
  .nav-close-btn,
  .nav-backdrop {
    display: none !important;
  }
}

/* ── Shared Button Styles (used in nav-actions and elsewhere) ── */
.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  min-height: 44px;
  height: 44px;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}
.btn-outline {
  background: transparent !important;
  color: var(--brand-nav-link-strong) !important;
  border: 1px solid rgba(17,17,17,0.16) !important;
}
.btn-outline:hover { border-color: rgba(17,17,17,0.28) !important; background: rgba(0,0,0,0.03) !important; }
.btn-primary {
  background: #111111 !important;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(0,0,0,0.2) !important;
}
.btn-primary:hover { box-shadow: 0 18px 36px rgba(0,0,0,0.28) !important; }
.btn-signout-nav {
  background: transparent;
  color: #888888;
  border: 1px solid rgba(0,0,0,0.14);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
}

/* Storefront polish layer */
body.ne-nature-ready {
  background:
    radial-gradient(circle at top left, rgba(240, 240, 240, 0.92), transparent 34%),
    linear-gradient(180deg, #f0f0f0 0%, #e4e4e4 100%);
}

body.ne-nature-ready main {
  isolation: isolate;
}

body.ne-nature-ready main .panel,
body.ne-nature-ready main .summary-card,
body.ne-nature-ready main .wishlist-card,
body.ne-nature-ready main .related-card,
body.ne-nature-ready main .product-card,
body.ne-nature-ready main .profile-panel,
body.ne-nature-ready main .collection-note,
body.ne-nature-ready main .detail-pill,
body.ne-nature-ready main .stock-panel {
  border-color: rgba(17, 17, 17, 0.08) !important;
  box-shadow:
    0 24px 60px rgba(17, 17, 17, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.ne-nature-ready main .panel,
body.ne-nature-ready main .summary-card,
body.ne-nature-ready main .profile-panel,
body.ne-nature-ready main .collection-note {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,245,245,0.96) 100%) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.ne-nature-ready main .product-card,
body.ne-nature-ready main .wishlist-card,
body.ne-nature-ready main .related-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248,248,248,0.96)) !important;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease !important;
}

body.ne-nature-ready main .product-card:hover,
body.ne-nature-ready main .wishlist-card:hover,
body.ne-nature-ready main .related-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 17, 17, 0.14) !important;
  box-shadow:
    0 30px 72px rgba(17, 17, 17, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.84) !important;
}

body.ne-nature-ready main .card-visual,
body.ne-nature-ready main .related-visual,
body.ne-nature-ready main .item-thumb,
body.ne-nature-ready main .wishlist-card img,
body.ne-nature-ready main .product-visual {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.7), transparent 48%),
    linear-gradient(180deg, #f8f8f8, #ececec) !important;
}

body.ne-nature-ready main .section-head h2,
body.ne-nature-ready main .summary-title,
body.ne-nature-ready main .panel h2,
body.ne-nature-ready main .section-title,
body.ne-nature-ready main .related-section h2,
body.ne-nature-ready main .page-header h1 {
  letter-spacing: -0.03em;
}

body.ne-nature-ready main .filter-pill,
body.ne-nature-ready main .chip,
body.ne-nature-ready main .hero-cat-pill,
body.ne-nature-ready main .status-line span,
body.ne-nature-ready main .note-chip {
  border-color: rgba(17, 17, 17, 0.1) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

body.ne-nature-ready main .filter-pill.active,
body.ne-nature-ready main .chip.active {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
  box-shadow: 0 16px 28px rgba(17, 17, 17, 0.18) !important;
}

body.ne-nature-ready main input:not([type="checkbox"]):not([type="radio"]),
body.ne-nature-ready main select,
body.ne-nature-ready main textarea {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(17, 17, 17, 0.11) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 10px 24px rgba(17, 17, 17, 0.04);
}

body.ne-nature-ready main input:not([type="checkbox"]):not([type="radio"]):focus,
body.ne-nature-ready main select:focus,
body.ne-nature-ready main textarea:focus {
  border-color: rgba(17, 17, 17, 0.25) !important;
  box-shadow:
    0 0 0 4px rgba(17, 17, 17, 0.05),
    0 12px 30px rgba(17, 17, 17, 0.06) !important;
}

body.ne-nature-ready main .cart-item {
  padding: 24px 0;
}

body.ne-nature-ready main .promo-row,
body.ne-nature-ready main .action-row,
body.ne-nature-ready main .hero-actions,
body.ne-nature-ready main .catalog-tools {
  gap: 12px;
}

.section-gateway {
  padding: 28px 0 18px;
}

.section-gateway.gateway-overlap {
  position: relative;
  z-index: 4;
  margin-top: -220px;
  padding-top: 0;
}

.section-gateway .container {
  display: grid;
  gap: 16px;
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gateway-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  min-height: 100%;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245,245,245,0.92)),
    #ffffff;
  box-shadow:
    0 20px 50px rgba(17, 17, 17, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.92);
  overflow: hidden;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.gateway-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(17,17,17,0), rgba(17,17,17,0.18), rgba(17,17,17,0));
  opacity: 0.65;
}

.gateway-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 17, 17, 0.14);
  box-shadow:
    0 28px 70px rgba(17, 17, 17, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.94);
}

.gateway-card-media {
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.9), rgba(255,255,255,0) 52%),
    linear-gradient(180deg, #f5f5f5, #ececec);
}

.gateway-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.5s ease;
}

.gateway-card:hover .gateway-card-media img {
  transform: scale(1.05);
}

.gateway-card-copy {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-bottom: 16px;
}

.gateway-card-copy small {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.48);
  font-weight: 700;
}

.gateway-card-copy h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #111111;
}

.gateway-card-copy p {
  margin: 0;
  color: rgba(17, 17, 17, 0.66);
  line-height: 1.7;
}

.gateway-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  font-weight: 600;
  color: #111111;
}

.gateway-card-link::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #111111;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13.172 12 8.222 7.05l1.414-1.414L16 12l-6.364 6.364-1.414-1.414z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13.172 12 8.222 7.05l1.414-1.414L16 12l-6.364 6.364-1.414-1.414z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.gateway-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gateway-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: #111111;
  color: #ffffff;
}

.gateway-chip svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

.gateway-chip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.gateway-chip span {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .section-gateway.gateway-overlap {
    margin-top: -72px;
  }

  .gateway-grid,
  .gateway-strip {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────
   Announcement bar
───────────────────────────────────────────── */
.ne-announcement-bar {
  width: 100%;
  background: #111111;
  color: rgba(255, 255, 255, 0.88);
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 9px 48px 9px 16px;
  position: relative;
  z-index: 200;
  line-height: 1.5;
}
.ne-announcement-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ne-announcement-bar .ne-ann-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s;
  font-family: inherit;
}
.ne-announcement-bar .ne-ann-close:hover {
  color: #fff;
}
.ne-announcement-bar[hidden] {
  display: none;
}

/* ── Trust / benefits bar (auto-injected above every footer) ── */
.ne-trust-bar {
  background: #f4f4f4;
  border-top: 1px solid rgba(17,17,17,0.07);
  margin-top: 48px;
}
.ne-trust-bar + footer,
.ne-trust-bar + .ne-footer {
  margin-top: 0 !important;
  border-top: none !important;
}
.ne-trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0;
}
.ne-trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  padding: 0 20px;
  border-right: 1px solid rgba(17,17,17,0.08);
}
.ne-trust-item:first-child { padding-left: 0; }
.ne-trust-item:last-child  { padding-right: 0; border-right: none; }
.ne-trust-icon {
  flex-shrink: 0;
  color: #444;
  display: flex;
  align-items: center;
}
.ne-trust-copy strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}
.ne-trust-copy span {
  display: block;
  font-size: 0.74rem;
  color: #888;
  margin-top: 1px;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .ne-trust-bar-inner {
    flex-wrap: wrap;
    gap: 0;
  }
  .ne-trust-item {
    flex: 1 1 calc(50% - 1px);
    padding: 12px 16px;
    border-right: 1px solid rgba(17,17,17,0.08);
    border-bottom: 1px solid rgba(17,17,17,0.08);
  }
  .ne-trust-item:nth-child(2n) { border-right: none; }
  .ne-trust-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 380px) {
  .ne-trust-item { flex: 1 1 100%; border-right: none; }
  .ne-trust-item:last-child { border-bottom: none; }
}


@media (max-width: 640px) {
  .brand-name { display: none !important; }
  .cart-label { display: none !important; }
  #cartNavBtn { padding: 0 !important; width: 44px !important; min-width: 44px !important; justify-content: center !important; }
}
