@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/********** Template CSS — EazyDine Premium **********/
html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

:root {
  --primary: #C8400A;
  --primary-light: #E86834;
  --secondary: #F4A044;
  --accent: #1A1A2E;
  --light: #FDF6EE;
  --dark: #1C1009;
  --gray: #7A6E65;
  --border: rgba(200, 64, 10, 0.12);
  --card-bg: #FFFBF7;
  --shadow-sm: 0 2px 12px rgba(28,16,9,0.07);
  --shadow-md: 0 8px 32px rgba(28,16,9,0.12);
  --shadow-lg: 0 20px 60px rgba(28,16,9,0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  display: none;
  right: 32px;
  bottom: 32px;
  z-index: 99;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.my-6 { margin-top: 6rem; margin-bottom: 6rem; }
.py-6 { padding-top: 6rem; padding-bottom: 6rem; }

.bg-icon {
  background: url(../img/bg-icon.png) center center repeat;
  background-size: contain;
}

/* ========== SPINNER ========== */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}
#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/* ========== BUTTONS ========== */
.btn {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  border-radius: 50px;
  padding: 10px 24px;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200,64,10,0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff !important;
}
.btn-secondary:hover {
  background: var(--primary);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 50px;
  padding: 10px 24px;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff !important;
}

.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 36px; height: 36px; }
.btn-lg-square { width: 52px; height: 52px; }

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50%;
}

/* ========== NAVBAR ========== */
.fixed-top { transition: var(--transition); }

.top-bar {
  height: 44px;
  background: var(--accent);
  border-bottom: none;
}
.top-bar a {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--transition);
}
.top-bar a:hover { color: #fff !important; }

.navbar {
  min-height: 68px;
  padding: 12px 0;
  background: rgba(253, 246, 238, 0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar-brand h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 6px;
  font-size: 0.8em;
}

.navbar .navbar-nav .nav-link {
  padding: 8px 14px;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  outline: none;
  position: relative;
  transition: var(--transition);
}

.navbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

/* ========== MOBILE TOGGLER FIX ========== */
/* Give the button a visible branded border */
.navbar-toggler {
  border: 1.5px solid var(--primary) !important;
  border-radius: var(--radius-sm) !important;
  padding: 5px 9px;
  transition: var(--transition);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(200, 64, 10, 0.2);
  outline: none;
}

.navbar-toggler:hover {
  background: rgba(200, 64, 10, 0.06);
}

/* Replace Bootstrap's default grey hamburger SVG with brand-red lines */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C8400A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
/* ================================================== */

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid var(--border);
    background: #fff;
    padding: 12px;
    border-radius: var(--radius-sm);
  }
  .navbar .navbar-nav .nav-link { padding: 10px 8px; }
  .navbar .navbar-nav .nav-link::after { display: none; }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: .4s;
    opacity: 0;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px;
  }
  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    opacity: 1;
  }
}

.btn-sm-square {
  background: white;
  border: 1px solid var(--border);
  color: var(--dark);
  transition: var(--transition);
}
.btn-sm-square:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white !important;
  transform: scale(1.08);
}
.btn-sm-square i, .btn-sm-square small { color: inherit !important; }

.dropdown-menu {
  min-width: 220px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
}
.dropdown-item {
  padding: 9px 12px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--light);
  color: var(--primary);
}
.dropdown-item i { color: var(--primary); margin-right: 6px; width: 16px; }
.dropdown-header { padding: 8px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.dropdown-header h6 { font-family: 'Playfair Display', serif; font-size: 0.95rem; margin: 4px 0 0; }
.profile-image { border: 2px solid var(--border); }

/* ========== CAROUSEL / HEADER ========== */
.carousel-caption {
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center;
  justify-content: center;
  text-align: start;
  z-index: 1;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
  border-radius: 3rem;
}
@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }
  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%; height: 100%;
    object-fit: cover;
  }
}

.page-header {
  padding-top: 12rem;
  padding-bottom: 6rem;
  background: url(../img/h1.jpg) top right no-repeat;
  background-size: cover;
}
.breadcrumb-item+.breadcrumb-item::before { color: var(--gray); }

