.woocommerce div.product form.cart .variations { margin:0; padding:0}
ul.variation-options {
    display: flex; /* Sử dụng flexbox */
    list-style: none; /* Xóa dấu đầu dòng */
    padding: 0; /* Loại bỏ khoảng cách padding mặc định */
    margin: 0 auto; /* Căn giữa ul trong container */
    gap: 10px; /* Khoảng cách giữa các phần tử */
}
.variation-options .variation-option {
    width: calc(33.33333% - 6.66667px);
    border: 1px solid #ccc;
    display: flex; /* Sử dụng Flexbox */
    align-items: center;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box; border-radius:10px;
}

.variation-options .variation-option:hover {
    background-color: #f0f0f0;
}

.variation-options .variation-option {
    width: calc(33.33333% - 6.66667px);
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    position: relative; /* Cần thiết để đặt icon tuyệt đối */
}

.variation-options .variation-option:hover {
    background-color: #f0f0f0;
}

.variation-options .variation-option.selected {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Chèn icon vào góc phải */
.variation-options .variation-option.selected .variation-content::after {
  background-color: #00952c;
  border-radius: 50%;
  color: #fff;
  content: "✓";
  font-size: 10px;
  height: 18px;
  width: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 5px;
  right: 5px;
  z-index: 1;
  padding: 0;
}

.variation-options .variation-option img {
    margin-right: 5px; /* Tạo khoảng cách giữa hình ảnh và nội dung */
    flex-shrink: 0; /* Giữ nguyên kích thước hình ảnh */
}

.variation-options .variation-content {
    display: flex;
    flex-direction: column; /* Đặt SKU và giá theo cột */
    justify-content: center; /* Căn giữa nội dung */
    flex-grow: 1; /* Chiếm phần còn lại của không gian */
}

.variation-options .variation-sku {
    font-weight: bold; /* Làm nổi bật giá */
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.variation-options .variation-price {
    color: #555;
    margin-top: 5px; /* Khoảng cách giữa SKU và giá */
    line-height: 1.5;
}


.variation-options .variation-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Căn giữa nội dung */
}

.variation-options .variation-sku,
.variation-options .variation-price {
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.variation-options .variation-price {
    color: #d70018;
    margin-top: 5px; /* Thêm khoảng cách giữa SKU và giá */
}
	.woocommerce div.product form.cart .single_variation_wrap  .woocommerce-variation-price .price del bdi {
  color: #222;
  font-size: 16px !important;
  font-weight: 500;
}
	
	.woocommerce div.product form.cart .single_variation_wrap  .woocommerce-variation-price .price ins bdi {
  color: #d70018;
  font-size: 18px !important;
  font-weight: 700;
}
.woocommerce div.product form.cart .variations th.label { display:none;}
/* Ẩn các thuộc tính chọn trong dropdown */
.variations select {
    display: none !important;
}

/* Kiểu cho nút reset biến thể */
.reset_variations {
    display: none !important;
}


dding: 5px;
}

/* Tùy chỉnh danh sách options */
.woocommerce div.product form.variations_form.cart ul.variation-options {
    display: flex; /* Sử dụng flexbox */
    justify-content: center; /* Căn giữa các option */
    flex-wrap: wrap; /* Xuống dòng nếu không đủ chỗ */
    gap: 10px; /* Khoảng cách giữa các option */
    padding: 0;
    margin: 0;
    list-style: none; /* Loại bỏ ký hiệu danh sách */
}


/* Phần số lượng */
.woocommerce div.product form.variations_form.cart .quantity {
    display: flex; /* Sử dụng flexbox */
    align-items: center; /* Căn giữa theo chiều dọc */
    border: 1px solid #ccc; /* Viền bao quanh */
    border-radius: 5px; /* Bo tròn góc */
    overflow: hidden; /* Ẩn các phần thừa */
}

.woocommerce div.product form.variations_form.cart .quantity input[type="number"] {
    width: 60px; /* Chiều rộng */
    height: 40px; /* Chiều cao */
    text-align: center; /* Căn giữa văn bản */
    border: none; /* Loại bỏ viền mặc định */
    font-size: 16px; /* Kích thước chữ */
    outline: none; /* Loại bỏ hiệu ứng outline */
	padding:0; margin-right:0;
}

/* Loại bỏ nút tăng/giảm mặc định */
.woocommerce div.product form.variations_form.cart .quantity input[type="number"]::-webkit-inner-spin-button, 
.woocommerce div.product form.variations_form.cart .quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Nút thêm vào giỏ hàng */
.woocommerce div.product form.variations_form.cart .single_add_to_cart_button {
    padding: 12px 24px; /* Khoảng cách bên trong nút */
    background-color: #d70018; /* Màu nền */
    color: #fff; /* Màu chữ */
    border: none; /* Loại bỏ viền */
    border-radius: 5px; /* Bo tròn góc */
    font-size: 16px; /* Kích thước chữ */
    font-weight: bold; /* Chữ in đậm */
    text-transform: uppercase; /* Chuyển chữ thành in hoa */
    cursor: pointer; /* Hiển thị con trỏ chuột */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Hiệu ứng */
}

.woocommerce div.product form.variations_form.cart .single_add_to_cart_button:hover {
    background-color: #b90012; /* Màu nền khi hover */
    transform: translateY(-3px); /* Nút nhô lên nhẹ */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Hiệu ứng đổ bóng */
}

.woocommerce div.product form.variations_form.cart .single_add_to_cart_button:active {
    transform: translateY(1px); /* Hiệu ứng nhấn */
    box-shadow: none; /* Loại bỏ đổ bóng khi nhấn */
}

/* Đảm bảo hỗ trợ truy cập */
.woocommerce div.product form.variations_form.cart label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}
