.pc-builder {
  display: flex;
  gap: 40px;
  padding: 60px 0;
}

.nav-item {
  width: 1000px;
  color: white;
  display: flex;
  padding: 10px;
  cursor: pointer;
  background-color: #444;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: background-color 0.2s ease;
  justify-content: space-between;
  align-items: center;
}

.nav-item:hover {
  background-color: #555;
}

.nav-item.active {
  background-color: #666;
}

.step {
  display: none;
  /* Ẩn tất cả các popup ban đầu */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 900px;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  z-index: 1000;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  /* Hiệu ứng xuất hiện nhanh */
  overflow: hidden;
}

.step.show {
  opacity: 1;
  transform: translate(-50%, -45%) scale(1.05);
  /* Zoom nhỏ */
}

.popup-overlay {
  display: none;
  /* Ẩn lớp phủ ban đầu */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.close-btn {
  float: right;
  cursor: pointer;
  font-size: 18px;
  color: red;
}

.popup-content {
  height: 700px;
  overflow-y: scroll;
  display: grid;
  gap: 8px;
}

.popup-content::-webkit-scrollbar {
  width: 4px;
  display: block;
}

.popup-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.popup-content::-webkit-scrollbar-thumb {
  background: #bebebe;
}

.popup-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.product-item {
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
  justify-content: space-between;
}

.product-item img {
  height: 48px;
  width: 48px;
  border: 1px solid #ccc;
  padding: 4px;
  border-radius: 6px;
  object-fit: contain;
}

.product-item .title {
  font-size: 12px;
  line-height: 1.4;
  width: 100%;
  max-width: 20rem;
}

.product-item input.quantity {
  width: 100%;
  max-width: 3rem;
  height: 2rem;
  margin-left: auto;
  background: #f1f1f14d;
  border: 1px solid #ececec;
  padding: 4px 8px;
  border-radius: 4px;
}

.product-item span.price del {
  display: none;
}

.product-item + .product-item {
  border-top: 1px solid #d3d3d3;
}

.product-item span.price ins {
  display: none;
}

.product-item span.price {
  display: flex;
  flex-direction: column-reverse;
  text-align: left;
  gap: 8px;
  width: 100%;
  max-width: 13rem;
}

.product-item span.price * {
  font-size: 13px;
  font-weight: 700;
  background: -webkit-linear-gradient(108deg, #f7434c, #ff8949);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-item span.price .screen-reader-text {
  font-size: 13px;
  width: auto;
  height: auto;
  position: unset !important;
  margin: 0;
  clip-path: unset;
}

.product-item .choose {
  background: #0d71e2;
  padding: 6px 12px;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  max-width: 4rem;
  cursor: pointer;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
  -webkit-appearance: "Always Show Up/Down Arrows";
}

.quantity {
  width: 100px !important;
  margin: 0 90px;
}

.place-holder {
  display: flex;
  align-items: center;
}

/* Popup overlay */
#popup-overlay {
  display: none;
  /* Ẩn popup mặc định */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Nền tối mờ */
  z-index: 1000;
  /* Đặt lên trên các phần tử khác */
}

/* Popup container */
#personal-info-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
}

/* Đóng popup */
#popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.nav-item button {
  margin: 0 !important;
}

.sidebar .cart .cart-item {
  display: flex;
  gap: 6px;
}

.sidebar .cart .cart-item img {
  width: 60px;
  height: 60px;
}

.facet-contents {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 1rem;
}

.tab-content {
  position: relative;
}

.facet-contents .tab-content ul {
  list-style: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
  position: fixed;
  width: 100%;
  top: 102px;
  left: 20px;
  display: none;
  z-index: 100;
  background: #fff;
}

h3.facet-label {
  font-size: 13px !important;
  padding: 4px 8px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  cursor: pointer;
}

.facet-contents .tab-content:hover ul {
  display: flex;
}

.facet-contents .tab-content .facet-label:hover {
  border-color: #0d71e2;
}

.facet-contents .tab-content ul li {
  margin-bottom: 0;
}

.active h3.facet-label {
  color: #f7434c;
}

.facet-contents .tab-content ul li a.active {
  color: #f7434c;
}

.facet-contents .tab-content ul li a {
  color: #333;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.facet-contents .tab-content ul {
  border: 1px solid #0d71e2;
  border-radius: 4px;
  padding: 8px;
  max-width: 860px;
}

.facet-contents .tab-content ul li a:hover {
  color: #0d71e2;
}

.pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pagination .pagination-page {
  border: 1px solid #ccc;
  color: #333;
  font-size: 15px;
  padding: 4px 8px;
  border-radius: 4px;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .pagination-current {
  border: 1px solid #0d71e2;
  color: #ffffff;
  font-size: 15px;
  padding: 4px 8px;
  border-radius: 4px;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d71e2;
}

.pagination .pagination-next {
  border: 1px solid #ccc;
  color: #333;
  font-size: 15px;
  padding: 4px 8px;
  border-radius: 4px;
  width: max-content;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .pagination-prev {
  border: 1px solid #ccc;
  color: #333;
  font-size: 15px;
  padding: 4px 8px;
  border-radius: 4px;
  width: max-content;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.nav-item {
  background: #fff;
  color: #1d192b;
}

div.nav-item:hover {
  background-color: #ffffff;
}

.show-list:hover {
  color: #0d71e2;
}

div.nav-item a {
  font-size: 13px;
}

div.nav-item span {
  font-size: 13px;
}

.sidebar .cart-item {
  display: grid;
  gap: 6px;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  font-size: 13px;
  color: #1d192b;
}

.sidebar .cart-item img {
  max-width: 3rem;
  max-height: 3rem;
}

.cart-total {
  color: #1d192b;
  font-size: 13px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
