/* =========================================================
   ELITE SUITES VILLAS MAIKHAO
   LUXURY IN-ROOM DINING
========================================================= */

:root {

  --cream: #f7f5f0;
  --cream-dark: #eeeae1;

  --white: #ffffff;

  --green: #123d35;
  --green-dark: #0c3029;

  --gold: #b49a68;
  --gold-light: #d2bd91;

  --text: #26342f;
  --text-soft: #7c817d;

  --border: #e1ddd3;

  --shadow:
    0 12px 35px rgba(27, 38, 34, 0.08);

  --radius: 18px;

}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {

  margin: 0;

  background:
    linear-gradient(
      180deg,
      #faf9f6 0%,
      #f5f3ee 100%
    );

  color: var(--text);

  font-family:
    "DM Sans",
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;

}


/* =========================================================
   HERO
========================================================= */

.hero {

  position: relative;

  /* ลดจาก 370px */
  height: 300px;

  overflow: hidden;

  background:

    linear-gradient(
      90deg,
      rgba(12, 22, 19, 0.94) 0%,
      rgba(12, 22, 19, 0.78) 30%,
      rgba(12, 22, 19, 0.28) 68%,
      rgba(12, 22, 19, 0.18) 100%
    ),

    url("/images/hotel-hero.jpg")
    center / cover no-repeat;

}


/* fallback if hero image does not exist */

.hero::before {

  content: "";

  position: absolute;

  inset: 0;

  background:

    radial-gradient(
      circle at 80% 25%,
      rgba(255,255,255,.20),
      transparent 28%
    ),

    linear-gradient(
      135deg,
      #253d36,
      #9e9a82
    );

  z-index: -1;

}


.hero-overlay {

  position: absolute;

  inset: 0;

  background:

    linear-gradient(
      90deg,
      rgba(5, 18, 15, .88),
      rgba(5, 18, 15, .18)
    );

}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {

  position: relative;

  z-index: 2;

  height: 100%;

  max-width: 1450px;

  margin: 0 auto;

  /* ลดช่องว่าง */
  padding: 26px 42px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

}


/* =========================================================
   BRAND
========================================================= */

.hotel-brand {

  width: fit-content;

  color: white;

  text-align: center;

}

/* -----------------------------------------
   BRAND LOGO
   The <img> inside here previously had no
   size constraint, so it rendered at its
   native pixel size - fine on a big desktop
   image but huge/broken on mobile.
----------------------------------------- */

.brand-icon {

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 6px;

}

.brand-icon img {

  display: block;

  height: 48px;
  width: auto;
  max-width: 160px;

  object-fit: contain;

}

.brand-name {

  font-family:
    "Playfair Display",
    serif;

  font-size: 25px;

  letter-spacing: 1px;

}

.brand-subtitle {

  margin-top: 1px;

  font-size: 9px;

  letter-spacing: 3px;

  opacity: .85;

}


/* =========================================================
   HERO TEXT
========================================================= */

.hero-text {

  color: white;

  max-width: 650px;

  /* ลดระยะ */
  margin-top: 0;

}

.eyebrow {

  font-size: 12px;

  letter-spacing: 4px;

  color: var(--gold-light);

  margin-bottom: 5px;

}

.hero-text h1 {

  margin: 0;

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-weight: 500;

  font-size: clamp(
    42px,
    5vw,
    66px
  );

  line-height: 1.02;

}

.hero-text p {

  margin:
    8px
    0
    0;

  font-size: 16px;

  color:
    rgba(
      255,
      255,
      255,
      .84
    );

}

.hero-rule {

  width: 56px;

  height: 2px;

  margin-top: 16px;

  background:
    var(--gold-light);

}


/* =========================================================
   ROOM BOX
========================================================= */

.room-box {

  position: absolute;

  right: 42px;

  top: 50%;

  transform:
    translateY(-50%);

  min-width: 140px;

  padding:
    19px
    26px;

  border:
    1px solid
    rgba(
      210,
      189,
      145,
      .65
    );

  border-radius: 18px;

  background:
    rgba(
      18,
      35,
      30,
      .38
    );

  backdrop-filter:
    blur(10px);

  text-align: center;

  color: white;

}

