/* Tổng thể container */
.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  width: 100%;              /* Chiếm 98% chiều rộng màn hình */
  /* max-width: 2000px;          Không vượt quá 98vw */
  margin: 40px auto 0 auto; /* Căn giữa */
  background: #fff;
  padding: 32px 24px;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(1,84,185,0.08);
  justify-content: center;   /* Căn giữa ngang */
  align-items: flex-start;   /* Căn top các box con */
  padding-left: 150px;
}

/* Cột ảnh sản phẩm */
.product-image {
  flex: 1 1 800px;      /* tăng flex-basis */
  min-width: 500px;     /* tăng min-width */
  max-width: 900px;     /* tăng max-width */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.product-image img {
  width: 100%;
  max-width: 700px;    /* Tăng từ 480px lên 700px hoặc lớn hơn nếu muốn */
  height: auto;
  aspect-ratio: 16/11;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(1,84,185,0.06);
}

/* Nếu muốn ảnh luôn chiếm tối đa chiều rộng cột, có thể bỏ max-width: */
.product-image img {
  width: 100%;
  max-width: 100%;     /* Ảnh luôn chiếm hết chiều rộng box */
  height: auto;
  aspect-ratio: 16/11;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(1,84,185,0.06);
}

/* Slider ảnh phụ */
.thumbnail-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.thumbnail-slider img {
  width: 80px;
  height: 60px;
  border-radius: 5px;
  border: 1px solid #ccc;
  object-fit: cover;
  cursor: pointer;
  transition: border 0.2s, transform 0.2s;
}

.thumbnail-slider img.selected,
.thumbnail-slider img:hover {
  border: 2px solid #0154b9;
  transform: scale(1.07);
}

.thumbnail-slider button {
  background: #fff;
  color: #0154b9;
  border: 1.5px solid #0154b9;
  padding: 6px 12px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.thumbnail-slider button:hover {
  background: #0154b9;
  color: #fff;
}

/* Box tính năng giao hàng */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0 0 0;
  justify-content: center;
  font-size: 13px;
}

.features div {
  min-width: 140px;
  background: #f5f9ff;
  padding: 12px 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(1,84,185,0.04);
}

.features strong {
  font-size: 15px;
  font-weight: bold;
  color: #0154b9;
}

/* Cột thông tin sản phẩm */
.product-details {
  flex: 2 1 900px;      /* tăng flex-basis */
  min-width: 500px;     /* tăng min-width */
  max-width: 1100px;    /* tăng max-width */
  display: flex;
  flex-direction: column;
  /* gap: 18px; */
  padding: 0;
}

.product-details h1 {
  font-size: 2rem;
  /* color: #0154b9; */
  margin-bottom: 8px;
  font-weight: bold;
}

.price {
  font-size: 1.5rem;
  margin: 8px 0;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 16px;
}

.price .current {
  color: #d70018;
  font-weight: bold;
}

.price .original {
  text-decoration: line-through;
  color: #888;
  font-size: 1.1rem;
}

.highlights {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0 0;
  font-size: 1rem;
  font-weight: 400;
  color: #222;
}

.highlights li {
  margin: 4px 0;
}

.options {
  margin-top: 18px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 18px 14px 10px 14px;
  box-shadow: 0 2px 8px rgba(1,84,185,0.04);
  max-width: 420px;
}

.options > div {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.options p {
  min-width: 110px;
  margin: 0 12px 0 0;
  font-weight: 500;
  color: #222;
  font-size: 15px;
}

.options button {
  margin: 0 8px 8px 0;
  padding: 7px 18px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #333;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.options button.selected,
.options button:hover {
  background: #0154b9;
  color: #fff;
  border-color: #0154b9;
}

.quantity-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 1rem;
}

.quantity-info p {
  margin: 0 10px 0 0;
  font-weight: 500;
  color: #222;
  min-width: 80px;
}

.quantity-info button {
  padding: 6px 16px;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  color: #333;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s;
  outline: none;
}

.quantity-info button:disabled {
  background: #eee;
  color: #aaa;
  border-color: #eee;
  cursor: not-allowed;
}

.quantity-info input[type="number"] {
  width: 56px;
  text-align: center;
  padding: 6px 0;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 16px;
  margin: 0 6px;
}

.quantity-info span {
  margin-left: 10px;
  font-size: 15px;
  color: #888;
  font-style: italic;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.actions button {
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}

.actions button:first-child {
  background: #0154b9;
  color: #fff;
}

.actions button:last-child {
  background: #d70018;
  color: #fff;
}

/* Chi tiết sản phẩm & nhận xét chuyên gia */
.product-detail-section {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 40px auto 0 auto;
  max-width: 1280px;
  justify-content: flex-start;
  align-items: stretch; /* Đảm bảo các box con cao bằng nhau */
}

.product-description {
  flex: 2 1 700px;
  min-width: 320px;
  max-width: 900px;
  background: #f5f9ff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 2px 8px rgba(1,84,185,0.04);
  /* margin-left: -200px; */ /* XÓA hoặc COMMENT dòng này */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-description h2 {
  font-size: 1.5rem;
  /* color: #0154b9; */
  font-weight: bold;
  margin-bottom: 18px;
}

.product-description-content {
  font-size: 1rem;
  color: #222;
  line-height: 1.7;
  margin-bottom: 18px;
}

.see-more-btn {
  margin-top: 12px;
  background: linear-gradient(90deg,#0154b9 0%,#3bb2ff 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 32px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(1,84,185,0.08);
  transition: background 0.2s;
}

.expert-reviews {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 420px;
  background: #f4f9fd;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(1,84,185,0.07);
  padding: 28px 24px 18px 24px;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.expert-reviews h4 {
  /* color: #0154b9; */
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.expert-reviews .review {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e3e8f0;
  padding-bottom: 16px;
}

.expert-reviews .review:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.expert-reviews .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e3e8f0;
  background: #fff;
}

.expert-reviews .info {
  flex: 1;
}

.expert-reviews .name {
  color: #0154b9;
  font-weight: 600;
  font-size: 17px;
}

.expert-reviews .title {
  display: block;
  color: #6b7280;
  font-size: 14px;
  margin-top: 2px;
}

.expert-reviews .rating {
  margin-top: 6px;
}

.expert-reviews .comment {
  color: #222;
  font-style: italic;
  font-size: 15px;
  display: block;
  margin-top: 4px;
}

/* Đánh giá khách hàng */
.customer-reviews {
  margin: 40px auto 0 auto;
  background: #f5f9ff;
  padding: 32px 24px;
  border-radius: 10px;
  max-width: 1280px;
}

.customer-reviews h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.customer-reviews p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.review-item {
  background: #fff;
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.review-header img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.review-header div {
  flex: 1;
}

.review-header p {
  font-size: 14px;
  color: #374151;
}

.review-images {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.review-images img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
}

.review-actions {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  font-size: 14px;
  color: #374151;
}

.more-reviews {
  text-align: right;
  margin-top: 10px;
}

.more-reviews a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

/* Hỗ trợ khách hàng */
.support-section {
  max-width: 1280px;
  margin: 40px auto 0 auto;
}

.support-section h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.support-container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  background-color: #f5f9ff;
  border-radius: 10px;
  padding: 18px 0;
}

.support-card,
.support-form {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  flex: 1 1 220px;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(1,84,185,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
  box-sizing: border-box;
}

.support-card img {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  object-fit: contain;
  margin-bottom: 12px;
}

.support-card h3 {
  font-size: 1rem;
  margin-top: 10px;
}

.support-card button {
  background: #0154b9;
  color: #fff;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 12px;
}

.support-form h3 {
  font-size: 1rem;
}

.support-form p {
  font-size: 14px;
  margin-bottom: 10px;
}

.support-form input,
.support-form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.support-form button {
  width: 100%;
  background: #0154b9;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Quick support cards */
.support-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}

.support-card {
  flex: 1 1 180px;
  background-color: #f5f9ff;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(1,84,185,0.05);
  text-align: center;
  border: 1px solid #e2e8f0;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-card h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 6px;
  color: #0154b9;
}

.support-card p {
  margin: 0;
  font-size: 13px;
  color: #374151;
}

.support-card small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 11px;
}

/* Responsive */
@media (max-width: 1100px) {
  .product-container,
  .product-detail-section,
  .customer-reviews,
  .support-section {
    max-width: 98vw;
    padding: 12px;
  }
  .product-image img {
    max-width: 98vw;
    height: auto;
  }
}

@media (max-width: 900px) {
  .product-container,
  .product-detail-section {
    flex-direction: column;
    gap: 24px;
    padding: 10px;
  }
  .product-image,
  .product-details,
  .product-description,
  .expert-reviews {
    max-width: 100vw;
    min-width: 0;
    padding: 12px;
  }
  .customer-reviews,
  .support-section {
    padding: 10px;
  }
  .support-container,
  .support-cards {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .product-container,
  .product-detail-section,
  .customer-reviews,
  .support-section {
    padding: 4px;
    border-radius: 0;
  }
  .product-image img {
    border-radius: 4px;
    max-width: 100vw;
    height: auto;
  }
  .product-description,
  .expert-reviews,
  .support-card,
  .support-form {
    padding: 8px;
    border-radius: 6px;
  }
  .support-card,
  .support-form {
    height: auto;
    min-width: 120px;
  }
}

@media (min-width: 1600px) {
  .product-container {
    max-width: 1800px; /* Cho phép rộng hơn trên màn lớn */
  }
}

.product-image,
.product-details {
  width: 48%;         /* hoặc 48% và 48% nếu muốn gap */
  min-width: 600px;   /* hoặc nhỏ hơn nếu cần responsive */
  max-width: 900px;   /* hoặc lớn hơn nếu muốn */
  flex: unset;       
}





