/* =========================================
   1. GLOBAL RESET & TYPOGRAPHY
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa; /* Abu-abu sangat muda */
  color: #333;
  line-height: 1.6;
  overflow-x: hidden; /* Mencegah scroll samping */
  position: relative;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* =========================================
   2. NAVBAR MODERN
   ========================================= */
.navbar {
  background-color: #ffffff;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  color: #2d89ef;
  font-weight: 700;
  font-size: 22px;
}

nav ul {
  display: flex;
}

nav li {
  margin: 0 15px;
}

nav a {
  color: #555;
  font-weight: 500;
  padding-bottom: 5px;
  position: relative;
}

nav a:hover,
nav a.active {
  color: #2d89ef;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2d89ef;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: 0.3s;
}

/* =========================================
   3. HERO SECTION (Halaman Utama)
   ========================================= */
.hero {
  /* Gambar background (Ganti URL ini dengan foto tokomu sendiri jika ada) */
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("image/background.webp");
  background-size: cover;
  background-position: center;
  height: 90vh; /* Tinggi hampir layar penuh */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem; /* Ukuran besar */
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* =========================================
   4. LAYOUT & SECTIONS (Umum)
   ========================================= */
.content {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px 40px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #333;
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #2d89ef;
  margin: 10px auto;
  border-radius: 2px;
}

/* =========================================
   5. FEATURES (Keunggulan)
   ========================================= */
.features {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.features .container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-box {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  border: 1px solid #eee;
}

.feature-box:hover {
  transform: translateY(-10px);
  border-color: #2d89ef;
}

.feature-box .icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
  display: block;
}

/* =========================================
   6. PRODUK CARD & CONTAINER (FIX UKURAN)
   ========================================= */
.featured-products {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.produk-container {
  /* GANTI DARI GRID KE FLEX */
  display: flex;
  flex-wrap: wrap;        /* Turun ke bawah kalau baris penuh */
  justify-content: center; /* Posisi produk di tengah layar */
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;

  /* === KUNCI AGAR TIDAK MELAR === */
  flex: 1 1 220px;   /* Minimal 220px, boleh membesar dikit */
  max-width: 280px;  /* TAPI MENTOK di 280px (Gak bakal jadi raksasa) */
  width: 100%;       /* Supaya aman di HP */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 2; /* Biar numpuk di atas kalau hover */
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.card h3 {
  margin: 15px 10px 5px;
  font-size: 1.1rem;
  color: #333;
  
  /* Biar judul panjang gak ngerusak kartu (opsional) */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card p {
  color: #2d89ef;
  font-weight: 600;
  margin-bottom: 15px;
}

/* =========================================
   7. TESTIMONI
   ========================================= */
.testimoni-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.testimoni-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.testimoni-card {
  background: #f0f8ff; /* Biru sangat muda */
  padding: 30px;
  border-radius: 15px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimoni-card p {
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
}

.testimoni-card h4 {
  margin-top: 20px;
  color: #2d89ef;
  font-weight: 700;
}

/* =========================================
   8. CALL TO ACTION (CTA) BANNER
   ========================================= */
.cta-banner {
  background: linear-gradient(135deg, #2d89ef, #1a66d4);
  color: white;
  text-align: center;
  padding: 60px 20px;
  margin: 50px auto;
  border-radius: 20px;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(45, 137, 239, 0.3);
}

.cta-banner h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-banner p {
  color: #e3f2fd;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

/* =========================================
   9. FOOTER
   ========================================= */
footer {
  background-color: #222;
  color: #ddd;
  padding: 60px 0 0;
  margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px 40px;
}

.footer-section {
  margin: 20px;
  min-width: 200px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
  border-bottom: 2px solid #2d89ef;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-section ul {
  padding: 0;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #aaa;
  transition: 0.3s;
}

.footer-section a:hover {
  color: #2d89ef;
  padding-left: 5px;
}

.footer-bottom {
  background: #111;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  border-top: 1px solid #333;
}

/* =========================================
   10. BUTTONS (Standarisasi Tombol)
   ========================================= */
.btn {
  display: inline-block;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Varian Warna */
.btn-primary {
  background-color: #2d89ef;
  color: white;
}
.btn-primary:hover {
  background-color: #1a66d4;
}

.btn-success {
  background-color: #25d366; /* Warna WA */
  color: white;
}
.btn-success:hover {
  background-color: #1da955;
}

.btn-warning {
  background-color: #ffc107;
  color: #333;
}
.btn-warning:hover {
  background-color: #e0a800;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}
.btn-secondary:hover {
  background-color: #5a6268;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}
.btn-outline:hover {
  background-color: white;
  color: #333;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 8px 15px;
  margin-bottom: 15px;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Tombol Khusus Beli via WA di Kartu Produk */
.btn-beli {
  display: block;
  background-color: #25d366;
  color: white;
  text-align: center;
  padding: 10px;
  margin: 10px 15px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.btn-beli:hover {
  background-color: #128c7e;
}

/* =========================================
   11. FORM (Halaman Kontak)
   ========================================= */
form {
  max-width: 600px;
  margin: 20px auto;
  text-align: left;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  border-color: #2d89ef;
  box-shadow: 0 0 8px rgba(45, 137, 239, 0.3);
  outline: none;
}

/* =========================================
   12. WIDGET CHATBOT
   ========================================= */
#chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  font-family: "Poppins", sans-serif;
}

#chat-toggle-btn {
  background-color: #2d89ef;
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

#chat-toggle-btn:hover {
  transform: scale(1.05);
  background-color: #1a66d4;
}

#chat-box {
  width: 320px;
  height: 400px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  bottom: 70px;
  right: 0;
  transition: all 0.3s ease;
  z-index: 2001;
}

#chat-box.hidden {
  display: none;
}

.chat-header {
  background-color: #2d89ef;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

#close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

#chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.bot-message {
  background-color: #e9ecef;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.user-message {
  background-color: #2d89ef;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-input-area {
  display: flex;
  padding: 10px;
  border-top: 1px solid #eee;
  background: white;
}

#user-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
  margin-bottom: 0; /* Override global input margin */
}

#send-btn {
  background: none;
  border: none;
  color: #2d89ef;
  font-size: 20px;
  cursor: pointer;
  margin-left: 10px;
}

/* =========================================
   RESPONSIVE NAVBAR (MOBILE - LEBIH RAMPING)
   ========================================= */
@media (max-width: 768px) {
  
  /* 1. TOMBOL HAMBURGER (Pojok Kanan) */
  .hamburger {
    display: flex;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    cursor: pointer;
  }
  
  /* 2. MENU SIDEBAR (RAMPING) */
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;           /* Sembunyi di kanan */
    
    /* === PERUBAHAN UTAMA DI SINI === */
    width: 180px;           /* Dikecilkan dari 250px jadi 180px */
    height: auto;           /* Tinggi otomatis */
    padding-bottom: 15px;
    padding-top: 60px;      /* Jarak atas dikurangi dikit */
    
    background-color: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    
    border-bottom-left-radius: 15px; /* Lengkungan lebih halus */
    box-shadow: -2px 5px 15px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

  nav ul.active {
    right: 0; /* Muncul */
  }

  nav li {
    margin: 0;
    width: 100%;
    text-align: left;
  }

  nav a {
    display: block;
    
    /* === HURUF LEBIH KECIL & RAPAT === */
    padding: 10px 20px;     /* Spasi lebih rapat */
    font-size: 0.9rem;      /* Huruf dikecilkan sedikit (14px) */
    color: #333;
    border-bottom: 1px solid #f9f9f9;
  }

  nav a:hover, nav a.active {
    background-color: #f0f8ff; /* Warna biru sangat muda */
    color: #2d89ef;
    border-left: 3px solid #2d89ef; /* Penanda aktif di kiri */
  }


  /* Hero Mobile */
  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    height: 70vh;
  }

  /* Chatbot Mobile */
  #chat-box {
    width: 280px;
    right: -10px; /* Sedikit geser agar tidak terlalu mepet */
  }

  /* Footer Mobile */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin: 10px 0;
  }

  /* === PERBAIKAN LEBAR KONTEN (TOKO & KONTAK) === */
  
  /* 1. Reset Ukuran Kotak agar pas di layar HP */
  .info-side, .map-side, 
  .contact-info, .contact-form-box {
    min-width: 100% !important; /* Paksa selebar layar, jangan lebih */
    width: 100% !important;
    padding: 20px !important;   /* Kurangi padding biar lega */
    margin: 0 0 20px 0 !important; /* Hapus margin samping */
    box-sizing: border-box;     /* Pastikan padding tidak nambah lebar */
  }

  /* 2. Pastikan Google Maps tidak bablas */
  .map-frame iframe {
    width: 100% !important;
  }

  /* 3. Perbaiki Layout Container Utama */
  .location-container, .contact-wrapper {
    display: flex;
    flex-direction: column; /* Susun ke bawah */
    gap: 0;
    width: 100%;
    overflow: hidden; /* Potong jika ada anak elemen bandel */
  }

  .content {
    padding: 20px 10px; /* Kurangi padding wadah utama */
    overflow: hidden;
  }
}

/* === STYLE HALAMAN ABOUT === */

/* Header Khusus Halaman (Page Header) */
.page-header {
  background: linear-gradient(rgba(45, 137, 239, 0.9), rgba(26, 102, 212, 0.9)),
    url("https://images.unsplash.com/photo-1604719312566-b7cb33746955?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
}

.header-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.header-content p {
  font-size: 1.1rem;
  color: #e3f2fd;
}

/* Layout Cerita (Split Image & Text) */
.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* Agar responsif di HP */
}

.about-image {
  flex: 1;
  min-width: 300px;
}
.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}
.about-text h2 {
  color: #2d89ef;
  margin-bottom: 20px;
  font-size: 2rem;
}
.about-text p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Visi Misi Section */
.visi-misi-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.visi-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.visi-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #2d89ef; /* Aksen biru di atas kartu */
  transition: transform 0.3s;
}

.visi-card:hover {
  transform: translateY(-5px);
}
.visi-card .icon {
  font-size: 3rem;
  margin-bottom: 15px;
}
.visi-card h3 {
  margin-bottom: 10px;
  color: #333;
}

/* === STYLE HALAMAN PRODUK (SEARCH & FILTER) === */

.filter-container {
  max-width: 800px;
  margin: -30px auto 30px; /* Posisi agak naik menumpuk header sedikit (efek modern) */
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 10;
}

.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-box input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid #ddd;
  outline: none;
  font-family: "Poppins", sans-serif;
}

