/* =================================================================== */
/* === DABILUX QUICK BUY - MAIN STYLESHEET (POPUP & BUTTON) === */
/* =================================================================== */

.dabilux-after-add-to-cart-wrapper { margin-top: 16px; }
.dabilux-quick-buy-button { width: 100%; background-color: #2563eb; color: white; font-weight: 600; padding: 12px 32px; border-radius: 8px; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); transition: background-color 0.3s; border: none; cursor: pointer; font-size: 16px; line-height: 2; text-align: center; }
.dabilux-quick-buy-button:hover { background-color: #1d4ed8; }
.dabilux-quick-buy-button:disabled { background-color: #9ca3af; cursor: not-allowed; }
#dabiluxPopupOverlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.6); transition: opacity 0.3s; z-index: 99998; opacity: 1; pointer-events: auto; }
#dabiluxPopupOverlay.dabilux-hidden { opacity: 0; pointer-events: none; }
#dabiluxQuickBuyPopup { position: fixed; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 16px; transition: opacity 0.3s, transform 0.3s; z-index: 99999; opacity: 1; transform: scale(1); pointer-events: auto; overflow-y: auto; }
#dabiluxQuickBuyPopup.dabilux-hidden { opacity: 0; transform: scale(0.95); pointer-events: none; }
#dabiluxQuickBuyPopup .dabilux-popup-content { background-color: white; width: 100%; max-width: 1000px !important; border-radius: 16px; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); display: flex; flex-direction: column; text-align: left; }
#dabiluxQuickBuyPopup .dabilux-popup-column { padding: 24px; }
#dabiluxQuickBuyPopup .dabilux-popup-column-left { width: 100%; background-color: #f9fafb; display: flex; flex-direction: column; border-radius: 16px; }
#dabiluxQuickBuyPopup .dabilux-popup-column-right { width: 100%; position: relative; }
#dabiluxQuickBuyPopup .dabilux-popup-title { font-size: 20px; font-weight: 700; color: #1f2937; margin-bottom: 24px; }
#dabiluxQuickBuyPopup .dabilux-popup-subtitle { font-size: 16px; font-weight: 600; color: #1f2937; margin-bottom: 12px; }
#dabiluxQuickBuyPopup .dabilux-divider { margin: 24px 0; border: 0; border-top: 1px solid #e5e7eb; }
#dabiluxQuickBuyPopup .dabilux-product-summary { display: flex; gap: 16px; }
#dabiluxQuickBuyPopup .dabilux-product-image { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); flex-shrink: 0; }
#dabiluxQuickBuyPopup .dabilux-product-details { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
#dabiluxQuickBuyPopup .dabilux-product-name { font-weight: 600; color: #1f2937; line-height: 1.25; font-size: 16px; }
#dabiluxQuickBuyPopup .dabilux-product-meta { display: flex; flex-wrap: wrap ; justify-content: space-between; align-items: flex-end; margin-top: 8px; }
#dabiluxQuickBuyPopup .dabilux-product-variation-name { font-size: 14px; color: #6b7280; margin: 0; }
#dabiluxQuickBuyPopup .dabilux-product-price { font-size: 18px; font-weight: 700; color: #2563eb; margin: 0; }
#dabiluxQuickBuyPopup .dabilux-quantity-selector { 
    display: flex; 
    align-items: center; 
    border: 1px solid #d1d5db; 
    border-radius: 4px; 
    background-color: white;
    width: 100px;
    height: 35px;
    box-sizing: border-box;
}

#dabiluxQuickBuyPopup .dabilux-quantity-btn { 
    padding: 4px 8px; 
    font-size: 16px; 
    color: #4b5563; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
}

#dabiluxQuickBuyPopup .dabilux-quantity-btn:hover { 
    background-color: #f3f4f6; 
}

#dabiluxQuickBuyPopup .dabilux-quantity-input { 
    width: 40px; 
    text-align: center; 
    border: none; 
    border-left: 1px solid #d1d5db; 
    border-right: 1px solid #d1d5db; 
    background-color: white; 
    padding: 4px; 
    font-size: 14px;
    outline: none;
}

#dabiluxQuickBuyPopup .dabilux-quantity-input:focus { 
    outline: none; 
    background-color: #f9fafb;
}
#dabiluxQuickBuyPopup .dabilux-voucher-container { margin-top: 24px; }





