
/* Diamond Theme - Custom CSS */
/* ========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&family=Tajawal:wght@400;500;700&display=swap');

/* Variables */
:root {
    --diamond-purple: #8460ad;
    --diamond-pink: #d94fa3;
    --diamond-purple-dark: #6b4d8a;
    --diamond-gradient: linear-gradient(135deg, #8460ad 0%, #d94fa3 100%);
}

/* Base Styles */
body {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

/* RTL Support */
html[dir="rtl"] body,
.o_rtl body {
    direction: rtl;
    text-align: right;
}

/* Primary Button Override */
.btn-primary {
    background: var(--diamond-gradient) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(132, 96, 173, 0.35) !important;
}

/* Header Styling */
header {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .navbar-brand img {
    max-height: 60px;
}

header .nav-link {
    font-weight: 500 !important;
    color: #212529 !important;
    position: relative;
}

header .nav-link:hover {
    color: var(--diamond-purple) !important;
}

header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--diamond-gradient);
    transition: width 0.3s ease;
}

header .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.s_cover, .s_banner {
    background: var(--diamond-gradient) !important;
    min-height: 500px;
}

.s_cover h1, .s_banner h1 {
    color: #fff !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
}

.s_cover p, .s_banner p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.2rem !important;
}

/* Product Cards */
.oe_product_cart {
    border-radius: 15px !important;
    overflow: hidden;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.oe_product_cart:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.oe_product_cart .oe_product_image {
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.oe_product_cart .oe_product_image img {
    transition: transform 0.3s ease;
}

.oe_product_cart:hover .oe_product_image img {
    transform: scale(1.05);
}

.oe_product_cart .product_price {
    color: var(--diamond-purple) !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

/* Category Cards */
.o_wsale_products_categories a {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.o_wsale_products_categories a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 1;
}

.o_wsale_products_categories a span {
    position: relative;
    z-index: 2;
    color: #fff !important;
    font-weight: 600;
}

/* Section Headers */
.s_title h2, section h2 {
    font-weight: 700 !important;
    color: #212529;
    position: relative;
    display: inline-block;
}

.s_title h2::after, section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--diamond-gradient);
    border-radius: 3px;
}

/* Features Boxes */
.s_features .row > div {
    text-align: center;
    padding: 30px;
}

.s_features .fa, .s_features .oi {
    font-size: 3rem !important;
    color: var(--diamond-purple) !important;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #212529 !important;
    color: #fff;
}

footer h5 {
    color: #fff !important;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--diamond-gradient);
}

footer a {
    color: #adb5bd !important;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fff !important;
    padding-right: 5px;
}

/* Cart & Checkout */
.oe_cart {
    border-radius: 15px;
    overflow: hidden;
}

.oe_cart .btn-primary {
    width: 100%;
}

/* Forms */
.form-control:focus {
    border-color: var(--diamond-purple) !important;
    box-shadow: 0 0 0 3px rgba(132, 96, 173, 0.1) !important;
}

/* Badges */
.badge {
    border-radius: 50px !important;
    padding: 5px 12px !important;
}

.badge-primary, .bg-primary {
    background: var(--diamond-gradient) !important;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* B2B - Minimum Order Notice */
.min-order-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

/* Quantity Pricing Table */
.quantity-pricing {
    background: rgba(132, 96, 173, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
}

.quantity-pricing table {
    width: 100%;
    font-size: 0.9rem;
}

.quantity-pricing th {
    background: rgba(132, 96, 173, 0.1);
    padding: 8px;
    text-align: center;
}

.quantity-pricing td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* Stats Section */
.stats-section {
    background: var(--diamond-gradient);
    padding: 60px 0;
    color: #fff;
}

.stats-section .stat-number {
    font-size: 3rem;
    font-weight: 700;
}

.stats-section .stat-label {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .s_cover h1, .s_banner h1 {
        font-size: 2rem !important;
    }
    
    .btn-primary {
        padding: 10px 20px !important;
    }
}
