/* style.css */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Top Bar */
  .top-bar {
    background-color: #333;
    color: #fff;
    font-size: 14px;
  }
  .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
  }
  .top-bar-left span {
    margin-right: 15px;
  }
  .top-bar-right a {
    margin-left: 15px;
    color: #fff;
    font-weight: bold;
  }
  .buy-now-btn {
    background-color: #69b44c;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
  }
  
  /* Main Header */
  .main-header {
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 10px 0;
  }
  .main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .logo img {
    max-height: 100px;
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
  }
  
  /* Navigation */
  .main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
  }
  .main-nav a {
    color: #333;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
  }
  .main-nav a:hover {
    color: #69b44c;
  }
  
  /* Search Bar */
  .search-bar {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .search-bar input {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .search-bar button {
    background-color: #69b44c;
    border: none;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  /* Cart Info */
  .cart-info {
    font-weight: 600;
    position: relative;
    padding: 5px;
  }
  .cart-info span {
    color: #ff5722;
    font-weight: bold;
    margin-left: 5px;
  }
  
  /* Banner Section (Optional) */
  .banner-section {
    background-color: #f0f0f0;
    text-align: center;
    padding: 30px 0;
  }
  .banner-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .banner-section p {
    font-size: 16px;
    color: #555;
  }
  
  /* Category Grid (Optional) */
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
    text-align: center;
  }
  .category-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .category-card img {
    max-width: 100%;
    border-radius: 8px;
  }
  .category-card h3 {
    margin-top: 5px; 
    font-size: 16px;
    color: #333;
  }
  
  /* Cart Section */
  .cart-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 40px;
  }
  .cart-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
  }
  .cart-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }
  .cart-items th,
  .cart-items td {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }
  .cart-items th {
    background-color: #f1f1f1;
    font-weight: bold;
  }
  .cart-items td input[type="number"] {
    width: 60px;
    padding: 4px;
    text-align: center;
  }
  .remove-btn {
    background-color: #ff5722;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
  }
  .remove-btn:hover {
    background-color: #e64a19;
  }
  .total-row {
    text-align: right;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1rem;
  }
  .checkout-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    border: none;
    background: #69b44c;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
    margin-top: 1rem;
  }
  .checkout-btn:hover {
    transform: scale(1.05);
  }
  
  /* Footer */
  footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
  }
  /* 
  style.css
  Ensure these classes match the ones in your product HTML 
*/

/* Container for products */
.product-list {
  display: flex;          /* or display: grid; */
  flex-wrap: wrap;        /* allows wrapping on smaller screens */
  gap: 20px;              /* spacing between product cards */
  justify-content: center;/* centers the cards horizontally */
  margin-bottom: 40px;
}

/* Individual product card */
.product {
  background-color: #fff;
  width: 250px;           /* fixed card width */
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 15px;
}

/* Product image */
.product img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Product title */
.product h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

/* Price styling */
.price {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #69b44c;
}