/* ========== SECTION HEADER ========== */
.section-header {
  position: relative;
  padding-top: 28px;
}
.section-header h1 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.section-header::before {
  position: absolute;
  content: "";
  width: 40px;
  height: 3px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  border-radius: 2px;
}
.section-header::after {
  position: absolute;
  content: "";
  width: 70px;
  height: 3px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  border-radius: 2px;
  opacity: 0.6;
}
.section-header.text-start::before,
.section-header.text-start::after {
  left: 0;
  transform: translateX(0);
}

/* ========== ABOUT ========== */
.about-img img { position: relative; z-index: 2; border-radius: var(--radius); }
.about-img::before {
  position: absolute;
  content: "";
  top: 0; left: -50%;
  width: 100%; height: 100%;
  background-image: repeating-radial-gradient(#FFFFFF, #F4E8DC 5px, transparent 5px, transparent 10px);
  background-size: 20px 20px;
  transform: skew(20deg);
  z-index: 1;
  border-radius: var(--radius);
}

/* ========== PRODUCTS ========== */
.nav-pills .nav-item .btn {
  color: var(--dark);
  border-radius: 50px;
  padding: 8px 20px;
  border: 2px solid var(--border);
  background: white;
  transition: var(--transition);
}
.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
  color: #FFFFFF;
  background: var(--primary);
  border-color: var(--primary);
}

.product-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border);
}
.product-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.product-item img {
  transition: transform 0.5s ease;
  object-fit: cover;
}
.product-item:hover img { transform: scale(1.08); }

.product-item .fw-bold {
  font-family: 'Playfair Display', serif;
  font-size: 1rem !important;
  color: var(--dark);
}
.product-item .text-primary { color: var(--primary) !important; font-size: 1.1rem; }
.product-item .text-decoration-line-through { color: var(--gray) !important; font-size: 0.9rem; }

