:root {
  --bg: #f5eee3;
  --bg-alt: #eee2d0;
  --text: #2c2019;
  --muted: #6e5c50;
  --primary: #b0683f;
  --primary-dark: #8f4f2b;
  --card: #ffffff;
  --border: #e8d8c9;
  --shadow: 0 14px 32px rgba(58, 39, 28, 0.1);
  --radius: 18px;
  --group-card-height: clamp(360px, 62vh, 560px);
  --display-font: "Playfair Display", Georgia, serif;
  --body-font: "Manrope", "Segoe UI", sans-serif;
  --ease-standard: cubic-bezier(0.22, 0.72, 0.18, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(255, 255, 255, 0.46),
      transparent 34%
    ),
    radial-gradient(
      circle at 82% 86%,
      rgba(176, 104, 63, 0.2),
      transparent 35%
    ),
    linear-gradient(
      120deg,
      rgba(255, 247, 239, 0.74),
      rgba(238, 226, 208, 0.28)
    );
  animation: ambientFloat 18s var(--ease-standard) infinite alternate;
}

h1,
h2,
h3,
h4,
.brand {
  font-family: var(--display-font);
  letter-spacing: 0.01em;
}

.section-heading h2 {
  position: relative;
  width: fit-content;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.32rem;
  width: 56%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), transparent);
}

.section {
  padding: 4.6rem 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 18% 8%,
    rgba(255, 255, 255, 0.46),
    transparent 30%
  );
  opacity: 0.45;
}

.alt {
  background: linear-gradient(160deg, #efe3d2 0%, #e7d8c4 100%);
}

.alt::before {
  background: radial-gradient(
    circle at 84% 18%,
    rgba(255, 255, 255, 0.42),
    transparent 34%
  );
  opacity: 0.5;
}

.section > .section-container {
  position: relative;
  z-index: 1;
}

.card {
  background: linear-gradient(180deg, #fffdf9 0%, #fff9f2 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.menu-controls,
.employee-bar {
  backdrop-filter: blur(8px);
  background: rgba(255, 250, 244, 0.9);
}

.section#menu .menu-controls {
  position: sticky;
  top: 80px;
  z-index: 18;
}

.filter-btn,
.btn-primary,
.btn-secondary,
.btn-danger,
.catalog-item,
.vip-card,
.contact-grid .card,
.staff-card,
.gallery-card {
  transition-timing-function: var(--ease-standard);
}

.catalog-category {
  position: relative;
  overflow: hidden;
}

.catalog-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), #d49b74);
}

.catalog-category h4 {
  font-size: 1.08rem;
  color: #7f4a2d;
  margin-top: 0.2rem;
}

.catalog-list {
  scrollbar-width: thin;
  scrollbar-color: #d4b299 #f5eadd;
}

.catalog-list::-webkit-scrollbar {
  width: 8px;
}

.catalog-list::-webkit-scrollbar-track {
  background: #f5eadd;
  border-radius: 999px;
}

.catalog-list::-webkit-scrollbar-thumb {
  background: #d4b299;
  border-radius: 999px;
}

.catalog-item {
  border-color: #ecdccf;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f0 100%);
}

.catalog-item-name {
  font-size: 0.96rem;
  font-weight: 700;
}

.catalog-item-price {
  color: #5a4132;
}

.add-item-btn {
  border-color: #d9c6b6;
  background: #f2e3d6;
}

.add-item-btn:hover {
  background: #ead5c1;
}

.food-card img,
.staff-card img,
.gallery-card img,
.catalog-item-image {
  transition: transform 0.45s var(--ease-standard);
}

.food-card:hover img,
.staff-card:hover img,
.gallery-card:hover img,
.catalog-item:hover .catalog-item-image {
  transform: scale(1.03);
}

.vip-card,
.contact-grid .card,
.staff-card,
.gallery-card {
  border: 1px solid #e9dacc;
}

