:root {
    /* تعريف الألوان لتطابق التصميم الأصلي */
    --bs-primary: #EF4444;
    --bs-primary-rgb: 239, 68, 68;
    --bs-secondary: #0F3D6E;
    --bs-secondary-rgb: 15, 61, 110;
    --accent-yellow: #FCD34D;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #F9FAFB;
}

/* تعديلات على بوتستراب لتطابق الألوان */
.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

.text-secondary {
    color: var(--bs-secondary) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.btn-secondary:hover {
    background-color: #0c325b;
}

/* Custom Utilities */
.rounded-xl {
    border-radius: 1rem !important;
}

.rounded-2xl {
    border-radius: 1.5rem !important;
}

.fs-7 {
    font-size: 0.75rem;
}

/* نص صغير جداً */

/* تأثير تكبير الصورة عند الوقوف عليها (Hover) */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.product-card .card-img-wrapper img {
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

/* Group Hover mimic for Text */
.product-card:hover .product-title {
    color: var(--bs-primary);
}

/* Custom Scrollbar hide */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Search Input Styling */
.search-container input:focus {
    box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.25);
    border-color: var(--bs-primary);
}

/* Checkbox Custom Color */
.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Footer Links */
.footer-link {
    color: #bfdbfe;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #fff;
}

/* Product Details Page Styles */

/* Product Image Hover Effect */
.product-img-container {
    overflow: hidden;
}

.product-img-container img {
    transition: transform 0.5s ease;
}

.product-img-container:hover img {
    transform: scale(1.05);
}

/* Product Cards Cart Button */
.product-card .cart-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.product-card:hover .cart-btn {
    opacity: 1;
    transform: translateY(0);
}

.review-stars .filled {
    color: #FCD34D;
    font-variation-settings: 'FILL' 1;
}

.review-stars .empty {
    color: #E5E7EB;
    font-variation-settings: 'FILL' 0;
}

.w-fit {
    width: fit-content;
}

.hover-underline:hover {
    text-decoration: underline !important;
}

.object-fit-contain {
    object-fit: contain;
}