.product-detail {
  background: #efefef;
  padding: 40px;
}

.main-image-wrapper {
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border: none;
}

.slider-thumbs {
  width: 100px;
  gap: 10px;
}

.btn-arrow {
  border: none;
  background: none;
  font-size: 18px;
  color: #555;
}

.thumb-container {
  overflow: hidden;
  height: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
}

.thumbnail {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  object-fit: cover;
}

.video-thumb {
  position: relative;
}
.video-thumb::after {
  content: "\f144";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 35%;
  left: 35%;
  font-size: 22px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px;
  border-radius: 50%;
}

.product-info {
  padding-left: 30px;

}

.product-title {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-price-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.price {
  font-size: 22px;
  font-weight: 700;
  color: #e53935;
}

.old-price {
  font-size: 16px;
  color: #aaa;
  text-decoration: line-through;
  margin-left: 10px;
}

.attribute-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.attribute-table td {
  padding: 10px 6px;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}

.attribute-table td:first-child {
  font-weight: bold;
  width: 160px;
  white-space: nowrap;
}
.btn-orange {
  background-color: #f7931e;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 18px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
text-decoration:none;
}

.btn-orange:hover {
  background-color: #e67e22;
}
.btn-add-cart,
.btn-buy-now {
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
}

.btn-add-cart {
  background: #2e9b5e;
  color: white;
  border-radius: 4px;
text-decoration:none;
}
.btn-no-add {
  background: #646464;
  color: white;
  border-radius: 4px;
}

.desc-section {
  background-color: #fff;
  padding: 40px;
  margin-top: 20px;
}

.desc-section h4 {
  border-left: 4px solid green;
  padding-left: 10px;
  margin-bottom: 20px;
}

/* Inline style overrides */
.main-container {
  background-color: #fff;
  padding: 40px;
  margin-top: 30px;
}
.left-slider {
  width: 90px;
    align-items: center;
}
.thumb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.thumb-list img {
  width: 80px;
  cursor: pointer;
}
.main-image {
  width: 100%;
}
.product-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.product-price {
  font-size: 20px;
  font-weight: bold;
  color: #e53935;
}
.product-old-price {
  color: #bfbfbf;
  text-decoration: line-through;
  margin-left: 10px;
}
.btn-buy-now {
  background-color: #ffc107;
  color: #000;
}
.attr-table {
  width: 100%;
  border-top: 1px solid #ddd;
}
.attr-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #ddd;
}
.info-meta {
  margin-top: 25px;
  font-size: 14px;
}

.info-meta strong {
  display: inline-block;
  min-width: 90px;
  color: #333;
}

.info-meta i {
  font-size: 16px;
  color: #333;
  margin-left: 5px;
}
.desc-box {
  background: #fff;
  padding: 40px;
  margin-top: 20px;
}
.desc-box h4 {
  font-weight: bold;
  font-size: 18px;
  padding-left: 10px;
  border-left: 4px solid green;
}
.arrow-btn {
  text-align: center;
  width: 50px;
  font-size: 14px;
  cursor: pointer;
  color: #666;
}
.thumb-list .thumb-wrapper {
  margin-bottom: 10px;
}
.thumb-list .thumb {
  width: 80px;
  height: auto;
  cursor: pointer;
  border: 1px solid #ccc;
}
.thumb-list .thumb:hover {
  border-color: #007bff;
}
.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #dc3545;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.product-info {
     padding: 15px;
    padding-bottom: 0px;
}
.product-image {
  position: relative;
  overflow: hidden;
}

.image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Vuông */
  overflow: hidden;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-cart {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: #41b549;
  color: white;
  padding: 6px;
  font-size: 0.9rem;
  border-radius: 4px;
  z-index: 10;
}

.badge-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: white;
  color: #000;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  font-weight: bold;
  z-index: 999;
}

.card-body {
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
  min-height: 25px;
}

.product-price {
  font-size: 1rem;
  color: #f0131e;
}

.product-price del {
  color: #999;
  margin-left: 8px;
  font-size: 0.9rem;
}
.overlay-search {
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 2;
  font-size: 34px;
  color: #fff;
}

.product-image:hover .overlay-search {
  opacity: 1;
}

.overlay-search i {
  pointer-events: none; /* Để bấm xuyên qua nếu muốn click vào card */
}
.social-share {
  display: flex;
  align-items: center;
  gap: 7px;
}

.social-share .label {
  font-weight: bold;
  color: #222;
font-size:15px;
  margin-right: 8px;
}

.social-share .icon {
  color: #23a455;
  font-size: 22px;
  transition: color 0.2s;
  text-decoration: none;
}

.social-share .icon:hover {
  color: #207642;
  transform: scale(1.13);
}
.social-share img{
width:15px;
}
.thumb-img.active {
  box-shadow: 0 0 8px #b3b3b3;
}

