/* Root Theme Variables */
:root {
  --bg-primary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-border: #e5e7eb;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --accent-red: #b91c1c;
  --accent-red-hover: #991b1b;
  --title-accent: #8b6b3e;
  --divider-color: #f3f4f6;
  --shadow-color: rgba(185, 28, 28, 0.08);
  --arrow-bg: #ffffff;
  --arrow-border: #e5e7eb;
  --arrow-text: #333333;
}
[data-theme="dark"] {
  --bg-primary: #7f1d1d;
  --bg-card: #450a0a;
  --bg-card-border: #7f1d1d;
  --text-primary: #fef2f2;
  --text-secondary: #fecaca;
  --text-muted: #fca5a5;
  --accent-red: #ef4444;
  --accent-red-hover: #f87171;
  --title-accent: #fde047;
  --divider-color: #991b1b;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --arrow-bg: #991b1b;
  --arrow-border: #b91c1c;
  --arrow-text: #ffffff;
}
/* Base & Reset */
.dining-detail-wrapper {
  font-family: "Poppins", sans-serif;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  padding-bottom: 60px;
  position: relative;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* Dark Mode Toggle Button - Standard Desktop Position */
.dark-mode-toggle {
  position: fixed;
  top: 30px;
  left: 20px;
  z-index: 99999;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--bg-card-border);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.dark-mode-toggle:hover {
  border-color: var(--accent-red);
  transform: translateY(-1px);
}
.dark-mode-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
/* Hero Slider Banner Styling */
.dining-hero-banner {
  --hero-banner-height: 550px;
  width: 100%;
  max-height: var(--hero-banner-height);
  overflow: hidden;
  position: relative;
  background-color: #ffffff;
}
.dining-hero-banner,
.hero-slider-track {
  height: var(--hero-banner-height);
}
.hero-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: var(--hero-banner-height);
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
}
.hero-slide img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}
.hero-arrow {
  font-size: 24px;
}
.hero-arrow:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}
.hero-arrow.prev {
  left: 20px;
}
.hero-arrow.next {
  right: 20px;
}
/* Main Container Layout */
/* .dining-container { */
/* max-width: 1200px; */
/* max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 40px;
} */
.dining-container {
  margin-top: 40px;
}
.dining-detail-wrapper .es-embed-root {
  max-width: none !important;
}
.awards-wrapper {
  display: flex;
  gap: 16px;
}
.option-card-body .awards-wrapper {
  margin-top: 10px;
  gap: 5px;
}
.node-1580 .option-card-body .awards-wrapper {
  margin-top: auto;
  margin-bottom: 20px;
}
.node-1580
  .option-card-body:not(:has(.awards-wrapper))
  .option-card-link:first-of-type {
  margin-top: auto;
}
.node-1580 .option-card-body .option-card-link:first-of-type {
  margin-bottom: 10px;
}
.node-1580 .option-card-body .option-card-link {
  justify-content: flex-start !important;
}
.award-badge {
  width: 100px;
  height: 100px;
  &.small {
    width: 50px;
    height: 50px;
  }
  &.michelin {
    background: url("../assets/michelin-badge.png") center / contain no-repeat;
  }
  &.tatler {
    background: url("../assets/tatler-badge.png") center / contain no-repeat;
  }
  &.trip-advisor {
    background: url("../assets/trip-advisor-badge.png") center / contain
      no-repeat;
  }
  &.trip-advisor-full {
    background: url("../assets/trip-advisor-badge-full.png") center / contain
      no-repeat;
  }
}

.sidebar-card .awards-wrapper {
  margin: 20px 0;
  justify-content: center;
}