.vip-name {
  font-size: 1.08rem;
}

.footer {
  background: linear-gradient(180deg, #efe3d3, #eadac8);
}

body.page-ready .hero-content > * {
  animation: heroReveal 0.72s var(--ease-standard) forwards;
}

.scroll-reveal {
  transition:
    opacity 0.64s var(--ease-standard),
    transform 0.64s var(--ease-standard);
}

@media (max-width: 760px) {
  .section#menu .menu-controls {
    top: 66px;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .food-card:hover img,
  .staff-card:hover img,
  .gallery-card:hover img,
  .catalog-item:hover .catalog-item-image {
    transform: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.section-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  color: #ffffff;
  background:
    linear-gradient(rgba(28, 20, 16, 0.45), rgba(28, 20, 16, 0.6)),
    url("Photos/GW BG.png") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 10, 8, 0.2),
    rgba(15, 10, 8, 0.52)
  );
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  width: clamp(220px, 34vw, 420px);
  height: clamp(220px, 34vw, 420px);
  right: -10%;
  bottom: -18%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 0)
  );
  animation: heroOrbFloat 9s var(--ease-standard) infinite;
  z-index: 1;
}

.hero-rain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-rain .drop {
  position: absolute;
  top: -12%;
  width: clamp(3px, 0.5vw, 5px);
  height: clamp(18px, 4vw, 32px);
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    rgba(197, 234, 255, 0.92)
  );
  filter: drop-shadow(0 0 8px rgba(186, 229, 255, 0.35));
  animation: heroDropFall var(--drop-duration, 3.2s) linear infinite;
  animation-delay: var(--drop-delay, 0s);
}

.hero-rain .drop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 42px;
  height: 12px;
  transform: translateX(-50%) scale(0.2);
  border-radius: 50%;
  border: 1.5px solid rgba(196, 234, 255, 0.9);
  opacity: 0;
  animation: heroDropRipple var(--drop-duration, 3.2s) linear infinite;
  animation-delay: var(--drop-delay, 0s);
}

.hero-rain .drop:nth-child(1) {
  left: 5%;
  --drop-duration: 2.8s;
  --drop-delay: 0.2s;
}

.hero-rain .drop:nth-child(2) {
  left: 13%;
  --drop-duration: 3.6s;
  --drop-delay: 1.2s;
}

.hero-rain .drop:nth-child(3) {
  left: 22%;
  --drop-duration: 3s;
  --drop-delay: 0.8s;
}

.hero-rain .drop:nth-child(4) {
  left: 30%;
  --drop-duration: 3.7s;
  --drop-delay: 2s;
}

.hero-rain .drop:nth-child(5) {
  left: 38%;
  --drop-duration: 2.9s;
  --drop-delay: 1.6s;
}

.hero-rain .drop:nth-child(6) {
  left: 47%;
  --drop-duration: 3.4s;
  --drop-delay: 0.35s;
}

.hero-rain .drop:nth-child(7) {
  left: 56%;
  --drop-duration: 3.1s;
  --drop-delay: 2.2s;
}

.hero-rain .drop:nth-child(8) {
  left: 65%;
  --drop-duration: 3.8s;
  --drop-delay: 1.05s;
}

.hero-rain .drop:nth-child(9) {
  left: 74%;
  --drop-duration: 3.05s;
  --drop-delay: 2.4s;
}

.hero-rain .drop:nth-child(10) {
  left: 82%;
  --drop-duration: 2.95s;
  --drop-delay: 0.6s;
}

.hero-rain .drop:nth-child(11) {
  left: 90%;
  --drop-duration: 3.55s;
  --drop-delay: 1.8s;
}

.hero-rain .drop:nth-child(12) {
  left: 96%;
  --drop-duration: 3.25s;
  --drop-delay: 2.65s;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  backdrop-filter: blur(10px);
  background: rgba(34, 25, 20, 0.56);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: calc(92vh - 70px);
  padding-block: 3rem;
  max-width: 640px;
}

