/* General Styles */
header {
    background-color: #a7adc4;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on small screens */
  }
  
  header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  header .logo img {
    width: 50px;
    height: auto;
  }
  section, main, .category-container, .contact-info, .cart-container {
  background-color: #ffffff !important;
}

  header h1 {
    margin: 0;
    font-size: 1.5em;
    white-space: nowrap; /* Prevents line break */
  }
  
  /* Navigation */
  nav {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  
  nav a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
  }
  
  nav a:hover {
    color: #60688b;
  }
  
  
 /* Body styles */
  body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: black;
    margin: 0;
    padding: 0;
  }
  
  nav {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
  }
  
  nav a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
  }
  
  nav a:hover {
    color: #60688b;
  }
  
  .search-container {
    display: flex;
    justify-content: center; /* Center the search bar */
    padding: 20px;
  }
  
  #searchInput {
    padding: 10px;
    font-size: 16px;
    width: 300px; /* Adjust width */
    border-radius: 5px;
    border: 1px solid grey;
  }
  
  #searchInput:focus {
    outline: none;
    border-color: #3d9bba;
  }
  
  /* Category Section Styles */
  main {
    padding: 20px;
  }
  
  .category-container {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 5px;
  }
  
  .category-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    flex-wrap: nowrap;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  
  .category-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar for a cleaner look */
  }
  
  
  .flip-card {
    width: 250px; /* Fixed width for the images */
    height: 250px;
    flex-shrink: 0; /* Prevent the items from shrinking */
    position: relative;
    perspective: 1000px;
    display: flex;
    flex-direction: column; /* Ensure image and button are vertically aligned */
    align-items: center;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }
  
  .flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .flip-card-back {
    background-color: #60688b;
    color:black;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: rotateY(180deg);
  }
  
  /* Ensuring the button is below the image and same size */
  button {
    background-color: black;
    color: white;
    padding: 10px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: 10px; /* Space between image and button */
  }
  
  button:hover {
    background-color: #60688b;
    color: black;
  }
  
  h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
  }
  
  /* Add spacing between category heading and images */
  .category-container h3 {
    margin-bottom: 20px;
  }
  
  /* Line to Separate Header from Body */
  hr {
    border: 1px solid #333;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
  /* Footer Styles */
  footer {
    background-color: #a7adc4;
    color: rgb(3, 3, 3);
    padding: 20px;
    text-align: center;
  }
  
  footer .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  footer .social-links a img {
    width: 30px;
    height: 30px;
  }
  
  /* Responsive Styles */
  @media screen and (max-width: 768px) {
    #searchInput {
      width: 100%;
    }
  
    .category-grid {
      grid-template-columns: 1fr;
      overflow-x: scroll; /* Enable horizontal scroll on small screens */
    }
  
    .category-container {
      margin: 20px;
    }
  
    .flip-card img {
      height: 200px;  /* Adjust image size on smaller screens */
    }
  }
  #cart-count {
    background-color: #0d0f18;
    color: white;
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: 5px;
  }
  /* === Contact Page Specific Styling === */
  .contact-info {
    background-color: #60688b;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto 50px;
    border-radius: 15px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  }
  
  .contact-info h3 {
    font-size: 1.8em;
    text-align: center;
    color: black;
    margin-bottom: 20px;
  }
  
  .contact-info p {
    text-align: center;
    margin-bottom: 30px;
    color: black;
  }
  
  .contact-info form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-info label {
    font-weight: bold;
    color: black;
    margin-bottom: 5px;
  }
  
  .contact-info input,
  .contact-info textarea {
    padding: 12px;
    border: 1px solid black;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
  }
  
  .contact-info input:focus,
  .contact-info textarea:focus {
    border-color: #007bff;
    outline: none;
  }
  
  .contact-info button {
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    background-color: black;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .contact-info button:hover {
    background-color: #041120;
  }
  
  /* Social media icons layout */
  .social-links {
    text-align: center;
    margin-top: 30px;
  }
  
  .social-links img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    transition: transform 0.3s ease;
  }
  
  .social-links img:hover {
    transform: scale(1.15);
  }
  /* === Cart Page Specific Styling === */
  
  .cart-container {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .cart-items-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
  }
  
  .cart-items-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ccc;
    font-size: 1rem;
    color: #333;
  }
  
  .cart-items-list li:last-child {
    border-bottom: none;
  }
  .main-menu ul {
  display: flex;
  justify-content: center; /* centers items instead of stretching them */
  align-items: center;
  gap: 30px; /* adds even spacing between all menu links */
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-menu ul li a:hover {
  color: #ff6600; /* hover color */
}
.main-menu ul li a.active {
	color: #ff6600; /* active link color (orange example) */
	border-bottom: 2px solid #ff6600;
}
  .remove-button {
    width: 100px;
    height: 35px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    line-height: 35px; /* vertical centering */
  }
  
  .remove-button:hover {
    background-color: #c0392b;
  }
  
  .cart-total {
    text-align: right;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
    color: #000;
  }
  
  .cart-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .cart-buttons .button {
    background-color: black;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .cart-buttons .button:hover {
    background-color: #041120;
  }
  form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* Form Group Styles */
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  .form-group label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
  }
  
  .form-group input,
  .form-group select {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
  }
  
  .form-group input:focus,
  .form-group select:focus {
    border-color: #007BFF;
  }
  
  .form-group input[readonly] {
    background-color: #f0f0f0;
    cursor: not-allowed;
  }
  
  input[type="date"] {
    cursor: pointer;
  }
  
  /* Submit Button */
  button.submit-button {
    padding: 15px;
    background-color:black;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
  }
  
  button.submit-button:hover {
    background-color: black;
  }
  
  button.submit-button:active {
    background-color: #003366;
  }
  
  /* Total Amount Field */
  .form-group input[readonly] {
    background-color: #f4f4f4;
    font-weight: bold;
    color: #333;
  }
  
  /*
  /* Floating Call Button (Left Side) */
.call-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 20px;
  left: 20px;
  background-color: #25d366; /* deep blue for visibility */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 26px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-float:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

/* Floating WhatsApp Button (Right, above Tawk.to) */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 100px; /* lifted above Tawk.to */
  right: 27px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 26px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}
	    .cart-count-badge {
  background-color: #FF6B00;
  color: white;
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 12px;
  margin-left: 6px;
  font-weight: bold;
}