.room-box span {

  display: block;

  font-size: 10px;

  letter-spacing: 3px;

  color:
    var(--gold-light);

  margin-bottom: 3px;

}

.room-box strong {

  display: block;

  font-family:
    "Playfair Display",
    serif;

  font-size: 36px;

  font-weight: 500;

}


/* =========================================================
   GUEST GREETING  (in-house guests only, from Cloudbeds)
   Sits inside .room-box so it grows with its content and
   is not clipped by the hero's fixed height.
========================================================= */

.guest-greeting {

  margin-top: 10px;
  padding-top: 10px;

  border-top: 1px solid rgba(210, 189, 145, 0.4);

  font-family:
    "Playfair Display",
    serif;

  font-size: 16px;

  font-style: italic;

  font-weight: 400;

  color: #f7ecd4;

  letter-spacing: 0.3px;

  line-height: 1.3;

  white-space: normal;
  word-break: break-word;

  max-width: 220px;

}


@media (max-width: 720px) {

  .guest-greeting {
    font-size: 14px;
    max-width: 160px;
  }

}


/* =========================================================
   MAIN
========================================================= */

.page-container {

  max-width: 1450px;

  margin: 0 auto;

  padding:
    20px
    42px
    110px;

}


/* =========================================================
   WARNING
========================================================= */

.warning {

  margin-bottom: 16px;

  padding: 13px 16px;

  border-radius: 10px;

  border-left: 3px solid var(--gold);

  background: var(--cream-dark);

  font-size: 13px;

  line-height: 1.5;

  color: #6b5a37;

}

.warning:empty {

  display: none;

}


/* =========================================================
   CATEGORY
========================================================= */

.category-wrapper {

  position: relative;

  display: flex;

  align-items: center;

  margin-bottom: 22px;

}

.category-nav {

  width: 100%;

  display: flex;

  gap: 9px;

  overflow-x: auto;

  scrollbar-width: none;

  padding: 2px 0;

}

.category-nav::-webkit-scrollbar {
  display: none;
}


/* =========================================================
   CATEGORY BUTTON
========================================================= */

.chip {

  flex: 0 0 auto;

  border:
    1px solid
    var(--border);

  background:
    rgba(
      255,
      255,
      255,
      .65
    );

  color: #686d69;

  border-radius: 30px;

  padding:
    10px
    20px;

  font-family:
    "DM Sans",
    sans-serif;

  font-size: 14px;

  cursor: pointer;

  transition:
    .25s ease;

}

.chip:hover {

  border-color:
    var(--gold);

  color:
    var(--green);

}

.chip.active {

  background:
    var(--green);

  color:
    white;

  border-color:
    var(--green);

  box-shadow:
    0 5px 15px
    rgba(
      18,
      61,
      53,
      .18
    );

}


/* =========================================================
   MORE CATEGORY BUTTON
========================================================= */

.category-more {

  display: none;

  flex-shrink: 0;

  width: 48px;

  height: 42px;

  margin-left: 8px;

  border:
    1px solid
    var(--border);

  background:
    white;

  border-radius: 50%;

}


/* =========================================================
   MENU GRID
========================================================= */

.menu-grid {

  display: grid;

  grid-template-columns:
    repeat(
      6,
      minmax(0, 1fr)
    );

  gap: 20px;

}


/* =========================================================
   MENU CATEGORY HEADER  (only shown when browsing "All")
========================================================= */

.menu-category-header {

  grid-column: 1 / -1;

  margin: 32px 0 4px;

  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  color: #25211c;

  padding-bottom: 10px;
  border-bottom: 1px solid rgba(37, 33, 28, 0.15);

  letter-spacing: 0.5px;

}

.menu-category-header:first-child {
  margin-top: 0;
}

@media (max-width: 720px) {

  .menu-category-header {
    font-size: 20px;
    margin: 24px 0 4px;
  }

}


