/**
 * Daftardar Luxury Brand Identity - WooCommerce Global Styling
 * Unifies all WooCommerce templates, notices, forms, tables, buttons, and empty states.
 * Colors: Navy (#0c2340), Gold (#d4af37 / #b8941f), Cream (#faf7f0), Sand (#f1e9d2)
 * Typography: Cairo, sans-serif
 */

/* ==========================================================================
   1. Universal Font & Base Styles for WooCommerce
   ========================================================================== */
.woocommerce,
.woocommerce-page,
.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-account,
.woocommerce-order-received,
.wc-block-components-notice-banner,
.woocommerce-notices-wrapper {
    font-family: 'Cairo', sans-serif !important;
    color: #1e293b;
    direction: rtl;
    text-align: right;
}

.woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce h4,
.woocommerce-page h1, .woocommerce-page h2, .woocommerce-page h3, .woocommerce-page h4 {
    font-family: 'Cairo', sans-serif !important;
    color: #0c2340 !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   2. Daftardar Luxury Buttons (Replaces default blue / grey buttons)
   ========================================================================== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .cart .button,
.woocommerce .checkout-button,
.woocommerce .return-to-shop a.button {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    padding: 13px 30px !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%) !important;
    color: #0c2340 !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3) !important;
    text-shadow: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce .cart .button:hover,
.woocommerce .checkout-button:hover,
.woocommerce .return-to-shop a.button:hover {
    background: linear-gradient(135deg, #f3c94f 0%, #d4af37 100%) !important;
    color: #071727 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45) !important;
}

/* Secondary Button Variant (Navy) */
.woocommerce a.button.secondary,
.woocommerce button.button.secondary,
.woocommerce input.button.secondary {
    background: linear-gradient(135deg, #0c2340 0%, #1e3a5f 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(12, 35, 64, 0.25) !important;
}

.woocommerce a.button.secondary:hover,
.woocommerce button.button.secondary:hover,
.woocommerce input.button.secondary:hover {
    background: linear-gradient(135deg, #1e3a5f 0%, #0c2340 100%) !important;
    color: #d4af37 !important;
    box-shadow: 0 8px 24px rgba(12, 35, 64, 0.35) !important;
}

/* ==========================================================================
   3. Daftardar Luxury Empty Cart State (.dr-empty-cart-wrapper & defaults)
   ========================================================================== */
.dr-empty-cart-wrapper,
.woocommerce .cart-empty,
.woocommerce-page .cart-empty,
.wc-empty-cart-message {
    padding: 60px 20px 80px !important;
    margin: 30px auto 50px !important;
    max-width: 760px !important;
    text-align: center !important;
}

.dr-empty-cart-card {
    background: #ffffff;
    border: 1.5px solid #e8e0cc;
    border-radius: 20px;
    padding: 48px 36px 44px;
    box-shadow: 0 12px 36px rgba(12, 35, 64, 0.07);
    position: relative;
    overflow: hidden;
}

.dr-empty-cart-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d4af37, #0c2340, #d4af37);
}

.dr-empty-cart-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(12, 35, 64, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #0c2340;
    position: relative;
}

.dr-empty-cart-sparkle {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 1.3rem;
    animation: sparkleFloat 2.5s ease-in-out infinite;
}

@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.15); }
}

.dr-empty-cart-title,
.woocommerce .cart-empty {
    color: #0c2340 !important;
    font-size: 1.75rem !important;
    font-weight: 900 !important;
    margin-bottom: 14px !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
}

.dr-empty-cart-desc {
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.85;
    max-width: 580px;
    margin: 0 auto 32px;
}

.dr-empty-cart-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
}

.dr-btn {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    padding: 13px 28px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.28s ease !important;
}

.dr-btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%) !important;
    color: #0c2340 !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3) !important;
}