#dabiluxQuickBuyPopup .dabilux-progress-bar-fg.dabilux-progress-animated { 
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #7c3aed, #3b82f6); 
    background-size: 300% 100%; 
    animation: dabilux-progress-shine 3s ease-in-out infinite;
}

#dabiluxQuickBuyPopup .dabilux-progress-bar-fg.dabilux-progress-complete { 
    background: linear-gradient(90deg, #059669, #10b981, #34d399);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

#dabiluxQuickBuyPopup .dabilux-progress-percentage { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background: white; 
    padding: 2px 8px; 
    border-radius: 12px; 
    font-size: 11px; 
    font-weight: 700; 
    color: #1e293b; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 32px; 
    text-align: center;
}

/* Progress Remaining */
#dabiluxQuickBuyPopup .dabilux-progress-remaining { 
    text-align: center; 
    font-size: 14px; 
    color: #475569; 
    font-weight: 600; 
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Freeship Message */
#dabiluxQuickBuyPopup .dabilux-freeship-message { 
    text-align: center; 
    font-size: 15px; 
    font-weight: 600; 
    padding: 16px; 
    border-radius: 10px; 
    margin: 0;
}

#dabiluxQuickBuyPopup .dabilux-freeship-message.dabilux-freeship-success { 
    background: linear-gradient(135deg, #ecfdf5, #d1fae5); 
    color: #065f46; 
    border: 2px solid #10b981;
    font-weight: 700;
}

/* Free Shipping Option Highlight */
#dabiluxQuickBuyPopup .dabilux-option input[value*="free_shipping"] + .dabilux-option-label {
    
    border-color: #0ea5e9;
    color: #0c4a6e;
    font-weight: 600;
}

#dabiluxQuickBuyPopup .dabilux-option input[value*="free_shipping"]:checked + .dabilux-option-label {
    border-color: #10b981;
    color: #065f46;
    font-weight: 700;
}

/* Disabled Shipping Options */
#dabiluxQuickBuyPopup .dabilux-option.dabilux-disabled {
    opacity: 0.6;
    pointer-events: none;
}

#dabiluxQuickBuyPopup .dabilux-option.dabilux-disabled .dabilux-option-label {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

#dabiluxQuickBuyPopup .dabilux-option.dabilux-disabled input[type="radio"] {
    cursor: not-allowed;
}

/* Active Free Shipping State */
#dabiluxQuickBuyPopup .dabilux-option input[value*="free_shipping"]:checked + .dabilux-option-label {
    
    color: #065f46;
    font-weight: 700;
    
    position: relative;
}



#dabiluxQuickBuyPopup .dabilux-option input[value*="free_shipping"]:checked + .dabilux-option-label::before {
    content: '🎉';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 16px;
    animation: dabilux-bounce 1s ease-in-out infinite;
}

@keyframes dabilux-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(-2px); }
}

