
        .btn-primary {
            background-color: #ff7604 !important;
            border-color: #ff7604 !important;
        }

        .btn-primary:hover,
        .btn-primary:focus,
        .btn-primary:active {
            background-color: #e96800 !important;
            border-color: #e96800 !important;
        }

        .btn-outline-primary {
            color: #ff7604 !important;
            border-color: #ff7604 !important;
        }

        .btn-outline-primary:hover,
        .btn-outline-primary:focus,
        .btn-outline-primary:active {
            color: #fff !important;
            background-color: #ff7604 !important;
            border-color: #ff7604 !important;
        }

        /* أنماط أزرار التنقل في كاروسيل المنتج (مثل بطاقات المنتجات) */
        /* زر الاتصال بأزرق بدل الأخضر */
        .btn-call {
            background-color: #0d6efd !important;
            border-color: #0d6efd !important;
            color: #ffffff !important;
        }
        .btn-call:hover,
        .btn-call:active,
        .btn-call:focus {
            background-color: #0b5ed7 !important;
            border-color: #0a58ca !important;
            color: #ffffff !important;
        }

        .carousel-control-prev,
        .carousel-control-next {
            width: 40px;
            height: 40px;
            background-color: rgba(255, 122, 0, 0.85);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            border: 2px solid white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            opacity: 1;
            transition: background-color 0.2s ease;
        }
        
        .carousel-control-prev {
            right: 10px !important;
            left: auto !important;
        }
        
        .carousel-control-next {
            left: 10px !important;
            right: auto !important;
        }
        
        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            background-color: #ff7a00;
        }
        
        @media (max-width: 767.98px) {
            /* نفس أزرار التقليب في الصفحات الرئيسية */
            div[id*="productCarousel"] .carousel-control-prev,
            div[id*="productCarousel"] .carousel-control-next {
                width: 50px !important;
                height: 50px !important;
                background-color: rgba(255, 122, 0, 0.95) !important;
                border: 3px solid white !important;
                border-radius: 50% !important;
                opacity: 1 !important;
                z-index: 999 !important;
                box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
            }
        }
        @media (max-width: 575.98px) {
            div[id*="productCarousel"] .carousel-control-prev,
            div[id*="productCarousel"] .carousel-control-next {
                width: 46px !important;
                height: 46px !important;
                border-width: 2px !important;
            }
            div[id*="productCarousel"] .carousel-control-prev {
                right: 8px !important;
                left: auto !important;
            }
            div[id*="productCarousel"] .carousel-control-next {
                left: 8px !important;
                right: auto !important;
            }
        }
        
        .carousel-control-prev-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
            width: 20px;
            height: 20px;
        }
        
        .carousel-control-next-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
            width: 20px;
            height: 20px;
        }
    

    .offer-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
    }
    .offer-badge .badge {
        font-size: 0.9rem;
        padding: 8px 12px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .original-price {
        text-decoration: line-through;
        color: #6c757d;
        font-size: 0.9em;
    }
    .product-image {
        max-width: 100%;
        max-height: 400px;
        object-fit: contain;
    }
    .product-detail-wrapper {
        height: 450px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        position: relative;
        background-color: #f8f9fa;
        padding: 10px;
    }
    .product-detail-wrapper .carousel {
        width: 100%;
        height: 100%;
    }
    .product-detail-wrapper .carousel-inner {
        height: 100%;
    }
    .product-detail-wrapper .carousel-item {
        height: 100%;
    }
    .product-detail-wrapper .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .product-image-carousel .carousel-item,
    .product-detail-wrapper .carousel-item {
        display: none;
        height: auto;
    }
    .product-image-carousel .carousel-item.active,
    .product-detail-wrapper .carousel-item.active {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .product-price-tag {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background-color: #ff7a00;
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-weight: bold;
    }
    

    /* تحسينات صفحة التفاصيل على الشاشات الصغيرة */
    @media (max-width: 991.98px) {
        .product-detail-wrapper {
            height: 340px;
        }
        .product-detail-wrapper .product-image {
            max-height: 320px;
        }
    }
    @media (max-width: 575.98px) {
        .container.my-5 {
            margin-top: 0.75rem;
            margin-bottom: 1rem;
        }
        h1 {
            font-size: 1.25rem !important;
            margin-bottom: 0.75rem !important;
        }
        .product-detail-wrapper {
            height: 300px;
        }
        .product-detail-wrapper .product-image {
            max-height: 280px;
        }
        .product-price-tag {
            font-size: 0.85rem;
            padding: 4px 8px;
            bottom: 8px;
            right: 8px;
        }
        .contact-row .btn {
            width: 100%;
            margin: 0 0 8px !important;
            font-size: 0.95rem;
            padding: 10px;
        }
        .back-btn {
            width: 100%;
            font-size: 0.9rem;
            padding: 8px;
        }
        .add-cart-btn {
            width: 100%;
            margin-bottom: 0.5rem !important;
        }
        .col-md-6 h5 {
            font-size: 1rem;
        }
        .col-md-6 p {
            font-size: 0.9rem;
        }
    }
    @media (max-width: 767.98px) {
        .product-price-tag {
            display: none !important;
        }
    }
    