.dr-btn-gold:hover {
    background: linear-gradient(135deg, #f3c94f 0%, #d4af37 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45) !important;
}

.dr-btn-navy {
    background: linear-gradient(135deg, #0c2340 0%, #1e3a5f 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(12, 35, 64, 0.2) !important;
}

.dr-btn-navy:hover {
    background: linear-gradient(135deg, #1e3a5f 0%, #0c2340 100%) !important;
    color: #d4af37 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(12, 35, 64, 0.3) !important;
}

.dr-btn-outline {
    background: #ffffff !important;
    color: #0c2340 !important;
    border: 1.5px solid #d8cdb4 !important;
}

.dr-btn-outline:hover {
    border-color: #0c2340 !important;
    background: #faf7f0 !important;
    transform: translateY(-2px) !important;
}

.dr-empty-cart-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px dashed #e2d9c2;
}

.dr-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #475569;
}

.dr-badge-icon {
    font-size: 1.1rem;
}

/* Hide duplicate default notice when custom empty cart template is present */
.woocommerce-info.cart-empty,
.wc-empty-cart-message:not(.dr-empty-cart-desc) {
    display: none !important;
}

p.return-to-shop {
    display: none !important;
}

/* ==========================================================================
   4. Daftardar Luxury Alerts & Notices (.woocommerce-message / info / error)
   ========================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
    border-radius: 12px !important;
    padding: 16px 24px 16px 48px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 16px rgba(12, 35, 64, 0.05) !important;
    position: relative !important;
    font-family: 'Cairo', sans-serif !important;
}

/* Success Message (Emerald & Gold) */
.woocommerce-message {
    background: #f0fdf4 !important;
    color: #14532d !important;
    border: 1px solid #bbf7d0 !important;
    border-right: 5px solid #10b981 !important;
    border-top: none !important;
    border-left: none !important;
    border-bottom: none !important;
}

.woocommerce-message::before {
    color: #10b981 !important;
}

/* Info Message (Luxury Navy & Gold) */
.woocommerce-info {
    background: #faf7f0 !important;
    color: #0c2340 !important;
    border: 1px solid #e8e0cc !important;
    border-right: 5px solid #d4af37 !important;
    border-top: none !important;
    border-left: none !important;
    border-bottom: none !important;
}

.woocommerce-info::before {
    color: #d4af37 !important;
}

/* Error Message (Ruby Red) */
.woocommerce-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
    border-right: 5px solid #ef4444 !important;
    border-top: none !important;
    border-left: none !important;
    border-bottom: none !important;
    list-style: none !important;
}

.woocommerce-error::before {
    color: #ef4444 !important;
}

.woocommerce-error li {
    margin-bottom: 4px;
}

/* Button inside notice */
.woocommerce-message .button,
.woocommerce-info .button {
    float: left !important;
    margin: -4px 0 0 0 !important;
    padding: 8px 18px !important;
    font-size: 0.88rem !important;
    border-radius: 50px !important;
}

/* ==========================================================================
   5. Cart Page & Tables (.shop_table, .cart_totals)
   ========================================================================== */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
    background: #faf7f0;
    padding: 30px 0 60px;
}

.woocommerce table.shop_table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1.5px solid #e2d9c2 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(12, 35, 64, 0.04) !important;
    margin-bottom: 30px !important;
    width: 100% !important;
}

.woocommerce table.shop_table th {
    background: #0c2340 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.98rem !important;
    padding: 16px 20px !important;
    border: none !important;
    text-align: right !important;
}

.woocommerce table.shop_table td {
    padding: 18px 20px !important;
    border-top: 1px solid #f1e9d2 !important;
    color: #1e293b !important;
    font-size: 1rem !important;
    vertical-align: middle !important;
}

.woocommerce table.shop_table td.product-name a {
    color: #0c2340 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: #d4af37 !important;
}

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
    font-weight: 800 !important;
    color: #0c2340 !important;
}

/* Quantity inputs */
.woocommerce .quantity .qty {
    border: 1.5px solid #d8cdb4 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
    color: #0c2340 !important;
    background: #ffffff !important;
    width: 70px !important;
    text-align: center !important;
}

