/* סגנונות כלליים לאתר */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa; 
    color: #333;
    direction: rtl;
    text-align: right;
	
}

/* כותרת האתר */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    max-height: 60px;
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.main-menu li {
    margin: 0 15px;
}

.main-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.main-menu a:hover {
    color: #007bff;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 100%;
}

.search-box button {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
}

/* סרגל רשתות חברתיות */
.social-bar {
    background-color: #343a40;
    padding: 10px 0;
    color: white;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #007bff;
}

.top-social-bar {
    border-bottom: 1px solid #495057;
}

.bottom-social-bar {
    border-top: 1px solid #495057;
}

/* תוכן ראשי */
.main-content {
    padding: 30px 0;
}

.section-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 100px;
    height: 2px;
    background-color: #007bff;
}

/* כרטיסי מוצרים */
.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-details {
    padding: 20px;
}

.product-details h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-details .category {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-details .price {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 15px;
}

/* כרטיסי קטגוריות */
.category-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-image {
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.category-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.category-card h3 {
    padding: 15px;
    margin: 0;
    font-size: 18px;
}

/* דף פרטי מוצר */
.product-details-page .product-image {
    height: 400px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-info .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 20px;
}

.product-info h1 {
    margin-bottom: 20px;
}

.product-info .sku {
    color: #6c757d;
    margin-bottom: 20px;
}

.product-info .price {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 30px;
}

.product-meta {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 30px;
}

/* דף צור קשר */
.contact-page .contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-page .contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-details ul, .business-hours ul {
    list-style: none;
    padding: 0;
}

.contact-details li, .business-hours li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-details i, .business-hours i {
    margin-left: 10px;
    width: 20px;
    text-align: center;
}

/* תחתית האתר */
.footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0 20px;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 15px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer li {
    margin-bottom: 10px;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #495057;
    text-align: center;
    color: #adb5bd;
    font-size: 14px;
}

/* סגנונות למערכת הניהול */
.admin-panel {
    background-color: #f5f7fa;
}

.admin-nav {
    width: 250px;
    background-color: #343a40;
    color: white;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.admin-nav-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #495057;
}

.admin-logo {
    display: flex;
    align-items: center;
}

.admin-logo img {
    max-height: 30px;
    margin-left: 10px;
}

.admin-logo span {
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 20px;
}

.admin-nav-links {
    padding: 20px 0;
    overflow-y: auto;
    height: calc(100% - 61px);
}

.admin-user-info {
    padding: 0 20px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #495057;
    margin-bottom: 20px;
}

.admin-user-avatar {
    font-size: 40px;
    margin-left: 15px;
    color: #adb5bd;
}

.admin-user-details h4 {
    margin: 0;
    font-size: 16px;
}

.admin-user-details p {
    margin: 0;
    color: #adb5bd;
    font-size: 14px;
}

.admin-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav li {
    margin-bottom: 5px;
}

.admin-nav li.menu-section {
    padding: 10px 20px;
    color: #adb5bd;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.admin-nav li:first-child.menu-section {
    margin-top: 0;
}

.admin-nav a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s;
}

.admin-nav a:hover, .admin-nav li.active a {
    background-color: #495057;
    color: white;
}

.admin-nav a i {
    margin-left: 10px;
    width: 20px;
    text-align: center;
}

.admin-main {
    margin-right: 250px;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

.admin-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.admin-breadcrumb .breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

.admin-notifications .notification-icon {
    color: #6c757d;
    position: relative;
    font-size: 18px;
}

.admin-notifications .badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.admin-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-actions {
    margin-top: 30px;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    font-size: 24px;
    color: #007bff;
}

.stat-info h3 {
    font-size: 28px;
    margin: 0;
    color: #343a40;
}

.stat-info p {
    margin: 0;
    color: #6c757d;
}

.quick-action-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    display: block;
    color: #343a40;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #007bff;
}

.quick-action-card i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #007bff;
}

.quick-action-card h3 {
    margin: 0;
    font-size: 18px;
}

.current-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.import-instructions {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.import-instructions ol, .import-instructions ul {
    padding-right: 20px;
}

.import-instructions li {
    margin-bottom: 10px;
}