* {
  box-sizing: border-box;
  /* font-family: "SF Mono", sans-serif; */
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}
body {
  font-family: sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #3d3d3d;
  background-color: #fff;
  
}


.container1 {
  margin-top: 80px;
  width: 100%;
  height: 100%;

}
nav li {
  display: inline;
  text-decoration: none;
}
a {
  text-decoration: none;
  color: black;
}
.product-detail {
  width: 960px;
  height: auto;
  margin: 0 auto;
}
.breadcrumb {
  margin: 19px 0px 38px 0px;
  font-size: 12px;
  padding-left: 0px;
}
ul {
  padding-left: 0px;
}
.index-breadcrum {
  color: #d20001;
}
.product-main {
  display: flex; /* Sử dụng Flexbox để đặt các phần tử ngang hàng */
  align-items: flex-start;
  height: auto;
}
.img-info {
  width: 100%;
  height: 100%;
}
.product-img {
  display: flex; /* Sử dụng Flexbox để đặt các phần tử ngang hàng */
  align-items: flex-start;
  width: 560px;
  margin: 0px;
  height: auto;
}
.left {
  width: 70px;
  margin-right: 9px;
}
ul li {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
ul li .img {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 80px;
}
ul li img.img-info {
  width: 70px; /* Chiều rộng */
  height: 70px; /* Chiều cao */
  object-fit: cover; /* Đảm bảo hình ảnh không bị méo */
  cursor: pointer;
}
.product-img-main {
  position: relative;
  flex: 1;
}
.product-img-main img {
  width: 100%;
  height: 100%;
}
.product-info {
  flex: 1;
  margin-left: 40px;
}
.new{
  background-color: #efbd32;
  color: #fff;
  width: 10%;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  display: inline-block;
  text-align: center;
}
.hot{
  background-color: #d20001;
  color: #fff;
  width: 10%;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  display: inline-block;
  text-align: center;
}
.name-product {
  font-family: DINPro-Bold;
  color: black;
  font-weight: 500;
  font-size: 22px;
  display: flex; /* Sử dụng Flexbox để đặt các phần tử ngang hàng */
  align-items: flex-start;
}
.name {
  width: 90%;
}
.like{
  cursor: pointer;
  width: 6%;
}

.like i {
  color: black; /* Màu mặc định của trái tim */
  font-size: 24px; /* Kích thước icon */
  transition: color 0.3s ease; /* Hiệu ứng chuyển màu */
}

.like .fa-solid {
  color: red;
}

.product-price {
  font-family: DINPro-Medium;
  color: #d20001;
  margin-top: 19px;
  font-weight: 400;
  font-size: 20px;
}
.product-size {
  margin-top: 19px;
  height: 78px;
}
.size {
  margin-bottom: 9.5px;
}
.size-detail {
  height: 52px;
  display: flex; /* Sử dụng Flexbox để đặt các phần tử ngang hàng */
  align-items: flex-start;
  gap: 10px;
}
.size-info {
  margin-bottom: 9.5px;
  border-color: #312e2e;
  background-color: #f5f5f5;
  padding: 0px 8px;
  display: flex;
  justify-content: center;
  width: 176px;
}
.size-info img {
  width: 41px;
  height: 41px;
}
.size-info1 {
  flex: 1;
  margin-bottom: 9.5px;
  border-color: #312e2e;
  background-color: #f5f5f5;
  padding: 0px 8px;
  display: flex;
  justify-content: center;
}
.size-info1 img {
  width: 41px;
  height: 41px;
}
.size-info,
.size-info1 {
  cursor: pointer;
}
.size-info.active,
.size-info1.active {
  border: 1.5px solid black;
  font-weight: 600;
}
.size-info-title {
  display: flex;
  justify-content: center;
  align-items: center;
}
.quantity-container {
  margin-top: 9.5px;
  height: 75px;
}
.quantity-buttons {
  margin-top: 9.5px;
  height: 33px;
}
.quantity-title {
  font-size: 16px;
  font-weight: bold;
}
.quantity-buttons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quantity-minus,
.quantity-plus {
  width: 30px;
  height: 30px;
  border: 1px solid #000;
  background-color: #fff;
  cursor: pointer;
  text-align: center;
  align-items: center;
  font-size: 18px;
  line-height: 30px;
  padding: 0;
}

.quantity-minus:hover,
.quantity-plus:hover {
  background-color: #f0f0f0;
}

.quantity-input {
  width: 50px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 0px;
  padding: 4px 11px;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.action-container {
  margin-top: 9.55px;
  height: 48px;
  display: flex; /* Sử dụng Flexbox để đặt các phần tử ngang hàng */
  gap: 10px;
  box-sizing: border-box;
}
.add-to-cart1 {
  background-color: #000;
  color: #f0f0f0;
  width: 50%;
  font-family: DINPro-Bold;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
  cursor: pointer;
}
.add-to-cart1:hover {
  background-color: #3d3d3d;
}
.buy-now {
  flex: 1;
  background-color: #d20001;
  color: #f0f0f0;
  font-family: DINPro-Bold;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
  cursor: pointer;
}
.buy-now:hover {
  background-color: #f71010;
}

.details-section {
  width: 100%;
  border-top: 1px solid #d0c4c4;
  border-bottom: 1px solid #d0c4c4;
  padding: 19.1px 9.5px 19.1px 0px;
  margin-top: 25px;
}
.details-section h3 {
  margin: 0;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.details-section h3 img {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.details-content {
  margin-top: 10px;
  display: none;
  font-size: 14px;
  color: #555;
}
.details-content p {
  margin: 5px 0;
}
.details-content a {
  color: #000000;
  text-decoration: underline;
}
.img-info-describer {
  margin-top: 50px;
}
img {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.img-describer {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.title {
  margin-top: 20px;
  font-size: 32px;
  font-weight: 600;
  font-family: DINPro-Bold;
  margin-bottom: 19.1px;
}
.card {
  cursor: pointer;
}
.card-title,
.card-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-text {
  font-size: 15px;
  color: #d20001;
  font-weight: 600;
}


/* Tablet */
@media (max-width: 768px) {
  body{
    margin: 10px;
  }
  .product-main {
    flex-direction: column; /* Đặt các phần tử theo chiều dọc */
  }
  .product-detail {
    width: 100%; /* Chiếm toàn bộ chiều rộng */
  }
  .left {
    display: flex;
    align-items: center;
  }
  .product-img-main {
    order: 1;
    width: 100%;
    margin-bottom: 10px;
  }

  .product-img {
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    flex-direction: column;
  }
  .product-img-left {
    order: 2;
    display: flex;
    gap: 10px;
  }
  .product-img-left ul {
    display: flex; /* Đặt danh sách ảnh nằm ngang */
    padding: 0;
    margin: 0;
    list-style: none; /* Xóa dấu chấm đầu mục */
    margin-top: 20px;
  }

  .product-img-left li {
    flex-shrink: 0;
    margin-right: 10px;
  }
  .product-info {
    width: 100%;
    margin-left: 0; /* Bỏ margin bên trái */
    margin-top: 20px; /* Thêm margin trên */
  }
  .name-product {
    width: 100%;
    font-size: 20px; /* Giảm kích thước chữ */
  }
  .name {
    width: 90%;
    text-align: left;
  }
  .like {
    width: 4%;
    text-align: right;
  }
  .like svg {
    height: auto;
    text-align: right;
  }
  .product-price {
    font-size: 18px; /* Giảm kích thước chữ */
  }

  .size-info {
    width: 50%;
  }
.add-to-cart1{
  width: 50%;
}
}

/* Phone */
@media (max-width: 480px) {
  body {
    font-size: 14px; /* Giảm kích thước chữ cho điện thoại */
    margin: 2px;
  }
  .product-img-main {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
.left{
  display: none;
}
.like{
  width: 6%;
}

.action-container {
  display: flex;
  flex-direction: column;
  height: 80px;
  gap: 10px;
  box-sizing: border-box; 
}

.add-to-cart1,
.buy-now {
  width: 100%;
  height: calc(50% - 5px); 
  display: flex;
  align-items: center; 
  justify-content: center; 
  box-sizing: border-box; 
}
  .name-product {
    font-size: 18px; 
  }
  .info-detail {
    width: 100%;
  }
  .product-price {
    font-size: 16px; 
    white-space: inherit;
  }
  .quantity-container {
    flex-direction: column; 
  }
  .quantity-buttons {
    width: 100%; /
  }
}
