:root {
  --red: #d7232b;
  --black: #0d0d10;
  --white: #f8f8f8;
  --muted: #c6c6cf;
  --card: rgba(255, 255, 255, 0.04);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

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

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(215, 35, 43, 0.2), transparent 38%),
              radial-gradient(circle at 80% 0%, rgba(215, 35, 43, 0.3), transparent 45%),
              var(--black);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.page {
  width: min(1280px, calc(100% - 28px));
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  z-index: 1;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', 'Manrope', sans-serif;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
  color: #e6e6ea;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero {
  width: min(1280px, calc(100% - 28px));
  position: relative;
  padding: 28px clamp(14px, 4vw, 28px) 56px;
  overflow: hidden;
  max-width: 1280px;
  margin: 14px auto 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .hero {
    padding: 12px 14px 28px;
    margin: 8px auto 16px;
    width: calc(100% - 16px);
  }
}

#top.hero {
  border: none;
  background-image: 
    linear-gradient(to right, rgba(13,13,16,0.98) 0%, rgba(13,13,16,0.8) 40%, rgba(13,13,16,0.1) 100%),
    url('../../img/fon/head.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  background-position: -1px -1px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1), rgba(0,0,0,0.35));
}

.topbar {
  z-index: 20;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 40px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  .topbar {
    display: none !important;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-dropdown {
  position: relative;
  z-index: 21;
}

.nav-dropdown.is-open .nav-dropdown__toggle {
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

.nav-dropdown__toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  appearance: none;
}

.nav-dropdown__toggle::after {
  content: "▾";
  font-size: 12px;
  transition: transform 160ms ease;
}

.nav-dropdown.is-open .nav-dropdown__toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(13,13,16,0.96);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown__menu[hidden] {
  display: none;
}

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

.nav-dropdown__panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.nav-dropdown__panel a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.nav-dropdown__panel a:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  transform: translateX(2px);
}

.nav-dropdown__toggle::after {
  content: "\25BE";
}

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

.brand__logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand__domain {
  color: var(--muted);
  font-size: 12px;
}

.brand__city {
  font-size: clamp(16px, 1.8vw, 18px);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 36px);
  align-items: flex-start;
  padding: 40px 0 20px;
}

.hero__kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(215, 35, 43, 0.18);
  color: #ffd6d9;
  font-weight: 700;
  letter-spacing: 0.06em;
  width: fit-content;
  text-transform: uppercase;
  font-size: 12px;
}

.hero__lead {
  max-width: 640px;
  color: #f2f2f5;
  font-size: clamp(16px, 4vw, 18px);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}



.cta {
  background: var(--red);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  box-shadow: 0 12px 30px rgba(215, 35, 43, 0.35);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(215, 35, 43, 0.45);
}

.cta--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  box-shadow: none;
}

.cta--outline:hover {
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

.cta--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  box-shadow: none;
}

.cta--dark {
  background: linear-gradient(135deg, rgba(8,8,10,0.96), rgba(28,28,34,0.92));
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.cta--dark:hover {
  background: linear-gradient(135deg, rgba(18,18,22,0.98), rgba(38,38,46,0.94));
  box-shadow: 0 16px 34px rgba(0,0,0,0.34);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  color: #ffd6d9;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
}

.social-link--footer {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.stat-strip {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  position: relative;
  z-index: 2;
}

.stat {
  position: relative;
  background: linear-gradient(135deg, rgba(8,8,10,0.96), rgba(28,28,34,0.92));
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}

.stat__icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  margin-right: 0.58rem;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.stat__icon--svg {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat__label {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  margin-bottom: 6px;
}

.stat__value {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.stat__note {
  color: #d0d0d8;
  font-size: 13px;
}

main {
  padding: 42px 0 72px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 20px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section-lead {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-bottom: 6px;
}

.section-lead h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.08;
}

.section--duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.section--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 12px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.top-places-status {
  grid-column: 1 / -1;
}

.home-card-slider {
  display: contents;
}

.section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 6px;
}

.list li {
  margin-bottom: 10px;
  background: rgba(255,255,255,0.04);
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.icon-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.icon-item__icon {
  font-size: 20px;
  line-height: 1.2;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
}

.card--accent {
  background: linear-gradient(135deg, rgba(215,35,43,0.22), rgba(13,13,16,0.95));
  border-color: rgba(215,35,43,0.3);
}

.card--shadow {
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card--shadow:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.16);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
}

.home-install-block {
  align-items: stretch;
}

.home-install-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.home-install-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-install-card__icon {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.88);
  box-shadow: 0 16px 34px rgba(0,0,0,0.32);
}

.home-install-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.home-install-steps .icon-item {
  align-items: center;
}

.home-install-steps .icon-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(215,35,43,0.24);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: 700;
}

.chip--button {
  color: var(--white);
  cursor: pointer;
  font: inherit;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.chip--button:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.chip--button.is-active {
  background: rgba(215,35,43,0.2);
  border-color: rgba(215,35,43,0.42);
  box-shadow: 0 10px 24px rgba(215,35,43,0.18);
}

.districts {
  display: grid;
  gap: 18px;
}

.district-card {
  display: grid;
  gap: 16px;
  background: linear-gradient(145deg, #25262d 0%, #23242b 48%, #202127 100%);
}

.district-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 4px 4px 14px;
  border-bottom: 1px solid #3a3c46;
}

.district-card__title h3 {
  margin-bottom: 6px;
}

.district-card__title p {
  max-width: 760px;
  margin: 0;
}

.district-card__overall {
  min-width: 120px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #2b2c34;
  border: 1px solid #4a4d58;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.district-card__overall-label {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  margin-bottom: 4px;
}

.district-card__overall-value {
  display: block;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.district-ratings {
  display: grid;
  gap: 0;
  padding: 10px 12px;
  border: 1px solid #434550;
  border-radius: 18px;
  background: #2b2c34;
}

.district-rating {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 8px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #3c3f49;
}

.district-rating:last-child {
  border-bottom: 0;
}

.district-rating__label {
  font-weight: 700;
}

.district-rating__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.district-rating__stars {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  flex: 1 1 auto;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #ffd36a;
  white-space: normal;
  overflow-wrap: anywhere;
}

.district-rating__value {
  flex: 0 0 auto;
  min-width: 24px;
  text-align: right;
  font-size: 20px;
  font-weight: 800;
  color: #ffd6d9;
}

#districts.section {
  background: #202127;
  border-color: #343640;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

#districts .chip {
  background: #2b2c34;
  border-color: #434550;
}

#districts .chip--button:hover {
  background: #32343d;
  border-color: #555864;
}

#districts .chip--button.is-active {
  background: #d7232b;
  border-color: #d7232b;
  box-shadow: 0 10px 24px rgba(215, 35, 43, 0.22);
}

#districts .district-card {
  background: linear-gradient(145deg, #25262d 0%, #23242b 52%, #202127 100%);
  border-color: #3d404a;
  box-shadow: none;
}

