
    :root {
        --fcdz-secondary: #433d3d;
    }
    
    /* Safely inherit Cairo font for form inputs and specific text elements */
    .fcdz-form-box, .fcdz-form-box input, .fcdz-form-box button, .fcdz-form-box select, .fcdz-form-box textarea, .fcdz-form-box label,
    .fcdz-custom-dropdown, .fcdz-dropdown-header, .fcdz-options-list li,
    .fcdz-floating-cta, .woocommerce div.product .summary p.price, .fcdz-summary-title, .fcdz-item-name,
    .woocommerce ul.products li.product, .woocommerce ul.products li.product * {
        font-family: "Cairo", sans-serif !important;
    }
    
    .fcdz-form-box .dashicons, #fcdz-fast-form .dashicons, .dashicons { 
        font-family: dashicons !important; 
    }
    
    /* Astra Header Sync */
    .ast-builder-menu-1 .main-navigation .menu-item.current-menu-item > a,
    .ast-builder-menu-1 .main-navigation .menu-item:hover > a,
    .main-header-menu .current-menu-item > a,
    .main-header-menu .current-menu-ancestor > a,
    .main-header-menu a:hover,
    .ast-site-header-cart .ast-addon-cart-wrap .ast-icon svg,
    .ast-site-header-cart .ast-addon-cart-wrap i.astra-icon {
        color: #0066ff !important;
        fill: #0066ff !important;
    }
    
    .ast-site-header-cart .ast-cart-menu-wrap .count,
    .ast-site-header-cart .ast-addon-cart-wrap .count {
        background-color: #0066ff !important;
        color: #ffffff !important;
        border-color: #ffffff !important;
    }
    .ast-site-header-cart, .site-header-cart, .wc-menu-item, a.cart-contents, .elementor-widget-woocommerce-menu-cart, .hfe-cart-menu-item, .ast-header-woo-cart, .header-cart, .menu-item-cart, .shopping-cart, .cart-wrap, .cart-icon, .elementor-menu-cart__toggle, .ast-addon-cart-wrap, .ast-icon.icon-cart { display: none !important; }
    /* Scroll to Top Button Color Sync */
    #ast-scroll-top, .ast-scroll-top {
        background-color: #0066ff !important;
    }

    /* Hide Cart Page link on desktop always */
    @media (min-width: 922px) {
        .menu-item a[href*="checkout"], 
        .menu-item a[href*="cart"],
        .menu-item a[title*="سلة"],
        .menu-item a[title*="السلة"] { 
            display: none !important; 
        }
    }
    
    /* Mobile Menu Improvements */
    @media (max-width: 921px) {
        .ast-mobile-header-wrap .ast-builder-menu-1,
        .main-header-menu {
            border-top: 3px solid #0066ff !important;
            box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
            border-radius: 0 0 24px 24px !important;
            background: #ffffff !important;
            padding: 12px 0 !important;
            overflow: hidden !important;
        }
        .main-header-menu .menu-item {
            border-bottom: none !important;
        }
        .main-header-menu .menu-item > a {
            padding: 14px 20px !important;
            font-size: 15px !important;
            font-weight: 700 !important;
            color: #374151 !important;
            transition: all 0.3s ease !important;
            border-radius: 12px !important;
            margin: 4px 16px !important;
            display: flex !important;
            align-items: center !important;
        }
        .main-header-menu .menu-item > a:hover,
        .main-header-menu .menu-item.current-menu-item > a {
            background-color: #0066ff15 !important; /* 15 is hex for ~8% opacity */
            color: #0066ff !important;
            padding-right: 26px !important;
            box-shadow: inset -4px 0 0 #0066ff !important;
        }
    }
    /* إخفاء رابط صفحة السلة دائماً في شاشات الكمبيوتر (لأن الأيقونة موجودة) */
    @media (min-width: 769px) {
        .menu-item a[href*="checkout"], 
        .menu-item a[href*="cart"],
        .menu-item a[title*="سلة"],
        .menu-item a[title*="السلة"],
        .menu-item a[href*="%d8%b3%d9%84%d8%a9"],
        li:has(> a[href*="cart"]),
        li:has(> a[href*="سلة"]),
        li:has(> a[href*="%d8%b3%d9%84%d8%a9"]) { 
            display: none !important; 
        }
    }
    
    /* إخفاء صفحة السلة من القائمة في الهاتف والكمبيوتر دائماً */
    @media (max-width: 768px) {
        .menu-item a[href*="checkout"], 
        .menu-item a[href*="cart"],
        .menu-item a[title*="سلة"],
        .menu-item a[title*="السلة"],
        li:has(> a[href*="cart"]),
        li:has(> a[href*="سلة"]) { 
            display: none !important; 
        }
    }
    @media (min-width: 769px) { 
            header, .site-header, #masthead, .elementor-location-header, [data-elementor-type="header"] { position: sticky !important; top: 0; z-index: 9999; }
            .admin-bar header, .admin-bar .site-header, .admin-bar #masthead, .admin-bar .elementor-location-header { top: 32px !important; }
            body.fcdz-modal-open header, body.fcdz-modal-open .site-header, body.fcdz-modal-open #masthead, body.fcdz-modal-open .elementor-location-header, body.fcdz-modal-open [data-elementor-type="header"] { z-index: 1 !important; }
         }
    body.fcdz-modal-open .fcdz-checkout-wrapper {
        position: relative !important;
        z-index: 999999 !important;
    }
    
    .woocommerce div.product div.images .flex-control-thumbs {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-top: 15px !important;
        padding: 0 !important;
    }
    .woocommerce div.product div.images .flex-control-thumbs li {
        width: 80px !important;
        height: 80px !important;
        flex: 0 0 80px !important;
        list-style: none !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .woocommerce div.product div.images .flex-control-thumbs li img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    /* منع وميض/اختفاء صور المنتج نهائياً (تجاوز سكريبتات القوالب و ووكومرس) */
    .woocommerce-product-gallery, 
    .woocommerce div.product div.images, 
    .woocommerce-product-gallery__wrapper, 
    .woocommerce div.product div.images .woocommerce-product-gallery__image {
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
    }
    .woocommerce div.product div.images, .woocommerce-product-gallery {
        /* max-width: 100% !important; removed to fix Elementor side-by-side layout */
        overflow: hidden !important;
    }
    .woocommerce div.product div.images img {
        /* max-width: 100% !important; removed */
        height: auto !important;
    }


    /* ─ شارة صفحة المنتج (المفردة) — موضوعها فوق صورة المعرض بشكل بيل ─ */
    .single-product .woocommerce-product-gallery .onsale,
    .single-product span.onsale {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        left: auto !important;
        background: #0066ff !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        padding: 5px 14px !important;
        border-radius: 20px !important;
        min-height: auto !important;
        min-width: auto !important;
        line-height: 1.4 !important;
        z-index: 99 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2) !important;
        border: 2px solid rgba(255,255,255,0.6) !important;
        transform: none !important;
        margin: 0 !important;
    }
    @media (max-width: 768px) {
        .single-product .woocommerce-product-gallery .onsale,
        .single-product span.onsale {
            top: 8px !important;
            right: 8px !important;
            font-size: 12px !important;
            padding: 4px 10px !important;
        }
    }

    .woocommerce div.product .summary p.price {
        border: 2px dashed #0066ff !important;
        border-radius: 10px !important; padding: 12px 18px !important; background: #fdfdfd !important;
        display: flex !important; align-items: center !important; justify-content: space-between !important; direction: rtl !important;
        flex-direction: row !important; gap: 10px !important; margin-bottom: 25px !important; width: 100% !important; box-sizing: border-box !important;
    }
    .woocommerce div.product .summary p.price ins,
    .woocommerce div.product .summary p.price > .woocommerce-Price-amount,
    .woocommerce div.product .summary p.price > .amount,
    .woocommerce div.product .summary p.price > span:not(del) {
        order: 1 !important; text-decoration: none !important; background: transparent !important;
        color: #0066ff !important; font-size: 30px !important; font-weight: 900 !important; line-height: 1 !important;
    }
    .woocommerce div.product .summary p.price del {
        order: 2 !important; text-decoration: none !important; text-decoration-line: none !important; color: var(--fcdz-secondary, #999999) !important; 
        font-size: 18px !important; font-weight: 600 !important; opacity: 1 !important; line-height: 1 !important;
        position: relative !important; display: inline-flex !important; align-items: center !important; margin-right: 8px !important; margin-left: auto !important;
    }
    .woocommerce div.product .summary p.price del::after {
        content: "" !important; position: absolute !important; top: 52% !important; left: 0 !important; right: 0 !important;
        height: 1px !important; background-color: currentColor !important;
        pointer-events: none !important; margin-top: 0 !important; opacity: 0.8 !important;
    }
    .woocommerce div.product .summary p.price del * {
        color: inherit !important; font-weight: inherit !important; text-decoration: none !important; text-decoration-line: none !important;
    }
    .woocommerce div.product .summary p.price del .woocommerce-Price-currencySymbol {
        margin-top: 0 !important;
    }
    .woocommerce div.product .summary p.price .woocommerce-Price-amount {
        display: inline-flex !important; flex-direction: row-reverse !important; align-items: center !important; gap: 4px !important; direction: ltr !important; 
    }
    .woocommerce div.product .summary p.price .woocommerce-Price-currencySymbol { font-size: 0.8em !important; margin-top: 5px !important; }

    .fcdz-inline-qty {
        order: 3 !important; margin: 0 !important; display: inline-flex !important; 
        flex-direction: row !important; align-items: center !important; background: #ffffff !important;
        border: 2px solid #111111 !important; border-radius: 8px !important; height: 42px !important; 
        padding: 0 !important; direction: ltr !important; overflow: hidden !important; flex-shrink: 0 !important;
    }
    .fcdz-inline-qty button {
        background: transparent !important; border: none !important; color: #111111 !important; 
        font-size: 20px !important; font-weight: bold !important; width: 34px !important; 
        height: 100% !important; padding: 0 !important; margin: 0 !important; cursor: pointer !important; 
        display: flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important;
    }
    .fcdz-inline-qty button:hover { color: #0066ff !important; background: #f9f9f9 !important; }
    .fcdz-inline-qty input {
        width: 36px !important; height: 100% !important; text-align: center !important; border: none !important; 
        background: transparent !important; font-weight: 900 !important; font-size: 16px !important; 
        padding: 0 !important; margin: 0 !important; color: #000 !important; pointer-events: none !important; box-sizing: border-box !important;
    }

    /* معرض الصور */
    .woocommerce div.product div.images .flex-control-thumbs {
        display: flex !important; flex-direction: row !important; justify-content: flex-start !important;
        gap: 8px !important; margin-top: 10px !important; padding: 0 !important; list-style: none !important; float: none !important; clear: both !important;
    }
    .woocommerce div.product div.images .flex-control-thumbs li {
        width: 60px !important; height: 60px !important; flex: 0 0 60px !important; float: none !important; margin: 0 !important;
        border-radius: 8px !important; overflow: hidden !important; border: 1px solid #e2e8f0 !important; box-sizing: border-box !important; background: #f8fafc !important; cursor: pointer !important;
    }
    .woocommerce div.product div.images .flex-control-thumbs li img {
        width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; border-radius: 6px !important;
    }

    div.fcdz-quantity-row,
    .fcdz-form-box .fcdz-quantity-row,
    #fcdz-fast-form .fcdz-quantity-row { 
        display: none !important; 
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .fcdz-form-box { border: 2px dashed #0066ff !important; background: #fdfdfd !important; padding: 25px !important; width: 100% !important; box-sizing: border-box !important; }
    .fcdz-floating-group { position: relative !important; flex: 1 !important; width: 100% !important; }
    .fcdz-floating-group input:not([type="hidden"]) { width: 100% !important; height: 50px !important; padding: 16px 15px 4px 15px !important; font-size: 15px !important; box-sizing: border-box !important; border: 1px solid #ddd !important; border-radius: 6px !important; background: #fff !important; outline: none !important; transition: all 0.25s ease-in-out !important; }
    .fcdz-custom-dropdown .fcdz-dropdown-header { height: 50px !important; padding: 16px 15px 4px 15px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; background: #ffffff !important; border: 1px solid #ddd !important; border-radius: 6px !important; box-sizing: border-box !important; outline: none !important; transition: all 0.25s ease-in-out !important; cursor: pointer !important; overflow: hidden !important; white-space: nowrap !important; text-overflow: ellipsis !important; }
    .fcdz-custom-dropdown .fcdz-dropdown-header span.selected-text { overflow: hidden !important; white-space: nowrap !important; text-overflow: ellipsis !important; display: block !important; max-width: 90% !important; }
    .fcdz-floating-group label { position: absolute !important; right: 15px !important; top: 50% !important; transform: translateY(-50%) !important; background: transparent !important; padding: 0 4px !important; color: #999 !important; font-size: 14px !important; pointer-events: none !important; transition: all 0.25s ease-in-out !important; z-index: 10 !important; }
    .fcdz-floating-group input:not([type="hidden"]):focus ~ label, .fcdz-floating-group input:not([type="hidden"]):not(:placeholder-shown) ~ label, .fcdz-custom-dropdown.open label, .fcdz-custom-dropdown.has-val label { top: 0px !important; transform: translateY(-50%) scale(0.9) !important; background: #ffffff !important; color: #0066ff !important; font-weight: 700 !important; right: 10px !important; z-index: 15 !important; }
    .fcdz-floating-group input:not([type="hidden"]):hover, .fcdz-custom-dropdown .fcdz-dropdown-header:hover { border-color: #0066ff !important; }
    .fcdz-floating-group input:not([type="hidden"]):focus, .fcdz-custom-dropdown.open .fcdz-dropdown-header, .fcdz-custom-dropdown.has-val .fcdz-dropdown-header:focus { border-color: #0066ff !important; box-shadow: 0 0 0 1px #0066ff !important; }
    
    .fcdz-search-container { position: relative !important; padding: 10px !important; background: #fdfdfd !important; border-bottom: 1px solid #eee !important; direction: rtl !important;
    }


    #wilaya_search, #commune_search, #office_search { width: 100% !important; height: 42px !important; padding: 10px 44px 10px 14px !important; border: 1px solid #ddd !important; border-radius: 5px !important; box-sizing: border-box !important; font-size: 14px !important; transition: all 0.3s ease !important; outline: none !important; direction: rtl !important; text-align: right !important; }
    #wilaya_search:focus, #commune_search:focus, #office_search:focus { border-color: #0066ff !important; box-shadow: 0 0 0 1px #0066ff !important; }
    .fcdz-floating-group input.field-error { border-color: #ff4757 !important; box-shadow: 0 0 0 3px rgba(255,71,87,.25) !important; }
    .fcdz-custom-dropdown.field-error .fcdz-dropdown-header { border-color: #ff4757 !important; box-shadow: 0 0 0 3px rgba(255,71,87,.25) !important; }
    .fcdz-search-icon { position: absolute !important; right: 14px !important; top: 50% !important; transform: translateY(-50%) !important; color: #94a3b8 !important; width: 18px !important; height: 18px !important; font-size: 16px !important; pointer-events: none !important; z-index: 2 !important; display: flex !important; align-items: center !important; justify-content: center !important; }
    .fcdz-options-list li { transition: all 0.25s ease-in-out !important; background-color: transparent !important; color: #333 !important; padding: 10px 15px !important; cursor: pointer !important; border-bottom: 1px solid #f9f9f9 !important; }
    .fcdz-options-list li:hover { background-color: #0066ff !important; color: #fff !important; }
    .fcdz-options-list li.selected { background-color: transparent !important; color: #0066ff !important; font-weight: bold !important; }

    .fcdz-shipping-options-pro { flex-direction: row !important; gap: 10px !important; width: 100% !important; }
    #fcdz_shipping_container:not([style*="display: none"]) { display: flex !important; }
    .fcdz-shipping-options-pro label.fcdz-shipping-card { flex: 1 !important; margin: 0 !important; padding: 10px 5px !important; box-sizing: border-box !important; }
    .fcdz-shipping-radio-title span, .fcdz-shipping-card-price { font-size: 13px !important; }
    
    /* تصميم زر اختيار التوصيل (الراديو) ليظهر بنقطة بيضاء نقية 100% */
    .fcdz-shipping-options-pro input[type="radio"] {
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        width: 22px !important;
        height: 22px !important;
        border: 2px solid #cbd5e1 !important;
        border-radius: 50% !important;
        background-color: #ffffff !important;
        margin: 0 !important;
        position: relative !important;
        cursor: pointer !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
    }
    .fcdz-shipping-options-pro input[type="radio"]:checked {
        border-color: var(--fcdz-primary, #0066ff) !important;
        background-color: var(--fcdz-primary, #0066ff) !important;
    }
    .fcdz-shipping-options-pro input[type="radio"]:checked::after {
        content: "" !important;
        width: 8px !important;
        height: 8px !important;
        background-color: #ffffff !important;
        border-radius: 50% !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        box-shadow: none !important;
    }
    
    .fcdz-floating-group label { font-size: 16px !important; font-weight: 600 !important; top: 50% !important; transform: translateY(-62%) !important; line-height: 1 !important; }
    .woocommerce div.product .summary p.price ins, .woocommerce div.product .summary p.price del, .woocommerce div.product .summary p.price .woocommerce-Price-amount { white-space: nowrap !important; }
    
    .fcdz-custom-dropdown { position: relative !important; width: 100% !important; }
    .fcdz-custom-dropdown.open { z-index: 9999999 !important; }
    .fcdz-custom-dropdown .fcdz-dropdown-body { display: none !important; width: 100% !important; min-width: 100% !important; box-sizing: border-box !important; position: absolute; top: 100%; left: 0; z-index: 9999999; }
    .fcdz-custom-dropdown.open .fcdz-dropdown-body { display: block !important; }
    @media (max-width: 768px) {
        .fcdz-custom-dropdown.open .fcdz-dropdown-body {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            max-height: 100vh !important;
            z-index: 9999999 !important;
            background: #ffffff !important;
            display: flex !important;
            flex-direction: column !important;
        }
    }
    .fcdz-qty-badge, .fcdz-product-qty-tag { white-space: nowrap !important; display: inline-flex !important; align-items: center !important; gap: 4px !important; flex-wrap: nowrap !important; flex-shrink: 0 !important; }
    .fcdz-show-offer-btn { white-space: nowrap !important; min-width: max-content !important; flex-wrap: nowrap !important; flex-shrink: 0 !important; }

    .modern-summary { margin-top: 25px !important; border: 1px solid #e5e7eb !important; border-radius: 12px !important; background: #f9fafb !important; overflow: hidden !important; }
    .modern-summary summary::-webkit-details-marker { display: none !important; }
    .fcdz-summary-header { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 15px 20px !important; cursor: pointer !important; list-style: none !important; color: #4b5563 !important; }
    .fcdz-summary-title { font-weight: 700 !important; font-size: 16px !important; }
    .fcdz-summary-arrow { transition: transform 0.3s ease !important; font-size: 18px !important; }
    .modern-summary[open] .fcdz-summary-arrow { transform: rotate(180deg) !important; }
    .fcdz-summary-content { padding: 0 20px 20px 20px !important; }
    .fcdz-summary-row { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-bottom: 15px !important; }
    .fcdz-product-row { align-items: flex-start !important; }
    .fcdz-item-details { display: flex !important; align-items: center !important; gap: 10px !important; flex: 1 !important; }
    .fcdz-item-name { color: #4b5563 !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.4 !important; }
    .fcdz-qty-badge { background: #e5e7eb !important; color: #374151 !important; font-size: 13px !important; font-weight: 700 !important; padding: 2px 8px !important; border-radius: 12px !important; direction: ltr !important; display: inline-block !important; }
    .fcdz-item-price { font-weight: 700 !important; color: #111827 !important; font-size: 16px !important; direction: rtl !important; }
    .fcdz-summary-divider { height: 1px !important; background: #e5e7eb !important; margin: 15px 0 !important; }
    .fcdz-total-row { margin-bottom: 0 !important; align-items: flex-end !important; }
    .fcdz-total-title { font-weight: 900 !important; font-size: 18px !important; color: #111827 !important; }
    .fcdz-total-price-wrapper { direction: rtl !important; }
    .fcdz-total-price { font-weight: 900 !important; font-size: 28px !important; color: #111827 !important; }
    .fcdz-currency { font-weight: 700 !important; font-size: 14px !important; color: #6b7280 !important; margin-right: 4px !important; }

    .fcdz-action-buttons { display: grid !important; grid-template-columns: 2fr 1fr !important; gap: 8px 12px !important; margin-top: 20px !important; width: 100% !important; }
    .fcdz-primary-btn { grid-column: 1 / 2 !important; grid-row: 1 !important; background-color: #0066ff !important; color: #fff !important; padding: 15px 10px !important; border-radius: 8px !important; border: none !important; font-size: 18px !important; font-weight: bold !important; cursor: pointer !important; transition: all 0.3s ease !important; display: flex !important; align-items: center !important; justify-content: center !important; white-space: nowrap !important; }
    .fcdz-primary-btn:only-child { grid-column: 1 / -1 !important; }
    .fcdz-secondary-btn { grid-column: 2 / 3 !important; grid-row: 1 !important; background-color: #ffffff !important; color: #0066ff !important; padding: 15px 10px !important; border-radius: 8px !important; border: 2px solid #0066ff !important; font-size: 14px !important; font-weight: bold !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; transition: all 0.3s ease !important; white-space: nowrap !important; }
    .fcdz-secondary-btn:hover { background-color: #0066ff !important; color: #fff !important; }
    .fcdz-secondary-btn::after { display: none !important; }
    .fcdz-secondary-btn.success-state { background-color: #0066ff !important; color: #fff !important; border-color: #0066ff !important; pointer-events: none !important; }

    a.added_to_cart.wc-forward { grid-column: 1 / 2 !important; grid-row: 2 !important; justify-self: start !important; display: flex !important; align-items: center !important; justify-content: center !important; margin: 15px 0 0 0 !important; text-align: center !important; background: #fdfdfd !important; color: #0066ff !important; padding: 6px 25px !important; border-radius: 30px !important; border: 1px dashed #0066ff !important; font-weight: bold !important; text-decoration: none !important; font-size: 0 !important; transition: none !important; }
    a.added_to_cart.wc-forward::after { content: "عرض السلة" !important; font-size: 15px !important; }
    a.added_to_cart.wc-forward:hover { background: #0066ff !important; color: #fff !important; }

    @media (max-width: 768px) {
        /* إبقاء حقلين في كل صف مع تقليص المساحات والخطوط لاستيعاب النصوص الطويلة */
        .fcdz-form-row { flex-direction: row !important; flex-wrap: nowrap !important; gap: 6px !important; width: 100% !important; box-sizing: border-box !important; }
        .fcdz-form-row > * { min-width: 0 !important; flex: 1 1 50% !important; max-width: 50% !important; overflow: visible !important; }
        
        /* إبقاء النصوص بخط مقروء جيداً وإصلاح مشكلة القص في العناوين العلوية */
        .fcdz-floating-group input:not([type="hidden"]) { font-size: 14px !important; padding: 20px 8px 4px 8px !important; }
        .fcdz-custom-dropdown .fcdz-dropdown-header { font-size: 14px !important; padding: 20px 8px 4px 8px !important; }
        .fcdz-custom-dropdown .fcdz-dropdown-header span.selected-text { font-size: 14px !important; max-width: 100% !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
        .fcdz-floating-group label { font-size: 13px !important; right: 8px !important; }
        .fcdz-floating-group input:not([type="hidden"]):focus ~ label, .fcdz-floating-group input:not([type="hidden"]):not(:placeholder-shown) ~ label, .fcdz-custom-dropdown.open label, .fcdz-custom-dropdown.has-val label { font-size: 12.5px !important; right: 8px !important; top: 0px !important; }
        
        /* توسيع الاستمارة لجعلها تلامس حافة الهاتف وتوسيع الحقول لتلامس الإطار المتقطع */
        
        /* 
         * لتعديل الفراغ الخارجي (بين الاستمارة وحافة شاشة الهاتف) 
         * تمت زيادته قليلاً بناءً على طلبك
         */
        .fcdz-checkout-wrapper { padding: 0 8px !important; margin: 10px auto !important; width: 100% !important; box-sizing: border-box !important; }
        
        /* 
         * لتعديل الفراغ الداخلي (بين الحقول والإطار المتقطع) 
         * وتمت إضافة margin بالسالب لكي يكسر الصندوق حدود القالب ويلامس الحافة تقريباً وليس كلياً.
         */
        .fcdz-form-box { padding: 15px 4px !important; margin-left: -5px !important; margin-right: -5px !important; width: calc(100% + 10px) !important; }
        
        .fcdz-card { padding: 15px 4px !important; margin-bottom: 10px !important; }
        .fcdz-checkout-layout { gap: 10px !important; }
        /* تحسين مظهر معرض وصور المنتج في الهاتف */
        /* removed width 100% to let Elementor or WooCommerce handle the grid naturally */
        .woocommerce-product-gallery__image {
            box-sizing: border-box !important;
        }
        .woocommerce-product-gallery__image img {
            width: 100% !important;
            height: auto !important;
            max-width: 100% !important;
            display: block !important;
            border-radius: 10px !important;
            object-fit: cover !important;
        }
        .woocommerce div.product div.images .flex-control-thumbs {
            display: flex !important;
            flex-direction: row !important;
            justify-content: flex-start !important;
            flex-wrap: wrap !important;
            gap: 8px !important;
            margin-top: 10px !important;
            padding: 0 !important;
            list-style: none !important;
            float: none !important;
            clear: both !important;
        }
        .woocommerce div.product div.images .flex-control-thumbs li {
            width: 60px !important;
            height: 60px !important;
            flex: 0 0 60px !important;
            margin: 0 !important;
            border-radius: 8px !important;
            overflow: hidden !important;
            border: 1px solid #e2e8f0 !important;
            box-sizing: border-box !important;
            background: #f8fafc !important;
        }
        .woocommerce div.product div.images .flex-control-thumbs li img {
            border-radius: 6px !important;
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
        }

        /* تحسين تناسق إطار السعر وحقل الكمية في الهاتف */
        .woocommerce div.product .summary p.price {
            gap: 8px !important;
            padding: 10px 14px !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            justify-content: space-between !important;
            width: 100% !important;
            box-sizing: border-box !important;
            margin-bottom: 18px !important;
            direction: rtl !important;
        }
        .woocommerce div.product .summary p.price ins,
        .woocommerce div.product .summary p.price > .woocommerce-Price-amount,
        .woocommerce div.product .summary p.price > .amount,
        .woocommerce div.product .summary p.price > span:not(del) {
            font-size: 22px !important;
            font-weight: bold !important;
            color: #0066ff !important;
            line-height: 1.2 !important;
            order: 1 !important;
            text-decoration: none !important;
        }
        .woocommerce div.product .summary p.price del {
            font-size: 15px !important;
            line-height: 1.2 !important;
            order: 2 !important;
            margin-right: 6px !important;
            margin-left: auto !important;
        }
        .fcdz-inline-qty {
            height: 38px !important;
            margin: 0 !important;
            flex-shrink: 0 !important;
            order: 3 !important;
        }
        .fcdz-inline-qty button {
            width: 30px !important;
            font-size: 18px !important;
        }
        .fcdz-inline-qty input {
            width: 34px !important;
            font-size: 15px !important;
        }

        .fcdz-primary-btn { font-size: 16px !important; padding: 12px 5px !important; }
        .fcdz-secondary-btn { font-size: 13px !important; padding: 12px 5px !important; gap: 4px !important; }
    }

    @keyframes slideUpCheck { 0% { transform: translateY(20px) scale(0.5); opacity: 0; } 60% { transform: translateY(-5px) scale(1.2); opacity: 1; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
    .fcdz-success-anim { display: flex !important; align-items: center !important; justify-content: center !important; animation: slideUpCheck 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important; }
    .fcdz-success-anim .dashicons { font-size: 28px !important; width: 28px !important; height: 28px !important; }

    /* Product Grid Layout & Row Spacing (Top & Bottom separation between card rows) */
    html body .woocommerce ul.products,
    html body .woocommerce-page ul.products,
    html body ul.products,
    html body .ast-woocommerce-container ul.products,
    html body .ast-container .woocommerce ul.products,
    html body .elementor-element .elementor-wc-products ul.products {
        row-gap: 30px !important;
    }

    /* Product Cards - Strong Specificity to override ANY theme */
    html body #main .woocommerce ul.products li.product,
    html body .woocommerce-page ul.products li.product,
    html body .woocommerce ul.products li.product.type-product,
    html body #main .woocommerce .related ul.products li.product,
    html body .woocommerce .related ul.products li.product,
    html #main .woocommerce .up-sells ul.products li.product,
    html body .single-product .related.products ul.products li.product,
    html body .single-product .up-sells ul.products li.product,
    html body .elementor-widget-woocommerce ul.products li.product,
    html body.single-product .woocommerce section.related.products ul.products li.product,
    html body .woocommerce ul.products li.product,
    html body .ast-woocommerce-container ul.products li.product,
    html body ul.products li.product {
        background: #ffffff !important;
        border-radius: 16px !important;
        padding: 15px 15px 0px 15px !important; /* إزالة الفراغ السفلي تماماً */
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
        border: 2px solid #0066ff !important; /* استخدام اللون الرئيسي للإطار */
        border-style: solid !important;
        border-width: 2px !important;
        border-color: #0066ff !important;
        transition: all 0.3s ease-in-out !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        position: relative !important;
        overflow: hidden !important;
    }
    body .woocommerce ul.products li.product:hover,
    #main .woocommerce ul.products li.product:hover,
    body .woocommerce-page ul.products li.product:hover,
    #main .woocommerce .related ul.products li.product:hover,
    body .woocommerce .related ul.products li.product:hover,
    #main .woocommerce .up-sells ul.products li.product:hover,
    body .single-product .related.products ul.products li.product:hover,
    body .single-product .up-sells ul.products li.product:hover,
    body .elementor-widget-woocommerce ul.products li.product:hover,
    body ul.products li.product:hover {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.40) !important;
        transform: translateY(-5px) !important;
        border-color: #0066ff !important;
    }
    
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product h2.woocommerce-loop-product__title,
    .woocommerce ul.products li.product h2 {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        min-height: 2.8em !important;
        line-height: 1.4 !important;
        font-size: 15px !important;
        margin-top: 12px !important;
        margin-bottom: auto !important;
        text-align: center !important;
    }
    
    .woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
        position: relative !important;
        width: 100% !important;
        padding-top: 100% !important;
        overflow: hidden !important;
        background: #f8fafc !important;
        border-radius: 10px !important;
    }
    .woocommerce ul.products li.product .astra-shop-thumbnail-wrap a,
    .woocommerce ul.products li.product .astra-shop-thumbnail-wrap > a {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }
    .woocommerce ul.products li.product .astra-shop-thumbnail-wrap img,
    .woocommerce ul.products li.product .woocommerce-product-gallery__image img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        margin: 0 !important;
    }
    
    .woocommerce ul.products li.product > a > img {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        display: block !important;
        margin: 0 auto 15px auto !important;
    }
    
    .woocommerce ul.products li.product .woocommerce-loop-product__link {
        position: static !important;
    }
    
    .woocommerce ul.products li.product .posted_in,
    .woocommerce ul.products li.product span.ast-woo-product-category,
    .woocommerce ul.products li.product .ast-woo-product-category { display: none !important; }

    .woocommerce ul.products li.product .price,
    .ast-woocommerce-store .price {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        margin-top: 8px !important;
        margin-bottom: 12px !important;
        direction: rtl !important; 
    }
    .woocommerce ul.products li.product .price ins,
    .woocommerce ul.products li.product .price > .amount {
        order: 1 !important; 
        text-decoration: none !important;
        color: #0066ff !important;
        font-weight: 900 !important;
        font-size: 18px !important;
        background: transparent !important;
        display: inline-block !important;
    }
    .woocommerce ul.products li.product .price del {
        order: 2 !important; 
        color: var(--fcdz-secondary, #a0aec0) !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        opacity: 0.8 !important;
        display: inline-block !important;
        text-decoration: none !important;
        position: relative !important;
    }
    .woocommerce-product-gallery { opacity: 1 !important; }
    .elementor-loop-item.product,
    .e-loop-item.product,
    .elementor-grid .product {
        position: relative !important;
        overflow: hidden !important;
        padding-bottom: 0px !important; /* إزالة الفراغ السفلي */
    }
    .woocommerce ul.products li.product .astra-shop-summary-wrap {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
    }
    .woocommerce ul.products li.product .price del::after,
    .elementor-loop-item.product .price del::after,
    .e-loop-item.product .price del::after,
    .elementor-grid .product .price del::after {
        content: "" !important; position: absolute !important; top: 50% !important; left: 0 !important; right: 0 !important;
        height: 1px !important; background-color: currentColor !important; transform: translateY(-50%) !important;
        pointer-events: none !important; margin-top: 1px !important;
    }
    .woocommerce ul.products li.product .price del *,
    .elementor-loop-item.product .price del *,
    .e-loop-item.product .price del *,
    .elementor-grid .product .price del * {
        text-decoration: none !important;
    }
    .woocommerce ul.products li.product .onsale,
    .elementor-loop-item.product .onsale,
    .e-loop-item.product .onsale,
    .elementor-grid .product .onsale,
    .elementor-widget-woocommerce .onsale {
        display: none !important; /* إخفاء البادج الافتراضي في بطاقات المتجر - نستخدم fcdz-onsale بدلاً */
    }
    /* بادج مخصص من fcdz يظهر في زاوية البطاقة - تصميم احترافي نظيف */
    .woocommerce ul.products li.product .fcdz-onsale,
    html body ul.products li.product .fcdz-onsale,
    .elementor-loop-item.product .fcdz-onsale,
    .e-loop-item.product .fcdz-onsale,
    .elementor-grid .product .fcdz-onsale,
    .elementor-widget-woocommerce .fcdz-onsale {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: -2px !important;
        right: -2px !important;
        left: auto !important;
        margin: 0 !important;
        border-radius: 0 14px 0 16px !important;
        background-color: #0066ff !important;
        color: #ffffff !important;
        font-weight: 800 !important;
        font-size: 12px !important;
        padding: 5px 12px !important;
        z-index: 9 !important; /* تم تقليل z-index لتفادي تغطية القائمة المنسدلة في الهاتف */
        box-shadow: -2px 2px 8px rgba(0,0,0,0.2) !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }
    
    /* إخفاء شارة التخفيض الافتراضية وأيقونة السلة العائمة من القوالب (مثل Astra وغيرها) */
    body .elementor-loop-item.product .elementor-widget-woocommerce-product-images .onsale,
    body .woocommerce ul.products li.product .astra-shop-thumbnail-wrap .button,
    body .woocommerce ul.products li.product .astra-shop-thumbnail-wrap .add_to_cart_button,
    body .woocommerce ul.products li.product .astra-shop-cart-wrapper,
    body .woocommerce ul.products li.product .astra-shop-cart-icon,
    body .woocommerce ul.products li.product .added_to_cart { display: none !important; }
    body .woocommerce ul.products li.product .yith-wcqv-button,
    /* إخفاء أيقونة السلة العائمة (ahfb-svg-iconset) التي تظهر عند hover */
    body .woocommerce ul.products li.product .ahfb-svg-iconset,
    body .woocommerce ul.products li.product .ast-icon.icon-cart,
    body .woocommerce ul.products li.product span.ast-icon,
    body .woocommerce ul.products li.product:hover .ahfb-svg-iconset,
    body .woocommerce ul.products li.product:hover .ast-icon.icon-cart,
    body .woocommerce ul.products li.product .astra-shop-thumbnail-wrap .ahfb-svg-iconset {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    html body #main .woocommerce ul.products li.product a.button,
    html body #main .woocommerce ul.products li.product .button,
    html body .woocommerce ul.products li.product a.button,
    html body .woocommerce ul.products li.product .button,
    html body .woocommerce ul.products li.product a.button.add_to_cart_button,
    html body .woocommerce ul.products li.product .astra-shop-summary-wrap .button,
    html body #main .woocommerce .related ul.products li.product .button, 
    html body .woocommerce .related ul.products li.product .button,
    html body .woocommerce section.related.products ul.products li.product .button,
    html body .woocommerce section.related.products ul.products li.product a.button,
    html body .woocommerce section.related.products ul.products li.product a.button.add_to_cart_button,
    html body .single-product .related.products ul.products li.product .button,
    html body .single-product .related.products ul.products li.product a.button.add_to_cart_button,
    html body .single-product .up-sells ul.products li.product .button,
    html body .elementor-loop-item.product .button,
    html body .e-loop-item.product .button,
    html body .elementor-grid .product .button,
    html body .elementor-widget-woocommerce .button,
    html body .woocommerce ul.products li.product .button,
    html body .ast-woocommerce-container ul.products li.product .button,
    html body ul.products li.product .button,
    html body ul.products li.product a.button,
    html body ul.products li.product .btn {
        background-color: #0066ff !important;
        color: #ffffff !important;
        border-radius: 10px !important;
        padding: 16px 15px !important; /* زيادة طول الزر عمودياً */
        font-weight: 700 !important;
        font-size: 16px !important; /* زيادة طفيفة في حجم الخط */
        width: 100% !important;
        margin: 12px auto -5px auto !important; /* تقليل المسافة العلوية واستخدام هامش سلبي في الأسفل لشفط الفراغ المتبقي */
        display: block !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
        border: none !important;
        box-sizing: border-box !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* تقليل إضافي مخصص لأجهزة الكمبيوتر (PC) فقط */
    @media (min-width: 769px) {
        html body .elementor-grid .product .button,
        html body .elementor-widget-woocommerce .button,
        html body .woocommerce ul.products li.product .button,
        html body .ast-woocommerce-container ul.products li.product .button,
        html body ul.products li.product .button,
        html body ul.products li.product a.button,
        html body ul.products li.product .btn {
            margin-bottom: -30px !important; /* شفط الفراغ بشكل عنيف جداً */
        }
    }

    html body #main .woocommerce ul.products li.product a.button:hover,
    html body #main .woocommerce ul.products li.product .button:hover,
    html body .woocommerce ul.products li.product a.button:hover,
    html body .woocommerce ul.products li.product .button:hover,
    html body .woocommerce ul.products li.product a.button.add_to_cart_button:hover,
    html body .woocommerce section.related.products ul.products li.product a.button:hover,
    html body .woocommerce section.related.products ul.products li.product a.button.add_to_cart_button:hover,
    html body .single-product .related.products ul.products li.product .button:hover,
    html body .single-product .related.products ul.products li.product a.button.add_to_cart_button:hover,
    html body .elementor-loop-item.product .button:hover,
    html body .e-loop-item.product .button:hover,
    html body .elementor-grid .product .button:hover,
    html body .woocommerce ul.products li.product .button:hover,
    html body .ast-woocommerce-container ul.products li.product .button:hover,
    html body ul.products li.product .button:hover,
    html body ul.products li.product a.button:hover,
    html body ul.products li.product .btn:hover {
        opacity: 0.9 !important;
        transform: translateY(-2px) !important;
        background-color: #333333 !important;
        color: #ffffff !important;
    }

    /* Floating CTA */
    .fcdz-floating-cta { 
        position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
        width: 100% !important; background: #0066ff !important; 
        color: #fff !important; text-align: center !important; padding: 16px 20px !important; 
        font-size: 20px !important; font-weight: 900 !important; cursor: pointer !important; 
        z-index: 999999 !important; display: flex !important; align-items: center !important; 
        justify-content: center !important; gap: 10px !important; text-decoration: none !important; 
        overflow: hidden !important; border-top: 1px solid rgba(255,255,255,0.2) !important;
        box-sizing: border-box !important; opacity: 0; visibility: hidden;
        transition: opacity 0.3s ease, bottom 0.4s ease, visibility 0.3s ease !important;
    }
    .fcdz-floating-cta.fcdz-show {
        opacity: 1 !important; visibility: visible !important;
        animation: fcdzPulsePhone 1.4s infinite ease-in-out !important;
    }
    .fcdz-floating-cta span, .fcdz-floating-cta { will-change: transform; backface-visibility: hidden; }

    @media (min-width: 769px) {
        .fcdz-floating-cta {
            bottom: 25px !important; left: 50% !important; right: auto !important;
            width: 90% !important; max-width: 500px !important; 
            border-radius: 12px !important; border: 1px solid rgba(255,255,255,0.2) !important;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
        }
        .fcdz-floating-cta.fcdz-show { animation: fcdzPulsePC 1.4s infinite ease-in-out !important; }
    }
    .fcdz-floating-cta::before { 
        content: "" !important; position: absolute !important; top: 0 !important; left: -100% !important; 
        width: 50% !important; height: 100% !important; 
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%) !important; 
        transform: skewX(-25deg) !important; animation: fcdzShineBtn 2.5s infinite linear !important; 
    }
    .fcdz-floating-cta.fcdz-hide { bottom: -100px !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }

    @keyframes fcdzPulsePhone { 0% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(0.97); filter: brightness(1.12); } 100% { transform: scale(1); filter: brightness(1); } }
    @keyframes fcdzPulsePC { 0% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.04); } 100% { transform: translateX(-50%) scale(1); } }
    @keyframes fcdzShineBtn { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

    /* ═══════════════════════════════════════════════════════════
       عناصر جديدة في القالب المُحسَّن (single-product-fast.php)
       ═══════════════════════════════════════════════════════════ */

    /* Honeypot wrapper — إخفاء آمن بالـ CSS بدل inline style */
    .fcdz-hp-wrapper {
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    /* صف الحقول في الاستمارة — desktop flex layout (موبايل له CSS منفصل في media query) */
    .fcdz-form-row {
        display: flex !important;
        gap: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* فراغ قسم العروض الذكية */
    #fcdz-smart-offers-injection {
        margin-bottom: 20px !important;
    }

    /* هامش علوي لصندوق الاستمارة */
    .fcdz-form-box {
        margin-top: 20px !important;
    }

    /* عنوان الاستمارة */
    .fcdz-form-title {
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    /* ─── شارات الثقة الاحترافية (Trust Badges) ─── */
    .fcdz-form-trust-badges {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        margin-top: 20px !important;
        padding: 15px 5px !important;
        border-radius: 12px !important;
        background: transparent !important;
        border: none !important;
        border-top: 1px solid rgba(0,0,0,0.06) !important;
        border-bottom: 1px solid rgba(0,0,0,0.06) !important;
        direction: rtl !important;
    }
    .fcdz-form-badge-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 5px !important;
        flex: 1 !important;
        line-height: 1.2 !important;
    }
      .fcdz-form-badge-text { 
          font-size: 11px !important; 
          font-weight: bold !important; 
          color: #0066ff !important; 
          white-space: nowrap !important;
      }
      .fcdz-form-badge-icon { 
          display: flex !important; 
          align-items: center !important; 
          justify-content: center !important; 
          color: #0066ff !important; 
      }


    /* في الهاتف والتابلت (متجاوب وذكي) */
    @media (max-width: 768px) {
        .fcdz-form-trust-badges {
            flex-wrap: wrap !important;
            justify-content: center !important;
            gap: 15px 10px !important;
            padding: 15px 10px !important;
        }
        .fcdz-form-badge-item {
            /* flex-grow: 1 يجعل العنصر يتمدد ليملأ الفراغ إذا كان وحيداً في السطر */
            flex: 1 1 45% !important; 
        }
    }

    
    .woocommerce ul.products li.product .astra-shop-thumbnail-wrap .ast-on-card-button,
    .woocommerce ul.products li.product .astra-shop-thumbnail-wrap .astra-cart-icon,
    .woocommerce ul.products li.product .ahfb-svg-iconset,
    .woocommerce ul.products li.product .ast-icon.icon-cart {
        display: none !important;
    }
    


    @media (max-width: 768px) {
        .fcdz-custom-dropdown .fcdz-dropdown-body {
            width: 200% !important;
            min-width: 250px !important;
            z-index: 99999 !important;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
            position: absolute !important;
        }

        #wilaya_dropdown .fcdz-dropdown-body {
            right: 0 !important;
            left: auto !important;
        }

        #commune_dropdown .fcdz-dropdown-body {
            left: 0 !important;
            right: auto !important;
        }

        /* إصلاح مظهر بطاقات المنتجات في الهاتف (تباعد، تصغير الخط) */
        .woocommerce ul.products li.product {
            margin-bottom: 15px !important;
        }
        .woocommerce ul.products li.product .woocommerce-loop-product__title,
        .woocommerce ul.products li.product h2.woocommerce-loop-product__title,
        .woocommerce ul.products li.product h2 {
            font-size: 13px !important;
        }
    }
    
    /* هذا الجزء تم دمجه مع التعريف أعلاه - لا حاجة لتكراره */
    
    .fcdz-home-hero-banner { display: block; width: 100%; margin-bottom: 20px; }
    .fcdz-home-hero-banner img { width: 100%; display: block; }
    
    .fcdz-home-cats-wrapper { max-width: 1200px; margin: 20px auto; padding: 0 15px; }
    .fcdz-home-cats-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 15px; scroll-behavior: smooth; padding-top: 10px; padding-bottom: 20px; -ms-overflow-style: none; scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
    .fcdz-home-cats-grid::-webkit-scrollbar { height: 6px; }
    .fcdz-home-cats-grid::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
    .fcdz-home-cats-grid::-webkit-scrollbar-track { background: transparent; }
    @media (min-width: 768px) {
        .fcdz-home-cats-grid { gap: 20px; }
    }
    @media (min-width: 1024px) {
        .fcdz-home-cats-grid { gap: 20px; }
        .fcdz-home-cats-grid.fcdz-center-cats { justify-content: center; }
    }
    .fcdz-home-cat-card { flex: 0 0 85%; max-width: 85%; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 15px; display: flex; align-items: center; justify-content: space-between; text-decoration: none !important; color: inherit; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
    @media (min-width: 768px) {
        .fcdz-home-cat-card { flex: 0 0 45%; max-width: 45%; }
    }
    @media (min-width: 1024px) {
        .fcdz-home-cat-card { flex: 0 0 calc(20% - 16px); max-width: calc(20% - 16px); }
    }
    .fcdz-home-cat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: #0066ff; }
    .fcdz-home-cat-content-left { display: flex; flex-direction: column; gap: 5px; }
    .fcdz-home-cat-title { font-size: 16px; font-weight: 700; margin: 0; color: #1e293b; }
    .fcdz-home-cat-desc { font-size: 12px; color: #64748b; }
    .fcdz-home-cat-icon { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; padding: 5px; }
    .fcdz-home-cat-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }

    .fcdz-home-hero-banner { display: block; width: 100%; transition: all 0.3s ease; }
    @media (min-width: 1025px) {
        .fcdz-home-hero-banner { max-width: 1200px; margin: 20px auto; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .fcdz-home-hero-banner img { border-radius: 20px; }
    }
    
    .fcdz-trust-badges-global-wrapper { max-width: 1200px; margin: 40px auto; padding: 0 15px; clear: both; }
    .fcdz-trust-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .fcdz-badge-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 15px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.02); transition: transform 0.3s ease; }
    .fcdz-badge-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.06); }
    .fcdz-badge-icon-wrap { width: 60px; height: 60px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; color: #0066ff; }
    .fcdz-badge-icon-wrap svg { width: 100%; height: 100%; }
    .fcdz-badge-icon-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
    .fcdz-badge-title { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
    .fcdz-badge-desc { font-size: 14px; color: #64748b; }
    
    @media (min-width: 768px) {
        .fcdz-trust-badges { grid-template-columns: repeat(4, 1fr); gap: 30px; }
        .fcdz-badge-item { padding: 20px 10px; border-radius: 20px; }
        .fcdz-badge-icon-wrap { width: 85px; height: 85px; margin-bottom: 15px; }
        .fcdz-badge-title { font-size: 18px; }
        .fcdz-badge-desc { font-size: 15px; }
    }
    