.dining-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.dining-section__background {
  position: absolute;
  inset: 0;
  background-color: #23201A;
  background-image: var(--theme-img-dining);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.dining-section__background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(35, 32, 26, 0.7);
  z-index: 1;
}

.dining-section__wrapper {
  position: relative;
  z-index: 2;
  padding: 128px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dining-section__max-width {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* Header */
.dining-section__header {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 32px;
}

.dining-section__eyebrow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.dining-section__line {
  width: 80px;
  height: 1px;
  background: #EAE6DB;
}

.dining-section__eyebrow {
  color: #EAE6DB;
  font-family: 'Cronos Pro', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 27px;
  letter-spacing: 3.6px;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  cursor: default;
}

.dining-section__title {
  width: 100%;
  color: #EAE6DB;
  font-family: 'Rufina', serif;
  font-size: 68px;
  font-weight: 400;
  line-height: 61.2px;
  text-align: center;
  margin: 0;
  padding: 0;
}

.dining-section__description {
  width: 100%;
  color: #EAE6DB;
  font-family: 'Cronos Pro', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 38.4px;
  text-align: center;
  margin: 0;
  padding: 0;
}

.dining-section__button {
  height: 48px;
  padding: 4px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 68px;
  border: 1.5px solid #EAE6DB;
  background: transparent;
  color: #EAE6DB;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: var(--btn-font-size, 16px);
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dining-section__button:hover {
  background: #EAE6DB;
  color: #23201A;
}

/* Content */
.dining-section__content {
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Sidebar */
.dining-section__sidebar {
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dining-section__restaurant-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.dining-section__progress-container {
  width: 100%;
}

.dining-section__progress-bar {
  width: 100%;
  height: 2px;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.dining-section__progress-fill {
  height: 100%;
  background: white;
  transition: width 0.3s ease;
}

.dining-section__restaurant-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dining-section__restaurant-name {
  color: #F2F0E7;
  font-family: 'Cronos Pro', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 21px;
  letter-spacing: 2.8px;
  margin: 0;
  padding: 0;
  transition: opacity 0.3s ease;
}

.dining-section__restaurant-item.active .dining-section__restaurant-name {
  opacity: 1;
}

.dining-section__restaurant-item:not(.active) .dining-section__restaurant-name {
  opacity: 0.5;
}

.dining-section__restaurant-type {
  color: #F1F0EF;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20.3px;
  margin: 0;
  padding: 0;
  transition: opacity 0.3s ease;
}

.dining-section__restaurant-item.active .dining-section__restaurant-type {
  opacity: 1;
}

.dining-section__restaurant-item:not(.active) .dining-section__restaurant-type {
  opacity: 0.5;
}

/* Right Panel */
.dining-section__panel {
  flex: 1;
  display: flex;
  height: 600px;
  background: #F2F0E7;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.dining-section__carousel {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #F2F0E7;
}

.dining-section__carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dining-section__carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  align-items: center;
}

.dining-section__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dining-section__dot.active {
  background: white;
  border-color: white;
}

/* Details Panel */
.dining-section__details {
  flex: 0 0 380px;
  max-width: 380px;
  padding: 40px;
  background: #EAE6DB;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.dining-section__logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.dining-section__logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.dining-section__details-title {
  color: #3B352B;
  font-family: 'Cronos Pro', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  margin: 0;
  padding: 0;
}

.dining-section__subtitle {
  color: #666666;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
  margin: 8px 0 16px;
  padding: 0;
}

.dining-section__details-text {
  color: #3B352B;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: center;
  margin: 0;
  padding: 0;
  flex: 1;
}

.dining-section__discover-button {
  height: 44px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  border: none;
  background: #002542;
  color: white;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: var(--btn-font-size, 16px);
  font-weight: 500;
  line-height: 14px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dining-section__discover-button:hover {
  background: #003764;
}

/* Responsive */
@media (max-width: 1024px) {
  .dining-section__wrapper {
    padding: 80px var(--gutter);
  }

  .dining-section__max-width {
    gap: 48px;
  }

  .dining-section__header {
    padding: 24px;
    gap: 48px;
  }

  .dining-section__title {
    font-size: 48px;
    line-height: 43.2px;
  }

  .dining-section__description {
    font-size: 24px;
    line-height: 28.8px;
  }

  .dining-section__details {
    flex: 0 0 320px;
    max-width: 320px;
    padding: 32px;
    gap: 16px;
  }

  .dining-section__panel {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .dining-section__wrapper {
    padding: 60px var(--gutter);
  }

  .dining-section__header {
    padding: 16px;
    gap: 32px;
  }

  .dining-section__title {
    font-size: 36px;
    line-height: 32.4px;
  }

  .dining-section__description {
    font-size: 18px;
    line-height: 21.6px;
  }

  .dining-section__eyebrow-container {
    flex-wrap: wrap;
  }

  .dining-section__line {
    display: none;
  }

  .dining-section__content {
    flex-direction: column;
  }

  .dining-section__sidebar {
    width: 100%;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
  }

  .dining-section__restaurant-item {
    flex: 0 0 150px;
  }

  .dining-section__panel {
    width: 100%;
    height: 400px;
    flex-direction: column;
  }

  .dining-section__carousel {
    flex: 1;
  }

  .dining-section__details {
    flex: 0 0 auto;
    max-width: 100%;
    padding: 24px;
    gap: 16px;
  }

  .dining-section__logo-container {
    margin-bottom: 4px;
  }

  .dining-section__details-title {
    font-size: 24px;
    line-height: 24px;
  }

  .dining-section__subtitle {
    margin: 4px 0 12px;
  }
}

/* Short laptop screens (<=820px tall): the 600px panel was taller than the
   space under the sticky header. Scale it with the window height. */
@media (min-width: 769px) and (max-height: 820px) {
  .dining-section__panel {
    height: clamp(450px, calc(100svh - 90px), 600px);
  }
}
