/* ===================== พื้นฐาน ===================== */
body {
  margin: 0;
  font-family: 'Kanit', sans-serif;
  background-color: #fff8f8;
  color: #333;
}

/* ===================== เมนูนำทาง ===================== */
.main-nav {
  background-color: #ffeff6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #d63384;
  line-height: 1.2;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu li {
  list-style: none; /* ป้องกัน bullet ซ้อน */
}

.nav-menu li a {
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  color: #d63384;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.nav-menu li a:hover {
  background-color: #ffe0ec;
}

/* ===================== ส่วนสั่งซื้อสินค้า ===================== */
.order-section {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 50px auto;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.order-image {
  flex: 1 1 400px;
  background-color: #fce4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.order-image img {
  max-width: 100%;
  max-height: 500px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-form-box {
  flex: 1 1 500px;
  padding: 30px;
}

.order-form-box a {
  display: inline-block;
  margin-bottom: 10px;
  color: #d63384;
  font-weight: bold;
  text-decoration: none;
}

.order-form-box h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #c2185b;
}

.order-form-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-form-box input,
.order-form-box textarea,
.order-form-box select {
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background-color: #fff5fa;
  box-shadow: 0 0 0 1px #f3cdda inset;
  transition: box-shadow 0.3s, background-color 0.3s;
}

.order-form-box input:focus,
.order-form-box textarea:focus,
.order-form-box select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ff80ab inset;
  background-color: #fff0f8;
}

.order-form-box select {
  appearance: none;
}

.order-form-box button {
  padding: 12px;
  font-size: 16px;
  background-color: #ff80ab;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.order-form-box button:hover {
  background-color: #ec407a;
}

/* ===================== ฟุตเตอร์ ===================== */
.custom-footer {
  background-color: #ffdde8;
  padding: 40px 20px;
  font-size: 14px;
  color: #444;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.footer-col {
  flex: 1 1 300px;
  margin-bottom: 20px;
}

.footer-col h3 {
  color: #d63384;
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-col p {
  margin: 6px 0;
}

.social-icons img {
  width: 28px;
  margin-right: 10px;
  vertical-align: middle;
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  .order-section {
    flex-direction: column;
  }

  .order-image,
  .order-form-box {
    flex: 1 1 100%;
  }

  .order-form-box {
    padding: 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