@keyframes dabilux-progress-shine {
    0% { background-position: 300% 0; }
    100% { background-position: -300% 0; }
}
#dabiluxQuickBuyPopup .dabilux-totals-summary { margin-top: auto; display: flex; flex-direction: column; gap: 12px; color: #374151; }
#dabiluxQuickBuyPopup .dabilux-totals-row { display: flex; justify-content: space-between; }
#dabiluxQuickBuyPopup .dabilux-totals-value { font-weight: 500; }
#dabiluxQuickBuyPopup .dabilux-totals-row-final { font-size: 18px; font-weight: 700; color: #111827; padding-top: 8px; border-top: 1px solid #e5e7eb; }
#dabiluxQuickBuyPopup .dabilux-totals-value-final { color: #2563eb; }
#dabiluxQuickBuyPopup .dabilux-text-green { color: #16a34a; }
#dabiluxQuickBuyPopup .dabilux-form-header { display: flex; justify-content: space-between; align-items: center; }
#dabiluxQuickBuyPopup .dabilux-close-button { color: #9ca3af; background: none; border: none; cursor: pointer; padding: 0; transition: color 0.3s; }
#dabiluxQuickBuyPopup .dabilux-close-button:hover { color: #4b5563; }
#dabiluxQuickBuyPopup .dabilux-close-button svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
#dabiluxQuickBuyPopup .dabilux-form-body { display: flex; flex-direction: column; gap: 16px; }
#dabiluxQuickBuyPopup .dabilux-form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.dabilux-floating-label-group { position: relative; }
.dabilux-floating-label {border-radius: 5px ; border: 1px solid #00000023 ; position: absolute; top: 50%; left: 13px; transform: translateY(-50%); color: #6b7280; font-size: 16px; pointer-events: none; transition: all 0.2s ease-in-out; background-color: #ffffff !important; padding: 0 4px; z-index: 2; }

/* Form inputs - Nền trắng từ đầu, override tất cả CSS khác */
#dabiluxQuickBuyPopup .dabilux-form-input,
#dabiluxQuickBuyPopup textarea.dabilux-form-input,
#dabiluxQuickBuyPopup select.dabilux-form-input,
#dabiluxQuickBuyPopup input[type="text"],
#dabiluxQuickBuyPopup input[type="email"],
#dabiluxQuickBuyPopup input[type="tel"],
#dabiluxQuickBuyPopup input[type="number"],
#dabiluxQuickBuyPopup input[type="password"],
#dabiluxQuickBuyPopup input[type="search"],
#dabiluxQuickBuyPopup input[type="url"] {
    width: 100% !important;
    padding: 14px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
    transition: border-color 0.2s !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    height: auto !important;
    min-height: unset !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #111827 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Textarea specific */
#dabiluxQuickBuyPopup textarea.dabilux-form-input { 
    min-height: 110px !important; 
    resize: vertical !important;
}

/* Select specific */
#dabiluxQuickBuyPopup select.dabilux-form-input { 
    padding-top: 20px !important; 
    padding-bottom: 8px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 8px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

/* Focus states - Vẫn giữ nền trắng */
.dabilux-form-input:focus ~ .dabilux-floating-label,
.dabilux-form-input:not(:placeholder-shown) ~ .dabilux-floating-label,
.dabilux-form-input:valid ~ .dabilux-floating-label {
    top: 0 !important;
    transform: translateY(-50%) !important;
    font-size: 12px !important;
    color: #4b5563 !important;
    background-color: #ffffff !important;
    padding: 0 4px !important;
}

#dabiluxQuickBuyPopup .dabilux-form-input:focus,
#dabiluxQuickBuyPopup input[type="text"]:focus,
#dabiluxQuickBuyPopup input[type="email"]:focus,
#dabiluxQuickBuyPopup input[type="tel"]:focus,
#dabiluxQuickBuyPopup input[type="number"]:focus,
#dabiluxQuickBuyPopup input[type="password"]:focus,
#dabiluxQuickBuyPopup input[type="search"]:focus,
#dabiluxQuickBuyPopup input[type="url"]:focus,
#dabiluxQuickBuyPopup select:focus,
#dabiluxQuickBuyPopup textarea:focus {
    outline: none !important;
    border-color: #2563eb !important;
    box-shadow: none !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

#dabiluxQuickBuyPopup .dabilux-form-input:focus ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="text"]:focus ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="email"]:focus ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="tel"]:focus ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="number"]:focus ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="password"]:focus ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="search"]:focus ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="url"]:focus ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup select:focus ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup textarea:focus ~ .dabilux-floating-label {
    color: #2563eb !important;
    background-color: #ffffff !important;
}

/* Error states - Vẫn giữ nền trắng */
#dabiluxQuickBuyPopup .dabilux-form-input.dabilux-input-error,
#dabiluxQuickBuyPopup input[type="text"].dabilux-input-error,
#dabiluxQuickBuyPopup input[type="email"].dabilux-input-error,
#dabiluxQuickBuyPopup input[type="tel"].dabilux-input-error,
#dabiluxQuickBuyPopup input[type="number"].dabilux-input-error,
#dabiluxQuickBuyPopup input[type="password"].dabilux-input-error,
#dabiluxQuickBuyPopup input[type="search"].dabilux-input-error,
#dabiluxQuickBuyPopup input[type="url"].dabilux-input-error,
#dabiluxQuickBuyPopup select.dabilux-input-error,
#dabiluxQuickBuyPopup textarea.dabilux-input-error {
    border-color: #ef4444 !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

