.product-detail-container {
  display: flex;
  max-width: 1200px;
  margin: 5px auto;
  gap: 30px;
  padding: 20px;
}

.thumbnail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbnail-list img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #ccc;
  transition: border 0.3s;
}

.thumbnail-list img:hover {
  border: 2px solid #f26430;
}

.main-image {
  width: 600px;
  height: 600px;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.product-info {
  flex: 1;
  font-family: Arial, sans-serif;
  margin-top: -10px;
}

.price-sale {
  font-size: 24px;
  color: red;
  font-weight: bold;
}

.price-old {
  color: gray;
  margin-left: 10px;
}

.discount {
  background-color: #f26430;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  margin-left: 10px;
}

.product-options {
  margin: 20px 0;
}

.option-group {
  margin: 15px 0;
}

.option-group button {
  padding: 8px 12px;
  margin-right: 8px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
  border-radius: 4px;
}

/* Khi hover hoặc được chọn */
.option-group button:hover,
.option-group button.active {
  border-color: #f26430;
  background-color: #fff3ed; /* nền nhạt nhẹ khi hover */
  color: #f26430;
}

.note {
  margin: 10px 0;
  color: orange;
}

.product-description {
  margin-top: 15px;
  font-size: 15px;
}
/* phần núttăng giảm + mua hàng */
.product-actions {
  margin-top: 20px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.quantity-selector button {
  width: 30px;
  height: 35px;
  font-size: 20px;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  cursor: pointer;
}

.quantity-selector input {
  width: 85px;
  height: 35px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #ccc;
  border-left: none;
  border-right: none;
  background-color: #fff;
  padding-left: 15px;
}

.add-to-cart {
  width: 100%;
  background-color: #26668d; /* xanh gốc */
  color: white;
  padding: 15px;
  font-weight: bold;
  border: 2px solid #26668d;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out; /* hiệu ứng chuyển màu mượt */
}

.add-to-cart:hover {
  background-color: white;
  color: #000;
  border: 2px solid #26668d;
}
.buy-now {
  width: 100%;
  background-color: #f26430;
  color: white;
  padding: 11.5px;
  font-weight: bold;
  border: none;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.buy-now:hover {
  background-color: white;
  color: #000;
  border: 2px solid #f26430;
}

.policy-notes p {
  margin: 10px 0; /* trên 10px, dưới 10px */
}

.product-tab-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  border: 1px solid #ccc; /* Thêm viền */
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn.active {
  border-bottom: 3px solid #26668d;
  color: #26668d;
  background-color: #f9f9f9;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}
.cart-popup {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 400px;
  background: #fff;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-height: 80vh;
  overflow-y: auto;
}

.cart-popup.hidden {
  display: none;
}

.cart-popup h3 {
  margin-bottom: 15px;
  font-size: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.cart-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info p {
  margin: 2px 0;
}

.cart-item-options {
  font-size: 14px;
  color: gray;
}

.cart-item-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-price .old {
  text-decoration: line-through;
  color: gray;
  font-size: 14px;
}

.cart-item-quantity {
  width: 35px;
  height: 30px;
  text-align: center;
}

.cart-item-remove {
  cursor: pointer;
  font-weight: bold;
  color: black;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: bold;
}

.cart-popup-actions {
  display: flex;
  justify-content: space-between;
}

.cart-popup-actions .btn {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-view {
  background: #333;
  color: #fff;
}

.btn-checkout {
  background: #005b8f;
  color: white;
}
