/* Common Styles for RealPlate */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.5;
  overflow-x: hidden; /* on body so sticky/fixed inside .app-container work on mobile (iOS) */
}

.app-container {
  max-width: 100%;
  margin: 0 auto;
  background: white;
  min-height: 100vh;
  position: relative;
  padding-bottom: 70px;
}

@media (min-width: 1024px) {
  body {
    background-color: #f0f2f5;
  }

  .app-container {
    max-width: 1200px !important;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 70px);
    margin-bottom: 70px;
  }
  .bottom-nav {
    max-width: 1200px;
    margin: auto;
  }
}

/* Header Styles */
.app-header {
  background: linear-gradient(135deg, #ff5e57 0%, #ff2e63 100%);
  color: white;
  padding: 15px 12px;
  box-shadow: 0 2px 10px rgba(255, 46, 99, 0.2);
}

.menu-header,
.order-header {
  background: linear-gradient(135deg, #ff5e57 0%, #ff2e63 100%);
  color: white;
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 100;
}

@media (min-width: 768px) {
  .app-header,
  .menu-header,
  .order-header {
    padding: 20px 30px;
  }
}

@media (min-width: 1024px) {
  .app-header,
  .menu-header,
  .order-header {
    //border-radius: 15px 15px 0 0;
  }
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 2px;
}

.currency-icon {
  font-size: 18px;
  cursor: pointer;
}

.app-header h1 {
  font-size: 1.4rem;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Common header row: Desktop [ Logo 30% | Search 60% | Cart 10% ] one line, Mobile: row1 Logo+Cart, row2 Search */
.header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.header-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.header-logo-wrap .header-logo,
.header-logo-wrap .header-logo-icon,
.header-logo-wrap .header-brand {
  color: inherit;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-logo-wrap .header-logo .logo-icon,
.header-logo-icon .logo-icon {
  font-size: 1.2em;
}
.header-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.header-brand .header-site-name {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}
.header-tagline {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.95;
  margin: 0;
  text-align: left;
  line-height: 1.3;
}
.header-brand .header-tagline {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.95;
}
.header-search-wrap {
  min-width: 0;
  flex: 1 1 0;
}
.header-search-wrap .search-box {
  width: 100%;
}
.header-cart-wrap {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
/* Desktop: one row only, 30% | 60% | 10% (search shrinks to absorb gap); hide tagline on desktop */
@media (min-width: 768px) {
  .header-row {
    flex-wrap: nowrap;
  }
  .header-logo-wrap {
    flex: 0 0 30%;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .header-tagline {
    display: none;
  }
  .header-search-wrap {
    flex: 1 1 60%;
    min-width: 0;
  }
  .header-cart-wrap {
    flex: 0 0 10%;
  }
}
.header-cart-wrap .header-cart-link {
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  position: relative;
}
.header-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  background: #0d9488;
  color: #fff;
  border-radius: 10px;
}
/* Mobile: logo icon left, site name center, cart right; search full width below */
@media (max-width: 767px) {
  .header-row {
    gap: 10px;
    align-items: center;
  }
  .header-logo-wrap {
    display: contents;
  }
  .header-logo-wrap .header-logo-icon {
    order: 1;
    flex: 0 0 auto;
    padding: 4px 0;
  }
  .header-logo-wrap .header-brand {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .header-logo-wrap .header-brand .header-tagline {
    text-align: center;
  }
  .header-cart-wrap {
    order: 3;
    flex: 0 0 auto;
  }
  .header-search-wrap {
    order: 4;
    flex-basis: 100%;
    width: 100%;
    margin-top: 10px;
    padding-top: 0;
  }
  .header-search-wrap .search-box {
    max-width: none;
  }
  /* Legacy single .header-logo (no split): keep as one block on mobile when used */
  .header-logo-wrap .header-logo {
    order: 1;
    flex: 1 1 auto;
  }
}

.tagline {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: center;
}

/* Back Button */
.back-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .back-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

/* Search Box */
.search-box {
  background: white;
  border-radius: 25px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  background: transparent;
}

.search-icon {
  color: #ff2e63;
  cursor: pointer;
  font-size: 18px;
}

/* Site-wide image placeholder (same look as Spotlight: gradient + <i class="fas fa-store"></i>) */
.img-placeholder-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  display: none;
  align-items: center;
  justify-content: center;
}
.img-placeholder-fallback.show {
  display: flex;
}
.img-placeholder-fallback i {
  font-size: 2.5rem;
  color: #94a3b8;
  opacity: 0.8;
}

/* Tabs – stick below header (top = header height so no overlap) */
.tabs-container {
	background: white;
	display: flex;
	justify-content: center;
	gap: 15px;
	padding: 12px 15px;
	border-bottom: 1px solid #eee;
	position: sticky;
	//top: 155px;
	z-index: 99;
	overflow-x: auto;
}

.tab {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 0;
  color: #666;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab.active {
  color: #ff2e63;
  border-bottom: 3px solid #ff2e63;
}

.tab i {
  font-size: 16px;
}

/* Filters */
.filter-container {
  padding: 12px 12px 8px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 480px) {
  .filter-container {
    padding: 10px 12px 6px;
  }
}
.filter-label {
  font-weight: 600;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
}

.filter-btn {
  background: white;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.filter-btn.active {
  background: #ff2e63;
  color: white;
  border-color: #ff2e63;
}

/* Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px 10px;
}
 
.section-header h2 {
    margin: 0;
    font-weight: 600; 
    font-size: 1.4rem;
    color: #222;
}
.view-all-btn {
  background: #ff2e63;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.view-all-btn:hover {
  text-decoration: none;
  color: white;
}

/* Section footer: "View All" button below each homepage section */
.section-footer {
  padding: 12px 12px 20px;
  text-align: center;
}
.section-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #ff2e63;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.section-view-all-btn:hover {
  background: #e62858;
  color: #fff;
  text-decoration: none;
}
.section-view-all-btn:active {
  transform: scale(0.98);
}

/* Hotel Grid */
.hotels-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 12px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .hotels-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 16px;
  }
}


/* Hotels container update */
.hotels-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 15px;
}

/* Tab container */
.tabs-container {
    display: flex;
    justify-content: center;
    background: white;
    border-bottom: 1px solid #eee;
    padding: 0 15px;
    overflow-x: auto;
}

.tab {
    padding: 15px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab:hover {
    color: #ff2e63;
}

.tab.active {
    color: #ff2e63;
    border-bottom-color: #ff2e63;
}

/* Tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
 



/* Enhanced hotel card styling to match prototype exactly */
.hotel-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Updated hotel card structure to use proper img tags instead of background-image */
.hotel-image {
  width: 100%;
  height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ddd;
}
@media (max-width: 480px) {
  .hotel-image {
    height: 90px;
  }
}
.hotel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-image:hover img {
  transform: scale(1.05);
}

.hotel-image:hover {
  cursor: pointer;
}

/* Rating badge positioning */
.hotel-rating {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 3px 6px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Updated hotel-info to be hotel-details like prototype */
.hotel-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #888;
}

@media (min-width: 768px) {
  .hotel-info {
    font-size: 0.85rem;
  }
}

.hotel-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: color 0.2s;
}

.hotel-info h3:hover {
  color: #ff2e63;
}

@media (min-width: 768px) {
  .hotel-info h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
}

.hotel-info .cuisine {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .hotel-info .cuisine {
    font-size: 13px;
    margin-bottom: 10px;
  }
}

/* Updated hotel-meta styling for distance and time */
.hotel-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
  gap: 6px;
}

.hotel-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hotel-meta i {
  font-size: 12px;
  color: #ff2e63;
}

@media (min-width: 768px) {
  .hotel-meta {
    font-size: 13px;
  }

  .hotel-meta i {
    font-size: 13px;
  }
}

/* Enhanced details section with better spacing */
.hotel-details {
  padding: 10px;
}

@media (min-width: 768px) {
  .hotel-details {
    padding: 15px;
  }
}

/* Improved hotel name styling */
.hotel-name {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hotel-name {
    font-size: 15px;
    margin-bottom: 4px;
  }
}

/* Cuisine text styling */
.hotel-cuisine {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hotel-cuisine {
    font-size: 13px;
    margin-bottom: 10px;
  }
}

/* Better info section with icons and spacing */
.hotel-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #888;
}

