:root {
  --white: #ffffff;
  --surface: #f7f5f1;
  --gold: #caa66b;
  --gold-dark: #9c7a3f;
  --gold-bright: #d9b45c;
  --text-dark: #262220;
  --text-muted: #6b6b6b;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle, rgba(156, 122, 63, 0.16) 1px, transparent 1.5px)
      0 0 / 26px 26px,
    linear-gradient(180deg, var(--surface) 0%, var(--white) 420px);
  background-attachment: fixed, scroll;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

body::before {
  top: -140px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(217, 180, 92, 0.22), transparent 70%);
}

body::after {
  bottom: -160px;
  left: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(202, 166, 107, 0.16), transparent 70%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 32px;
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 4px 20px rgba(38, 34, 32, 0.06);
  animation: fadeIn 0.6s ease-in-out;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: min(320px, 70%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 8px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 3px var(--white);
}

.logo {
  height: 76px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.brand:hover .logo {
  transform: scale(1.05) rotate(-2deg);
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher:empty {
  display: none;
}

.lang-switcher:not(:empty)::before {
  content: "";
  width: 1px;
  height: 26px;
  margin-right: 4px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.lang-option {
  border: none;
  background: none;
  padding: 0;
  width: 44px;
  height: 32px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.75;
  box-shadow: 0 1px 4px rgba(38, 34, 32, 0.1);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-option:hover,
.lang-option.active {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(156, 122, 63, 0.3);
}

.lang-option img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--gold);
  border-radius: 24px;
  padding: 6px 16px 6px 40px;
  box-shadow: 0 1px 3px rgba(38, 34, 32, 0.05);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.search-bar::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c7a3f' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
}

.search-bar:focus-within {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(217, 180, 92, 0.25);
}

.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 8px 4px;
  width: 200px;
  color: var(--text-dark);
}

.search-bar input::placeholder {
  color: #a3a3a3;
}

main {
  max-width: 1150px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hero {
  position: relative;
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 200px;
  background: radial-gradient(circle, rgba(217, 180, 92, 0.2), transparent 72%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0 0 18px;
  letter-spacing: 0.3px;
}

.hero h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.hero p {
  color: var(--text-muted);
  font-size: 15px;
}

.beverage-sheet {
  margin-top: 50px;
  animation: fadeIn 0.8s ease-in-out;
}

.beverage-sheet h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.beverage-sheet h2::before,
.beverage-sheet h2::after {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.beverage-sheet h2::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.list-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.list-controls select {
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 9px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(38, 34, 32, 0.05);
  cursor: pointer;
  outline: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.list-controls select:hover {
  border-color: var(--gold-bright);
}

.list-controls select:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(217, 180, 92, 0.25);
}

.sheet-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(38, 34, 32, 0.1);
  border: 1px solid #ece6da;
  background-color: var(--white);
}

.no-results-message {
  margin: 0;
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
}

.beverage-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  color: var(--text-dark);
  background-color: var(--white);
}

.beverage-table thead th {
  background: linear-gradient(120deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: left;
  padding: 24px 36px;
}

.beverage-table tbody td {
  padding: 24px 36px;
  border-bottom: 1px solid #f0ece3;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.beverage-table tbody tr:last-child td {
  border-bottom: none;
}

.beverage-table tbody tr:nth-child(even) td {
  background-color: #fbf8f3;
}

.beverage-table tbody tr:hover td {
  background-color: #f7ecd9;
  box-shadow: inset 4px 0 0 var(--gold);
}

.beverage-table thead th:nth-child(2),
.beverage-table thead th:nth-child(3),
.beverage-table tbody td:nth-child(2),
.beverage-table tbody td:nth-child(3) {
  text-align: right;
}

.beverage-table tbody td:first-child {
  font-weight: 500;
}

.beverage-table tbody td:nth-child(3) {
  color: var(--gold-dark);
  font-weight: 600;
}

footer {
  position: relative;
  background-color: var(--surface);
  color: var(--gold-dark);
  text-align: center;
  padding: 22px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  border-top: 1px solid var(--gold);
}

footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  width: min(320px, 70%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .logo {
    height: 56px;
  }

  .brand-name {
    font-size: 19px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .search-bar input {
    width: 100%;
  }

  main {
    padding: 40px 14px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .beverage-sheet h2 {
    font-size: 23px;
    gap: 10px;
  }

  .beverage-sheet h2::before,
  .beverage-sheet h2::after {
    width: 22px;
  }

  .beverage-table {
    font-size: 15px;
  }

  .beverage-table thead th,
  .beverage-table tbody td {
    padding: 14px 16px;
  }
}
