.select-product{
    background-color: #fff;
    border-radius: 0.4rem;
    background-clip: padding-box;
    width: 100%;
    height: 4.4rem;
    outline: none;
    border: none;
    padding-inline: 1.6rem 3.5rem;
    color: #202970;
    appearance: none;
}
.text-decoration-line-through{
    text-decoration: line-through;
}
/* ============================= Máy in Page=================== */
.d-flex{
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.d-only-dflex{
    display: flex;
}

.price{
    font-size: 2.6rem;
    font-weight:600;
    color: #ff0000;
}

.pro-detail__content .select-label{
    width: 30% !important;
}

.select-label{
    font-weight: 600;
}

.w-20{
    width: 30%;
}
.m-20{
    margin: 0 20px;
    width: 100%;
}
.p-t-20{
    padding-top: 20px;
}
.p-b-20{
    padding-bottom: 20px;
}
.p-t-40{
    padding-top: 40px;
}
.m-b-0{
    margin-bottom: 0 !important;
}
.red-price{
    color: orangered;
    font-size: larger;
}
/* -------------------------------------------------------------- Form gửi mail ----------------------------------------------------------- */
/* CSS cho form */
.contact-form.loading {
    position: relative;
    opacity: 0.4;
    pointer-events: none;
}

/* CSS cho spinner */
.contact-form.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db; /* Màu xanh */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Animation cho spinner */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========== CSS phản hồi mail ============= */
.form-message {
    display: none; /* Ẩn mặc định */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    min-width: 200px;
    max-width: 80%;
}

.contact-form {
    position: relative;
}

.ajax-success {
    color: #28a745;
    font-weight: bold;
    margin: 0;
}

.ajax-false {
    color: #dc3545;
    font-weight: bold;
    margin: 0;
}

/* Hiệu ứng khi hiển thị */
.form-message.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Hiệu ứng fade-in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =====================================  FILTER máy tính ======================================= */
.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

/* CSS cho spinner */
.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db; /* Màu xanh */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 10;
}
/* ======================================== footer ================================= */
.f-main{
    display: flex;
    width: 25%;
}
.w-80{
    width: 97%;
}

.footer-links{
    display: flex;
    gap: 1rem;
}

.menu-list-f{
    display: flex;
    flex-wrap: wrap;
    margin-top: 0.8 rem;
    gap: 1rem;
}
.f-s-25{
    font-size: 2.5rem;
    color: #85323a;
}
.f-s-16{
    font-size: 1.6rem !important;
}
/* =============================== Content ============================== */
.content-desc h2, .content-desc h3, .content-desc h4{
    color: #202970;
    font-weight: bold;
    font-size: 20px;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
.m-t-0{
    margin-top: 0 !important;
}
em{
    font-style: italic;
}
.wp-block-list{
list-style-type: disc;
margin-left: 3%;
}
/* ============================ Banner ============================ */
.title-banner {
    font-size: 50px;
    color: #202970;
    font-weight: bold;
    font-style: italic;
    width: 50%;
    margin-top: -18%;
    margin-bottom: 1rem;
}
.banner-content{
    margin-left: -15%;
}
.subtitle-banner{
    font-style: italic;
    font-size: 26px;
    margin-left: 2%;
    width: 50%;
    color: #202970;
}
.form-button .form-submit{
    margin-left: 42%;
}
.contact-nav li{
    margin-bottom: 3%;
}
.aside-contact {
    padding: 2.4rem 0.7rem;
}
.other button{
    background: #ff4343;
    border: none;
    border-radius: 7px;
    padding: 13px;
}
.order{
    color: #fff;
}
#order {
    padding: 11px 138px;
}

.other button:hover{
    background: #f78484;
}
.quantity-input{
    border:none;
    text-align: center;
    width: 100%;
    border: 1px solid rgb(180, 180, 180);
}
.quantity-edit a {
    padding: 2px 10px;
    line-height: 34px;
    background-color: #f3f3f3;
    cursor: pointer;
}
.quantity-edit a:hover {
    background-color: #a09d9d;
}
.quantity-edit{
    border: 2px solid rgb(161, 161, 161);
    display: flex;
    border-radius: 10px;
    width: 25%;
    justify-content: space-between;
}
.left-cart{
    display: flex;
}
.left-cart p{
    line-height: 34px;
}
.left-cart button{
    margin-left: 13px;
    width: 50%;
}
#order-btn{
    width: 100%;
    margin-top: 10px;
}
.cart-sl{
    height: 19px;
    width: 19px;
    text-align: center;
    background-color: red;
    border-radius: 10px;
    color: #f0f0f0;
    font-size: 12px;
    font-weight: 600;
    margin-left: -4px;
}
.qty_selector a {
    cursor: pointer;
}
.infomation{
    display: flex;
    padding-top: 100px;
    gap: 4%;
}


.tongtien{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.btn-order-now{
    padding: 9px 80px;
    margin-top: 29px;
    background: red;
    color: white;
    border-radius: 6px;
}
.btn-order-now:hover{
    background: #f78484;
    cursor: pointer;
}
.price-total{
    font-weight: 600;
}

.popup-order {
    position: fixed; /* Cố định vị trí popup trên màn hình */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Nền tối mờ */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Đảm bảo popup ở trên cùng */
    display: none; /* Ẩn popup mặc định */
}

.popup-order.show {
    display: flex; /* Hiển thị popup khi cần */
}

.popup-order-content {
    background-color: #c1f0cc; /* Màu nền xanh nhạt */
  color: #155724; /* Màu chữ xanh đậm */
  border: 1px solid #83a58b;
    padding: 20px;
    border-radius: 5px;
    font-weight: bold;
    position: relative;
    width: 400px; /* Điều chỉnh kích thước popup */
    text-align: center;
}

.close-popup-order {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 27px;
    cursor: pointer;
}

.popup-order-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.popup-order-message {
    font-size: 16px;
}

.disabled-div{
    pointer-events: none;
    opacity: 0.5;
}