#districts .district-card:hover {
  transform: none;
  border-color: #4a4d58;
  box-shadow: none;
}

#districts .district-vote-panel,
#districts .district-auth-note {
  background: #2b2c34;
  border: 1px solid #434550;
}

#districts .district-vote-form {
  background: transparent;
  border: 0;
}

.district-card__overall-votes {
  display: block;
  margin-top: 5px;
  color: #bfc1c9;
  font-size: 13px;
  font-weight: 700;
}

.district-stars__item {
  color: #555864;
}

.district-stars__item.is-active {
  color: #ffd36a;
}

.district-vote-panel {
  border-radius: 16px;
  overflow: hidden;
}

.district-vote-panel__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.district-vote-panel__summary::-webkit-details-marker {
  display: none;
}

.district-vote-panel__summary::marker {
  content: "";
}

.district-vote-panel__copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.district-vote-panel__copy strong {
  color: var(--white);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.18;
}

.district-vote-panel__copy span:last-child {
  color: #c4c6ce;
  line-height: 1.45;
}

.district-vote-panel__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(215, 35, 43, 0.24);
}

.district-vote-panel__button-open {
  display: none;
}

.district-vote-panel[open] .district-vote-panel__summary {
  border-bottom: 1px solid #434550;
}

.district-vote-panel[open] .district-vote-panel__button-closed {
  display: none;
}

.district-vote-panel[open] .district-vote-panel__button-open {
  display: inline;
}

.district-auth-note {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  margin: 14px;
}

.district-auth-note h4,
.district-vote-form h4 {
  margin: 0;
  font-size: 20px;
}

.district-auth-note p {
  margin: 0;
}

.district-auth-note__cta {
  justify-self: start;
  width: auto;
  max-width: 100%;
  padding-inline: 16px;
}

.district-vote-form {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 0;
  margin: 0;
}

.district-vote-form__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.district-vote-form__grid {
  display: grid;
  gap: 0;
  min-width: 0;
}

.district-vote-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 12px 0;
  border-radius: 0;
  border-bottom: 1px solid #3c3f49;
  background: transparent;
}

.district-vote-row:last-child {
  border-bottom: 0;
}

.district-vote-row__label {
  font-weight: 800;
}

.district-vote-row__hint {
  margin-top: 3px;
  color: #bfc1c9;
  font-size: 13px;
  font-weight: 700;
}

.district-star-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.district-star-picker__button {
  width: 32px;
  height: 32px;
  border: 1px solid #4a4d58;
  border-radius: 10px;
  background: #30313a;
  color: #666a75;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.district-star-picker__button:hover,
.district-star-picker__button.is-active {
  background: #3a2528;
  border-color: #d7232b;
  color: #ffd36a;
}

.district-star-picker__button:hover {
  transform: translateY(-1px);
}

.district-vote-form .cta:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.58;
}

.district-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
}

.district-message--success {
  background: #24352b;
  border: 1px solid #42634b;
  color: #d4ffe4;
}

.district-message--error {
  background: #3a2528;
  border: 1px solid #7a3c44;
  color: #ffd6d9;
}

.map__frame {
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.map__frame img,
.map__frame iframe {
  display: block;
  width: 100%;
}

.map__frame iframe {
  height: min(62vw, 540px);
  min-height: 360px;
  border: 0;
}

.place-card img {
  margin-top: 10px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.place-card--link {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
}

.badge-anchor {
  position: relative;
}

.place-card--link h3 {
  padding-right: 88px;
}

.place-card--link > p:not(.eyebrow) {
  padding-right: 0;
}

.place-card--link .place-rating-badge {
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  gap: 6px;
}

.place-card--link .place-rating-badge__star {
  font-size: 15px;
}

.place-card--link .place-rating-badge__value {
  font-size: 0.88rem;
}

.place-rating-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10,10,14,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 30px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  color: #fff4c4;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}

.place-rating-badge__star {
  color: #ffd36a;
  font-size: 18px;
}

.place-rating-badge__value {
  color: #fff;
  font-size: 0.98rem;
}

.khm-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 13, 17, 0.84);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.khm-hours-badge__dot {
  width: 0.52rem;
  height: 0.52rem;
  flex: 0 0 0.52rem;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.khm-hours-badge--open {
  border-color: rgba(110, 231, 183, 0.34);
}

.khm-hours-badge--open .khm-hours-badge__dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18), 0 0 14px rgba(34, 197, 94, 0.58);
}

.khm-hours-badge--closed {
  border-color: rgba(248, 113, 113, 0.3);
}

.khm-hours-badge--closed .khm-hours-badge__dot {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18), 0 0 14px rgba(239, 68, 68, 0.52);
}

.khm-hours-badge--unknown {
  border-color: rgba(255, 255, 255, 0.18);
}

.khm-hours-badge--unknown .khm-hours-badge__dot {
  background: rgba(255, 255, 255, 0.62);
}

.catalog-hours-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 4;
}

.article-hero__hours-badge {
  box-shadow: none !important;
}

