/* Homepage components: menu, buffet, ratings, gallery, hero and Emerald Pool. Rules retain cascade order. */

.hero-english {
  font-size: 15px;
  color: #e4e7df;
  margin: 12px 0 20px;
}
.hero-dining-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-dining-badges > span {
  border: 1px solid #dfbd7f99;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: #123e3470;
}
.hero-dining-badges small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--gold);
}
.ribbon {
  flex-wrap: wrap;
}
.ribbon span + span:before {
  content: none;
}
.english-copy {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 850px;
}
.section-sub-en {
  font-family: 'Noto Sans Thai', sans-serif;
  color: var(--muted);
  font-size: 16px;
  margin: 10px 0 0;
}
.menu-track {
  align-items: stretch;
}
.menu-card {
  padding: 0;
  display: block;
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 0;
}
.menu-photo {
  display: block;
  width: 100%;
  height: 260px;
  margin: 0;
}
.menu-card-copy {
  padding: 24px 27px 30px;
}
.menu-card h3 {
  font-size: 25px;
  line-height: 1.6;
  margin-top: 6px;
}
.menu-card .menu-en {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: #406153;
  margin: 8px 0 14px;
  min-height: 45px;
}
.menu-card-copy > p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.menu-number {
  font-size: 15px;
}
.filters {
  flex-wrap: wrap;
}
.buffet-section {
  background: var(--paper);
}
.buffet-intro {
  max-width: 850px;
  font-size: 17px;
  color: var(--muted);
}
.daily-label {
  background: var(--green);
  color: white;
  padding: 12px 24px;
  font-size: 19px;
  white-space: nowrap;
}
.daily-label span {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--gold);
}
.buffet-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 35px 0;
}
.buffet-gallery figure {
  margin: 0;
}
.buffet-gallery figure:first-child {
  grid-column: 1/-1;
}
.buffet-gallery img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}
.buffet-gallery figure:first-child img {
  height: 500px;
}
.buffet-gallery figcaption {
  font-size: 14px;
  color: var(--ink);
  margin-top: 10px;
}
.buffet-gallery figcaption span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.dining-assurance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  background: var(--green);
  color: white;
}
.dining-assurance .eyebrow {
  color: var(--gold);
}
.dining-assurance h2 {
  font-size: 35px;
}
.dining-assurance article + article {
  border-left: 1px solid #ffffff30;
  padding-left: 45px;
}
.dining-assurance p:not(.eyebrow) {
  font-size: 16px;
  color: #d6e2d8;
}
.dining-assurance .text-link {
  color: var(--gold);
}
@media (max-width: 950px) {
  .menu-card {
    flex-basis: calc((100% - 24px) / 2);
  }
  .menu-card h3 {
    font-size: 23px;
  }
  .dining-assurance h2 {
    font-size: 28px;
  }
  .dining-assurance article + article {
    padding-left: 30px;
  }
  .hero {
    min-height: 760px;
  }
  header nav {
    gap: 15px;
  }
}
@media (max-width: 650px) {
  .hero-content {
    padding-top: 55px;
    padding-bottom: 95px;
  }
  .hero-english {
    font-size: 13px;
  }
  .hero-dining-badges {
    gap: 8px;
  }
  .hero-dining-badges > span {
    font-size: 13px;
    padding: 8px 12px;
  }
  .ribbon {
    gap: 8px 18px;
  }
  .ribbon span {
    font-size: 12px;
  }
  .ribbon span:last-child {
    display: block;
  }
  .menu-card {
    flex-basis: 88%;
  }
  .menu-photo {
    height: 255px;
    width: 100%;
    margin: 0;
  }
  .menu-card-copy {
    padding: 22px;
  }
  .menu-card h3 {
    font-size: 24px;
  }
  .menu-card .menu-en {
    min-height: 0;
    font-size: 15px;
  }
  .filters button {
    font-size: 13px;
    padding: 7px 13px;
  }
  .buffet-gallery {
    grid-template-columns: 1fr;
  }
  .buffet-gallery figure:first-child {
    grid-column: auto;
  }
  .buffet-gallery img,
  .buffet-gallery figure:first-child img {
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
  }
  .daily-label {
    display: inline-block;
    font-size: 17px;
    margin-top: 18px;
  }
  .dining-assurance {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .dining-assurance article + article {
    border-left: 0;
    border-top: 1px solid #ffffff30;
    padding-left: 0;
    padding-top: 35px;
  }
  .dining-assurance h2 {
    font-size: 31px;
  }
}
.menu-photo {
  object-fit: contain;
  background: #e5ebe3;
}
.menu-image-link {
  display: block;
}
.menu-image-link:focus-visible {
  outline: 3px solid #c79238;
  outline-offset: 3px;
}
.platform-ratings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 35px 0 15px;
}
.platform-card {
  display: block;
  background: #fff;
  border: 1px solid #d9e3db;
  padding: 30px;
  transition: box-shadow 0.2s;
}
.platform-card:hover {
  box-shadow: 0 10px 28px #123e3412;
}
.platform-title {
  display: flex;
  align-items: center;
  gap: 13px;
}
.platform-title img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.platform-title h3 {
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 21px;
}
.rating-score {
  font-size: 45px;
  font-weight: 600;
  line-height: 1.4;
  margin: 24px 0 8px;
}
.rating-score small {
  font-size: 16px;
  font-weight: 400;
}
.rating-stars {
  position: relative;
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  line-height: 1.2;
  color: #d9ded9;
  white-space: nowrap;
}
.rating-stars b {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--fill);
  overflow: hidden;
  color: #bd842c;
  font-weight: 400;
}
.recommend-label {
  font-size: 14px;
  color: #426b58;
  letter-spacing: 2px;
  min-height: 34px;
  margin: 0;
}
.rating-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 38px;
}
.home-directions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: center;
  background: #edf2ec;
}
.home-directions address {
  font-style: normal;
  margin: 24px 0;
}
.home-directions .actions {
  align-items: center;
}
.route-preview img {
  width: 100%;
  height: auto;
  display: block;
  background: white;
}
.gallery-section {
  padding-top: 80px;
}
@media (max-width: 950px) {
  .platform-card {
    padding: 22px;
  }
  .platform-title h3 {
    font-size: 18px;
  }
}
@media (max-width: 650px) {
  .platform-ratings,
  .home-directions {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .platform-card {
    padding: 25px;
  }
  .rating-score {
    margin-top: 15px;
  }
  .gallery-section {
    padding-top: 60px;
  }
  .home-directions .actions {
    display: grid;
  }
  .rating-date {
    font-size: 13px;
  }
}
.hero-halal-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fffffff2;
  color: var(--green);
  padding: 13px 18px;
  margin: 10px 0 0;
}
.hero-halal-mark img {
  width: 100px;
  height: 42px;
  object-fit: contain;
}
.hero-halal-mark > span {
  font-size: 16px;
  font-weight: 600;
}
.hero-halal-mark small {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
}
.hero-dining-badges {
  margin: 14px 0 18px;
}
.hero-photo {
  background-position: center 50%;
}
.gallery-track figure {
  flex-basis: 36%;
}
.gallery-track img {
  background: #e4ebe2;
}
.review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.review-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  flex-wrap: wrap;
}
.review-platform img {
  width: 24px;
  height: 24px;
}
.five-stars {
  color: #c4933b;
  letter-spacing: 2px;
  margin-left: auto;
}
.review h3 {
  font-size: 23px;
}
.review-by {
  flex-wrap: wrap;
  gap: 15px;
}
.review-selection-note {
  font-size: 14px;
  color: var(--muted);
}
.drinks-section {
  background: #e7eee6;
}
.drink-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 35px 0;
}
.drink-list article {
  padding: 26px 0;
  border-top: 1px solid #9eb29d;
}
.drink-list span {
  color: #7a8e75;
  font-size: 14px;
}
.drink-list h3 {
  margin-top: 15px;
  font-size: 27px;
}
.drink-list p {
  color: var(--muted);
}
@media (max-width: 650px) {
  .hero-halal-mark {
    gap: 10px;
    padding: 10px 13px;
  }
  .hero-halal-mark img {
    width: 75px;
    height: 35px;
  }
  .hero-halal-mark > span {
    font-size: 14px;
  }
  .hero-halal-mark small {
    font-size: 10px;
  }
  .gallery-track figure {
    flex-basis: 88%;
  }
  .review-grid,
  .drink-list {
    grid-template-columns: 1fr;
  }
  .drink-list {
    gap: 0;
  }
  .drink-list article {
    padding: 20px 0;
  }
  .five-stars {
    margin-left: 0;
  }
  .review h3 {
    font-size: 23px;
  }
}
.drink-photo-list article {
  padding: 0;
  border-top: 0;
  background: #f6f7f3;
}
.drink-photo-list img {
  display: block;
  width: 100%;
  height: 370px;
  object-fit: contain;
  background: #e0e9de;
}
.drink-photo-list article > div {
  padding: 24px;
}
.drink-photo-list h3 {
  margin-top: 8px;
}
.drink-photo-list p {
  margin-bottom: 0;
}
.gallery-track figure {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}
.gallery-track img {
  width: auto;
  height: 360px;
  max-width: none;
  object-fit: contain;
  aspect-ratio: auto;
}
.gallery-track figcaption {
  max-width: 100%;
  padding-right: 12px;
}
@media (max-width: 650px) {
  .drink-photo-list img {
    height: 340px;
  }
  .drink-photo-list article > div {
    padding: 22px;
  }
  .drink-photo-list {
    gap: 24px;
  }
  .gallery-track img {
    height: 280px;
    max-width: none;
    width: auto;
  }
  .gallery-track figure {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }
  .gallery-track figcaption {
    font-size: 12px;
  }
}

