
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 14px;
  line-height: 1.42857143;
  color: #333333;
  background-color: #f0f0f0;
  /* display: flex;*/
  /*flex-direction: column;*/
  /*min-height: 100vh;*/
  /*height: 100%;*/
  height: auto;
   overflow-x: hidden;
}

html {
  height: 100%;
}
/* index semua */
/*navbar*/

.navbar {
  background-color: #00eeff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 7%;
  border-bottom: 1px solid #00eeff;
}

/* navbar*/
.navbar .navbar-logo {
  font-size: 1.6rem;
  font-weight: Bold;
  color: #fff;
  font-style: italic;
  text-decoration: none;
}

.navbar .navbar-logo span {
  color: #800000;
}

.navbar .navbar-menu a {
  color: #fff;
  font-size: 1rem;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;

}

.badge-diskon {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #dc3545;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 50px;
}

.navbar .navbar-menu a:hover {
  color: hsl(66, 100%, 47%);
}

.navbar .navbar-menu a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid #28df03;
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-menu a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-icon a {
  color: #ffffff;
  margin: 0 0.5rem;
}
#btn-menu {
  display: none;
}

.navbar .user {
  position: absolute;
  top: 100%;
  right: -100%;
  height: 15vh;
  width: 10rem;
  padding: 0 1rem;
  color: #ee0c0c;
  background-color: #00eeff;
  text-align: center;
  border-radius: 5px 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  transform: scaleX(0);
  transition: 0.3s;
}
.navbar .user.active {
  right: 20px;
  transform: scaleX(1);
}

.navbar .user li {
  list-style: none;
  margin: 15px;
}
.navbar .user a {
  text-decoration: none;
  font-size: 1.2rem;
}

/* search form */
.navbar .search-form {
  position: absolute;
  display: flex;
  top: 110%;
  right: 11%;
  width: 30%;
  align-items: center;
  transform: scaleX(0);
  transition: 0.5s;
  transform-origin: top;
}

.navbar .search-form.active {
  transform: scaleX(1);
}