.search-box button {
  background: #2d89ef;
  color: white;
  border: none;
  width: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.category-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cat {
  padding: 8px 20px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
  color: #555;
  font-family: "Poppins", sans-serif;
}

.btn-cat:hover,
.btn-cat.active {
  background: #2d89ef;
  color: white;
  border-color: #2d89ef;
}

/* Badge di Kartu Produk */
.card {
  position: relative; /* Penting untuk posisi badge */
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff9800; /* Warna Orange */
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 5;
}

.badge.discount {
  background-color: #e91e63; /* Warna Pink/Merah untuk diskon */
}

/* Harga */
.price {
  color: #2d89ef;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Logic Tampil/Sembunyi Produk */
.card {
  display: none; /* Default sembunyi */
}

.card.show {
  display: flex; /* Tampil kalau ada class 'show' */
}

/* === STYLE HALAMAN TOKO (LOKASI) === */

.location-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

/* Kolom Kiri (Info) */
.info-side {
  flex: 1;
  min-width: 300px;
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-side h2 {
  font-size: 1.3rem;
  color: #2d89ef;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

.divider {
  height: 1px;
  background: #ddd;
  margin: 20px 0;
}

/* List Jam Buka */
.hours-list {
  padding: 0;
  margin-bottom: 20px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  color: #555;
}

.hours-list li span:first-child {
  font-weight: 600;
}

/* Tombol Aksi */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.action-buttons .btn {
  flex: 1;
  text-align: center;
}

/* Kolom Kanan (Peta) */
.map-side {
  flex: 1.5; /* Lebih lebar dari info */
  min-width: 300px;
}

.map-frame {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 4px solid white;
}

/* Section FAQ */
.faq-section {
  padding: 40px 20px;
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-card {
  background: #f0f8ff;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #2d89ef;
}

.faq-card h4 {
  margin-bottom: 10px;
  color: #333;
}

.faq-card p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* === STYLE HALAMAN KONTAK === */

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}

/* Kolom Info (Kiri) */
.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  color: #2d89ef;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.info-item:hover {
  transform: translateX(10px);
  background: #f0f8ff;
}

.icon-box {
  width: 50px;
  height: 50px;
  background-color: #2d89ef;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.info-item h4 {
  margin: 0 0 5px;
  color: #333;
}

.info-item p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

/* Social Media */
.social-media {
  margin-top: 30px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.soc-btn {
  width: 40px;
  height: 40px;
  background: #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
  transition: 0.3s;
}

.soc-btn.instagram {
  background: #e1306c;
}
.soc-btn.facebook {
  background: #1877f2;
}
.soc-btn.tiktok {
  background: #000000;
}

.soc-btn:hover {
  transform: scale(1.1) rotate(10deg);
}

/* Kolom Form (Kanan) */
.contact-form-box {
  flex: 1.2;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.contact-form-box h2 {
  margin-bottom: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
  display: block;
}

.btn-block {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

/* === LOGO IMAGE === */
.logo {
  /* Hapus font-size dan font-weight yang lama karena sudah jadi gambar */
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px; /* Atur tinggi logo di sini (sesuaikan kebutuhan, misal 40px - 60px) */
  width: auto; /* Lebar akan menyesuaikan otomatis agar logo tidak gepeng */
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05); /* Efek membesar sedikit saat disentuh kursor */
}

/* === ANIMASI CHATBOT MENGETIK === */
.typing-indicator {
  background-color: #e9ecef; /* Warna abu-abu sama dengan bubble bot */
  padding: 15px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  width: fit-content;
  min-width: 60px;
}

.typing-indicator span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #888; /* Warna titik */
  border-radius: 50%;
  animation: typing-bounce 1s infinite ease-in-out;
  margin-right: 4px;
}

/* Mengatur jeda pantulan tiap titik */
.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}
.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  } /* Titik naik */
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
}

/* Animasi Hamburger jadi 'X' saat menu aktif */
.nav-list.active ~ .hamburger .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.nav-list.active ~ .hamburger .bar:nth-child(2) {
  opacity: 0;
}
.nav-list.active ~ .hamburger .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}


