.restaurant-header {
  background: #fff;
  padding: 16px;
  border-bottom: 8px solid #f3f4f6;
}
.restaurant-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.restaurant-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}
.info-icon {
  font-size: 14px;
  color: #6b7280;
  margin-left: 4px;
}
.restaurant-distance {
  font-size: 14px;
  color: #374151;
  margin-top: 6px;
}
.dropdown-arrow {
  font-size: 12px;
  margin-left: 4px;
}
.restaurant-time {
  font-size: 14px;
  color: #374151;
  margin-top: 4px;
}
.schedule {
  color: #6b7280;
  margin-left: 6px;
}
.rating-box {
  background: #16a34a;
  color: #fff;
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  min-width: 52px;
  font-size: 14px;
}
.rating-count {
  font-size: 11px;
  opacity: 0.9;
}
.header-divider {
  height: 1px;
  background: #f3f4f6;
  margin: 12px 0;
}
.restaurant-offers {
  font-size: 14px;
  color: #111827;
}
.offer-row {
  margin-top: 6px;
}
.closed-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 14px;
  font-weight: 600;
  border-top: 1px solid #fed7aa;
  border-bottom: 1px solid #fed7aa;
}
.closed-icon {
  font-size: 15px;
}
.restaurant-page .menu-section {
  background: #fff;
  padding: 16px;
  margin-top: 8px;
}
.restaurant-page .menu-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.restaurant-page .product-card {
  display: block;
  position: relative !important;
  width: 100% !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid #eee !important;
}
.restaurant-page .menu-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.restaurant-page .menu-section {
  padding: 16px 14px;
}
.restaurant-page .product-card {
  padding: 18px 0 !important;
  border-bottom: 1px solid #f1f1f1 !important;
}
.restaurant-page .menu-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}
.restaurant-page .menu-left {
  flex: 1;
  text-align: left;
}
.restaurant-page .menu-product-name {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}
.restaurant-page .menu-price {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
}
.restaurant-page .cut-price {
  margin-left: 6px;
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}
.restaurant-page .menu-right {
  width: 120px;
  margin-left: 14px;
}
.restaurant-page .menu-right {
  position: relative;
  width: 120px;
}
.restaurant-page .menu-right img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.restaurant-page .add-to-cart {
  width: 100%;
  margin-top: 10px;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  background-color: #ff9f00;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.restaurant-page .quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  background-color: #ff9f00;
  color: #fff;
  border-radius: 10px;
  padding: 6px 8px;
  font-weight: 600;
  min-height: 36px;
}
.restaurant-page .quantity-control button {
  background: #fff0;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
}
.restaurant-page .quantity-control span {
  font-size: 16px;
}
.category-section {
  margin-bottom: 8px;
}
.category-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
  transition: background 0.2s ease;
}
.category-toggle:active {
  background: rgb(0 0 0 / 0.03);
}
.category-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.category-count {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}
.category-products {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.category-section.active .category-products {
  max-height: 9999px;
}
.arrow-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow-icon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2.5px solid #9ca3af;
  border-bottom: 2.5px solid #9ca3af;
  transform: rotate(45deg);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s ease;
}
.category-section.active .arrow-icon::before {
  transform: rotate(-135deg);
  border-color: #111827;
}
.food-badge {
  width: 16px;
  height: 16px;
  border: 2px solid;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.food-badge::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.food-badge.veg {
  border-color: #16a34a;
}
.food-badge.veg::after {
  background: #16a34a;
}
.food-badge.nonveg {
  border-color: #dc2626;
}
.food-badge.nonveg::after {
  background: #dc2626;
}
.filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 14px;
  margin-bottom: 8px;
}
.filter-bar::-webkit-scrollbar {
  display: none;
}
.filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.filter-chip:active {
  transform: scale(0.97);
}
.filter-chip.active {
  border-color: #ff9f00;
  background: #ff9f00;
  color: #fff;
}
.veg-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
}
.nonveg-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dc2626;
}
.restaurant-details-section {
  background: #fff;
  padding: 18px 16px 24px;
  margin-top: 16px;
}
.restaurant-points {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
}
.restaurant-points li {
  margin-bottom: 8px;
}
.details-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 18px 0;
}
.restaurant-license {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #374151;
}
.fssai-text {
  font-size: 22px;
  font-style: italic;
  color: #9ca3af;
  font-family: serif;
}
.license-number {
  font-size: 14px;
  color: #6b7280;
}
.restaurant-address {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}
.floating-menu-btn {
  position: fixed;
  right: 18px;
  bottom: 90px;
  background: #ff9f00;
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.2);
  cursor: pointer;
  z-index: 999;
}
.menu-icon {
  font-size: 18px;
}


.menu-drawer-overlay{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.55);
    backdrop-filter:blur(4px);
    display:none;
    z-index:999999;
}

.menu-drawer-overlay.show{
    display:block;
}

.menu-drawer{
    position:absolute;
    top:0;
    right:-100%;
    width:88%;
    max-width:380px;
    height:100%;

    background:linear-gradient(180deg,#111827,#0f172a);
    color:#fff;

    transition:right .32s ease;
    display:flex;
    flex-direction:column;

    border-radius:22px 0 0 22px;
    box-shadow:-12px 0 32px rgba(0,0,0,.28);
    overflow:hidden;
}

.menu-drawer-overlay.show .menu-drawer{
    right:0;
}

.drawer-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 18px;
    font-size:18px;
    font-weight:800;
    letter-spacing:-0.2px;

    border-bottom:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.02);
}

.drawer-close{
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.08);
    color:#fff;

    font-size:20px;
    cursor:pointer;
    transition:.2s ease;
}

.drawer-close:active{
    transform:scale(.95);
    background:rgba(255,255,255,.14);
}

.drawer-body{
    overflow-y:auto;
    flex:1;
    padding:6px 0;
}

.drawer-body::-webkit-scrollbar{
    width:4px;
}

.drawer-body::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.15);
    border-radius:10px;
}

.drawer-item{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:16px 18px;
    margin:0 10px 8px;

    border-radius:14px;
    cursor:pointer;

    background:rgba(255,255,255,.03);
    transition:.2s ease;
}

.drawer-item:active{
    transform:scale(.98);
    background:rgba(255,255,255,.08);
}

.drawer-item span:first-child{
    font-size:15px;
    font-weight:700;
    color:#f8fafc;
}

.drawer-count{
    min-width:28px;
    height:28px;
    padding:0 10px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(135deg,#ff9f00,#ff7a00);
    color:#fff;

    border-radius:999px;
    font-size:12px;
    font-weight:800;

    box-shadow:0 8px 18px rgba(255,159,0,.22);
}




.add-to-cart:disabled {
  background: #e5e7eb;
  cursor: not-allowed;
}
.out-stock-btn {
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}
.product-card[data-stock="0"] {
  opacity: 0.5;
}
.addon-popup {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 80%;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px 18px 0 0;
  z-index: 99999;
  transform: none !important;
}
