a.google-login-btn {
  display: inline-block;
  background: #fff;
  color: #444;
  width: 250px;
  border-radius: 5px;
  border: thin solid #888;
  box-shadow: 1px 1px 1px grey;
  white-space: nowrap;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
}
a.google-login-btn img {
  width: 20px;
  vertical-align: middle;
  margin-right: 10px;
}

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    
    
  }
  
  /* Center the body content */
  main#main-container {
    max-width: 1200px;
    
    padding: .5rem;
  }
  
  /* Header/Nav styles */
  header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    
    
  }
  
  .navbar {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  #cart-container {
    position: relative;
  }
  
  #cart-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
  }
  
  #cart-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 8px;
    width: 250px;
    z-index: 1000;
  }
  
  .hidden {
    display: none;
  }
  
  /* Footer styles */
  footer {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #fff;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eaeaea;
  }
  
  /* Utility Classes */
  .button-primary {
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .button-secondary {
    background-color: #f4f4f4;
    color: #333;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .pricing-info {
  font-size: 14px;
  margin-bottom: 10px;
  color: #333;
}

.mrp del {
  color: #999;
  font-size: 14px;
}

/* Regular price without strike-through */
.mrp {
  color: #333;  /* Neutral dark color for regular price */
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.final-price {
  font-weight: bold;
  color: #d32f2f;
  font-size: 15px;
}

.discount {
  color: green;
  font-size: 0.9em;
  margin-left: 5px;
}

.offer-till {
  font-size: 0.8em;
  color: #555;
  margin-top: 4px;
}

.seller-name {
  font-size: 0.85em;
  color: #444;
  font-style: italic;
  margin-top: 6px;
}

  
  
  /* Responsive tweaks */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
  
    #cart-dropdown {
      width: 100%;
      right: 0;
      left: 0;
    }
  
    main#main-container {
      padding: 1rem 0.5rem;
    }
  }
  
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.card-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}





/* DETAILS Button */
.details-btn {
  background-color: #e0e0e0;
  color: #333;
}

.details-btn:hover {
  background-color: #ccc;
}

/* ADD TO CART Button - Consistent with product_detail.php */
.add-to-cart-btn {
  background-color: #007bff;
  color: white;
}

.add-to-cart-btn:hover {
  background-color: #0056b3;
}

.details-btn {
  display: inline-block;
  text-align: center;
}



#cart-container {
  position: relative;
}

#cart-button {
  font-size: 1rem;
  padding: 0.5rem 1rem;
  background-color: blue;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}
#cart-container {
  position: relative;
}

.cart-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  width: 250px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  padding: 1rem;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

#cart-container:hover .cart-dropdown {
  display: flex;
}

.cart-dropdown .cart-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding:4px 0;
}

.cart-dropdown .cart-total {
  margin-top: 0.5rem;
  font-weight: bold;
}

.cart-dropdown .checkout-btn {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: #222;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  text-align: center;
}


footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #555;
}


.details-btn,
.add-to-cart-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  font-size: 14px;
  font-weight: bold;
  padding: 12px 0;
  height: 44px;
  border-radius: 8px;
  border: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.card-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}


/* Responsive Additions */
/* responsive.css — Enhances mobile responsiveness across all pages */

/* Container and layout tweaks */
@media screen and (max-width: 768px) {
  .container, main.container, .login-wrapper, .checkout-container, .product-container {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .product-card, .checkout-item, .vendor-card, .shipping-summary, .auth-container {
    width: 100% !important;
    margin: 10px 0 !important;
  }

  /* Flex to stack items vertically */
  .checkout-item, .cart-row-flex, .product-details-flex, .shipping-summary, .summary-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Ensure buttons and forms fill width */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  textarea,
  select,
  button,
  .login-button,
  .register-button,
  .btn,
  .qty-btn {
    width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 10px;
  }

  /* Hide non-essential large nav if needed */
  .desktop-nav {
    display: none;
  }

  .logo {
    font-size: 18px;
    text-align: center;
  }

  /* Adjust tables and cart summaries */
  .checkout-table,
  .order-summary-table,
  .vendor-order-table {
    font-size: 14px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Realign text headers */
  h1, h2, h3 {
    font-size: 20px;
    text-align: center;
  }

  /* Responsive image handling */
  img {
    max-width: 100%;
    height: auto;
  }
  
  @media (max-width: 480px) {
      .card-buttons {
        flex-direction: column;
        gap: 8px;
      }
    
      .details-btn,
      .add-to-cart-btn {
        width: 100%;
      }
    }
}

/**=======================================New CSS*/
/* === Desktop Nav === */
    .desktop-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: transparent;
      color: #222;
      padding: 10px 20px;
      flex-wrap: wrap;
      box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

    .desktop-nav .left-section {
      display: flex;
      align-items: center;
      gap: 20px;
      flex: 1;
    }

    .desktop-nav .right-section {
      display: flex;
      gap: 20px;
    }

    .desktop-nav .logo {
      font-size: 22px;
      font-weight: bold;
      color: #d35400;
    }

    .desktop-nav input[type="text"] {
      padding: 6px;
      width: 100%;
      max-width: 400px;
      background-color: #f9f9f9;
      border: 1px solid #ccc;
      border-radius: 4px;
      color: #222;
    }

    .desktop-nav .links a {
      margin: 0 10px;
      text-decoration: none;
      color: #222;
    }

    /* === Desktop Category Bar === */
    .desktop-category-bar {
      background-color: #00509e;
      color: white;
      padding: 10px 20px;
      display: flex;
      gap: 15px;
      flex-wrap: nowrap;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE 10+ */
    }

    .desktop-category-bar a {
      color: white;
      text-decoration: none;
      font-size: 14px;
      flex-shrink: 0;
    }

    /* === Mobile Layout === */
    .mobile-header,
    .bottom-nav {
        display: none;
      }

      @media (max-width: 767px) {
        .bottom-nav {
          display: flex;
          justify-content: space-around;
          align-items: center;
          padding: 8px 0;
          border-top: 1px solid #ccc;
          position: fixed;
          bottom: 0;
          width: 100%;
          background-color: #00509e;
          color: white;
        }
      }

    /* === Responsive === */
    @media (max-width: 767px) {
      .desktop-nav,
      .desktop-category-bar {
        display: none;
      }

      .mobile-header {
        display: block;
        background-color: #003366;
        padding: 10px;
      }

      .mobile-header .top-icons {
        display: flex;
        justify-content: space-around;
        margin-bottom: 10px;
        color: white;
      }

      .mobile-header .top-icons .icon {
        text-align: center;
        font-size: 12px;
        color: white;
      }

      .mobile-header .search-bar {
        display: flex;
        gap: 10px;
        margin-bottom: 8px;
      }

      .mobile-header .search-bar input {
        flex: 1;
        padding: 10px;
        border-radius: 10px;
        border: 1px solid #ccc;
      }

      .mobile-header .location {
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
        background-color: #00509e;
        color: white;
        padding: 8px;
        border-radius: 4px;
      }

      .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
        border-top: 1px solid #ccc;
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: white;
      }
      
      

      .bottom-nav .nav-icon {
        font-size: 12px;
        text-align: center;
        color: white;
      }
    }
    .desktop-category-bar::-webkit-scrollbar {
    display: none;
  }
    .search {
      flex: 1;
      padding: 0 5px;
      display: flex;
      justify-content: center;
	  border-radius: 25px;
    }