/* test */
/* ===== 1. GENERAL LAYOUT ===== */
.product-detail .row.main-container {
  display: flex !important;
  gap: 24px !important;
  padding: 40px;
}
/* Col trái = 45% */
.product-detail .row.main-container > div:nth-child(1) {
  flex: 0 0 50% !important;
  max-width: 50% !important;
}
/* Col phải = 55% */
.product-detail .row.main-container > div:nth-child(2) {
  flex: 1 1 50% !important;
  max-width: 50% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

/* === 1. Đảm bảo gallery (slider + ảnh chính) thành 1 hàng row === */
.product-detail .row.main-container > div:nth-child(1) {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important; /* khoảng cách giữa slider và ảnh chính */
  margin: 0 !important;
  padding: 0 !important;
}
.section-title-des{
  position: relative;
  font-weight: bold;
  font-size: 1.5rem;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;	
margin-bottom: 30px;
}
.section-title-des::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 160px;
  background-color: #2ecc71; 
}
/* === 2. Slider Thumbnails ở bên trái ảnh chính === */
.product-detail .left-slider {
  height: 100%;
  order: 0 ; /* nằm đầu trong flex */
  width: 70px;
  display: flex ;
  flex-direction: column ;
margin-top:50px;
  padding: 0 ;
}

/* Tất cả thumbnail vuông, phủ đầy khung 80×80 */
.product-detail .thumb-img {
  width: 70px !important;
  height: 70px !important;
  object-fit: cover !important;
  border: 1px solid #ccc !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

/* === 3. Ảnh chính ở bên phải slider === */
.product-detail .flex-fill.position-relative {
  height: 100%;
  order: 1 ; 
  flex: 1 1 auto ;
  display: flex ;
  margin: 0;
  padding: 0;
}

/* Ảnh chính luôn 1000×1000, cover khung */
.product-detail #mainImage {
  width: 500px !important;
  height: 500px !important;
  object-fit: cover !important;
  display: block !important;
}

/* ===== 4. TITLE & PRICE ===== */
.product-detail .product-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #111 !important;
  margin: 0 !important;
}
.product-detail .price-group {
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
  margin: 0 !important;
}
.product-detail .product-price {
  font-size: 24px !important;
  color: #e53935 !important;
}
.product-detail .product-old-price {
  font-size: 16px !important;
  color: #999 !important;
  text-decoration: line-through !important;
}

/* === Override cho bảng thuộc tính (table-sm) trong product-detail === */
.product-detail table.table-sm {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  background-color: #fff !important; /* ghi đè inline bg #fcfdfe */
  margin: 0 !important;
  padding: 0 !important;
}

.product-detail table.table-sm td {
  padding: 10px 0 0 0 !important;
  border-bottom: 1px solid #d7d7d7 !important;
  color: #333 !important;
}

.product-detail table.table-sm tr:last-child td {
  border-bottom: none !important; /* bỏ line cuối cùng */
}

/* Nếu có select nhỏ trong cell, giữ inline-block */
.product-detail table.table-sm select.form-select-sm {
  display: inline-block !important;
  width: auto !important;
  padding: 4px 8px !important;
  font-size: 14px !important;
}

/* ===== 6. OUT-OF-STOCK BUTTON ===== */
.product-detail .btn-secondary {
  background: #ddd !important;
  color: #666 !important;
  padding: 8px 20px !important;
  border-radius: 4px !important;
  cursor: not-allowed !important;
}

/* ===== 7. ACTION BUTTONS ===== */
.product-detail .btn-add-cart,
.product-detail .btn-buy-now {
  padding: 18px 32px !important;
  font-size: 14px !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  color: #fff !important;
  transition: background 0.2s !important;
}
.product-detail .btn-add-cart {
  margin-bottom: 20px;
  background: #28a745 !important;
}
.product-detail .btn-add-cart:hover {
  background: #218838 !important;
}
.product-detail .btn-buy-now {
  background: #ffc107 !important;
}
.product-detail .btn-buy-now:hover {
  background: #e0a800 !important;
}

