body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background: #f5f5f5;
    padding-top: 70px;
    padding-bottom: 60px;
}
.header {
    background: #ff5722;
    padding: 10px;
    color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.header .bi-arrow-left {
    padding-left: 20px;  /* masuk sedikit ke kanan */
}

.header .bi-cart {
    padding-right: 20px; /* masuk sedikit ke kiri */
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 999;
}
.bottom-nav a { text-decoration: none; color: #444; }
.bottom-nav .nav-link.active { color: #ff5722; }
.product-img { width: 100%; border-radius: 10px; }
.price { font-size: 20px; color: #d32f2f; font-weight: 600; }
.quantity-box { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.quantity-box button { width: 35px; height: 35px; border-radius: 50%; }

.product-img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}


.thumbnail-img {
    height: 70px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
}


.thumbnail-img:hover {
    border-color: #ff5722;
}


.price-discount {
    text-decoration: line-through;
    color: gray;
}


.flash-badge {
    background-color: #ff5722;
    color: white;
    font-weight: 600;
}


.color-box {
    width: 35px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ddd;
}


.color-box:hover {
    border-color: #ff5722;
}


.btn-cart {
    background-color: #ff5722;
    color: white;
    font-weight: 600;
}


.btn-cart:hover {
    background-color: #e44712;
    color: white;
}

.store-card {
  border: 1px solid #e6e6e6;
  padding: 22px;
  border-radius: 6px;
  background: #fff;
}
.store-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.stat-title {
  color: #6b6b6b;
  font-size: 13px;
}
.stat-value {
  font-weight: 600;
  font-size: 15px;
}
.btn-chat {
  border: 1px solid #ff5f3d;
  color: #ff5f3d;
  font-weight: 500;
}
.btn-chat:hover {
  background: #ff5f3d;
  color: white;
}
.btn-visit {
  border: 1px solid #c9c9c9;
  color: #474747;
  font-weight: 500;
}
.store-badge {
  background: #ff5f3d;
  padding: 2px 6px;
  font-size: 11px;
  border-radius: 3px;
  color: white;
  font-weight: 600;
}

.desc-card {
  border-radius: 12px;
  padding: 25px 30px;
  background: #fff;
}
.desc-title {
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.section-title {
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 6px;
}
.desc-text {
  line-height: 1.7;
  font-size: 0.95rem;
  white-space: pre-line;
}

/* Container width control so card tidak terlalu melebar */
.rating-wrapper {
  max-width: 1313px; /* ubah sesuai kebutuhan */
  margin: 18px auto;
  padding: 0 12px;
}

.rating-card {
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff7f3; /* sedikit peach seperti contoh */
  padding: 20px;
  border-radius: 6px;
}

.score-box {
  display:flex;
  align-items:center;
  gap:18px;
  padding-right:12px;
  border-right:1px solid rgba(0,0,0,0.05);
  min-width: 170px;
}

.score-number {
  font-size: 34px;
  font-weight:700;
  color:#e94b2b;
  line-height:1;
}

.star-row .bi-star-fill,
.star-row .bi-star {
  font-size:18px;
  color:#ff6b35;
}

.filters .btn {
  border-radius:6px;
  padding:6px 12px;
  font-size:14px;
}

/* Review item */
.review-item {
  padding:18px 0;
  border-bottom:1px solid #eee;
}

.review-meta small {
  color: #6c757d;
}

.avatar {
  width:44px;
  height:44px;
  border-radius:50%;
  background: #f0f0f0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#9aa0a6;
  font-weight:600;
  font-size:14px;
}

.thumb-grid img {
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:6px;
  margin-right:8px;
  margin-bottom:8px;
  border:1px solid rgba(0,0,0,0.06);
}

/* small screen adjustments */
@media (max-width: 767.98px) {
  .rating-card {
    padding:14px;
  }
  .score-box {
    border-right: none;
    border-bottom:1px solid rgba(0,0,0,0.03);
    padding-bottom:12px;
    margin-bottom:12px;
  }
  .score-number {
    font-size:28px;
  }
  .thumb-grid img { width:60px; height:60px; }
}

/* utility for three-dot menu */
.menu-dots { color:#9aa0a6; font-size:18px; }

.product-card{
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: .2s;
}
.product-card:hover{
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.product-img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.badge-discount{
    background: #ff4242;
    font-size: 12px;
}
.badge-star{
    background: #ffcc00;
    color: #000;
    font-size: 12px;
}
.price{
    color: #ff4d4d;
    font-size: 1.2rem;
    font-weight: bold;
}
.old-price{
    text-decoration: line-through;
    color: #888;
    font-size: .9rem;
}

.modal-elegant {
  border-radius: 18px;
  padding: 6px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.form-control-elegant {
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid #dcdcdc;
  transition: all .2s;
}

.form-control-elegant:focus {
  border-color: #4b7bec;
  box-shadow: 0 0 0 4px rgba(75,123,236,0.15);
}

.btn-elegant {
  padding: 12px;
  font-size: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4b7bec, #3867d6);
  border: none;
}

.btn-elegant:hover {
  background: linear-gradient(135deg, #3867d6, #4b7bec);
}

.po-alert-custom {
  font-size: 14px;
  border-radius: 12px;
  padding: 10px 14px;
}

footer a:hover {
    color: #ff5722 !important;
}