* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
/* ==== HEADER ELEGAN ==== */
header {
  background: linear-gradient(
    135deg,
    #762021,
    #5a181a
  ); /* Gradasi merah maroon */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

/* ===== NAV MENU RINGKAS ===== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

/* ===== LINK NAV ===== */
.nav-menu li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;     /* area hover nyaman */
  font-size: 18px; 
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: background 0.25s ease, color 0.25s ease;
}

/* ICON */
.nav-menu li a i {
  font-size: 18px;
}

/* Hover soft (tanpa zoom) */
.nav-menu li a:hover {
  background: rgba(255,255,255,0.12);
  color: #ffddd8;
}

/* ===== LOGIN ===== */
.modal-btn {
  background: #8d2c2c;
  color: #762021;
  font-weight: 600;
}

/* ===== KERANJANG ===== */
.nav-link.cart {
  background: rgba(255,255,255,0.15);
}

/* ===== BELANJA (CTA) ===== */
.nav-link.shop {
  background: #f4c430;
  color: #5a181a;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-menu li a span {
    display: none;
  }

  .nav-menu li a {
    padding: 6px;
  }
}
/* css baru selesai */

/* ==== NAVBAR CONTAINER ==== */
.navbar {
  width: 88%; /* Kurangi sedikit dari 90% agar tidak terlalu ke tepi */
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* Logo di kiri, menu di kanan */
  align-items: center;
}

/* ==== LOGO AREA ==== */
.logo-link {
  display: flex;
  align-items: center;
  gap: 14px; /* Tambahkan sedikit jarak antara logo dan teks */
  text-decoration: none;
}

.logo-img {
  width: 60px; /* Sedikit lebih besar agar proporsional dengan navbar */
  height: 60px;
  object-fit: cover;
  border-radius: 14px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.brand-name {
  font-size: 30px; /* Perbesar sedikit agar terlihat menonjol */
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.2px;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
  transition: color 0.3s;
}

.brand-name:hover {
  color: #ffddd8;
}


/* Garis bawah saat hover (efek elegan) */
.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 60px; /* Sedikit lebih panjang agar efek hover lebih jelas */
}

/* Efek hover pada ikon */
.nav-menu li a:hover {
  background: rgba(255,255,255,0.15);
  color: #ffddd8;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 12px;
  }

  .nav-menu {
    gap: 25px; /* Sesuaikan jarak antar menu di tampilan HP */
  }

  .logo-img {
    width: 50px;
    height: 50px;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .nav-menu li a {
    font-size: 20px;
  }
}

/* End CSS Header */

.sliders {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.sliders img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center 60%; /* dorong fokus ke bawah (produk) */
  border-radius: 0 0 12px 12px;
}

/* End CSS Slider */

main {
  width: 80%;
  margin: 40px auto 60px; /* 🔥 NAIK ±50px */
  text-align: center;
}

.list-logo {
  margin-bottom: 20px;
}

.list-logo h1 {
  font-size: 28px;
  font-weight: bold;
  color: #3c6382;
  text-align: center;
}
/* BAGIAN PRODUCT */
/* ==== Grid Produk ==== */
.product-grid {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 30px;
}

/* ==== Kartu Produk ==== */
.card-product {
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}

.card-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(118, 32, 33, 0.25);
}

/* ==== Gambar Produk ==== */
.img-product {
  position: relative;
  overflow: hidden;
}

.img-product img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
  display: block;
}

.card-product:hover .img-product img {
  transform: scale(1.07);
  opacity: 0.9;
}

/* ==== Tombol View Produk ==== */
.view-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  background: rgba(118, 32, 33, 0.75);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.35s ease;
  backdrop-filter: blur(2px);
}