.product-item .btn-sm {
  border-radius: 0;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.product-item .btn-sm.btn-primary { background: var(--primary); border-radius: 0 0 0 var(--radius); }
.product-item .btn-sm.btn-primary:hover { background: var(--accent); }
.product-item .btn-sm.btn-danger { background: #f43f5e; border-radius: 0 0 var(--radius) 0 !important; }
.product-item .btn-sm.btn-danger:hover { background: #be123c; }

.product-item small a:hover { color: var(--primary) !important; }

/* Badge */
.bg-secondary.rounded {
  background: var(--primary) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px !important;
  border-radius: var(--radius-sm) !important;
}

/* ========== CATEGORY SLIDER ========== */
.category-slider {
  padding: 80px 0;
  background: linear-gradient(135deg, #FDF6EE 0%, #FFF8F3 100%);
}

.slider-card { display: flex; justify-content: center; }

.card {
  border: none;
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--card-bg);
  overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.slider-image {
  width: 95%;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.card:hover .slider-image { transform: scale(1.05); }

.slider-card-element { text-align: center; }
.slider-card-element h4 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  font-weight: 700;
}

/* ========== RESTAURANT SLIDER ========== */
.Resturent-slider {
  padding: 80px 0;
  background: var(--accent);
}
.Resturent-slider .section-header h1 { color: white; }
.Resturent-slider .section-header::before { background: var(--secondary); }
.Resturent-slider .section-header::after { background: var(--primary-light); }

.resturent-card {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: var(--radius) !important;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.resturent-card:hover { background: rgba(255,255,255,0.1) !important; transform: translateY(-6px); }
.resturent-card .slider-card-element h4 { color: white; font-family: 'Playfair Display', serif; }
.resturent-card .text-muted { color: rgba(255,255,255,0.5) !important; }

.img-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.img-container img { transition: transform 0.5s ease; }
.img-container:hover img { transform: scale(1.06); }

.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s ease;
}
.img-container:hover .discount-badge { opacity: 1; transform: translateY(0); }

/* ========== TESTIMONIALS ========== */
.testimonial-section {
  background: linear-gradient(180deg, var(--light) 0%, #FFF8F0 100%);
}

.testimonial-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: white !important;
  position: relative;
  overflow: hidden;
}
.testimonial-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.testimonial-item:hover::before { opacity: 1; }
.testimonial-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.testimonial-item .fa-quote-left { color: var(--secondary) !important; opacity: 0.4; font-size: 2.5rem !important; }
.testimonial-item h5 { font-family: 'Playfair Display', serif; color: var(--dark); font-weight: 700; }
.testimonial-item span { color: var(--gray); font-size: 0.85rem; }

.testimonial-message {
  width: 100%;
  max-height: 180px;
  overflow: auto;
  text-align: left;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
}
.testimonial-message::-webkit-scrollbar { display: none; }

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-size: 18px;
  transition: var(--transition);
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: #FFFFFF;
  background: var(--primary);
}

/* ========== SKELETON ========== */
.skeleton {
  background: linear-gradient(90deg, #f4ede6 25%, #ebe0d5 50%, #f4ede6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.h-20 { height: 20px; }

/* ========== FOOTER ========== */
.footer { color: rgba(255,255,255,0.55); background: var(--dark); }
.footer .btn.btn-link {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  text-align: left;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  text-transform: capitalize;
  transition: .3s;
}
.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--secondary);
  margin-right: 10px;
}
.footer .btn.btn-link:hover { color: #fff; letter-spacing: 1px; box-shadow: none; }
.footer .copyright {
  padding: 25px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ========== NEWSLETTER ========== */
.newsletter-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 48px;
}
.newsletter-box input {
  font-size: 15px;
  border: none;
  border-radius: 50px 0 0 50px;
  padding: 12px 20px;
}
.newsletter-box button {
  font-size: 15px;
  font-weight: 700;
  border-radius: 0 50px 50px 0;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  border: none;
  transition: var(--transition);
}
.newsletter-box button:hover { background: var(--dark); }

/* ========== FEATURES ========== */
.feature-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background: var(--primary) !important;
  color: white !important;
  border-color: transparent;
}
.feature-card:hover .feature-icon i { color: white !important; }
.feature-icon i { color: var(--primary); font-size: 2.5rem; transition: var(--transition); }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.fadeInUp { animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .newsletter-box { padding: 28px 20px; }
  .slider-image { width: 85%; height: 160px; }
  .product-item .btn-sm { font-size: 0.75rem; padding: 8px 8px; }
}

@media (max-width: 540px) {
  .slider-image { width: 70%; height: 120px !important; }
  .btn-primary { padding: 8px 16px; font-size: 0.8rem; }
  .navbar-brand h1 { font-size: 1.35rem; }
}

/* ==================================================
   LOGIN PAGE
   ================================================== */

.auth-page {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--light) 0%, #FFF8F3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
}

.auth-wrap { width: 100%; max-width: 440px; }

.auth-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(200,64,10,0.25);
}
.auth-logo-mark i { color: #fff; font-size: 22px; }

.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
}
.auth-header p { color: var(--gray); font-size: 0.9rem; margin: 0; }

.auth-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 28px 32px 32px;
  box-shadow: var(--shadow-md);
}

.auth-footer-text {
  text-align: center;
  margin: 20px 0 0;
  font-size: 0.87rem;
  color: var(--gray);
}
.auth-footer-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* Mode switcher tabs */
.auth-switcher {
  display: flex;
  background: var(--light);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.auth-switcher button {
  flex: 1;
  padding: 10px 8px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--gray);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: var(--transition);
}
.auth-switcher button.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200,64,10,0.25);
}
.auth-switcher button i { font-size: 13px; }

/* Fields */
.auth-field { margin-bottom: 20px; }
.auth-field-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.auth-input-wrap { position: relative; }
.auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 14px;
}
.auth-input-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.auth-input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid rgba(200,64,10,0.25);
  border-radius: 10px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: 'DM Sans', sans-serif;
}
.auth-input:focus { border-color: var(--primary); }
.auth-input.has-error { border-color: var(--primary); border-color: #E24B4A; }
.auth-input.with-toggle { padding-right: 44px; }
.auth-input.with-prefix { padding-left: 52px; }
.auth-input.with-send-btn { padding-right: 90px; }

.auth-toggle-visibility {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--gray);
  font-size: 14px;
  background: none;
  border: none;
}

.auth-inline-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 8px;
}
.auth-inline-btn:disabled { color: var(--gray); cursor: not-allowed; }