.navbar .search-form input {
  font-size: 1.2rem;
  padding: 1rem;
}
/* end search form */
/* hero sction */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero .content {
  position: absolute;
  top: 20%;
  padding: 1.4rem 7%;
  max-width: 60rem;
  color: #fff;
}
.hero .content h1 {
  font-size: 4rem;
  color: #fff;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}
.hero .content h1 span {
  color: #800000;
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: justify;
  max-width: 70%;
}
.hero .content .btn {
  padding: 0.5rem 2rem;
  font-size: 1.4rem;

  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

/* produk */
.produk {
  margin-top: 50px;
}
.produk-box {
  background-color: #fff;
  margin: 0 0 30px;
  border-radius: solid #e6e6e6;
  padding: 20px;
  margin-top: 50px;
  /* box-sizing: 0px 1px 5px rgba(0,0,0,0.5); */
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

.produk-box h2 {

  font-size: 35px;
  color: #aaa;
  font-weight: 7000;
  text-align: center;
  text-transform: uppercase;
}

.produk-box h2 span {
  color: #00f5fd;
}

.produk .card {
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
  /* margin-top: 1.5rem; */
}

.card-img-top {
  width: 100%;
  aspect-ratio: 1 / 1; /* Biar tetap kotak */
  object-fit: cover; /* Supaya gambar tidak melar, dan mengisi kotak */
  max-width: 1080px;
  max-height: 1080px;
  display: block;
  margin: 0 auto;
}
.produk .content {
  text-align: center;
}
.produk .content h5,
.produk .content p {
  color: blueviolet;
  font-weight: 700;
}

/*  */
/* end produk */

/* sampai sini index */

/* pagenation */
.pagination {
  margin-top: 2rem;
}

.pagination li {
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}

.pagination .active {
  background-color: #0ab1ce;
  color: #fff;
}

.pagination a:hover {
  background-color: #0ab1ce;
  color: #fff;
}

/* end pagination */

/* kontak */
.kontak {
  padding: 0 0 50px;
  margin-top: 5rem;
}
.kontak .kontak-map iframe {
  flex: 1 1 45%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
}
.kontak .kontak-form {
  color: blue;
  margin-top: 10px;
}
.kontak .kontak-form .card {
  box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
}
/* end kontak */

/* start produk page */
.page-produk {
  margin: 2rem 0;
}
.breadcrumb {
  padding: 8px 15px;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.breadcrumb > li + li:before {
  content: "\00a0 >\00a0";
  color: "#ccc";
}
/* bagian detail_produk.php */
/* page produk */
.page-produk .card-header {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
.page-produk .card-header h4 {
  font-size: 20px;
  font-weight: 700;
}
.page-produk .nav a:hover {
  background-color: #eee;
}
.page-produk .nav a {
  font-size: 16px;
  font-weight: 700;
}
.page-produk .box h2 {
  font-size: 2rem;
  font-weight: 700;
}

/* page produk foto limit 9 */

.page-produk .card-produk {
  text-align: center;
  font-weight: 600;
  color: black;
}
/* end page produk limit 9 */

/* end produk page */
/*  */
/* Detail produk foto */
#owl-nav .owl-prev,
#owl-nav .owl-next {
  padding: 10px 10px;
  font-size: 15px;
}
.detail-produk {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.detail-produk .owl-carousel {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.detail-produk .detail-form h3 {
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.detail-produk .detail {
  margin-top: 2rem;
}
.detail-produk .detail h2 {
  margin-bottom: 1.5rem;
  font-weight: 700;
}
/* end Detail produk */

/* end semua detail_produk.php */

/* PAGE-KERANJANG */
/* Styling khusus untuk halaman keranjang belanja */
.page-keranjang {
  margin-top: 50px;
  padding: 20px;
  background-color: #f9f9f9;
}

/* Styling breadcrumb */
.page-keranjang .breadcrumb {
  background-color: #fff;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.page-keranjang .breadcrumb a {
  color: #333;
  text-decoration: none;
}

.page-keranjang .breadcrumb a:hover {
  color: #17a2b8;
}

/* Styling untuk Total Pembelian */
.page-keranjang .total-section {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: right;
  padding: 15px;
  background-color: #f1f1f1;
  border-radius: 8px;
  margin-top: 20px;
}

.page-keranjang .total-section span {
  font-size: 1.2rem;
  font-weight: normal;
}

/* Styling untuk table keranjang belanja */
.page-keranjang .table {
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  border-collapse: collapse;
}

.page-keranjang .table th,
.page-keranjang .table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.page-keranjang .table thead {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #333;
}

.page-keranjang .table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.page-keranjang .table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.page-keranjang .table img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.page-keranjang .table td a {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
}

.page-keranjang .table td a:hover {
  color: #07f9ed;
}

/* Styling untuk footer tombol */
.page-keranjang .card-footer {
  background-color: #f1f1f1;
  padding: 15px;
  border-radius: 0 0 10px 10px;
}

.page-keranjang .card-footer .btn {
  width: 150px;
  padding: 10px;
  font-size: 1.1rem;
  border-radius: 5px;
}

.page-keranjang .card-footer .btn-info {
  background-color: #17a2b8;
}

.page-keranjang .card-footer .btn-info:hover {
  background-color: #138496;
}

.page-keranjang .card-footer .btn-success {
  background-color: #28a745;
}

.page-keranjang .card-footer .btn-success:hover {
  background-color: #218838;
}
/* END PAGE KERANJANG */

/* login */
#login h1 {
  font-size: 1.6rem;
  letter-spacing: 4px;
  font-weight: bold;
}
#login i {
  font-size: 1.6rem;
  color: #0072b3;
}
/* end login */

/* profile */
/* Styling untuk halaman profil */
.page-profil {
  margin-top: 50px;
}

/* Card untuk Profil Pelanggan */
.page-profil .card {
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Card Header (Profil Pelanggan) */
.page-profil .card-header {
  background-color: #f1f1f1;
  border-radius: 10px 10px 0 0;
  text-align: center;
  padding: 20px;
}

.page-profil .card-header .img img {
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Nama Pelanggan */
.page-profil .card-title h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 10px;
}

/* Sidebar (Navigasi) */
.page-profil .nav-pills {
  border-radius: 10px;
  padding-left: 0;
}

.page-profil .nav-item {
  margin-bottom: 10px;
}

.page-profil .nav-link {
  font-size: 1.2rem;
  color: #273036;
  background-color: #f1f1f1;
  border-radius: 5px;
  padding: 10px;
}

.page-profil .nav-link:hover {
  background-color: #00aaff;
  color: white;
}

/* Main Content */
.page-profil .col-md-9 {
  margin-top: 30px;
}

.page-profil .card-body {
  background-color: #fff;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
}

.page-profil h2 {
  font-size: 1.8rem;
  color: #273036;
  margin-bottom: 15px;
}

.page-profil p {
  font-size: 1rem;
  color: #555;
}

/* Styling untuk tombol */
.page-profil .btn {
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 10px;
}
/* .page-profil .nav {
  text-align: center;
}

.page-profil .nav a {
  font-size: 1.2rem;
  font-weight: 700;
}

.page-profil .nav a:hover {
  background-color: #eee;
} */

/* end profile */
/* footer */
footer {
  padding: 1rem 0;
  background-color: #273036;
  margin-top: -10px;
  color: #fff;
}
footer h3 {
  margin-bottom: 1rem;
}
footer .footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}

footer .footer-menu li {
  list-style: none;
}
footer .footer-menu a:hover {
  color: #04ffd5;
}

footer .footer-kontak {
  font-size: 1rem;
}
footer .footer-social a {
  margin: 0 10px 0 0;
  display: inline-block;
  color: #01497c;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  line-height: 30px;
  font-size: 15px;
  text-align: center;
  vertical-align: bottom;
  background-color: #fff;
  text-decoration: none;
}
footer .footer-social a:hover {
  background-color: #02fc38;
  color: #fff;
}

.created {
  padding: 0.5rem 0;
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
  background-color: #090101;
}

.hilang {
  display: block; /* Default display */
}
/* footer end */

/*responsive*/
/*responsive laptop*/
@media (max-width: 1366px) {
  html {
    font-size: 90%;
  }
}
/*responsive tables*/

/*responsive handphone*/
@media (max-width: 600px) {
  html {
    font-size: 80%;
  }
}