.place-favorite-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(10,10,14,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 30px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
  z-index: 3;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.place-favorite-badge:hover {
  transform: translateY(-1px);
  background: rgba(10,10,14,0.92);
}

.place-favorite-badge.is-active {
  background: rgba(215,35,43,0.92);
  border-color: rgba(255,214,217,0.42);
}

.place-favorite-badge__icon {
  font-size: 24px;
  line-height: 1;
}

.place-card--link p,
.place-card--link h3,
.place-card--link figcaption {
  color: inherit;
}

.place-card--link::after {
  content: "Читати більше";
  display: inline-flex;
  margin-top: 10px;
  font-weight: 800;
  color: #ffd6d9;
}

.article-page {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 72px;
}

body.reviews-rules-page .reviews-rules-hero {
  padding: 14px 0 0;
  margin: 14px auto 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

body.reviews-rules-page .reviews-rules-hero .hero__grid {
  display: none;
}

body.reviews-rules-page .reviews-rules-hero .topbar {
  margin-bottom: 0;
}

.article-hero {
  padding: 0;
  overflow: hidden;
}

.article-hero__media {
  position: relative;
}

.article-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.article-hero__body {
  position: relative;
  padding: 22px;
  padding-right: 92px;
  display: grid;
  gap: 14px;
}

.article-hero__quick-actions {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.article-hero__quick-actions .place-favorite-badge,
.article-hero__meta .article-hero__rating-badge {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  box-shadow: none !important;
}

.article-hero__quick-actions .place-favorite-badge {
  width: 48px;
  height: 48px;
  color: #ffccd5;
  background: rgba(68, 24, 34, 0.92) !important;
  border-color: rgba(255, 120, 140, 0.32) !important;
  box-shadow: none !important;
}

.article-hero__quick-actions .place-favorite-badge:hover {
  color: #ffffff;
  background: rgba(130, 31, 45, 0.96) !important;
  border-color: rgba(255, 170, 182, 0.52) !important;
}

.article-hero__quick-actions .place-favorite-badge.is-active {
  color: #ffffff;
  background: rgba(215, 35, 43, 0.94) !important;
  border-color: rgba(255, 214, 217, 0.52) !important;
}

.article-hero__quick-actions .place-favorite-badge__icon {
  color: currentColor;
}

.article-page .article-hero__quick-actions .place-favorite-badge {
  background: rgba(68, 24, 34, 0.92) !important;
  border-color: rgba(255, 120, 140, 0.32) !important;
  color: #ffccd5 !important;
  box-shadow: none !important;
}

.article-page .article-hero__quick-actions .place-favorite-badge:hover {
  background: rgba(130, 31, 45, 0.96) !important;
  border-color: rgba(255, 170, 182, 0.52) !important;
  color: #ffffff !important;
}

.article-page .article-hero__quick-actions .place-favorite-badge.is-active {
  background: rgba(215, 35, 43, 0.94) !important;
  border-color: rgba(255, 214, 217, 0.52) !important;
  color: #ffffff !important;
}

.article-hero__meta .article-hero__rating-badge {
  padding: 8px 12px;
  background: rgba(35, 36, 43, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.article-price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(35, 36, 43, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffd36a;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
  white-space: nowrap;
}

.article-page .article-hero__meta .article-hero__rating-badge {
  background: rgba(35, 36, 43, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 700;
}

.article-hero__meta .article-hours__status {
  padding: 8px 12px;
  font-size: 0.82rem;
  box-shadow: none;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.article-layout__primary,
.article-layout__secondary {
  display: grid;
  gap: 18px;
  align-self: start;
}

.article-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-section h2 {
  margin-bottom: 0;
}

.article-list {
  display: grid;
  gap: 10px;
}

.article-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.article-nearby__lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.article-nearby__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.article-nearby-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #25262d;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.article-nearby-card:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 68, 68, 0.42);
  background: #2b2c34;
}

.article-nearby-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.article-nearby-card strong {
  display: -webkit-box;
  min-height: 2.55em;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-nearby-card__meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-nearby-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.article-nearby-card__rating {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.article-nearby-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #d7232b;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.article-nearby-card:hover .article-nearby-card__button {
  background: #ef3b43;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .article-nearby__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .article-nearby__grid {
    grid-template-columns: 1fr;
  }

  .article-nearby-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    border-radius: 18px;
  }

  .article-nearby-card img {
    grid-row: span 3;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .article-nearby-card strong {
    min-height: 0;
  }

  .article-nearby-card__footer {
    margin-top: 0;
  }
}

.article-list--ordered {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.article-list--ordered li {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.article-map iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 14px;
}

.rating-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

@media (min-width: 900px) {
  .rating-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  
  .place-rating {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
  }
}

.place-rating {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(86px, auto) minmax(34px, auto);
  align-items: center;
  justify-content: stretch;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.place-rating:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.place-rating__label {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-rating__stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  color: #ffd36a;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255, 211, 106, 0.2);
}

.place-rating__value {
  font-weight: 800;
  font-size: 14px;
  color: var(--white);
  min-width: 24px;
  text-align: right;
}

.gallery__item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  min-width: 0;
}

.gallery__item:focus-visible {
  outline: 2px solid rgba(215, 35, 43, 0.8);
  outline-offset: 2px;
}

.article-gallery-slider {
  padding: 18px;
}

.article-gallery-slider__frame {
  position: relative;
  display: block;
}

.article-gallery-slider__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  width: 100%;
  align-items: stretch;
}

.article-gallery-slider__track::-webkit-scrollbar {
  display: none;
}

.article-gallery-slider__item {
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}

.article-gallery-slider__item img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-gallery-slider__nav {
  width: 46px;
  height: 46px;
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(13,13,16,0.82);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.article-gallery-slider__nav--prev {
  left: 10px;
}

.article-gallery-slider__nav--next {
  right: 10px;
}

.article-gallery-slider__nav:hover {
  transform: translateY(-1px);
  background: rgba(215,35,43,0.92);
  border-color: rgba(255,255,255,0.2);
}

.article-gallery-slider__nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: rgba(7, 7, 10, 0.9);
  padding: 24px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 14px;
}

.gallery-lightbox__close {
  justify-self: end;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(13, 13, 16, 0.8);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(13, 13, 16, 0.82);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.gallery-lightbox__dialog > .gallery-lightbox__nav {
  position: absolute !important;
  top: 50% !important;
  display: inline-flex !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  transform: translateY(-50%) !important;
}

.gallery-lightbox__nav:hover {
  background: rgba(215,35,43,0.92);
  border-color: rgba(255,255,255,0.24);
}

.gallery-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery-lightbox__nav--prev {
  left: 16px;
}

.gallery-lightbox__nav--next {
  right: 16px;
}

.gallery-lightbox__dialog > .gallery-lightbox__nav--prev {
  left: 16px !important;
  right: auto !important;
}

.gallery-lightbox__dialog > .gallery-lightbox__nav--next {
  right: 16px !important;
  left: auto !important;
}

.gallery-lightbox__frame {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 24px 70px rgba(0,0,0,0.34);
}

.gallery-lightbox__frame img {
  width: 100%;
  max-height: calc(100vh - 160px);
  display: block;
  object-fit: contain;
  background: #0d0d10;
}

.gallery-lightbox__caption {
  padding: 12px 16px 16px;
  color: #fff;
  text-align: center;
}

.gallery-lightbox__caption[hidden] {
  display: none;
}

.reviews-section {
  display: grid;
  gap: 20px;
}

.reviews-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.reviews-section__header > div:first-child,
.reviews-section__intro {
  flex: 1 1 0;
  min-width: 0;
}

.reviews-section__intro {
  display: grid;
  gap: 10px;
}

.reviews-section__lead {
  max-width: 760px;
  color: rgba(255,255,255,0.78);
  margin: 0;
}

.reviews-summary {
  min-width: 120px;
  display: grid;
  gap: 6px;
  align-content: center;
  justify-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(13,13,16,0.54);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  text-align: center;
}

.reviews-summary__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.reviews-summary__score {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1;
  margin-bottom: 0;
}

.reviews-summary__meta {
  display: grid;
  gap: 4px;
  color: rgba(255,255,255,0.78);
  justify-items: center;
}

.reviews-summary__stars {
  color: #ffd36a;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.reviews-summary__count {
  font-size: 13px;
  line-height: 1.2;
}

.reviews-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: start;
}

.reviews-panel,
.reviews-list {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  width: 100%;
}

.reviews-list {
  order: 1;
}

.reviews-panel {
  order: 2;
}

.review-form {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(13,13,16,0.34);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  align-content: start;
}

.review-form--collapsed {
  gap: 12px;
}

.review-form__title {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
}

.review-form__hint {
  margin: 0;
  color: rgba(255,255,255,0.76);
  max-width: 62ch;
  font-size: 0.98rem;
  line-height: 1.55;
}

.review-form__stars {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.review-form__star {
  appearance: none;
  -webkit-appearance: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08) !important;
  background: rgba(255,255,255,0.04) !important;
  color: rgba(255,255,255,0.38) !important;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  box-shadow: none !important;
  padding: 0;
}

.review-form__star:hover,
.review-form__star.is-active,
.review-form__star.is-selected {
  background: rgba(215,35,43,0.16) !important;
  border-color: rgba(215,35,43,0.38) !important;
  color: #ffd36a !important;
}

.review-form__textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 132px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08) !important;
  background: rgba(13,13,16,0.72) !important;
  color: var(--white) !important;
  -webkit-text-fill-color: var(--white);
  resize: vertical;
  font: inherit;
  box-shadow: none !important;
  padding: 40px 16px 16px !important; /* Make room for icons at top */
  position: relative;
  z-index: 1; /* Explicit low z-index */
}

.review-form__textarea::placeholder {
  color: rgba(255,255,255,0.42) !important;
}

.review-form__textarea:focus {
  outline: none;
  border-color: rgba(215,35,43,0.44) !important;
  box-shadow: 0 0 0 2px rgba(215,35,43,0.14) !important;
}

.review-form__textarea-wrapper {
  position: relative;
  display: block;
}

.review-form__tool-icon {
  position: absolute;
  z-index: 20; /* High z-index to stay above textarea */
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color 0.15s, opacity 0.15s, background 0.15s, transform 0.15s;
  border-radius: 12px;
  padding: 0;
  pointer-events: auto !important; /* Ensure it captures clicks */
}

.review-form__tool-icon svg {
  pointer-events: none; /* Let clicks pass through internal SVG to the button */
}

.review-form__tool-icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

.review-form__tool-icon:active {
  transform: scale(0.95);
}

.review-form__tool-icon--emoji {
  top: 8px;
  left: 8px;
}

.review-form__tool-icon--upload {
  bottom: 8px;
  right: 12px;
}

/* Emoji Picker UI */
.emoji-picker {
  position: relative;
  width: 0;
  height: 0;
}

.emoji-picker__panel {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  z-index: 100;
  background: rgba(13, 13, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  min-width: 220px; /* Increased from 200px to avoid overflow */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  pointer-events: none;
}

.emoji-picker__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.emoji-picker__item {
  background: transparent;
  border: none !important; /* Removed borders completely */
  font-size: 20px;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
  box-shadow: none !important; /* Ensure no shadows mimic borders */
}

.emoji-picker__item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.15);
}

.review-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.45;
}

.review-form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.review-form__consent a {
  color: #ffd36a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.review-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-form__actions .cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.review-form__status {
  margin: 0;
  color: rgba(255,255,255,0.76);
  line-height: 1.5;
}

.review-form__summary {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.86);
}

.review-form__summary-stars {
  color: #ffd36a;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.review-form__note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(215,35,43,0.10);
  border: 1px solid rgba(215,35,43,0.22);
  color: #ffd6d9;
}

.review-form__note.is-success {
  background: rgba(30, 180, 96, 0.12);
  border-color: rgba(30, 180, 96, 0.24);
  color: #d4ffe4;
}

.review-login-note {
  align-content: start;
  min-height: 0;
}

.review-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(13,13,16,0.34);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.review-card.is-own {
  border-color: rgba(215,35,43,0.22);
  background: rgba(215,35,43,0.08);
}

.review-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.review-card__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.review-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.review-card__avatar.is-premium {
  border-color: rgba(255, 211, 106, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 211, 106, 0.2);
}

.review-card__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.review-card__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--white);
}