/* Container for buy/qty actions */
.action-container {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Quantity dropdown */
.quantity-select {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Buy Now button */
.buy-btn {
  background: #69b44c;
  color: #fff;
  padding: 6px 12px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}
.buy-btn:hover {
  background: #57a13e;
}
.categories-grid {
  display: flex;           /* Use flex layout */
  flex-wrap: wrap;         /* Wrap cards on smaller screens */
  gap: 20px;               /* Spacing between cards */
  justify-content: center; /* Center them horizontally */
  margin: 40px 0;
  text-align: center;
}

.category-card {
  background: #fff;
  border-radius: 8px;
  width: 150px;            /* Fixed width for uniform alignment */
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.category-card img {
  max-width: 100%;
  border-radius: 8px;
}

.category-card h3 {
  margin-top: 5px;
  font-size: 16px;
  color: #333;
}
/* style.css */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; /* Centers the container horizontally */
}
.categories-grid {
  display: flex;           /* Use flex layout */
  flex-wrap: wrap;         /* Wrap on smaller screens */
  gap: 20px;               /* Spacing between cards */
  justify-content: center; /* Center all cards horizontally */
  margin: 40px 0;          /* Top/bottom margin */
}
.category-card {
  width: 150px;            /* Fixed width for each card */
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin: 40px 0;
  justify-items: center; /* Ensures each card is centered in its grid cell */
}
.category-card {
  width: 150px; /* or remove if you prefer auto sizing */
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* style.css */

/* Center the container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Flex layout for categories */
.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}

/* Category cards */
.category-card {
  width: 150px;
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.category-card img {
  max-width: 100%;
  border-radius: 8px;
}
.category-card h3 {
  margin-top: 5px;
  font-size: 16px;
  color: #333;
}
/* Container for multiple product cards */
.product-list {
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
  justify-content: center; 
  margin-bottom: 40px;
}

/* Single product card */
.product-card {
  background-color: #fff;
  border-radius: 8px;
  width: 250px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 15px;
  transition: transform 0.2s;
}
.product-card:hover {
  transform: translateY(-2px);
}

/* Product image container */
.product-image img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Title */
.product-title {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #333;
  font-weight: bold;
}

/* Description */
.product-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Price */
.product-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #69b44c;
  margin-bottom: 10px;
}

/* Action Container */
.action-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Quantity dropdown */
.quantity-select {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Buy button */
.buy-btn {
  background: #69b44c;
  color: #fff;
  padding: 6px 12px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}
.buy-btn:hover {
  background: #57a13e;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.top-bar {
  background-color: #333;
  color: #fff;
  /* ... */
}
/* etc. */

/* =====================
   Payment Container Styling
   ===================== */
   .payment-container {
    background: #fff;
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .payment-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
  }
  
  .order-summary {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .order-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .order-summary p {
    font-size: 1.1rem;
    margin: 5px 0;
    color: #555;
  }
  
  .paytm-section {
    margin-bottom: 20px;
  }
  
  .paytm-section p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #555;
  }
  
  .qrcode-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border: 2px solid #ddd;
    padding: 10px;
    border-radius: 8px;
  }
  
  .confirm-btn {
    background: #69b44c;
    color: #fff;
    padding: 15px 25px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .confirm-btn:hover {
    background: #57a13e;
  }
  .order-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }
  
  .order-summary-table th,
  .order-summary-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
  }
  
  .order-summary-table th {
    background-color: #f1f1f1;
    font-weight: bold;
    color: #333; 
  }
  
  .order-summary-table td {
    color: #555;
  }
  
  .order-summary-table tr:last-child td {
    border-top: 2px solid #69b44c;
  }

  /* Full-page Payment Layout */
.payment-fullpage {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh; /* Full viewport height */
  background: #f5f5f5; /* Background color for the full page */
  padding: 20px; /* Optional padding for mobile devices */
}

/* Payment Container: Now spans more of the page */
.payment-container {
  background: #fff;
  width: 100%;
  max-width: 100%; /* Remove the previous max-width limitation */
  padding: 30px;
  border-radius: 0;  /* Remove rounded corners if you want a full-page look */
  box-shadow: none;  /* Remove shadow for a flatter design */
  text-align: center;
}

/* Payment Container Headings & Text */
.payment-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.order-summary {
  margin-bottom: 20px;
  text-align: center; /* Centered text for full-page look */
}

.order-summary h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.order-summary p {
  font-size: 1.1rem;
  margin: 5px 0;
  color: #555;
}

.paytm-section {
  margin-bottom: 20px;
}

.paytm-section p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #555;
}

/* QR Code Container */
.qrcode-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border: 2px solid #ddd;
  padding: 10px;
  border-radius: 8px;
}

/* Confirmation Button */
.confirm-btn {
  background: #69b44c;
  color: #fff;
  padding: 15px 25px;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.confirm-btn:hover {
  background: #57a13e;
}

/* =====================
   Thank You (Tanhyou) Page Styling
   ===================== */
   .thankyou-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;  /* Adjust as needed */
  }
  
  .thankyou-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
    max-width: 500px;
  }
  
  .thankyou-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
  }
  
  .thankyou-container p {
    font-size: 1.1rem;
    margin: 10px 0;
    color: #555;
  }
  
  .continue-btn {
    display: inline-block;
    margin-top: 20px;
    background: #69b44c;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
  }
  
  .continue-btn:hover {
    background: #57a13e;
  }
  
  