.hotel-info span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hotel-info i {
  font-size: 12px;
  //color: #ff2e63;
}

@media (min-width: 768px) {
  .hotel-info {
    font-size: 13px;
  }

  .hotel-info i {
    font-size: 13px;
  }
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.no-results i {
  font-size: 40px;
  color: #ddd;
  margin-bottom: 12px;
}

/* ========== RESTAURANT PAGE STYLES ========== */

.hotel-title {
  flex: 1;
  margin-left: 15px;
}

@media (min-width: 768px) {
  .hotel-title {
    margin-left: 20px;
  }
}

.hotel-title h1 {
  font-size: 1.3rem;
  margin-bottom: 3px;
}

@media (min-width: 768px) {
  .hotel-title h1 {
    font-size: 1.6rem;
  }
}

.hotel-address {
  font-size: 0.8rem;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hotel-address {
    font-size: 0.95rem;
  }
}

.menu-header .hotel-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 10px;
  color: #fff;
}

@media (min-width: 768px) {
  .menu-header .hotel-info {
   /* font-size: 0.95rem;
    margin-top: 12px;
    justify-content: flex-start;
    gap: 30px;*/
  }
}

.rating {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (min-width: 768px) {
  .rating {
    padding: 6px 14px;
  }
}

.menu-container {
  padding: 15px;
}

@media (min-width: 768px) {
  .menu-container {
    padding: 25px 30px;
  }
}

@media (min-width: 1024px) {
  .menu-container {
    padding: 30px 40px;
    min-height: 500px;
  }
}

.section-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #333;
  padding-bottom: 8px;
  border-bottom: 2px solid #ff2e63;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }
}