/* Coupon Box */
.woocommerce .coupon {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.woocommerce .coupon input.input-text {
    border: 1.5px solid #d8cdb4 !important;
    border-radius: 50px !important;
    padding: 11px 20px !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 0.95rem !important;
    width: 220px !important;
}

/* Cart Totals Box */
.woocommerce .cart-collaterals .cart_totals {
    background: #ffffff !important;
    border: 1.5px solid #e8e0cc !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 8px 24px rgba(12, 35, 64, 0.05) !important;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: #0c2340 !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #f1e9d2 !important;
    padding-bottom: 12px !important;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table {
    border: none !important;
    box-shadow: none !important;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table th {
    background: transparent !important;
    color: #475569 !important;
    font-weight: 700 !important;
    padding: 12px 0 !important;
    border-top: 1px solid #f1e9d2 !important;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table td {
    padding: 12px 0 !important;
    border-top: 1px solid #f1e9d2 !important;
    text-align: left !important;
}

.woocommerce .cart-collaterals .cart_totals .order-total th,
.woocommerce .cart-collaterals .cart_totals .order-total td {
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    color: #0c2340 !important;
    border-top: 2px solid #d4af37 !important;
    padding-top: 16px !important;
}

.woocommerce .cart-collaterals .cart_totals .checkout-button {
    width: 100% !important;
    margin-top: 15px !important;
    font-size: 1.15rem !important;
    padding: 16px 24px !important;
}

/* ==========================================================================
   6. Checkout Page (.woocommerce-checkout)
   ========================================================================== */
.woocommerce-checkout form.checkout {
    background: #ffffff;
    border: 1.5px solid #e8e0cc;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(12, 35, 64, 0.06);
    margin-top: 20px;
}

.woocommerce-checkout h3 {
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: #0c2340 !important;
    margin-bottom: 22px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.woocommerce-checkout .form-row {
    margin-bottom: 18px !important;
}

.woocommerce-checkout .form-row label {
    font-weight: 700 !important;
    color: #0c2340 !important;
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.woocommerce-checkout .form-row label .required {
    color: #ef4444 !important;
    text-decoration: none !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-account input.input-text {
    background: #ffffff !important;
    border: 1.5px solid #d8cdb4 !important;
    border-radius: 10px !important;
    padding: 13px 18px !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 1rem !important;
    color: #0c2340 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-account input.input-text:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3.5px rgba(212, 175, 55, 0.2) !important;
    outline: none !important;
    background: #fffdfa !important;
}

/* Order Review Container */
#order_review_heading {
    margin-top: 30px !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: #0c2340 !important;
}

#order_review {
    background: #faf7f0 !important;
    border: 1.5px solid #e2d9c2 !important;
    border-radius: 16px !important;
    padding: 24px !important;
}

#order_review table.shop_table {
    background: #ffffff !important;
    margin-bottom: 24px !important;
}

/* Payment Methods (#payment) */
#payment {
    background: #ffffff !important;
    border: 1.5px solid #e8e0cc !important;
    border-radius: 14px !important;
    padding: 20px !important;
}

#payment ul.payment_methods {
    border-bottom: 1px solid #f1e9d2 !important;
    padding-bottom: 16px !important;
    margin-bottom: 20px !important;
    list-style: none !important;
}

#payment ul.payment_methods li {
    padding: 12px 16px !important;
    background: #faf7f0 !important;
    border: 1px solid #e8e0cc !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
}

#payment ul.payment_methods li label {
    font-weight: 800 !important;
    color: #0c2340 !important;
    cursor: pointer !important;
}

#payment div.payment_box {
    background: #ffffff !important;
    border: 1px solid #d8cdb4 !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    color: #475569 !important;
    font-size: 0.94rem !important;
    line-height: 1.7 !important;
    margin-top: 10px !important;
}

#payment div.payment_box::before {
    display: none !important;
}

/* Place Order CTA Button */
#place_order {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%) !important;
    color: #0c2340 !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.2rem !important;
    border-radius: 50px !important;
    padding: 18px 40px !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important;
    width: 100% !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#place_order:hover {
    background: linear-gradient(135deg, #f3c94f 0%, #d4af37 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.55) !important;
}

/* ==========================================================================
   7. Order Received / Thank You & My Account
   ========================================================================== */
.woocommerce-order-received .woocommerce-thankyou-order-received {
    background: #f0fdf4 !important;
    border: 1.5px solid #86efac !important;
    border-radius: 16px !important;
    padding: 24px 30px !important;
    color: #14532d !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    text-align: center !important;
    margin-bottom: 30px !important;
}

ul.woocommerce-thankyou-order-details {
    background: #ffffff !important;
    border: 1.5px solid #e8e0cc !important;
    border-radius: 16px !important;
    padding: 24px !important;
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    justify-content: space-around !important;
    margin-bottom: 30px !important;
}

ul.woocommerce-thankyou-order-details li {
    font-size: 0.95rem !important;
    color: #64748b !important;
    border-left: 1px solid #f1e9d2 !important;
    padding-left: 20px !important;
}