/* Banners */
.auth-banner {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-banner-error {
  background: #FCEBEB;
  border: 1px solid rgba(226,75,74,0.3);
  color: #A32D2D;
}
.auth-banner-success {
  background: #EAF7EE;
  border: 1px solid rgba(46,160,90,0.3);
  color: #217A43;
}

/* Remember / forgot row */
.auth-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--gray);
}
.auth-remember input { accent-color: var(--primary); width: 15px; height: 15px; }
.auth-forgot-link {
  color: var(--primary);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
}

/* Primary submit button */
.auth-submit-btn {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.auth-submit-btn:hover:not(:disabled) {
  background: var(--accent);
  transform: translateY(-2px);
}
.auth-submit-btn:disabled { background: #D6A488; cursor: not-allowed; }

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.auth-divider-line { flex: 1; height: 1px; background: rgba(200,64,10,0.15); }
.auth-divider span { color: var(--gray); font-size: 0.8rem; }

/* Social buttons */
.auth-social-row { display: flex; gap: 12px; }
.auth-social-btn {
  flex: 1;
  padding: 11px;
  background: #fff;
  border: 1.5px solid rgba(200,64,10,0.25);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.auth-social-btn:hover {
  border-color: var(--primary);
  background: var(--light);
}
.auth-social-btn i { color: var(--primary); font-size: 14px; }

/* OTP digit boxes */
.auth-otp-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 4px 0;
}
.auth-otp-digit {
  width: 42px;
  height: 48px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  border: 1.5px solid rgba(200,64,10,0.25);
  border-radius: 10px;
  outline: none;
  background: #fff;
}
.auth-otp-digit:focus { border-color: var(--primary); }
.auth-otp-digit.has-error { border-color: #E24B4A; }

.auth-otp-hint {
  text-align: center;
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--gray);
}

.auth-resend-row { text-align: center; }
.auth-resend-timer { font-size: 0.83rem; color: var(--gray); }
.auth-resend-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

/* ==================================================
   FORGOT PASSWORD FLOW
   ================================================== */

.fp-page {
  min-height: 100vh;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  font-family: 'DM Sans', sans-serif;
}

.fp-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  animation: fpSlideUp 0.3s ease-out;
}

@keyframes fpSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,64,10,0.1);
  color: var(--primary);
  font-family: monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  padding: 5px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.fp-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  animation: fpPulse 2s infinite;
}

@keyframes fpPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.fp-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
  line-height: 1.25;
}

.fp-sub {
  font-size: 14px;
  color: var(--gray);
  margin: 0 0 24px;
  line-height: 1.6;
}

.fp-progress { display: flex; gap: 5px; margin-bottom: 28px; }
.fp-seg {
  height: 3px;
  flex: 1;
  border-radius: 100px;
  background: var(--border);
  transition: background 0.25s;
}
.fp-seg.on { background: var(--primary); }

.fp-field { margin-bottom: 18px; }
.fp-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.fp-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dark);
  background: #fafaf8;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.fp-input::placeholder { color: #c4c4bc; }
.fp-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200,64,10,0.12);
}
.fp-input.fp-err { border-color: #d32f2f; background: #fff8f8; }

.fp-input-otp {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: monospace;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--dark);
  background: #fafaf8;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.fp-input-otp::placeholder { color: #c4c4bc; letter-spacing: 0.15em; font-size: 16px; }
.fp-input-otp:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200,64,10,0.12);
}
.fp-input-otp.fp-err { border-color: #d32f2f; background: #fff8f8; }

.fp-pw-wrap { position: relative; }
.fp-pw-wrap .fp-input { padding-right: 44px; }

.fp-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.fp-eye:hover { color: var(--dark); }

.str-bar { display: flex; gap: 4px; margin-top: 8px; }
.str-seg {
  height: 3px;
  flex: 1;
  border-radius: 100px;
  background: var(--border);
  transition: background 0.3s;
}
.str-label {
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
  min-height: 16px;
  letter-spacing: 0.04em;
}

.fp-error-msg {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #d32f2f;
  font-size: 12px;
  margin-top: 7px;
}

.fp-hint {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 16px;
}
.fp-hint-text { font-size: 12px; color: var(--gray); line-height: 1.55; margin: 0; }
.fp-hint-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
}

.fp-divider { height: 1px; background: var(--border); margin: 20px 0; }

