/* RH-BUFFET-CSS-VERSION: 2026-10-12-03 */
.rh-buffet-page,
.RHdealpage {
  /* Buffet spec tokens */
  --rh-orange: #f58220;
  --rh-orange-hover: #e56f0a;
  --rh-blue: #1f67c7;
  --rh-blue-hover: #084f98;
  --rh-navy: #1f2f46;
  --rh-heading: #1f2f46;
  --rh-text: #243447;
  --rh-secondary: #475569;
  --rh-muted: #6b7785;
  --rh-text-light: #8a96a3;
  --rh-border: #e6ebf0;
  --rh-soft: #f7f9fc;
  --rh-warm: #fff7ed;
  --rh-price: #f04438;
  --rh-footer: #102337;
  --rh-footer-text: #c8d2dc;
  --rh-white: #ffffff;
  --rh-radius: 12px;
  --rh-radius-sm: 8px;
  --rh-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  --rh-shadow-strong: 0 10px 30px rgba(16, 24, 40, 0.1);
  --rh-container: 1200px;

  /* Legacy aliases — keep existing components working under new palette */
  --rh-primary: var(--rh-orange);
  --rh-primary-hover: var(--rh-orange-hover);
  --rh-text-secondary: var(--rh-secondary);
  --rh-offer: var(--rh-price);
  --rh-promo: var(--rh-orange);
  --rh-info: var(--rh-blue);
  --rh-editorial: var(--rh-blue);
  --rh-surface: var(--rh-white);
  --rh-soft-bg: var(--rh-soft);
  --rh-radius-md: var(--rh-radius-sm);
  --rh-radius-lg: var(--rh-radius);
  --rh-shadow-lg: var(--rh-shadow);

  max-width: var(--rh-container);
  margin: 0 auto;
  padding: 0 20px 80px;
  color: var(--rh-text);
  background: var(--rh-white);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.rh-buffet-page *,
.rh-buffet-page *::before,
.rh-buffet-page *::after,
.RHdealpage *,
.RHdealpage *::before,
.RHdealpage *::after {
  box-sizing: border-box;
}

.rh-buffet-page img,
.RHdealpage img {
  display: block;
  height: auto;
}

.rh-buffet-page a,
.RHdealpage a {
  text-decoration: none;
}

.rh-buffet-page a:hover,
.RHdealpage a:hover {
  text-decoration: underline;
}

.rh-buffet-page a:focus-visible,
.rh-buffet-page button:focus-visible,
.rh-buffet-page input:focus-visible,
.rh-buffet-page select:focus-visible,
.RHdealpage a:focus-visible,
.RHdealpage button:focus-visible,
.RHdealpage input:focus-visible,
.RHdealpage select:focus-visible {
  outline: 3px solid rgba(11, 101, 194, 0.25);
  outline-offset: 2px;
}

/* Spec layout primitives */
.rh-buffet-container {
  width: min(100% - 40px, var(--rh-container));
  margin-inline: auto;
}

.rh-buffet-section {
  margin-top: 48px;
  margin-bottom: 0;
}

.rh-buffet-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.rh-buffet-section h2,
.rh-buffet-section-title {
  margin: 0;
  color: var(--rh-navy);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.rh-buffet-section__intro {
  margin: 6px 0 0;
  color: var(--rh-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.rh-buffet-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.rh-buffet-section-header h2 {
  margin: 0;
  color: var(--rh-navy);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.rh-buffet-section-header a {
  color: var(--rh-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.rh-buffet-section-header a:hover {
  color: var(--rh-blue-hover);
  text-decoration: underline;
}

.rh-buffet-section-note {
  color: var(--rh-secondary);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
}

/* Buttons — orange primary CTA */
.rh-buffet-btn,
.rh-buffet-home-submit {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--rh-radius-sm);
  background: var(--rh-orange);
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.rh-buffet-btn:hover,
.rh-buffet-home-submit:hover {
  background: var(--rh-orange-hover);
  color: #fff;
  text-decoration: none;
}

.rh-buffet-btn-outline {
  background: transparent;
  color: var(--rh-orange);
  border: 1px solid var(--rh-orange);
}

.rh-buffet-btn-outline:hover {
  background: var(--rh-orange);
  color: #fff;
}

.rh-buffet-btn-sm {
  min-height: 44px;
  height: auto;
  padding: 0 16px;
  font-size: 14px;
}

/* Spec card system */
.rh-buffet-grid {
  display: grid;
  gap: 22px;
}

.rh-buffet-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-buffet-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rh-buffet-card,
.rh-buffet-card__wrap {
  overflow: hidden;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rh-buffet-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rh-shadow);
}

.rh-buffet-card__media,
.rh-buffet-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef1f4;
}

.rh-buffet-card__media img,
.rh-buffet-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-buffet-card__badge,
.rh-buffet-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--rh-orange);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.rh-buffet-card__body,
.rh-buffet-card-body {
  padding: 14px 16px 16px;
}

.rh-buffet-card__title,
.rh-buffet-card-body h3 {
  margin: 0;
  color: var(--rh-text);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}

.rh-buffet-card__meta,
.rh-buffet-card-meta,
.rh-buffet-card-subtitle {
  margin-top: 5px;
  color: var(--rh-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.rh-buffet-card__price,
.rh-buffet-price {
  margin-top: 8px;
  color: var(--rh-price);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.rh-buffet-card__price small,
.rh-buffet-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--rh-secondary);
}

/* Hero + search (spec foundation) */
.rh-buffet-hero,
.rh-buffet-home-hero {
  position: relative;
  min-height: 460px;
  background: #f7f4ef center/cover no-repeat;
}

.rh-buffet-hero__inner,
.rh-buffet-home-hero-inner {
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 56px 0 92px;
}

.rh-buffet-hero__copy,
.rh-buffet-home-hero-left {
  width: min(767px, 82%);
  max-width: 767px;
}

.rh-buffet-hero__eyebrow,
.rh-buffet-home-kicker {
  margin: 0 0 10px;
  color: var(--rh-orange);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
}

.rh-buffet-hero h1,
.rh-buffet-home-title {
  margin: 0;
  color: var(--rh-navy);
  font-size: clamp(34px, 3vw, 42px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.rh-buffet-hero__subline,
.rh-buffet-home-subtitle {
  margin: 14px 0 0;
  color: var(--rh-secondary);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
}

.rh-buffet-hero__benefits,
.rh-buffet-home-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.rh-buffet-benefit__title,
.rh-buffet-home-feature-title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--rh-text);
}

.rh-buffet-benefit__text,
.rh-buffet-home-feature-desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--rh-secondary);
  font-weight: 400;
}

.rh-buffet-home-search {
  position: relative;
  z-index: 40;
  margin-top: -54px;
  padding: 18px 20px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--rh-radius);
  background: #fff;
  box-shadow: var(--rh-shadow-strong);
  overflow: visible;
}

.rh-buffet-home-search-grid {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(160px, 1.15fr) minmax(110px, 1fr) auto;
  align-items: center;
  gap: 0;
}

.rh-buffet-home-field {
  min-height: 64px;
  padding: 8px 22px;
  border-right: 1px solid var(--rh-border);
}

.rh-buffet-home-field label {
  display: block;
  color: var(--rh-secondary);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  margin-bottom: 0;
}

.rh-buffet-home-field select,
.rh-buffet-home-field input:not([type="hidden"]) {
  display: block;
  width: 100%;
  margin-top: 3px;
  color: var(--rh-text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  height: auto;
  min-height: 28px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.rh-buffet-home-submit-wrap {
  margin-left: 18px;
  min-width: 146px;
  border-right: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.rh-buffet-home-search-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rh-border);
  color: var(--rh-secondary);
  font-size: 13px;
  line-height: 1.55;
}

/* Category, split panels, editorial */
.rh-buffet-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.rh-buffet-category {
  min-height: 148px;
  padding: 20px 16px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius);
  background: #fff;
  text-align: center;
}

.rh-buffet-category__title {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--rh-text);
}

.rh-buffet-category__text {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--rh-secondary);
}

.rh-buffet-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rh-buffet-panel {
  padding: 24px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius);
  background: var(--rh-soft);
}

/* Footer — Runhotel Buffet navy product footer */
.rh-buffet-footer {
  --rh-footer-bg: #102337;
  --rh-footer-bg-dark: #0d1e30;
  --rh-footer-heading: #ffffff;
  --rh-footer-text: #cbd5e1;
  --rh-footer-muted: #94a3b8;
  --rh-footer-orange: #f97316;
  --rh-footer-orange-hover: #ea580c;
  --rh-footer-blue: #2f80ed;
  --rh-footer-border: rgba(255, 255, 255, 0.14);
  --rh-footer-input-bg: #ffffff;
  --rh-footer-input-text: #333333;
  --rh-footer-placeholder: #9ca3af;

  margin-top: 56px;
  margin-left: -20px;
  margin-right: -20px;
  padding: 0 24px;
  border-top: 0;
  background: var(--rh-footer-bg);
  color: var(--rh-footer-text);
  font-family:
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

.rh-buffet-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 0 24px;
}

.rh-buffet-footer__main {
  display: grid;
  grid-template-columns: minmax(240px, 2.15fr) 0.85fr 0.9fr 0.95fr 1.55fr;
  column-gap: 36px;
}

.rh-buffet-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  container-type: inline-size;
}

.rh-buffet-footer__logo-link {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  text-decoration: none;
}

.rh-buffet-footer__logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.rh-buffet-footer__intro {
  width: 100%;
  min-width: 0;
}

.rh-buffet-footer__desc {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--rh-footer-text);
}

.rh-buffet-footer__desc + .rh-buffet-footer__desc {
  margin-top: 10px;
}

@container (max-width: 240px) {
  .rh-buffet-footer__desc br {
    display: none;
  }
}

.rh-buffet-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.rh-buffet-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rh-buffet-footer__social-link img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.rh-buffet-footer__social-link:hover,
.rh-buffet-footer__social-link:focus-visible {
  transform: translateY(-2px);
  opacity: 0.9;
  color: #ffffff;
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.rh-buffet-footer__social-link--facebook,
.rh-buffet-footer__social-link--instagram,
.rh-buffet-footer__social-link--threads {
  background: transparent;
}

.rh-buffet-footer__title {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--rh-footer-heading);
}

.rh-buffet-footer__nav {
  display: flex;
  flex-direction: column;
}

.rh-buffet-footer__link {
  display: block;
  color: var(--rh-footer-heading);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.85;
  font-weight: 400;
}

.rh-buffet-footer__link + .rh-buffet-footer__link {
  margin-top: 3px;
}

.rh-buffet-footer__link:hover,
.rh-buffet-footer__link:focus-visible {
  color: var(--rh-footer-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

.rh-buffet-footer__newsletter {
  border-left: 1px solid var(--rh-footer-border);
  padding-left: 36px;
}

.rh-buffet-footer__newsletter-desc {
  margin: 10px 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--rh-footer-text);
}

.rh-buffet-footer__share-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rh-buffet-footer__wa,
.rh-buffet-footer__bookmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.rh-buffet-footer__wa {
  background: #25d366;
  color: #073318;
  border: 0;
}

.rh-buffet-footer__wa:hover,
.rh-buffet-footer__wa:focus-visible {
  background: #1da851;
  color: #073318;
  outline: none;
}

.rh-buffet-footer__bookmark {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.rh-buffet-footer__bookmark:hover,
.rh-buffet-footer__bookmark:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}

.rh-buffet-footer__save-help {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.6;
}

.rh-buffet-footer__save-help[hidden] {
  display: none;
}

.rh-buffet-footer__save-title {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
}

.rh-buffet-footer__save-steps {
  margin: 8px 0 0;
  padding-left: 18px;
}

.rh-buffet-footer__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rh-buffet-footer__bottom {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 2.25fr;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--rh-footer-border);
}

