/* --- AL-BARKAT PREMIUM GLOBAL DESIGN --- */

/* 1. Global Typography Modernization (Google Fonts: Montserrat & Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

body, p, span, li, a, input, button {
    font-family: 'Inter', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .product_title, .entry-title, .woocommerce-loop-product__title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    color: #0f172a !important; /* Deep Navy Blue */
    letter-spacing: -0.5px;
}

/* 2. Premium WooCommerce Buttons */
.woocommerce button.button, 
.woocommerce a.button, 
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
#abc-send-otp-btn, #abc-verify-otp-btn, .abc-flash-btn {
    background-color: #10b981 !important; /* Vibrant Trust Green */
    color: #ffffff !important;
    border-radius: 8px !important; /* Modern rounded corners */
    border: none !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2), 0 2px 4px -1px rgba(16, 185, 129, 0.1) !important;
    transition: all 0.3s ease !important;
}

.woocommerce button.button:hover, 
.woocommerce a.button:hover, 
.woocommerce input.button:hover,
#abc-send-otp-btn:hover, #abc-verify-otp-btn:hover {
    background-color: #059669 !important; /* Darker green on hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3), 0 4px 6px -2px rgba(16, 185, 129, 0.1) !important;
    color: #ffffff !important;
}

/* Secondary/Alt Buttons (like Update Cart) */
.woocommerce-cart .actions .button {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    box-shadow: none !important;
}
.woocommerce-cart .actions .button:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

/* 3. Modern Sale Badges */
.woocommerce span.onsale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important; /* Vibrant Red Gradient */
    color: white !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important; /* Pill shape */
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3) !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

/* 4. Product Grid Hover Lift (Shop Page) */
.woocommerce ul.products li.product, .ct-product-card {
    transition: all 0.3s ease !important;
    border-radius: 12px !important;
    padding-bottom: 15px !important;
    background: #ffffff !important;
}
.woocommerce ul.products li.product:hover, .ct-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
}
.woocommerce ul.products li.product img {
    border-radius: 12px 12px 0 0 !important;
}

/* 5. Clean Checkout & Login Input Fields */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row select, 
.woocommerce form .form-row textarea {
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 12px 15px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    background-color: #f8fafc !important;
}
.woocommerce form .form-row input.input-text:focus, 
.woocommerce form .form-row select:focus, 
.woocommerce form .form-row textarea:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
    outline: none !important;
    background-color: #ffffff !important;
}

/* 6. Pricing Color */
.woocommerce div.product p.price, 
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
    color: #10b981 !important; /* Vibrant Green */
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
}
.woocommerce div.product p.price del, 
.woocommerce div.product span.price del {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    font-size: 0.8em !important;
}

/* 7. Notice & Free Shipping Bar Fixes */
/* Free Shipping Bars usually have dark colored backgrounds, so text must be white */
.ct-free-shipping-bar,
.ct-free-shipping-bar *,
.free-shipping-notice,
.free-shipping-notice *,
.wcfsp-progress-bar,
.wcfsp-progress-bar *,
.woo-free-shipping-bar,
.woo-free-shipping-bar *,
div[class*="free-shipping"],
div[class*="free-shipping"] span,
div[class*="free-shipping"] p,
div[class*="free-shipping"] strong,
div[class*="free-shipping"] b {
    color: #ffffff !important;
}

div[class*="free-shipping"] a,
.ct-free-shipping-bar a {
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
}
