/* ===== Menu Row ===== */
.single-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

/* ===== Left Side ===== */
.single-menu .menu-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Logo */
.single-menu .menu-logo {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.single-menu .menu-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text */
.single-menu .menu-text .menu-title {
  font-size: 16px;
  font-weight: 600;
  color: #444;
  line-height: 1.2;
}

.single-menu .menu-text .menu-subtitle {
  font-size: 16px;
  color: #555;
  margin-top: 2px;
}

/* ===== Right Side (Price) ===== */
.single-menu .menu-price {
  font-size: 16px;
  font-weight: 700;
  color:#05a94a;
  white-space: nowrap;
}
.menu-subtitle {
  margin-left: 36px;
}
/* ===== Number Circle ===== */
.menu-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
  margin-right: 8px;

  background-color: #ffcc33;   /* เหลือง */
  color: #000;                 /* ดำ */

  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;   /* ⭐ ห้ามโดนบีบ */

}
.reserve-btn{
  display: inline-block;

  background-color: #06C755; /* สี LINE */
  color: #fff;

  font-size: 18px;
  font-weight: 600;
  text-align: center;

  padding: 14px 28px;   /* ⭐ ทำให้กดง่าย */
  border-radius: 30px;

  text-decoration: none;

  min-height: 48px;     /* ⭐ มาตรฐานมือถือ */
  line-height: 20px;

  transition: all 0.25s ease;
}

/* hover desktop */
.reserve-btn:hover{
  background-color: #05a94a;
  color:#fff;
}

/* เวลากดมือถือ */
.reserve-btn:active{
  transform: scale(0.97);
}


.follow-modern{
text-align:center;
color:#fff;
max-width:520px;
margin:auto;
}

.follow-modern h3{
font-size:26px;
margin-bottom:10px;
}

.follow-modern p{
opacity:0.9;
margin-bottom:25px;
}

.social-icons{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
}

.social-btn{
display:flex;
align-items:center;
gap:10px;
color:#fff;
text-decoration:none;
font-weight:600;
font-size:16px;
}

.icon{
width:38px;
height:38px;
background:#fff;
color:#d60000; /* สีแดงเว็บ */
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
}

.social-btn:hover{
opacity:0.8;
}
.social-icons{
display:flex;
gap:20px;
justify-content:flex-start;
margin-top:20px;
text-align:left;
}
.icon:hover{
transform:translateY(-4px);
transition:0.3s;
}

.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}
.social-btn {
  color: inherit;          /* ใช้สีเดิม ไม่เป็นน้ำเงิน */
  text-decoration: none;   /* เอาเส้นใต้ออก */
}

.social-btn:hover {
  color: inherit;          /* hover ก็ยังสีเดิม */
  text-decoration: none;   /* ไม่ให้มีเส้นใต้ */
}

.menu-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* ราคา */
.price {
    font-size: 20px;
    font-weight: bold;
    color: #22c55e; /* เขียวดูพรีเมียม */
}

/* ปุ่ม */
.add-cart-btn {
    background: linear-gradient(135deg, #22c55e, #22c55e);
    color: #fff;
    border: none;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
}

/* hover */
.add-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 0, 0, 0.3);
}

/* กด */
.add-cart-btn:active {
    transform: scale(0.95);
}

/* 🛒 ปุ่มลอย */
#cartButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff2d2d;
  color: white;
  padding: 14px 18px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(53, 51, 51, 0.221);
  z-index: 999;
}

#cartCount {
  background: white;
  color: red;
  padding: 2px 8px;
  border-radius: 50%;
  margin-left: 5px;
}

/* =========================
   🛒 CART DRAWER (FULL RESPONSIVE)
   ========================= */

/* 🧾 Drawer */
#cartDrawer {
  position: fixed;
  right: -100%;
  top: 0;

  width: 100%;
  max-width: 420px;
  height: 100vh;

  background: #fff;
  z-index: 9999;

  display: flex;
  flex-direction: column;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  transition: right 0.3s ease;
}

#cartDrawer.open {
  right: 0;
}

/* 💻 Desktop ปรับให้ดูโปร */
@media (min-width: 768px) {
  #cartDrawer {
    max-width: 380px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    border-left: 1px solid #eee;
  }
}

/* 🧾 Header */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: #111;
  color: #fff;
}

.cart-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-header button {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.cart-header button:hover {
  background: #ff4d4d;
  transform: rotate(90deg);
}

/* 🛍️ Items */
#cartItems {
  padding: 12px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* ➕➖ */
.qty-btn {
  background: #eee;
  border: none;
  padding: 5px 10px;
  border-radius: 100px;
  cursor: pointer;
}

/* 📦 Footer */
.cart-footer {
  padding: 16px;
  border-top: 1px solid #eee;
  background: #fff;
}

/* 💳 Payment */
#transferBox {
  margin-top: 10px;
}

/* 🧾 QR */
#transferBox img {
  width: 100%;
  max-width: 220px;
  display: block;
  margin: 12px auto;
  border-radius: 10px;
}

/* 📥 Form */
#cartDrawer input,
#cartDrawer select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* 🚀 ปุ่ม */
.cart-footer button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #00c300, #00a000);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s;
}

.cart-footer button:hover {
  transform: translateY(-1px);
}

.cart-footer button:active {
  transform: scale(0.96);
}

/* 🛒 Floating Button */
#cartButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #22c55e;
  color: white;
  padding: 14px 18px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 999;
}

#cartCount {
  background: white;
  color: red;
  padding: 2px 8px;
  border-radius: 50%;
  margin-left: 5px;
}

/* 📱 Mobile (จอเตี้ย) */
@media (max-height: 700px) {

  .cart-footer {
    padding: 10px;
  }

  .cart-footer button {
    padding: 12px;
    font-size: 14px;
  }

  #cartDrawer input,
  #cartDrawer select {
    padding: 8px;
    font-size: 13px;
  }
}

/* =========================
   🌑 Overlay
   ========================= */
#cartOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;
  z-index: 9998;
}

/* เปิด Overlay */
#cartOverlay.show {
  opacity: 1;
  visibility: visible;
}

/* =========================
   🧾 Drawer Animation
   ========================= */
#cartDrawer {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#cartDrawer.open {
  transform: translateX(0);
}

/* 💻 Desktop เพิ่มความโปร */
@media (min-width: 768px) {
  #cartDrawer.open {
    box-shadow: -20px 0 40px rgba(0,0,0,0.25);
  }
}

/* กัน iOS ซ่อน icon */
input[type="date"],
input[type="time"] {
  -webkit-appearance: auto;
  appearance: auto;
  background-color: #fff;
  color: #000;
  position: relative;
}

/* เพิ่ม icon เผื่อเครื่องไม่โชว์ */
input[type="date"]::before {
  content: "📅 ";
  margin-right: 5px;
}

input[type="time"]::before {
  content: "⏰ ";
  margin-right: 5px;
}


.qty-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-control button {
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
}

.qty-control .minus {
    background: #ddd;
}

.qty-control .plus {
    background: #22c55e;
    color: #fff;
}

.qty-number {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}