.rh-buffet-footer__copyright,
.rh-buffet-footer__legal-links,
.rh-buffet-footer__disclaimer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--rh-footer-muted);
}

.rh-buffet-footer__legal-links {
  text-align: center;
}

.rh-buffet-footer__legal-link {
  color: var(--rh-footer-heading);
  text-decoration: none;
}

.rh-buffet-footer__legal-link:hover,
.rh-buffet-footer__legal-link:focus-visible {
  color: var(--rh-footer-blue);
  outline: none;
}

.rh-buffet-footer__legal-sep {
  color: var(--rh-footer-muted);
}

.rh-buffet-footer__disclaimer p + p {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .rh-buffet-footer__main {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 28px;
  }

  .rh-buffet-footer__newsletter {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--rh-footer-border);
    padding-top: 24px;
  }
}

@media (max-width: 600px) {
  .rh-buffet-footer {
    padding: 34px 20px 22px;
  }

  .rh-buffet-footer__inner {
    padding: 0;
  }

  .rh-buffet-footer__main {
    display: block;
  }

  .rh-buffet-footer__brand {
    max-width: 280px;
  }

  .rh-buffet-footer__desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .rh-buffet-footer__col {
    margin-top: 28px;
  }

  .rh-buffet-footer__title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .rh-buffet-footer__link {
    padding: 4px 0;
    line-height: 1.65;
  }

  .rh-buffet-footer__newsletter {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--rh-footer-border);
  }

  .rh-buffet-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .rh-buffet-footer__legal-links {
    text-align: left;
  }

  .rh-buffet-footer__copyright,
  .rh-buffet-footer__legal-links,
  .rh-buffet-footer__disclaimer p {
    font-size: 11.5px;
    line-height: 1.65;
  }
}

/* Header — white sticky bar, shared by every page */
.rh-buffet-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: auto;
  display: flex;
  align-items: center;
  height: 88px;
  min-height: 88px;
  margin: 0 -20px;
  padding: 0 24px;
  background: #ffffff;
  border-bottom: 1px solid #e9edf3;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  border-radius: 0;
  backdrop-filter: none;
}

.rh-buffet-header__inner {
  position: relative;
  max-width: 1320px;
  width: 100%;
  height: 88px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
}

.rh-buffet-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-sm);
  background: #fff;
  line-height: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  align-items: center;
  justify-content: center;
}

.rh-buffet-nav-toggle__bars {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--rh-navy, #1f2f46);
  box-shadow: 0 -6px 0 var(--rh-navy, #1f2f46), 0 6px 0 var(--rh-navy, #1f2f46);
}

.rh-buffet-header__logo-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

.rh-buffet-header__logo-link:active {
  opacity: 0.6;
}

.rh-buffet-header__logo,
.RHdealpage .rh-buffet-header__logo,
.rh-buffet-page .rh-buffet-header__logo {
  width: auto;
  height: 52px;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
}

.rh-buffet-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 36px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.rh-buffet-nav a {
  text-decoration: none !important;
  color: var(--rh-heading);
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.rh-buffet-nav a:hover,
.rh-buffet-nav a.is-active {
  color: #f58220;
  text-decoration: none;
}

.rh-buffet-nav a.rh-buffet-nav__button {
  padding: 8px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  color: #667085;
  font-size: 14px;
  white-space: nowrap;
}

.rh-buffet-nav a.rh-buffet-nav__button:hover {
  color: #f58220;
  border-color: #f58220;
}

@media (max-width: 991px) {
  .rh-buffet-header {
    height: 76px;
    min-height: 76px;
    padding: 0 20px;
  }

  .rh-buffet-header__inner {
    height: 76px;
  }

  .rh-buffet-header__logo,
  .RHdealpage .rh-buffet-header__logo,
  .rh-buffet-page .rh-buffet-header__logo {
    height: 46px;
  }

  .rh-buffet-nav {
    gap: 24px;
  }

  .rh-buffet-nav a {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .rh-buffet-header {
    height: 68px;
    min-height: 68px;
    padding: 0 16px;
  }

  .rh-buffet-header__inner {
    height: 68px;
  }

  .rh-buffet-header__logo,
  .RHdealpage .rh-buffet-header__logo,
  .rh-buffet-page .rh-buffet-header__logo {
    height: 38px;
  }
}

/* Legacy hero block (search page) */
.rh-buffet-hero-block {
  background: var(--rh-soft);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius);
  padding: 36px 28px;
  margin-bottom: 48px;
  box-shadow: var(--rh-shadow);
}

.rh-buffet-hero-panel h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.rh-buffet-hero-panel p {
  margin: 0 0 24px;
  color: var(--rh-text-secondary);
}

.rh-buffet-search {
  display: grid;
  grid-template-columns: 1fr 180px auto;
  gap: 12px;
  align-items: end;
  position: static;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rh-buffet-hot-search {
  margin-top: 20px;
}

.rh-buffet-hot-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--rh-text-secondary);
}

.rh-buffet-hot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rh-buffet-hot-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--rh-border);
  border-radius: 999px;
  background: #fff;
  color: var(--rh-text);
  font-size: 14px;
  text-decoration: none !important;
}

.rh-buffet-hot-chip:hover {
  border-color: var(--rh-primary);
  background: #f0fafb;
  color: var(--rh-primary);
}

.rh-buffet-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--rh-text-secondary);
}

.rh-buffet-field input:not([type="hidden"]),
.rh-buffet-field select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d0d4d9;
  border-radius: var(--rh-radius-sm);
  font-size: 16px;
  font-family: inherit;
  background: #fff;
}

.rh-buffet-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Restaurant cards used on brand / area / related-style grids (not only homepage) */
.rh-buffet-card-grid .rh-restaurant-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rh-border, #e5e7eb);
  border-radius: 9px;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rh-buffet-card-grid .rh-restaurant-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.07);
  text-decoration: none !important;
  color: inherit;
}

.rh-buffet-card-grid .rh-restaurant-card__media {
  position: relative;
  overflow: hidden;
  background: #eef1f4;
}

.rh-buffet-card-grid .rh-restaurant-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rh-buffet-card-grid .rh-restaurant-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 16px;
}

.rh-buffet-card-grid .rh-restaurant-card__hotel {
  font-size: 13px;
  color: var(--rh-muted, #6b7280);
  line-height: 1.35;
}

.rh-buffet-card-grid .rh-restaurant-card__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.rh-buffet-card-grid .rh-restaurant-card__district {
  font-size: 13px;
  color: var(--rh-muted, #6b7280);
}

.rh-buffet-card-grid .rh-restaurant-card__price {
  margin-top: 4px;
}

.rh-buffet-card-grid .rh-restaurant-card__price-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--rh-orange, #f97316);
}

.rh-buffet-card-grid .rh-restaurant-card__price-suffix {
  font-size: 13px;
  margin-left: 2px;
  color: var(--rh-muted, #6b7280);
}

.rh-buffet-card-grid .rh-restaurant-card__price-empty {
  font-size: 13px;
  color: var(--rh-muted, #6b7280);
}

.rh-buffet-card {
  box-shadow: none;
}

.rh-buffet-card a {
  color: inherit;
  text-decoration: none !important;
}

.rh-buffet-card a:hover {
  color: inherit;
  text-decoration: none;
}
.rh-buffet-area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rh-buffet-area-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-md);
  color: var(--rh-text);
  font-size: 15px;
  text-decoration: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rh-buffet-area-btn:hover {
  border-color: var(--rh-blue);
  box-shadow: var(--rh-shadow);
  color: var(--rh-text);
}

.rh-buffet-area-btn::after {
  content: "›";
  color: var(--rh-muted);
}

/* Brand scroll */
.rh-buffet-brand-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.rh-buffet-brand-chip {
  flex: 0 0 auto;
  padding: 10px 18px;
  background: var(--rh-soft-bg);
  border: 1px solid var(--rh-border);
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none !important;
  color: var(--rh-text);
}

.rh-buffet-brand-chip:hover {
  border-color: var(--rh-orange);
  background: var(--rh-warm);
}

/* Brand logo carousel (homepage) */
.rh-buffet-brand-logo-section .rh-buffet-section-header {
  align-items: center;
}

.rh-buffet-brand-logo-arrows {
  display: flex;
  gap: 8px;
}

.rh-buffet-brand-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rh-border);
  background: #fff;
  color: #374151;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.rh-buffet-brand-arrow:hover:not(:disabled) {
  border-color: var(--rh-orange);
  color: var(--rh-orange);
}

.rh-buffet-brand-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.rh-buffet-brand-logo-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 2px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rh-buffet-brand-logo-track::-webkit-scrollbar {
  display: none;
}

.rh-buffet-brand-logo-item {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  border-radius: 14px;
  border: 1px solid var(--rh-border);
  background: #fff;
  display: inline-flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rh-buffet-brand-logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.rh-buffet-brand-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rh-buffet-brand-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  text-align: center;
  padding: 8px;
  line-height: 1.2;
}

/* Promo cards */
.rh-buffet-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.rh-buffet-promo-card {
  position: relative;
  padding: 24px;
  border-radius: var(--rh-radius-lg);
  color: #fff;
  text-decoration: none !important;
  overflow: hidden;
}

.rh-buffet-promo-card.buy1 {
  background: linear-gradient(135deg, #f02952, #e85d04);
}

.rh-buffet-promo-card.buy2 {
  background: linear-gradient(135deg, #0b65c2, #084f98);
}

.rh-buffet-promo-card.buy22 {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.rh-buffet-promo-card.half {
  background: linear-gradient(135deg, #059669, #047857);
}

.rh-buffet-promo-card.alipay {
  background: linear-gradient(135deg, #1677ff, #0958d9);
}

.rh-buffet-promo-card.payme {
  background: linear-gradient(135deg, #00c2a8, #0d9488);
}

.rh-buffet-promo-card.birthday {
  background: linear-gradient(135deg, #db2777, #9d174d);
}

.rh-buffet-promo-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #fff;
}

.rh-buffet-promo-card p {
  margin: 0;
  opacity: 0.9;
  color: #fff;
}

.rh-buffet-promo-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 13px;
}

/* Restaurant cards grid */
.rh-buffet-card-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rh-buffet-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rh-shadow);
}

.rh-buffet-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eef1f4;
  overflow: hidden;
}

.rh-buffet-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-buffet-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 8px;
  background: var(--rh-orange);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  border-radius: 6px;
  z-index: 2;
}

.rh-buffet-avail-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  background: #2e7d32;
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  z-index: 2;
}

.rh-buffet-card-body {
  padding: 14px 16px 16px;
}

.rh-buffet-card-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.rh-buffet-card-subtitle {
  font-size: 14px;
  color: var(--rh-text-secondary);
  margin-bottom: 4px;
}

.rh-buffet-card-grid-compact .rh-buffet-card-body h3 {
  font-size: 16px;
}

.rh-buffet-results-meta {
  margin: 0 0 20px;
  color: var(--rh-text-secondary);
  font-size: 14px;
}