/* Full-background hero with the original storefront photograph. */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  background: var(--deep);
  height: calc(100svh - 98px);
  max-height: 1000px;
  padding-bottom: 0;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: none;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center 50%;
}
.hero:before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 32, 24, 0.9),
      rgba(6, 32, 24, 0.58) 38%,
      rgba(6, 32, 24, 0.08) 75%
    ),
    linear-gradient(0deg, rgba(6, 32, 24, 0.65), transparent 40%);
  z-index: -1;
}
.hero-content {
  padding: 60px 8%;
  width: 100%;
}
.hero h1 {
  font-size: clamp(66px, 8vw, 114px);
}
.hero-bottom {
  position: absolute;
  bottom: 25px;
  left: 5.5%;
  right: 5.5%;
  width: auto;
  padding: 0;
}
@media (max-width: 650px) {
  .hero {
    display: flex;
    flex-direction: row;
    height: auto;
    max-height: none;
  }
  .hero-photo {
    width: 100%;
  }
  .hero-photo img {
    object-position: 62% center;
  }
  .hero-content {
    padding: 55px 7% 95px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .hero-bottom {
    position: absolute;
    bottom: 25px;
    left: 7%;
    right: 7%;
    width: auto;
    padding: 0;
    font-size: 11px;
  }
  .hero-bottom > span {
    max-width: 200px;
  }
}

.hero-nearby {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 7px 15px;
  border: 1px solid rgba(229, 190, 101, 0.65);
  border-radius: 40px;
  color: var(--gold);
  background: rgba(6, 32, 24, 0.55);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
}
.emerald-pool-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: #edf4ef;
}
.emerald-copy h2 {
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.3;
}
.emerald-copy > p {
  font-size: 18px;
  line-height: 1.85;
}
.emerald-features {
  color: var(--green);
  font-weight: 600;
}
.emerald-photos {
  display: grid;
  gap: 16px;
}
.emerald-photos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.hero {
  min-height: 800px;
}
@media (max-width: 650px) {
  .hero {
    min-height: 900px;
  }
  .hero-nearby {
    font-size: 17px;
  }
  .emerald-pool-promo {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .emerald-copy > p {
    font-size: 17px;
  }
  .emerald-photos {
    gap: 12px;
  }
}
