.counter-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.counter-button {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  margin: 0 25px;
  padding: 0px;
}

.minus {
  background-color: red;
}

.plus {
  background-color: green;
}

.counter-value {
  font-size: 24px;
  text-align: center;
}

.bg-gray-900-solid-cs {
  background-color: rgb(17 24 39/var(--tw-bg-opacity)); /* Tanpa opacity */
}

.hr-buttom-sheet-cs{
  border: 1px solid #D7D7D7;
}

/*============= OPEN CSS PAGINATION BLOG =============*/
.page {
  padding: 12px 24px; /* Meningkatkan padding untuk tampilan yang lebih nyaman */
  font-size: 16px;
  font-weight: 500; /* Sedikit lebih tebal untuk menambah penekanan */
  border: 2px solid #757575; /* Meningkatkan ketebalan border */
  border-radius: 50px;
  background-color: white;
  position: relative; /* Agar elemen posisi dapat digunakan untuk efek transformasi */
  overflow: hidden; /* Menghindari konten melampaui border */
  cursor: pointer;
  transition: transform 0.4s ease; /* Transisi untuk transformasi */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Bayangan lebih jelas */
  color: #333; /* Warna teks default */
  z-index: 1; /* Menempatkan elemen di atas pseudo-element */
}

.page:before {
  content: ''; /* Menggunakan pseudo-element untuk efek latar belakang */
  position: absolute; /* Agar tetap berada di belakang teks */
  top: 0;
  left: -100%; /* Memulai di luar layar */
  height: 100%;
  width: 100%; /* Mengisi seluruh lebar tombol */
  background-color: #003b71; /* Warna latar belakang saat hover */
  transition: left 0.4s ease; /* Transisi saat bergerak */
  z-index: 0; /* Menempatkan di belakang teks */
}

.page:hover:before {
  left: 0; /* Bergerak ke kiri untuk menampilkan latar belakang */
}

.page:hover {
  color: #fff; /* Warna teks saat hover */
  font-weight: bold; /* Menegaskan teks saat hover */
  transform: scale(1.05); /* Perbesar sedikit saat hover */
}

/* Menambahkan efek untuk teks tetap terlihat saat hover */
.page:hover,
.page.active {
  z-index: 1; /* Pastikan teks di atas latar belakang */
}

.page.active {
  background-color: #003b71; /* Warna latar belakang aktif */
  color: white; /* Warna teks aktif */
  font-weight: bold; /* Menegaskan teks aktif */
  transform: scale(1.1); /* Perbesar lebih banyak saat aktif */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Bayangan lebih dalam saat aktif */
}

/* Efek transisi untuk fokus pada tombol */
.page:focus {
  outline: none; /* Menghilangkan outline default */
  box-shadow: 0 0 0 2px rgba(0, 60, 120, 0.5); /* Efek fokus */
}

/* Menambahkan transisi ketika tombol difokuskan */
.page:focus-visible {
  background-color: rgba(0, 60, 120, 0.1); /* Warna latar belakang saat fokus */
  transform: scale(1.05); /* Perbesar sedikit saat fokus */
  transition: background-color 0.3s ease; /* Transisi latar belakang saat fokus */
}
  
/*============= CLOSE CSS PAGINATION BLOG =============*/


/* Media Queries untuk tablet */
@media (max-width: 768px) {
  .counter-button {
    width: 40px;
    height: 40px;
    font-size: 25px;
    /* margin: 0 8px; */
  }

  .counter-value {
    font-size: 22px;
  }

  .justify-between-cs {
    display: flex;
    justify-content: space-between;
  }
}

/* Media Queries untuk mobile */
@media (max-width: 480px) {
  .counter-button {
    width: 40px;
    height: 40px;
    font-size: 20px;
    /* margin: 0 6px; */
  }

  .counter-value {
    font-size: 20px;
  }

  .counter-container {
    flex-direction: row; /* Tetap dalam satu baris */
    justify-content: center;
  }

  .justify-between-cs {
    display: flex;
    justify-content: space-between;
  }
}