.rh-buffet-card-meta {
  font-size: 13px;
  color: var(--rh-muted);
  margin-bottom: 8px;
}

.rh-buffet-price {
  color: var(--rh-offer);
  font-size: 18px;
  font-weight: 600;
}

.rh-buffet-price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--rh-muted);
}

.rh-buffet-card-discount {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rh-offer, #f02952);
}

/* Option B — 現正有優惠之自助餐 cards */
.rh-buffet-card--buy1 .rh-buffet-tag {
  padding: 7px 11px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(232, 93, 4, 0.35);
}

.rh-buffet-card--buy1 .rh-buffet-card-subtitle {
  margin-top: 5px;
  font-size: 13px;
  color: var(--rh-muted, #888);
}

.rh-buffet-card--buy1 .rh-buffet-price {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 700;
}

.rh-buffet-card--buy1 .rh-buffet-price small {
  font-size: 12px;
}

@media (max-width: 767px) {
  .rh-buffet-card--buy1 .rh-buffet-tag {
    padding: 6px 10px;
    font-size: 14px;
  }

  .rh-buffet-card--buy1 .rh-buffet-price {
    font-size: 18px;
  }
}

.rh-buffet-meal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.rh-buffet-meal-tag {
  padding: 2px 8px;
  background: var(--rh-soft-bg);
  border: 1px solid var(--rh-border);
  border-radius: 4px;
  font-size: 12px;
  color: var(--rh-text-secondary);
}

.rh-buffet-promo-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #fff0f3;
  color: var(--rh-offer);
  border-radius: 4px;
  font-size: 12px;
  margin-right: 4px;
}

/* Filters bar */
.rh-buffet-filters {
  position: sticky;
  top: 76px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  padding: 16px;
  margin-bottom: 24px;
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-md);
  box-shadow: var(--rh-shadow);
}

/* Breadcrumb */
.rh-buffet-breadcrumb {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--rh-muted);
  margin-bottom: 20px;
}

.rh-buffet-breadcrumb a {
  color: var(--rh-secondary);
}

/* Restaurant detail hero */
.rh-buffet-detail-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.rh-buffet-gallery-main {
  border-radius: var(--rh-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eef1f4;
}

.rh-buffet-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-buffet-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.rh-buffet-gallery-thumb {
  flex: 0 0 72px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--rh-radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #eef1f4;
}

.rh-buffet-gallery-thumb.active {
  border-color: var(--rh-primary);
}

.rh-buffet-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-buffet-detail-desc {
  font-size: 14px;
  color: var(--rh-text-secondary);
  margin: 0;
}

.rh-buffet-booking-filters {
  margin-bottom: 24px;
}

.rh-buffet-platform-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.rh-buffet-platform-cell img {
  height: 18px;
}

.rh-buffet-detail-img {
  border-radius: var(--rh-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eef1f4;
}

.rh-buffet-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-buffet-detail-info h1 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 600;
}

.rh-buffet-detail-info h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 400;
  color: var(--rh-text-secondary);
}

.rh-buffet-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 15px;
}

.rh-buffet-info-list li {
  margin-bottom: 6px;
  color: var(--rh-text-secondary);
}

.rh-buffet-brand-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--rh-soft-bg);
  border-radius: 999px;
  font-size: 13px;
  color: var(--rh-text-secondary);
}

/* Layout switcher */
.rh-buffet-layout-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px;
  background: var(--rh-soft-bg);
  border-radius: var(--rh-radius-md);
  position: sticky;
  top: 0;
  z-index: 9;
}

.rh-buffet-layout-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: var(--rh-radius-sm);
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  color: var(--rh-text-secondary);
}

.rh-buffet-layout-tab.active {
  background: var(--rh-surface);
  color: var(--rh-text);
  font-weight: 500;
  box-shadow: var(--rh-shadow);
}

.rh-buffet-layout-panel {
  display: none;
}

.rh-buffet-layout-panel.active {
  display: block;
}

/* Platform tabs (Layout A) */
.rh-buffet-platform-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rh-border);
  padding-bottom: 8px;
}

.rh-buffet-platform-tab {
  padding: 8px 16px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  color: var(--rh-text-secondary);
  border-bottom: 2px solid transparent;
}

.rh-buffet-platform-tab.active {
  color: var(--rh-primary);
  border-bottom-color: var(--rh-primary);
  font-weight: 500;
}

.rh-buffet-meal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.rh-buffet-meal-pill {
  padding: 6px 14px;
  border: 1px solid var(--rh-border);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.rh-buffet-meal-pill.active {
  background: var(--rh-primary);
  border-color: var(--rh-primary);
  color: #fff;
}

/* Package card */
.rh-buffet-package {
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  background: var(--rh-surface);
}

.rh-buffet-package h4 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 500;
}

.rh-buffet-unit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--rh-border);
  font-size: 14px;
}

.rh-buffet-unit-row:last-child {
  border-bottom: none;
}

.rh-buffet-platform-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  background: var(--rh-soft-bg);
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 8px;
}

.rh-buffet-platform-label img {
  width: 16px;
  height: 16px;
}

/* Calendar */
.rh-buffet-calendar {
  margin-top: 16px;
}

.rh-buffet-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.rh-buffet-calendar-title {
  margin: 0;
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--rh-text);
}

.rh-buffet-cal-nav-btn {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-sm);
  background: #fff;
  color: var(--rh-text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.rh-buffet-cal-nav-btn:hover:not(:disabled) {
  border-color: var(--rh-primary);
  color: var(--rh-primary);
}

.rh-buffet-cal-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rh-buffet-calendar h5 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--rh-text-secondary);
}

.rh-buffet-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.rh-buffet-cal-header {
  text-align: center;
  font-size: 12px;
  color: var(--rh-muted);
  padding: 4px;
}

.rh-buffet-cal-day {
  text-align: center;
  padding: 8px 4px;
  border-radius: var(--rh-radius-sm);
  font-size: 12px;
  min-height: 52px;
  border: 1px solid transparent;
}

.rh-buffet-cal-day.available {
  background: #fff;
  border-color: var(--rh-border);
  cursor: pointer;
}

.rh-buffet-cal-day.available:hover {
  border-color: var(--rh-primary);
}

.rh-buffet-cal-day.available.selected {
  border-color: var(--rh-primary);
  background: #f0fafb;
}

.rh-buffet-cal-day.unavailable {
  background: #f0f0f0;
  color: #888888;
}

.rh-buffet-cal-day.no-data {
  background: #f5f5f5;
  color: #777777;
}

.rh-buffet-cal-day--empty {
  background: transparent;
  border-color: transparent;
  min-height: 52px;
}

.rh-buffet-cal-day.quota-high {
  background: #c8e6c9;
  border-color: #81c784;
  color: #1b5e20;
}

.rh-buffet-cal-day.quota-mid {
  background: #e8f5e9;
  border-color: #a5d6a7;
  color: #2e7d32;
}

.rh-buffet-cal-day.quota-low {
  background: #fff8e1;
  border-color: #ffe082;
  color: #f57f17;
}

.rh-buffet-cal-day.quota-sold_out {
  background: #ffebee;
  border-color: #ef9a9a;
  color: #c62828;
}

.rh-buffet-cal-day.quota-high .cal-price,
.rh-buffet-cal-day.quota-mid .cal-price,
.rh-buffet-cal-day.quota-low .cal-price,
.rh-buffet-cal-day.quota-sold_out .cal-price {
  color: inherit;
}

.rh-buffet-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--rh-text-secondary);
}

.rh-buffet-cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rh-buffet-cal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.rh-buffet-cal-dot.high { background: #66bb6a; }
.rh-buffet-cal-dot.mid { background: #a5d6a7; }
.rh-buffet-cal-dot.low { background: #ffca28; }
.rh-buffet-cal-dot.sold_out { background: #ef5350; }

.rh-buffet-cal-day .cal-date {
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
}

.rh-buffet-cal-day .cal-price {
  display: block;
  color: var(--rh-offer);
  font-weight: 600;
  font-size: 11px;
}

.rh-buffet-calendar-packages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: min(72vh, 900px);
  overflow-y: auto;
  padding-right: 4px;
  scroll-behavior: smooth;
}

.rh-buffet-calendar-packages .rh-buffet-package {
  flex-shrink: 0;
  margin-bottom: 0;
}

.rh-buffet-cal-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--rh-muted);
}

/* Hotel availability calendar */
.rh-buffet-av-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--rh-text);
}

.rh-buffet-av-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rh-buffet-av-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}

.rh-buffet-av-dot.green { background: #2e7d32; }
.rh-buffet-av-dot.yellow { background: #f9a825; }
.rh-buffet-av-dot.red { background: #d32f2f; }
.rh-buffet-av-dot.grey { background: #e0e0e0; }

.rh-buffet-av-calendar {
  margin-bottom: 24px;
}

.rh-buffet-av-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.rh-buffet-av-day {
  text-align: center;
  padding: 12px 6px;
  border-radius: var(--rh-radius-md);
  font-size: 13px;
  min-height: 64px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s;
}

.rh-buffet-av-day:hover {
  transform: scale(1.03);
}

.rh-buffet-av-day.green {
  background: #e8f5e9;
  border-color: #2e7d32;
  color: #0d3d12;
}

.rh-buffet-av-day.yellow {
  background: #fff8e1;
  border-color: #f9a825;
  color: #8a4f00;
}

.rh-buffet-av-day.red {
  background: #ffebee;
  border-color: #d32f2f;
  color: #7f0000;
}

.rh-buffet-av-day.grey {
  background: #f5f5f5;
  border-color: #e0e0e0;
  color: #555555;
  cursor: default;
}

.rh-buffet-av-day.selected {
  box-shadow: 0 0 0 3px var(--rh-primary);
}

.rh-buffet-av-day .av-date {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: inherit;
}

.rh-buffet-av-day .av-label {
  display: block;
  font-size: 11px;
  color: inherit;
  opacity: 0.85;
}

.rh-buffet-av-detail {
  padding: 20px;
  background: var(--rh-soft-bg);
  border-radius: var(--rh-radius-lg);
  border-left: 4px solid var(--rh-primary);
  color: var(--rh-text);
}

.rh-buffet-av-detail h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--rh-text);
}

.rh-buffet-av-pkg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rh-border);
  font-size: 14px;
  color: var(--rh-text);
}

.rh-buffet-av-pkg small {
  color: var(--rh-text-secondary);
}

.rh-buffet-av-pkg:last-child {
  border-bottom: none;
}

