:root {
  --primary-color: #ff5722;
  --bg-color: #f8f9fa;
  --text-dark: #2d3436;
  --card-bg: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

body {
  background-color: var(--bg-color);
  padding-bottom: 50px;
  overflow-x: hidden;
}

.header {
  background: linear-gradient(135deg, #ff8a65, #ff5722);
  padding: 40px 20px;
  text-align: center;
  color: white;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  margin-bottom: 30px;
}

/* Fix Logo fit khung tròn */
.logo-circle {
  width: 85px;
  height: 85px;
  background: white;
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 2px solid white;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Tự động đánh số thứ tự */
.product-grid {
  counter-reset: shop-counter;
}

.product-card {
  background: var(--card-bg);
  border-radius: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hiệu ứng nhấn (Animation) */
.product-card:active {
  transform: scale(0.94);
  background-color: #f0f0f0;
}

/* Thiết kế số thứ tự mờ phía sau */
.product-card::after {
  counter-increment: shop-counter;
  content: counter(shop-counter);
  position: absolute;
  top: -5px;
  right: 10px;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 87, 34, 0.2); /* Số thứ tự mờ nghệ thuật */
  font-style: italic;
  pointer-events: none;
}

/* Hình ảnh sản phẩm to hơn (120px) */
.product-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  padding: 12px;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.product-info {
  padding: 15px 20px 15px 5px;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
  line-height: 1.3;
}

.btn-buy {
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.footer {
  text-align: center;
  margin-top: 30px;
  color: #b2bec3;
  font-size: 0.8rem;
}
