body {
    background: #ffffff;
}

.product-detail-page {
    padding: 18px 0 40px;
}

.product-detail-page .container {
    width: min(1180px, calc(100% - 30px));
    margin: 0 auto;
}

.breadcrumb {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: #666;
    margin-bottom: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #0d5ecb;
}

.product-detail-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
}

.product-name {
    margin: 0 0 14px;
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.2px;
}

.main-image-wrap {
    width: 100%;
    max-width: 560px;
    border: 1px solid #ededed;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.main-image-wrap img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: #fff;
}

.thumb-list {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.thumb {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    width: 68px;
    height: 68px;
    padding: 2px;
    cursor: pointer;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb.is-active,
.thumb:hover {
    border-color: #0d5ecb;
}

.product-info {
    padding-top: 62px;
}
.product-info a{
    text-decoration: none;
    
}

.stock-row,
.sku-row {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 17px;
}

.stock-out {
    color: #50a84f;
}

.product-desc {
    margin: 16px 0 12px;
    color: #6f6f6f;
    font-size: 15px;
}

.price {
    color: #0d5ecb;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Nút thông báo hết hàng */
.btn-out-stock {
    border: 0;
    border-radius: 6px;
    background: #2f79d0;
    color: #fff;
    min-width: 210px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: not-allowed;
}

/* Nút mua hàng (còn hàng) */
.btn-buy {
    border: 0;
    border-radius: 6px;
    background: #2f79d0;
    color: #fff;
    min-width: 210px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-buy:hover {
    background: #1e5ba3; 
}

.promo-code {
    margin-top: 14px;
    border: 1px dashed #debf75;
    border-radius: 6px;
    padding: 10px 12px;
    color: #b07400;
    background: #fffef9;
    font-weight: 600;
    width: 100%;
    max-width: 430px;
}

@media (max-width: 1024px) {
    .product-detail-card {
        grid-template-columns: 1fr;
    }

    .product-info {
        padding-top: 0;
    }

    .product-name {
        font-size: 24px;
    }

    .main-image-wrap img {
        height: 420px;
    }
}

/* Container chính chứa các nút - Đã ép sát mép dưới */
.floating-contact-bar {
  position: fixed;
  bottom: 0; /* Ép sát xuống mép dưới màn hình */
  right: 0;  /* Ép sát vào lề phải */
  background-color: #0068ff; /* Màu xanh đặc trưng */
  display: flex;
  align-items: center;
  gap: 12px; /* Khoảng cách giữa các nút */
  padding: 10px 15px 10px 25px; /* Padding trái lớn hơn để tạo độ cong đẹp */
  
  /* Tạo đường cong ở góc trên bên trái, góc dưới để vuông */
  border-top-left-radius: 40px;
  border-bottom-left-radius: 0; /* Vuông vức với mép dưới */
  
  /* Đổ bóng nhẹ để nổi bật so với nền trang web */
  box-shadow: -2px 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999; /* Đảm bảo luôn nằm trên các phần tử khác */
}

/* Kiểu dáng cho từng nút tròn */
.contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%; /* Tạo hình tròn hoàn hảo */
  border: 2px solid #ffffff; /* Viền trắng */
  color: #ffffff; /* Màu icon trắng */
  text-decoration: none;
  background-color: transparent;
  transition: all 0.3s ease; /* Hiệu ứng chuyển động mượt mà khi di chuột */
}

/* Hiệu ứng khi người dùng trỏ chuột (hover) vào nút */
.contact-btn:hover {
  background-color: #ffffff;
  color: #0068ff; /* Đổi icon thành màu xanh */
  transform: scale(1.1); /* Phóng to nhẹ lên 10% */
}