/*
Theme Name: DZ Shop Pro
Theme URI: https://dzshop.dz
Description: قالب متجر احترافي جزائري - موبايل-فيرست مع لوحة تحكم متكاملة
Version: 5.1
Author: DZ Dev
License: GPL v2 or later
Text Domain: dz-shop-pro
*/

/* ═══════════════════════════════════════
   1. CSS VARIABLES — DZ Shop Pro v5.2
   ✅ ألوان متناسقة وعصرية
═══════════════════════════════════════ */
:root {
    /* ── الألوان الأساسية ── */
    --primary:        #7c3aed;
    --primary-dark:   #5b21b6;
    --primary-light:  rgba(124, 58, 237, 0.08);
    --primary-glow:   rgba(124, 58, 237, 0.25);
    --secondary:      #a78bfa;
    --secondary-dark: #7c3aed;

    /* ── خلفيات ── */
    --bg:         #f4f6fb;
    --surface:    #ffffff;
    --surface-2:  #fafbfe;
    --surface-3:  #f0f2f8;

    /* ── نصوص ── */
    --text:       #1a1f36;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    /* ── حدود وظلال ── */
    --border:     #e5e9f2;
    --border-2:   #d0d5e8;
    --shadow:     0 2px 16px rgba(0, 0, 0, 0.07);
    --shadow-md:  0 6px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg:  0 12px 40px rgba(0, 0, 0, 0.14);

    /* ── تخطيط ── */
    --radius:     14px;
    --radius-sm:  8px;
    --radius-lg:  20px;
    --radius-xl:  28px;

    /* ── خطوط ── */
    --font:       'Cairo', sans-serif;
    --font-size:  15px;

    /* ── هيدر وفوتر ── */
    --header-bg:  #ffffff;
    --footer-bg:  #111827;
    --footer-text:#ffffff;
}

/* ═══════════════════════════════════════
   2. RESET
═══════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box !important; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body {
    font-family: var(--font) !important;
    font-size:   var(--font-size) !important;
    color:       var(--text) !important;
    background:  var(--bg)  !important;
    direction:   rtl  !important;
    text-align:  right !important;
    line-height: 1.6 !important;
    overflow-x:  hidden;
}

img { max-width:100%; height:auto; display:block; }
a   { color:var(--primary); text-decoration:none; }
a:hover { text-decoration:underline; }
button, input, select, textarea { font-family:var(--font) !important; }

/* Kill WooCommerce layout */
.woocommerce-page #primary,
.woocommerce #primary,
#primary { width:100% !important; float:none !important; margin:0 !important; padding:0 !important; }
#secondary, .widget-area, .woocommerce-sidebar { display:none !important; }
.woocommerce div.product,
.woocommerce #content div.product { float:none !important; width:100% !important; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float:none !important; width:100% !important; }
.woocommerce-tabs, .wc-tabs-wrapper,
.woocommerce-Tabs-panel, ul.tabs.wc-tabs,
.panel.entry-content.wc-tab { display:none !important; }
.woocommerce form .form-row { padding:0 !important; margin:0 !important; float:none !important; width:100% !important; }
.woocommerce form .form-row label { display:none !important; }

/* ═══════════════════════════════════════
   3. LAYOUT
═══════════════════════════════════════ */
.dz-container { max-width:640px; margin:0 auto; padding:0; }
.dz-container--wide { max-width:1200px; margin:0 auto; padding:0 16px; }
#dz-page { padding-bottom:84px; }

