.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  width: 100%;
  z-index: 120;
  background: transparent;
  box-sizing: border-box;
  padding: 0 18px;
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  width: min(1280px, 100%);
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 0 12px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(24, 23, 20, 0.86), rgba(12, 12, 11, 0.78));
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-header__brand img {
  display: block;
  height: 46px;
  width: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.site-header__links,
.site-header__actions {
  display: flex;
  align-items: center;
}

.site-header__links {
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.site-header__actions {
  gap: 8px;
}

.nav-link,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0.95;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, opacity .18s ease;
}

.nav-link:hover,
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.nav-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  opacity: 0.76;
  transform: rotate(45deg);
  transition: transform .18s ease, margin .18s ease;
}

.nav-toggle[aria-expanded="true"]::after,
.nav-item--mega:hover .nav-toggle::after,
.nav-item--mega:focus-within .nav-toggle::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

/* MEGA MENU EDITORIAL */
.nav-item {
  position: relative;
}

.nav-item--mega::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 62px;
  z-index: 1;
  width: min(1120px, calc(100vw - 48px));
  height: 42px;
  transform: translateX(-50%);
  pointer-events: none;
}

.nav-item--mega:hover::after,
.nav-item--mega:focus-within::after,
.nav-item--mega.is-open::after {
  pointer-events: auto;
}

.mega-menu {
  position: fixed;
  top: 80px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%) translateY(8px);
  width: min(1120px, calc(100vw - 48px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.nav-item--mega:hover .mega-menu,
.nav-item--mega:focus-within .mega-menu,
.nav-item--mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu--editorial {
  overflow: hidden;
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 24px;
  background: #f7f3ee;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.mega-menu__editorial {
  display: grid;
  grid-template-columns: 282px 1fr;
  gap: 0;
  padding: 0;
}

.mega-menu__visual {
  display: flex;
  padding: 14px;
  background: #11130f;
}

.mega-visual-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 300px;
  padding: 18px;
  border: 1px solid rgba(195, 166, 111, 0.24);
  border-radius: 18px;
  background: #1c211b;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mega-visual-card__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c3a66f;
  font-weight: 700;
}

.mega-visual-card__image {
  display: block;
  width: 100%;
  height: 112px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.mega-visual-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 18px;
  box-sizing: border-box;
}

.mega-visual-card__title {
  margin-top: 16px;
  color: #fff;
  font-size: 25px;
  line-height: 1.04;
  font-weight: 700;
}

.mega-visual-card__text {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.55;
}

.mega-visual-card__cta {
  margin-top: 16px;
  align-self: flex-start;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #11130f;
  background: #f7f3ee;
  font-size: 13px;
  font-weight: 700;
}

.mega-menu__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  padding: 28px;
}

.mega-menu__group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mega-menu__group-title {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8f7750;
  position: relative;
  padding-bottom: 10px;
  font-weight: 800;
}

.mega-menu__group-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: #c3a66f;
}

.mega-menu__group a {
  color: #1f1f1f;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.32;
  font-weight: 700;
  transition: color .18s ease, transform .18s ease;
}

.mega-menu__group a:hover {
  color: #8f7750;
  transform: translateX(3px);
}

/* MOBILE HEADER */
@media (max-width: 1024px) {
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    background: transparent;
    padding: 0;
    pointer-events: auto;
  }

  .site-header__inner {
    min-height: 72px;
    padding: 14px 16px 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
    justify-content: flex-start;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__brand img {
    height: 42px;
    width: auto;
  }
}

/* MOBILE BOTTOM BAR */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-bottom-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 140;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(16, 16, 16, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  }

  .mobile-bottom-bar__item {
    min-height: 58px;
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 2px;
  }

  .mobile-bottom-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, 0.92);
  }

  .mobile-bottom-bar__icon svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  .mobile-bottom-bar__label {
    line-height: 1;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.01em;
  }
}

/* MOBILE PANELS */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 160;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.2s ease;
}

.mobile-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.mobile-panel__sheet {
  position: absolute;
  inset: 0;
  background: #f7f3ee;
  overflow-y: auto;
}

.mobile-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-panel__header h3 {
  margin: 0;
  font-size: 28px;
}

.mobile-panel__close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 24px;
}

.mobile-panel__content {
  padding: 18px 20px 120px;
}

.mobile-cat-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-cat-link strong {
  color: #1f1f1f;
  font-size: 20px;
  line-height: 1.1;
}

.mobile-cat-link span {
  color: #5b564f;
  line-height: 1.55;
}

.mobile-search-form {
  display: grid;
  gap: 14px;
}

.mobile-search-form input[type="search"] {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-size: 17px;
  box-sizing: border-box;
}

body.panel-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .site-header__inner {
    gap: 10px;
  }

  .nav-link,
  .nav-toggle {
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .site-header__links {
    gap: 2px;
  }

  .mega-menu {
    width: min(980px, calc(100vw - 40px));
  }

  .mega-menu__editorial {
    grid-template-columns: 1fr;
  }

  .mega-visual-card {
    min-height: 180px;
  }

  .mega-menu__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
  }
}
.mega-visual-card--inspirations {
  background: #24231f;
}

.nav-link--cart,
.nav-link--account,
.nav-link--search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-link--cart:hover,
.nav-link--account:hover,
.nav-link--search:hover {
  background: rgba(255, 255, 255, 0.18);
}

.nav-link__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.nav-link__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.nav-link__count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 1024px) {
  .nav-link--cart,
  .nav-link--account,
  .nav-link--search {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-link__count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    padding: 0 4px;
  }
}