/* =========================================================
   MENU CARD
========================================================= */

.menu-card {

  overflow: hidden;

  background:
    rgba(
      255,
      255,
      255,
      .90
    );

  border:
    1px solid
    var(--border);

  border-radius:
    var(--radius);

  box-shadow:
    0 4px 18px
    rgba(
      35,
      43,
      40,
      .045
    );

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;

}

.menu-card:hover {

  transform:
    translateY(-4px);

  border-color:
    var(--gold);

  box-shadow:
    0 14px 30px
    rgba(
      25,
      38,
      33,
      .11
    );

}


/* =========================================================
   MENU IMAGE
========================================================= */

.menu-image-wrap {

  position: relative;

  width: 100%;

  aspect-ratio:
    1.35 / 1;

  overflow: hidden;

  background:
    #e9e5dc;

}

.menu-image {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transition:
    transform .5s ease;

}

.menu-card:hover
.menu-image {

  transform:
    scale(1.05);

}


/* =========================================================
   MENU BODY
========================================================= */

.menu-card-body {

  padding:
    15px
    16px
    14px;

}

.menu-category {

  margin-bottom: 5px;

  font-size: 10px;

  font-weight: 600;

  letter-spacing: 2px;

  color:
    var(--gold);

  text-transform:
    uppercase;

}

.menu-card-title {

  margin: 0;

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size: 18px;

  font-weight: 500;

  color:
    #283b35;

  line-height: 1.2;

}

.menu-description {

  margin-top: 6px;

  min-height: 34px;

  font-size: 12px;

  line-height: 1.5;

  color:
    var(--text-soft);

}


/* =========================================================
   PRICE + ADD
========================================================= */

.menu-card-action {

  margin-top: 11px;

  display: flex;

  justify-content:
    space-between;

  align-items:
    center;

}

.price {

  font-size: 17px;

  font-weight: 600;

  color:
    var(--green);

}

.add-button {

  height: 36px;

  padding: 0 18px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid var(--green);

  border-radius: 30px;

  background: transparent;

  color: var(--green);

  font-family:
    "DM Sans",
    sans-serif;

  font-size: 12px;

  font-weight: 600;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    .2s ease;

}

.add-button:hover {

  background:
    var(--green);

  color: white;

}


/* =========================================================
   QUANTITY
========================================================= */

.quantity-control {

  display: flex;

  align-items:
    center;

  gap: 8px;

}

.quantity-control button {

  width: 32px;

  height: 32px;

  border:
    1px solid
    var(--border);

  background:
    white;

  border-radius:
    50%;

  cursor: pointer;

  font-size: 17px;

}

.quantity-control span {

  min-width: 22px;

  text-align: center;

  font-weight: 600;

}


/* =========================================================
   FLOATING CART
========================================================= */

.floating-cart {

  position: fixed;

  right: 28px;

  bottom: 28px;

  z-index: 100;

  height: 62px;

  min-width: 225px;

  padding:
    0
    17px;

  display: flex;

  align-items:
    center;

  gap: 14px;

  border: none;

  border-radius:
    40px;

  background:
    var(--green);

  color: white;

  box-shadow:
    0 12px 30px
    rgba(
      11,
      42,
      35,
      .28
    );

  cursor: pointer;

  transition:
    .25s ease;

}

.floating-cart:hover {

  transform:
    translateY(-3px);

  background:
    var(--green-dark);

}

.cart-icon {

  display: flex;

  align-items: center;

  color: var(--gold-light);

}

.cart-text {

  font-size: 15px;

  font-weight: 500;

}

.cart-count {

  width: 32px;

  height: 32px;

  display: flex;

  align-items:
    center;

  justify-content:
    center;

  margin-left: auto;

  border-radius: 50%;

  background:
    var(--gold-light);

  color:
    #23352f;

  font-weight:
    700;

}


/* =========================================================
   MODAL
========================================================= */

.modal {

  position: fixed;

  inset: 0;

  z-index: 999;

  display: none;

  align-items:
    center;

  justify-content:
    center;

  padding: 20px;

}