/* ===== 8. META INFORMATION ===== */
.product-detail .row.main-container > div:nth-child(2) .mb-2 {
  margin-bottom: 6px !important;
font-size:15px;
  color: #333 !important;
}
.product-detail .row.main-container > div:nth-child(2) .mb-2 b {
  display: inline-block !important;
}
.product-detail .row.main-container > div:nth-child(2) .nd-tag {
  color: black;
}
.product-detail .row.main-container > div:nth-child(2) .nd-dm {
  font-weight: 500 !important;
  text-decoration: none;
  color: #0035ff;
}
.product-detail .row.main-container > div:nth-child(2) .nd-dm:hover {
  text-decoration: underline; /* gạch chân khi hover */
}
.nd-tag a {
  font-weight: 400 !important;
  text-decoration: none;
  color: #0035ff;
}
.nd-tag a:hover {
  text-decoration: underline; /* gạch chân khi hover */
}
/* ===== 9. SHARE ICONS ===== */
.product-detail .social-share {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.product-detail .social-share a {
  font-size: 18px !important;
  color: #28a745 !important;
  transition: transform 0.2s !important;
display: inline-flex;
 align-items: center;
 gap: 4px;
margin-right:5px;
}
.product-detail .social-share a:hover {
  transform: scale(1.2) !important;
}

/* ===== 10. DESCRIPTION BOX ===== */
.product-detail .desc-box {
  background: #fff !important;
  padding: 40px;
  margin-top: 20px !important;
}
.product-detail .desc-box h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
  padding-left: 10px !important;
  border-left: 4px solid green !important;
  margin-bottom: 20px !important;
}

/* ===== 11. RELATED PRODUCTS ===== */
.product-detail .related-box {
  margin-top: 40px !important;
}
.product-detail .related-box .section-title {
  text-align: center !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: 24px !important;
}
.product-detail .related-box .row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(20%, 1fr)) !important;
  gap: 20px !important;
}

/* === Adjust Related Products Typography & Spacing === */
.product-detail .related-box .product-card {
  /* ensure full height for uniformity */
  display: flex !important;
  flex-direction: column !important;
}

/* 1. Tăng chiều cao khung ảnh cho cân đối */
.product-detail .related-box .product-image {
  height: 200px !important; /* match listing page */
}

/* 2. Padding chung cho info */
.product-detail .related-box .product-info {
  gap: 8px !important; /* khoảng giữa các phần tử */
}

/* 3. Tiêu đề và giá giống listing page */
.product-detail .related-box .product-info .product-title {
  font-size: 0.95rem !important; /* ~15px */
  font-weight: 600 !important;
  margin: 0 !important;
}

.product-detail .related-box .product-info .product-price {
  font-size: 1rem !important; /* ~16px */
  font-weight: 700 !important;
  color: #e53935 !important;
  margin: 0 !important;
}

/* 4. Khoảng cách giữa Giá và Nút */
.product-detail .related-box .product-info .btn-add-cart {
  margin-top: 10px !important;
  padding: 10px 16px !important;
  width: 100% !important;
}

/* 5. Bỏ khoảng trống thừa */
.product-detail .related-box .product-info .product-title + .product-price {
  margin-top: 4px !important;
}

.zoom-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.thumb-wrapper:hover .zoom-icon,
.thumb-img.active + .zoom-icon {
  opacity: 1;
}

.zoom-icon img {
  width: 20px;
  height: 20px;
}

/* .arrow-btn {
  text-align: center;
align-items: center;
} */

.arrow-btn img {
  width: 30%;
}

.arrow-btn.down img {
  transform: rotate(180deg);
}

.img-popup-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* ===== THUMBNAIL GALLERY ===== */
.thumb-wrapper {
  display: inline-block;
  position: relative;
  margin-bottom: 8px;
  flex: 0 0 auto;
}

.thumb-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  display: block;
  border: 1px solid #ccc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.thumb-img.active {
  border: 2px solid #d0021b;
  box-shadow: 0 0 8px #b3b3b3;
}

.thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.thumb-overlay img {
  width: 20px;
  height: 20px;
}

.thumb-wrapper:hover .thumb-overlay,
.thumb-img.active + .thumb-overlay {
  opacity: 1;
}
.flex-fill {
  position: relative;
}
.lb-mobile-btn {
    position: absolute;
    left: 10px;
    bottom: 15px;
    width: 50px;
    z-index: 5;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}