.rh-buffet-av-pkg-level {
  flex: 0 0 auto;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.rh-buffet-av-pkg-level.green { background: #2e7d32; }
.rh-buffet-av-pkg-level.yellow { background: #f9a825; }
.rh-buffet-av-pkg-level.red { background: #d32f2f; }

.rh-buffet-hotel-select {
  max-width: 400px;
  margin-bottom: 24px;
}

/* Price sort verification table */
.rh-buffet-sort-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.rh-buffet-sort-stat {
  padding: 14px 16px;
  background: var(--rh-soft-bg);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-md);
  font-size: 14px;
}

.rh-buffet-sort-stat strong {
  display: block;
  font-size: 22px;
  color: var(--rh-offer);
  margin-top: 4px;
}

.rh-buffet-sort-table .sort-rank {
  font-weight: 600;
  color: var(--rh-muted);
  width: 40px;
}

.rh-buffet-sort-table .sort-price {
  color: var(--rh-offer);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.rh-buffet-sort-table .sort-source {
  font-size: 12px;
  color: var(--rh-text-secondary);
}

.rh-buffet-sort-table .source-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.rh-buffet-sort-table .source-tag.calendar {
  background: #e3f2fd;
  color: #1565c0;
}

.rh-buffet-sort-table .source-tag.base {
  background: #f3e5f5;
  color: #6a1b9a;
}

.rh-buffet-sort-table tr.is-cheapest td {
  background: #fff8f0;
}

.rh-buffet-sort-table .unit-prices {
  font-size: 13px;
  white-space: nowrap;
}

.rh-buffet-sort-table .unit-prices span {
  margin-right: 10px;
}

.rh-buffet-sort-table .toggle-detail {
  background: none;
  border: none;
  color: var(--rh-primary);
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
}

.rh-buffet-sort-detail {
  display: none;
  padding: 12px 16px;
  background: #fafafa;
  font-size: 13px;
}

.rh-buffet-sort-detail.open {
  display: table-row;
}

.rh-buffet-sort-detail td {
  padding: 12px 16px !important;
}

.rh-buffet-sort-detail table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}

.rh-buffet-sort-detail table th,
.rh-buffet-sort-detail table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--rh-border);
  text-align: left;
}

.rh-buffet-sort-detail table th {
  background: #e8e8e8;
  font-weight: 500;
}

.rh-buffet-sort-detail .is-best {
  background: #fff8f0;
  font-weight: 600;
}

@media (max-width: 900px) {
  .rh-buffet-sort-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Comparison table (Layout B) */
.rh-buffet-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
}

.rh-buffet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.rh-buffet-table th {
  background: var(--rh-editorial);
  color: #fff;
  padding: 12px;
  text-align: left;
  white-space: nowrap;
}

.rh-buffet-table td {
  padding: 12px;
  border-bottom: 1px solid var(--rh-border);
  vertical-align: top;
}

.rh-buffet-table tr:nth-child(even) td {
  background: #fcfcfc;
}

.rh-buffet-table .price-cell {
  color: var(--rh-price);
  font-weight: 700;
  white-space: nowrap;
}

.rh-buffet-table .price-low {
  background: #fff8f0;
}

/* Price compare list (restaurant page) */
.rh-buffet-price-compare-list {
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-lg);
  overflow: hidden;
  background: #fff;
}

.rh-buffet-price-compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 120px minmax(140px, 0.8fr) 120px;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--rh-border);
}

.rh-buffet-price-compare-row:last-child {
  border-bottom: none;
}

.rh-buffet-price-compare-row.is-sold-out {
  background: #fafafa;
  opacity: 0.85;
}

.rh-buffet-price-compare-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--rh-text);
  line-height: 1.45;
}

.rh-buffet-price-compare-vendor {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rh-buffet-price-compare-logo {
  max-height: 28px;
  width: auto;
  display: block;
}

.rh-buffet-price-compare-platform {
  font-size: 14px;
  font-weight: 600;
  color: var(--rh-primary);
}

.rh-buffet-price-compare-price {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.rh-buffet-price-compare-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--rh-muted);
}

.rh-buffet-price-compare-soldout {
  color: #c62828;
  font-weight: 700;
}

.rh-buffet-price-compare-action {
  display: flex;
  justify-content: flex-end;
}

.rh-buffet-price-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.rh-buffet-price-compare-btn:hover {
  background: #1d4ed8;
}

.rh-buffet-price-compare-unavailable {
  color: var(--rh-muted);
}

@media (max-width: 768px) {
  .rh-buffet-price-compare-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rh-buffet-price-compare-vendor,
  .rh-buffet-price-compare-amount,
  .rh-buffet-price-compare-action {
    justify-content: flex-start;
  }
}

/* Meal group (Layout C) */
.rh-buffet-meal-group {
  margin-bottom: 32px;
}

.rh-buffet-meal-group h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--rh-primary);
}

.rh-buffet-platform-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Hours & food */
.rh-buffet-side-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.rh-buffet-info-box {
  padding: 20px;
  background: var(--rh-soft-bg);
  border-radius: var(--rh-radius-md);
  border-left: 4px solid var(--rh-editorial);
}

.rh-buffet-info-box h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.rh-buffet-info-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--rh-text-secondary);
}

/* Rankings */
#ranking {
  scroll-margin-top: 88px;
}

.rh-buffet-rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rh-buffet-rank-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-md);
  text-decoration: none !important;
  color: var(--rh-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rh-buffet-rank-row:hover {
  border-color: var(--rh-primary);
  box-shadow: var(--rh-shadow);
}

.rh-buffet-rank-num {
  font-size: 22px;
  font-weight: 600;
  color: var(--rh-primary);
}

.rh-buffet-rank-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rh-buffet-rank-info strong {
  font-size: 16px;
  font-weight: 500;
}

.rh-buffet-rank-info span {
  font-size: 13px;
  color: var(--rh-muted);
}

.rh-buffet-rank-price {
  color: var(--rh-offer);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.rh-buffet-rank-price small {
  font-size: 12px;
  font-weight: 500;
  margin-left: 2px;
}

.rh-buffet-rank-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 43px;
  padding: 0 18px;
  border-radius: 9px;
  background: var(--rh-orange);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.rh-buffet-rank-row:hover .rh-buffet-rank-cta {
  background: var(--rh-orange-hover);
}

/* Theme cards */
.rh-buffet-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rh-buffet-theme-card {
  display: block;
  background: var(--rh-surface);
  border-radius: var(--rh-radius-lg);
  overflow: hidden;
  box-shadow: var(--rh-shadow-lg);
  text-decoration: none !important;
  color: var(--rh-text);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rh-buffet-theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.rh-buffet-theme-img {
  aspect-ratio: 16 / 9;
  background: #eef1f4;
}

.rh-buffet-theme-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-buffet-theme-body {
  padding: 14px 16px 16px;
}

.rh-buffet-theme-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
}

.rh-buffet-theme-body p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--rh-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rh-buffet-theme-body span {
  font-size: 13px;
  color: var(--rh-primary);
}

/* Disclaimer */
.rh-buffet-disclaimer {
  margin-top: 48px;
  padding: 16px 20px;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: var(--rh-radius-md);
  font-size: 14px;
  color: #856404;
}

/* Empty state */
.rh-buffet-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--rh-muted);
}

.rh-buffet-empty h3 {
  margin: 0 0 8px;
  color: var(--rh-text);
}

/* Page title */
.rh-buffet-page-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
}

.rh-buffet-page-subtitle {
  margin: 0 0 24px;
  color: var(--rh-text-secondary);
}

/* Responsive */
@media (max-width: 900px) {
  .rh-buffet-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rh-buffet-theme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rh-buffet-area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rh-buffet-detail-hero {
    grid-template-columns: 1fr;
  }

  .rh-buffet-platform-cards {
    grid-template-columns: 1fr;
  }

  .rh-buffet-side-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rh-buffet {
    padding: 16px 16px 60px;
  }

  .rh-buffet-header {
    margin: 0 -16px;
    padding: 0 16px;
  }

  .rh-buffet-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
  }

  .rh-buffet-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 12px;
    background: #fff;
    border-bottom: 1px solid #e9edf3;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    z-index: 1010;
    font-size: 15px;
    line-height: 1.4;
  }

  .rh-buffet-nav.is-open {
    display: flex;
  }

  .rh-buffet-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #e9edf3;
    line-height: 1.4;
  }

  .rh-buffet-nav a:last-child {
    border-bottom: 0;
  }

  .rh-buffet-nav a.rh-buffet-nav__button {
    margin-top: 8px;
    padding: 10px 16px;
    text-align: center;
    border: 1px solid #d0d5dd;
  }

  .rh-buffet-search {
    grid-template-columns: 1fr;
  }

  .rh-buffet-filters {
    top: 68px;
  }

  .rh-buffet-card-grid {
    grid-template-columns: 1fr;
  }

  .rh-buffet-promo-grid {
    grid-template-columns: 1fr;
  }

  .rh-buffet-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .rh-buffet-theme-grid {
    grid-template-columns: 1fr;
  }

  .rh-buffet-rank-row {
    grid-template-columns: 32px 1fr;
  }

  .rh-buffet-rank-price,
  .rh-buffet-rank-cta {
    grid-column: 2;
    justify-self: start;
    margin-top: -4px;
  }

  .rh-buffet-hero h1 {
    font-size: 23px;
  }

  .rh-buffet-section h2 {
    font-size: 20px;
  }
}

@media (max-width: 360px) {
  .rh-buffet-area-grid {
    grid-template-columns: 1fr;
  }

  .rh-buffet-cal-day {
    min-height: 44px;
    padding: 4px 2px;
  }
}

/* Homepage hero — banner image + spec layout */
.rh-buffet-home-hero {
  margin: 0 -20px;
  padding: 0;
  border-radius: 0;
  background-image: url("../assets/images/feature_image_buffet_banner.jpg");
  background-size: cover;
  background-position: 72% center;
  background-repeat: no-repeat;
  overflow: visible;
}

.rh-buffet-home-hero-inner {
  max-width: var(--rh-container);
  margin: 0 auto;
  padding: 56px 20px 92px;
  padding-left: 28px;
}

.rh-buffet-home-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 0;
}