.modal.show {

  display: flex;

}

.modal-backdrop {

  position: absolute;

  inset: 0;

  background:
    rgba(
      8,
      20,
      17,
      .62
    );

  backdrop-filter:
    blur(5px);

}

.modal-card {

  position: relative;

  z-index: 2;

  width: min(
    600px,
    100%
  );

  max-height:
    90vh;

  overflow-y: auto;

  background:
    #fbfaf7;

  border-radius:
    24px;

  box-shadow:
    0 30px 80px
    rgba(
      0,
      0,
      0,
      .25
    );

}


/* =========================================================
   MODAL HEADER
========================================================= */

.modal-header {

  padding:
    27px
    30px
    20px;

  display: flex;

  justify-content:
    space-between;

  border-bottom:
    1px solid
    var(--border);

}

.modal-eyebrow {

  font-size: 10px;

  letter-spacing: 3px;

  color:
    var(--gold);

  margin-bottom: 5px;

}

.modal-header h2 {

  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size: 29px;

  font-weight: 500;

}

.close-button {

  width: 40px;

  height: 40px;

  border: none;

  background:
    #f0eee8;

  border-radius:
    50%;

  font-size: 25px;

  color:
    var(--text);

  cursor: pointer;

}


/* =========================================================
   CART ITEMS
========================================================= */

.cart-items {

  padding:
    20px 30px;

}

.cart-item {

  display: flex;

  align-items:
    center;

  gap: 14px;

  padding:
    12px 0;

  border-bottom:
    1px solid
    var(--border);

}

.cart-item-image {

  width: 65px;

  height: 65px;

  object-fit: cover;

  border-radius:
    12px;

}

.cart-item-info {

  flex: 1;

}

.cart-item-title {

  font-weight:
    600;

}

.cart-item-price {

  margin-top: 4px;

  color:
    var(--text-soft);

  font-size: 13px;

}


/* =========================================================
   ORDER FORM
========================================================= */

.order-form {

  padding:
    0 30px 30px;

}

.order-form label {

  display: block;

  margin:
    15px 0 7px;

  font-size: 13px;

  font-weight: 600;

  color:
    #45534d;

}

.order-form input[type="text"],
.order-form textarea {

  width: 100%;

  border:
    1px solid
    var(--border);

  background:
    white;

  border-radius:
    12px;

  padding:
    13px 15px;

  font-family:
    inherit;

  font-size: 14px;

  outline: none;

  resize: vertical;

}

.order-form input[type="text"]:focus,
.order-form textarea:focus {

  border-color:
    var(--gold);

  box-shadow:
    0 0 0 3px
    rgba(
      180,
      154,
      104,
      .10
    );

}


/* =========================================================
   BILLING
   KEPT FOR ADMIN / FUTURE USE
========================================================= */

.billing-section {

  margin-top: 20px;

  padding: 18px;

  border:
    1px solid
    var(--border);

  border-radius:
    15px;

  background:
    #f8f6f1;

}

.billing-title {

  margin-bottom: 12px;

  font-size: 13px;

  font-weight: 700;

}

.billing-option {

  display: flex !important;

  align-items:
    center;

  gap: 10px;

  margin:
    10px 0 !important;

  cursor: pointer;

}

.billing-option input {

  display: none;

}

.radio-custom {

  width: 18px;

  height: 18px;

  flex-shrink: 0;

  border:
    1px solid
    #bdb8ad;

  border-radius:
    50%;

  position: relative;

}

.billing-option input:checked
+ .radio-custom {

  border-color:
    var(--green);

}

.billing-option input:checked
+ .radio-custom::after {

  content: "";

  position: absolute;

  width: 10px;

  height: 10px;

  top: 3px;

  left: 3px;

  background:
    var(--green);

  border-radius: 50%;

}

.billing-option strong {

  display: block;

  font-size: 13px;

}

.billing-option small {

  display: block;

  margin-top: 2px;

  font-size: 11px;

  color:
    var(--text-soft);

}


/* =========================================================
   SUMMARY
========================================================= */

