/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #222;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   HEADER
========================= */
/* =========================
   SWEETME HEADER (WHITE)
========================= */

.main-header {
  background: #ffffff;
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
}

.main-header .row {
  display: flex;
  align-items: center;
}

/* ===== LOGO ===== */
.logo {
  font-size: 26px;
  font-weight: 800;
  color: #1b7f3a; /* Sweet green */
  text-decoration: none;
}

.logo:hover {
  color: #166534;
}

.tagline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 1px;
  margin-top: -3px;
}

/* ===== MENU ===== */
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #1f2937;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
}

/* underline hover effect */
.nav-menu li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #facc15; /* yellow accent */
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

.nav-menu li a:hover {
  color: #1b7f3a;
}

.nav-menu li a:hover::after {
  width: 100%;
}

/* ===== ICONS ===== */
.header-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.header-icons i {
  font-size: 18px;
  color: #1f2937;
  cursor: pointer;
  transition: 0.3s;
}

.header-icons i:hover {
  color: #1b7f3a;
}

/* ===== CART BADGE (OPTIONAL) ===== */
.header-icons .fa-shopping-cart {
  position: relative;
}

.header-icons .fa-shopping-cart::after {
  content: "2";
  position: absolute;
  top: -8px;
  right: -10px;
  background: #facc15;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 50%;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 767px) {
  .logo {
    font-size: 22px;
  }

  .tagline {
    font-size: 10px;
  }

  .header-icons {
    gap: 16px;
  }
}


/* =========================
   HERO SECTION
========================= */
.hero-banner {
  background: linear-gradient(135deg, #14532d, #22c55e);
  padding: 90px 0 80px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-title span {
  display: block;
  color: #facc15;
}

.hero-subtitle {
  margin-top: 15px;
  font-size: 20px;
  color: #ecfeff;
}

/* =========================
   HERO PRODUCTS ROW
========================= */
.hero-products {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 26px;
  flex-wrap: nowrap; /* important */
}

.hero-product {
  width: 180px;
  height: 240px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

.hero-product:hover {
  transform: translateY(-8px);
}

.hero-product img {
  height: 180px;
  object-fit: contain;
}

/* =========================
   CENTER FEATURED PRODUCT
========================= */
.hero-product.featured {
  width: 230px;
  height: 310px;
  background: #ffffff;
  transform: translateY(-25px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.hero-product.featured img {
  height: 230px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-products {
    flex-wrap: wrap;
  }

  .hero-product {
    width: 160px;
    height: 220px;
  }

  .hero-product.featured {
    width: 200px;
    height: 280px;
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .navbar ul {
    display: none;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}


/* =========================
   CATEGORY SECTION
========================= */

/* =========================
   CATEGORY SECTION
========================= */

.category-section {
  padding: 80px 0;
  background: #ffffff;
}

.category-title {
  text-align: center;
  margin-bottom: 50px;
}

.category-title h2 {
  font-size: 34px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.category-title h2 span {
  color: #1b7f3a; /* SweetMe green */
}

.category-title p {
  margin-top: 10px;
  font-size: 15px;
  color: #6b7280;
}

/* Category Card */
.category-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 25px;
  text-align: center;

  display: flex;               /* 👈 add */
  flex-direction: column;      /* 👈 add */
  align-items: center;         /* 👈 add */
  justify-content: center;     /* 👈 add */

  transition: 0.4s;
  cursor: pointer;
  border: 1px solid #e5e7eb;
}

.category-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 18px auto;   /* 👈 center */
  display: block;             /* 👈 important */
}


.category-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

/* Hover Effect */
.category-card:hover {
  transform: translateY(-8px);
  border-color: #1b7f3a;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.category-card:hover h5 {
  color: #1b7f3a;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
  }

  .category-card {
    padding: 20px;
  }

  .category-card img {
    width: 70px;
    height: 70px;
  }
}


/* =========================
   BEST SELLERS
========================= */

.best-sellers {
  padding: 80px 0;
  background: #ffffff;
}

/* TITLE */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
}

.section-title span {
  display: block;
  width: 60px;
  height: 3px;
  background: #1b7f3a;
  margin: 12px auto 0;
}

/* PRODUCT CARD */
.product-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 20px;
  text-align: center;
  transition: 0.4s;
}

.product-card:hover {
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transform: translateY(-5px);
}

/* IMAGE */
.product-img {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.product-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* TITLE */
.product-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  min-height: 45px;
}

/* SOLD OUT */
.sold-out {
  font-size: 14px;
  color: #9ca3af;
  margin: 6px 0 12px;
}

/* VARIANT */
.product-variant {
  width: 100%;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 12px;
}

/* BUTTON */
.add-cart {
  width: 100%;
  border: 1px solid #1b7f3a;
  background: transparent;
  color: #1b7f3a;
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  border-radius: 6px;
  transition: 0.3s;
}

.add-cart i {
  margin-left: 6px;
}

.add-cart:hover {
  background: #1b7f3a;
  color: #ffffff;
}


/* =========================
   FOOTER
========================= */

.site-footer {
  background: #ffffff;
  border-top: 3px solid #1b7f3a;
  padding: 60px 0 0;
  font-size: 14px;
}

.footer-logo {
  font-size: 26px;
  font-weight: 800;
  color: #1b7f3a;
}

.footer-tagline {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 15px;
}

.footer-text {
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #1b7f3a;
  color: #1b7f3a;
  margin-right: 8px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #1b7f3a;
  color: #ffffff;
}

/* LINKS */
.site-footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #14532d;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #374151;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #1b7f3a;
  padding-left: 4px;
}

/* NEWSLETTER */
.footer-newsletter input {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  margin-bottom: 10px;
}

.footer-newsletter button {
  width: 100%;
  padding: 10px;
  border: none;
  background: #1b7f3a;
  color: #ffffff;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
}

.footer-newsletter button:hover {
  background: #166534;
}

/* CATALOGUE */
.catalogue-box {
  margin-top: 20px;
}

.catalogue-box h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.catalogue-btn {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #facc15;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  background: #facc15;
}

.catalogue-btn:hover {
  background: #eab308;
}

/* BOTTOM */
.footer-bottom {
  background: #f0fdf4;
  padding: 15px 0;
  text-align: center;
  margin-top: 40px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #374151;
}
