
        a {
            text-decoration: none;
            color: inherit;
        }

/* --- WADAH UTAMA SHOPEE MALL --- */
.mall-section {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-radius: 2px;
}

/* --- HEADER SHOPEE MALL --- */
.mall-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f2f2f2;
}

.mall-title {
  font-size: 16px;
  color: #d0011b; /* Warna Merah Gelap khas Shopee Mall */
  margin: 0;
  font-weight: 500;
}

.mall-see-all {
  font-size: 14px;
  color: #d0011b; /* Warna Merah */
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px; /* Jarak antara teks dan panah */
}

/* --- WRAPPER (PENTING AGAR TOMBOL TIDAK BERANTAKAN) --- */
.mall-wrapper {
  position: relative; /* Wajib agar tombol panah bisa diatur dengan 'absolute' */
  width: 100%;
}

/* --- GRID 2 BARIS (6 KOLOM) --- */
.mall-grid {
  display: grid;
  grid-template-rows: repeat(2, 1fr); /* Pasti 2 baris */
  grid-auto-flow: column; /* Mengisi ke bawah lalu ke samping */
  grid-auto-columns: 16.666%; /* 100% dibagi 6 kotak = 16.666% */
  overflow-x: auto;
  scroll-behavior: smooth;
}

.mall-grid::-webkit-scrollbar {
  display: none; /* Sembunyikan scrollbar bawah */
}

/* --- KOTAK LOGO BRAND --- */
.mall-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 110px; /* Tinggi kotak disesuaikan */
  padding: 15px;
  box-sizing: border-box;
  border-right: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mall-item:hover {
  opacity: 0.8; /* Sedikit memudar saat disentuh kursor */
}

/* --- GAMBAR LOGO --- */
.mall-item img {
  max-width: 100%; /* Gambar tidak akan melebihi lebar kotak */
  max-height: 100%; /* Gambar tidak akan melebihi tinggi kotak */
  object-fit: contain; /* Memastikan logo tidak terpotong (gepeng) */
}
/* --- RESPONSIF UNTUK HP --- */
@media (max-width: 900px) {
  .mall-grid { grid-auto-columns: 25%; } /* Tablet: 4 kolom */
}
@media (max-width: 600px) {
  .mall-grid { grid-auto-columns: 33.333%; } /* HP: 3 kolom */
  .mall-item { height: 80px; padding: 10px; }
  .slide-btn {
    display: none !important; /* HP: Sembunyikan panah, user pakai swipe jari */
  }
}
/* Gaya Umum Tombol Panah (Kiri & Kanan) */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.slide-btn:hover {
  background-color: #f8f8f8;
  width: 45px; /* Sedikit membesar saat disentuh kursor */
  height: 45px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Posisi Spesifik Tombol Kiri & Kanan */
.slide-left {
  left: -20px; /* Menjorok ke luar 20px */
}

.slide-right {
  right: -20px; /* Menjorok ke luar 20px */
}

/* Class untuk menyembunyikan tombol via JavaScript saat mentok */
.hidden {
    display: none !important;
}
/* --- TOMBOL UMUM (Angka & Panah) --- */
.page-btn {
  min-width: 40px;
  height: 40px;
  background-color: transparent;
  border: none; /* Shopee biasanya tidak pakai garis pinggir di pagination */
  border-radius: 2px;
  font-size: 16px;
  color: #757575; /* Warna abu-abu */
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s, color 0.2s;
  font-family: inherit;
}

/* Efek saat angka diarahkan kursor */
.page-btn:not(.active):not(.disabled):hover {
  background-color: #f8f8f8;
  color: #ee4d2d; /* Teks berubah oranye saat di-hover */
}

/* --- HALAMAN AKTIF (Yang sedang dibuka) --- */
.page-btn.active {
  background-color: #ee4d2d; /* Latar oranye khas Shopee */
  color: #ffffff; /* Teks putih */
  font-weight: bold;
  cursor: default; /* Kursor normal (bukan tangan) karena sudah di halaman ini */
}

/* --- TOMBOL TIDAK AKTIF (Contoh: Panah kiri saat di halaman 1) --- */
.page-btn.disabled {
  color: #cccccc; /* Warna pudar */
  cursor: not-allowed; /* Kursor dilarang */
}


/* --- TITIK-TITIK (Elipsis) --- */
.page-dots {
  font-size: 16px;
  color: #757575;
  padding: 0 5px;
  letter-spacing: 2px;
}

/* --- RESPONSIF UNTUK HP --- */
@media (max-width: 480px) {
  .page-btn {
    min-width: 32px; /* Tombol sedikit diperkecil */
    height: 32px;
    font-size: 14px;
  }
  /* Menyembunyikan beberapa angka di HP agar tidak turun ke baris bawah */
  .page-btn:nth-child(5), 
  .page-btn:nth-child(6) {
    display: none;
  }
}