.hero-content::before,
.hero-content::after {
  content: none;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(28px);
}

body.page-ready .hero-content > *:nth-child(1) {
  animation-delay: 0.06s;
}

body.page-ready .hero-content > *:nth-child(2) {
  animation-delay: 0.16s;
}

body.page-ready .hero-content > *:nth-child(3) {
  animation-delay: 0.28s;
}

body.page-ready .hero-content > *:nth-child(4) {
  animation-delay: 0.4s;
}

.kicker {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.7rem;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  text-shadow: 0 8px 22px rgba(18, 10, 5, 0.35);
}

.hero p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.9);
}

.btn-primary,
.btn-secondary {
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.btn-primary {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  padding: 0.75rem 1rem;
  background: #f3e8de;
  color: #5a4638;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: var(--primary-dark);
  animation-play-state: paused;
}

.btn-danger {
  border: 0;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-weight: 600;
  color: #fff;
  background: #d44848;
  cursor: pointer;
}

.btn-danger:hover {
  background: #b53a3a;
}

.section {
  padding: 4.6rem 0;
}

.section {
  position: relative;
}

.alt {
  background: linear-gradient(160deg, #efe3d2 0%, #e7d8c4 100%);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.section-heading p {
  margin: 0.6rem 0 1.4rem;
  color: var(--muted);
}

.card {
  background: linear-gradient(180deg, #fffdf9 0%, #fff9f2 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.64s var(--ease-standard),
    transform 0.64s var(--ease-standard);
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.menu-controls {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem;
}

#searchInput {
  flex: 1 1 260px;
  border: 1px solid #e8ddd2;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.filter-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid #ebdfd4;
  background: #fff8f1;
  color: #5a4b3f;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #f1d8c5;
}

.menu-grid,
.staff-grid,
.vip-grid,
.gallery-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.menu-grid,
.staff-grid,
.vip-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.calculator-layout {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.catalog-panel,
.cart-panel {
  padding: 1rem;
}

.cart-panel {
  position: fixed;
  top: 84px;
  right: 16px;
  width: min(380px, calc(100% - 2rem));
  max-height: calc(100vh - 104px);
  overflow: auto;
  z-index: 40;
  transform: translateX(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.28s ease,
    opacity 0.24s ease;
}

.cart-panel.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.close-cart-btn {
  border: 1px solid #e3d8cc;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  background: #f8efe5;
  color: #5a4b3f;
  cursor: pointer;
}

.close-cart-btn:hover {
  background: #efdecc;
}

.cart-tab-btn {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 45;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(53, 40, 31, 0.2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    background 0.2s ease;
}

.cart-tab-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-tab-btn:hover {
  background: var(--primary-dark);
}

.catalog-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.catalog-header-row h3,
.cart-panel h3 {
  margin: 0;
  font-size: 1.25rem;
}

.catalog-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.catalog-category {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: var(--group-card-height);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  background: #fffdf9;
}

.catalog-category h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-dark);
}

.catalog-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.2rem;
  margin-top: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.catalog-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem;
  border: 1px solid #efe6de;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}

.catalog-item-image {
  width: 100%;
  height: 190px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #eee2d5;
  background: #f7f1ea;
}

.catalog-item-image.placeholder {
  display: grid;
  place-items: center;
  color: #8a7c6f;
  font-size: 0.84rem;
  background: linear-gradient(135deg, #f8f2ea, #f3e9dd);
}

.catalog-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.catalog-item-name {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}

.catalog-item-price {
  color: var(--muted);
  font-weight: 600;
}

.add-item-btn {
  justify-self: end;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e2d8cd;
  color: #5a4b3f;
  background: #f8f1e8;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.add-item-btn:hover {
  background: #f0dfcf;
}

.cart-items {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.6rem;
  max-height: 320px;
  overflow: auto;
  padding-right: 0.2rem;
}

.cart-empty {
  margin: 0;
  color: var(--muted);
}

.cart-line {
  border: 1px solid #ebe2d8;
  border-radius: 11px;
  padding: 0.55rem;
  background: #fffdfa;
}

.cart-line-top,
.cart-line-bottom,
.cart-summary-row,
.discount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-line-name {
  margin: 0;
  font-size: 0.94rem;
}

.cart-line-price {
  color: var(--muted);
  font-size: 0.88rem;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid #e2d8cd;
  border-radius: 7px;
  background: #f7efe5;
  cursor: pointer;
}

.qty-btn:hover {
  background: #ebdac9;
}

.qty-value {
  min-width: 18px;
  text-align: center;
  font-weight: 600;
}

.cart-summary-row {
  margin-top: 0.8rem;
  padding-top: 0.65rem;
  border-top: 1px solid #ecdfd2;
}

.discount-row {
  justify-content: space-between;
}

.discount-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

#discountInput {
  width: 60px;
  border: 1px solid #e2d7cb;
  border-radius: 8px;
  padding: 0.3rem 0.4rem;
  font: inherit;
}

#discountAmount {
  color: #b53a3a;
}

.quick-discount {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.35rem;
}

.discount-chip {
  border: 1px solid #e3d9cd;
  background: #f8f0e7;
  border-radius: 8px;
  padding: 0.3rem 0.45rem;
  cursor: pointer;
  font-size: 0.82rem;
}

.discount-chip:hover {
  background: #eedecd;
}

.total-row strong {
  font-size: 1.15rem;
}

.cart-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
}

.cart-actions .btn-primary {
  margin-top: 0;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
}

.food-card,
.staff-card,
.gallery-card {
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.catalog-item,
.vip-card,
.contact-grid .card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.food-card:hover,
.staff-card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(53, 40, 31, 0.13);
}

.catalog-item:hover,
.vip-card:hover,
.contact-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(53, 40, 31, 0.13);
}

.reveal-card {
  opacity: 0;
  transform: translateY(24px) scale(0.975);
}

.reveal-card.visible {
  animation: revealCard 0.45s ease forwards;
}

@keyframes revealCard {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDropFall {
  0% {
    transform: translateY(-14vh);
    opacity: 0;
  }
  8% {
    opacity: 0.95;
  }
  100% {
    transform: translateY(110vh);
    opacity: 0.08;
  }
}

@keyframes heroDropRipple {
  0% {
    transform: translateX(-50%) scale(0.2);
    opacity: 0;
  }
  76% {
    transform: translateX(-50%) scale(0.2);
    opacity: 0;
  }
  84% {
    transform: translateX(-50%) scale(0.66);
    opacity: 0.9;
  }
  100% {
    transform: translateX(-50%) scale(1.3);
    opacity: 0;
  }
}

@keyframes heroOrbFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-20px, -16px, 0) scale(1.06);
  }
  100% {
    transform: translate3d(8px, -28px, 0) scale(0.98);
  }
}

