@font-face {
    font-family: 'MOLarabicRegular';
    src: url('../fonts/molarabic/MOLarabic Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #4B0082;
    --secondary-color: #e6e6e6;
    --text-color-dark: #333;
    --text-color-light: #fff;
    --font-family: 'Poppins', sans-serif;
    --top-bar-padding: 8px 0;
    --navbar-padding: 15px 0;
    --button-padding: 10px 20px;
    --border-radius: 5px;
    --primary-text-color: #ffffff;
    --secondary-text-color: #e0e0e0;
    --card-bg-color: rgba(255, 255, 255, 0.1);
    --card-border-color: #ff1493;
    --card-border-top-color: #1e90ff;
    --card-border-bottom-color: #ff1493;
    --card-hover-border: linear-gradient(90deg, #1e90ff, #8a2be2, #ff1493);
    --font-family: 'Poppins', sans-serif;
    --container-max-width: 1200px;
    --container-padding: 0 15px;
    --card-border-top-color: #1e90ff;
    --card-border-bottom-color: #ff1493;
    --card-border-side-color: #8a2be2;
    --card-border-width: 1px;
    --card-border-style: solid;
    --section-bg: #f5f5f5;
    --input-border: #ccc;
    --section-spacing: 50px 0;
    --header-spacing: 0 0 40px 0;
    --search-btn-hover: #5d00a3;
    --primary-text: #333;
    --secondary-text: #888;
    --link-color: #007bff;
    --link-hover-color: #0056b3;
    --card-bg: #fff;
    --card-border: #e0e0e0;
    --button-border: #007bff;
    --button-text-color: #007bff;
    --button-hover-bg: #eaf5ff;
    --view-all-bg: #007bff;
    --view-all-hover-bg: #0056b3;
    --container-product-padding: 50px 15px;
}

body {
    font-family: 'MOLarabicRegular' !important;
}



.top-bar {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: var(--top-bar-padding);
    font-family: 'Tahoma', sans-serif;
    direction: rtl; /* force RTL */
}

.top-menu {
    display: flex;
    justify-content: flex-start; /* align to right side in RTL */
    gap: 20px;
}

.top-menu .dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-toggle img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.custom-arrow {
    margin-right: 4px; /* space before arrow in RTL */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; /* align dropdown to the right in RTL */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 140px;
    z-index: 1000;
    text-align: right; /* align text for RTL */
}

.dropdown-content a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-content a:hover {
    background: #f1f1f1;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}
