:root {
  --main-color: #0088cc;
  --text-color: #333;
  --bg-color: #f9f9f9;
  --accent-color: #ffc107;
  --font-family: 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header */
header {
  background-color: var(--main-color);
  color: white;
  padding: 20px;
  text-align: center;
}
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-header {
  width: 60px;
  margin-bottom: 10px;
}
header input {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
}

/* Layout */
.main-layout {
  display: flex;
  flex-wrap: wrap;
}
.sidebar {
  flex: 1 1 200px;
  padding: 20px;
  background: #fff;
}
.content {
  flex: 3 1 600px;
  padding: 20px;
}

/* Marketplace Sidebar */
.marketplace-logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.marketplace-logo img {
  width: 120px;
  height: auto;
  display: block;
}

/* Artikel Sambutan */
.welcome {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid var(--main-color);
}

/* Produk Unggulan */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(1.02);
}
.card img {
  width: 100%;
  height: auto;
}
.card-content {
  padding: 15px;
}
.card h3 {
  margin-top: 0;
}
.card p {
  margin: 0.3em 0;
}
.btn-beli {
  display: inline-block;
  background: var(--main-color);
  color: white;
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 5px;
  text-decoration: none;
}

/* Testimoni */
#testimoni {
  margin-top: 40px;
  background: #fff;
  padding: 20px;
}
.testimoni-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testi {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #f5f5f5;
  padding: 15px;
  border-radius: 10px;
  max-width: 500px;
}
.testi img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}
.bintang {
  font-size: 18px;
  color: #ffc107;
  letter-spacing: 2px;
}

/* Footer & Kurir Logo */
footer {
  background: #eee;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
.logokurir img {
  height: 40px;
  margin: 5px 10px;
}

/* Link Info Footer */
.info‑footer‑links ul {
  list-style: none;
  padding: 0;
}
.info‑footer‑links li {
  margin-bottom: 10px;
}
.info‑footer‑links a {
  color: var(--main-color);
  text-decoration: none;
}
.info‑footer‑links a:hover {
  text-decoration: underline;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .main-layout {
    flex-direction: column;
  }
  .header-inner {
    flex-direction: column;
  }
  .sidebar {
    order: 2;
  }
  .content {
    order: 1;
  }
}
form {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}
input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
button {
  background-color: var(--main-color);
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.kontak-info a.btn-contact {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 5px;
  text-decoration: none;
}
.kontak-info a.btn-contact + .btn-contact {
  background: #0088cc;
  margin-left: 10px;
}
.ulasan-produk {
  margin-top: 40px;
}

.review {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 15px;
}
.marketplace-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.btn‑market {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background-color: #008cff; /* bisa ubah sesuai brand warna utama Anda */
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s, transform 0.2s;
  font-weight: 500;
}

.btn‑market img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.btn‑market:hover {
  background-color: #005bb5;
  transform: translateY(-2px);
}
