:root {
  --header-bg: #f9f9f7;
  --announcement-bg: #a4b3fd;
  --announcement-text: #ffffff;
  --text-main: #261a1a;
  --text-soft: #5d4d4d;
  --border-soft: rgba(80, 48, 48, 0.08);
  --shadow-soft: 0 14px 40px rgba(60, 35, 35, 0.08);
  --shadow-sticky: 0 10px 28px rgba(60, 35, 35, 0.1);
  --cta-bg: #7f1d1d;
  --cta-hover: #5f1313;
  --container: 1320px;
  --announcement-height: 38px;
  --header-height: 118px;
  --header-height-scrolled: 96px;
  --radius-pill: 999px;
  --transition: 0.35s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  /* background: #dfead8; */
  overflow-x: hidden;
}

/* =========================
   Announcement Bar
========================= */

.announcement-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1200;
  height: var(--announcement-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  text-decoration: none;
  background: var(--announcement-bg);
  color: var(--announcement-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 0.45s ease,
    opacity 0.35s ease;
}

.announcement-bar::before,
.announcement-bar::after {
  content: "";
  position: absolute;
  top: 0;
  width: 110px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.announcement-bar::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(164, 179, 253, 1),
    rgba(164, 179, 253, 0)
  );
}

.announcement-bar::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(164, 179, 253, 1),
    rgba(164, 179, 253, 0)
  );
}

.announcement-bar.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.announcement-bar__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: marquee 26s linear infinite;
}

.announcement-bar:hover .announcement-bar__track {
  animation-play-state: running;
}

