
/* CSS cho popup layout ngang */
.quick-buy-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: #fff;
    width: 90%;
    max-width: 1200px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    position: relative;
}

/* Nút đóng */
.popup-close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    background: #464226;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Phần bên trái - Thông tin sản phẩm */
.product-section {
    width: 40%;
    padding: 30px;
    background: #f9f9f9;
    border-right: 1px solid #eee;
}

.product-image {
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-info-1 {
    margin-bottom: 20px;
}

.product-info-1 h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.product-price {
    font-size: 24px;
    color: #C69C6D;
    font-weight: bold;
    margin-bottom: 20px;
}

.quantity-wrapper {
    margin-top: 20px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* Phần bên phải - Form đặt hàng */
.quick-buy-form {
    width: 60%;
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Style cho các trường form */
.form-row {
    margin-bottom: 15px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}


.gender-select {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.address-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

/* Style cho phần vận chuyển và thanh toán */
.shipping-method,
.payment-method {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.shipping-method h4,
.payment-method h4 {
    margin-bottom: 10px;
    color: #333;
}

/* Style cho phần tổng tiền */
.order-total {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.order-total > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total {
    font-size: 18px;
    font-weight: bold;
    color: #C69C6D;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* Nút đặt hàng */
.order-button {
    width: 100%;
    padding: 15px;
    background: #06f632;
    color: #f00909;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.order-button:hover {
    background: #b38a5e;
}

/* Responsive */
@media (max-width: 768px) {
    .popup-content {
        flex-direction: column;
    }

    .product-section,
    .quick-buy-form {
        width: 100%;
    }

    .address-fields {
        grid-template-columns: 1fr;
    }
}

/* Style cho input số lượng */
.qty-input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.minus-btn,
.plus-btn {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style cho phần mã giảm giá */
.coupon-section {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.coupon-section input {
    flex: 1;
}

.apply-coupon {
    padding: 10px 20px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}