.rh-buffet-home-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--rh-warm);
  color: var(--rh-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.rh-buffet-home-feature-icon svg,
.rh-buffet-home-feature-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.rh-buffet-home-hero-left {
  max-width: 767px;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rh-buffet-home-search {
  width: 100%;
  max-width: 767px;
  margin-top: 32px;
  margin-bottom: -54px;
}

.rh-buffet-home-hero + .rh-featured-offers,
.rh-buffet-home-hero + .rh-popular-restaurants,
.rh-buffet-home-hero + .rh-recent-viewed {
  margin-top: calc(54px + 48px);
}

.rh-buffet-home-hero + .rh-buffet-section {
  margin-top: calc(54px + 48px);
}

.rh-buffet-home-hero-left h1,
.rh-buffet-home-hero-left .rh-buffet-home-kicker,
.rh-buffet-home-hero-left .rh-buffet-home-subtitle,
.rh-buffet-home-hero-left .rh-buffet-home-features,
.rh-buffet-home-hero-left .rh-buffet-home-search-note {
  text-align: left;
}

.rh-buffet-home-submit {
  width: 100%;
}

.rh-buffet-price-compare-btn {
  background: var(--rh-blue);
}

.rh-buffet-price-compare-btn:hover {
  background: var(--rh-blue-hover);
}

@media (max-width: 1023px) {
  .rh-buffet-section {
    margin-top: 32px;
  }

  .rh-buffet-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-buffet-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-buffet-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rh-buffet-home-search-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .rh-buffet-home-submit-wrap {
    margin: 12px 0 0;
    width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .rh-buffet-page,
  .RHdealpage {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rh-buffet-container {
    width: calc(100% - 32px);
  }

  .rh-buffet-section {
    margin-top: 28px;
  }

  .rh-buffet-section__head,
  .rh-buffet-section-header {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .rh-buffet-section h2,
  .rh-buffet-section-title {
    font-size: 21px;
    line-height: 1.35;
  }

  .rh-buffet-header {
    height: 68px;
    min-height: 68px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px;
  }

  /* Keep home cards inset with page padding (match header logo gutters).
     Hero / header / footer stay full-bleed via their own negative margins. */
  .rh-buffet-home .rh-buffet-home-section,
  .rh-buffet-home .rh-featured-offers,
  .rh-buffet-home .rh-buffet-category-section,
  .rh-buffet-home > .rh-buffet-section {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .rh-buffet-home .rh-buffet-home-section:not(.rh-featured-offers),
  .rh-buffet-home .rh-popular-restaurants,
  .rh-buffet-home .rh-recent-viewed,
  .rh-buffet-home .rh-buffet-category-section {
    margin-top: 28px;
  }

  .rh-buffet-home .rh-featured-offers {
    margin-top: 28px;
  }

  .rh-buffet-home-hero + .rh-featured-offers,
  .rh-buffet-home-hero + .rh-popular-restaurants,
  .rh-buffet-home-hero + .rh-recent-viewed {
    margin-top: calc(42px + 28px);
  }

  .rh-buffet-home-hero {
    margin-left: -16px;
    margin-right: -16px;
    min-height: auto;
    background-position: 68% center;
  }

  .rh-buffet-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.92) 55%,
      rgba(255, 255, 255, 0.15) 100%
    );
    pointer-events: none;
  }

  .rh-buffet-home-hero-inner {
    position: relative;
    min-height: auto;
    padding: 30px 16px 108px;
  }

  .rh-buffet-home-hero-left {
    width: 100%;
    max-width: 560px;
  }

  .rh-buffet-home-kicker {
    font-size: 20px;
  }

  .rh-buffet-home-title {
    font-size: 26px;
    line-height: 1.25;
  }

  .rh-buffet-home-subtitle {
    font-size: 15px;
    line-height: 1.55;
  }

  .rh-buffet-home-features {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .rh-buffet-home-search {
    margin-top: 20px;
    margin-bottom: -42px;
    padding: 14px 16px;
  }

  .rh-buffet-home-search-grid {
    display: block;
  }

  .rh-buffet-home-field {
    min-height: 58px;
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rh-border);
  }

  .rh-buffet-home-submit-wrap {
    margin: 14px 0 0;
    min-width: 0;
  }

  .rh-buffet-home-submit {
    min-height: 48px;
  }

  .rh-buffet-grid--3,
  .rh-buffet-grid--4,
  .rh-buffet-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rh-buffet-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .rh-buffet-category {
    min-height: 132px;
    padding: 18px 12px;
  }

  .rh-buffet-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rh-buffet-panel {
    padding: 18px;
  }

  .rh-buffet-footer {
    margin-top: 40px;
    margin-left: -16px;
    margin-right: -16px;
  }
}

@media (max-width: 479px) {
  .rh-buffet-category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rh-buffet-card__title,
  .rh-buffet-card-body h3 {
    font-size: 16px;
  }

  .rh-buffet-card__price,
  .rh-buffet-price {
    font-size: 17px;
  }
}

/* Homepage — 精選自助餐 & 熱門餐廳 */
.rh-buffet-home {
  --rh-home-text: #1f2937;
  --rh-home-text-secondary: #555555;
  --rh-home-muted: #666666;
  --rh-home-orange: #f97316;
  --rh-home-blue-link: #0b65c2;
  --rh-home-blue-link-hover: #084f99;
  --rh-home-price: #f02952;
  --rh-home-border: #d0d0d0;
  --rh-home-white: #ffffff;
  --rh-home-radius-card: 10px;

  background: #ffffff;
  color: var(--rh-home-text);
  font-family:
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    Arial,
    sans-serif;
}

.rh-buffet-home .rh-buffet-home-section,
.rh-buffet-home .rh-buffet-category-section,
.rh-buffet-home > .rh-buffet-section {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.rh-buffet-home .rh-buffet-home-section:not(.rh-featured-offers) {
  margin-top: 48px;
}

/* Only use large top gap when 精選 is the first block after the hero search bar.
   When 最近瀏覽 (or anything else) sits above it, keep the normal 48px section gap. */
.rh-buffet-home .rh-featured-offers {
  margin-top: 48px;
}

.rh-buffet-home-hero + .rh-featured-offers {
  margin-top: calc(54px + 48px);
}

.rh-buffet-home .rh-popular-restaurants,
.rh-buffet-home .rh-recent-viewed {
  margin-top: 48px;
}

.rh-buffet-home .rh-buffet-home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 16px;
}

.rh-buffet-home .rh-buffet-home-section-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}

.rh-buffet-home .rh-buffet-home-section-link {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--rh-home-blue-link);
  text-decoration: none;
  white-space: nowrap;
}

.rh-buffet-home .rh-buffet-home-section-link:hover,
.rh-buffet-home .rh-buffet-home-section-link:focus-visible {
  color: var(--rh-home-blue-link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

.rh-buffet-home .rh-featured-offers-wrap,
.rh-buffet-home .rh-popular-restaurants-wrap {
  position: relative;
}

.rh-buffet-home .rh-featured-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rh-buffet-home .rh-featured-offers-grid.is-scroll {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.rh-buffet-home .rh-featured-offers-grid.is-scroll .rh-featured-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
}

.rh-buffet-home .rh-popular-restaurants-grid {
  display: flex;
  overflow-x: auto;
  gap: 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.rh-buffet-home .rh-popular-restaurants-grid .rh-restaurant-card {
  flex: 0 0 calc((100% - 72px) / 5);
  max-width: none;
  scroll-snap-align: start;
}

.rh-buffet-home .rh-featured-offers-arrow,
.rh-buffet-home .rh-popular-restaurants-arrow {
  position: absolute;
  top: 50%;
  right: -8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rh-home-border);
  border-radius: 50%;
  background: var(--rh-home-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #4b5563;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.rh-buffet-home .rh-featured-offers-arrow:disabled,
.rh-buffet-home .rh-popular-restaurants-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.rh-buffet-home .rh-featured-offers-arrow[hidden],
.rh-buffet-home .rh-popular-restaurants-arrow[hidden] {
  display: none !important;
}

.rh-buffet-home .rh-featured-offers-grid,
.rh-buffet-home .rh-popular-restaurants-grid {
  align-items: stretch;
}

.rh-buffet-home .rh-featured-card,
.rh-buffet-home .rh-restaurant-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: auto;
  overflow: hidden;
  background: var(--rh-home-white);
  border: 1px solid var(--rh-home-border);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rh-buffet-home a.rh-featured-card:hover,
.rh-buffet-home a.rh-restaurant-card:hover,
.rh-buffet-home a.rh-buffet-category-card:hover,
.rh-buffet-home a.rh-buffet-rank-row:hover,
.rh-buffet-home a.rh-buffet-theme-card:hover,
.rh-buffet-home a.rh-buffet-promo-card:hover,
.rh-buffet-home a.rh-buffet-area-btn:hover,
.rh-buffet-home a.rh-buffet-brand-logo-item:hover,
.rh-buffet-home .rh-buffet-card a:hover {
  text-decoration: none !important;
}

.rh-buffet-home .rh-featured-card {
  border-radius: var(--rh-home-radius-card);
}

.rh-buffet-home .rh-restaurant-card {
  border-radius: 9px;
}

.rh-buffet-home .rh-featured-card:hover,
.rh-buffet-home .rh-restaurant-card:hover {
  transform: translateY(-2px);
}

.rh-buffet-home .rh-featured-card:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.rh-buffet-home .rh-restaurant-card:hover {
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.07);
}

.rh-buffet-home .rh-featured-card__media,
.rh-buffet-home .rh-restaurant-card__media {
  position: relative;
}

.rh-buffet-home .rh-featured-card__img,
.rh-buffet-home .rh-restaurant-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rh-buffet-home .rh-featured-card__label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--rh-home-orange);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 5px;
}

.rh-buffet-home .rh-featured-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}

.rh-buffet-home .rh-featured-card__title {
  margin: 0 0 5px;
  min-height: 1.45em;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--rh-home-text);
}

.rh-buffet-home .rh-featured-card__desc {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--rh-home-text-secondary);
}

.rh-buffet-home .rh-featured-card__date,
.rh-buffet-home .rh-featured-card__price {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--rh-home-muted);
}

.rh-buffet-home .rh-featured-card__price {
  margin-top: auto;
}

.rh-buffet-home .rh-featured-card__price-amount {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--rh-home-price);
}

.rh-buffet-home .rh-featured-card__price-suffix {
  font-size: 11px;
  font-weight: 400;
  color: var(--rh-home-muted);
  margin-left: 3px;
}

.rh-buffet-home .rh-restaurant-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 11px 13px 14px;
}

.rh-buffet-home .rh-restaurant-card__hotel {
  min-height: 1.45em;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--rh-home-text);
  margin-bottom: 2px;
}

.rh-buffet-home .rh-restaurant-card__name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #374151;
  margin-bottom: 9px;
}

.rh-buffet-home .rh-restaurant-card__district {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--rh-home-muted);
  margin-bottom: 6px;
}

.rh-buffet-home .rh-restaurant-card__price {
  margin-top: auto;
}

.rh-buffet-home .rh-restaurant-card__price-amount {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--rh-home-price);
}

.rh-buffet-home .rh-restaurant-card__price-suffix {
  font-size: 11px;
  font-weight: 400;
  color: var(--rh-home-muted);
  margin-left: 3px;
}

@media (max-width: 900px) {
  .rh-buffet-home .rh-featured-offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .rh-buffet-home .rh-featured-offers-grid.is-scroll .rh-featured-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .rh-buffet-home .rh-popular-restaurants-grid {
    gap: 16px;
  }

  .rh-buffet-home .rh-popular-restaurants-grid .rh-restaurant-card {
    flex-basis: calc((100% - 32px) / 3);
  }
}

@media (max-width: 600px) {
  .rh-buffet-home .rh-buffet-home-section-title {
    font-size: 21px;
    line-height: 1.35;
  }

  .rh-buffet-home .rh-buffet-home-section-link {
    font-size: 13px;
  }

  .rh-buffet-home .rh-featured-offers-grid,
  .rh-buffet-home .rh-popular-restaurants-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .rh-buffet-home .rh-featured-card,
  .rh-buffet-home .rh-featured-offers-grid.is-scroll .rh-featured-card {
    flex: 0 0 82%;
    max-width: 340px;
    scroll-snap-align: start;
  }

  .rh-buffet-home .rh-restaurant-card,
  .rh-buffet-home .rh-popular-restaurants-grid .rh-restaurant-card {
    flex: 0 0 64%;
    max-width: 250px;
    scroll-snap-align: start;
  }

  .rh-buffet-home .rh-featured-offers-arrow,
  .rh-buffet-home .rh-popular-restaurants-arrow {
    display: none;
  }

  .rh-buffet-home .rh-featured-card__title {
    font-size: 16px;
    line-height: 1.45;
  }

  .rh-buffet-home .rh-featured-card__desc {
    font-size: 13px;
    line-height: 1.5;
  }

  .rh-buffet-home .rh-featured-card__date,
  .rh-buffet-home .rh-featured-card__price-amount {
    font-size: 16px;
    line-height: 1.45;
  }

  .rh-buffet-home .rh-restaurant-card__hotel {
    font-size: 14px;
    line-height: 1.45;
  }

  .rh-buffet-home .rh-restaurant-card__name {
    font-size: 13px;
    line-height: 1.45;
  }

  .rh-buffet-home .rh-restaurant-card__price-amount {
    font-size: 17px;
  }
}

/* Homepage — 想食邊種 Buffet 優惠？ category cards */
.rh-buffet-home .rh-buffet-category-section {
  margin-top: 48px;
}

