/* Sơn Thuỷ Đặt Món - Frontend Styles */

.stdm-menu-container {
  min-height: 100vh;
}

/* Hero Section */
.stdm-hero-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23222" width="1200" height="400"/></svg>');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.stdm-hero-overlay {
  position: relative;
  z-index: 1;
}

.stdm-hero-title {
  font-size: 36px;
  font-weight: bold;
  color: #d4af37;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stdm-room-selector {
  margin-top: 20px;
}

.stdm-room-dropdown {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #d4af37;
  color: #fff;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 5px;
  min-width: 300px;
  cursor: pointer;
}

.stdm-room-dropdown option {
  background: #1a1a1a;
  color: #fff;
}

/* Content Wrapper */
.stdm-content-wrapper {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 60px;
  max-width: 1500px;
  padding: 0 15px;
  margin: 0 auto;
}

.stdm-content-wrapper > * {
  min-width: 0;
}

/* Menu Section */
.stdm-menu-section {
  min-width: 0;
  max-width: 100%;
}

.stdm-section-title {
  font-size: 44px;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #de9e0f 0%, #e9aa1f 22.6%, #ffc645 50.48%, #e9ab1f 79.33%, #c58800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-SemiBold", sans-serif;
}

/* Search Bar */
.stdm-search-bar {
  position: relative;
  margin-bottom: 25px;
}

.stdm-search-bar .stdm-search-input {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(137.59deg, rgba(242, 190, 76, 0.5) 0%, rgba(212, 154, 24, 0.5) 11.97%, rgba(255, 230, 175, 0.5) 44.52%, rgba(241, 193, 85, 0.5) 73.71%, rgba(140, 110, 44, 0.5) 99.56%) border-box;
  height: 60px;
  font-size: 20px;
  margin-bottom: 0;
  padding-left: 60px;
  max-width: 90%;
}

.stdm-search-input:focus {
  outline: none;
  border-color: #d4af37;
}

.stdm-search-icon {
  position: absolute;
  left: 20px;
  top: 58%;
  transform: translateY(-50%);
}

.stdm-category-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  margin-bottom: 50px;
  overflow-x: scroll;
  max-width: 100%;
  padding-bottom: 15px;
}

.stdm-category-tabs::-webkit-scrollbar {
  height: 16px; /* Độ cao cho thanh cuộn ngang */
}

/* 2. Phần nền bên dưới (Track) */
.stdm-category-tabs::-webkit-scrollbar-track {
  background: #1a1a1a; /* Màu nền tối để tiệp với gỗ */
  border-radius: 10px;
}

/* 3. Phần thanh trượt (Thumb) */
.stdm-category-tabs::-webkit-scrollbar-thumb {
  background: #d4af37; /* Màu vàng đồng (giống chữ 'Tất cả') */
  border-radius: 10px;
  border: 2px solid #1a1a1a; /* Tạo khoảng cách giữa thanh trượt và viền */
}

/* 4. Hiệu ứng khi di chuột vào (Hover) */
.stdm-category-tabs::-webkit-scrollbar-thumb:hover {
  background: #b8860b; /* Vàng đậm hơn khi hover */
}

