/* MD3 Scandi — site-wide announcement bar + header */

:root {
  --md3-chrome-h: 108px;
}

.bar {
  background: #d6ccbc;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
  z-index: 101;
}
.bar-track {
  display: inline-flex;
  animation: md3-marquee 40s linear infinite;
}
.bar-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #2c2925;
  text-transform: uppercase;
}
@keyframes md3-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.3333%); }
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}
.site-header .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 24px;
  padding: 1.25rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}
.site-header .logo {
  grid-column: 1;
  justify-self: start;
  align-self: center;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #1a1a1a;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1;
}
.site-header .logo-md3 {
  display: inline-flex;
  align-items: baseline;
  color: #1a1a1a;
  font-weight: 400;
}
.site-header .logo-letters {
  font-size: 1em;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.site-header .logo-digit {
  font-size: 0.58em;
  line-height: 1;
  transform: translateY(0.22em);
  font-weight: 400;
}
.site-header .logo-scandi {
  font-style: italic;
  color: #c5a059;
  font-weight: 400;
  font-size: 1em;
  letter-spacing: 0.02em;
}
.site-header .header-util {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.site-header .header-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.site-header .header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: 28px;
  min-height: 28px;
  color: #2c2925;
  transition: color 0.2s;
  position: relative;
  text-decoration: none;
}
.site-header .header-icon-btn .nav-icon-svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}
.site-header .header-icon-btn:hover {
  color: #c9a96e;
}
.site-header .nav-cart-badge[hidden] {
  display: none !important;
}
.site-header .nav-cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  background: #c9a96e;
  border-radius: 50%;
  font-size: 8px;
  font-family: 'Cinzel', serif;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.site-header .header-nav {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.site-header .header-nav a {
  font-family: 'Inter', 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1a1a;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}
.site-header .header-nav a::after {
  display: none;
}
.site-header .header-nav a:hover {
  color: #666;
}
.site-header .nav-dot {
  width: 4px;
  height: 4px;
  background: #c9a96e;
  border-radius: 50%;
  opacity: 0.6;
  display: inline-block;
  flex-shrink: 0;
}
.site-header .lang.lang-compact {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.site-header .lang.lang-compact button {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #6b635a;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 2px;
  text-transform: uppercase;
}
.site-header .lang.lang-compact button.active {
  color: #2c2925;
  border-bottom: 1.5px solid #c9a96e;
}
.site-header .lang.lang-compact button:hover {
  color: #c9a96e;
}
.bottom-login-link {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 80;
  border: 1px solid rgba(44, 41, 37, 0.22);
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(10px);
  color: #2c2925;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 9px 13px;
  text-decoration: none;
  text-transform: uppercase;
}
.bottom-login-link:hover {
  border-color: rgba(201, 169, 110, 0.75);
  color: #c9a96e;
}

@media (max-width: 768px) {
  .site-header .header-inner {
    grid-template-columns: 1fr auto;
    padding: 1.25rem 2rem;
  }
  .site-header .header-nav {
    display: none;
  }
  .site-header .header-util {
    grid-column: 2;
  }
  .site-header .logo {
    font-size: 20px;
    grid-column: 1;
  }
}