.announcement-bar__content {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  padding-right: 24px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.announcement-bar__content span {
  display: inline-flex;
  align-items: center;
}

.announcement-bar__content .dot {
  opacity: 0.9;
  font-size: 0.75rem;
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   Header
========================= */

.site-header {
  position: fixed;
  top: var(--announcement-height);
  left: 0;
  width: 100%;
  z-index: 1100;
  transition:
    top 0.45s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-condensed {
  top: 0;
}

.site-header__inner {
  width: min(calc(100% - 32px), var(--container));
  min-height: var(--header-height);
  margin: 12px auto 0;
  padding: 0 22px 0 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: rgba(249, 249, 247, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition:
    min-height var(--transition),
    margin-top var(--transition),
    border-radius var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.site-header.is-condensed .site-header__inner {
  min-height: var(--header-height-scrolled);
  margin-top: 10px;
  border-radius: 22px;
  background: rgba(249, 249, 247, 0.96);
  box-shadow: var(--shadow-sticky);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transform: translateZ(0);
}

.site-logo img {
  width: auto;
  height: 82px;
  display: block;
  object-fit: contain;
  transition:
    height var(--transition),
    transform var(--transition),
    filter var(--transition);
}

.site-header.is-condensed .site-logo img {
  height: 68px;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.45rem;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0.35rem 0;
  transition:
    color 0.28s ease,
    transform 0.28s ease,
    opacity 0.28s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #c95b5b, #7f1d1d);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.28s ease;
}

.site-nav a:hover {
  color: #7f1d1d;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.order-btn,
.mobile-order-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease;
}

.order-btn {
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #f08aa0 0%, #ef7d91 100%);
  box-shadow: 0 12px 22px rgba(127, 29, 29, 0.22);
  cursor: pointer;
}

.order-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f08aa0 0%, #ef7d91 100%);
  box-shadow: 0 16px 26px rgba(127, 29, 29, 0.28);
}

.order-btn:focus-visible,
.mobile-order-btn:focus-visible,
.order-dropdown__item:focus-visible,
.mobile-order-dropdown__item:focus-visible {
  outline: 2px solid rgba(127, 29, 29, 0.35);
  outline-offset: 3px;
}

.order-dropdown {
  position: relative;
}

.order-dropdown__toggle {
  gap: 8px;
}

.order-dropdown__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  line-height: 1;
  transition: transform 0.28s ease;
}

.order-dropdown.is-open .order-dropdown__icon,
.mobile-order-dropdown.is-open .order-dropdown__icon {
  transform: rotate(180deg);
}

.order-dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 230px;
  padding: 10px;
  display: grid;
  gap: 6px;
  background: rgba(249, 249, 247, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(60, 35, 35, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease,
    transform 0.24s ease;
  z-index: 1250;
}

.order-dropdown.is-open .order-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.order-dropdown__item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.order-dropdown__item:hover {
  background: rgba(127, 29, 29, 0.06);
  color: #7f1d1d;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   Mobile Menu
========================= */

.mobile-menu {
  width: min(calc(100% - 32px), var(--container));
  margin: 10px auto 0;
  background: rgba(249, 249, 247, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    max-height 0.38s ease,
    opacity 0.28s ease,
    transform 0.28s ease,
    padding 0.28s ease;
}

.mobile-menu.is-open {
  max-height: 520px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.mobile-menu__nav > a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 12px;
  border-radius: 16px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.mobile-menu__nav > a:hover {
  background: rgba(127, 29, 29, 0.06);
  color: #7f1d1d;
}

.mobile-order-dropdown {
  display: none;
  flex-direction: column;
  margin-top: 8px;
}

.mobile-order-btn {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #f08aa0 0%, #ef7d91 100%);
  cursor: pointer;
  gap: 8px;
}

.mobile-order-dropdown__toggle {
  justify-content: space-between;
}

.mobile-order-dropdown__menu {
  display: grid;
  gap: 6px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    padding-top 0.22s ease;
}

.mobile-order-dropdown.is-open .mobile-order-dropdown__menu {
  max-height: 220px;
  opacity: 1;
  padding-top: 8px;
}

.mobile-order-dropdown__item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 14px;
  margin-left: 6px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(127, 29, 29, 0.05);
  transition:
    background-color 0.22s ease,
    color 0.22s ease;
}

.mobile-order-dropdown__item:hover {
  background: rgba(127, 29, 29, 0.1);
  color: #7f1d1d;
}

/* =========================
   Layout Offset
========================= */

.top-offset {
  height: calc(var(--announcement-height) + var(--header-height));
}

/* =========================
   Responsive
========================= */

@media (max-width: 1180px) {
  .site-nav {
    gap: 1rem;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .order-btn {
    padding: 0 18px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 96px;
    --header-height-scrolled: 84px;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    padding: 0 16px 0 18px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .order-dropdown {
    display: none;
  }

  .mobile-order-dropdown {
    display: flex;
  }

  .site-logo img {
    height: 64px;
  }

  .site-header.is-condensed .site-logo img {
    height: 46px;
  }

  .top-offset {
    height: calc(var(--announcement-height) + var(--header-height));
  }
}

@media (min-width: 981px) {
  .mobile-order-dropdown {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --announcement-height: 36px;
  }

  .announcement-bar__content {
    font-size: 0.75rem;
    gap: 11px;
  }

  .site-header__inner {
    width: min(calc(100% - 20px), var(--container));
    margin-top: 8px;
    padding: 0 18px 0 20px;
    border-radius: 20px;
  }

  .site-header.is-condensed .site-header__inner {
    border-radius: 18px;
  }

  .site-logo img {
    height: 64px;
  }

  .site-header.is-condensed .site-logo img {
    height: 56px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .order-dropdown__menu {
    min-width: 210px;
  }

  .mobile-order-btn {
    font-size: 0.92rem;
    padding: 0 16px;
  }

  .mobile-order-dropdown__item {
    font-size: 0.92rem;
  }

  .top-offset {
    height: calc(var(--announcement-height) + var(--header-height));
  }
}

/* =========================
   Mobile Header Polish
========================= */

@media (max-width: 640px) {
  :root {
    --announcement-height: 36px;
    --header-height: 78px;
    --header-height-scrolled: 70px;
  }

  .site-header__inner {
    min-height: var(--header-height);
    width: calc(100% - 28px);
    margin-top: 10px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 22px;
  }

  .site-header.is-condensed .site-header__inner {
    min-height: var(--header-height-scrolled);
  }

  .site-logo {
    display: flex;
    align-items: center;
  }

  .site-logo img {
    height: 56px;
  }

  .site-header.is-condensed .site-logo img {
    height: 50px;
  }

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

  .menu-toggle {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .top-offset {
    height: calc(var(--announcement-height) + var(--header-height) + 4px);
  }
}

@media (max-width: 380px) {
  .site-logo img {
    height: 50px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}