.menu-items {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .menu-items {
    gap: 15px;
  }
}

.menu-item {
  background: white;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.menu-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-color: #ff2e63;
}

@media (min-width: 768px) {
  .menu-item {
    padding: 15px;
  }
}

.item-details {
  flex: 1;
}

.item-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

@media (min-width: 768px) {
  .item-name {
    font-size: 1.1rem;
  }
}

.item-price {
  font-size: 0.9rem;
  color: #ff2e63;
  font-weight: 600;
}

@media (min-width: 768px) {
  .item-price {
    font-size: 1rem;
  }
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-btn {
  background: #ff2e63;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.add-btn:hover {
  background: #ff1744;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .add-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 20px;
}

@media (min-width: 768px) {
  .quantity-controls {
    padding: 6px 12px;
  }
}

.qty-btn {
  background: #ff2e63;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: #ff1744;
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .qty-btn {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}

.qty-display {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .qty-display {
    font-size: 1rem;
    min-width: 24px;
  }
}

.order-summary {
   
}

.order-summary.active {
  display: flex;
}

@media (min-width: 768px) {
  .order-summary {
	 
  }
}

@media (min-width: 1024px) {
  .order-summary {
   }
}

.order-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-items-count {
  font-size: 0.85rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .order-items-count {
    font-size: 0.95rem;
  }
}

.order-total {
  font-size: 1.1rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .order-total {
    font-size: 1.3rem;
  }
}

.view-order-btn {
  background: white;
  color: #ff2e63;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.view-order-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .view-order-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* ========== ORDER PAGE STYLES ========== */

.address-section {
  padding: 15px;
  background: white;
  border-bottom: 1px solid #eee;
}

@media (min-width: 768px) {
  .address-section {
    padding: 20px 30px;
  }
}

.address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.address-header h2 {
  font-size: 1.1rem;
  color: #333;
}

@media (min-width: 768px) {
  .address-header h2 {
    font-size: 1.3rem;
  }
}

.change-address-btn {
  background: #ff2e63;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.change-address-btn:hover {
  background: #ff1744;
  transform: scale(1.05);
}

.address-details {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid #ff2e63;
}

@media (min-width: 768px) {
  .address-details {
    padding: 15px 20px;
    border-left: 4px solid #ff2e63;
  }
}

.address-line {
  font-size: 0.95rem;
  margin-bottom: 5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.address-line i {
  color: #ff2e63;
  margin-top: 2px;
}

.order-summary-section {
  padding: 15px;
}

@media (min-width: 768px) {
  .order-summary-section {
    padding: 25px 30px;
  }
}

@media (min-width: 1024px) {
  .order-summary-section {
    padding: 30px 40px;
    min-height: 500px;
  }
}

.order-summary-section h2 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #333;
}

@media (min-width: 768px) {
  .order-summary-section h2 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
  }
}

.order-summary-section .hotel-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

@media (min-width: 768px) {
  .order-summary-section .hotel-info {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 25px;
  }
}

.hotel-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff5e57 0%, #ff2e63 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-right: 12px;
}

@media (min-width: 768px) {
  .hotel-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-right: 20px;
  }
}

.hotel-details h3 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.hotel-details p {
  font-size: 0.85rem;
  color: #666;
}

@media (min-width: 768px) {
  .hotel-details h3 {
    font-size: 1.2rem;
  }
  .hotel-details p {
    font-size: 0.95rem;
  }
}

.order-items-list {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .order-items-list {
    margin-bottom: 30px;
  }
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .order-item {
    padding: 15px 20px;
  }
}

.item-left {
  flex: 1;
}

.item-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.item-quantity {
  font-size: 0.9rem;
  color: #666;
}

@media (min-width: 768px) {
  .item-quantity {
    font-size: 1rem;
  }
}

.item-total {
  font-size: 1rem;
  font-weight: 600;
  color: #ff2e63;
  min-width: 70px;
  text-align: right;
}

@media (min-width: 768px) {
  .item-total {
    font-size: 1.1rem;
    min-width: 90px;
  }
}