.order-summary {

  margin-top: 18px;

  padding:
    16px 18px;

  border-radius:
    15px;

  background:
    var(--green);

  color:
    white;

}

.summary-row {

  display: flex;

  justify-content:
    space-between;

  padding:
    5px 0;

  font-size: 14px;

}

.guest-charge-row {

  margin-top: 5px;

  padding-top:
    12px;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      .15
    );

}

.included-notice {

  margin-top: 13px;

  padding:
    10px;

  text-align: center;

  border-radius:
    10px;

  background:
    rgba(
      255,
      255,
      255,
      .10
    );

  color:
    #e2d1a7;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 1px;

}

.included-notice span {

  display: block;

  margin-top: 3px;

  font-size: 9px;

  opacity: .8;

}

.payment-notice {

  margin-top: 13px;

  padding:
    10px;

  text-align: center;

  border-radius:
    10px;

  background:
    rgba(
      255,
      255,
      255,
      .10
    );

  color:
    #f0d19b;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 1px;

}


/* =========================================================
   PLACE ORDER
========================================================= */

.place-order-button {

  width: 100%;

  margin-top: 18px;

  padding:
    16px
    20px;

  display: flex;

  justify-content:
    center;

  align-items:
    center;

  border: none;

  border-radius:
    13px;

  background:
    var(--gold);

  color:
    white;

  font-family:
    inherit;

  font-size: 14px;

  font-weight: 600;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    .2s ease;

}

.place-order-button:hover {

  background:
    #9d8557;

  transform:
    translateY(-1px);

}


/* =========================================================
   ORDER RESULT
========================================================= */

.order-result {

  margin-top: 10px;

  font-size: 13px;

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1250px) {

  .menu-grid {

    grid-template-columns:
      repeat(
        4,
        minmax(0, 1fr)
      );

  }

}


/* =========================================================
   RESPONSIVE - SMALL LAPTOP / TABLET
========================================================= */

@media (max-width: 900px) {

  .hero {

    height: 290px;

  }

  .hero-content {

    padding:
      23px
      25px;

  }

  .hero-text h1 {

    font-size: 52px;

  }

  .room-box {

    right: 25px;

  }

  .page-container {

    padding:
      18px
      25px
      100px;

  }

  .category-wrapper {

    margin-bottom:
      20px;

  }

  .menu-grid {

    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );

    gap: 16px;

  }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 650px) {

  .hero {

    height: auto;

    min-height: 240px;

  }

  .hero-content {

    padding:
      20px
      18px;

    justify-content: flex-start;

    gap: 18px;

  }

  .hotel-brand {

    text-align: left;

  }

  .brand-icon {

    justify-content: flex-start;

    margin-bottom: 4px;

  }

  .brand-icon img {

    height: 34px;
    max-width: 120px;

  }

  .brand-name {

    font-size: 21px;

  }

  .brand-subtitle {

    font-size: 8px;

    letter-spacing: 2.5px;

  }


  .hero-text {

    margin-top: 0;

    margin-bottom: 10px;

  }

  .eyebrow {

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 5px;

  }

  .hero-text h1 {

    font-size: 42px;

    line-height: 1.04;

  }

  .hero-text p {

    margin-top: 7px;

    font-size: 14px;

  }


  .room-box {

    top: 20px;

    right: 18px;

    transform: none;

    min-width: 100px;

    padding:
      9px
      14px;

    border-radius:
      15px;

  }

  .room-box span {

    font-size: 9px;

  }

  .room-box strong {

    font-size: 27px;

  }


  .page-container {

    padding:
      15px
      15px
      100px;

  }


  .warning {

    margin-bottom:
      10px;

    font-size:
      12px;

  }


  .category-wrapper {

    margin-bottom:
      17px;

  }

  .category-nav {

    gap: 7px;

  }

  .chip {

    padding:
      9px
      15px;

    font-size:
      12px;

  }


  .menu-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap: 12px;

  }

  .menu-card-body {

    padding:
      12px;

  }

  .menu-card-title {

    font-size:
      16px;

  }

  .menu-description {

    font-size:
      11px;

  }

  .price {

    font-size:
      14px;

  }

  .add-button {

    width:
      32px;

    height:
      32px;

  }


  .floating-cart {

    left:
      15px;

    right:
      15px;

    bottom:
      15px;

    width:
      calc(
        100% - 30px
      );

  }

}