.fp-check-row { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.fp-check-row input[type=checkbox] {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.fp-check-label { font-size: 13px; color: var(--gray); cursor: pointer; user-select: none; }

.fp-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  color: var(--gray);
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color 0.15s;
}
.fp-back:hover { color: var(--primary); }

.fp-btn {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: var(--transition);
}
.fp-btn:hover:not(:disabled) {
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(200,64,10,0.25);
  transform: translateY(-1px);
}
.fp-wrap {
  width: 100%;
  max-width: 420px;
}

.fp-brand-header {
  text-align: center;
  margin-bottom: 24px;
}

.fp-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(200,64,10,0.25);
}
.fp-logo-mark i { color: #fff; font-size: 20px; }

.fp-brand-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
}

.fp-brand-header p {
  color: var(--gray);
  font-size: 0.88rem;
  margin: 0;
}
.fp-btn:active:not(:disabled) { transform: translateY(0); }
.fp-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.fp-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fpSpin 0.7s linear infinite;
}
@keyframes fpSpin { to { transform: rotate(360deg); } }

.address-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2937;
}

.address-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.address-header h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.address-subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.btn {
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: #0f766e;
  color: #fff;
  padding: 10px 16px;
}

.btn-primary:hover:not(:disabled) {
  background: #0b5c56;
}

.btn-text {
  background: none;
  color: #0f766e;
  padding: 6px 8px;
}

.btn-text:hover:not(:disabled) {
  text-decoration: underline;
}

.btn-danger {
  color: #dc2626;
}

.alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.address-empty {
  text-align: center;
  padding: 48px 20px;
  color: #6b7280;
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
}

.address-empty .btn {
  margin-top: 12px;
}

.address-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.address-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.address-card.is-default {
  border-color: #0f766e;
  box-shadow: 0 0 0 1px #0f766e;
}

.address-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.address-label {
  font-weight: 700;
  font-size: 15px;
}

.badge-default {
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
  background: #ccfbf1;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.address-text {
  margin: 0 0 10px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.4;
}

.address-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.address-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.address-form {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
}

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

.address-form-header h2 {
  font-size: 18px;
  margin: 0;
}

.btn-close {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.form-group {
  margin-bottom: 14px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

input[type="text"],
textarea,
select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #0f766e;
  outline-offset: 1px;
}

.suggestions-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  position: absolute;
  z-index: 10;
  background: #fff;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.suggestions-list li {
  padding: 8px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
}

.suggestions-list li:hover {
  background: #f0fdfa;
}

.map-wrap {
  margin-bottom: 14px;
}

.map-wrap .leaflet-container {
  height: 220px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.map-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #374151;
  margin-bottom: 18px;
}

.checkbox-row input {
  width: auto;
}

.address-form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* resturen.jsx */

/* ==================================================
   RESTAURANT LISTING PAGE (rp-*)  +  BOOKING MODAL (bm-*)
   ================================================== */

/* ===== PAGE ===== */
.rp-wrapper {
  min-height: 100vh;
  background: linear-gradient(160deg, #FDF6EE 0%, #FFF8F2 60%, #F9EFE4 100%);
  font-family: 'DM Sans', sans-serif;
  padding: 48px 0 96px;
  position: relative;
  overflow: hidden;
}
.rp-wrapper::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(200,64,10,0.07) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.rp-wrapper::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(244,160,68,0.09) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

/* ===== HEADER (search + sort controls only) ===== */
.rp-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.rp-count {
  font-size: 0.78rem; font-weight: 600;
  color: var(--gray); letter-spacing: 0.04em;
}
.rp-count span {
  color: var(--primary); font-size: 1.05rem;
  font-family: 'Playfair Display', serif; font-weight: 700;
}

/* ===== CITY NOTE ===== */
.rp-city-note {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray);
  display: none;
}
.rp-city-note strong { color: var(--dark); }
.rp-city-icon { font-size: 0.9rem; }
.rp-city-toggle {
  border: 1.5px solid var(--border);
  background: white;
  color: var(--primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 50px;
  cursor: pointer; transition: var(--transition);
}
.rp-city-toggle:hover { border-color: var(--primary); background: rgba(200,64,10,0.06); }

/* ===== CONTROLS ===== */
.rp-controls { display: flex; gap: 12px; align-items: center; flex-wrap: nowrap; }
.rp-search-form {
  display: flex;
  background: white;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.rp-search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200,64,10,0.1);
}
.rp-search-input {
  border: none; outline: none; background: transparent;
  padding: 11px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--dark);
  width: 220px;
}
.rp-search-input::placeholder { color: var(--gray); }
.rp-search-btn {
  background: var(--primary); color: white; border: none;
  padding: 11px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
  letter-spacing: 0.02em;
}
.rp-search-btn:hover { background: var(--accent); }
.rp-sort-select {
  appearance: none;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8400A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 11px 38px 11px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 500;
  color: var(--dark); cursor: pointer; outline: none;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.rp-sort-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200,64,10,0.1);
}

