/* ============================================
   ثيم MANA LUXE - إصدار احترافي نهائي
   ============================================ */

/* 1. الخطوط الأساسية */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;600&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, .brand, .logo, .site-title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 2. الألوان الأساسية */
:root {
    --gold: #C9A96E;
    --gold-light: #E8D5A3;
    --black: #1A1A1A;
    --dark-gray: #2C2C2C;
    --light-bg: #F9F8F6;
}

body {
    background-color: var(--light-bg) !important;
    color: var(--black) !important;
}

/* 3. الهيدر (الشريط العلوي) */
header, .header, .navbar, .top-bar {
    background-color: var(--black) !important;
    border-bottom: 3px solid var(--gold) !important;
}

header a, .navbar a, .header a, .top-bar a {
    color: var(--gold) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

header a:hover, .navbar a:hover {
    color: #FFFFFF !important;
    text-decoration: none;
}

/* 4. أزرار الإضافة في قوائم المنتجات (صغيرة، شفافة، أسفل اليمين) */
.product-card, .product-item, .card {
    position: relative !important;
}

.product-card .add-to-cart,
.product-item .add-to-cart,
.product-card button,
.product-item button,
.card button {
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    padding: 5px 14px !important;
    font-size: 10px !important;
    min-height: auto !important;
    height: auto !important;
    line-height: 1.5 !important;
    background: rgba(26, 26, 26, 0.55) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #C9A96E !important;
    border: 1px solid rgba(201, 169, 110, 0.4) !important;
    border-radius: 30px !important;
    width: auto !important;
    display: inline-block !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    z-index: 10;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.product-card:hover .add-to-cart,
.product-item:hover .add-to-cart,
.product-card:hover button,
.product-item:hover button {
    background: rgba(201, 169, 110, 0.85) !important;
    color: #1A1A1A !important;
    border-color: #C9A96E !important;
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.4) !important;
    transform: scale(1.05);
}

/* 5. الأزرار في باقي الأماكن (صفحة المنتج، السلة) - طبيعية وكبيرة */
.product-details button,
.product-details .btn,
.single-product button,
.single-product .btn,
.cart-page button,
.cart button,
form[action*="add"] button,
form[action*="cart"] button {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    padding: 12px 30px !important;
    font-size: 14px !important;
    background: #C9A96E !important;
    color: #1A1A1A !important;
    border: 2px solid #C9A96E !important;
    border-radius: 30px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    display: inline-block !important;
    width: auto !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all 0.4s ease !important;
}

.product-details button:hover,
.single-product button:hover,
.cart-page button:hover {
    background: transparent !important;
    color: #C9A96E !important;
    border-color: #C9A96E !important;
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.4) !important;
    transform: scale(1.02);
}

/* 6. بطاقات المنتجات */
.product-card, .product-item, .card {
    background-color: #FFFFFF !important;
    border: 1px solid #E5E0D8 !important;
    border-radius: 16px !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.product-card:hover, .card:hover {
    border-color: var(--gold) !important;
    box-shadow: 0 15px 35px rgba(201, 169, 110, 0.15) !important;
    transform: translateY(-5px);
}

.product-title, .card-title, .product-name {
    font-family: 'Playfair Display', serif !important;
    color: var(--black) !important;
    font-weight: 700;
}

.product-price, .price, .card-price {
    color: var(--gold) !important;
    font-weight: 700;
    font-size: 1.3em !important;
}

.old-price, .compare-price {
    color: #999 !important;
    text-decoration: line-through;
    font-size: 0.9em;
    margin-right: 8px;
}

/* 7. الفوتر (أسفل الصفحة) */
footer, .footer {
    background-color: var(--black) !important;
    color: var(--gold-light) !important;
    border-top: 3px solid var(--gold) !important;
    padding: 30px 0 !important;
}

footer a, .footer a {
    color: var(--gold) !important;
}

/* 8. مربع البحث */
input[type="search"], input[type="text"] {
    border: 2px solid #DDD !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    background-color: white !important;
    transition: 0.3s;
}

input[type="search"]:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2) !important;
    outline: none;
}

/* 9. شارة التخفيضات */
.badge, .sale-badge, .onsale {
    background-color: var(--gold) !important;
    color: var(--black) !important;
    font-weight: bold !important;
    border-radius: 50px !important;
    padding: 5px 15px !important;
}