/* Base Styles */
:root {
    --primary-color: #06c167;
    --secondary-color: #2d333f;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --white: #ffffff;
    --black: #212529;
    --danger: #dc3545;
    --warning: #ffc107;
    --success: #28a745;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    /* background-color: var(--light-gray); */
    background-color: white;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.fd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.fd-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.fd-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fd-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.fd-nav {
    display: flex;
    align-items: center;
}

.fd-nav a {
    color: var(--secondary-color);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

.fd-nav a:hover {
    color: var(--primary-color);
}

.fd-cart-count {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 5px;
}

/* Restaurant Card Styles */
.fd-restaurant-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.fd-restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fd-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.fd-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fd-restaurant-card:hover .fd-card-image img {
    transform: scale(1.05);
}

.fd-cuisine-badges {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.fd-cuisine-badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.fd-card-body {
    padding: 15px;
}

.fd-card-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.fd-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--dark-gray);
}

.fd-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fd-card-actions {
    margin-top: 15px;
}

.fd-view-menu {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.fd-view-menu:hover {
    background-color: #05a858;
    color: var(--white);
}

/* Restaurant Single Page Styles */
.fd-restaurant-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.fd-restaurant-gallery {
    border-radius: 8px;
    overflow: hidden;
}

.fd-main-image {
    height: 400px;
}

.fd-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fd-restaurant-info {
    padding: 20px 0;
}

.fd-restaurant-title {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 700;
}

.fd-Garage {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.fd-restaurant-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.fd-restaurant-description {
    line-height: 1.8;
    color: var(--dark-gray);
}

/* Menu Styles */
.fd-restaurant-menu {
    margin-bottom: 50px;
}

.fd-section-title {
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.fd-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.fd-menu-category {
    margin-bottom: 40px;
}

.fd-category-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.fd-menu-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.fd-menu-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    padding: 15px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.fd-item-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.fd-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fd-item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fd-item-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.fd-item-description {
    color: var(--dark-gray);
    font-size: 14px;
}

.fd-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
}

.fd-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.fd-add-to-cart {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fd-add-to-cart:hover {
    background-color: #05a858;
}

/* Vendor Dashboard Styles */
.fd-vendor-dashboard {
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.fd-dashboard-tabs {
    margin-top: 30px;
}

.fd-tab-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.fd-tab-nav li {
    margin-right: 10px;
}

.fd-tab-nav li a {
    display: block;
    padding: 10px 20px;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 4px 4px 0 0;
    font-weight: 500;
}

.fd-tab-nav li.active a {
    background-color: var(--primary-color);
    color: var(--white);
}

.fd-tab-content {
    display: none;
}

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

.fd-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.fd-stat-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.fd-stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: var(--dark-gray);
}

.fd-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.fd-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.fd-orders-table th, 
.fd-orders-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.fd-orders-table th {
    background-color: var(--light-gray);
    font-weight: 600;
}

.fd-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--white);
}

.fd-status-processing {
    background-color: var(--warning);
}

.fd-status-completed {
    background-color: var(--success);
}

.fd-status-delivered {
    background-color: var(--primary-color);
}

.fd-view-order {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.fd-view-order:hover {
    text-decoration: underline;
}

/* Order Tracking Styles */
.fd-order-tracking {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
}

.fd-order-status {
    margin-bottom: 30px;
}

.fd-progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
}

.fd-progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--medium-gray);
    z-index: 1;
}

.fd-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.fd-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 5px;
}

.fd-step-label {
    font-size: 14px;
    color: var(--dark-gray);
}

.fd-progress-step.active .fd-step-number {
    background-color: var(--primary-color);
}

.fd-current-status {
    text-align: center;
}

.fd-current-status h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.fd-delivery-info {
    margin-bottom: 30px;
}

.fd-delivery-map {
    height: 200px;
    background-color: var(--light-gray);
    border-radius: 8px;
    margin-top: 15px;
}

.fd-order-details {
    margin-bottom: 30px;
}

.fd-order-restaurant {
    margin-bottom: 20px;
}