.rh-buffet-home .rh-buffet-category-section__title {
  margin: 0 0 18px;
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.rh-buffet-home .rh-buffet-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.rh-buffet-home .rh-buffet-category-card {
  min-height: 168px;
  padding: 20px 14px 18px;
  border: 1px solid var(--rh-border);
  border-radius: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rh-buffet-home .rh-buffet-category-card:hover,
.rh-buffet-home .rh-buffet-category-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  outline: none;
}

.rh-buffet-home .rh-buffet-category-card__icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.rh-buffet-home .rh-buffet-category-card__title {
  margin: 0 0 5px;
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.rh-buffet-home .rh-buffet-category-card__description {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.rh-buffet-home .rh-buffet-category-card--buy1 {
  background: #fff7f8;
  border-color: #fce7ec;
}

.rh-buffet-home .rh-buffet-category-card--child {
  background: #fffbf3;
  border-color: #fdeac7;
}

.rh-buffet-home .rh-buffet-category-card--senior {
  background: #f7fbf6;
  border-color: #ddeedb;
}

.rh-buffet-home .rh-buffet-category-card--card {
  background: #faf8ff;
  border-color: #e9e1ff;
}

.rh-buffet-home .rh-buffet-category-card--birthday {
  background: #f6faff;
  border-color: #ddebff;
}

.rh-buffet-home .rh-buffet-category-card--flash {
  background: #fff8f5;
  border-color: #fde2d6;
}

@media (max-width: 900px) {
  .rh-buffet-home .rh-buffet-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .rh-buffet-home .rh-buffet-category-card__icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 600px) {
  .rh-buffet-home .rh-buffet-category-section__title {
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 15px;
  }

  .rh-buffet-home .rh-buffet-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .rh-buffet-home .rh-buffet-category-card {
    min-height: 150px;
    padding: 18px 10px 16px;
    border-radius: 12px;
  }

  .rh-buffet-home .rh-buffet-category-card__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
  }

  .rh-buffet-home .rh-buffet-category-card__title {
    font-size: 15px;
  }

  .rh-buffet-home .rh-buffet-category-card__description {
    font-size: 12px;
    line-height: 1.5;
  }
}

/* Admin-only homepage price debug (logged-in manage_options) */
.rh-buffet-home .rh-admin-debug {
  margin: 16px 0 8px;
  padding: 14px 16px;
  border: 2px solid #d97706;
  border-radius: 10px;
  background: #fffbeb;
  color: #78350f;
  font-size: 13px;
  line-height: 1.45;
}

.rh-buffet-home .rh-admin-debug__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rh-buffet-home .rh-admin-debug__head span {
  opacity: 0.75;
  font-size: 12px;
}

.rh-buffet-home .rh-admin-debug__ok {
  margin: 0 0 10px;
  color: #166534;
}

.rh-buffet-home .rh-admin-debug details {
  margin-top: 8px;
}

.rh-buffet-home .rh-admin-debug summary {
  cursor: pointer;
  font-weight: 600;
}

.rh-buffet-home .rh-admin-debug__table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  background: #fff;
}

.rh-buffet-home .rh-admin-debug table {
  width: 100%;
  border-collapse: collapse;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.rh-buffet-home .rh-admin-debug th,
.rh-buffet-home .rh-admin-debug td {
  padding: 5px 7px;
  border-bottom: 1px solid #fde68a;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.rh-buffet-home .rh-admin-debug td.rh-admin-debug__math {
  white-space: normal;
  min-width: 220px;
}

.rh-buffet-home .rh-admin-debug th {
  background: #fef3c7;
  position: sticky;
  top: 0;
}

/* Homepage debug panel — remove when no longer needed */
.rh-home-debug-box {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 99999;
  width: min(420px, calc(100vw - 24px));
  max-height: min(78vh, 720px);
  overflow: auto;
  padding: 14px 16px 16px;
  border: 2px solid #f59e0b;
  border-radius: 10px;
  background: #fffbeb;
  color: #1f2937;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  font-family: Consolas, "Courier New", monospace;
}

.rh-home-debug-box.is-ok {
  border-color: #16a34a;
  background: #f0fdf4;
}

.rh-home-debug-box.is-warn {
  border-color: #dc2626;
  background: #fef2f2;
}

.rh-home-debug-box__close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.rh-home-debug-box__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  font-family: "Noto Sans TC", sans-serif;
}

.rh-home-debug-box__list {
  margin: 0 0 12px;
}

.rh-home-debug-box__list dt {
  margin-top: 8px;
  font-weight: 700;
  color: #374151;
}

.rh-home-debug-box__list dt:first-child {
  margin-top: 0;
}

.rh-home-debug-box__list dd {
  margin: 2px 0 0;
  word-break: break-all;
}

.rh-home-debug-box__list dd.ok {
  color: #15803d;
  font-weight: 700;
}

.rh-home-debug-box__list dd.bad {
  color: #b91c1c;
  font-weight: 700;
}

.rh-home-debug-box__list code {
  font-size: 11px;
}

.rh-home-debug-box__changes {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 10px;
  font-family: "Noto Sans TC", sans-serif;
}

.rh-home-debug-box__changes ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* ============================================================
   Restaurant detail page — scoped under .rh-restaurant-page
   ============================================================ */

.RHdealpage.rh-restaurant-page,
.rh-restaurant-page {
  --rh-text: #243447;
  --rh-heading: #1f2f46;
  --rh-secondary: #475569;
  --rh-muted: #6b7785;
  --rh-text-light: #8a96a3;
  --rh-orange: #f58220;
  --rh-orange-hover: #e56f0a;
  --rh-blue: #1f67c7;
  --rh-blue-hover: #084f99;
  --rh-table-blue: #0b61c9;
  --rh-price: #f02952;
  --rh-green: #2e9b57;
  --rh-light-green: #e8f5e9;
  --rh-yellow: #f5b700;
  --rh-light-yellow: #fff4cc;
  --rh-red: #e06a6a;
  --rh-light-red: #fde2e2;
  --rh-border: #e6ebf0;
  --rh-input-border: #d0d4d9;
  --rh-soft: #f7f9fc;
  --rh-white: #ffffff;
  --rh-radius-sm: 6px;
  --rh-radius-md: 8px;
  --rh-radius-lg: 12px;
  --rh-shadow: 0 2px 10px rgba(16, 24, 40, 0.08);
  --section-gap: 32px;

  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  color: var(--rh-text);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
}

.RHdealpage.rh-restaurant-page .rh-restaurant-page__inner,
.rh-restaurant-page__inner {
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0 64px;
  box-sizing: border-box;
}

/* Breadcrumb */
.rh-restaurant-page .rh-breadcrumb {
  margin-bottom: 20px;
  color: var(--rh-muted);
  font-size: 13px;
  line-height: 1.5;
}

.rh-restaurant-page .rh-breadcrumb a {
  color: var(--rh-muted);
  text-decoration: none;
}

.rh-restaurant-page .rh-breadcrumb a:hover {
  color: var(--rh-blue);
  text-decoration: none;
}

/* Intro header */
.rh-restaurant-page .rh-restaurant-hero-info {
  display: block;
  margin-bottom: 20px;
}

.rh-restaurant-page .rh-restaurant-logo {
  display: none;
}

.rh-restaurant-page .rh-restaurant-summary {
  flex: 1;
  min-width: 0;
}

.rh-restaurant-page .rh-hotel-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rh-heading);
  margin: 0;
}

.rh-restaurant-page .rh-hotel-name-en {
  display: inline-block;
  margin-left: 10px;
  font-size: 18px;
  font-weight: 500;
  color: var(--rh-secondary);
}

.rh-restaurant-page .rh-restaurant-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rh-text);
  margin: 4px 0 0;
}

.rh-restaurant-page .rh-restaurant-name-en {
  display: inline-block;
  margin-left: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--rh-secondary);
}

.rh-restaurant-page .rh-location-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--rh-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.rh-restaurant-page .rh-restaurant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.rh-restaurant-page .rh-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rh-border);
  background: var(--rh-white);
  color: var(--rh-secondary);
  font-size: 12px;
  line-height: 1.2;
}

/* Gallery */
.rh-restaurant-page .rh-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.44fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 4px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 24px;
  min-height: 280px;
}

.rh-restaurant-page .rh-gallery__main {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  background: #eef1f4;
}

.rh-restaurant-page .rh-gallery__main img,
.rh-restaurant-page .rh-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rh-restaurant-page .rh-gallery__count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--rh-radius-sm);
  background: rgba(0, 0, 0, 0.55);
  color: var(--rh-white);
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
}

.rh-restaurant-page .rh-gallery__thumb {
  grid-column: 2;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  background: #eef1f4;
  position: relative;
  min-height: 0;
}

.rh-restaurant-page .rh-gallery__thumb:first-of-type {
  grid-row: 1;
}

.rh-restaurant-page .rh-gallery__thumb:nth-of-type(2) {
  grid-row: 2;
}

.rh-restaurant-page .rh-gallery__thumb.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--rh-orange);
  pointer-events: none;
}

/* Search bar */
.rh-restaurant-page .rh-booking-search {
  width: 100%;
  margin-top: 24px;
  margin-bottom: 8px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
  background: var(--rh-white);
  border: 1px solid var(--rh-border);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
}

.rh-restaurant-page .rh-booking-search__field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--rh-muted);
  margin-bottom: 6px;
}

.rh-restaurant-page .rh-booking-search__field input,
.rh-restaurant-page .rh-booking-search__field select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--rh-input-border);
  border-radius: var(--rh-radius-sm);
  background: var(--rh-white);
  color: var(--rh-text);
  font-size: 14px;
  font-family: inherit;
}

.rh-restaurant-page .rh-booking-search__field input:focus,
.rh-restaurant-page .rh-booking-search__field select:focus {
  border-color: var(--rh-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  outline: none;
}

.rh-restaurant-page .rh-booking-search__btn {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--rh-radius-sm);
  background: var(--rh-orange);
  color: var(--rh-white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.rh-restaurant-page .rh-booking-search__btn:hover {
  background: var(--rh-orange-hover);
}

/* Sections */
.rh-restaurant-page .rh-section {
  margin-top: var(--section-gap);
}

.rh-restaurant-page .rh-section-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--rh-heading);
  margin: 0 0 6px;
}

.rh-restaurant-page .rh-pricing-section + .rh-pricing-section {
  margin-top: 32px;
}

.rh-restaurant-page .rh-pricing-section .rh-section-title {
  margin: 0 0 12px;
}

.rh-restaurant-page .rh-section-subtext {
  font-size: 13px;
  line-height: 1.5;
  color: var(--rh-muted);
  margin: 0 0 14px;
}

.rh-restaurant-page .rh-empty-state {
  padding: 24px 18px;
  text-align: center;
  color: var(--rh-muted);
  font-size: 14px;
  border: 1px solid var(--rh-border);
  border-radius: 10px;
  background: var(--rh-soft);
}

/* Package CTA (no date) */
.rh-restaurant-page .rh-package-cta {
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--rh-border);
  border-radius: 10px;
  background: var(--rh-soft);
}

.rh-restaurant-page .rh-package-cta__btn {
  margin-top: 12px;
  min-height: 46px;
  padding: 0 28px;
  font-size: 15px;
}