/* ===== GRID ===== */
.rp-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 1023px) {
  .rp-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
  .rp-grid { grid-template-columns: repeat(1, 1fr); gap: 16px; padding: 0 16px; }
}

/* ===== CARD ===== */
.rp-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column; position: relative;
  animation: rpFadeUp 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
.rp-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(200,64,10,0.2); }
@keyframes rpFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rp-card:nth-child(1) { animation-delay: 0.05s; }
.rp-card:nth-child(2) { animation-delay: 0.10s; }
.rp-card:nth-child(3) { animation-delay: 0.15s; }
.rp-card:nth-child(4) { animation-delay: 0.20s; }
.rp-card:nth-child(5) { animation-delay: 0.25s; }
.rp-card:nth-child(6) { animation-delay: 0.30s; }
.rp-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0; transition: opacity 0.3s ease; z-index: 2;
}
.rp-card:hover::before { opacity: 1; }

.rp-img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; background: #f0e8df; }
.rp-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s ease; }
.rp-card:hover .rp-img { transform: scale(1.06); }
.rp-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,16,9,0.55) 0%, transparent 55%);
  transition: opacity 0.3s ease;
}
.rp-badge {
  position: absolute; top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.06em; padding: 5px 12px; border-radius: 50px;
  text-transform: uppercase; box-shadow: 0 2px 8px rgba(200,64,10,0.4); z-index: 2;
}
.rp-rating-pill {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(6px);
  color: var(--dark); font-size: 0.8rem; font-weight: 700;
  padding: 5px 12px; border-radius: 50px;
  display: flex; align-items: center; gap: 4px;
  box-shadow: var(--shadow-sm); z-index: 2;
}
.rp-rating-pill .star { color: #f59e0b; font-size: 0.85rem; }

.rp-body { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.rp-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 0; line-height: 1.3; }
.rp-address {
  font-size: 0.83rem; color: var(--gray); margin: 0;
  display: flex; align-items: flex-start; gap: 6px; line-height: 1.5;
}
.rp-address svg { flex-shrink: 0; margin-top: 2px; opacity: 0.6; }
.rp-divider { height: 1px; background: var(--border); border: none; margin: 0; }
.rp-avail { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rp-avail-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 50px;
}
.rp-avail-badge.available { background: rgba(16,185,129,0.1); color: #059669; }
.rp-avail-badge.unavailable { background: rgba(239,68,68,0.09); color: #dc2626; }
.rp-avail-badge .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.available .dot { background: #10b981; box-shadow: 0 0 0 2px rgba(16,185,129,0.25); }
.unavailable .dot { background: #ef4444; }
.rp-seats { font-size: 0.8rem; color: var(--gray); font-weight: 500; }
.rp-seats strong { color: var(--dark); }
.rp-price-row { display: flex; align-items: baseline; gap: 8px; }
.rp-final-price { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.rp-original-price { font-size: 0.88rem; color: var(--gray); text-decoration: line-through; }
.rp-discount-tag {
  font-size: 0.72rem; font-weight: 800; color: var(--primary);
  background: rgba(200,64,10,0.09); padding: 3px 8px;
  border-radius: 50px; letter-spacing: 0.04em;
}
.rp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 4px; }
.rp-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 16px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif; font-size: 0.83rem; font-weight: 600;
  letter-spacing: 0.02em; text-decoration: none; transition: var(--transition);
  cursor: pointer; border: none; white-space: nowrap;
}
.rp-btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 14px rgba(200,64,10,0.3); }
.rp-btn-primary:hover { background: var(--accent); color: white; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,26,46,0.25); }
.rp-btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.rp-btn-outline:hover { background: var(--primary); color: white; transform: translateY(-1px); }

.rp-empty { max-width: 1200px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.rp-empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.rp-empty h3 { font-family: 'Playfair Display', serif; color: var(--dark); margin-bottom: 8px; }
.rp-empty p { color: var(--gray); font-size: 0.9rem; margin-bottom: 8px; }
.rp-empty-btn {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: 50px;
  border: none; background: var(--primary); color: white;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 14px rgba(200,64,10,0.3);
}
.rp-empty-btn:hover { background: var(--accent); }

/* ===== MODAL BACKDROP ===== */
.bm-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(28, 16, 9, 0.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: bmBackdropIn 0.25s ease both;
}
@keyframes bmBackdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===== MODAL BOX ===== */
.bm-modal {
  background: #FFFBF7;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(28,16,9,0.28);
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: bmSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
  scrollbar-width: thin;
  scrollbar-color: rgba(200,64,10,0.2) transparent;
  margin-top : 21vh
}
@keyframes bmSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== MODAL HEADER ===== */
.bm-header {
  position: relative;
  padding: 28px 28px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.bm-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}
.bm-rest-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--dark);
  margin: 0 0 4px;
  line-height: 1.2;
}
.bm-rest-price {
  font-size: 0.88rem;
  color: var(--gray);
  font-weight: 500;
}
.bm-rest-price strong { color: var(--primary); font-size: 1rem; }
.bm-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(200,64,10,0.08);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); transition: var(--transition);
  flex-shrink: 0; margin-top: 2px;
}
.bm-close:hover { background: var(--primary); color: white; transform: rotate(90deg); }