@keyframes ambientFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -18px, 0);
  }
}

.food-card img,
.staff-card img,
.gallery-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.staff-card img {
  height: 280px;
  object-fit: contain;
  background: #f7f1ea;
}

.food-content,
.staff-content {
  padding: 0.8rem 0.9rem 1rem;
}

.food-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.food-top h3,
.staff-content h3 {
  margin: 0;
  font-size: 1rem;
}

.price {
  color: var(--primary-dark);
  font-weight: 700;
}

.category {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #f8ece1;
  color: #6e4f39;
}

.staff-content p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.vip-card {
  padding: 1rem;
}

.vip-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vip-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e8c8a8;
}

.vip-initial {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #5c3d2a;
  background: linear-gradient(135deg, #f7ddc7, #f1c8a0);
  border: 1px solid #e8c8a8;
}

.vip-name {
  margin: 0;
  font-size: 1rem;
}

.vip-since {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.about-card {
  padding: 1rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.contact-grid .card {
  padding: 1rem;
}

.cart-status {
  margin-bottom: 0;
}

/* ── Employee selector ─────────────────────────────────────── */
.employee-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.employee-label {
  font-weight: 600;
  white-space: nowrap;
}

.employee-select {
  flex: 1 1 200px;
  border: 1px solid #e2d8cd;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  background: #fffdf9;
  min-width: 160px;
  cursor: pointer;
}

.employee-select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── PIN modal ─────────────────────────────────────────────── */
.pin-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(28, 20, 16, 0.55);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.pin-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.card-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  background: rgba(28, 20, 16, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.card-popup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.card-popup {
  position: relative;
  width: min(560px, calc(100% - 1.5rem));
  max-height: 88vh;
  overflow: auto;
  border-radius: 16px;
  animation: popupIn 0.24s ease;
}

.card-popup-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e4d9ce;
  background: #fff8f0;
  color: #5c4d40;
  cursor: pointer;
}

.card-popup-media-wrap {
  border-bottom: 1px solid #eee1d3;
}

.card-popup-image {
  width: 100%;
  height: min(44vh, 280px);
  object-fit: cover;
  display: block;
}

.card-popup-body {
  padding: 1rem;
}

.card-popup-body h3 {
  margin: 0;
}

.card-popup-meta {
  margin: 0.4rem 0 0;
  color: #6d5e53;
  font-weight: 600;
}

.card-popup-text {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

@keyframes popupIn {
  from {
    transform: translateY(18px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.pin-modal {
  width: min(360px, calc(100% - 2rem));
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
  animation: pinSlideUp 0.22s ease;
}

@keyframes pinSlideUp {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pin-modal h3 {
  margin: 0;
}

.pin-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pin-input {
  width: 100%;
  border: 1px solid #e2d8cd;
  border-radius: 10px;
  padding: 0.75rem;
  font: inherit;
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-align: center;
}

.pin-input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.pin-error {
  margin: 0;
  min-height: 1.2rem;
  color: #b53a3a;
  font-size: 0.88rem;
  font-weight: 500;
}

.pin-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.pin-actions .btn-primary {
  margin-top: 0;
  border-radius: 10px;
  padding: 0.55rem 1.1rem;
}

.pin-actions .btn-secondary {
  border: 1px solid #e2d8cd;
  border-radius: 10px;
  padding: 0.55rem 1.1rem;
}

.status-text {
  min-height: 1.4rem;
  margin-top: 0.6rem;
  color: var(--muted);
}

.footer {
  text-align: center;
  color: #6b5d53;
  border-top: 1px solid var(--border);
  padding: 1.2rem 1rem 2rem;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    top: auto;
    bottom: 72px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: 72vh;
    transform: translateY(calc(100% + 20px));
  }

  .cart-panel.open {
    transform: translateY(0);
  }

  .cart-tab-btn {
    right: 10px;
    bottom: 12px;
  }

  .navbar {
    padding: 0.7rem 0.8rem;
  }

  .nav-links {
    gap: 0.8rem;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 82vh;
  }

  .hero::before {
    inset: 0;
  }

  .hero-content {
    min-height: calc(82vh - 60px);
  }

  .hero-rain .drop {
    width: 3px;
    height: 20px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-category {
    height: clamp(340px, 68vh, 620px);
  }

  .catalog-item-top {
    flex-wrap: wrap;
  }

  .catalog-item-image {
    height: 220px;
  }

  .staff-card img {
    height: 260px;
  }

  .gallery-card img {
    height: 190px;
  }

  .card-popup {
    width: calc(100% - 1rem);
    max-height: 90vh;
  }

  .card-popup-image {
    height: min(36vh, 220px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-rain {
    display: none;
  }
}