/* ═══════════════════════════════════════
   4. HEADER
═══════════════════════════════════════ */
#dz-header {
    background:var(--header-bg) !important;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
    position:sticky; top:0; z-index:200;
}
.dz-header-inner { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; max-width:1200px; margin:0 auto; }
.dz-logo { display:flex; align-items:center; gap:10px; }
.dz-logo img { height:48px; width:auto; object-fit:contain; }
.dz-logo-text { font-size:20px; font-weight:900; color:var(--primary); line-height:1.2; }
.dz-logo-sub  { font-size:11px; color:var(--text-muted); }
.dz-header-phone a { display:flex; align-items:center; gap:6px; background:var(--primary); color:#fff; padding:8px 14px; border-radius:50px; font-weight:700; font-size:13px; white-space:nowrap; }
.dz-header-phone a svg { width:16px; height:16px; }
.dz-header-announce { background:var(--primary); color:#fff; text-align:center; font-size:13px; font-weight:700; padding:7px 16px; }

/* ═══════════════════════════════════════
   5. HERO
═══════════════════════════════════════ */
.dz-hero { background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%); color:#fff; text-align:center; padding:32px 20px; }
.dz-hero h1 { font-size:26px; font-weight:900; margin-bottom:8px; }
.dz-hero p  { font-size:14px; opacity:.9; }

/* ═══════════════════════════════════════
   6. SHOP GRID
═══════════════════════════════════════ */
.dz-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(155px,1fr)); gap:14px; padding:20px 16px; }
.dz-card { background:var(--surface); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--border); transition:transform .2s,box-shadow .2s; }
.dz-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.12); }
.dz-card__img { aspect-ratio:1; overflow:hidden; background:#f0f0f0; }
.dz-card__img img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.dz-card:hover .dz-card__img img { transform:scale(1.05); }
.dz-card__body { padding:10px; }
.dz-card__title { font-size:12px; font-weight:700; line-height:1.4; margin-bottom:6px; color:var(--text); }
.dz-card__price { font-size:16px; font-weight:900; color:var(--primary); margin-bottom:8px; }
.dz-card__btn { display:block; width:100%; padding:8px; background:var(--primary); color:#fff; border:none; border-radius:8px; font-weight:700; font-size:12px; cursor:pointer; text-align:center; }

/* ═══════════════════════════════════════
   7. SINGLE PRODUCT
═══════════════════════════════════════ */
.dz-single { background:var(--surface) !important; overflow:hidden; }

/* Gallery */
.dz-single__gallery { background:#f0f0f0; }
.dz-gallery__main { width:100%; height:320px; display:flex; align-items:center; justify-content:center; background:#f0f0f0; overflow:hidden; }
.dz-gallery__main img { width:100%; height:100%; object-fit:cover; display:block !important; }
.dz-gallery__thumbs { display:flex; gap:8px; padding:10px 14px; overflow-x:auto; background:#fff; border-top:1px solid var(--border); }
.dz-thumb { width:60px; height:60px; object-fit:cover; border-radius:6px; border:2px solid transparent; cursor:pointer; flex-shrink:0; transition:border-color .2s; }
.dz-thumb.active { border-color:var(--primary); }

/* Product header */
.dz-single__header { padding:18px 16px 14px; border-bottom:2px dashed var(--border); }
.dz-single__title { font-size:20px !important; font-weight:900 !important; color:var(--text) !important; margin-bottom:10px !important; line-height:1.4 !important; }
.dz-single__prices { display:flex; align-items:baseline; gap:10px; margin-bottom:8px; flex-wrap:wrap; }
.dz-price-main { font-size:32px !important; font-weight:900 !important; color:var(--primary) !important; line-height:1 !important; }
.dz-price-main small { font-size:16px !important; }
.dz-price-strike { font-size:16px; color:#bbb; text-decoration:line-through; }
.dz-single__short-desc { font-size:14px; color:var(--text-muted); line-height:1.7; }
.dz-single__badge { display:inline-block; background:var(--secondary); color:#fff; padding:3px 10px; border-radius:50px; font-size:12px; font-weight:700; margin-bottom:8px; }

/* ═══════════════════════════════════════
   8. ORDER FORM
═══════════════════════════════════════ */
.dz-form { padding:18px 16px 20px; background:#fff; }
.dz-form__title { text-align:center; font-size:15px; font-weight:700; color:var(--text); margin-bottom:14px; padding:10px; background:#f9f9ff; border-radius:8px; border:1px dashed #c5c9ff; }
.dz-field--full { margin-bottom:9px; }

/* dz-input */
.dz-input,
.dz-input[type="text"],
.dz-input[type="tel"],
.dz-input[type="email"],
.dz-input[type="number"],
.dz-input select,
select.dz-input {
    display:     block        !important;
    width:       100%         !important;
    padding:     13px 14px   !important;
    margin:      0            !important;
    border:      1.5px solid #d0d5e8 !important;
    border-radius: 10px      !important;
    font-family: var(--font)  !important;
    font-size:   14px         !important;
    line-height: 1.5          !important;
    text-align:  right        !important;
    outline:     none         !important;
    background:  #ffffff      !important;
    color:       var(--text)  !important;
    appearance:  none         !important;
    -webkit-appearance: none  !important;
    box-shadow:  none         !important;
    transition:  border-color .2s, box-shadow .2s !important;
    height:      auto         !important;
    min-height:  0            !important;
    max-width:   100%         !important;
    box-sizing:  border-box   !important;
}
.dz-input:focus,
.dz-input[type="text"]:focus,
.dz-input[type="tel"]:focus,
select.dz-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(124,58,237,.1) !important;
    outline: none !important;
}
.dz-input::placeholder { color:#aaa !important; opacity:1 !important; }

/* Auto-save */
.dz-auto-save {
    display: none;
    font-size: 12px;
    color: #16a34a;
    margin-top: 5px;
    padding: 4px 8px;
    background: #f0fdf4;
    border-radius: 6px;
    font-weight: 600;
}
.dz-auto-save.show { display: block; }

/* ═══════════════════════════════════════
   9. DELIVERY SELECTION — خيار التوصيل
═══════════════════════════════════════ */
.dz-delivery-section {
    margin-bottom: 12px;
}
.dz-delivery-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dz-delivery-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.dz-delivery-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 14px 8px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
    font-family: var(--font) !important;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
.dz-delivery-card:hover {
    border-color: var(--primary);
    background: #fff8fb;
}
.dz-delivery-card.active {
    border-color: var(--primary);
    background: rgba(124,58,237,.06);
    box-shadow: 0 0 0 2px rgba(124,58,237,.15);
}
.dz-delivery-card.active::after {
    content: '✓';
    position: absolute;
    top: 5px;
    left: 7px;
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    background: var(--primary);
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 17px;
    text-align: center;
}
.dz-delivery-card__icon { font-size: 28px; line-height: 1; }
.dz-delivery-card__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.dz-delivery-card.active .dz-delivery-card__name { color: var(--primary); }
.dz-delivery-card__price {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 50px;
    white-space: nowrap;
}
.dz-delivery-card.active .dz-delivery-card__price {
    background: rgba(124,58,237,.1);
    color: var(--primary);
}

/* ═══════════════════════════════════════
   10. OFFERS
═══════════════════════════════════════ */
.dz-offer-wrap { border:1.5px solid var(--border); border-radius:10px; overflow:hidden; margin-bottom:12px; }
.dz-offer-single { padding:13px 16px; font-size:14px; font-weight:600; color:var(--text); background:#fff; }
.dz-offers-section { background:#fafafa; }
.dz-offers-header { display:flex; justify-content:space-between; align-items:center; padding:8px 14px; border-bottom:1px solid var(--border); }
.dz-offers-label { font-size:13px; font-weight:700; color:var(--text-muted); }
.dz-offers-clear { font-size:12px; color:#888; background:none; border:none; cursor:pointer; font-family:var(--font); padding:4px 8px; }
.dz-offers-clear:hover { color:var(--primary); }
.dz-offers-list { padding:8px; display:flex; flex-direction:column; gap:6px; }
.dz-offer-item { padding:11px 14px; border:1.5px solid var(--border); border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; background:#fff; transition:all .18s; display:flex; justify-content:space-between; align-items:center; }
.dz-offer-item:hover  { border-color:var(--primary); background:#fff8fb; }
.dz-offer-item.active { border-color:var(--primary); background:rgba(124,58,237,.05); color:var(--primary); }
.dz-offer-badge { background:#22c55e; color:#fff; font-size:11px; font-weight:800; padding:2px 7px; border-radius:50px; }

/* ═══════════════════════════════════════
   11. PRICE ROW
═══════════════════════════════════════ */
.dz-price-row { text-align:center; margin:10px 0 8px; display:flex; align-items:center; justify-content:center; gap:10px; }
.dz-price-old { font-size:18px; color:#bbb; text-decoration:line-through; }
.dz-price-current { font-size:26px; font-weight:900; color:var(--primary); }

/* ═══════════════════════════════════════
   12. SUBMIT ROW
═══════════════════════════════════════ */
.dz-submit-row { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.submit-btn {
    flex:1; padding:15px 10px !important;
    background:var(--primary) !important; color:#fff !important;
    border:none !important; border-radius:10px !important;
    font-family:var(--font) !important; font-size:16px !important; font-weight:900 !important;
    cursor:pointer !important; transition:all .2s !important;
    box-shadow:0 4px 14px rgba(124,58,237,.3) !important;
    line-height:1.3 !important; text-align:center !important;
}
.submit-btn:hover  { background:var(--primary-dark) !important; transform:translateY(-1px) !important; }
.submit-btn:disabled { opacity:.65 !important; cursor:not-allowed !important; transform:none !important; }

/* Qty */
.dz-qty-inline { display:flex; align-items:center; border:1.5px solid var(--border); border-radius:10px; overflow:hidden; background:#fff; flex-shrink:0; }
.qty-btn { width:40px; height:48px; border:none !important; background:transparent !important; font-size:20px !important; font-weight:700 !important; cursor:pointer; color:var(--primary) !important; transition:background .15s; display:flex; align-items:center; justify-content:center; }
.qty-btn:hover { background:var(--primary) !important; color:#fff !important; }
.qty-num { min-width:30px; text-align:center; font-size:17px; font-weight:900; padding:0 6px; }

/* COD Badge */
.cod-badge { text-align:center; font-size:13px; font-weight:700; color:#16a34a; background:#f0fdf4; border:1px solid #bbf7d0; border-radius:8px; padding:8px 12px; margin:8px 0; }

/* ═══════════════════════════════════════
   13. ERRORS & MESSAGES
═══════════════════════════════════════ */
.dz-msg { border-radius:8px; padding:11px 14px; margin-top:10px; font-size:14px; font-weight:700; display:none; }
.dz-msg--error   { background:#fef2f2; color:#dc2626; border:1px solid #fecaca; }
.dz-msg--success { background:#f0fdf4; color:#16a34a; border:1px solid #bbf7d0; }

/* ═══════════════════════════════════════
   14. SUMMARY ACCORDION
═══════════════════════════════════════ */
.dz-summary-accordion { border:1.5px solid var(--border); border-radius:10px; overflow:hidden; margin:10px 0; }
.dz-summary-toggle { width:100%; background:#f9f9ff; border:none !important; padding:13px 14px; display:flex; justify-content:space-between; align-items:center; font-family:var(--font) !important; font-size:14px; font-weight:700; cursor:pointer; color:var(--text); }
.dz-chevron { width:18px; height:18px; transition:transform .25s; color:var(--primary); flex-shrink:0; }
.dz-summary-body { background:#fff; padding:4px 0 6px; }
.dz-sum-row { display:flex; justify-content:space-between; align-items:center; padding:8px 14px; font-size:13px; }
.dz-sum-label { color:var(--text-muted); }
.dz-sum-val { display:flex; align-items:center; gap:6px; font-weight:700; }
.dz-sum-badge { background:var(--primary); color:#fff; font-size:11px; font-weight:800; padding:2px 7px; border-radius:50px; }
.dz-sum-divider { height:1px; background:var(--border); margin:2px 14px; }
.dz-sum-total { font-weight:800; }
.dz-total-val { font-size:18px; font-weight:900; color:var(--primary); }

/* Legacy delivery inside summary — hidden (moved outside) */
.dz-delivery-row { display:none !important; }

/* ═══════════════════════════════════════
   15. VARIATION CIRCLES
═══════════════════════════════════════ */
.variation-circles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}
.attribute-label {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-muted);
    min-width: 50px;
    margin-left: 4px;
}
.var-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    background: #f5f5f5;
    color: #333;
    position: relative;
    user-select: none;
    line-height: 1;
    background-size: cover;
    background-position: center;
}
.var-circle.color-swatch { color: transparent !important; text-indent: -9999px; border-color: #ccc; }
.var-circle.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.2); transform: scale(1.08); }
.var-circle.disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* ═══════════════════════════════════════
   16. PRODUCT DESCRIPTION
═══════════════════════════════════════ */
.dz-description {
    padding: 18px 16px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
    border-top: 2px dashed var(--border);
    background: #fff;
}
.dz-description h2, .dz-description h3 { font-size:16px; font-weight:800; margin-bottom:8px; }
.dz-description p { margin-bottom:10px; }
.dz-description ul, .dz-description ol { padding-right:18px; margin-bottom:10px; }
.dz-description li { margin-bottom:4px; }

/* ═══════════════════════════════════════
   17. STICKY CTA
═══════════════════════════════════════ */
.dz-sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 300;
    background: #fff;
    box-shadow: 0 -3px 16px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    transition: transform .3s ease;
}
.dz-sticky-cta.hide { transform: translateY(110%); }
.dz-sticky-cta__price { flex:1; font-size:13px; color:var(--text-muted); line-height:1.3; }
.dz-sticky-cta__price small { display:block; }
.dz-sticky-cta__price span, .dz-sticky-cta__price strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.dz-sticky-cta__btn {
    flex: 1;
    padding: 13px !important;
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: var(--font) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(124,58,237,.3) !important;
    transition: background .2s !important;
}
.dz-sticky-cta__btn:hover { background: var(--primary-dark) !important; }

/* ═══════════════════════════════════════
   18. WHATSAPP BUTTON
═══════════════════════════════════════ */
.dz-whatsapp-btn {
    position: fixed;
    bottom: 80px; left: 16px;
    z-index: 299;
    background: #25d366;
    color: #fff;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.dz-whatsapp-btn:hover { transform:scale(1.08); text-decoration:none; }
.dz-whatsapp-btn svg { width:28px; height:28px; }

/* ═══════════════════════════════════════
   19. FOOTER
═══════════════════════════════════════ */
#dz-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 30px 0 0;
}
.dz-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 20px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.dz-footer-brand h3 { font-size:16px; font-weight:900; color:#fff; margin-bottom:8px; }
.dz-footer-brand p  { font-size:13px; color:rgba(255,255,255,.65); line-height:1.7; }
.dz-footer-links h4 { font-size:14px; font-weight:800; color:#fff; margin-bottom:10px; }
.dz-footer-links ul { list-style:none; padding:0; margin:0; }
.dz-footer-links ul li { margin-bottom:7px; }
.dz-footer-links ul li a { font-size:13px; color:rgba(255,255,255,.65); transition:color .2s; }
.dz-footer-links ul li a:hover { color:#fff; text-decoration:none; }
.dz-footer-bottom {
    text-align:center; font-size:12px; color:rgba(255,255,255,.45);
    border-top:1px solid rgba(255,255,255,.1); padding:14px 20px;
}

/* ═══════════════════════════════════════
   20. RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 400px) {
    .dz-gallery__main { height: 260px; }
    .dz-single__title { font-size: 18px !important; }
    .dz-price-main { font-size: 26px !important; }
    .dz-delivery-card__icon { font-size: 22px; }
    .dz-footer-inner { grid-template-columns: 1fr; gap: 16px; }
}

@media (min-width: 641px) {
    .dz-gallery__main { height: 420px; }
}

/* ═══════════════════════════════════════
   21. CRITICAL OVERRIDES — إصلاحات إجبارية
═══════════════════════════════════════ */

/* إلغاء ألوان WooCommerce التي تتغلب (البنفسجي) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button,
.woocommerce-page .button,
.woocommerce .cart .button,
.woocommerce .cart input.button {
    background-color: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: var(--font) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: var(--primary-dark) !important;
    color: #fff !important;
}

/* إصلاح grid بطاقات التوصيل */
.dz-delivery-cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

/* إصلاح بطاقات التوصيل — عرض جانبي واضح */
.dz-delivery-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 14px 8px !important;
    border: 2px solid var(--border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: all .2s ease !important;
    min-height: 90px !important;
    -webkit-tap-highlight-color: transparent !important;
}
.dz-delivery-card.active {
    border-color: var(--primary) !important;
    background: rgba(124,58,237,.06) !important;
    box-shadow: 0 0 0 2px rgba(124,58,237,.15) !important;
}
.dz-delivery-card__icon {
    font-size: 26px !important;
    line-height: 1 !important;
}
.dz-delivery-card__name {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
}
.dz-delivery-card.active .dz-delivery-card__name {
    color: var(--primary) !important;
}
.dz-delivery-card__price {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: var(--text-muted) !important;
    background: #f3f4f6 !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
}
.dz-delivery-card.active .dz-delivery-card__price {
    background: rgba(124,58,237,.12) !important;
    color: var(--primary) !important;
}

/* دالة label الخاصة بالتوصيل */
.dz-delivery-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* sticky CTA — تأكيد العرض الصحيح */
.dz-sticky-cta {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #fff !important;
    box-shadow: 0 -3px 16px rgba(0,0,0,.15) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 16px env(safe-area-inset-bottom, 0) !important;
    transition: transform .3s ease !important;
}
.dz-sticky-cta.hide {
    transform: translateY(120%) !important;
}
.dz-sticky-cta__btn {
    flex: 1 !important;
    padding: 14px !important;
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: var(--font) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(124,58,237,.3) !important;
}

/* إصلاح السعر في الـ sticky */
.dz-sticky-cta__price {
    flex: 1 !important;
    line-height: 1.3 !important;
}
.dz-sticky-cta__price small {
    display: block !important;
    font-size: 11px !important;
    color: var(--text-muted) !important;
}
.dz-sticky-cta__price strong {
    display: block !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    color: var(--primary) !important;
}

/* زر الإرسال — منع بنفسجي WC */
#dz-submit,
button#dz-submit,
.submit-btn,
form#dzshop-order-form .submit-btn {
    background: var(--primary) !important;
    background-color: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
#dz-submit:hover { background: var(--primary-dark) !important; }

/* ملخص الطلب — تنسيق نظيف */
.dz-summary-body {
    padding: 0 !important;
}
.dz-sum-row {
    padding: 10px 14px !important;
}
.dz-total-val {
    color: var(--primary) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

/* الصورة الرئيسية — تأكيد الحجم */
.dz-gallery__main {
    width: 100% !important;
    min-height: 280px !important;
    background: #f5f5f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}
.dz-gallery__main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* منع تداخل WooCommerce على الصور */
.woocommerce div.product div.images { display: block !important; float: none !important; width: 100% !important; }
.woocommerce-product-gallery { display: none !important; }
/* ═══════════════════════════════════════
/* Change background and text color of the main content area */
.woocommerce-order-received .woocommerce {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

/* Style the 'Thank You' success message */
.woocommerce-notice--success {
    color: #2e7d32;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
}

/* Add a border and spacing to the order details table */
.woocommerce-table--order-details {
    border: 1px solid #ddd;
    margin-top: 20px;
}

/* Make product short descriptions or notes block elements for spacing */
.lf-item-note { 
    display: block;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ccc;
}
/* ═══════════════════════════════════════
   22. HOMEPAGE V2 — MODERN REDESIGN
═══════════════════════════════════════ */

/* ── Announce Bar ── */
.dz-announce-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    background-size: 200% 100%;
    animation: dzShimmer 4s linear infinite;
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    letter-spacing: .4px;
}
@keyframes dzShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Hero V2 ── */
.dz-hero--v2 {
    background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 55%, #5e0831 100%) !important;
    padding: 44px 22px 52px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.dz-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.dz-hero__glow--1 {
    top: -70px; right: -50px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,.06);
}
.dz-hero__glow--2 {
    bottom: -80px; left: -50px;
    width: 280px; height: 280px;
    background: rgba(255,255,255,.04);
}
.dz-hero__inner { position: relative; z-index: 2; }

.dz-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 16px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.dz-hero__title {
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
}

.dz-hero__sub {
    font-size: 14px !important;
    opacity: .88;
    line-height: 1.7 !important;
    color: #fff !important;
    max-width: 320px;
    margin: 0 auto 24px !important;
}

.dz-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: var(--primary) !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    padding: 13px 28px;
    border-radius: 50px;
    box-shadow: 0 8px 26px rgba(0,0,0,.2);
    transition: transform .25s, box-shadow .25s;
    text-decoration: none !important;
}
.dz-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,.26);
    text-decoration: none !important;
}

/* ── Section Header ── */
.dz-section-header {
    text-align: center;
    padding: 28px 20px 12px;
}
.dz-section-header__title {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: var(--text) !important;
    margin-bottom: 4px !important;
}
.dz-section-header__sub {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}
.dz-section-header__line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 10px auto 0;
}

/* ── Grid V2 ── */
.dz-grid--v2 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    padding: 8px 14px 100px !important;
}

/* ── Card V2 ── */
.dz-card--v2 {
    border-radius: 18px !important;
    box-shadow: 0 2px 16px rgba(0,0,0,.07) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s !important;
}
.dz-card--v2:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 32px rgba(124,58,237,.16) !important;
}

/* Badge */
.dz-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    z-index: 3;
    letter-spacing: .5px;
}
.dz-card__badge--sale { background: var(--secondary); color: #fff; }
.dz-card__badge--new  { background: var(--primary);   color: #fff; }

/* Image V2 */
.dz-card__img--v2 {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5 !important;
}
.dz-card__photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .4s ease !important;
    display: block !important;
}
.dz-card--v2:hover .dz-card__photo { transform: scale(1.06) !important; }

.dz-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(124,58,237,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.dz-card--v2:hover .dz-card__overlay { opacity: 1; }
.dz-card__overlay span {
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    padding: 7px 16px;
    border-radius: 50px;
}

/* Body V2 */
.dz-card__body--v2 { padding: 12px 13px 14px !important; }

.dz-card__brand {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: var(--text-muted) !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
}

.dz-card--v2 .dz-card__title {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
}
.dz-card--v2 .dz-card__title a { color: var(--text) !important; text-decoration: none !important; }
.dz-card--v2 .dz-card__title a:hover { color: var(--primary) !important; }

/* Stars */
.dz-card__stars { display: flex; align-items: center; gap: 1px; margin-bottom: 6px; }
.dz-star { color: #ddd; font-size: 13px; line-height: 1; }
.dz-star--on { color: var(--primary); }
.dz-card__rcount { font-size: 10px; color: var(--text-muted); margin-right: 4px; }

/* Prices */
.dz-card__prices { display: flex; align-items: baseline; gap: 7px; margin-bottom: 10px; }
.dz-card__price {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: var(--primary) !important;
}
.dz-card__price small { font-size: 10px !important; font-weight: 600 !important; color: var(--text-muted) !important; }
.dz-card__old {
    font-size: 11px !important;
    color: #bbb !important;
    text-decoration: line-through !important;
}

/* Button V2 */
.dz-card__btn--v2 {
    display: block !important;
    width: 100% !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 9px !important;
    font-family: var(--font) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: opacity .2s, transform .2s !important;
    text-decoration: none !important;
}
.dz-card__btn--v2:hover {
    opacity: .9 !important;
    transform: scale(1.02) !important;
    text-decoration: none !important;
}

/* ═══════════════════════════════════════════════════════
   DZ SHOP PRO — NAPOLEON-STYLE REDESIGN
   تصميم عصري مستوحى من napoleon.bitherhood.com
═══════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
#dz-page {
    background: #0d0d0d !important;
    min-height: 100vh;
    padding-bottom: 0 !important;
    direction: rtl;
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.dz-shop-hero {
    position: relative;
    overflow: hidden;
    background: #0d0d0d;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px 80px;
}

/* Animated orbs */
.dz-shop-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}
.dz-shop-hero__orb--a {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(124,58,237,.55) 0%, transparent 70%);
    top: -80px; right: -80px;
    animation-delay: 0s;
}
.dz-shop-hero__orb--b {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(124,58,237,.3) 0%, transparent 70%);
    bottom: -60px; left: -60px;
    animation-delay: 3s;
}
.dz-shop-hero__orb--c {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(245,158,11,.25) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation-delay: 5s;
}
@keyframes orbFloat {
    0%,100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-20px) scale(1.05); }
}
.dz-shop-hero__orb--c {
    animation: orbFloat 8s ease-in-out infinite;
}

.dz-shop-hero__inner {
    position: relative;
    z-index: 5;
    max-width: 560px;
    margin: 0 auto;
}

.dz-shop-hero__eyebrow {
    display: inline-block;
    color: var(--primary, #7c3aed);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 22px;
    opacity: .85;
    animation: fadeUp .7s .1s both;
}

.dz-shop-hero__title {
    font-size: clamp(32px, 7vw, 58px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    margin-bottom: 18px !important;
    letter-spacing: -1px;
    animation: fadeUp .7s .25s both;
}

.dz-shop-hero__sub {
    font-size: 16px !important;
    color: rgba(255,255,255,.55) !important;
    line-height: 1.8 !important;
    margin-bottom: 36px !important;
    animation: fadeUp .7s .4s both;
}

.dz-shop-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary, #7c3aed);
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    text-decoration: none !important;
    transition: background .25s, transform .25s, box-shadow .25s;
    box-shadow: 0 0 32px rgba(124,58,237,.45);
    animation: fadeUp .7s .55s both;
}
.dz-shop-hero__btn:hover {
    background: transparent !important;
    border-color: var(--primary, #7c3aed);
    color: var(--primary, #7c3aed) !important;
    transform: translateY(-3px);
    box-shadow: 0 0 48px rgba(124,58,237,.6);
    text-decoration: none !important;
}
.dz-shop-hero__btn svg { flex-shrink: 0; transition: transform .25s; }
.dz-shop-hero__btn:hover svg { transform: translateX(-4px); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════
   SHOP SECTION
══════════════════════════════════ */
.dz-shop-shop {
    background: #0d0d0d;
    padding: 60px 16px 80px;
}

/* Section heading */
.dz-shop-shop__head {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}
.dz-shop-shop__head-line {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,.6));
}
.dz-shop-shop__head-line:last-child {
    background: linear-gradient(90deg, rgba(124,58,237,.6), transparent);
}
.dz-shop-shop__head-title {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #fff !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ══════════════════════════════════
   PRODUCT GRID
══════════════════════════════════ */
.dz-shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .dz-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 900px) {
    .dz-shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
    .dz-shop-grid { grid-template-columns: repeat(4, 1fr); max-width: 1300px; }
}

/* ══════════════════════════════════
   PRODUCT CARD
══════════════════════════════════ */
.dz-shop-card {
    background: #161616;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    transition: transform .35s cubic-bezier(.25,.46,.45,.94),
                border-color .35s,
                box-shadow .35s;
    animation: cardAppear .6s both;
}
@keyframes cardAppear {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dz-shop-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124,58,237,.4);
    box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(124,58,237,.15);
}

/* Media */
.dz-shop-card__media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #1e1e1e;
    text-decoration: none !important;
}

.dz-shop-card__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94) !important;
}
.dz-shop-card:hover .dz-shop-card__img { transform: scale(1.08) !important; }

/* Hover overlay */
.dz-shop-card__hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.dz-shop-card:hover .dz-shop-card__hover { opacity: 1; }
.dz-shop-card__hover-text {
    background: rgba(255,255,255,.95);
    color: #0d0d0d;
    font-size: 12px;
    font-weight: 900;
    padding: 8px 20px;
    border-radius: 50px;
    letter-spacing: .5px;
}

/* Badges */
.dz-shop-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 4;
    letter-spacing: .5px;
}
.dz-shop-badge--sale {
    background: var(--primary, #7c3aed);
    color: #fff;
}
.dz-shop-badge--new {
    background: #a78bfa;
    color: #fff;
}

/* Body */
.dz-shop-card__body {
    padding: 16px 14px 18px;
}

.dz-shop-card__brand {
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    color: rgba(255,255,255,.3) !important;
    text-transform: uppercase;
    margin-bottom: 6px !important;
}

.dz-shop-card__name {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}
.dz-shop-card__name a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color .2s;
}
.dz-shop-card__name a:hover {
    color: var(--primary, #7c3aed) !important;
    text-decoration: none !important;
}

/* Stars */
.dz-shop-card__stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 10px;
}
.dz-shop-star { color: rgba(255,255,255,.2); font-size: 12px; line-height: 1; }
.dz-shop-star.on { color: #a78bfa; }
.dz-shop-card__rcount { font-size: 10px; color: rgba(255,255,255,.3); margin-right: 4px; }

/* Pricing */
.dz-shop-card__pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}
.dz-shop-card__price {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1 !important;
}
.dz-shop-card__price sub {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,.4) !important;
    vertical-align: baseline !important;
}
.dz-shop-card__old {
    font-size: 12px !important;
    color: rgba(255,255,255,.3) !important;
    text-decoration: line-through !important;
}

/* CTA Button */
.dz-shop-card__cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    background: var(--primary, #7c3aed) !important;
    color: #fff !important;
    border: 2px solid var(--primary, #7c3aed) !important;
    border-radius: 10px !important;
    padding: 11px 16px !important;
    font-family: var(--font, 'Cairo', sans-serif) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: background .25s, color .25s, transform .2s !important;
    box-shadow: 0 4px 20px rgba(124,58,237,.3) !important;
}
.dz-shop-card__cta:hover {
    background: transparent !important;
    color: var(--primary, #7c3aed) !important;
    transform: scale(1.03) !important;
    text-decoration: none !important;
}

/* ══════════════════════════════════
   DARK HEADER OVERRIDE
══════════════════════════════════ */
#dz-header {
    background: rgba(13,13,13,.92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    box-shadow: none !important;
}
.dz-logo-text { color: #fff !important; }
.dz-logo-sub  { color: rgba(255,255,255,.4) !important; }
.dz-header-announce {
    background: var(--primary, #7c3aed) !important;
    font-size: 12px !important;
    letter-spacing: .5px;
}

/* ══════════════════════════════════
   DARK FOOTER OVERRIDE
══════════════════════════════════ */
#dz-footer { background: #080808 !important; border-top: 1px solid rgba(255,255,255,.06); }
.dz-footer-bottom { border-top-color: rgba(255,255,255,.06) !important; }

/* ══════════════════════════════════
   WC PAGINATION — DARK
══════════════════════════════════ */
.woocommerce-pagination ul {
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
    list-style: none !important;
    padding: 30px 0 0 !important;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important; height: 40px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    background: #1e1e1e !important;
    color: rgba(255,255,255,.6) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    text-decoration: none !important;
    transition: all .2s !important;
}
.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li .current {
    background: var(--primary, #7c3aed) !important;
    color: #fff !important;
    border-color: var(--primary, #7c3aed) !important;
}

/* ══════════════════════════════════
   SCROLLBAR
══════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: var(--primary, #7c3aed); border-radius: 4px; }

/* ═══════════════════════════════════════════════════════════════

/* ═══════════════════════════════════════════════════════
   DZ SHOP PRO v6.2 — FULL THEME REDESIGN
   تصميم عصري شامل لكامل القالب
   ✦ فاخر · بنفسجي · متناسق
═══════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=DM+Sans:ital,wght@0,300;0,500;0,700;1,400&display=swap');

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg) !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: var(--font-size) !important;
    color: var(--text) !important;
    line-height: 1.7 !important;
    direction: rtl !important;
    -webkit-font-smoothing: antialiased !important;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.dz-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}

/* ══════════════════════════════════════════
   ANNOUNCE BAR
══════════════════════════════════════════ */
.dz-announce {
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: .3px;
}
.dz-announce__dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
#dz-header {
    background: var(--header-bg, #fff);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.05);
    transition: box-shadow .25s;
}
#dz-header.scrolled { box-shadow: 0 2px 32px rgba(0,0,0,.1); }

.dz-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.dz-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}
.dz-logo__img { height: 40px; width: auto; object-fit: contain; }
.dz-logo__mark {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(124,58,237,.3);
}
.dz-logo__name {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.2;
}
.dz-logo__sub {
    display: block;
    font-size: 11px;
    color: var(--text-muted, #6b7280);
    font-weight: 500;
}

/* Nav */
.dz-nav { flex: 1; display: flex; justify-content: center; }
.dz-nav__list { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.dz-nav__list li a {
    display: block;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted, #6b7280);
    border-radius: 8px;
    transition: color .18s, background .18s;
}
.dz-nav__list li a:hover,
.dz-nav__list li.current-menu-item a {
    color: var(--primary);
    background: rgba(124,58,237,.06);
}

/* Actions */
.dz-header-actions { display: flex; align-items: center; gap: 10px; }
.dz-phone-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    padding: 9px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(124,58,237,.28);
    transition: background .2s, transform .2s;
}
.dz-phone-btn:hover { background: var(--primary-dark, #5b21b6); transform: translateY(-1px); }

/* Mobile: hide nav */
@media (max-width: 768px) {
    .dz-nav { display: none; }
    .dz-phone-btn span { display: none; }
}

/* ══════════════════════════════════════════
   HERO — Shop
══════════════════════════════════════════ */
.gn-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #5b21b6) 100%);
    color: #fff;
    text-align: center;
    padding: 60px 22px;
    overflow: hidden;
}
.gn-hero--has-bg {
    background: var(--hero-bg) center/cover no-repeat;
}
.gn-hero--has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,.88) 0%, rgba(91,33,182,.92) 100%);
}
.gn-hero__orb {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
    pointer-events: none;
}
.gn-hero__orb-a { width: 380px; height: 380px; background: #fff; top: -120px; right: -80px; }
.gn-hero__orb-b { width: 280px; height: 280px; background: #fff; bottom: -100px; left: -60px; }
.gn-hero__inner { position: relative; max-width: 600px; margin: 0 auto; }
.gn-hero__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}
.gn-hero__h1 {
    font-size: clamp(26px, 5vw, 46px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.gn-hero__p {
    font-size: 16px;
    opacity: .88;
    margin-bottom: 28px;
    line-height: 1.7;
}
.gn-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: var(--primary);
    font-weight: 900;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(0,0,0,.15);
    transition: transform .2s, box-shadow .2s;
}
.gn-hero__cta:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }

/* ══════════════════════════════════════════
   SHOP GRID
══════════════════════════════════════════ */
.gn-section {
    padding: 36px 16px 48px;
    max-width: 1200px;
    margin: 0 auto;
}
.gn-section__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    justify-content: center;
}
.gn-section__title {
    font-size: 20px;
    font-weight: 900;
    color: var(--text);
    white-space: nowrap;
}
.gn-section__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* grid sizes */
.gn-grid { display: grid; gap: 14px; }
.gn-grid--2col { grid-template-columns: repeat(2, 1fr); }
.gn-grid--3col { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 640px) {
    .gn-grid--2col { grid-template-columns: repeat(3, 1fr); }
    .gn-grid--3col { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .gn-grid--2col { grid-template-columns: repeat(4, 1fr); }
    .gn-grid--3col { grid-template-columns: repeat(3, 1fr); }
}

/* ── Product Card ── */
.gn-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border, #e5e9f2);
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s, border-color .28s;
    animation: fadeUp .5s ease both;
}
@keyframes fadeUp {
    from { opacity:0; transform:translateY(18px); }
    to   { opacity:1; transform:translateY(0); }
}
.gn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(124,58,237,.13);
    border-color: rgba(124,58,237,.2);
}

.gn-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f4f4f8;
}
.gn-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gn-card:hover .gn-card__img { transform: scale(1.07); }
.gn-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(124,58,237,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s;
    backdrop-filter: blur(2px);
}
.gn-card:hover .gn-card__overlay { opacity: 1; }
.gn-card__overlay span {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.35);
    padding: 8px 16px;
    border-radius: 50px;
}

.gn-badge {
    position: absolute;
    top: 10px; right: 10px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    z-index: 2;
}
.gn-badge--sale { background: #ef4444; color: #fff; }
.gn-badge--new  { background: var(--primary); color: #fff; }

.gn-card__body { padding: 13px 12px 14px; }
.gn-card__brand { font-size: 10px; font-weight: 700; color: var(--primary); letter-spacing: .5px; display: block; margin-bottom: 5px; }
.gn-card__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.gn-card__name a { color: inherit; }
.gn-card__name a:hover { color: var(--primary); }

.gn-stars { display: flex; gap: 2px; margin-bottom: 8px; }
.gn-star { color: #d1d5db; font-size: 12px; }
.gn-star--on { color: #f59e0b; }
.gn-stars__count { font-size: 10px; color: var(--text-muted, #6b7280); margin-right: 3px; }

.gn-card__pricing { display: flex; align-items: baseline; gap: 7px; margin-bottom: 11px; }
.gn-card__price { font-size: 17px; font-weight: 900; color: var(--primary); line-height: 1; }
.gn-card__price sub { font-size: 11px; font-weight: 700; }
.gn-card__old { font-size: 12px; color: #9ca3af; text-decoration: line-through; }

.gn-card__cta {
    display: block;
    width: 100%;
    padding: 9px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    transition: background .18s;
}
.gn-card__cta:hover { background: var(--primary-dark, #5b21b6); }

/* Pagination */
.page-numbers { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.page-numbers li span,
.page-numbers li a {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    transition: all .18s;
}
.page-numbers li .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-numbers li a:hover { border-color: var(--primary); color: var(--primary); }
.dz-no-products, .dz-no-posts { text-align: center; padding: 48px 20px; color: var(--text-muted, #6b7280); grid-column: 1/-1; }

/* ══════════════════════════════════════════
   PAGE — صفحة ثابتة
══════════════════════════════════════════ */
.dz-page-wrap { min-height: 60vh; }

.dz-page-hero {
    position: relative;
    height: 340px;
    overflow: hidden;
}
.dz-page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.dz-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
    display: flex; align-items: flex-end;
    padding: 32px 24px;
}
.dz-page-hero__content {}
.dz-page-hero__title {
    font-size: clamp(22px,4vw,38px);
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.dz-page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #5b21b6) 100%);
    padding: 44px 24px;
    text-align: center;
}
.dz-page-banner__inner {}
.dz-page-banner__title {
    font-size: clamp(22px,4vw,34px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
}

.dz-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.7);
    margin-bottom: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.dz-breadcrumb a { color: rgba(255,255,255,.8); }
.dz-breadcrumb a:hover { color: #fff; }

.dz-page-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 22px 64px;
}
.dz-page-content {}

/* ══════════════════════════════════════════
   PROSE — محتوى المقالات/الصفحات
══════════════════════════════════════════ */
.dz-prose {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
}
.dz-prose h1,.dz-prose h2,.dz-prose h3,.dz-prose h4 {
    font-weight: 800;
    color: var(--text);
    line-height: 1.35;
    margin: 32px 0 14px;
}
.dz-prose h1 { font-size: 28px; }
.dz-prose h2 { font-size: 22px; border-right: 4px solid var(--primary); padding-right: 14px; }
.dz-prose h3 { font-size: 18px; }
.dz-prose h4 { font-size: 16px; }
.dz-prose p  { margin-bottom: 18px; }
.dz-prose ul, .dz-prose ol { padding-right: 22px; margin-bottom: 18px; }
.dz-prose ul { list-style: disc; }
.dz-prose ol { list-style: decimal; }
.dz-prose li { margin-bottom: 8px; }
.dz-prose blockquote {
    border-right: 4px solid var(--primary);
    padding: 14px 20px;
    background: rgba(124,58,237,.05);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-muted, #6b7280);
}
.dz-prose a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(124,58,237,.3); }
.dz-prose a:hover { text-decoration-color: var(--primary); }
.dz-prose img { border-radius: 12px; margin: 22px auto; box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.dz-prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.dz-prose th { background: var(--primary); color: #fff; padding: 11px 14px; text-align: right; font-weight: 700; }
.dz-prose td { padding: 10px 14px; border-bottom: 1px solid var(--border, #e5e9f2); }
.dz-prose tr:nth-child(even) td { background: rgba(124,58,237,.03); }
.dz-prose code {
    background: rgba(124,58,237,.07);
    color: var(--primary);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: .9em;
}
.dz-prose pre {
    background: #1e1b4b;
    color: #c4b5fd;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 22px 0;
}

/* ══════════════════════════════════════════
   BLOG — قائمة المقالات
══════════════════════════════════════════ */
.dz-blog-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #5b21b6) 100%);
    padding: 52px 24px;
    text-align: center;
}
.dz-blog-banner__tag {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.dz-blog-banner__title {
    font-size: clamp(24px,4vw,40px);
    font-weight: 900;
    color: #fff;
}

.dz-blog-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 44px 18px 64px;
}

.dz-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 640px) {
    .dz-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .dz-posts-grid { grid-template-columns: repeat(3, 1fr); }
    .dz-post-card--featured {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .dz-post-card--featured .dz-post-card__media { height: 100%; max-height: 380px; }
    .dz-post-card--featured .dz-post-card__title { font-size: 24px; }
}

.dz-post-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border, #e5e9f2);
    box-shadow: 0 2px 14px rgba(0,0,0,.05);
    transition: transform .28s, box-shadow .28s;
    animation: fadeUp .5s ease both;
}
.dz-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(124,58,237,.12);
}

.dz-post-card__media {
    display: block;
    overflow: hidden;
    height: 200px;
    position: relative;
}
.dz-post-card__img { width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.dz-post-card:hover .dz-post-card__img { transform: scale(1.05); }
.dz-post-card__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 60%);
}

.dz-post-card__body { padding: 20px 18px 22px; }
.dz-post-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
    flex-wrap: wrap;
}
.dz-post-card__cat a {
    background: rgba(124,58,237,.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: .3px;
}
.dz-post-card__date { font-size: 12px; color: var(--text-muted, #6b7280); }

.dz-post-card__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.45;
    margin-bottom: 10px;
}
.dz-post-card__title a { color: inherit; }
.dz-post-card__title a:hover { color: var(--primary); }

.dz-post-card__excerpt {
    font-size: 14px;
    color: var(--text-muted, #6b7280);
    line-height: 1.7;
    margin-bottom: 16px;
}

.dz-post-card__read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    transition: gap .18s;
}
.dz-post-card__read:hover { gap: 9px; }

/* ══════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════ */
.dz-post-hero {
    position: relative;
    height: min(50vw, 480px);
    overflow: hidden;
}
.dz-post-hero__img { width:100%; height:100%; object-fit:cover; }
.dz-post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,7,50,.85) 0%, rgba(17,7,50,.35) 55%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 36px 28px;
}
.dz-post-hero__meta-wrap { max-width: 800px; }
.dz-post-hero__cat {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: .4px;
}
.dz-post-hero__title {
    font-size: clamp(20px,3.5vw,36px);
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 14px;
    text-shadow: 0 2px 14px rgba(0,0,0,.2);
}
.dz-post-hero__info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    flex-wrap: wrap;
}
.dz-avatar { width:24px; height:24px; border-radius:50%; vertical-align:middle; }

.dz-post-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #5b21b6) 100%);
    padding: 48px 24px;
    text-align: center;
}
.dz-post-banner__title { font-size: clamp(20px,3.5vw,32px); font-weight: 900; color: #fff; margin-bottom: 10px; line-height: 1.35; }
.dz-post-banner__meta { font-size: 13px; color: rgba(255,255,255,.75); }

.dz-post-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 44px 18px 64px;
}
@media (min-width: 900px) {
    .dz-post-layout { grid-template-columns: 1fr 300px; }
}

.dz-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.dz-tag {
    background: rgba(124,58,237,.07);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

/* Sidebar */
.dz-post-sidebar { display: flex; flex-direction: column; gap: 20px; }
.dz-sidebar-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.dz-sidebar-card__head {
    background: rgba(124,58,237,.04);
    border-bottom: 1px solid var(--border);
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}
.dz-sidebar-author { padding: 18px 16px; text-align: center; }
.dz-sidebar-author__img { width:64px; height:64px; border-radius:50%; margin: 0 auto 10px; object-fit:cover; border:3px solid rgba(124,58,237,.15); }
.dz-sidebar-author__name { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.dz-sidebar-author__bio { font-size: 13px; color: var(--text-muted,#6b7280); line-height: 1.6; }

.dz-related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: background .18s;
}
.dz-related-item:last-child { border-bottom: none; }
.dz-related-item:hover { background: rgba(124,58,237,.04); }
.dz-related-item__img { width: 54px; height: 54px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.dz-related-item__info { flex: 1; min-width: 0; }
.dz-related-item__title { display: block; font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-related-item__date { font-size: 11px; color: var(--text-muted,#6b7280); }

/* Comments */
.dz-single-post .comments-area {
    max-width: 1100px; margin: 0 auto; padding: 0 18px 64px;
}
.dz-single-post .comments-title, .dz-single-post .comment-reply-title {
    font-size: 20px; font-weight: 800; margin-bottom: 24px; color: var(--text);
}
.dz-single-post .comment-list { list-style: none; }
.dz-single-post .comment { background: #fff; border-radius: 14px; border: 1px solid var(--border); padding: 18px; margin-bottom: 16px; }
.dz-single-post .comment-form input, .dz-single-post .comment-form textarea {
    font-family: 'Cairo',sans-serif; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 14px; width: 100%; margin-bottom: 12px;
}
.dz-single-post .comment-form input:focus, .dz-single-post .comment-form textarea:focus { border-color: var(--primary); outline: none; }
.dz-single-post .comment-form input[type=submit] {
    background: var(--primary); color: #fff; border: none; font-weight: 800; cursor: pointer; padding: 11px 26px; width: auto;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#dz-footer {
    background: var(--footer-bg, #111827);
    color: var(--footer-text, #fff);
}

.dz-footer-top { padding: 52px 24px 44px; }
.dz-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}
@media (max-width: 768px) { .dz-footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.dz-footer-brand {}
.dz-footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.dz-footer-logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}
.dz-footer-logo-mark {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    font-weight: 900;
}
.dz-footer-brand__desc {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 280px;
}
.dz-footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 50px;
    transition: background .18s;
}
.dz-footer-wa:hover { background: #1da851; }

.dz-footer-col {}
.dz-footer-col__title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.dz-footer-links { list-style: none; }
.dz-footer-links li { margin-bottom: 10px; }
.dz-footer-links li a {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    transition: color .18s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dz-footer-links li a::before {
    content: '›';
    color: var(--primary);
    font-size: 16px;
    font-weight: 900;
}
.dz-footer-links li a:hover { color: #fff; }

.dz-footer-contact li a::before { display: none; }

.dz-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 18px 24px;
    text-align: center;
}
.dz-footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.35);
    flex-wrap: wrap;
}
.dz-footer-bottom__sep { color: rgba(255,255,255,.18); }

/* WhatsApp Float */
.dz-whatsapp-btn {
    position: fixed;
    bottom: 80px; left: 16px;
    z-index: 299;
    width: 54px; height: 54px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: transform .2s;
    text-decoration: none;
}
.dz-whatsapp-btn:hover { transform: scale(1.1); }

/* ══════════════════════════════════════════
   WOOCOMMERCE OVERRIDES
══════════════════════════════════════════ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: 'Cairo',sans-serif !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { background-color: var(--primary-dark,#5b21b6) !important; color: #fff !important; }
.woocommerce #primary, .woocommerce-page #primary { width:100%!important; float:none!important; }
#secondary, .widget-area { display:none!important; }
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    border-top-color: var(--primary)!important;
    font-family: 'Cairo',sans-serif!important;
}

/* ══════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #f0f0f8; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ══════════════════════════════════════════
   HEADER SCROLL JS HOOK
══════════════════════════════════════════ */

/* ══════════════════════════════════════
   وحدة العملة — دج على اليسار
══════════════════════════════════════ */
.dz-cur,
.wc-currency,
.v6-currency {
    font-size: .7em;
    font-weight: 700;
    opacity: .72;
    margin-right: 4px;
    vertical-align: middle;
}
/* WooCommerce — إخفاء رمز $ الافتراضي */
.woocommerce .woocommerce-Price-currencySymbol { display: none !important; }

/* بدون فواصل آلاف في كل الأسعار */
.sc-card__price,
.gn-card__price,
.v6-price,
.v6-price-box__current,
.dz-total-val {
    font-variant-numeric: normal !important;
    letter-spacing: 0 !important;
}