.card-product:hover .view-btn {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.view-btn i {
  font-size: 1rem;
}

/* ==== Info Produk ==== */
.nama-product {
  padding: 15px;
}

.nama-product h1 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.nama-product p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.nama-product h2 {
  color: #762021;
  margin-top: 5px;
  font-size: 1.1rem;
  font-weight: 600;
}

.nama-product h2 span {
  color: #bbb;
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-left: 6px;
}

/* ==== Efek Hover Link (opsional biar gak underline) ==== */
.card-link {
  text-decoration: none;
}

/* End List card Produk */

/* Garis pembatas atas */
.line {
  height: 6px;
  background: #333;
  width: 100%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  margin: 50px 0 30px;
  border-radius: 3px;
}

/* Footer */
.foot {
  background: #ffddd8;
  color: #762021;
  padding-top: 60px;
  margin-top: 30px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer > div {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer h1 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #222;
}

.footer p,
.footer li,
.footer a {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #006699;
}

.service ul {
  padding: 0;
  list-style: none;
}

.service li {
  margin-bottom: 10px;
}

/* Rata kiri kanan untuk isi Gending */
.tagline p {
  text-align: justify;
}

/* Rata kiri kanan untuk isi Tentang Kami */
.about p {
  text-align: justify;
}

/* Form Kontak */
/* Form Input (email & textarea) */
.contact-us input[type="email"],
.contact-us textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  margin-bottom: 15px;
}

.contact-us input[type="email"]:focus,
.contact-us textarea:focus {
  border-color: #0d6efd;
}

/* Tombol Submit */
.contact-us button {
  width: 100%;
  background: #0d6efd;
  color: #fff;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.contact-us button:hover {
  background: #0948c5;
}

/* Copyright */
.copy {
  background: #5a181a;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 14px;
  color: #fff;
}

/* Responsif */
@media (max-width: 992px) {
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer h1 {
    font-size: 22px;
  }

  .sosmed {
    gap: 20px;
  }
}

/* End Footer */

.banner-shop {
  width: 100%;
}

.ben-img {
  position: relative;
  width: 100%;
  height: 550px; /* bisa diubah jadi 500 untuk lebih megah */
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

/* Atur gambar header */
.ben-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center; /* fokus area kiri: model + produk */
  display: block;
  filter: brightness(0.95); /* optional, biar lebih clean */
}

.ben-img h1 {
  position: absolute;
  right: 60px; /* teks ke kanan agar tidak menutupi model */
  top: 30%;
  transform: translateY(-50%);
  color: white;
  font-size: 48px;
  font-weight: bold;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  text-align: right;
}

/* End Jumbotron */

/* ==== Navigasi Kategori Produk ==== */
.nav-product {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: 40px auto 10px auto; /* 🔹 jarak atas kecil, bawah dekat dengan list */
  padding-bottom: 10px;
  border-bottom: 2px solid #3c6382;
}

.nav-links-product {
  display: flex;
  gap: 60px; /* 🔹 spasi antar kategori */
  list-style: none;
  font-size: 20px;
  font-weight: 600;
}

.nav-links-product a {
  color: #333;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav-links-product a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 3px;
  background: #762021;
  transition: width 0.3s;
}

.nav-links-product a:hover {
  color: #762021;
}

.nav-links-product a:hover::after {
  width: 100%;
}

/* ==== Judul List Produk ==== */
.list-logo {
  margin: 10px auto 15px auto;
  text-align: center;
}

.list-logo h1 {
  font-size: 32px;
  font-weight: 700;
  color: #762021;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.list-logo h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #762021, #5a181a);
  border-radius: 2px;
}

/* ==== Product Grid Jarak ==== */
main {
  width: 80%;
  margin: 40px auto 60px; /* 🔥 NAIK ±50px */
}

.product-grid {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 10px; /* 🔹 dikurangi padding agar tidak terlalu jauh dari judul */
}

/* End Bagian Produk */

.keranjang {
  width: 90%;
  max-width: 1100px;
  margin: 80px auto;
  background: #fdfdfd;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* HEADER */
.keranjang-head {
  background: linear-gradient(135deg, #0011ff, #1e90ff);
  color: #fff;
  padding: 25px;
  text-align: center;
  border-bottom: 4px solid #003cff;
}

.keranjang-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* DATA DIRI */
.data-diri {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.data-diri table {
  margin: auto;
  border-collapse: collapse;
}

.data-diri td {
  padding: 10px 15px;
  vertical-align: middle;
}

.data-diri input,
.data-diri select {
  width: 250px;
  padding: 8px 10px;
  border: none;
  border-bottom: 2px solid #000;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.data-diri form {
  width: 450px;
  background: #ffffff;
  padding: 35px 45px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-top: 6px solid #000dc7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.data-diri form:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.data-diri h2 {
  text-align: center;
  color: #000dc7;
  margin-bottom: 30px;
  font-weight: 700;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group select {
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
  border-color: #000dc7;
  box-shadow: 0 0 8px rgba(0, 13, 199, 0.3);
  outline: none;
}

/* TABEL KERANJANG */
.keranjang-body {
  padding: 40px 20px;
  overflow-x: auto;
}

.keranjang-body table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.keranjang-body thead {
  background: #ffddd8;
  font-weight: 600;
  border-bottom: 3px solid #762021;
}

.keranjang-body th {
  padding: 14px;
  color: #333;
  font-size: 16px;
}

.keranjang-body td {
  padding: 14px 10px;
  font-size: 15px;
  color: #555;
  border-bottom: 1px solid #eee;
}

.keranjang-body tr:hover {
  background: #f9fbff;
}

.keranjang-body img,
.img-keranjang {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #f0f0f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-hapus {
  background: linear-gradient(135deg, #c70000, #ff4d4d);
  border-radius: 10px;
  padding: 6px 12px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.btn-hapus:hover {
  background: linear-gradient(135deg, #ff4d4d, #c70000);
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}

table tfoot .total-row th,
table tfoot .total-row td {
  background: #762021;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 25px;
  border-top: 2px solid #762021;
}

table tfoot .total-row th {
  text-align: right;
}

table tfoot .total-price {
  text-align: right;
  white-space: nowrap;
}

/* TOMBOL AKSI */
.keranjang-action {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.btn-chekout,
.btn-kembali {
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-chekout {
  background: linear-gradient(135deg, #762021, #5a181a);
  box-shadow: 0 4px 10px rgba(118, 32, 33, 0.4);
}

.btn-chekout:hover {
  background: linear-gradient(135deg, #5a181a, #762021);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 17, 255, 0.4);
}

.btn-kembali {
  background: linear-gradient(135deg, #ffddd8, #e8b0b0);
  color: #762021;
  box-shadow: 0 4px 10px rgba(241, 177, 0, 0.3);
}

.btn-kembali:hover {
  background: linear-gradient(135deg, #e8b0b0, #ffddd8);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(241, 177, 0, 0.4);
}

.btn-print {
  background-color: #28a745;
  color: white;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.btn-print:hover {
  opacity: 0.8;
}

/* End Keranjang */

.data-diri {
  width: 90%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 100px 0 50px 0;
  font-size: 20px;
}

.data-diri input[type="text"] {
  width: 300px;
  height: 30px;
  padding: 10px;
  font-size: 10px;
  border: none;
  border-bottom: 1px solid #333;
}

.data-diri select {
  width: 300px;
  height: 40px;
  font-size: 16px;
  border-radius: 10px;
}

.data-diri td {
  padding: 10px;
}

/* =====================
     STYLE UNTUK PRINT
  ===================== */
@media print {
  /* Sembunyikan elemen yang tidak perlu dicetak */
  header,
  nav,
  .banner-shop,
  .sosmed,
  .foot,
  .keranjang-action {
    display: none !important;
  }

  /* Fokus hanya pada invoice */
  .keranjang {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Biarkan tabel tampil full */
  .keranjang table {
    width: 100%;
    border-collapse: collapse;
  }

  .keranjang table th {
    background-color: #2196f3 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
  }

  .keranjang table td {
    border: 1px solid #000 !important;
  }

  /* Perbaiki ukuran teks dan margin kertas */
  body {
    font-size: 12pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  @page {
    size: A4 portrait;
    margin: 15mm;
  }

  /* Pastikan tabel tidak terpotong di tengah halaman */
  table {
    page-break-inside: avoid;
  }

  /* Hilangkan warna background lain yang mengganggu */
  body * {
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Bagian Modal */

.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 9999; /* ✅ LEBIH TINGGI DARI HEADER */
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.bg-active {
  visibility: visible;
  opacity: 1;
}

.modal {
  position: relative;
  padding: 40px 30px;
  text-align: center;
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
    -webkit-transform: translateY(-30px);
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -o-transform: translateY(-30px);
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.switch-form {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #555;
}

.switch-form span {
  display: block;
  margin-bottom: 6px;
}

.switch-form a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  background: #762021; /* samakan dengan tema */
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.switch-form a:hover {
  background: #5a181a;
  transform: scale(1.03);
}

.switch-form::before {
  content: "";
  display: block;
  width: 60%;
  height: 1px;
  background: #ddd;
  margin: 14px auto;
}

.close-login,
.close-daftar {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  transition: color 0.2s;
}

.close-login:hover,
.close-daftar:hover {
  color: crimson;
}

.form-input-member {
  width: 100%;
  max-width: 450px;
  transform: translateY(-50px);
  padding-top: 100px; /* TURUNKAN DI SINI */
}

.form-input-member h1 {
  margin-bottom: 25px;
  font-size: 28px;
  color: #333;
  font-family: "Poppins", sans-serif;
}

.form-input-member input {
  display: block;
  margin: 10px auto;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 85%;
  font-size: 15px;
  transition: border 0.3s ease;
}

.form-input-member input:focus {
  border-color: #007bff;
  outline: none;
}

.btn-login {
  background: linear-gradient(135deg, #762021, #5a181a);
  color: white;
  border: none;
  padding: 10px 15px;
  width: 85%;
  border-radius: 8px;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-login:hover {
  background: #218838;
}

.btn-daftar {
  background: #762021;
  color: white;
  border: none;
  padding: 10px 15px;
  width: 85%;
  border-radius: 8px;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-daftar:hover {
  background: #0056b3;
}

.daftar-btn,
.login-btn {
  display: inline-block;
  margin-top: 15px;
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}

.daftar-btn:hover,
.login-btn:hover {
  text-decoration: underline;
}

/* end bagian daftar dan login */

.detail-belanja {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin: 8vh auto;
  gap: 40px;
  padding: 20px;
}

/* === BAGIAN GAMBAR PRODUK === */
.detail-gambar {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.detail-gambar img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.detail-gambar img:hover {
  transform: scale(1.03);
}

/* === DESKRIPSI PRODUK === */
.desc-barang {
  flex: 1 1 50%;
  padding: 25px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nama-barang {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.harga {
  font-size: 22px;
  color: #007bff;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Batasi panjang deskripsi */
.deskripsi {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  max-height: 150px; /* 🔹 batasi tinggi */
  overflow-y: auto; /* 🔹 kalau panjang, muncul scrollbar */
  margin-bottom: 25px;
  padding-right: 10px;
}

/* === FORM JUMLAH & KERANJANG === */
.form-jumlah form {
  display: flex;
  align-items: center;
  gap: 15px;
}

.form-jumlah label {
  font-size: 15px;
  color: #444;
  font-weight: 500;
}

.input-jumlah {
  width: 70px;
  padding: 8px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  text-align: center;
}

.btn-tambah {
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-tambah i {
  font-size: 17px;
}

.btn-tambah:hover {
  background: #0056b3;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .sliders img {
    height: 280px;
  }

  .detail-belanja {
    flex-direction: column;
    align-items: center;
  }

  .detail-gambar img {
    max-width: 250px;
  }

  .desc-barang {
    width: 100%;
    text-align: center;
  }

  .form-jumlah form {
    flex-direction: column;
    gap: 10px;
  }

  .btn-tambah {
    width: 100%;
    justify-content: center;
  }
}

/* ================================
     STYLE UNTUK HALAMAN CHECKOUT
  ================================ */

.invoice-container {
  width: 90%;
  max-width: 1100px;
  margin: 60px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

.invoice-header {
  background: linear-gradient(135deg, #0011ff, #1e90ff);
  color: #fff;
  text-align: center;
  padding: 25px;
  border-bottom: 5px solid #0044ff;
}

.invoice-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

/* BAGIAN FORM PEMBELI */
.form-pembeli {
  padding: 30px 50px;
  background: #fdfdfd;
  border-bottom: 3px solid #e8f1ff;
}

.form-pembeli h3 {
  color: #0011ff;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
  border-left: 5px solid #0011ff;
  padding-left: 10px;
}

.form-pembeli table {
  width: 100%;
  border-collapse: collapse;
}

.form-pembeli td {
  padding: 10px 5px;
  vertical-align: middle;
  font-size: 15px;
  color: #333;
}

.form-pembeli input[type="text"],
.form-pembeli select {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.3s;
}

.form-pembeli input[type="text"]:focus,
.form-pembeli select:focus {
  border-color: #0011ff;
  box-shadow: 0 0 5px rgba(0, 17, 255, 0.2);
  outline: none;
}

/* BAGIAN PENGIRIMAN (ONGKIR) */
.form-ongkir {
  padding: 30px 50px;
  background: #fdfdfd;
  border-bottom: 3px solid #e8f1ff;
  margin-top: -10px;
}

.form-ongkir h3 {
  color: #0011ff;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
  border-left: 5px solid #0011ff;
  padding-left: 10px;
}

.form-ongkir table {
  width: 100%;
  border-collapse: collapse;
}

.form-ongkir td {
  padding: 10px 5px;
  font-size: 15px;
  color: #333;
  vertical-align: top;
}

/* Style Radio Button */
.radio-ongkir {
  display: block;
  background: #f6f8ff;
  padding: 10px 12px;
  border: 1.5px solid #dce6ff;
  border-radius: 6px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.radio-ongkir:hover {
  background: #eef3ff;
}

.radio-ongkir input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.1);
}

/* TABEL BARANG */
.tabel-barang {
  padding: 30px 50px;
  background: #ffffff;
}

.tabel-barang h3 {
  color: #0011ff;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  border-left: 5px solid #0011ff;
  padding-left: 10px;
}

.tabel-barang table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.tabel-barang thead {
  background: #eaf3ff;
  color: #333;
  font-weight: 600;
  border-bottom: 3px solid #007bff;
}

.tabel-barang th,
.tabel-barang td {
  padding: 12px 8px;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}

.tabel-barang tbody tr:hover {
  background: #f9fbff;
}

.img-keranjang {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #eee;
}

/* TOMBOL HAPUS */
.btn-hapus {
  background: linear-gradient(135deg, #ff3c00, #ff0000);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-hapus:hover {
  background: linear-gradient(135deg, #ff0000, #ff3c00);
  transform: scale(1.05);
}

/* TOTAL DAN TOMBOL BAWAH */
.tabel-barang tfoot th {
  background: #1e90ff;
  color: white;
  font-size: 17px;
  text-align: right;
  padding-right: 20px;
  border-top: 3px solid #003cff;
}

.keranjang-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.btn-chekout,
.btn-kembali {
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-chekout {
  background: linear-gradient(135deg, #0011ff, #1e90ff);
  color: #fff;
}

.btn-chekout:hover {
  background: linear-gradient(135deg, #1e90ff, #0011ff);
  transform: translateY(-2px);
}

.btn-kembali {
  background: linear-gradient(135deg, #f1b100, #ffcc33);
  color: #fff;
}

.btn-kembali:hover {
  background: linear-gradient(135deg, #ffcc33, #f1b100);
  transform: translateY(-2px);
}

/* PERBAIKAN UNTUK DROPDOWN EKSPEDISI */
.form-pembeli select {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  font-size: 15px;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='12' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M2 4l4 4 4-4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
}

.form-pembeli select:focus {
  border-color: #0011ff;
  box-shadow: 0 0 6px rgba(0, 17, 255, 0.25);
  outline: none;
}

/* Bagian Body untuk Belanja.php */

.page-belanja .list-logo {
  margin-top: 10px; /* sebelumnya mungkin 90-100, ini diturunkan */
}

.page-belanja .nav-product {
  margin-bottom: 10px; /* kecilkan biar dekat dengan list product */
}

.page-belanja .product-grid {
  margin-bottom: 10px;
  margin-top: 10px !important; /* biar LIST PRODUCT lebih rapat */
}

.nav-links-product {
  display: flex;
  gap: 20px; /* Tambahkan jarak antar tombol */
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links-product li a {
  text-decoration: none; /* Hilangkan underline */
  padding: 8px 16px; /* Biar kayak tombol */
  border-radius: 8px; /* Rounded */
  background: #f0f0f0; /* Warna default tombol */
  color: #333;
  font-weight: 500;
  display: inline-block;
  transition: 0.3s;
}

/* Hover (opsional lebih hidup) */
.nav-links-product li a:hover {
  background: #d9e6ff;
}

/* Tombol aktif */
.nav-links-product li a.active {
  background: #0a56c4; /* warna biru elegan */
  color: #fff; /* teks putih */
  font-weight: 600;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.15);
}

/* Bagian css popup chat */

/* Bubble untuk User */
.chat-user {
  background: #762021; /* warna utama */
  color: #fff; /* teks putih */
  padding: 10px 14px;
  border-radius: 14px 14px 2px 14px;
  margin-bottom: 10px;
  max-width: 75%;
  margin-left: auto; /* kanan */
  text-align: left;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  font-size: 14px;
}

/* Tombol Chat */
.chat-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #762021;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 60 !important;
  transition: 0.3s;
}

.chat-button:hover {
  transform: scale(1.1);
}

/* Popup */
.chat-popup {
  display: none;
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 300px;
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 60 !important;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Judul */
.chat-title {
  margin-top: 0;
  margin-bottom: 10px;
  color: #762021;
  text-align: center;
  font-size: 18px;
}

/* Area chat */
.chat-area {
  height: 260px;
  overflow-y: auto;
  background: #fafafa;
  border: 1px solid #dcdcdc;
  padding: 10px;
  border-radius: 10px;
}

/* Bubble User */
.chat-user {
  background: #762021;
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px 14px 2px 14px;
  margin-bottom: 12px;
  max-width: 75%;
  margin-left: auto;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  -webkit-border-radius: 14px 14px 2px 14px;
  -moz-border-radius: 14px 14px 2px 14px;
  -ms-border-radius: 14px 14px 2px 14px;
  -o-border-radius: 14px 14px 2px 14px;
}

/* Bubble Admin */
.chat-admin {
  background: #f4e7e7;
  color: #3f1010;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 2px;
  margin-bottom: 12px;
  max-width: 75%;
  margin-right: auto;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  -webkit-border-radius: 14px 14px 14px 2px;
  -moz-border-radius: 14px 14px 14px 2px;
  -ms-border-radius: 14px 14px 14px 2px;
  -o-border-radius: 14px 14px 14px 2px;
}

/* Jam */
.chat-time {
  display: block;
  text-align: right;
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.8;
}

/* Form chat */
.chat-form {
  display: flex;
  margin-top: 10px;
}

.chat-form input {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #bbb;
}

.chat-form button {
  padding: 8px 12px;
  background: #762021;
  color: white;
  border: none;
  border-radius: 6px;
  margin-left: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.chat-form button:hover {
  background: #5d191a;
}

/* End popup chat */

/*  BAGIAN PEMBAYARAN */
/* Modal Popup Pembayaran */
.modal-overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: pop 0.2s ease;
}

@keyframes pop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #444;
}

.payment-box {
  margin-top: 15px;
  padding: 15px;
  background: #f4faff;
  border-radius: 10px;
  border-left: 4px solid #1e88e5;
}

.payment-box h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.rekening-box {
  background: #ffffff;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d7d7d7;
  margin-bottom: 15px;
}

.label-upload {
  font-weight: bold;
  margin-top: 10px;
  display: block;
}

.input-upload {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 6px;
}

.btn-upload {
  width: 100%;
  padding: 10px;
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 8px;
  margin-top: 12px;
  cursor: pointer;
  font-size: 16px;
}

.btn-upload:hover {
  background: #1b5e20;
}

/* BAGIAN NOTIFIKASI USER */

.notif-container {
  color: white !important;
  font-size: 18px;
  position: relative;
  display: inline-block;
  margin-right: 15px;
  cursor: pointer;
}

.notif-badge {
  background: red;
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 10px;
  position: absolute;
  top: -5px;
  right: -5px;
}

.notif-dropdown {
  position: absolute;
  right: 0;
  top: 30px;
  width: 280px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.notif-dropdown.show {
  display: block;
}

.notif-item {
  display: block;
  padding: 10px;
  border-bottom: 1px solid #f1f1f1;
  text-decoration: none;
  color: #333;
}

.notif-item:hover {
  background: #f5f5f5;
}

/* CSS BAGIAN INVOICE PENDING */

/* Tombol Invoice Pending */
.invoice-button {
  position: fixed;
  bottom: 100px; /* Jarak ideal agar selaras dengan popup chat */
  right: 25px;
  width: 60px;
  height: 60px;
  background: #ff9800;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 50; /* Dibuat sama dengan chat-button */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: pulseAni 1.5s infinite;
  transition: 0.3s;
}

.invoice-button:hover {
  transform: scale(1.12);
}

/* Badge invoice */
.invoice-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: red;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 50%;
  color: white;
  font-weight: bold;
}

@keyframes pulseAni {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

/* popup pesan user kepada owner */

.popup-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  animation: fadeIn 0.3s ease;
}

.popup-box {
  background: #fff;
  width: 320px;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  animation: scaleIn 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.popup-box.success {
  border-top: 6px solid #4caf50;
}
.popup-box.error {
  border-top: 6px solid #f44336;
}

.popup-btn {
  margin-top: 18px;
  padding: 8px 18px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* bagian bisnis tambahan */

/* === UNIT BISNIS GENDING SECTION === */
.gending-business {
  width: 85%;
  margin: 80px auto;
  text-align: center;
}

/* Judul */
.gending-business h2 {
  font-size: 32px;
  font-weight: 700;
  color: #762021;
  margin-bottom: 40px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.gending-business h2::after {
  content: "";
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #762021, #5a181a);
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

/* === Container Card === */
.gb-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* === Card === */
.gb-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 20px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #762021;
  transition: 0.3s ease;
  text-align: center;
}

.gb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(118, 32, 33, 0.25);
}

/* Ikon */
.gb-icon {
  font-size: 48px;
  color: #762021;
  margin-bottom: 15px;
}

/* Heading */
.gb-heading {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

/* Deskripsi */
.gb-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Tombol Instagram */
.gb-btn {
  display: inline-block;
  background: #762021;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.gb-btn:hover {
  background: #5a181a;
  transform: scale(1.05);
}

.gb-btn i {
  margin-right: 6px;
  font-size: 16px;
}

/* Droplist produk header */
/* =====================
   DROPDOWN PRODUK - UPGRADE
===================== */
.nav-dropdown {
  position: relative;
}

/* BOX DROPDOWN */
.dropdown-list {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  list-style: none;
  margin: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s ease;
  z-index: 999;
}

/* SHOW */
.nav-dropdown:hover .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ITEM */
.dropdown-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #762021;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* ICON BESAR */
.dropdown-list li a::before {
  content: "🍽";
  font-size: 20px;
}


/* HOVER EFFECT */
.dropdown-list li a:hover {
  background: #762021;
  color: #ffffff;
  padding-left: 18px;
}

/* SUBTLE SHINE */
.dropdown-list li a::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
  transition: 0.4s;
}

.dropdown-list li a:hover::after {
  left: 100%;
}

/* =====================
   FIX DROPDOWN PRODUK
===================== */

/* HILANGKAN BULLET LIST */
.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 8px;
}

/* ITEM */
.dropdown-list li {
  margin: 0;
  padding: 0;
}

/* LINK */
.dropdown-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;   /* TETAP */
  border-radius: 8px;
  font-size: 14px;
  color: #762021;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease;
}

/* ICON (AMAN, TIDAK DORONG LAYOUT) */
.dropdown-list li a::before {
  font-size: 18px;
}

/* ICON PER ITEM */
.dropdown-list li:nth-child(1) a::before { content: "🍽"; }
.dropdown-list li:nth-child(2) a::before { content: "👕"; }
.dropdown-list li:nth-child(3) a::before { content: "👜"; }

/* HOVER RAPI (TIDAK MEMBESAR) */
.dropdown-list li a:hover {
  background: #762021;
  color: #ffffff;
}


/* end droplist */

/* RESPONSIVE */
@media (max-width: 768px) {
  .gb-heading {
    font-size: 18px;
  }
  .gb-desc {
    font-size: 14px;
  }
}

/* bagian stok produk */

.stok-produk {
  font-size: 14px;
  margin-top: 6px;
  color: #333;
  font-weight: 500;
}

.stok-produk span {
  color: #762021; /* warna ciri khas maroon Gending */
  font-weight: 600;
}

/* css tombol lihat semua produk */

/* WRAPPER TOMBOL */
.see-all-wrapper {
  margin-top: 40px;
  text-align: center;
}

/* TOMBOL */
.btn-see-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #333, #555);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* HOVER */
.btn-see-all:hover {
  background: linear-gradient(135deg, #555, #333);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ICON */
.btn-see-all i {
  font-size: 14px;
}


@media (max-width: 480px) {
  /* ==== MAIN ==== */
  main {
    width: 95%;
    margin: 40px auto 60px; /* 🔥 NAIK ±50px */
  }

  /* ==== HEADER ==== */
  .brand-name {
    font-size: 1.2rem;
  }

  .nav-menu {
    gap: 18px;
  }

  .nav-menu li a {
    font-size: 18px;
  }

  /* ==== SLIDER ==== */
  .sliders img {
    height: 220px;
  }

  /* ==== PRODUCT ==== */
  .nama-product h1 {
    font-size: 14px;
  }

  .nama-product h2 {
    font-size: 15px;
  }

  /* ==== FORM ==== */
  .data-diri form {
    width: 100%;
    padding: 25px;
  }

  /* ==== CHAT ==== */
  .chat-popup {
    width: 90%;
    right: 5%;
  }

  .chat-button,
  .invoice-button {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .ben-img h1 {
    font-size: 26px;
    right: 20px;
    top: 35%;
  }
}

@media (max-width: 480px) {
  .ben-img h1 {
    font-size: 20px;
    right: 15px;
    text-align: center;
  }
}

/* =========================
   FIX RESPONSIVE KHUSUS HP
   TIDAK MENGGANGGU LAPTOP
========================= */
@media (max-width: 480px) {
  /* ===== HEADER ===== */
  header {
    padding: 8px 0;
  }

  .navbar {
    width: 95%;
    gap: 10px;
  }

  .logo-img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-menu li a {
    font-size: 18px;
    transform: none;
  }

  .nav-menu li a:hover {
    transform: none; /* matikan zoom hover di HP */
  }

  /* ===== SLIDER / BANNER ===== */
  .sliders img {
    height: 220px;
    border-radius: 0 0 10px 10px;
  }

  .ben-img {
    height: 260px;
  }

  .ben-img h1 {
    position: absolute;
    right: 50%;
    top: 65%;
    transform: translate(50%, -50%);
    font-size: 20px;
    text-align: center;
    width: 90%;
  }

  /* ===== MAIN CONTENT ===== */
  main {
    width: 95%;
    margin: 40px auto 60px; /* 🔥 NAIK ±50px */
  }

  /* ===== NAV KATEGORI ===== */
  .nav-product {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-links-product {
    gap: 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* ===== PRODUCT GRID ===== */
  .product-grid {
    margin-bottom: 10px;
    padding: 8px;
    gap: 15px;
  }

  .img-product img {
    height: 180px;
  }

  .nama-product h1 {
    font-size: 14px;
  }

  .nama-product p {
    font-size: 12px;
  }

  .nama-product h2 {
    font-size: 15px;
  }

  /* ===== DETAIL PRODUK ===== */
  .detail-belanja {
    width: 100%;
    margin: 40px auto;
    padding: 10px;
  }

  .detail-gambar img {
    max-width: 220px;
  }

  .desc-barang {
    padding: 18px;
  }

  .nama-barang {
    font-size: 20px;
  }

  .harga {
    font-size: 18px;
  }

  .deskripsi {
    font-size: 14px;
    max-height: none;
  }

  /* ===== FORM DATA DIRI ===== */
  .data-diri {
    width: 100%;
    margin: 40px auto;
    justify-content: center;
  }

  .data-diri form {
    width: 100%;
    padding: 25px;
  }

  .data-diri input,
  .data-diri select {
    width: 100%;
  }

  /* ===== TABEL KERANJANG ===== */
  .keranjang {
    width: 95%;
    margin: 50px auto;
  }

  .keranjang-body {
    padding: 20px 10px;
  }

  .keranjang-body table {
    min-width: 700px;
  }

  /* ===== TOMBOL ===== */
  .keranjang-action {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .btn-chekout,
  .btn-kembali {
    width: 100%;
    text-align: center;
  }

  /* ===== CHAT & INVOICE FLOAT ===== */
  .chat-button,
  .invoice-button {
    width: 52px;
    height: 52px;
    font-size: 22px;
    right: 15px;
  }

  .invoice-button {
    bottom: 90px;
  }

  .chat-popup {
    width: 92%;
    right: 4%;
    bottom: 90px;
  }

  /* ===== FOOTER ===== */
  .footer {
    text-align: center;
    gap: 25px;
  }

  .footer > div {
    min-width: unset;
  }

  .footer h1 {
    font-size: 18px;
  }

  .footer p,
  .footer a,
  .footer li {
    font-size: 14px;
  }

  /* ===== BISNIS SECTION ===== */
  .gending-business {
    width: 95%;
    margin: 50px auto;
  }

  .gending-business h2 {
    font-size: 22px;
  }
}