.restaurant-tag {
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}
.restaurant-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
}
.restaurant-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--accent-red);
  margin-top: 12px;
}
.restaurant-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.review-section {
  margin-top: 24px;
}
.section-label-heading {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
}
.section-label-heading::after {
  content: "";
  display: block;
  width: 35px;
  height: 2px;
  background-color: var(--accent-red);
  margin-top: 6px;
}
/* Sidebar Box */
.sidebar-card {
  background: var(--bg-card);
  border: 2px solid var(--accent-red);
  border-radius: var(--card-border-radius);
  padding: 32px 24px;
  box-shadow: 0 10px 25px var(--shadow-color);
  transition: background-color 0.3s ease;
}
#diningWrapper .sidebar-card {
  margin-top: 112px;
}
.sidebar-logo {
  max-width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.sidebar-divider {
  border-top: 1px solid var(--divider-color);
  margin: 20px 0;
}
.info-group {
  display: flex;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 20px;
}
.info-group:last-child {
  margin-bottom: 0;
}
.info-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-red);
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  @media screen and (max-width: 576px) {
    font-size: 14px;
  }
}
.info-detail {
  color: var(--text-secondary);
  @media screen and (max-width: 576px) {
    font-size: 14px;
  }
}
.social-links-wrapper {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.social-link {
  color: var(--accent-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.social-link:hover {
  color: var(--accent-red-hover);
  transform: translateY(-2px);
}
.social-link svg {
  width: 22px;
  height: 22px;
}
/* Button Styling */
.btn-action {
  display: block;
  width: 100%;
  background-color: var(--accent-red);
  color: #ffffff !important;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--button-border-radius);
  text-decoration: none !important;
  margin-top: 12px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.btn-action:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-1px);
}
.btn-action.btn-secondary {
  background-color: transparent;
  color: var(--accent-red) !important;
  border: 1px solid var(--accent-red);
}
.btn-action.btn-secondary:hover {
  background-color: var(--accent-red);
  color: #ffffff !important;
}
/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--small-image-border-radius);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--small-image-border-radius);
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
/* Lightbox Modal Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-content {
  max-width: 85%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  user-select: none;
  width: auto;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #ffffff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.2s ease;
}
.lightbox-arrow:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}
.lightbox-arrow.prev {
  left: 25px;
}
.lightbox-arrow.next {
  right: 25px;
}
/* Carousel Track */
.options-slider-wrapper {
  position: relative;
  padding: 0 45px;
  /* overflow: hidden; */
}
.options-track-container {
  overflow: hidden;
  width: 100%;
}
.options-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease-in-out;
}
.option-card {
  min-width: calc((100% - 40px) / 3);
  box-sizing: border-box;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
  height: 100%; /* Testing */
  box-shadow: var(--standard-box-shadow);
}
.owl-item:not(.active) .option-card {
  /* box-shadow: var(--standard-box-shadow); */
  box-shadow: unset;
}
.option-card img:not(.option-card-badge) {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0;
}
.option-card > a:has(img) {
  border-radius: 0;
  position: relative;
}
.option-card img:not(.option-card-badge) {
  aspect-ratio: 4/5 !important;
  height: auto !important;
}
.option-card.aspect-4-3 img:not(.option-card-badge) {
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
}
.option-card.aspect-1-1 img:not(.option-card-badge) {
  aspect-ratio: 1/1 !important;
}
.option-card.aspect-16-9 img:not(.option-card-badge) {
  aspect-ratio: 16/9 !important;
}
/* .dining-content-item.content-4-item a:first-child > img {
  aspect-ratio: 1/1 !important;
  height: auto !important;
} */
.casino-landing-page .option-card.aspect-1-1 img:not(.option-card-badge) {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
}
.option-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20%;
}
.content-4-item .option-card-body {
  text-align: left;
}
.option-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.option-card-body:has(.awards-wrapper) {
  padding-top: 10px;
}
.option-card-title {
  /* font-size: 1rem; */
  /* font-size: 2rem; */
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--sub-header-font-family);

  .large-card & {
    /* font-size: 2rem; */
    font-size: 1.5rem;
  }
}
.option-card-text {
  /* font-size: 0.825rem; */
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;

  .large-card & {
    font-size: 1rem;
  }
}
.option-card-link-wrapper {
  display: flex;
  flex-direction: column;
}
.option-card-link {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent-red);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--arrow-bg);
  border: 1px solid var(--arrow-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--arrow-text);
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}
.slider-arrow:hover {
  background-color: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
}
.slider-arrow.left {
  left: 0;
}
.slider-arrow.right {
  right: 0;
}
/* Mobile Responsive Updates */

@media (max-width: 768px) {
  /* #dining-search-result {
    padding: 0;
  } */
}
@media (max-width: 991px) {
  .dark-mode-toggle {
    position: fixed;
    top: 115px;
    left: 15px;
    right: auto;
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .dining-hero-banner,
  .hero-slider-track {
    height: 300px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item img {
    height: 120px;
  }
  .option-card {
    min-width: 100%;
  }
  .sidebar-card {
    margin-top: 30px;
  }
}

#optionsTrack .views-element-container,
#optionsTrack .view,
#optionsTrack .view-content {
  display: contents;
}