#dabiluxQuickBuyPopup .dabilux-form-input.dabilux-input-error ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="text"].dabilux-input-error ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="email"].dabilux-input-error ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="tel"].dabilux-input-error ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="number"].dabilux-input-error ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="password"].dabilux-input-error ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="search"].dabilux-input-error ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup input[type="url"].dabilux-input-error ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup select.dabilux-input-error ~ .dabilux-floating-label,
#dabiluxQuickBuyPopup textarea.dabilux-input-error ~ .dabilux-floating-label {
    color: #ef4444 !important;
    background-color: #ffffff !important;
}

/* Hover states - Vẫn giữ nền trắng */
#dabiluxQuickBuyPopup .dabilux-form-input:hover,
#dabiluxQuickBuyPopup input[type="text"]:hover,
#dabiluxQuickBuyPopup input[type="email"]:hover,
#dabiluxQuickBuyPopup input[type="tel"]:hover,
#dabiluxQuickBuyPopup input[type="number"]:hover,
#dabiluxQuickBuyPopup input[type="password"]:hover,
#dabiluxQuickBuyPopup input[type="search"]:hover,
#dabiluxQuickBuyPopup input[type="url"]:hover,
#dabiluxQuickBuyPopup select:hover,
#dabiluxQuickBuyPopup textarea:hover {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-color: #9ca3af !important;
}

/* Disabled states - Vẫn giữ nền trắng */
#dabiluxQuickBuyPopup .dabilux-form-input:disabled,
#dabiluxQuickBuyPopup input[type="text"]:disabled,
#dabiluxQuickBuyPopup input[type="email"]:disabled,
#dabiluxQuickBuyPopup input[type="tel"]:disabled,
#dabiluxQuickBuyPopup input[type="number"]:disabled,
#dabiluxQuickBuyPopup input[type="password"]:disabled,
#dabiluxQuickBuyPopup input[type="search"]:disabled,
#dabiluxQuickBuyPopup input[type="url"]:disabled,
#dabiluxQuickBuyPopup select:disabled,
#dabiluxQuickBuyPopup textarea:disabled {
    background-color: #f9fafb !important;
    background: #f9fafb !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
}

#dabiluxQuickBuyPopup .dabilux-methods-grid { display: grid; grid-template-columns: 1fr; gap: 24px; width: 100%; }
#dabiluxQuickBuyPopup .dabilux-options-list { display: flex; flex-direction: column; gap: 8px; }
#dabiluxQuickBuyPopup .dabilux-option { display: flex; align-items: center; padding: 12px; border: 1px solid #d1d5db; border-radius: 8px; cursor: pointer; margin: 0; transition: border-color 0.2s, background-color 0.2s; }
#dabiluxQuickBuyPopup .dabilux-option.dabilux-selected { border-color: #3b82f6; background-color: #eff6ff; }
#dabiluxQuickBuyPopup .dabilux-option-label { margin-left: 12px; flex-grow: 1; color: #1f2937; }
#dabiluxQuickBuyPopup .dabilux-option-cost { margin-left: auto; padding-left: 16px; font-weight: 600; color: #1f2937; }
#dabiluxQuickBuyPopup .dabilux-form-radio { width: 16px; height: 16px; accent-color: #2563eb; flex-shrink: 0; }
#dabiluxQuickBuyPopup .dabilux-voucher-message { font-size: 14px; margin-bottom: 12px; min-height: 1.2em; }
#dabiluxQuickBuyPopup .dabilux-submit-button { width: 100%; margin-top: 32px; background-color: #2563eb; color: white; font-weight: 700; padding: 12px 24px; border-radius: 8px; border: none; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); cursor: pointer; transition: all 0.3s; font-size: 18px; text-align: center; line-height: 2;}
#dabiluxQuickBuyPopup .dabilux-submit-button:hover { background-color: #1d4ed8; }
#dabiluxQuickBuyPopup .dabilux-submit-button:disabled { background-color: #9ca3af; cursor: not-allowed; }
#dabiluxQuickBuyPopup .dabilux-form-input.dabilux-input-error { border-color: #ef4444; background-color: #ffffff !important; }
#dabiluxQuickBuyPopup .dabilux-form-input.dabilux-input-error ~ .dabilux-floating-label { color: #ef4444; background-color: #ffffff; }
#dabiluxQuickBuyPopup .dabilux-error-message { font-size: 13px; color: #ef4444; margin-top: 4px; display: none; }
.dabilux-hidden { display: none !important; }
.dabilux-processing-overlay { position: absolute; inset: 0; background-color: rgba(255, 255, 255, 0.8); z-index: 10; display: flex; align-items: center; justify-content: center; border-radius: 0 16px 16px 0; }
.dabilux-spinner { border: 4px solid #f3f3f3; border-top: 4px solid #3498db; border-radius: 50%; width: 40px; height: 40px; animation: dabilux-spin 1s linear infinite; }
@keyframes dabilux-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }



/* === CSS CHO VOUCHER (NHỎ GỌN, SCROLL, VÉ XỊN) === */
#dabiluxQuickBuyPopup .dabilux-voucher-container { margin-top: 24px; }
#dabiluxQuickBuyPopup .dabilux-voucher-list { 
    display: flex; 
    gap: 12px; 
    margin-top: 12px; 
    overflow-x: auto; 
    flex-wrap: nowrap; 
    padding-bottom: 16px; 
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f3f4f6;
}
#dabiluxQuickBuyPopup .dabilux-voucher-list::-webkit-scrollbar { 
    height: 6px;
}
#dabiluxQuickBuyPopup .dabilux-voucher-list::-webkit-scrollbar-track { 
    background: #f3f4f6; 
    border-radius: 3px;
}
#dabiluxQuickBuyPopup .dabilux-voucher-list::-webkit-scrollbar-thumb { 
    background: #d1d5db; 
    border-radius: 3px;
}
#dabiluxQuickBuyPopup .dabilux-voucher-list::-webkit-scrollbar-thumb:hover { 
    background: #9ca3af;
}
#dabiluxQuickBuyPopup .dabilux-no-vouchers { color: #6b7280; font-size: 14px; padding: 20px; text-align: center; border: 1px dashed #e5e7eb; border-radius: 8px; width: 100%; }
#dabiluxQuickBuyPopup .dabilux-voucher-ticket { display: flex; background-color: #fff; border-radius: 8px; border: 1.5px solid #e5e7eb; transition: all 0.2s ease-in-out; position: relative; cursor: pointer; flex-shrink: 0; width: 260px; min-height: 80px; }
/* === THAY ĐỔI: BỎ SHADOW KHI ACTIVE, CHỈ DÙNG VIỀN === */
#dabiluxQuickBuyPopup .dabilux-voucher-ticket.active {
    border-color: #ef4444;
    border-width: 1.5px;
    box-shadow: none; /* Bỏ shadow khi được chọn */
}
#dabiluxQuickBuyPopup .dabilux-voucher-ticket::before, #dabiluxQuickBuyPopup .dabilux-voucher-ticket::after { content: ''; position: absolute; width: 16px; height: 8px; background-color: #f9fafb; left: 70px; transform: translateX(-50%); }
#dabiluxQuickBuyPopup .dabilux-voucher-ticket::before {z-index: 9; top: -2px; border-radius: 0 0 8px 8px; border-bottom: 1px solid #e5e7eb; border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb; transition: border-color 0.2s; }
#dabiluxQuickBuyPopup .dabilux-voucher-ticket.active::before { border-color: #ef4444; }
#dabiluxQuickBuyPopup .dabilux-voucher-ticket::after { bottom: -1.5px; border-radius: 8px 8px 0 0; border-top: 1px solid #e5e7eb; border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb; transition: border-color 0.2s; }
#dabiluxQuickBuyPopup .dabilux-voucher-ticket.active::after { border-color: #ef4444; }
#dabiluxQuickBuyPopup .dabilux-voucher-brand { width: 70px; background-color: #ef4444; color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px; border-radius: 6px 0 0 6px; position: relative; text-align: center; flex-shrink: 0; }
#dabiluxQuickBuyPopup .dabilux-brand-icon svg,
#dabiluxQuickBuyPopup .dabilux-brand-icon img { 
    width: 28px; 
    height: 28px; 
    stroke: currentColor; 
    opacity: 0.8; 
}