@media (max-width: 767px) {
  .lb-mobile-btn {
    display: flex;
  }
}
.main-image{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
/* ===== IMAGE POPUP (Lightbox) ===== */
.img-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.img-popup-bg {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
}

.img-popup-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.img-popup-content img {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid white;
  border-radius: 4px;
}

.product-content img {
  width: 100% !important;
  height: auto !important;
  margin-bottom:20px;
  margin-top:20px;
}
.nd-dm{
font-family:"avo";
}
.nd-tag{
font-family:"avo";
}
.product-content h2 > strong {
  font-family: "avo" !important;
  font-size: 20px !important;
}
.product-content h3 > strong {
  font-family: "avo" !important;
  font-size: 18px !important;
}
.product-content h4 > strong {
  font-family: "avo" !important;
  font-size: 16px !important;
}
.product-content ul{
margin-left:40px;
}
.product-content p{
margin-bottom:15px;
}
.product-content strong {
  font-weight: bold;
  color: inherit;
}
.product-content a {
  font-weight: bold;
  color: inherit;
}
/* ===== RESPONSIVE FOR TABLETS (<=992px) ===== */
@media (max-width: 992px) {
  .product-detail .left-slider {
margin:0;
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0;
    gap: 10px;
  }

  .product-detail .thumb-list {
    flex-direction: row !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  .thumb-wrapper {
    margin-bottom: 0 !important;
  }

  .thumb-img {
    width: 60px !important;
    height: 60px !important;
  }
  .product-detail .related-box .row {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(40%, 1fr)) !important;
    gap: 20px !important;
  }
}

/* ===== RESPONSIVE FOR MOBILE (<=768px) ===== */
@media (max-width: 768px) {
  .product-detail .left-slider {
margin:0;
    flex-direction: row !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 8px 0 !important;
    gap: 10px !important;
  }

  .product-detail .thumb-list {
    flex-direction: row !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }
.btn-orange{
width: 100%;
        padding: 10px 0 ;
        font-size: 14px;
}
  .thumb-wrapper {
    margin-bottom: 0 !important;
  }

  .thumb-img {
    width: 60px !important;
    height: 60px !important;
  }
}

/* ===== RESPONSIVE FOR SMALL MOBILE (<=480px) ===== */
@media (max-width: 480px) {
  .product-detail .left-slider {
margin:0;
    flex-direction: row !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 8px 0 !important;
    gap: 10px !important;
  }
  .product-detail .related-box .row {
    display: grid !important;
     gap: 20px !important;
  }
  .product-detail .thumb-list {
    flex-direction: row !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  .thumb-wrapper {
    margin-bottom: 0 !important;
  }

  .thumb-img {
    width: 60px !important;
    height: 60px !important;
  }
}

/* ===== RESPONSIVE FOR TABLETS (<=992px) ===== */
@media (max-width: 992px) {
  /* Stack 2 cột thành 1 cột */
  .product-detail .row.main-container {
    flex-direction: column !important;
    gap: 20px !important;
  }
  /* Col ảnh và col thông tin rộng 100% */
  .product-detail .row.main-container > div:nth-child(1),
  .product-detail .row.main-container > div:nth-child(2) {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  .product-detail .row.main-container > div:nth-child(1) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column-reverse !important;
  }
  .thumb-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    align-items: center !important;
  }
  .product-detail .thumb-img {
    width: 90px !important;
    height: 90px !important;
  }
  /* Ảnh chính full-width, height auto */
  .product-detail #mainImage {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  .arrow-btn img {
    display: none;
  }
  .product-detail .left-slider {
margin:0;
    display: flex !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 8px 0 !important;
    gap: 10px !important;
    justify-content: center;
  }
}

/* ===== RESPONSIVE FOR PHABLETS (<=768px) ===== */
@media (max-width: 768px) {
  .product-grid {
   grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
.product-image{
height:150px;
}
.product-title{
font-size:13px;
}
.btn-add-cart{
font-size: 12px;
}
.product-price{
font-size: 14px;
}
  /* Giảm gap giữa các section */
  .product-detail .row.main-container {
    gap: 16px !important;
	padding:10px;
        align-items: CENTER;
  }
.product-detail .desc-box
 {
    padding: 10px; 
 }
 .arrow-btn {
    display: none !important;
  }
  /* Thu nhỏ tiêu đề & giá */
  .product-detail .product-title {
    font-size: 20px !important;
  }
  .product-detail .product-price {
    font-size: 20px !important;
  }
  .product-detail .product-old-price {
    font-size: 14px !important;
  }
  /* Nút rộng full và padding nhỏ hơn */
  .product-detail .btn-add-cart,
  .product-detail .btn-buy-now {
    width: 100% !important;
    padding: 10px 0 !important;
    font-size: 14px !important;
  }
  .product-detail .row.main-container > div:nth-child(1) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column-reverse !important;
    width: 600px !important;
  }
  .thumb-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    align-items: center !important;
  }
  .product-detail {
    background: #efefef;
    padding: 40px 0;
  }
}

/* ===== RESPONSIVE FOR MOBILE (<=480px) ===== */
@media (max-width: 480px) {
  /* Price group dọc */
  .product-detail .price-group {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  .left-slider {
    flex-direction: row !important;
    overflow-x: auto;
    white-space: nowrap;
  }
 

  .thumb-list {
    flex-direction: row !important;
  }

  .thumb-wrapper {
    flex-shrink: 0;
  }
  /* Thu nhỏ padding bảng thuộc tính */
  .product-detail .attribute-table td {
    padding: 8px 4px !important;
    font-size: 14px !important;
  }
  /* Meta và share đỡ chật */
  .product-detail .meta-info,
  .product-detail .social-share {
    font-size: 13px !important;
    gap: 4px !important;
  }
  .product-detail .social-share a {
    font-size: 16px !important;
  }
  .product-detail .row.main-container > div:nth-child(1) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column-reverse !important;
    width: 600px !important;
  }
  .thumb-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    align-items: center !important;
  }
}
