body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
   background: #ffffff;
}

/* ================= HEADER ================= */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 10px 10px; /* 🔥 ลด padding */
}

header {
  background: #ffffff;
  box-shadow: none;
}

header {
  border-bottom: 1px solid #eee;
}

/* LOGO */
.logo {
  padding: 10px;
}


.logo img {
  height: 80px; 
}

/* NAV */
nav {
  display: flex;
  align-items: center;
}

nav a {
  font-size: 15px;
  letter-spacing: 2px;
  margin-left: 25px;
  color: #222;
}

nav a:hover {
  color: #c9a86a;
}

/* ICON */
.icon {
  margin-left: 15px;
  cursor: pointer;
}

/* ================= HERO ================= */

.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(to right, #fbc2eb, #a6c1ee);
}

.hero-sub {
  letter-spacing: 3px;
  font-size: 12px;
  color: #c9a74d;
}

.hero h1 {
  font-size: 48px;
}

.hero p {
  color: #333;
}

.hero button {
  margin-top: 25px;
  padding: 12px 30px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  transition: 0.3s;
}

.hero button:hover {
  background: #c9a86a;
}

/* ================= PRODUCTS ================= */

.products {
  padding: 60px 20px;
  text-align: center;
}

.products h2 {
  font-size: 28px;
}

/* เส้นทองใต้หัวข้อ */
.products h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #c9a74d;
  margin: 10px auto 0;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

/* CARD */
.card {
  background: white;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.3s;
}

.card:hover img {
  transform: scale(1.05);
}

/* TEXT */
.card h3 {
  margin: 10px 0 5px;
}

.price {
  color: #e91e63;
  font-weight: bold;
}

/* BUTTON */
.card button {
  margin-top: 10px;
  padding: 12px;
  background: black;
  color: white;
  border: none;
  letter-spacing: 1px;
  transition: 0.3s;
}

.card button:hover {
  background: #c9a86a; /* 🔥 ทอง */
  color: black;
}

/* POPUP */
/* MODAL BACKGROUND */


@keyframes zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ================= FOOTER ================= */

footer {
  background: black;
  color: white;
  padding: 20px;
  text-align: center;
}

/* ================= FLOAT BUTTON ================= */

.line-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #06C755;
  color: white;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {

  header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .logo img {
    height: 70px;
  }
}