/* ===== MODAL DIVIDER ===== */
.bm-sep {
  height: 1px;
  background: var(--border);
  margin: 20px 28px 0;
}

/* ===== MODAL BODY ===== */
.bm-body { padding: 20px 28px 28px; display: flex; flex-direction: column; gap: 20px; }

/* ===== FIELD ===== */
.bm-field { display: flex; flex-direction: column; gap: 8px; }
.bm-field-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bm-field-label svg { opacity: 0.7; }

/* ===== DATE INPUT ===== */
.bm-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: white;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}
.bm-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(200,64,10,0.1); }

/* ===== TIME SLOTS ===== */
.bm-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bm-slot {
  padding: 9px 6px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: white;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.bm-slot:hover { border-color: var(--primary); color: var(--primary); background: rgba(200,64,10,0.05); }
.bm-slot.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 3px 10px rgba(200,64,10,0.3);
}

/* ===== SEATS ===== */
.bm-seats-row { display: flex; align-items: center; gap: 12px; }
.bm-seat-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}
.bm-seat-btn:hover:not(:disabled) { background: var(--primary); color: white; border-color: var(--primary); }
.bm-seat-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.bm-seat-count {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--dark);
  min-width: 28px; text-align: center;
}
.bm-seat-note {
  font-size: 0.78rem; color: var(--gray);
  line-height: 1.5; margin-left: 4px;
}

/* ===== MORE SEATS NOTE ===== */
.bm-more-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, rgba(200,64,10,0.06), rgba(244,160,68,0.06));
  border: 1px solid rgba(200,64,10,0.15);
  border-radius: 12px;
  padding: 12px 14px;
}
.bm-more-note-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.bm-more-note-text { font-size: 0.8rem; color: var(--gray); line-height: 1.6; }
.bm-more-note-text a { color: var(--primary); font-weight: 700; text-decoration: none; }
.bm-more-note-text a:hover { text-decoration: underline; }