.stdm-category-tab {
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
  font-weight: normal;
  display: inline-block; /* Support button block formatting */
  flex-shrink: 0; /* Prevent shrinking in flex container */
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.stdm-category-tab:hover {
  border-color: transparent;
  border-bottom: 1px solid #f2be4c;
  color: #f2be4c;
}

.stdm-category-tab.active {
  background: transparent;
  border-color: transparent;
  border-bottom: 1px solid #f2be4c;
  color: #f2be4c;
}

.stdm-cats-tabs {
  margin-bottom: 30px;
  display: flex;
  flex-flow: column;
  position: relative;
  top: -340px;
}

.stdm-cats-tabs button {
  padding: 0;
  text-align: left;
  font-weight: normal;
  position: relative;
  width: max-content;
  font-size: 18px;
  margin-bottom: 5px;
}

.stdm-cats-tabs button.active {
  color: #f2be4c;
  border-bottom: 1px solid #f2be4c;
}

/* Dishes List */
.stdm-dishes-list {
  display: grid;
  gap: 20px;
}

.stdm-dish-item {
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  display: flex;
  gap: 30px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #de9e0f 0%, #e9aa1f 22.6%, #ffc645 50.48%, #e9ab1f 79.33%, #c58800 100%) 3;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.stdm-dishes-list .stdm-dish-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.stdm-dish-image {
  width: 100%;
  height: 280px;
  max-width: 410px;
  border-radius: 36px;
  overflow: hidden;
  border: 2px solid #d4af37;
}

@media (max-width: 468px) {
  .stdm-dish-image {
    height: 200px;
  }

  .stdm-dish-name {
    font-size: 18px !important;
    line-height: 24px !important;
  }

  .stdm-add-to-cart-btn {
    width: 48px !important;
    height: 48px !important;
  }
}

.stdm-dish-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stdm-dish-name {
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #de9e0f 0%, #e9aa1f 22.6%, #ffc645 50.48%, #e9ab1f 79.33%, #c58800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-SemiBold", sans-serif;
  margin-bottom: 10px;
}

.stdm-dish-description {
  font-size: 20px;
  margin-bottom: 15px;
}

.stdm-dish-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.stdm-dish-price {
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #de9e0f 0%, #e9aa1f 22.6%, #ffc645 50.48%, #e9ab1f 79.33%, #c58800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-SemiBold", sans-serif;
}

.stdm-add-to-cart-btn {
  background: linear-gradient(90deg, #a07006 0%, #ddac3f 50.48%, #b88209 100%);
  border: none;
  height: 54px;
  width: 54px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  margin: 0;
}

.stdm-dish-footer .stdm-add-to-cart-btn {
  position: absolute;
  right: 0;
  bottom: 30px;
}

.stdm-add-to-cart-btn:hover {
  background: #f2be4c;
}

.stdm-add-icon {
  font-size: 40px;
  font-weight: normal;
  color: #000;
}

/* Cart Section */
.stdm-cart-section {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #444;
  position: sticky;
  top: 20px;
  max-height: max-content;
  min-width: 40%;
}

.stdm-cart-section .stdm-section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 10px;
}

.stdm-room-info {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: normal;
}

.stdm-room-info a:hover {
  color: #f2be4c;
}

.stdm-room-header {
  background: linear-gradient(90deg, #a07006 0%, #ddac3f 50.48%, #b88209 100%);
  border: 2px solid #cfcfcf;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 12px;
  text-align: center;
  padding: 24px 30px;
}

.stdm-room-header h2 {
  font-size: 32px !important;
  color: #303030 !important;
}

.stdm-room-header-info {
  background: #303030;
  padding: 0 10px;
  border-radius: 20px;
  font-size: 20px;
  margin-top: 20px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stdm-room-select {
  margin: 0;
  background: #303030;
  border-radius: 20px;
  border: none;
  margin-top: 20px;
  font-size: 20px;
  color: #fff;
}

/* Cart Items */
.stdm-cart-items {
  margin-bottom: 20px;
}

.stdm-cart-item {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  position: relative;
  border-bottom: 2px solid #444;
  padding-bottom: 20px;
}

.stdm-cart-items .stdm-cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stdm-cart-item-image {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #d4af37;
}

.stdm-cart-item-info {
  flex: 1;
}

.stdm-cart-item-name {
  font-weight: normal;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
}

.stdm-cart-flex {
  display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 350px;
    flex-direction: column;
}

.stdm-cart-item-price {
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #de9e0f 0%, #e9aa1f 22.6%, #ffc645 50.48%, #e9ab1f 79.33%, #c58800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-SemiBold", sans-serif;
  font-size: 22px;
}

.stdm-cart-item-controls {
  display: flex;
  align-items: center;
  justify-items: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 100px;
  border: 2px solid #d4af37;
  height: 54px;
  font-size: 20px;
}

.stdm-qty-btn {
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  margin: 0;
  font-weight: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.stdm-qty-value {
  min-width: 30px;
  text-align: center;
  font-weight: normal;
}

.stdm-remove-item {
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  color: #fff;
  font-size: 20px;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
    right: -15px;
    transform: translateX(-50%);
}

.stdm-remove-item:hover {
  background: #e74c3c;
}

.stdm-cart-empty {
  padding: 10px 0;
  color: #fff;
  font-size: 20px;
}

/* Cart Summary */
.stdm-cart-summary {
  border-top: 2px solid #444;
  padding-top: 20px;
  margin-bottom: 20px;
}

.stdm-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 20px;
}

.stdm-total-row {
  font-size: 24px;
  font-weight: bold;
  border-top: 2px solid #444;
  padding-top: 15px;
  margin-top: 15px;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #de9e0f 0%, #e9aa1f 22.6%, #ffc645 50.48%, #e9ab1f 79.33%, #c58800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-SemiBold", sans-serif;
}

#stdm-final-price {
  font-size: 30px;
}

/* Cart Actions */
.stdm-cart-actions {
  display: flex;
  flex-direction: column;
}

.stdm-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.stdm-btn-primary {
  font-size: 22px;
  height: 48px;
  width: 100%;
  color: #000;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px 4px;
  text-decoration: none;
  border-radius: 100px;
  background: linear-gradient(90deg, #a07006 0%, #ddac3f 50.48%, #b88209 100%);
}

.stdm-btn-primary:hover {
  background: #f2be4c;
}

.stdm-booking-actions .stdm-btn-primary {
  min-height: 48px;
  border: 2px solid #cfcfcf;
}

.stdm-btn-secondary {
  background: #27ae60;
  color: #fff;
}

.stdm-btn-secondary:hover {
  background: #2ecc71;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

/* Loading State */
.stdm-loading {
  text-align: center;
  padding: 40px;
  color: #d4af37;
}

/* Responsive */
@media (max-width: 1024px) {
  .stdm-content-wrapper {
    grid-template-columns: 1fr;
  }

  .stdm-cart-section {
    position: relative;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .stdm-hero-title {
    font-size: 24px;
  }

  .stdm-dishes-list {
    grid-template-columns: 1fr;
  }

  .stdm-category-tab {
    padding: 0 5px;
  }

  .stdm-cart-item-image {
    width: 100px;
    height: 100px;
  }
}

/* Rooms List Styles */
.stdm-rooms-container {
  margin: 0 auto;
}

/* Capacity Filters */
.stdm-capacity-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding: 0 100px;
  margin-bottom: 100px;
  margin-top: 70px;
}

.stdm-filter-btn {
  position: relative;
  padding: 16px 10px;
  background: transparent;
  background: linear-gradient(137.59deg, #f2be4c 0%, #d49a18 11.97%, #ffe6af 44.52%, #f1c155 73.71%, #8c6e2c 99.56%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  cursor: pointer;
  margin: 0;
  text-align: center;
}

.stdm-filter-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 100px;
  background: linear-gradient(137.59deg, #f2be4c 0%, #d49a18 11.97%, #ffe6af 44.52%, #f1c155 73.71%, #8c6e2c 99.56%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Rooms Grid */
.stdm-rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 24px;
}

.stdm-room-card {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  padding: 50px 30px;
}

.stdm-room-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: 16px;
  background: linear-gradient(137.59deg, #f2be4c 0%, #d49a18 11.97%, #ffe6af 44.52%, #f1c155 73.71%, #8c6e2c 99.56%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.stdm-room-image img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 20px;
}

.stdm-room-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 20px;
}

.stdm-room-content {
  padding: 0;
}

.stdm-room-name {
  letter-spacing: 0.04em;
  background: linear-gradient(137.59deg, #f2be4c 0%, #d49a18 11.97%, #ffe6af 44.52%, #f1c155 73.71%, #8c6e2c 99.56%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-Medium", sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
}

.stdm-room-capacity {
  font-size: 20px;
  margin-bottom: 20px;
}

.stdm-room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.stdm-amenity-item {
  font-size: 20px;
  color: #fff;
}

.stdm-amenity-item img {
  min-height: 56px;
}

.stdm-room-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.stdm-btn-outline {
  width: 46%;
  /* height: 60px; */
  font-size: 22px;
  color: #f2be4c;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 5px 7px;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(137.59deg, rgba(242, 190, 76, 0.5) 0%, rgba(212, 154, 24, 0.5) 11.97%, rgba(255, 230, 175, 0.5) 44.52%, rgba(241, 193, 85, 0.5) 73.71%, rgba(140, 110, 44, 0.5) 99.56%) border-box;
}

.stdm-btn-outline:hover {
  color: #fff;
}

.stdm-book-room-btn {
  width: 46%;
  height: 60px;
  font-size: 22px;
  color: #000;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 5px 7px;
  text-decoration: none;
  border-radius: 100px;
  background: linear-gradient(90deg, #a07006 0%, #ddac3f 50.48%, #b88209 100%);
}

.stdm-loadmore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.stdm-no-rooms {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 18px;
  grid-column: 1 / -1;
}

/* Room Detail Styles */
.stdm-room-detail-container {
  color: #fff;
  min-height: 100vh;
  padding: 40px 0;
}

.stdm-room-detail-header {
  max-width: 1500px;
  padding: 0 15px;
  margin: 0 auto 40px;
}

.stdm-back-btn {
  color: #d4af37;
  text-decoration: none;
  font-size: 20px;
  margin-bottom: 20px;
  display: inline-block;
  transition: all 0.3s;
}

.stdm-back-btn:hover {
  color: #f2be4c;
}

.stdm-room-detail-title {
  font-size: 44px;
  letter-spacing: 0.04em;
  background: linear-gradient(137.59deg, #f2be4c 0%, #d49a18 11.97%, #ffe6af 44.52%, #f1c155 73.71%, #8c6e2c 99.56%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-SemiBold", sans-serif;
  margin: 0;
}

.stdm-room-detail-content {
  max-width: 1500px;
  padding: 0 15px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.stdm-room-detail-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.stdm-room-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.stdm-room-hero {
  margin-bottom: 25px;
}

.stdm-room-hero-main img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #d4af37;
}

.stdm-room-hero-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.stdm-room-hero-thumb {
  flex: 0 0 120px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}

.stdm-room-hero-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.stdm-room-hero-thumb.active {
  border-color: #d4af37;
}

.stdm-room-hero-thumbs .slick-prev,
.stdm-room-hero-thumbs .slick-next {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.stdm-room-hero-thumbs .slick-prev:before {
  width: 8px;
  height: 15px;
  background-size: 100%;
  top: 6px;
}

.stdm-room-hero-thumbs .slick-next:before {
  width: 8px;
  height: 15px;
  background-size: 100%;
  top: 6px;
}

.stdm-room-detail-main {
  max-width: 650px;
}

.stdm-info-section {
  margin-bottom: 30px;
}

.stdm-info-section h2 {
  font-size: 28px;
  letter-spacing: 0.04em;
  background: linear-gradient(137.59deg, #f2be4c 0%, #d49a18 11.97%, #ffe6af 44.52%, #f1c155 73.71%, #8c6e2c 99.56%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-SemiBold", sans-serif;
  text-transform: uppercase;
}

.stdm-info-item {
  margin-bottom: 10px;
  font-size: 20px;
}

.stdm-info-item strong {
  background: linear-gradient(137.59deg, #f2be4c 0%, #d49a18 11.97%, #ffe6af 44.52%, #f1c155 73.71%, #8c6e2c 99.56%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stdm-room-amenities-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.stdm-room-description {
  font-size: 20px;
}

.stdm-room-description.stdm-desc {
  height: 40vh;
  overflow-y: scroll;
  font-size: 16px;
  line-height: 24px;
}

.stdm-room-description.stdm-desc::-webkit-scrollbar {
  height: 16px; /* Độ cao cho thanh cuộn ngang */
}

/* 2. Phần nền bên dưới (Track) */
.stdm-room-description.stdm-desc::-webkit-scrollbar-track {
  background: #1a1a1a; /* Màu nền tối để tiệp với gỗ */
  border-radius: 10px;
}

/* 3. Phần thanh trượt (Thumb) */
.stdm-room-description.stdm-desc::-webkit-scrollbar-thumb {
  background: #d4af37; /* Màu vàng đồng (giống chữ 'Tất cả') */
  border-radius: 10px;
  border: 2px solid #1a1a1a; /* Tạo khoảng cách giữa thanh trượt và viền */
}

/* 4. Hiệu ứng khi di chuột vào (Hover) */
.stdm-room-description.stdm-desc::-webkit-scrollbar-thumb:hover {
  background: #b8860b; /* Vàng đậm hơn khi hover */
}

.stdm-room-detail-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
  max-width: 400px;
}

.stdm-booking-box {
  padding: 26px;
  position: relative;
}

.stdm-booking-box:before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(137.59deg, #f2be4c 0%, #d49a18 11.97%, #ffe6af 44.52%, #f1c155 73.71%, #8c6e2c 99.56%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.stdm-booking-box h2 {
  font-size: 28px;
  letter-spacing: 0.04em;
  background: linear-gradient(137.59deg, #f2be4c 0%, #d49a18 11.97%, #ffe6af 44.52%, #f1c155 73.71%, #8c6e2c 99.56%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-SemiBold", sans-serif;
  text-transform: uppercase;
  text-align: center;
}

.stdm-booking-info {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #444;
}

.stdm-booking-info p {
  margin-bottom: 10px;
  font-size: 20px;
}

.stdm-booking-info strong {
  color: #d4af37;
}

.stdm-booking-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.stdm-booking-form input,
.stdm-booking-form select {
  width: 100% !important;
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(137.59deg, rgba(242, 190, 76, 0.5) 0%, rgba(212, 154, 24, 0.5) 11.97%, rgba(255, 230, 175, 0.5) 44.52%, rgba(241, 193, 85, 0.5) 73.71%, rgba(140, 110, 44, 0.5) 99.56%) border-box !important;
  height: 48px !important;
  font-size: 20px !important;
  margin-bottom: 0;
  padding: 0 20px !important;
  color: rgba(255, 255, 255, 1) !important;
}

.stdm-booking-form textarea {
  border: 2px solid transparent;
  border-radius: 10px;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(137.59deg, rgba(242, 190, 76, 0.5) 0%, rgba(212, 154, 24, 0.5) 11.97%, rgba(255, 230, 175, 0.5) 44.52%, rgba(241, 193, 85, 0.5) 73.71%, rgba(140, 110, 44, 0.5) 99.56%) border-box;
  height: 83px;
  font-size: 20px;
  margin-bottom: 0;
  width: 100%;
  padding: 15px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.stdm-booking-form select option {
  background-color: #1a1a1a;
  color: #fff;
  font-size: 16px;
  padding: 10px;
}

.stdm-booking-form input:focus,
.stdm-booking-form textarea:focus {
  outline: none;
  border-color: #d4af37;
}

.stdm-booking-field {
  margin-bottom: 10px;
}

.stdm-booking-row {
  display: flex;
  gap: 10px;
}

.stdm-booking-field-date-time {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.stdm-booking-field-date-time > div {
  width: 100%;
}

.stdm-booking-field-date input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.stdm-booking-field-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stdm-booking-field-date div {
  width: 100%;
}

.stdm-booking-field-date div input {
  width: 100%;
}

.stdm-booking-field-time div input {
  width: 100%;
}

.stdm-booking-field-date label,
.stdm-booking-field-date-time label {
  color: #fff;
  font-size: 1em;
  font-weight: normal;
}

.stdm-room-calendar {
  margin-top: 10px;
}

.stdm-room-date-input {
  width: 220px;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
}

.stdm-btn-block {
  width: 100%;
  text-align: center;
}

.stdm-room-not-found {
  text-align: center;
  padding: 100px 20px;
  color: #888;
  font-size: 20px;
}

/* Trang đặt món: không có key / mã không hợp lệ */
.stdm-menu-no-key .stdm-no-key-message {
  text-align: center;
  padding: 40px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.stdm-menu-no-key .stdm-no-key-message p {
  margin-bottom: 15px;
  color: #ddd;
}

.stdm-menu-no-key .stdm-no-key-message .stdm-btn {
  margin-top: 15px;
}

/* Chi tiết phòng: sau khi đặt phòng - mã key + QR */
.stdm-booking-success-box .stdm-order-key-box {
  margin-top: 15px;
  padding: 15px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid #d4af37;
  border-radius: 8px;
}

.stdm-order-key-box code {
  font-size: 1.2em;
  padding: 4px 8px;
  background: #1a1a1a;
  border-radius: 4px;
}

.stdm-order-key-box a {
  color: #d4af37;
  word-break: break-all;
}

.stdm-qr-code-wrap {
  margin-top: 10px;
  text-align: center;
}

.stdm-qr-code-wrap img {
  display: block;
  margin: 0 auto 8px;
}

.stdm-qr-caption {
  color: rgba(255, 255, 255, 1);
}

.stdm-order-hint {
  color: rgba(255, 255, 255, 1);
  margin: 0;
}

/* Trang đặt món có key: hiển thị mã + phòng */
.stdm-room-key-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.stdm-key-badge {
  background: rgba(212, 175, 55, 0.2);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 1em;
}

/* Responsive */
@media (max-width: 1024px) {
  .stdm-room-detail-content {
    grid-template-columns: 1fr;
  }

  .stdm-room-detail-sidebar {
    position: relative;
  }

  .stdm-rooms-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .stdm-rooms-grid {
    grid-template-columns: 1fr;
  }

  .stdm-room-card {
    padding: 30px 20px;
  }

  .stdm-room-name {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .stdm-room-amenities {
    margin-bottom: 10px;
  }

  .stdm-room-capacity,
  .stdm-amenity-item {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .stdm-amenity-item img {
    max-width: 40px;
  }

  .stdm-capacity-filters {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 50px;
  }

  .stdm-filter-btn {
    font-size: 16px;
  }

  .stdm-loadmore-wrap .stdm-btn-outline {
    width: 100%;
  }

  .stdm-room-detail-content {
    display: flex;
    flex-flow: column;
    gap: 20px;
  }

  .stdm-room-detail-title,
  .stdm-section-title {
    font-size: 30px;
  }

  .stdm-info-item,
  .stdm-room-description {
    font-size: 16px;
  }

  .stdm-info-section h2,
  .stdm-booking-box h2 {
    font-size: 24px;
  }

  .stdm-booking-form input,
  .stdm-booking-form select,
  .stdm-booking-form textarea {
    font-size: 16px !important;
  }

  .stdm-content-wrapper {
    display: flex;
    flex-flow: column;
  }

  .stdm-dish-item {
    display: flex;
    flex-flow: column;
  }

  .stdm-dish-name,
  .stdm-dish-price,
  .stdm-cart-section .stdm-section-title {
    font-size: 24px;
  }

  .stdm-dish-description {
    font-size: 16px;
  }

  .stdm-room-info,
  .stdm-cart-empty {
    font-size: 16px;
  }

  .stdm-summary-row {
    font-size: 20px;
  }

  #stdm-final-price {
    font-size: 24px;
  }

  .stdm-room-info span {
    display: inline-block;
  }

  .stdm-cart-section {
    padding: 20px;
  }

  .stdm-cart-item {
    gap: 20px;
  }

  .stdm-cart-flex {
    flex-flow: column;
    align-items: start;
  }

  .stdm-cart-item-name {
    font-size: 16px;
  }

  .stdm-cart-item-price {
    font-size: 18px;
  }

  .stdm-cart-item-controls {
    height: 40px;
    font-size: 16px;
  }

  .stdm-search-bar .stdm-search-input {
    max-width: 100%;
    font-size: 16px;
  }

  .stdm-cats-tabs {
    flex-flow: wrap;
    margin-bottom: 10px;
    gap: 10px 20px;
    top: 0;
  }

  .stdm-cats-tabs button {
    width: auto;
    margin-bottom: 0;
  }

  .stdm-btn-outline,
  .stdm-book-room-btn {
    font-size: 20px;
  }

  .stdm-btn-primary {
    font-size: 20px;
  }
}

/* Food Slider Styles */

.food-slider {
  margin-left: -15px;
  margin-right: -15px;
}

.food-items {
  margin: 0 15px;
}

.food-item {
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  font-size: 20px;
}

.food-item::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 40px;
  background: linear-gradient(90deg, #dca720 0%, rgba(220, 167, 32, 0) 70.19%, rgba(220, 167, 32, 0.6) 92.31%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 9;
}

.food-item::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 100%;
  background: linear-gradient(270deg, #000000 64.68%, rgba(0, 0, 0, 0.288462) 89.81%, rgba(0, 0, 0, 0) 100%);
  top: 0;
  right: 0;
  z-index: 2;
}

.food-item-image {
  border-radius: 40px;
  overflow: hidden;
  max-width: 60%;
}

.food-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.food-item-text {
  position: absolute;
  box-shadow: none;
  text-shadow: none;
  height: 100%;
  width: 50%;
  right: 0;
  z-index: 9;
  padding: 20px 15px 20px 30px;
}

.food-item h3 {
  font-size: 36px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #de9e0f 0%, #e9aa1f 22.6%, #ffc645 50.48%, #e9ab1f 79.33%, #c58800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-SemiBold", sans-serif;
  text-transform: uppercase;
}

.category {
  font-size: 24px;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #de9e0f 0%, #e9aa1f 22.6%, #ffc645 50.48%, #e9ab1f 79.33%, #c58800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  font-family: "Lora-SemiBold", sans-serif;
  text-transform: uppercase;
}

.food-item p {
  color: #fff;
}

.slick-prev,
.slick-next {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  z-index: 10;
  background: linear-gradient(90deg, #cd971e 0%, #ffd16b 50.48%, #b88209 100%) !important;
  border: 2px solid #cd971e !important;
}

.slick-prev:before {
  content: "";
  position: absolute;
  background-image: url(icon-slide.svg);
  width: 16px;
  height: 30px;
  left: 0;
  right: 0;
  top: 12px;
  bottom: 0;
  margin: 0 auto;
}

.slick-next:before {
  content: "";
  position: absolute;
  background-image: url(icon-slide.svg);
  width: 16px;
  height: 30px;
  left: 0;
  right: 0;
  top: 12px;
  bottom: 0;
  margin: 0 auto;
  transform: rotate(180deg);
}

.food-slider-style {
  display: flex;
  gap: 30px;
}

.food-slider-style .food-items {
  margin: 0;
}

.food-slider-style .food-slider:last-child .food-item::after {
  left: 0;
}

.food-slider-style .food-item-image {
  max-width: 100%;
}

.food-slider-style .food-items:last-child .food-item-text {
  left: 0;
  padding-left: 30px;
  width: 55%;
}

.food-slider-style .food-items:last-child .food-item::after {
  background: none;
}

@media (max-width: 768px) {
  .food-slider-style {
    flex-flow: column;
  }

  .food-slider-style .food-item-text {
    font-size: 16px;
  }

  .food-slider {
    margin: 0;
  }

  .food-items {
    margin: 0;
  }

  .food-item {
    font-size: 14px;
  }

  .food-item-text {
    padding: 20px 10px;
  }

  .food-item img {
    height: 220px;
  }

  .food-item h3 {
    font-size: 24px;
  }

  .category {
    font-size: 16px;
  }

  .slick-prev,
  .slick-next {
    width: 50px;
    height: 50px;
  }

  .slick-prev:before {
    background-size: 80%;
    background-repeat: no-repeat;
  }

  .slick-next:before {
    top: 7px;
    background-size: 80%;
    background-repeat: no-repeat;
  }
}
