/* =========================
   ANNOUNCEMENT BAR
   ========================= */

.alynore-announcement-bar {
  width: 100%;
  background: #11100f;
  border-bottom: 1px solid rgba(240, 228, 212, 0.08);
}

.alynore-announcement-bar__inner {
  max-width: 1320px;
  margin: 0 auto;
  min-height: 34px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(243, 231, 216, 0.9);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

/* =========================
   HEADER
   ========================= */

.alynore-site-header {
  position: sticky;
  top: 34px;
  z-index: 1000;
  width: 100%;
  background: var(--alyn-shell);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(49, 35, 23, 0.04);
  box-shadow: none;
}

.admin-bar .alynore-site-header {
  top: 66px;
}

.alynore-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 94px;
  padding: 0 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.alynore-header-left {
  justify-self: start;
  display: flex;
  align-items: center;
  min-width: 0;
}

.alynore-header-center {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alynore-header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  min-width: 0;
}

.alynore-nav {
  display: block;
}

.alynore-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.alynore-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alynore-nav a {
  position: relative;
  display: inline-block;
  color: var(--alyn-text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.22s ease, opacity 0.22s ease;
}

.alynore-nav a:hover,
.alynore-nav a.is-active {
  color: #9f7d58;
}

.alynore-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
  opacity: 0.8;
}

.alynore-nav a:hover::after,
.alynore-nav a.is-active::after {
  transform: scaleX(1);
}

.alynore-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.alynore-logo img {
  display: block;
  width: 168px;
  max-width: 168px;
  height: auto;
  filter: saturate(0.92) contrast(1.01);
}

.alynore-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
}

.alynore-cart-link,
.alynore-mobile-cart {
  position: relative;
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--alyn-text);
  text-decoration: none;
  transition: transform 0.22s ease, color 0.22s ease;
}

.alynore-cart-link:hover,
.alynore-mobile-cart:hover {
  color: #9f7d58;
  transform: translateY(-1px);
}

.alynore-cart-icon {
  width: 17px;
  height: 17px;
  display: block;
}

.alynore-cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--alyn-ink-soft);
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 8px;
  line-height: 17px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 18px rgba(33, 25, 21, 0.18);
}

/* =========================
   MOBILE TOGGLE / MOBILE MENU BASE
   ========================= */

.alynore-mobile-toggle {
  display: none;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.alynore-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--alyn-ink-soft);
}

.alynore-mobile-menu {
  display: none;
}

.alynore-mobile-menu__inner {
  display: none;
}

.alynore-mobile-close {
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  cursor: pointer;
}

.alynore-mobile-close span {
  position: absolute;
  top: 13px;
  left: 2px;
  width: 24px;
  height: 2px;
  background: var(--alyn-text);
  border-radius: 999px;
}

.alynore-mobile-close span:first-child {
  transform: rotate(45deg);
}

.alynore-mobile-close span:last-child {
  transform: rotate(-45deg);
}

.alynore-mobile-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.alynore-mobile-logo img {
  display: block;
  width: 128px;
  max-width: 128px;
  height: auto;
}

.alynore-mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alynore-mobile-nav li {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.alynore-mobile-nav li:last-child {
  margin-bottom: 0;
}

.alynore-mobile-nav a {
  position: relative;
  display: inline-block;
  color: var(--alyn-text);
  text-decoration: none;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 400;
}

.alynore-mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  opacity: 0.6;
}

.alynore-mobile-nav a.is-active,
.alynore-mobile-nav a:hover {
  color: #8c6e4b;
}

.alynore-mobile-nav a.is-active::after,
.alynore-mobile-nav a:hover::after {
  transform: scaleX(1);
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 980px) {
  .alynore-announcement-bar__inner {
    min-height: 32px;
    padding: 0 20px;
    font-size: 9px;
  }

  .alynore-header-inner {
    min-height: 94px;
    padding: 0 20px;
    gap: 16px;
  }

  .alynore-nav ul {
    gap: 24px;
  }

  .alynore-nav a {
    font-size: 15px;
  }

  .alynore-logo img {
    width: 150px;
    max-width: 150px;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {
  .admin-bar .alynore-site-header {
    top: 78px;
  }

  .alynore-announcement-bar__inner {
    min-height: 30px;
    padding: 0 16px;
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .alynore-header-inner {
    min-height: 78px;
    padding: 0 16px;
    gap: 12px;
    grid-template-columns: 40px 1fr 40px;
  }

  .alynore-nav {
    display: none !important;
  }

  .alynore-mobile-toggle {
    display: inline-flex;
  }

  .alynore-logo img {
    width: 120px;
    max-width: 120px;
  }

  .alynore-cart-link,
  .alynore-mobile-cart {
    width: 24px;
    height: 24px;
  }

  .alynore-cart-icon {
    width: 18px;
    height: 18px;
  }

  .alynore-mobile-menu {
    position: fixed;
    top: 108px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: rgba(17, 16, 15, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
  }

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

  .alynore-mobile-menu__inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    width: 100%;
    min-height: 0;
    padding: 20px 20px 22px;
    background: rgba(215, 196, 163, 0.985);
    border-top: 1px solid rgba(31, 27, 24, 0.05);
    border-bottom: 1px solid rgba(31, 27, 24, 0.08);
    box-shadow: 0 24px 60px rgba(31, 22, 17, 0.08);
    transform: translateY(-10px);
    transition: transform 0.28s ease;
  }

  .alynore-mobile-menu.is-open .alynore-mobile-menu__inner {
    transform: translateY(0);
  }

  .alynore-mobile-menu__top {
    display: none;
  }

  .alynore-mobile-nav {
    justify-self: end;
    width: max-content;
    margin-top: 0;
    text-align: right;
    transform: translateY(4px);
    opacity: 0;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.36s ease;
  }

  .alynore-mobile-menu.is-open .alynore-mobile-nav {
    transform: translateY(0);
    opacity: 1;
  }

  .alynore-mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .alynore-mobile-nav li {
    margin: 0 0 14px;
  }

  .alynore-mobile-nav a {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.015em;
  }

  body.alynore-menu-open {
    overflow: hidden;
  }
}