.fd-order-restaurant h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.fd-order-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.fd-order-items th, 
.fd-order-items td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.fd-order-items th {
    background-color: var(--light-gray);
    font-weight: 600;
}

.fd-order-items tfoot td {
    font-weight: 600;
}

.fd-order-actions {
    display: flex;
    justify-content: space-between;
}

.fd-back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.fd-cancel-order {
    padding: 10px 20px;
    background-color: var(--danger);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}

/* Toast Notifications */
.fd-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    animation: fdToastIn 0.3s ease-out;
  }
  
  .fd-toast-success {
    background: var(--primary-color);
  }
  
  .fd-toast-error {
    background: #ff4444;
  }
  
  .fd-toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .fd-toast i {
    font-size: 1.2rem;
  }
  
  @keyframes fdToastIn {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }


  /*single resturatn*/
  /* Container */
.fd-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Gallery Slider */
.fd-gallery-slider {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.fd-gallery-slider img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Banner / Logo fallback */
.fd-restaurant-banner {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    max-height: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.fd-restaurant-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header info */
.fd-restaurant-info h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.fd-restaurant-meta {
    margin-bottom: 25px;
    font-size: 1rem;
    color: #555;
}
.fd-meta-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fd-meta-item i {
    color: #e63946;
    font-size: 1.3rem;
    min-width: 20px;
}

/* Website button */
.fd-website-link {
    margin: 20px 0;
}
.fd-website-link a {
    font-weight: 600;
    color: #fff;
    background: #e63946;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.fd-website-link a:hover {
    background: #a72836;
}

/* Social icons */
.fd-social-links a {
    margin-right: 18px;
    font-size: 1.6rem;
    color: #555;
    transition: color 0.3s ease;
}
.fd-social-links a:hover {
    color: #e63946;
}

/* Description */
.fd-restaurant-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 50px;
    color: #444;
}

/* Menu Section */
.fd-restaurant-menu {
    border-top: 3px solid #e63946;
    padding-top: 30px;
}
.fd-restaurant-menu h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #e63946;
}
.fd-menu-category {
    margin-bottom: 40px;
}
.fd-menu-category h3 {
    font-size: 1.6rem;
    color: #1d3557;
    margin-bottom: 20px;
    border-bottom: 2px solid #a8dadc;
    padding-bottom: 8px;
}
.fd-menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 20px;
}
.fd-menu-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    gap: 15px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}
.fd-menu-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.fd-item-image img {
    border-radius: 8px;
    width: 90px;
    height: 90px;
    object-fit: cover;
}
.fd-item-details h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
}
.fd-item-details p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}
.fd-item-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
}
.fd-item-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #e63946;
}
.fd-add-to-cart {
    padding: 8px 16px;
    border: none;
    background-color: #1d3557;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.fd-add-to-cart:hover {
    background-color: #457b9d;
}
.fd-links-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.fd-button {
  display: inline-block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #fff;
}

.fd-button.order-btn {
  background-color: #e63946; /* Green */
}

.fd-button.menu-btn {
  background-color: #007bff; /* Blue */
}

.fd-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.fd-button.book-btn {
  background-color: #ff8800; /* Orange */
}
@media (max-width: 600px) {
  .fd-links-wrapper {
    flex-direction: column;
  }
}

/* Responsive */
@media(max-width: 768px) {
    .fd-restaurant-header {
        flex-direction: column;
    }
    .fd-item-image img {
        width: 70px;
        height: 70px;
    }
}

// menu 

.fd-restaurant-menu {
  padding: 30px 15px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
}

.fd-menu-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
  text-align: center;
}

.fd-menu-category {
  margin-bottom: 40px;
}

.fd-category-title {
  font-size: 24px;
  font-weight: 600;
  border-bottom: 3px solid #0073e6;
  padding-bottom: 8px;
  margin-bottom: 25px;
  color: #0073e6;
}

.fd-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.fd-menu-card {
  background: #fafafa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fd-menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.fd-menu-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #ddd;
}