/* =========================================================
   RESPONSIVE - SMALL PHONE
========================================================= */

@media (max-width: 420px) {

  .hero {

    height: auto;

    min-height: 225px;

  }

  .hero-content {

    padding:
      18px
      15px;

  }

  .brand-icon img {

    height: 28px;
    max-width: 100px;

  }

  .brand-name {

    font-size:
      19px;

  }

  .hero-text h1 {

    font-size:
      38px;

  }

  .hero-text p {

    font-size:
      13px;

  }

  .room-box {

    top:
      17px;

    right:
      15px;

    min-width:
      92px;

    padding:
      8px
      12px;

  }

  .room-box strong {

    font-size:
      24px;

  }


  .page-container {

    padding:
      14px
      12px
      95px;

  }


  .menu-grid {

    grid-template-columns:
      1fr 1fr;

    gap:
      10px;

  }

  .menu-image-wrap {

    aspect-ratio:
      1.15 / 1;

  }

  .menu-card-body {

    padding:
      10px;

  }

  .menu-card-title {

    font-size:
      15px;

  }

  .menu-description {

    font-size:
      10px;

    min-height:
      30px;

  }

  .menu-category {

    font-size:
      9px;

    letter-spacing:
      1.5px;

  }


  .category-nav {

    gap:
      6px;

  }

  .chip {

    padding:
      8px
      13px;

    font-size:
      11px;

  }


  .modal {

    padding:
      10px;

  }

  .modal-card {

    border-radius:
      18px;

  }

  .modal-header,
  .cart-items,
  .order-form {

    padding-left:
      18px;

    padding-right:
      18px;

  }

}


/* =========================================================
   ORDERING HOURS
========================================================= */

.hours-banner {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 10px;
  border-left: 3px solid var(--gold);
  background: var(--cream-dark);
  color: #6b5a37;
  font-size: 14px;
  line-height: 1.55;
}

.hours-banner.is-open {
  border-left-color: var(--green);
  background: #eef4f0;
  color: var(--green-dark);
}

.hours-banner[hidden] {
  display: none;
}

.hours-banner strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.place-order-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}


/* =========================================================
   ORDER RECEIPT (shown right after placing an order)
========================================================= */

.order-receipt {
  margin-top: 4px;
  padding: 18px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
}

.order-receipt-check {
  width: 34px;
  height: 34px;
  line-height: 34px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.order-receipt-title {
  display: block;
  font-size: 15px;
  color: var(--green-dark);
}

.order-receipt-thai {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.order-receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  text-align: left;
}

.order-receipt-row-order strong {
  color: var(--green-dark);
  font-size: 15px;
}

.order-receipt-wait {
  margin: 12px 0;
  padding: 12px;
  background: var(--white);
  border: 1px dashed var(--gold);
  border-radius: 10px;
}

.order-receipt-wait-label {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

.order-receipt-wait-value {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--green-dark);
  margin-top: 2px;
}

.order-receipt-wait-thai {
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 2px;
}

.order-receipt-divider {
  border-top: 1px dashed var(--border);
  margin: 8px 0;
}


/* =========================================================
   GUEST ORDER NOTIFICATION (menu page)
   Bell button + modal; the room's orders stay for 1 hour
========================================================= */

/* Bell: sits just above the floating cart button */

.orders-bell {
  position: fixed;
  right: 28px;
  bottom: 104px;
  z-index: 99;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  box-shadow: 0 10px 26px rgba(11, 42, 35, 0.22);
  cursor: pointer;
  transition: 0.25s ease;
}

.orders-bell[hidden] {
  display: none;
}

.orders-bell:hover {
  transform: translateY(-3px);
}

.orders-bell-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* Something new (new order / status change) since the guest last looked */

.orders-bell.has-update {
  background: var(--green);
  color: var(--white);
  animation: bell-pulse 1.8s ease-out infinite;
}

.orders-bell.has-update svg {
  animation: bell-ring 1.8s ease-in-out infinite;
  transform-origin: 50% 8%;
}

@keyframes bell-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(180, 154, 104, 0.6), 0 10px 26px rgba(11, 42, 35, 0.22); }
  70%  { box-shadow: 0 0 0 16px rgba(180, 154, 104, 0), 0 10px 26px rgba(11, 42, 35, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(180, 154, 104, 0), 0 10px 26px rgba(11, 42, 35, 0.22); }
}

