/* MORDO HORIZON — shared premium page shell */
:root {
  --shell-gold:#c7a46a;
  --shell-ease:cubic-bezier(.22,1,.36,1);
}
.site-header.commerce-header {
  position:sticky;top:0;z-index:40;
  min-height:80px;height:auto;
  padding:10px clamp(20px,6.5%,96px);
  display:flex;align-items:center;justify-content:space-between;
  gap:clamp(14px,2vw,28px);
  background:var(--header-bg,rgba(10,9,8,.94));
  border-bottom:1px solid var(--border,rgba(255,255,255,.1));
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.commerce-brand {
  display:flex;align-items:center;gap:12px;flex:0 0 auto;
  min-width:0;overflow:hidden;text-decoration:none;
  opacity:0;max-width:0;transform:translateX(-12px) scale(.96);
  transition:max-width .55s var(--shell-ease),opacity .35s ease,
    transform .55s var(--shell-ease);
  animation:shellLogoReveal .75s .08s var(--shell-ease) forwards;
}
.commerce-brand .brand-logo {
  display:block;width:64px;height:64px;max-width:none;
  flex:0 0 64px;object-fit:contain;
}
.commerce-brand-copy {
  display:flex;flex-direction:column;gap:4px;
  color:var(--ink,#f4efe6);font:700 10px var(--display,Arial);
  letter-spacing:2px;white-space:nowrap;
}
.commerce-brand-copy small {
  color:var(--gold,var(--shell-gold));
  font:600 7px var(--sans,Arial);letter-spacing:1.7px;
}
@keyframes shellLogoReveal {
  from{opacity:0;max-width:0;transform:translateX(-12px) scale(.96)}
  to{opacity:1;max-width:260px;transform:translateX(0) scale(1)}
}
.commerce-nav {
  display:flex;align-items:center;justify-content:center;
  gap:clamp(14px,2.2vw,30px);flex:1;min-width:0;
  color:var(--body-copy,var(--ink,#f4efe6));
  font-size:10px;letter-spacing:1.1px;
}
.commerce-nav a {
  white-space:nowrap;transition:color .2s ease;
}
.commerce-nav a:hover{color:var(--gold,var(--shell-gold))}
.commerce-header-actions {
  display:flex;align-items:center;gap:clamp(10px,1.5vw,20px);
  flex-shrink:0;
}
.commerce-menu-toggle {
  display:none;width:40px;height:40px;border:1px solid var(--border);
  border-radius:50%;background:var(--panel);color:var(--gold);
  align-items:center;justify-content:center;flex-direction:column;
  gap:5px;cursor:pointer;
}
.commerce-menu-toggle span{display:block;width:15px;height:1px;background:currentColor}
.site-header .theme-toggle{border-radius:999px}
.site-header .cart-icon-link{position:relative;display:grid;place-items:center}
.site-footer {
  position:relative;isolation:isolate;overflow:hidden;
  min-height:180px;padding:82px clamp(20px,6.5%,96px) 26px;
  display:block;border-top:1px solid var(--border,rgba(255,255,255,.1));
  background:var(--bg,#0a0908);color:var(--muted,#a39a8c);
}
.site-footer .shell-footer-watermark {
  position:absolute;z-index:0;top:-72px;left:0;width:100%;height:150px;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  pointer-events:none;user-select:none;
  color:transparent;-webkit-text-fill-color:transparent;
  -webkit-text-stroke:1px rgba(201,164,91,.12);
  font:700 clamp(26px,10vw,150px)/1 var(--display,Arial);
  letter-spacing:clamp(.5px,.4vw,6px);white-space:nowrap;
}
.site-footer .shell-footer-inner{position:relative;z-index:1;max-width:1280px;margin:auto}
.site-footer .shell-footer-top {
  display:flex;align-items:center;justify-content:space-between;
  gap:28px;padding-bottom:24px;border-bottom:1px solid var(--border,rgba(255,255,255,.1));
}
.site-footer .footer-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}
.site-footer .footer-brand img{width:64px;height:64px;object-fit:contain}
.site-footer .footer-brand-copy{display:flex;flex-direction:column;gap:4px}
.site-footer .footer-brand-copy strong{font:600 14px var(--display,Arial);letter-spacing:2px;color:var(--ink)}
.site-footer .footer-brand-copy small{font:600 8px var(--sans,Arial);letter-spacing:2px;color:var(--gold)}
.site-footer .shell-footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 20px;font-size:11px}
.site-footer a,.site-footer button{color:var(--body-copy,var(--muted));transition:color .2s}
.site-footer a:hover,.site-footer button:hover{color:var(--gold-light,var(--gold))}
.site-footer .shell-footer-bottom {
  display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;
  padding-top:18px;font-size:10px;color:var(--muted);
}
@media(max-width:900px){
  .site-header.commerce-header{padding-inline:5%;gap:14px}
  .commerce-nav{gap:12px}
  .commerce-header-actions{gap:10px}
}
@media(max-width:680px){
  .site-header.commerce-header{min-height:72px;height:72px;padding:0 5%;gap:9px}
  .commerce-brand{gap:8px}
  .commerce-brand .brand-logo{width:48px;height:48px;flex-basis:48px}
  .commerce-brand-copy{font-size:8px;letter-spacing:1.2px}
  .commerce-brand-copy small{font-size:6px;letter-spacing:1px}
  .commerce-menu-toggle{display:flex;order:3;flex-shrink:0}
  .commerce-header-actions{margin-left:auto;gap:8px}
  .commerce-header-actions .theme-toggle{margin:0;padding:6px}
  .commerce-nav{
    display:none;position:absolute;top:71px;left:0;right:0;z-index:40;
    padding:16px 6% 22px;background:var(--panel);
    border-bottom:1px solid var(--border);
    box-shadow:0 16px 30px rgba(0,0,0,.18);
    flex-direction:column;align-items:stretch;gap:0;
  }
  .commerce-nav.open{display:flex}
  .commerce-nav a{padding:13px 0;border-bottom:1px solid var(--border);font-size:11px}
  .commerce-nav a:last-child{border-bottom:0}
  .site-footer{padding:70px 6% 22px}
  .site-footer .shell-footer-top{align-items:flex-start;flex-direction:column}
  .site-footer .shell-footer-links{justify-content:flex-start;gap:12px 16px}
  .site-footer .shell-footer-bottom{flex-direction:column;gap:7px}
}
@media(prefers-reduced-motion:reduce){
  .commerce-brand{animation:none;opacity:1;max-width:260px;transform:none;transition:none}
}


/* Shared shell controls for standalone information pages */
.site-header .theme-toggle {
  display:inline-flex;align-items:center;gap:8px;padding:7px 10px;
  border:1px solid var(--border,rgba(199,164,106,.25));
  background:transparent;color:var(--ink,#f4efe6);
  font:500 10px var(--sans,Arial);cursor:pointer;
}
.site-header .theme-switch-track {
  position:relative;display:inline-block;width:30px;height:16px;
  border-radius:99px;background:rgba(199,164,106,.3);
}
.site-header .theme-switch-thumb {
  position:absolute;top:2px;left:2px;width:12px;height:12px;
  border-radius:50%;background:var(--gold,#c7a46a);
  transition:transform .2s ease;
}
html[data-theme="dark"] .site-header .theme-switch-thumb{transform:translateX(14px)}
.site-header .cart-icon-link {
  width:36px;height:36px;color:var(--ink,#f4efe6);
  text-decoration:none;
}
.site-header .cart-icon-link svg{width:21px;height:21px}
.site-header .cart-count {
  position:absolute;top:-4px;right:-5px;min-width:15px;height:15px;
  padding:0 4px;border-radius:99px;background:var(--gold,#c7a46a);
  color:#17130b;font:700 9px Arial;display:grid;place-items:center;
}
@media(max-width:680px){
  .site-header .theme-label{display:none}
  .site-header .theme-toggle{padding:6px}
}


/* MORDO_SHARED_HEADER_FOOTER_REFINEMENT_20261129 */

/* Desktop navigation: consistent typography and spacing. */
@media (min-width: 1024px) {
  body > header.site-header nav.commerce-nav {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: clamp(10px, 1.25vw, 18px) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  body > header.site-header nav.commerce-nav a,
  body > header.site-header nav.commerce-nav a:last-child {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--body-copy, var(--ink, #f4efe6)) !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transform: none !important;
    transition: color .22s ease !important;
  }

  body > header.site-header nav.commerce-nav a:hover {
    color: var(--gold-light, var(--gold)) !important;
  }
}

/* Prevent legacy last-child styling from turning the cart into a button. */
body > header.site-header .commerce-header-actions .cart-icon-link {
  display: grid !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: inherit !important;
  letter-spacing: normal !important;
  transform: none !important;
}

/* Restore the complete outline watermark inside the footer. */
.site-footer {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
}

.site-footer .shell-footer-watermark {
  position: absolute !important;
  z-index: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 145px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 1px rgba(201,164,91,.16) !important;
  font-family: var(--display, Arial), serif !important;
  font-size: clamp(24px, 8vw, 112px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: clamp(.5px, .35vw, 5px) !important;
  text-align: center !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  user-select: none !important;
}

.site-footer .shell-footer-inner {
  position: relative !important;
  z-index: 1 !important;
}

/* Preserve a complete, readable watermark on narrow screens too. */
@media (max-width: 600px) {
  .site-footer .shell-footer-watermark {
    height: 100px !important;
    font-size: clamp(22px, 8vw, 44px) !important;
    letter-spacing: .5px !important;
  }
}


/* MORDO_FOOTER_MATCH_LANDING_PAGE_20261129
   Match the landing page footer scale and spacing on standalone pages. */

.site-footer {
  min-height: 0 !important;
  padding: 48px clamp(16px, 2.5vw, 32px) !important;
  box-sizing: border-box !important;
}

.site-footer .shell-footer-watermark {
  top: -110px !important;
  height: 220px !important;
  padding: 0 !important;
  font-family: var(--display, Arial), serif !important;
  font-size: clamp(26px, 11vw, 190px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: clamp(.5px, .4vw, 6px) !important;
  -webkit-text-stroke: 1px rgba(201, 164, 91, .12) !important;
  text-align: center !important;
}

.site-footer .shell-footer-inner {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
}

.site-footer .shell-footer-top {
  align-items: flex-start !important;
  gap: 32px !important;
  padding-bottom: 32px !important;
}

.site-footer .footer-brand {
  gap: 12px !important;
}

.site-footer .footer-brand img {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
}

.site-footer .footer-brand-copy strong {
  font-size: 16px !important;
  line-height: 1.4 !important;
  letter-spacing: .16em !important;
}

.site-footer .footer-brand-copy small {
  font-size: 10px !important;
  line-height: 1.5 !important;
  letter-spacing: .2em !important;
}

.site-footer .shell-footer-links {
  gap: 12px 24px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.site-footer .shell-footer-bottom {
  gap: 16px !important;
  padding-top: 24px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

@media (min-width: 640px) {
  .site-footer .footer-brand img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
  }

  .site-footer .footer-brand-copy strong {
    font-size: 18px !important;
  }

  .site-footer .footer-brand-copy small {
    font-size: 12px !important;
  }
}

@media (max-width: 767px) {
  .site-footer .shell-footer-top {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .site-footer .shell-footer-links {
    justify-content: flex-start !important;
  }

  .site-footer .shell-footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}

@media (max-width: 380px) {
  .site-footer .shell-footer-watermark {
    font-size: 26px !important;
    letter-spacing: .5px !important;
  }
}


/* MORDO_FOOTER_WATERMARK_CLIP_FIX_20261129
   The landing page allows the watermark to extend above the footer.
   Match that behaviour so the full outline remains visible. */
.site-footer {
  overflow: visible !important;
}
.site-footer .shell-footer-watermark {
  overflow: visible !important;
}


/* MORDO UNIVERSAL ACCOUNT LINK STYLES */
.mordo-account-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  box-sizing:border-box;
  padding:7px 13px;
  border:1px solid rgba(199,164,106,.48);
  border-radius:999px;
  color:var(--gold,#c7a46a);
  background:transparent;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.025em;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.mordo-account-link:hover{
  background:rgba(199,164,106,.1);
  border-color:var(--gold,#c7a46a);
}
.mordo-account-mobile-link{display:block}
@media(min-width:681px){
  .commerce-nav>.mordo-account-mobile-link{display:none}
}
@media(max-width:680px){
  .commerce-header-actions>.mordo-account-link,
  .header-actions>.mordo-account-link{
    min-height:34px;
    padding:6px 10px;
    font-size:.72rem;
  }
}
html[data-theme="light"] .mordo-account-link{
  color:#176B67;
  border-color:rgba(23,107,103,.4);
}
html[data-theme="light"] .mordo-account-link:hover{
  color:#105650;
  background:rgba(23,107,103,.08);
  border-color:#176B67;
}

/* MORDO ACCOUNT LINK HEADER TYPOGRAPHY */
.mordo-account-link{
  min-height:0;padding:0;border:0;border-radius:0;
  background:transparent;color:inherit;
  font-size:13px;font-weight:500;letter-spacing:inherit;
  line-height:inherit;
}
.mordo-account-link:hover{
  background:transparent;border-color:transparent;
  color:var(--gold,#c7a46a);
}
@media(max-width:680px){
  .commerce-header-actions>.mordo-account-link,
  .header-actions>.mordo-account-link{
    min-height:0;padding:0;font-size:13px;
  }
}


/* MORDO HEADER THEME SWITCH NORMALIZATION */
.site-header .theme-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 2px;
  border:0;
  border-radius:999px;
  background:transparent;
  font:500 11px var(--sans,Arial);
  letter-spacing:0;
  line-height:1.2;
  white-space:nowrap;
}
.site-header .theme-switch-track{
  position:relative;
  display:inline-flex;
  align-items:center;
  box-sizing:border-box;
  width:38px;
  height:22px;
  padding:2px;
  border:1px solid var(--gold,#c7a46a);
  border-radius:99px;
  background:var(--panel2,#1d1a15);
  transition:background .2s ease;
}
.site-header .theme-switch-thumb{
  display:block;
  flex:0 0 14px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--gold,#c7a46a);
  transform:translateX(0);
  transition:transform .2s ease;
}
html[data-theme="dark"] .site-header .theme-switch-thumb{
  transform:translateX(0);
}
html[data-theme="light"] .site-header .theme-switch-thumb{
  transform:translateX(16px);
}
@media(max-width:680px){
  .site-header .theme-toggle{padding:5px 2px;gap:7px}
  .site-header .theme-switch-track{width:38px;height:22px}
}