#dabiluxQuickBuyPopup .dabilux-brand-icon img {
    object-fit: cover;
    border-radius: 4px;
    background: #fff;
    padding: 2px;
}
#dabiluxQuickBuyPopup .dabilux-brand-name { font-weight: 700; font-size: 14px; line-height: 1.2; margin-top: 4px; }
#dabiluxQuickBuyPopup .dabilux-brand-text { font-size: 10px; opacity: 0.8; }
#dabiluxQuickBuyPopup .dabilux-voucher-brand::after { content: ''; position: absolute; right: 0; top: 10px; bottom: 10px; border-left: 2px dashed rgba(255,255,255,0.4); }
#dabiluxQuickBuyPopup .dabilux-voucher-details {     flex-grow: 1;
        padding: 5px 10px;
        display: flex;
        flex-direction: column;
        justify-content: center; }
#dabiluxQuickBuyPopup .dabilux-voucher-main { display: flex; justify-content: space-between; align-items: flex-start; height: 100%; }
#dabiluxQuickBuyPopup .dabilux-voucher-info { display: flex; flex-direction: column; justify-content: center; height: 100%; gap: 2px; }
#dabiluxQuickBuyPopup .dabilux-voucher-code-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
#dabiluxQuickBuyPopup .dabilux-voucher-code-badge { background-color: #fee2e2; color: #b91c1c; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
#dabiluxQuickBuyPopup .dabilux-voucher-description { font-size: 18px; font-weight: 700; color: #1f2937; margin: 4px 0; line-height: 1.2 ; display: flex;}
#dabiluxQuickBuyPopup .dabilux-voucher-conditions { list-style: none; padding: 0; margin: 4px 0 0; color: #6b7280; font-size: 11px; line-height: 1.4; }
#dabiluxQuickBuyPopup .dabilux-voucher-conditions li { margin: 0; }
#dabiluxQuickBuyPopup input[type="radio"][name="dabiluxVoucherRadio"] { display: none; }
#dabiluxQuickBuyPopup .dabilux-radio-label { display: block; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d1d5db; cursor: pointer; position: relative; transition: all 0.2s; }
#dabiluxQuickBuyPopup .dabilux-voucher-ticket.active .dabilux-radio-label, #dabiluxQuickBuyPopup input[type="radio"][name="dabiluxVoucherRadio"]:checked + .dabilux-radio-label { border-color: #ef4444; }
#dabiluxQuickBuyPopup .dabilux-radio-label .dabilux-radio-button { position: relative; display: block; width: 100%; height: 100%; }
#dabiluxQuickBuyPopup .dabilux-radio-label .dabilux-radio-button::after { content: ''; display: block; width: 12px; height: 12px; background: #ef4444; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.5); opacity: 0; transition: all 0.2s; }
#dabiluxQuickBuyPopup .dabilux-voucher-ticket.active .dabilux-radio-label .dabilux-radio-button::after, #dabiluxQuickBuyPopup input[type="radio"][name="dabiluxVoucherRadio"]:checked + .dabilux-radio-label .dabilux-radio-button::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }





@media (min-width: 768px) {
    #dabiluxQuickBuyPopup { align-items: center; overflow-y: hidden; }
    #dabiluxQuickBuyPopup .dabilux-popup-content { flex-direction: row; }
    #dabiluxQuickBuyPopup .dabilux-popup-column-left { width: 41.666667%; border-radius: 16px 0 0 16px; }
    #dabiluxQuickBuyPopup .dabilux-popup-column-right { width: 58.333333%; overflow-y: auto; max-height: 90vh; }
    #dabiluxQuickBuyPopup .dabilux-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #dabiluxQuickBuyPopup .dabilux-form-group.dabilux-col-100 { grid-column: span 2 / span 2; }
    #dabiluxQuickBuyPopup .dabilux-form-group.dabilux-col-50 { grid-column: span 1 / span 1; }
    #dabiluxQuickBuyPopup .dabilux-methods-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px){
    #dabiluxQuickBuyPopup .dabilux-shipping-list { display: block; }
}

/* Mobile: Fix cứng nút X bên phải phía trên */
@media (max-width: 767px) {
    #dabiluxQuickBuyPopup .dabilux-close-button {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 50% !important;
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    #dabiluxQuickBuyPopup .dabilux-close-button svg {
        width: 20px !important;
        height: 20px !important;
    }
}