/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* BODY BACKGROUND */
body {
  background: url("images/swee.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 243, 230, 0.9);
  z-index: -1;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 50px;
  background: linear-gradient(90deg, #ff7043, #ff8a65);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

.navbar nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.navbar nav a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  text-align: center;
  padding: 50px 20px;
}

.hero h1 {
  font-size: 40px;
  color: #e65100;
}

.hero p {
  font-size: 16px;
  color: #555;
  margin-top: 8px;
}

/* PRODUCTS */
.products {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px;
  flex-wrap: wrap;
}

/* CARD */
.card {
  background: hsl(205, 17%, 50%);
  width: 230px;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 35px rgba(0,0,0,0.2);
}

/* IMAGE ENHANCEMENT */
.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.08);
}

/* TEXT */
.card h3 {
  margin-bottom: 8px;
  color: #fff;
}

.price,
.card p {
  font-size: 18px;
  font-weight: bold;
  color: #ffeb3b;
}

/* QUANTITY BOX (NEW) */
.qty-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
}

.qty-box button {
  width: 32px;
  height: 32px;
  background: #ff6f00;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

.qty-box span {
  font-size: 16px;
  font-weight: bold;
  color: white;
}

/* ADD TO BILL BUTTON */
.card button {
  margin-top: 12px;
  padding: 10px;
  width: 100%;
  background: linear-gradient(90deg, #ff6f00, #ff8f00);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.card button:hover {
  opacity: 0.9;
}

/* BILL */
.bill {
  background: hsl(68, 88%, 70%);
  margin: 40px auto;
  padding: 30px;
  width: 450px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  text-align: center;
}

.bill ul {
  list-style: none;
  margin: 15px 0;
  text-align: left;
}

.bill h3 {
  margin: 10px 0;
  color: #fff;
}

.clear {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  background: #9e9e9e;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.pay {
  width: 100%;
  padding: 12px;
  background: #0f9d58;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

/* MAP */
.map {
  padding: 40px;
  text-align: center;
}

.map iframe {
  width: 100%;
  max-width: 900px;
  height: 320px;
  border-radius: 15px;
  border: none;
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 40px 20px;
  background: linear-gradient(90deg, #4a148c, #6a1b9a);
  color: white;
}

.footer-box {
  width: 250px;
  margin: 10px;
}

.copyright {
  text-align: center;
  padding: 12px;
  background: #311b92;
  color: white;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .products {
    padding: 20px;
  }

  .bill {
    width: 90%;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
  }
}
#searchInput {
  width: 300px;
  padding: 10px;
  margin: 15px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccccccec;
}

.sweet-card {
  padding: 12px;
  margin: 10px;
  background-color: #ffe5b4;
  border-radius: 6px;
}

/* SEARCH BAR */
.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* INPUT */
.search-container input {
  width: 420px;
  max-width: 90%;
  padding: 14px 22px;
  font-size: 16px;
  border-radius: 50px;   /* OVAL SHAPE */
  border: 2px solid #ff7a00;
  outline: none;
}

/* SEARCH BUTTON */
.search-container button {
  margin-left: -48px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #ff7a00;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* HOVER */
.search-container button:hover {
  background: #ff5c00;
}
/* PROMO SECTION */
.promo {
  background: #a1ea9c;   /* warm orange like example */
  padding: 60px 20px;
  text-align: center;
}

.promo-title {
  font-size: 36px;
  color: #6b1d1d;
  margin-bottom: 50px;
  font-family: "Georgia", serif;
}

/* FLEX LAYOUT */
.promo-items {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

/* CARD */
.promo-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%; /* circular image */
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* TEXT */
.promo-card p {
  margin-top: 20px;
  font-size: 22px;
  color: #6b1d1d;
  font-family: "Georgia", serif;
}
/* ABOUT SECTION */
.about {
  background: #fff8f4;
  padding: 80px 20px;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

/* TEXT */
.about-text h4 {
  color: #ff6a00;
  font-size: 16px;
  margin-bottom: 10px;
}

.about-text h2 {
  font-size: 42px;
  color: #4a2c2a;
  margin-bottom: 20px;
  font-family: Georgia, serif;
}

.about-text p {
  color: #6f4e4e;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* FEATURES */
.about-features {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature {
  display: flex;
  gap: 12px;
}

.feature span {
  font-size: 24px;
}

.feature h5 {
  margin: 0;
  color: #4a2c2a;
}

.feature p {
  font-size: 14px;
  margin: 4px 0 0;
}

/* STATS */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.stat-card h3 {
  font-size: 36px;
  color: #ff6a00;
  margin-bottom: 8px;
}

.stat-card p {
  color: #6f4e4e;
}

/* HIGHLIGHT CARD */
.stat-card.highlight {
  background: #ff6a00;
  color: #fff;
}

.stat-card.highlight h3,
.stat-card.highlight p {
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}
/* HERO START SECTION */
.hero-start {
  background: radial-gradient(circle at left, #fff1eb, #fde2d6);
  padding: 80px 20px;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT TEXT */
.hero-text .hero-tag {
  display: inline-block;
  background: #ffe1dc;
  color: #ff6a00;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 15px;
}

.hero-text h1 {
  font-size: 52px;
  color: #4a2c2a;
  line-height: 1.2;
  font-family: Georgia, serif;
}

.hero-text h1 span {
  color: #ff6a00;
}

.hero-text p {
  margin: 20px 0 30px;
  font-size: 18px;
  color: #6f4e4e;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.btn {
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn.primary {
  background: linear-gradient(90deg, #ff6a00, #ff944d);
  color: #fff;
}

.btn.secondary {
  border: 2px solid #ff6a00;
  color: #ff6a00;
}

/* STATS */
.hero-stats {
  display: flex;
  gap: 30px;
  color: #4a2c2a;
}

.hero-stats strong {
  font-size: 24px;
}

/* RIGHT IMAGE */
.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* FLOATING BADGE */
.best-seller {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stats {
    justify-content: center;
  }

  .best-seller {
    left: 50%;
    transform: translateX(-50%);
  }
}
/* CONTACT SECTION */
.contact-section {
  background: #fdf3eb;
  padding: 90px 20px;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT INFO */
.contact-info h4 {
  color: #ff6a00;
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-info h2 {
  font-size: 44px;
  font-family: Georgia, serif;
  color: #4a2c2a;
  margin-bottom: 15px;
}

.contact-info p {
  color: #6f4e4e;
  margin-bottom: 30px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.contact-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-box span {
  font-size: 26px;
}

.contact-box h5 {
  margin: 0;
  color: #4a2c2a;
}

.contact-box p {
  margin: 5px 0 0;
  font-size: 14px;
}

/* RIGHT FORM */
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-form h3 {
  margin-bottom: 25px;
  font-size: 24px;
  color: #4a2c2a;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 14px;
  margin-bottom: 15px;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #ff6a00, #ff944d);
  border: none;
  color: #fff;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }
}
/* VIEW ALL BUTTON */
.view-all-container {
  text-align: center;
  margin: 40px 0;
}

#viewAllBtn {
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  border: 2px solid #ff6a00;
  background: transparent;
  color: #ff6a00;
  cursor: pointer;
  transition: 0.3s;
}

#viewAllBtn:hover {
  background: #ff6a00;
  color: #fff;
}
.fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #ff4d4d;
  color: #fff;
  font-size: 26px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ================= UTILITY PANEL ================= */
.utility-panel {
  position: fixed;
  bottom: 95px;
  right: 25px;
  background: #fff;
  width: 220px;
  border-radius: 14px;
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.utility-panel button {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #333;
  color: white;
  cursor: pointer;
}

/* ================= POPUP ================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 9998;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  width: 90%;
  max-width: 420px;
  padding: 20px;
  border-radius: 18px;
  display: none;
  z-index: 9999;
}

.popup-section {
  display: none;
}

.popup input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.popup iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 10px;
}

/* ================= ATTRACTIVE BILL POPUP ================= */

.bill-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.bill-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 15px;
  color: #ff6a00;
}

/* ITEM LIST */
.bill-items {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.bill-items li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 15px;
  color: #444;
}

/* TOTAL */
.bill-total {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #2e7d32;
  margin: 20px 0;
}

/* ACTION BUTTONS */
.bill-actions {
  display: flex;
  gap: 12px;
}

.btn-clear {
  flex: 1;
  padding: 12px;
  background: #9e9e9e;
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.btn-pay {
  flex: 1;
  padding: 12px;
  background: linear-gradient(90deg, #0f9d58, #34a853);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.btn-clear:hover {
  background: #757575;
}

.btn-pay:hover {
  opacity: 0.9;
}
/* ===== POPUP & CLOSE BUTTON ===== */

#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 999;
}

#popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 90%;
  max-width: 420px;
  padding: 30px;
  border-radius: 20px;
  display: none;
  z-index: 1000;
}

/* ❌ CLOSE BUTTON */
.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 20px;
  cursor: pointer;
  color: #888;
}

.popup-close:hover {
  color: #ff0000;
}

/* SECTIONS */
.popup-section {
  display: none;
}

/* LOCATION MAP */
#locationPopup iframe {
  width: 100%;
  height: 300px;
  border-radius: 14px;
  border: none;
}
/* BACK BUTTON AFTER VIEW ALL */
#closeAllBtn {
  margin-left: 15px;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 16px;
  border: 2px solid #999;
  background: #f5f5f5;
  color: #444;
  cursor: pointer;
  transition: 0.3s;
}

#closeAllBtn:hover {
  background: #ddd;
}
.btn-pay {
  background: linear-gradient(90deg, #0f9d58, #34a853);
  color: white;
  border-radius: 12px;
}

.btn-clear {
  background: #9e9e9e;
  color: white;
  border-radius: 12px;
}
.bill-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.bill-items li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
}
.fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #ff4d4d;
  color: #fff;
  font-size: 26px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  cursor: pointer;
  z-index: 9999;
}