ul.woocommerce-thankyou-order-details li strong {
    display: block !important;
    color: #0c2340 !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
/* ==========================================================================
   8. OTP Verification Box & Transfer Payment Styling
   ========================================================================== */
.dr-otp-checkout-container {
    background: #ffffff;
    border: 1.5px solid #d4af37;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0 30px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.12);
    position: relative;
    overflow: hidden;
}

.dr-otp-checkout-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c2340, #d4af37, #0c2340);
}

.dr-otp-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1e9d2;
}

.dr-otp-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1.5px solid #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dr-otp-title {
    color: #0c2340 !important;
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    margin: 0 0 4px !important;
}

.dr-otp-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.dr-otp-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.dr-otp-input {
    flex: 1;
    background: #ffffff !important;
    border: 2px solid #d8cdb4 !important;
    border-radius: 10px !important;
    padding: 13px 18px !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    font-family: monospace, 'Cairo', sans-serif !important;
    letter-spacing: 4px;
    text-align: center;
    color: #0c2340 !important;
}

.dr-otp-input:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25) !important;
    outline: none !important;
}

.dr-otp-resend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 8px;
}

.dr-otp-link-btn {
    background: none;
    border: none;
    color: #0c2340;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.dr-otp-notice {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    margin-top: 10px;
}

.dr-otp-notice.notice-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.dr-otp-notice.notice-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.dr-otp-success-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 16px 20px;
    color: #14532d;
}

.dr-otp-check-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #22c55e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    flex-shrink: 0;
}

.dr-otp-success-badge strong {
    font-size: 1.05rem;
    display: block;
    color: #14532d;
}

.dr-otp-success-badge p {
    font-size: 0.88rem;
    margin: 2px 0 0;
    color: #166534;
}

/* Vodafone Cash & InstaPay Transfer Box */
#payment .dr-transfer-payment-box,
.woocommerce-checkout .dr-transfer-payment-box,
.dr-transfer-payment-box {
    margin: 16px 0 20px !important;
}

#payment .dr-transfer-card,
.woocommerce-checkout .dr-transfer-card,
.dr-transfer-card {
    background: #ffffff !important;
    border: 1.5px solid #d4af37 !important;
    border-radius: 16px !important;
    padding: 22px !important;
    box-shadow: 0 6px 20px rgba(12, 35, 64, 0.08) !important;
    position: relative !important;
}

#payment .dr-transfer-brands-row,
.woocommerce-checkout .dr-transfer-brands-row,
.dr-transfer-brands-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}

#payment .dr-brand-pill,
.woocommerce-checkout .dr-brand-pill,
.dr-brand-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 7px 16px !important;
    border-radius: 50px !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    transition: all 0.25s ease !important;
}

#payment .dr-brand-vf,
.woocommerce-checkout .dr-brand-vf,
.dr-brand-vf {
    background: #fff1f2 !important;
    color: #9f1239 !important;
    border: 1.5px solid #fecdd3 !important;
}

#payment .dr-brand-insta,
.woocommerce-checkout .dr-brand-insta,
.dr-brand-insta {
    background: #faf5ff !important;
    color: #581c87 !important;
    border: 1.5px solid #e9d5ff !important;
}

.dr-brand-icon-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.dr-brand-name {
    font-family: 'Cairo', sans-serif !important;
    letter-spacing: 0.2px;
}

#payment .dr-transfer-instructions,
.woocommerce-checkout .dr-transfer-instructions,
.dr-transfer-instructions {
    color: #334155 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin-bottom: 14px !important;
    line-height: 1.7 !important;
}

#payment .dr-copy-number-box,
.woocommerce-checkout .dr-copy-number-box,
.dr-copy-number-box {
    background: linear-gradient(135deg, #0c2340 0%, #173254 100%) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 6px 18px rgba(12, 35, 64, 0.25) !important;
}

.dr-copy-text-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.dr-copy-label {
    color: #cbd5e1 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

.dr-copy-number {
    font-family: 'Cairo', monospace !important;
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    color: #d4af37 !important;
    letter-spacing: 2.5px !important;
    user-select: all !important;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3) !important;
}

#payment .dr-copy-btn,
#order_review .dr-copy-btn,
#payment #dr-btn-copy-num,
#order_review #dr-btn-copy-num,
button#dr-btn-copy-num,
.woocommerce-checkout .dr-copy-btn,
.dr-copy-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%) !important;
    background-color: #d4af37 !important;
    color: #0c2340 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 11px 24px !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 900 !important;
    font-size: 0.96rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-shadow: none !important;
    outline: none !important;
    line-height: 1 !important;
}