.remove-btn {
  background: #ff4444;
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.remove-btn:hover {
  background: #cc0000;
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .remove-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

.bill-details {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .bill-details {
    padding: 20px;
    margin-bottom: 30px;
  }
}

.bill-details h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #333;
}

@media (min-width: 768px) {
  .bill-details h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
}

.bill-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.empty-cart {
  text-align: center;
  padding: 50px 20px;
  color: #888;
}
.empty-cart i {
  font-size: 4rem;
  margin-bottom: 15px;
  color: #ddd;
}
.empty-cart h3 {
  margin-bottom: 10px;
  color: #666;
  font-size: 1.3rem;
}
.empty-cart p {
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.browse-btn {
  background: #ff2e63;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .empty-cart {
    padding: 80px 20px;
  }
  .empty-cart i {
    font-size: 5rem;
    margin-bottom: 20px;
  }
  .empty-cart h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  .empty-cart p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .browse-btn {
    padding: 14px 35px;
    font-size: 1rem;
  }
}

.browse-btn:hover {
  background: #ff1744;
  transform: scale(1.05);
}

/* Adding comprehensive modal styles for login and address edit */

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: block;
  opacity: 1;
}

/* Desktop Modal */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: white;
  border-radius: 15px;
  z-index: 1001;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.modal.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

/* Mobile Bottom Sheet */
@media (max-width: 768px) {
  .modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    transform: translateY(100%);
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    transition: transform 0.3s ease;
  }

  .modal.active {
    transform: translateY(0);
  }
}

/* Modal Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(135deg, #ff5e57 0%, #ff2e63 100%);
  color: white;
  border-radius: 15px 15px 0 0;
}

.modal-header h2 {
  font-size: 1.2rem;
  margin: 0;
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Modal Body */
.modal-body {
  padding: 20px;
}

/* Form Styles */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #ff2e63;
  box-shadow: 0 0 0 3px rgba(255, 46, 99, 0.1);
}

/* Google Places Autocomplete Dropdown */
.pac-container {
  background-color: #fff;
  position: fixed;
  display: none;
  border-radius: 0 0 8px 8px;
  border: 1px solid #ddd;
  border-top: none;
  z-index: 1002;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pac-container.pac-opened {
  display: block;
}

.pac-item {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
}

.pac-item:hover,
.pac-item.pac-selected {
  background-color: #f0f0f0;
}

.pac-item-query {
  color: #ff2e63;
  font-weight: 600;
}

/* Modal Footer/Actions */
.modal-actions {
  display: flex;
  gap: 10px;
  padding: 15px 20px;
  border-top: 1px solid #eee;
  background: #f8f9fa;
  border-radius: 0 0 15px 15px;
}

.modal-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #ff5e57 0%, #ff2e63 100%);
  color: white;
}

.modal-btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 46, 99, 0.3);
}

.modal-btn-secondary {
  background: #eee;
  color: #333;
}

.modal-btn-secondary:hover {
  background: #ddd;
}

/* Loading States */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f0f0f0;
  border-top: 3px solid #ff2e63;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Error Messages */
.error-message {
  background: #ffe0e0;
  color: #cc0000;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  border-left: 4px solid #cc0000;
}

/* Success Messages */
.success-message {
  background: #e0ffe0;
  color: #009900;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  border-left: 4px solid #009900;
}

/* Tab Navigation in Modal */
.modal-tabs {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  margin-top: 20px;
  border-bottom: 1px solid #eee;
}

.modal-tab {
  background: none;
  border: none;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 600;
  color: #666;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.modal-tab.active {
  color: #ff2e63;
  border-bottom-color: #ff2e63;
}

@media (min-width: 768px) {
  .modal {
    max-width: 600px;
  }

  .modal-header {
    padding: 25px;
  }

  .modal-header h2 {
    font-size: 1.4rem;
  }

  .modal-body {
    padding: 25px;
  }

  .modal-actions {
    padding: 20px 25px;
  }

  .form-group input,
  .form-group select {
    padding: 14px 16px;
    font-size: 1.05rem;
  }
}


.action-buttons {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.whatsapp-order-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    width: 100%;
}.edit-order-btn {
    background: #ff2e63;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-decoration: none;
    transition: all 0.2s;
}
@media (min-width: 768px) {
    .sticky-actions, .action-buttons {
        padding: 15px 30px;
        bottom: 70px;
        flex-direction: row;
        justify-content: space-between;
    }.whatsapp-order-btn {
        flex: 2;
        padding: 16px;
        font-size: 1.1rem;
    }.edit-order-btn {
        flex: 1;
        padding: 16px;
        font-size: 1rem;
        margin-left: 15px;
    }
}
@media (min-width: 1024px) {
    .sticky-actions, .action-buttons {
        max-width: 1200px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 15px 15px 0 0;
        bottom: 80px;
        border: none;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    }
}
/* ========= New ================ */
/* Clickable search box */
.clickable-search {
    cursor: pointer;
}

.clickable-search input {
    cursor: pointer;
    background: #f8f9fa;
}

 