/* Package table */
.rh-restaurant-page .rh-package-table-wrap {
  overflow: hidden;
  border: 1px solid var(--rh-border);
  border-radius: 10px;
  background: var(--rh-white);
}

.rh-restaurant-page .rh-package-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.rh-restaurant-page .rh-package-table thead {
  background: var(--rh-table-blue);
  color: var(--rh-white);
}

.rh-restaurant-page .rh-package-table th {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  color: var(--rh-white);
}

.rh-restaurant-page .rh-package-table td {
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--rh-text);
  vertical-align: middle;
  border-bottom: 1px solid #e9eef3;
  background: #ffffff;
}

.rh-restaurant-page .rh-package-table th.rh-package-name-col,
.rh-restaurant-page .rh-package-table td.rh-package-name-col {
  border-right: 1px solid #e3e8ef;
  padding-right: 20px;
}

.rh-restaurant-page .rh-package-table th.rh-price-start-col,
.rh-restaurant-page .rh-package-table td.rh-price-start-col {
  padding-left: 20px;
}

.rh-restaurant-page .rh-package-row--best {
  background: #fff9f3;
}

.rh-restaurant-page .rh-package-row--soldout {
  opacity: 0.75;
}

.rh-restaurant-page .rh-platform-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.rh-restaurant-page .rh-platform-cell img {
  height: 18px;
  width: auto;
}

.rh-restaurant-page .rh-package-price {
  color: var(--rh-price);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.rh-restaurant-page .rh-package-market {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--rh-muted);
  text-decoration: line-through;
}

.rh-restaurant-page .rh-promo-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #fff0f3;
  color: var(--rh-price);
  border-radius: 4px;
  font-size: 12px;
  margin-left: 4px;
}

.rh-restaurant-page .rh-quota--available {
  color: var(--rh-green);
  font-weight: 500;
}

.rh-restaurant-page .rh-quota--low {
  color: #d99000;
  font-weight: 500;
}

.rh-restaurant-page .rh-quota--soldout {
  color: var(--rh-red);
  font-weight: 500;
}

.rh-restaurant-page .rh-book-button {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--rh-radius-sm);
  background: var(--rh-orange);
  color: var(--rh-white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.rh-restaurant-page .rh-book-button:hover {
  background: var(--rh-orange-hover);
  text-decoration: none;
}

.rh-restaurant-page .rh-book-button--block {
  width: 100%;
  margin-top: 10px;
}

.rh-restaurant-page .rh-book-unavailable {
  color: var(--rh-muted);
}

/* Mobile package cards — hidden on desktop */
.rh-restaurant-page .rh-package-cards {
  display: none;
}

.rh-restaurant-page .rh-package-card {
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-md);
  padding: 14px;
  margin-bottom: 10px;
  background: var(--rh-white);
}

.rh-restaurant-page .rh-package-card--best {
  background: #fff9f3;
  border-color: #fcd9b6;
}

.rh-restaurant-page .rh-package-card__platform {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.rh-restaurant-page .rh-package-card__name {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 8px;
}

.rh-restaurant-page .rh-package-card__adult {
  font-size: 14px;
  margin-bottom: 4px;
}

.rh-restaurant-page .rh-package-card__child {
  font-size: 14px;
  margin-bottom: 4px;
}

.rh-restaurant-page .rh-package-card__quota {
  font-size: 13px;
  margin: 8px 0;
}

/* Quota calendar — per vendor */
.rh-restaurant-page .rh-vendor-calendars {
  margin-top: var(--section-gap);
}

.rh-restaurant-page .rh-vendor-calendar + .rh-vendor-calendar {
  margin-top: 20px;
}

.rh-restaurant-page .rh-calendar-single-package {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--rh-secondary);
}

.rh-restaurant-page .rh-vendor-calendar-context {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--rh-muted);
}

.rh-restaurant-page .rh-quota-calendar-section {
  padding: 18px;
  border: 1px solid var(--rh-border);
  border-radius: 10px;
  background: var(--rh-white);
}

.rh-restaurant-page .rh-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--rh-secondary);
}

.rh-restaurant-page .rh-cal-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

.rh-restaurant-page .rh-cal-dot--high {
  background: #c8e8cc;
}

.rh-restaurant-page .rh-cal-dot--mid {
  background: #e4f3e6;
}

.rh-restaurant-page .rh-cal-dot--low {
  background: #fff0ba;
}

.rh-restaurant-page .rh-cal-dot--soldout {
  background: #fad1d1;
}

.rh-restaurant-page .rh-calendar-select-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--rh-muted);
  margin-bottom: 6px;
}

.rh-restaurant-page .rh-calendar-select {
  width: 100%;
  max-width: 100%;
  height: 44px;
  padding: 0 12px;
  margin-bottom: 16px;
  border: 1px solid var(--rh-input-border);
  border-radius: var(--rh-radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--rh-white);
}

.rh-restaurant-page .rh-calendar-select:focus {
  border-color: var(--rh-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Calendar grid (from buffet.js renderCalendar) */
.rh-restaurant-page .rh-buffet-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.rh-restaurant-page .rh-buffet-cal-header {
  font-size: 12px;
  color: var(--rh-muted);
  text-align: center;
  padding: 6px 0;
}

.rh-restaurant-page .rh-buffet-cal-day {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--rh-radius-sm);
  font-size: 13px;
  font-weight: 500;
}

.rh-restaurant-page .rh-buffet-cal-day.unavailable,
.rh-restaurant-page .rh-buffet-cal-day.no-data {
  background: #f5f5f5;
  color: #c3c7cd;
}

.rh-restaurant-page .rh-buffet-cal-day.quota-high {
  background: #c8e8cc;
  color: #216e2d;
  border-color: #c8e8cc;
}

.rh-restaurant-page .rh-buffet-cal-day.quota-mid {
  background: #e4f3e6;
  color: #287634;
  border-color: #e4f3e6;
}

.rh-restaurant-page .rh-buffet-cal-day.quota-low {
  background: #fff0ba;
  color: #a66c00;
  border-color: #fff0ba;
}

.rh-restaurant-page .rh-buffet-cal-day.quota-sold_out {
  background: #fad1d1;
  color: #b42318;
  border-color: #fad1d1;
}

.rh-restaurant-page .rh-buffet-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rh-restaurant-page .rh-buffet-cal-nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-sm);
  background: var(--rh-white);
  cursor: pointer;
  font-size: 18px;
}

.rh-restaurant-page .rh-buffet-calendar-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

/* Info grid */
.rh-restaurant-page .rh-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rh-restaurant-page .rh-info-col {
  padding: 20px;
  border: 1px solid var(--rh-border);
  border-radius: 10px;
  background: var(--rh-white);
}

.rh-restaurant-page .rh-info-col__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 14px;
  color: var(--rh-heading);
}

.rh-restaurant-page .rh-info-item {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--rh-secondary);
}

.rh-restaurant-page .rh-info-item strong {
  display: block;
  color: var(--rh-text);
  margin-bottom: 4px;
}

.rh-restaurant-page .rh-info-item ul {
  margin: 0;
  padding-left: 18px;
}

.rh-restaurant-page .rh-info-item p {
  margin: 0;
}

.rh-restaurant-page .rh-info-empty {
  color: var(--rh-muted);
  font-size: 14px;
  margin: 0;
}