.review-card__premium-status {
  appearance: none;
  display: inline;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.review-card__premium-status:hover,
.review-card__premium-status:focus-visible {
  transform: translateY(-1px) scale(1.06);
  filter: brightness(1.12);
  outline: none;
}

.review-card__own {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(215,35,43,0.14);
  color: #ffd6d9;
  font-size: 12px;
  font-weight: 700;
}

.review-card__date {
  flex: 0 0 auto;
  color: rgba(255,255,255,0.56);
  font-size: 0.88rem;
  text-align: right;
}

.review-card__stars {
  display: inline-flex;
  align-items: center;
  color: #ffd36a;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.review-card__text {
  margin: 0;
  color: rgba(255,255,255,0.88);
  white-space: pre-wrap;
  line-height: 1.6;
}

.reviews-empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(13,13,16,0.34);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.faq__list {
  display: grid;
  gap: 12px;
}

.faq__item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 16px;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: #ffd6d9;
}

.faq__item[open] summary::after {
  content: "-";
}

.reviews-panel {
  order: 1 !important;
}

.reviews-toolbar {
  order: 2;
  width: 100%;
}

.reviews-list {
  order: 3 !important;
}

.reviews-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.reviews-sort__button {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.reviews-sort__button:hover,
.reviews-sort__button.is-active {
  background: rgba(215,35,43,0.14);
  border-color: rgba(215,35,43,0.36);
  color: #fff;
}

.review-form__textarea-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.review-form__tool-icon {
  position: absolute;
  appearance: none;
  border: none;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.review-form__tool-icon:hover {
  color: #fff;
}

.review-form__tool-icon--emoji {
  top: 4px;
  left: 4px;
}

.review-form__tool-icon--upload {
  bottom: 4px;
  right: 4px;
}

.review-form__textarea {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
}

.review-form__media-meta {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
}

.review-form__media-note {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

.emoji-picker {
  position: absolute;
  top: 42px;
  left: 10px;
  z-index: 100;
}

.emoji-picker__panel {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 280px;
  max-width: calc(100vw - 60px);
  padding: 12px;
  border-radius: 16px;
  background: rgba(18, 18, 22, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  animation: emojiScaleIn 0.2s ease-out;
}

@keyframes emojiScaleIn {
  from { opacity: 0; transform: scale(0.95) translateY(-5px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.emoji-picker__panel.is-open {
  display: grid;
}

.emoji-picker__item {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  min-height: 42px;
  font-size: 22px;
  cursor: pointer;
}

.review-media-preview,
.review-media-grid {
  display: grid;
  gap: 10px;
}

.review-media-preview__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

.review-media-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

.review-media-preview__item,
.review-media-grid__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(13,13,16,0.72);
  border: 1px solid rgba(255,255,255,0.08);
}

.review-media-preview__item {
  flex: 0 0 88px;
  width: 88px;
  max-width: 88px;
}

.review-media-grid__item {
  appearance: none;
  padding: 0;
  flex: 0 0 96px;
  width: 96px;
  max-width: 96px;
  cursor: zoom-in;
}

.review-media-preview__item img,
.review-media-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-media-preview__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(13,13,16,0.84);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.review-card__identity-meta {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.review-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-actions,
.review-reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.review-action,
.review-reaction {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.86);
  padding: 9px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.review-reaction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.review-reaction.is-active {
  border-color: rgba(215,35,43,0.36);
  background: rgba(215,35,43,0.16);
  color: #fff;
}

.review-reaction__count {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}

.review-replies {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.review-replies--depth-2 {
  padding-left: 20px;
}

.review-replies--depth-3 {
  padding-left: 16px;
}

.review-replies--depth-4 {
  padding-left: 12px;
}

.review-reply {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.review-form__actions [data-review-delete] {
  border-color: rgba(215,35,43,0.28);
  color: #ffd6d9;
}

.review-form__actions [data-review-delete]:hover {
  background: rgba(215,35,43,0.14);
  border-color: rgba(215,35,43,0.36);
  color: #fff;
}

.review-reply-form {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.review-reply-form__header {
  font-weight: 800;
  color: #fff;
}

.review-form__textarea--reply {
  min-height: 110px;
}

.review-auth-tooltip {
  position: absolute;
  z-index: 60;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(13,13,16,0.92);
  color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  line-height: 1.45;
}

.review-auth-tooltip__link {
  color: #ffd36a;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 6px;
}

.reviews-empty--error {
  color: #ffd6d9;
  border-color: rgba(215,35,43,0.26);
  background: rgba(215,35,43,0.10);
}

@media (max-width: 900px) {
  .reviews-sort {
    gap: 8px;
  }

  .reviews-sort__button {
    padding: 9px 12px;
    font-size: 14px;
  }

  .review-form__tools {
    gap: 8px;
  }

  .review-media-grid__item {
    flex-basis: 88px;
    width: 88px;
    max-width: 88px;
  }

  .review-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .review-actions,
  .review-reactions {
    width: 100%;
  }

  .review-replies {
    padding-left: 14px;
  }
}

@media (max-width: 640px) {
  .review-form,
  .review-card,
  .review-reply,
  .review-reply-form {
    padding: 16px;
  }

  .review-form__title {
    font-size: 1.5rem;
  }

  .review-form__stars {
    gap: 6px;
  }

  .review-form__star {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 22px;
  }

  .review-media-preview__item {
    flex-basis: 72px;
    width: 72px;
    max-width: 72px;
  }

  .review-media-grid__item {
    flex-basis: 76px;
    width: 76px;
    max-width: 76px;
  }
}

.faq__item p {
  margin: 12px 0 0;
}

.malls.section--grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  padding: 12px;
}

@media (max-width: 720px) {
  #places.section--grid,
  #malls.section--grid {
    display: block;
    padding: 0;
  }

  #places .section-lead,
  #malls .section-lead {
    margin-bottom: 12px;
    padding-inline: 2px;
  }

  .home-card-slider {
    display: flex;
    gap: 14px;
    margin: 0 -2px;
    padding: 2px 2px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-card-slider::-webkit-scrollbar {
    display: none;
  }

  .home-card-slider > .card {
    flex: 0 0 min(86vw, 360px);
    min-width: min(86vw, 360px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .home-card-slider > .place-card--link {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .home-card-slider > .place-card--link img {
    max-height: 230px;
    margin-top: auto;
  }

  .home-card-slider > .card--accent {
    min-height: 260px;
  }
}

@media (max-width: 420px) {
  .home-card-slider > .card {
    flex-basis: calc(100vw - 46px);
    min-width: calc(100vw - 46px);
  }
}

.place-card--link h3,
.shop-card__title,
.malls .card--accent h2,
.section--duo .card h2,
.section--duo .card h3 {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
  letter-spacing: -0.02em !important;
  font-weight: 800 !important;
  text-transform: none !important;
  line-height: 1.2 !important;
}

.article-title--shop {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0 !important;
  font-weight: 800 !important;
  text-transform: none !important;
}

.article-title--catalog {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0 !important;
  font-weight: 800 !important;
  text-transform: none !important;
}

.article-hours__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 16px;
}

.article-hours__summary .article-hours__status {
  display: none;
}

.article-hours__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.article-hours__status--open {
  background: rgba(10, 90, 50, 0.82);
  border-color: rgba(134, 239, 172, 0.28);
  color: #dcfce7;
}

.article-hours__status--closed {
  background: rgba(33, 33, 38, 0.88);
  border-color: rgba(248, 113, 113, 0.2);
  color: #f8fafc;
}

.article-hours__status--unknown {
  background: rgba(33, 33, 38, 0.88);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.88);
}

.article-hours__list {
  display: grid;
  gap: 10px;
}

.article-hours__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.article-hours__row.is-today {
  border-color: rgba(215,35,43,0.28);
  background: rgba(215,35,43,0.10);
}

.article-hours__day {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.article-hours__time {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.74);
  text-align: right;
}

.footer {
  width: min(1280px, calc(100% - 28px));
  max-width: 1280px;
  margin: 32px 0 60px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px clamp(14px, 4vw, 28px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(215,35,43,0.22), rgba(13,13,16,0.96));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow);
}

.footer__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  font-size: 0.84rem;
}

.footer__meta strong {
  color: var(--white);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(13,13,16,0.88);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
  color: var(--white);
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease, background 160ms ease, border-color 160ms ease;
}

.back-to-top:hover {
  background: var(--red);
  border-color: rgba(255,255,255,0.24);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 900px) {
  .hero__content h1 {
    font-size: clamp(42px, 8vw, 56px);
    line-height: 1.05;
  }
  .hero__lead {
    max-width: 100%;
  }
  .hero__photo {
    max-width: 100%;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-layout__primary,
  .article-layout__secondary {
    gap: 16px;
  }
  .article-support {
    grid-template-columns: 1fr;
  }

  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .reviews-section__header {
    flex-direction: column;
  }

  .reviews-summary {
    width: 100%;
    min-width: 0;
  }

  .review-form__hint {
    max-width: none;
  }
}

@media (max-width: 720px) {
  body {
    background-position: 10% 10%, 90% 0%;
  }
  .hero {
    width: calc(100% - 28px);
    padding-top: 20px;
  }
  #top.hero {
    background-image: 
      linear-gradient(to bottom, rgba(13,13,16,0.95) 0%, rgba(13,13,16,0.8) 40%, rgba(13,13,16,0.3) 100%),
      url('../../img/fon/head.png');
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }
  .nav-dropdown__menu {
    left: 0;
    right: auto;
    min-width: min(260px, calc(100vw - 72px));
  }
  .brand__logo {
    width: 52px;
    height: 52px;
  }
  .hero__main {
    grid-template-columns: 1fr;
  }
  .hero__actions {
    width: 100%;
  }
  .hero__photo {
    max-width: 100%;
    justify-self: stretch;
  }
  .reviews-summary {
    justify-items: start;
    text-align: left;
  }
  .review-form__actions .cta,
  .review-form__actions .cta--ghost {
    width: 100%;
    justify-content: center;
  }
  .stat-strip {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  main {
    padding: 8px 0 56px;
    gap: 18px;
  }
  .section {
    padding: 16px;
  }
  .section--duo {
    grid-template-columns: 1fr;
  }
  .section--grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding: 0;
  }
  .chips {
    gap: 8px;
  }
  .chip {
    padding: 9px 12px;
  }
  .district-rating {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 8px;
  }
  .district-vote-panel__summary {
    align-items: stretch;
    flex-direction: column;
  }
  .district-vote-panel__button {
    width: 100%;
    min-width: 0;
  }
  .district-vote-row {
    grid-template-columns: 1fr;
  }
  .district-vote-form__header .cta {
    width: 100%;
    justify-content: center;
  }
  .district-rating__meta {
    gap: 10px;
  }
  .district-rating__stars {
    font-size: 16px;
  }
  .district-rating__value {
    font-size: 18px;
  }
  .district-card__overall {
    min-width: 0;
  }
  .footer {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 46px;
  }
  .footer__cta {
    justify-content: flex-start;
  }
  .footer__meta {
    font-size: 0.8rem;
    gap: 6px 14px;
  }
  .place-rating {
    grid-template-columns: minmax(0, 1fr) 86px 34px;
    gap: 8px;
    padding: 10px 12px;
  }

  .place-rating__label {
    font-size: 13px;
  }

  .place-rating__stars {
    min-width: 86px;
    font-size: 15px;
    letter-spacing: 0.03em;
  }

  .place-rating__value {
    min-width: 34px;
    font-size: 13px;
  }

  .review-card__header {
    flex-direction: column;
  }

  .review-card__date {
    text-align: left;
  }

  .reviews-section {
    gap: 18px;
  }

  .reviews-summary {
    width: fit-content;
    max-width: 100%;
    text-align: left;
  }

  .review-form,
  .review-card,
  .reviews-empty {
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .reviews-section__header {
    gap: 16px;
  }

  .reviews-summary {
    width: 100%;
    justify-items: start;
  }

  .hero__content h1 {
    font-size: 34px;
  }
  .nav-links {
    width: 100%;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown__toggle {
    width: 100%;
  }
  .nav-dropdown__menu {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 100%;
  }
  .nav-dropdown__panel a {
    width: 100%;
  }
  .district-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .district-card__overall {
    width: auto;
    text-align: center;
  }
  .district-rating__stars {
    font-size: 14px;
    letter-spacing: 0.03em;
  }
  .district-rating__value {
    font-size: 17px;
  }
  .district-star-picker {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .district-star-picker__button {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    aspect-ratio: 1;
    padding: 0;
    border-radius: 7px;
    font-size: clamp(10px, 3vw, 13px);
  }
  .article-hero__body {
    padding: 16px;
  }
  .article-hours__row {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-hours__time {
    text-align: left;
  }

  .review-form__star {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 22px;
  }

  .reviews-summary__score {
    font-size: 30px;
  }

  .reviews-summary__stars {
    font-size: 14px;
  }

  .review-form__stars {
    justify-content: flex-start;
  }

  .review-form__actions .cta,
  .review-login-note .cta {
    width: 100%;
    justify-content: center;
  }

  .review-form__consent {
    font-size: 13px;
  }

  .review-form__textarea {
    min-height: 120px;
  }

  .review-form,
  .review-card,
  .review-login-note,
  .reviews-empty {
    padding: 16px;
  }
  .place-card--link h3 {
    padding-right: 72px;
  }
  .place-card--link > p:not(.eyebrow) {
    padding-right: 0;
  }
  .place-card--link .place-rating-badge {
    top: 12px;
    right: 12px;
    padding: 5px 8px;
    gap: 5px;
  }
  .place-card--link .place-rating-badge__star {
    font-size: 14px;
  }
  .place-card--link .place-rating-badge__value {
    font-size: 0.82rem;
  }
  .place-rating-badge {
    top: 12px;
    right: 12px;
    padding: 7px 10px;
    gap: 6px;
  }
  .place-favorite-badge {
    top: 12px;
    left: 12px;
    width: 48px;
    height: 48px;
  }
  .place-favorite-badge__icon {
    font-size: 22px;
  }
  .place-rating-badge__star {
    font-size: 16px;
  }
  .place-rating-badge__value {
    font-size: 0.92rem;
  }
  .article-map iframe {
    min-height: 260px;
  }
  .place-rating__stars {
    font-size: 17px;
    letter-spacing: 0.05em;
  }

  .article-page .place-rating {
    grid-template-columns: minmax(0, 1fr) 86px 34px;
  }

  .article-page .place-rating__stars {
    min-width: 86px;
    font-size: 15px;
    letter-spacing: 0.03em;
  }

  .article-page .place-rating__value {
    min-width: 34px;
    font-size: 13px;
  }
  .hero__lead {
    font-size: 15px;
  }
  .stat__value {
    font-size: 22px;
  }
  .stat {
    padding: 14px 14px;
  }
  .stat__label {
    font-size: 10px;
  }
  .stat__note {
    font-size: 12px;
  }
  .map__frame {
    border-radius: 12px;
  }
  .map__frame iframe {
    min-height: 280px;
    height: 70vw;
  }
  .gallery-lightbox {
    padding: 14px;
  }
  .gallery-lightbox__dialog {
    width: min(100%, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
  }
  .gallery-lightbox__close {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
  .gallery-lightbox__frame {
    border-radius: 18px;
  }
  .gallery-lightbox__frame img {
    max-height: calc(100vh - 120px);
  }
  .article-gallery-slider {
    padding: 14px;
  }
  .article-gallery-slider__track {
    gap: 0;
  }
  .article-gallery-slider__item {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .article-gallery-slider__item img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: transparent;
  }
  .article-gallery-slider__nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .article-gallery-slider__nav--prev {
    left: 8px;
  }
  .article-gallery-slider__nav--next {
    right: 8px;
  }
  .gallery-lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
  .gallery-lightbox__nav--prev {
    left: 8px;
  }
  .gallery-lightbox__nav--next {
    right: 8px;
  }
  .gallery-lightbox__dialog > .gallery-lightbox__nav {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
  }
  .gallery-lightbox__frame img {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

/* =========================================
   НОВІ СТИЛІ РЕДИЗАЙНУ (Головна Сторінка)
========================================= */

/* Анімації появи при прокрутці */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Модернізована навігація: Glassmorphism */
.topbar {
  background: rgba(13, 13, 16, 0.65) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: sticky;
  top: 16px;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Бургер меню */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.menu-toggle__line {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: left center;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(1) {
  transform: rotate(45deg);
}

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

.menu-toggle.is-active .menu-toggle__line:nth-child(3) {
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(13, 13, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding: 100px 24px 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }
  
  .nav-links.is-active {
    right: 0;
  }
  
  .nav-dropdown__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    margin-top: 10px;
    pointer-events: auto;
  }
  
  .nav-dropdown__menu[hidden] {
    display: none;
  }
  
  .cta, .social-link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Оновлення Hero секції на мобільних */
@media (max-width: 768px) {
  .hero__main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .hero__content {
    align-items: center;
    order: 2;
  }
  
  .hero__lead {
    font-size: 16px;
    line-height: 1.5;
  }
  
  .hero__photo {
    justify-self: center;
    width: 100%;
    order: 1;
    max-width: 480px;
  }
  
  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }
  
  .section-lead h2 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
}

/* Hover-ефекти для карток */
.place-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(215, 35, 43, 0.15);
  border-color: rgba(215, 35, 43, 0.4);
}
.place-card img {
  transition: transform 0.6s ease;
}
.place-card:hover img {
  transform: scale(1.04);
}

/* =========================================
   Bottom Tab Bar
========================================= */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 860px) {
  /* Приховуємо бургер меню та стару мобільну навігацію */
  .menu-toggle, .nav-links {
    display: none !important;
  }

  .topbar {
    justify-content: center;
  }

  .brand {
    transform: scale(0.9);
  }

  /* Спейсер під контент, щоб tab bar не перекривав */
  body::after {
    content: '';
    display: block;
    height: var(--mobile-bottom-bar-height, calc(60px + env(safe-area-inset-bottom, 0px)));
  }

  /* Bulletproof Tab Bar: grid із 4 рівними колонками,
     висота визначається padding — не фіксується жорстко,
     щоб іконки не стискалися при зміні viewport на iOS Chrome */
  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 10px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(13, 13, 16, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    z-index: 1000;
  }

  .mobile-bottom-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding-bottom: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 700;
    transition: color 0.2s ease;
    /* Забороняємо стискання елементів */
    min-width: 0;
  }

  .mobile-bottom-bar__item:hover {
    color: rgba(255, 255, 255, 0.85);
  }

  .mobile-bottom-bar__item.is-active {
    color: #f8f8f8;
  }

  .mobile-bottom-bar__item.is-active .mobile-bottom-bar__icon {
    color: #d7232b;
    transform: translateY(-2px) scale(1.15);
  }

  /* Фіксовані розміри іконок — не можуть стискатися */
  .mobile-bottom-bar__icon {
    display: block;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
  }
}

/* 4. Компактні картки Каталогу */
.place-card {
  padding: 16px;
}
.place-card img {
  border-radius: 12px;
}
.catalog-grid {
  gap: 16px;
}

/* 5. Макет в одну колонку (Широкий) з блоком 50/50 */
.article-layout-single {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-layout__duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 720px) {
  .article-layout__duo {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   РЕДИЗАЙН КАРТОК ЗАКЛАДІВ ТА КАТАЛОГУ
   (place-page & catalog)
========================================= */

/* 1. Акордеон графіка роботи */
.article-hours__details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.3s ease;
}
.article-hours__details:hover {
  background: rgba(255, 255, 255, 0.05);
}

.article-hours__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style-type: none !important;
  list-style: none !important;
  user-select: none;
}
.article-hours__summary-row::-webkit-details-marker {
  display: none !important;
}
.article-hours__summary-row::marker {
  display: none !important;
  content: "" !important;
}

.article-hours__summary-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.article-hours__status-indicator {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
}

.article-hours__today-time {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.article-hours__summary-hint {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 12px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}

.article-hours__summary-hint::after {
  content: "Розклад ▼";
}

.article-hours__details[open] .article-hours__summary-hint {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
}

.article-hours__details[open] .article-hours__summary-hint::after {
  content: "Згорнути ▲";
}

.article-hours__list-inner {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 16px;
  display: grid;
  gap: 8px;
}

.article-hours__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}

.article-hours__row.is-today {
  background: rgba(215, 35, 43, 0.12);
  border: 1px solid rgba(215, 35, 43, 0.2);
  color: #fff;
  font-weight: 700;
}

.article-hours__day {
  color: rgba(255, 255, 255, 0.55);
}
.article-hours__row.is-today .article-hours__day {
  color: rgba(255, 255, 255, 0.9);
}

/* 2. Магія Відгуків (Unified Aesthetic Block) */
.reviews-section {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.reviews-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.reviews-header {
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(to right, rgba(255, 255, 255, 0.03), transparent);
}

.reviews-header__info h2 {
  font-size: 26px;
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

.reviews-section__lead {
  max-width: 480px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.reviews-summary__score-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 180px;
}

.reviews-summary__score {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-family: 'Outfit', sans-serif;
}

.reviews-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviews-summary__stars {
  color: #ffd36a;
  font-size: 13px;
  letter-spacing: 1px;
}

.reviews-summary__count {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reviews-main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 1024px) {
  .reviews-main-layout {
    grid-template-columns: 380px 1fr;
  }
  
  .reviews-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
  }
}

.reviews-sidebar {
  padding: 32px;
}

.reviews-content {
  padding: 32px;
  background: rgba(0, 0, 0, 0.1);
}

.reviews-toolbar {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.reviews-sort {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.reviews-sort::-webkit-scrollbar {
  display: none;
}

.reviews-sort__button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}

.reviews-sort__button.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(215, 35, 43, 0.25);
}

.reviews-sort__button:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.reviews-list {
  display: grid;
  gap: 14px;
}

.review-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 22px;
  transition: all 0.2s ease;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

/* Форма в компактному боксі */
.review-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px;
}

.review-form__title {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 800;
}

.review-form__hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
  line-height: 1.5;
}

.review-form__stars {
  margin-bottom: 20px;
  display: flex;
  gap: 6px;
}

.review-form__star {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.review-form__star.is-active {
  color: #ffd36a;
  text-shadow: 0 0 10px rgba(255, 211, 106, 0.3);
}

.review-form__textarea-wrapper {
  position: relative;
  margin-bottom: 12px;
}

.review-form__textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  font-size: 14px;
  min-height: 100px;
  resize: vertical;
}

.review-form__textarea:focus {
  border-color: var(--red);
  outline: none;
}

@media (max-width: 768px) {
  .reviews-header {
    flex-direction: column;
    padding: 24px 20px;
    align-items: flex-start;
    gap: 20px; /* Додано відступ між текстом і оцінкою */
  }
  
  .reviews-summary__score-box {
    width: 100%;
    justify-content: flex-start;
    padding: 16px;
  }
  
  .reviews-main-layout {
    gap: 12px; /* Додано відступ між формою та списком */
  }
  
  .reviews-sidebar {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  
  .reviews-content {
    padding: 20px;
  }
  
  .reviews-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
  }
  
  .reviews-sort {
    width: 100%;
    padding-bottom: 8px;
  }
}

/* 6. Навігація карти (Геолокація) */
.article-map__details {
  margin-top: 16px;
}
.article-map__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style-type: none !important;
  list-style: none !important;
  user-select: none;
  cursor: pointer;
  margin-bottom: 0;
}
.article-map__summary::-webkit-details-marker,
.article-map__summary::marker {
  display: none !important;
  content: "" !important;
}
.article-map__details[open] .article-map__summary {
  margin-bottom: 16px;
}
.article-map__toggle-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.article-map__toggle-btn::after {
  content: "Відкрити карту ▼";
}
.article-map__details[open] .article-map__toggle-btn::after {
  content: "Сховати карту ▲";
}
.article-map__iframe-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.article-map__iframe-wrapper iframe {
  display: block;
  width: 100%;
  height: 300px;
}

/* 7. Шапка внутрішніх сторінок */
/* Solid gray panels for full location pages */
.article-page {
  --place-panel: #202127;
  --place-panel-strong: #25262d;
  --place-panel-soft: #2b2c34;
  --place-panel-deep: #18191f;
  --place-line: rgba(255, 255, 255, 0.1);
}

.article-page > .card,
.article-page .article-section,
.article-page .article-gallery-slider {
  background: var(--place-panel) !important;
  border-color: var(--place-line) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.article-page .article-hero {
  background: var(--place-panel-deep) !important;
}

.article-page .article-hero__body,
.article-page .article-pill,
.article-page .article-price-badge,
.article-page .article-list li,
.article-page .article-list--ordered li,
.article-page .place-rating,
.article-page .article-hours__details,
.article-page .article-hours__summary-hint,
.article-page .article-map__iframe-wrapper,
.article-page .place-rating-badge,
.article-page .place-favorite-badge {
  background: var(--place-panel-strong) !important;
  border-color: var(--place-line) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.article-page .place-rating:hover,
.article-page .article-hours__details:hover {
  background: var(--place-panel-soft) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.article-page .article-hours__row {
  background: var(--place-panel-strong) !important;
  border: 1px solid var(--place-line);
}

.article-page .article-hours__row.is-today,
.article-page .review-card.is-own,
.article-page .review-form__note {
  background: #30313a !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.article-page .reviews-section {
  background: var(--place-panel) !important;
  border: 1px solid var(--place-line) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32) !important;
}

.article-page .reviews-container,
.article-page .reviews-header,
.article-page .reviews-summary,
.article-page .reviews-summary__score-box,
.article-page .reviews-sidebar,
.article-page .reviews-content,
.article-page .reviews-toolbar,
.article-page .review-form,
.article-page .review-card,
.article-page .reviews-empty,
.article-page .review-reply,
.article-page .review-reply-form,
.article-page .review-form__summary,
.article-page .review-media-preview__item,
.article-page .review-media-grid__item,
.article-page .emoji-picker__panel,
.article-page .review-auth-tooltip {
  background: var(--place-panel-strong) !important;
  border-color: var(--place-line) !important;
  box-shadow: none;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.article-page .reviews-header,
.article-page .reviews-toolbar {
  border-bottom-color: var(--place-line) !important;
}

.article-page .reviews-sidebar {
  border-right-color: var(--place-line) !important;
}

.article-page .review-form__textarea,
.article-page .review-form__star,
.article-page .article-hours__status,
.article-page .reviews-sort__button,
.article-page .review-action,
.article-page .review-reaction,
.article-page .emoji-picker__item,
.article-page .review-form__tool-icon:hover {
  background: var(--place-panel-soft) !important;
  border-color: var(--place-line) !important;
}

.article-page .reviews-sort__button:hover,
.article-page .review-reaction.is-active {
  background: #30313a !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.article-page .article-overview {
  gap: 24px;
}

.article-page .article-overview__part {
  display: grid;
  gap: 12px;
}

.article-page .article-overview__part + .article-overview__part {
  padding-top: 22px;
  border-top: 1px solid var(--place-line);
}

.article-page .article-hours__status--open {
  background: rgba(6, 78, 59, 0.85) !important;
  border-color: rgba(110, 231, 183, 0.35) !important;
  color: #d1fae5 !important;
}

.article-page .article-hours__status--closed {
  background: rgba(0, 0, 0, 0.85) !important;
  border-color: rgba(252, 165, 165, 0.25) !important;
  color: #ffffff !important;
}

.article-page .article-hours__status--unknown {
  background: rgba(0, 0, 0, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.article-page .reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 16px 22px;
}

.article-page .reviews-summary__score-box {
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.article-page .reviews-sort__button.is-active {
  background: var(--red) !important;
  border-color: rgba(215, 35, 43, 0.86) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(215, 35, 43, 0.24);
}

.article-page .review-card__premium-status,
.review-card__premium-status {
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: inherit !important;
  line-height: 1 !important;
}

.site-header {
  width: min(1280px, calc(100% - 28px));
  margin: 14px auto 0;
  position: relative;
  z-index: 20;
}

@media (max-width: 768px) {
  .district-auth-note__cta {
    display: inline-flex;
    width: auto;
    justify-content: center;
  }

  .article-hero__body {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 14px;
    padding: 18px;
  }

  .article-hero__quick-actions {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    align-self: center;
    margin-bottom: 0;
  }

  .article-hero__quick-actions .place-favorite-badge {
    width: 44px;
    height: 44px;
  }

  .article-hero__body > .eyebrow {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }

  .article-hero__body > h1,
  .article-hero__body > .hero__lead,
  .article-hero__body > .article-hero__meta {
    grid-column: 1 / -1;
  }

  .article-hero__body > h1 {
    margin: 2px 0 0;
    line-height: 1.13;
  }

  .article-hero__body > .hero__lead {
    margin-top: 0;
    line-height: 1.5;
  }
}

/* Mobile homepage compact sliders: keep each card as one horizontal slide. */
@media (max-width: 900px) {
  #places.section--grid,
  #malls.section--grid {
    display: block !important;
    grid-template-columns: none !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  #places .section-lead,
  #malls .section-lead {
    margin-bottom: 12px !important;
  }

  #places .home-card-slider,
  #malls .home-card-slider {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 -10px 0 0 !important;
    padding: 2px 10px 16px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  #places .home-card-slider::-webkit-scrollbar,
  #malls .home-card-slider::-webkit-scrollbar {
    display: none !important;
  }

  #places .home-card-slider > *,
  #malls .home-card-slider > * {
    flex: 0 0 min(88vw, 390px) !important;
    width: min(88vw, 390px) !important;
    min-width: min(88vw, 390px) !important;
    max-width: min(88vw, 390px) !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
  }

  #malls .home-card-slider > .card--accent {
    display: none !important;
  }

  #places .home-card-slider > .place-card--link,
  #malls .home-card-slider > .place-card--link {
    display: flex !important;
    flex-direction: column !important;
  }

  #places .home-card-slider > .place-card--link img,
  #malls .home-card-slider > .place-card--link img {
    margin-top: auto !important;
    max-height: 235px !important;
  }
}

@media (max-width: 420px) {
  #places .home-card-slider > *,
  #malls .home-card-slider > * {
    flex-basis: calc(100vw - 54px) !important;
    width: calc(100vw - 54px) !important;
    min-width: calc(100vw - 54px) !important;
    max-width: calc(100vw - 54px) !important;
  }
}
.dashboard-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px;
  border: 1px solid rgba(239, 68, 68, 0.34);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.18), rgba(15, 15, 18, 0.72));
}

.dashboard-action--danger {
  flex: 0 0 auto;
  color: #fff;
  border-color: rgba(239, 68, 68, 0.48);
  background: #b91c1c;
}

@media (max-width: 640px) {
  .dashboard-danger-zone {
    align-items: stretch;
    flex-direction: column;
  }
}