@keyframes bell-ring {
  0%, 60%, 100% { transform: rotate(0); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-12deg); }
  30% { transform: rotate(9deg); }
  40% { transform: rotate(-6deg); }
  50% { transform: rotate(3deg); }
}

@media (max-width: 650px) {

  .orders-bell {
    right: 15px;
    bottom: 89px;
  }
}

/* Orders list inside the modal */

.orders-modal-body {
  padding: 20px 30px 26px;
}

@media (max-width: 650px) {

  .orders-modal-body {
    padding: 16px 18px 22px;
  }
}

.my-order-card {
  margin-bottom: 10px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.my-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.my-order-head strong {
  font-size: 15px;
  color: var(--green-dark);
}

.my-order-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f6efdc;
  color: #7a6230;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.my-order-badge.status-confirmed {
  background: #e8eef8;
  color: #31507f;
}

.my-order-badge.status-preparing {
  background: #fdf0e0;
  color: #9a5b13;
}

.my-order-badge.status-ready {
  background: #e3f2e8;
  color: #1d6b3a;
}

.my-order-badge.status-delivered,
.my-order-badge.status-completed {
  background: #eef4f0;
  color: var(--green-dark);
}

.my-order-badge.status-cancelled {
  background: #f8e5e3;
  color: #9b3a32;
}

.my-order-items {
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.my-order-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--text-soft);
}

.my-order-foot strong {
  font-size: 14px;
  color: var(--green-dark);
}

.my-orders-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-soft);
}


/* =========================================================
   ORDER SUCCESS PAGE (/order-success.html)
========================================================= */

.success-body {
  min-height: 100vh;
}

.success-header {
  padding: 18px 16px 16px;
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  color: var(--green-dark);
  text-align: center;
}

.success-header img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 160px;
  margin: 0 auto 4px;
  object-fit: contain;
}

.success-brand-name {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  letter-spacing: 1px;
}

.success-brand-subtitle {
  margin-top: 1px;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-soft);
}

.success-container {
  max-width: 460px;
  margin: 0 auto;
  padding: 22px 16px 60px;
}

.success-card {
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.success-card .order-receipt {
  margin-top: 0;
}

.success-loading,
.success-missing {
  padding: 28px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
}

.success-missing strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.success-missing p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.order-receipt-check.is-cancelled {
  background: #9b3a32;
}

.order-receipt-row > span {
  color: var(--text-soft);
}

.order-receipt-row > strong {
  text-align: right;
}

.order-receipt-row-total strong {
  font-size: 16px;
  color: var(--green-dark);
}

/* Button centred below the receipt */

.success-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.back-to-menu-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 14px 32px;
  border-radius: 13px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.back-to-menu-button small {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.85;
}

.back-to-menu-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}


/* Success page: bigger tick mark + item list heading */

.success-card .order-receipt-check {
  width: 68px;
  height: 68px;
  line-height: 68px;
  margin-bottom: 12px;
  font-size: 36px;
  box-shadow: 0 8px 20px rgba(18, 61, 53, 0.25);
  animation: success-pop 0.45s ease-out;
}

.success-card .order-receipt-title {
  font-size: 18px;
}

.success-card .order-receipt-thai {
  font-size: 14px;
}

.order-receipt-section-title {
  margin: 4px 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  color: var(--text-soft);
}

@keyframes success-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  70%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}