/* Related restaurants */
.rh-restaurant-page .rh-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rh-restaurant-page .rh-related-grid .rh-buffet-card,
.rh-restaurant-page .rh-related-grid .rh-restaurant-card {
  margin: 0;
  min-width: 0;
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rh-border, #e5e7eb);
  border-radius: 9px;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.07);
  text-decoration: none !important;
  color: inherit;
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card__media {
  position: relative;
  overflow: hidden;
  background: #eef1f4;
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 16px;
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card__hotel {
  font-size: 13px;
  color: var(--rh-muted, #6b7280);
  line-height: 1.35;
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card__district {
  font-size: 13px;
  color: var(--rh-muted, #6b7280);
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card__price {
  margin-top: 4px;
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card__price-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--rh-orange, #f97316);
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card__price-suffix {
  font-size: 13px;
  margin-left: 2px;
  color: var(--rh-muted, #6b7280);
}

.rh-restaurant-page .rh-related-grid .rh-restaurant-card__price-empty {
  font-size: 13px;
  color: var(--rh-muted, #6b7280);
}

/* Tablet */
@media (max-width: 900px) {
  .rh-restaurant-page .rh-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    min-height: 220px;
  }

  .rh-restaurant-page .rh-booking-search {
    grid-template-columns: repeat(2, 1fr);
  }

  .rh-restaurant-page .rh-booking-search__action {
    grid-column: 1 / -1;
  }

  .rh-restaurant-page .rh-booking-search__btn {
    width: 100%;
  }

  .rh-restaurant-page .rh-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rh-restaurant-page .rh-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .rh-restaurant-page__inner {
    width: calc(100% - 32px);
    padding-top: 16px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .rh-restaurant-page .rh-restaurant-hero-info {
    display: block;
  }

  .rh-restaurant-page .rh-restaurant-logo {
    display: none;
  }

  .rh-restaurant-page .rh-hotel-title {
    font-size: 23px;
    line-height: 1.35;
  }

  .rh-restaurant-page .rh-hotel-name-en {
    display: block;
    margin: 4px 0 0;
    font-size: 16px;
  }

  .rh-restaurant-page .rh-restaurant-title {
    font-size: 18px;
    line-height: 1.4;
  }

  /* Gallery layout is owned by restaurant.css (Trip-style 1+2 grid). */
  .rh-restaurant-page .rh-gallery {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .rh-restaurant-page .rh-gallery__main {
    grid-column: 1;
    grid-row: 1 / 3;
    aspect-ratio: auto;
  }

  .rh-restaurant-page .rh-gallery__thumb {
    aspect-ratio: auto;
  }

  .rh-restaurant-page .rh-booking-search {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .rh-restaurant-page .rh-booking-search__field input,
  .rh-restaurant-page .rh-booking-search__field select,
  .rh-restaurant-page .rh-booking-search__btn {
    width: 100%;
    height: 44px;
  }

  .rh-restaurant-page .rh-package-table-wrap {
    display: none;
  }

  .rh-restaurant-page .rh-package-cards {
    display: block;
  }

  .rh-restaurant-page .rh-buffet-cal-day {
    min-height: 42px;
    font-size: 12px;
  }

  .rh-restaurant-page .rh-buffet-calendar-grid {
    gap: 3px;
  }

  .rh-restaurant-page .rh-info-grid {
    grid-template-columns: 1fr;
  }

  .rh-restaurant-page .rh-related-grid {
    grid-template-columns: 1fr;
  }

  .rh-restaurant-page .rh-hotel-name-en,
  .rh-restaurant-page .rh-restaurant-name-en {
    display: block;
    margin-left: 0;
  }
}

/* =========================================================
   Option B — Compact date picker
========================================================= */

.rh-date-picker {
  position: relative;
  width: 100%;
  min-width: 0;
}

.rh-date-picker__label {
  display: block;
  color: var(--rh-secondary, #555);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  margin-bottom: 0;
}

.rh-date-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rh-text, #1f2937);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.rh-date-picker__trigger:focus-visible {
  outline: 3px solid rgba(245, 130, 32, 0.25);
  outline-offset: 2px;
  border-radius: 6px;
}

.rh-date-picker__trigger-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rh-date-picker__date {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
}

.rh-date-picker__weekday {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--rh-muted, #777);
}

.rh-date-picker__icon {
  flex-shrink: 0;
  color: #94a3b8;
  display: inline-flex;
}

.rh-date-picker__popover {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10050;
  width: min(340px, calc(100vw - 16px));
  padding: 16px 16px 12px;
  background: #ffffff !important;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
}

.rh-date-picker__popover[hidden] {
  display: none !important;
}

.rh-date-picker__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.rh-date-picker__nav-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.rh-date-picker__nav-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #475569 !important;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none !important;
}

.rh-date-picker__nav-btn:hover:not(:disabled) {
  border-color: #f58220 !important;
  color: #f58220 !important;
}

.rh-date-picker__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rh-date-picker__weekdays,
.rh-date-picker__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.rh-date-picker__weekdays span {
  text-align: center;
  padding: 4px 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.rh-date-picker__weekdays span.is-weekend {
  color: #3b82f6;
}

.rh-date-picker__day {
  height: 40px;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #0f172a !important;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none !important;
  padding: 0 !important;
}

.rh-date-picker__day:hover:not(:disabled):not(.is-selected) {
  background: #fff4e9 !important;
  color: #f58220 !important;
}

.rh-date-picker__day.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.rh-date-picker__day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1.5px #fdba74 !important;
}

.rh-date-picker__day.is-selected {
  background: #f58220 !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(245, 130, 32, 0.35) !important;
}

.rh-date-picker__day.is-disabled,
.rh-date-picker__day:disabled {
  color: #d1d5db !important;
  cursor: not-allowed;
  background: transparent !important;
  box-shadow: none !important;
}

.rh-date-picker__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eef2f7;
  font-size: 12px;
  color: #64748b;
}

.rh-date-picker__footer button {
  border: 0 !important;
  background: none !important;
  color: #f58220 !important;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none !important;
  padding: 0 !important;
}

.rh-date-picker__footer button:disabled {
  color: #94a3b8 !important;
  cursor: not-allowed;
}

.rh-buffet-home-field--date {
  overflow: visible;
}

.rh-buffet-home-field:has(.rh-select) {
  overflow: visible;
}

.rh-buffet-home-hero,
.rh-buffet-home-hero-inner,
.rh-buffet-home-hero-left {
  overflow: visible;
}

@media (max-width: 767px) {
  .rh-date-picker__popover {
    width: min(320px, calc(100vw - 16px));
  }
}

/* =========================================================
   Soft radius custom select
========================================================= */

.rh-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.rh-select__label {
  display: block;
  color: var(--rh-secondary, #555);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  margin-bottom: 0;
}

.rh-select__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin-top: 3px;
  padding: 0 42px 0 14px;
  border: 1px solid #d7dee7;
  border-radius: 12px;
  background: #fff;
  color: var(--rh-text, #0f172a);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.rh-select__trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.15s ease;
}

.rh-select.is-open .rh-select__trigger::after {
  transform: translateY(-20%) rotate(225deg);
}

.rh-select__trigger:focus-visible {
  outline: 3px solid rgba(245, 130, 32, 0.25);
  outline-offset: 2px;
}

.rh-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rh-select__menu {
  display: block;
  padding: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  max-height: 260px;
  overflow: auto;
}

.rh-select__menu[hidden] {
  display: none !important;
}

.rh-select__option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--rh-text, #0f172a);
  cursor: pointer;
}

.rh-select__option:hover {
  background: #fff4e9;
  color: #f58220;
}

.rh-select__option.is-active {
  background: #fff4e9;
  color: #f58220;
}

/* Home search bar: keep borderless trigger like date field */
.rh-buffet-home-field .rh-select__label {
  color: var(--rh-secondary);
  font-weight: 400;
}

.rh-buffet-home-field .rh-select__trigger {
  margin-top: 3px;
  min-height: 28px;
  padding: 0 22px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1.35;
}

.rh-buffet-home-field .rh-select__trigger::after {
  right: 0;
}

.rh-buffet-home-field .rh-select__trigger:focus-visible {
  outline-offset: 2px;
  border-radius: 6px;
}

.rh-buffet-home-field .rh-date-picker__label {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--rh-secondary);
}

.rh-buffet-home-field .rh-date-picker__trigger {
  width: 100%;
  margin-top: 3px;
  min-height: 28px;
  padding: 0 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rh-buffet-home-field .rh-date-picker__trigger:focus-visible {
  outline-offset: 2px;
  border-radius: 6px;
}

.rh-buffet-home-field .rh-date-picker__date {
  font-size: 16px;
  font-weight: 700;
  color: var(--rh-text);
}

.rh-buffet-home-field .rh-date-picker__weekday {
  font-size: 12px;
}

.rh-buffet-filters .rh-date-picker,
.rh-buffet-filters .rh-select {
  min-width: 170px;
}

.rh-buffet-filters .rh-date-picker__trigger,
.rh-buffet-filters .rh-select__trigger {
  min-height: 44px;
}

.rh-search-toolbar,
.rh-buffet-filters {
  overflow: visible;
}

/* 自助餐優惠 list and article pages (Article header preview / public) */
.rh-articles {
  margin-top: 28px;
}

.rh-articles__preview {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid #f3d7b5;
  border-radius: var(--rh-radius-sm);
  background: var(--rh-warm);
  color: var(--rh-navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.rh-articles__hero h1 {
  margin: 0 0 8px;
  color: var(--rh-navy);
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
}

.rh-articles__hero p {
  margin: 0;
  color: var(--rh-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.rh-articles__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

.rh-articles__empty {
  margin: 24px 0 0;
  color: var(--rh-muted);
}

.rh-article-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rh-border);
}

.rh-article-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--rh-radius);
  background: var(--rh-soft);
}

.rh-article-card__media img,
.RHdealpage .rh-article-card__media img {
  display: block;
  width: 100%;
  height: 180px;
  max-width: 100%;
  object-fit: cover;
}

.rh-article-card__body {
  min-width: 0;
}

.rh-article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 8px;
  color: var(--rh-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.rh-article-card__meta a {
  color: var(--rh-blue);
}

.rh-article-card__title {
  margin: 0 0 8px;
  color: var(--rh-navy);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
}

.rh-article-card__title a {
  color: inherit;
}

.rh-article-card__excerpt {
  margin: 0;
  color: var(--rh-secondary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.rh-articles__pager {
  margin-top: 28px;
}

.rh-articles__pager ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rh-articles__pager a,
.rh-articles__pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-sm);
  color: var(--rh-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.rh-articles__pager a:hover {
  border-color: var(--rh-orange);
  color: var(--rh-orange);
  text-decoration: none;
}

.rh-articles__pager .current {
  border-color: var(--rh-orange);
  background: var(--rh-orange);
  color: #fff;
}

.rh-article {
  max-width: 760px;
  margin: 28px auto 0;
}

.rh-article__title {
  margin: 8px 0 16px;
  color: var(--rh-navy);
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
}

.rh-article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.rh-article-share a,
.rh-article-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--rh-orange);
  border-radius: var(--rh-radius-sm);
  background: transparent;
  color: var(--rh-orange);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.rh-article-share a:hover,
.rh-article-share button:hover {
  background: var(--rh-orange);
  color: #fff;
  text-decoration: none;
}

.rh-article-body {
  color: var(--rh-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.rh-article-body h2,
.rh-article-body h3,
.rh-article-body h4 {
  margin: 1.4em 0 0.5em;
  color: var(--rh-navy);
  line-height: 1.35;
  font-weight: 700;
}

.rh-article-body p,
.rh-article-body ul,
.rh-article-body ol {
  margin: 0 0 1em;
}

/* Match theme .entry-body img so stacked photos keep line-height gaps */
.rh-article-body img,
.RHdealpage .rh-article-body img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.rh-article-body iframe,
.rh-article-body video {
  display: block;
  max-width: 100%;
  height: auto;
}

.rh-article-body figure {
  margin: 1.2em 0;
}

.rh-article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.rh-article-booking {
  margin: 32px 0;
}

.rh-article-booking__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--rh-radius-sm);
  background: var(--rh-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.rh-article-booking__btn:hover {
  background: var(--rh-orange-hover);
  color: #fff;
  text-decoration: none;
}

.rh-article-comments {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--rh-border);
}

.rh-article-comments__title,
.rh-article-comments .comment-reply-title {
  margin: 16px 0;
  color: var(--rh-navy);
  font-size: 22px;
  line-height: 1.35;
}

.rh-article-comments .comment-list,
.rh-article-comments .children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rh-article-comments .children {
  margin-left: 24px;
}

.rh-article-comments .comment-body {
  padding: 16px 0;
  border-bottom: 1px solid var(--rh-border);
}

.rh-article-comments .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.rh-article-comments .comment-form p {
  margin: 0 0 12px;
}

.rh-article-comments .comment-form input[type="text"],
.rh-article-comments .comment-form input[type="email"],
.rh-article-comments .comment-form input[type="url"],
.rh-article-comments .comment-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-sm);
  font: inherit;
}

.rh-article-comments .comment-form .submit {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--rh-radius-sm);
  background: var(--rh-orange);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 767px) {
  .rh-articles__hero h1,
  .rh-article__title {
    font-size: 26px;
  }

  .rh-article-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rh-article-card__media img,
  .RHdealpage .rh-article-card__media img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .rh-article-card__title {
    font-size: 20px;
  }
}

/* Fallback when Related Post / AAA-buffet-listing CSS is late or missing */
.rh-articles .related-post {
  clear: both;
  margin: 28px 0;
}

.rh-articles .related-post .headline {
  margin: 16px 0;
  color: #999;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.rh-articles .related-post .post-list .item {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  width: 45%;
  margin: 10px;
  padding: 0;
  box-sizing: border-box;
}

.rh-articles .related-post .post-list .item .post_title,
.rh-articles .related-post .post-list .item .title {
  display: block;
  margin: 10px 0;
  color: #3f3f3f;
  font-size: 16px;
  line-height: 1.45;
  text-decoration: none;
}

.rh-articles .related-post .post-list .item .post_thumb,
.rh-articles .related-post .post-list .item .thumb {
  display: block;
  max-height: 220px;
  margin: 10px 0;
  overflow: hidden;
}

.rh-articles .related-post .post-list .item .thumb img,
.rh-articles .related-post .post-list .item .post_thumb img,
.RHdealpage .rh-articles .related-post .post-list .item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.rh-articles .hotel-listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin: 20px 0 40px;
}

.rh-articles .hotel-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rh-articles .hotel-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.rh-articles .hotel-image img,
.RHdealpage .rh-articles .hotel-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-articles .hotel-info {
  padding: 18px 20px 22px;
}

.rh-articles .hotel-name {
  margin: 0 0 8px;
  color: #1d1d1f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.rh-articles .hotel-rating {
  margin: 0 0 10px;
  color: #86868b;
  font-size: 14px;
}

.rh-articles .buffet-promo-widget-cards-wrapper {
  display: none;
}

.rh-articles .buffet-promo-widget-cards-wrapper.is-visible {
  display: block;
}

.rh-articles .buffet-promo-widget-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.rh-articles .buffet-promo-widget-btn {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #d1d1d6;
  border-radius: 10px;
  background: #fff;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.rh-articles .buffet-promo-widget-btn.active {
  border-color: #0071e3;
  background: #0071e3;
  color: #fff;
}

@media (max-width: 767px) {
  .rh-articles .related-post .post-list .item {
    width: 100%;
    margin: 10px 0;
  }

  .rh-articles .hotel-listings {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