/* =========================================
   KERANJANG BELANJA (SIDEBAR SLIDING)
   ========================================= */

/* 1. TOMBOL MELAYANG (FLOATING BUTTON) */
/* Ini mengembalikan tombol bulat oranye di pojok kanan bawah */
.cart-float-btn {
    position: fixed;
    bottom: 30px; 
    right: 30px;
    background-color: #ff9800; /* Warna Oranye */
    color: white;
    width: 65px; 
    height: 65px;
    border-radius: 50%;
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 26px;
    box-shadow: 0 5px 20px rgba(255, 152, 0, 0.4);
    cursor: pointer; 
    z-index: 1000;
    transition: transform 0.3s;
}
.cart-float-btn:hover { 
    transform: scale(1.1); 
}

/* Badge Angka Merah */
.cart-count {
    position: absolute; 
    top: -5px; 
    right: -5px;
    background: red; 
    color: white;
    font-size: 14px; 
    min-width: 25px; 
    height: 25px;
    border-radius: 50%; 
    border: 2px solid white;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-weight: bold;
}

/* 2. SIDEBAR CONTAINER (PENGGANTI MODAL) */

/* Layar Gelap (Background Overlay) */
.cart-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.5); 
    z-index: 2000;
    opacity: 0; 
    visibility: hidden; /* Sembunyi dulu */
    transition: 0.3s;
    backdrop-filter: blur(2px);
}
/* Saat aktif, layar gelap muncul */
.cart-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}

/* Kotak Sidebar Utama */
.cart-sidebar {
    position: fixed; 
    top: 0; 
    right: -450px; /* Sembunyi di luar layar kanan */
    width: 100%; 
    max-width: 400px; 
    height: 100vh; /* Tinggi penuh */
    background: white;
    z-index: 2001;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Animasi geser */
    display: flex; 
    flex-direction: column;
}

/* Saat aktif, sidebar geser masuk */
.cart-sidebar.open { 
    right: 0; 
}

/* 3. STRUKTUR DALAM SIDEBAR */
.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    background: #f8f9fa;
}

.cart-body {
    flex: 1; /* Mengisi sisa ruang */
    padding: 20px;
    overflow-y: auto; /* Scroll jika barang banyak */
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

/* 4. TAMPILAN ITEM BARANG */
.cart-item {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding-bottom: 15px; 
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
}
.cart-item:last-child { border-bottom: none; }

.btn-hapus-item {
    color: #ff4d4d;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
}
.btn-hapus-item:hover { transform: scale(1.2); }