/* ===== PAYMENT ===== */
.bm-payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bm-pay-option {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 8px;
  background: white;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.bm-pay-option:hover { border-color: var(--primary); background: rgba(200,64,10,0.04); }
.bm-pay-option.active { border-color: var(--primary); background: rgba(200,64,10,0.07); }
.bm-pay-option .bm-pay-icon { font-size: 1.4rem; }
.bm-pay-option .bm-pay-name {
  font-size: 0.75rem; font-weight: 700;
  color: var(--dark); letter-spacing: 0.02em;
}
.bm-pay-option.active .bm-pay-name { color: var(--primary); }

/* ===== SUMMARY ===== */
.bm-summary {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bm-summary-title {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 2px;
}
.bm-summary-row {
  display: flex; justify-content: space-between;
  align-items: center;
  font-size: 0.85rem; color: var(--gray);
}
.bm-summary-row.total {
  font-size: 0.95rem; font-weight: 700;
  color: var(--dark);
  border-top: 1px solid var(--border);
  padding-top: 10px; margin-top: 2px;
}
.bm-summary-row.total span:last-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--primary);
}

/* ===== MODAL FOOTER ===== */
.bm-footer { display: flex; gap: 10px; padding: 0 28px 28px; }
.bm-cancel-btn {
  flex: 0 0 auto;
  padding: 13px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  color: var(--gray); cursor: pointer; transition: var(--transition);
}
.bm-cancel-btn:hover { border-color: var(--primary); color: var(--primary); }
.bm-confirm-btn {
  flex: 1;
  padding: 13px 20px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(200,64,10,0.35);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.bm-confirm-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--accent), #2d2d5e);
  box-shadow: 0 6px 22px rgba(26,26,46,0.3);
  transform: translateY(-1px);
}
.bm-confirm-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===== SUCCESS STATE ===== */
.bm-success {
  padding: 48px 28px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  animation: rpFadeUp 0.4s ease both;
}
.bm-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.bm-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--dark); margin: 0;
}
.bm-success p { font-size: 0.9rem; color: var(--gray); margin: 0; line-height: 1.6; }
.bm-success-close {
  margin-top: 8px;
  padding: 12px 32px;
  border-radius: 50px;
  border: none;
  background: var(--primary); color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 14px rgba(200,64,10,0.3);
}
.bm-success-close:hover { background: var(--accent); }


@media (max-width: 768px) {
  .rp-header { flex-direction: column; align-items: flex-start; padding-bottom: 16px; }
  .rp-city-note { padding-bottom: 24px; }
  .rp-controls { width: 100%; flex-wrap: nowrap; }
  .rp-search-form { flex: 1; min-width: 0; }
  .rp-search-input { width: 100%; min-width: 0; }
  .rp-sort-select { flex-shrink: 0; }
  .rp-body { padding: 14px 14px 12px; gap: 8px; }
  .rp-name { font-size: 0.95rem; }
  .rp-address { font-size: 0.75rem; }
  .rp-final-price { font-size: 1.1rem; }
  .rp-btn { font-size: 0.75rem; padding: 9px 10px; gap: 4px; }
  .rp-btn svg { display: none; }
  .rp-avail-badge { font-size: 0.7rem; padding: 4px 8px; }
  .rp-rating-pill { font-size: 0.72rem; padding: 4px 8px; bottom: 8px; right: 8px; }
  .rp-badge { font-size: 0.65rem; padding: 3px 8px; top: 8px; left: 8px; }
  .bm-modal { border-radius: 20px 20px 0 0; max-height: 95vh; align-self: flex-end; }
  .bm-backdrop { align-items: flex-end; padding: 0; }
  .bm-slots { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  .rp-wrapper { padding: 32px 0 64px; }
  .rp-controls { flex-wrap: nowrap; gap: 8px; }
  .rp-search-input { padding: 10px 14px; font-size: 0.82rem; }
  .rp-search-btn { padding: 10px 14px; font-size: 0.78rem; }
  .rp-search-btn span, .rp-search-btn { white-space: nowrap; }
  .rp-sort-select { width: auto; padding: 10px 30px 10px 14px; font-size: 0.8rem; }
  .rp-body { padding: 12px 10px 10px; }
  .rp-name { font-size: 0.88rem; }
  .rp-actions { gap: 6px; }
  .rp-btn { padding: 8px 6px; font-size: 0.72rem; border-radius: 8px; }
  .bm-slots { grid-template-columns: repeat(3, 1fr); }
  .bm-payment-options { grid-template-columns: repeat(3, 1fr); }
  .bm-header { padding: 20px 18px 0; }
  .bm-body { padding: 16px 18px 20px; }
  .bm-footer { padding: 0 18px 20px; }
  .bm-sep { margin: 16px 18px 0; }
}