#payment #dr-btn-copy-num:hover,
#order_review #dr-btn-copy-num:hover,
button#dr-btn-copy-num:hover,
#payment .dr-copy-btn:hover,
.woocommerce-checkout .dr-copy-btn:hover,
.dr-copy-btn:hover {
    background: linear-gradient(135deg, #f3c94f 0%, #d4af37 100%) !important;
    background-color: #f3c94f !important;
    color: #071727 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.6) !important;
}

#payment #dr-btn-copy-num.copied,
#order_review #dr-btn-copy-num.copied,
button#dr-btn-copy-num.copied,
#payment .dr-copy-btn.copied,
.woocommerce-checkout .dr-copy-btn.copied,
.dr-copy-btn.copied {
    background: #10b981 !important;
    background-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

/* Hide default duplicate payment method selection list */
#payment ul.payment_methods,
#payment ul.wc_payment_methods,
#payment .wc_payment_methods,
#payment div.payment_box,
.woocommerce-checkout #payment ul.wc_payment_methods,
.woocommerce-checkout #payment ul.payment_methods,
ul.wc_payment_methods.payment_methods.methods,
.wc_payment_methods,
.wc_payment_method,
.payment_methods,
.payment_box {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Receipt Upload Box */
.dr-receipt-upload-section {
    padding-top: 14px;
    border-top: 1px dashed #e2d9c2;
}

.dr-receipt-label {
    font-weight: 800 !important;
    color: #0c2340 !important;
    font-size: 1rem !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.dr-receipt-desc {
    color: #64748b;
    font-size: 0.88rem;
    margin: 0 0 12px;
}

.dr-file-input-wrapper {
    position: relative;
    overflow: hidden;
}

.dr-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.dr-file-custom-ui {
    border: 2px dashed #d8cdb4;
    border-radius: 12px;
    background: #faf7f0;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.dr-file-custom-ui:hover,
.dr-file-custom-ui.file-selected {
    border-color: #d4af37;
    background: #fffdf8;
}

.dr-file-icon {
    font-size: 1.8rem;
}

.dr-file-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0c2340;
}

/* Privacy policy text arabic override */
.woocommerce-privacy-policy-text {
    font-size: 0.88rem !important;
    color: #64748b !important;
    line-height: 1.7 !important;
    margin: 16px 0 !important;
    padding: 12px 16px;
    background: #faf7f0;
    border-radius: 10px;
    border-right: 3px solid #d4af37;
}

.woocommerce-privacy-policy-text a {
    color: #0c2340 !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   9. Mobile Responsiveness & Touch Optimization for WooCommerce
   ========================================================================== */
@media (max-width: 768px) {
    /* Padding adjustments for mobile screens */
    .woocommerce-checkout form.checkout,
    .woocommerce-cart .cart-collaterals .cart_totals,
    .dr-empty-cart-card,
    .woocommerce-account .woocommerce-MyAccount-content,
    .woocommerce-account form.login,
    .woocommerce-account form.register {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }

    /* Checkout headings & layout */
    .woocommerce-checkout form.checkout {
        margin-top: 10px !important;
    }

    #order_review {
        padding: 16px 14px !important;
    }

    /* Stack tables horizontally scrollable or card-style */
    .woocommerce table.shop_table_responsive tr,
    .woocommerce-page table.shop_table_responsive tr {
        margin-bottom: 16px !important;
    }

    .woocommerce table.shop_table td,
    .woocommerce table.shop_table th {
        padding: 12px 10px !important;
        font-size: 0.92rem !important;
    }

    /* Coupons & Cart actions */
    .woocommerce .coupon {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    .woocommerce .coupon input.input-text {
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    .woocommerce .coupon .button {
        width: 100% !important;
    }

    /* Ensure comfortable tap target size for all inputs */
    .woocommerce input.input-text,
    .woocommerce select,
    .woocommerce textarea {
        font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    }

    /* Bottom padding to prevent floating bar from covering submit buttons */
    .woocommerce-cart,
    .woocommerce-checkout,
    .woocommerce-account,
    .woocommerce-shop {
        padding-bottom: 75px !important;
    }
}


