
        :root {
            --primary-color: #1d47bd;
            --primary-light: #1d47bf;
            --secondary-color: #f4f0ed;
            --dark-color: #2c3e50;
            --light-color: #ffffff;
            --accent-color: #f39c12;
        }
        
        body {
            font-family: 'Tajawal', sans-serif;
            background-color: #f9f9f9;
            color: #333;
        }
        
        /* Header & Navigation */
        .shipping-banner {
            background-color: var(--primary-color);
            color: white;
            padding: 10px 0;
            text-align: center;
            font-weight: 500;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { background-color: var(--primary-color); }
            50% { background-color: var(--primary-light); }
            100% { background-color: var(--primary-color); }
        }
        
        .shipping-banner i {
            margin-left: 8px;
        }
        
        .navbar {
            background-color: var(--light-color);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 5px 0;
        }
        
        .navbar-brand img {
            height: 40px;
        }
        
        .nav-link {
            color: var(--dark-color);
            font-weight: 500;
            margin-left: 15px;
            transition: color 0.3s;
        }
        
        .nav-link:hover {
            color: var(--primary-color);
        }
        
        .navbar-nav {
            margin: 0 auto;
            display: flex;
            justify-content: center;
        }
        
        /* .navbar-toggler {
            border: none;
            padding: 0.25rem 0.5rem;
        } */
        
        .navbar-toggler:focus {
            box-shadow: none;
        }
        
        /* Product Gallery */
        .product-gallery {
            position: relative;
            margin-bottom: 20px;
        }
        
        .main-image {
            height: 400px;
            object-fit: scale-down;
            width: 100%;
            background-color: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
         .thumbnail-container {
  display: flex;
  gap: 13px;
  margin-top: 13px;

  justify-content: center; /* centers along the main axis (horizontally by default) */
  align-items: center;     /* centers along the cross axis (vertically by default) */
}
        
        .thumbnail {
            width: 95px;
            height: 95px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 5px;
            transition: all 0.3s;
        }
        
        .thumbnail:hover, .thumbnail.active {
            border-color: var(--primary-color);
        }
        
        /* Product Info */
        .product-info-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.05);
        }
        
        .product-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--dark-color);
        }
        
        .product-meta {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .rating {
            color: #ffc107;
            margin-left: 10px;
        }
        
        .review-count {
            color: #777;
            margin-right: 15px;
        }
        
        .availability {
            color: #28a745;
            font-weight: 500;
        }
        
        .price-container {
            margin: 25px 0;
        }
        
        .current-price {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .old-price {
            text-decoration: line-through;
            color: #999;
            margin-right: 15px;
            font-size: 20px;
        }
        
        .discount-badge {
            background-color: #dc3545;
            color: white;
            padding: 3px 10px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 500;
        }
        
        .stock-alert {
            color: #dc3545;
            font-weight: 400;
            margin-top: 6px;
        }
        
        .delivery-info {
            background-color: #f8f9fa;
            padding: 5px;
            border-radius: 4px;
            margin: 5px 0;
        }
        
        .delivery-info i {
            color: var(--primary-color);
            margin-left: 8px;
        }
        
        .quantity-selector {
            display: flex;
            align-items: center;
            margin: 20px 0;
        }
        
        .quantity-btn {
            width: 40px;
            height: 40px;
            background-color: var(--secondary-color);
            border: none;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
        }
        
        .quantity-input {
            width: 60px;
            height: 40px;
            text-align: center;
            border: 1px solid #ddd;
            margin: 0 5px;
        }
        
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 25px;
        }
        
        .add-to-cart {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 5px;
            font-weight: 500;
            transition: all 0.3s;
            flex-grow: 1;
        }
        
        .add-to-cart:hover {
            background-color: var(--primary-light);
            transform: translateY(-2px);
        }
        
        .wishlist-btn {
            background-color: white;
            color: var(--dark-color);
            border: 1px solid #ddd;
            padding: 12px;
            border-radius: 5px;
            transition: all 0.3s;
        }
        
        .wishlist-btn:hover {
            color: #dc3545;
            border-color: #dc3545;
        }
        
        /* Product Tabs */
        .product-tabs {
            margin-top: 50px;
        }
        
        .nav-tabs .nav-link {
            color: var(--dark-color);
            font-weight: 500;
            border: none;
            padding: 12px 20px;
        }
        
        .nav-tabs .nav-link.active {
            color: var(--primary-color);
            border-bottom: 3px solid var(--primary-color);
            background: none;
        }
        
        .tab-content {
            padding: 25px;
            background: white;
            border-radius: 0 0 8px 8px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.05);
        }
        
        .features-list {
            list-style-type: none;
            padding: 0;
        }
        
        .features-list li {
            margin-bottom: 10px;
            padding-right: 20px;
            position: relative;
        }
        
        .features-list li:before {
            content: "✓";
            color: var(--primary-color);
            position: absolute;
            right: 0;
        }

        /* Modal Styles */
        .order-modal .modal-content {
            border-radius: 10px;
            border: none;
        }
        
        .order-modal .modal-header {
            background-color: var(--primary-color);
            color: white;
            border-bottom: none;
            border-radius: 10px 10px 0 0;
        }
        
        .order-modal .modal-title {
            font-weight: 700;
        }
        
        .order-modal .modal-body {
            padding: 30px;
        }
        
        .order-modal .form-label {
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .order-modal .form-control {
            padding: 12px 15px;
            margin-bottom: 20px;
            border: 1px solid #ddd;
            border-radius: 8px;
        }
        
        .order-modal .btn-submit {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 5px;
            font-weight: 500;
            width: 100%;
        }
        
        .order-modal .btn-submit:hover {
            background-color: var(--primary-light);
        }
        
        .order-modal .quantity-display {
            background-color: #f8f9fa;
            padding: 10px 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .client-reviews {
            background-color: #f8f9fa;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }
        
        .client-reviews h2 {
            font-weight: 700;
            color: #1d47bd;
            position: relative;
            padding-bottom: 15px;
        }
        
        .client-reviews h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 50%;
            transform: translateX(50%);
            width: 80px;
            height: 3px;
            background: #1d47bd;
        }
        
        .client-reviews .card {
            border: none;
            border-radius: 10px;
            transition: transform 0.3s;
        }
        
        .client-reviews .card:hover {
            transform: translateY(-5px);
        }
        
        .client-reviews .rating {
            font-size: 18px;
        }
        
        .client-reviews .btn-primary {
            background-color: #1d47bd;
            border-color: #1d47bd;
            padding: 5px 15px;
            font-weight: 400;
        }
        
        .client-reviews .btn-primary:hover {
            background-color: #15379e;
            border-color: #15379e;
        }

        .client-reviews {
        padding-top: 1rem;
        padding-bottom: 1rem;
        }

        .client-reviews .card-text {
        font-size: 0.9rem;
        }

        .client-reviews .card-title {
        font-size: 1rem;
        }

        .client-reviews .text-muted {
        font-size: 0.85rem;
        }

        /* Footer */
        .footer {
            background-color: var(--dark-color);
            color: white;
            padding: 50px 0 20px;
            margin-top: 50px;
        }
        
        .footer-logo {
            height: 50px;
            margin-bottom: 20px;
        }
        
        .footer-links h5 {
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
            color: white;
        }
        
        .footer-links h5::after {
            content: '';
            position: absolute;
            right: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background-color: var(--primary-color);
        }
        
        .footer-links ul {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .social-icons a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            color: white;
            margin-left: 10px;
            transition: all 0.3s;
        }
        
        .social-icons a:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
        }
        
        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
            margin-top: 30px;
            text-align: center;
            color: #aaa;
            font-size: 14px;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .main-image {
                height: 300px;
            }
            .thumbnail-container {
                display: flex;
                gap: 6px;
                margin-top: 10px;
            }
            .thumbnail {
                width: 80px;
                height: 80px;
                object-fit: cover;
                cursor: pointer;
                border: 2px solid transparent;
                border-radius: 5px;
                transition: all 0.3s;
            }
            
            .product-title {
                font-size: 24px;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .navbar-nav {
                padding: 10px 0;
            }
            
            .nav-link {
                margin-left: 0;
                padding: 8px 0;
            }
            
            .footer-logo {
                height: 40px;
            }
        }

        /* Floating Order Button Styles */
        .floating-order-btn {
            position: fixed;
            bottom: 20px;
            left: 0;
            right: 0;
            margin: 0 auto;
            z-index: 999;
            width: 90%;
            max-width: 400px;
            display: none; /* Hidden by default, will be shown with animation */
            text-align: center; /* Ensure content is centered */
        }
        
        .order-btn {
            display: inline-flex; /* Changed to inline-flex for better centering */
            align-items: center;
            justify-content: center;
            background-color: #1d47bd;
            color: white;
            text-decoration: none;
            padding: 15px 25px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 18px;
            box-shadow: 0 5px 15px rgba(29, 71, 189, 0.3);
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }
        
        .order-btn:hover {
            background-color: #15379e;
            transform: translateY(-2px);
            box-shadow: 0 7px 20px rgba(29, 71, 189, 0.4);
            color: white;
        }
        
        .order-btn i {
            margin-right: 10px;
            font-size: 20px;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(29, 71, 189, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(29, 71, 189, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(29, 71, 189, 0);
            }
        }
        
        /* Mobile-specific styles */
        @media (max-width: 992px) {
            .floating-order-btn {
                width: 95%;
                bottom: 10px;
            }
            
            .order-btn {
                padding: 12px 20px;
                font-size: 16px;
            }
        }
        
        /* WhatsApp Button Styles */
        .whatsapp-btn {
            position: fixed;
            bottom: 100px;
            left: 20px;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 60px;
            font-size: 30px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            z-index: 999;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .whatsapp-btn:hover {
            background-color: #128C7E;
            transform: scale(1.1);
            color: white;
        }
        
        /* Back to Top Button Styles */
        .back-to-top-btn {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 50px;
            height: 50px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            z-index: 999;
            transition: all 0.3s;
            display: none; /* Hidden by default */
            align-items: center;
            justify-content: center;
        }
        
        .back-to-top-btn:hover {
            background-color: var(--primary-light);
            transform: translateY(-5px);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            
            .whatsapp-btn {
                width: 50px;
                height: 50px;
                font-size: 25px;
                line-height: 50px;
                bottom: 80px;
                left: 15px;
            }
            
            .back-to-top-btn {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
        }
        
        @media (max-width: 480px) {
            .thumbnail-container {
  display: flex;
  gap: 5px;
  margin-top: 5px;

  justify-content: center; /* centers along the main axis (horizontally by default) */
  align-items: center;     /* centers along the cross axis (vertically by default) */
}

            .thumbnail {
                width: 50px;
                height: 50px;
                object-fit: cover;
                cursor: pointer;
                border: 2px solid transparent;
                border-radius: 5px;
                transition: all 0.3s;
            }
        }
.input-group .form-control {
  height: 45px; /* Set a fixed height to control everything */
}

.input-group-text {
  height: 45px;               /* Match the input's height exactly */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  background-color: #e9ecef;
  border-radius: 0 0.375rem 0.375rem 0;
}
/* Button animation once the user send that */
/* Simple loading spinner animation inside the button */
.loading::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

    