.fd-menu-body {
  padding: 18px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fd-menu-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.fd-menu-desc {
  font-size: 14px;
  line-height: 1.4;
  color: #555;
  flex-grow: 1;
}

.fd-menu-footer {
  padding: 15px 20px;
  background: #0073e6;
  color: #fff;
  font-weight: 700;
  text-align: right;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  font-size: 16px;
}

/* Responsive: 2 columns on tablets */
@media (max-width: 1024px) {
  .fd-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 column on mobile */
@media (max-width: 600px) {
  .fd-menu-grid {
    grid-template-columns: 1fr;
  }
}


/*search */
/* Navbar search form container */
.navbar .search-form {
    display: flex;
    align-items: center;
  }
  
  /* Input field style */
  .navbar .search-form input[type="search"] {
    width: 200px;
    padding: 6px 12px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #ced4da;
    border-right: none;
    transition: width 0.3s ease;
  }
  
  /* On focus, expand input width */
  .navbar .search-form input[type="search"]:focus {
    width: 280px;
    outline: none;
    border-color: #007bff;
  }
  
  /* Search button style */
  .navbar .search-form button {
    padding: 6px 12px;
    border-radius: 0 4px 4px 0;
    border: 1px solid #007bff;
    background-color: transparent;
    color: #007bff;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  /* Button hover */
  .navbar .search-form button:hover {
    background-color: #007bff;
    color: white;
  }
  
  /* Bootstrap Icon size */
  .navbar .search-form button i.bi-search {
    font-size: 1.2rem;
    vertical-align: middle;
  }
  .fixed-image-box {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
  }
  
  .fixed-image-box img {
    max-height: 100%;
    width: auto;
    height: auto;
  }

  .cutominfo{
    padding: 10px;
  }

  .footer-app-image {
    max-width: 150px !important; /* Adjust size as needed */
    height: auto;
  }
  
  @media (max-width: 576px) {
    .footer-app-image {
      max-width: 120px !important;
    }
  }
  
  

  .engine-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;        /* Slightly larger than default */
    font-weight: 600;          /* Medium-bold */
    color: #1a1a1a;            /* Clean dark text */
    line-height: 1.4;
    margin-bottom: 0.75rem;
    text-transform: capitalize; /* Optional: Capitalize words */
    letter-spacing: 0.3px;
  }
  
  @media (max-width: 576px) {
    .engine-title {
      font-size: 1.1rem;
    }
  }
  

  .fd-restaurant-description {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.fd-restaurant-description h2,
.fd-restaurant-description h3 {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.fd-restaurant-description p {
    margin-bottom: 1rem;
}

.timesingl{
    font-size:14px;
}


/* Lubricant Section Styles */
.luvyalubricatn h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: #222;
  }
  
  .luvyalubricatn .btn-outline-primary {
    font-weight: 500;
    padding: 6px 16px;
    font-size: 0.9rem;
  }
 
  .luvyalubricatn .fixed-image-box {
    height: 240px;
    overflow: hidden;
    background: #fff; 
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .luvyalubricatn .fixed-image-box img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
  }
  
  .luvyalubricatn .card-title.engine-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
    min-height: 2.4em;
  }
  
  .luvyalubricatn .card-text {
    font-size: 0.9rem;
    color: #666;
  }
  

  h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: #222;
  }
  .luvyalubricatn .badge.bg-primary {
    font-size: 0.75rem;
    padding: 0.35em 0.6em;
    border-radius: 0.35rem;
  }
  

  .navbar-brand {
    color: #ffffff; /* pure white */
    font-weight: 800;
    font-size: 1.8rem; /* adjust size as needed */
    text-shadow: 1.5px 1.5px 4px rgba(0, 0, 0, 0.6); /* subtle shadow for contrast */
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* modern font */
    transition: color 0.3s ease;
}

.navbar-brand:hover,

.site-footer a {
    color: #fff;
    text-decoration: none;
  }
  
  .site-footer a:hover {
    text-decoration: underline;
  }

  .nav-link{
    color:white;
  }


  .fd-restaurant-info h1 {
    font-size: 2rem;
    font-weight: 600;
    
}

/* for responsice */
.form-check-input[type=checkbox] {
   
    border-color: #000009;
}

.form-control {

    border: var(--bs-border-width) solid #000;
   
}