 @import url('https://fonts.googleapis.com/earlyaccess/opensanshebrewcondensed.css');

/* בסיס */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans Hebrew Condensed', sans-serif;
    background-color: #f8f9fa;
    direction: rtl;
    text-align: right;
	font-size: 1.07rem
}

.text {font-family: 'Open Sans Hebrew Condensed', sans-serif;}
.font {font-family:Open Sans Hebrew Condensed}



/* באנר ראשי */
.main-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* עיצוב כרטיסים בעמוד הבית */
.homepage .card {
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 0px;
    background-color: white;
    border: none;
    margin-bottom: 10px;
}

.homepage .card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.badge-sale {
    position: absolute;
    top: 10px;
    right: -10px;
    background: red;
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.homepage .card-title {
    font-size: 2em;
    font-weight: bold;
    color: #0000FF;
}

.homepage .card-description {
    font-size: 16px;
    font-weight: normal;
    color: #000;
    margin-bottom: 8px;
}

.homepage .card-text {
    font-size: 3em;
    font-weight: bold;
    color: #000;
}

/* כפתורים */
.btn-primary {
    background-color: #007bff;
    border-radius: 6px;
    border: none;
    font-size: 18px;
    padding: 10px;
}
.btn-primary:hover {
    background-color: #0056b3;
}

.btn-success {
    background-color: #33CC00;
    border-radius: 6px;
    border: none;
    font-size: 18px;
    padding: 10px;
}
.btn-success:hover {
    background-color: #CCCC00;
}

.btn-danger {
    background-color: #FF0000;
    border-radius: 6px;
    border: none;
    font-size: 18px;
    padding: 10px;
}
.btn-danger:hover {
    background-color: #0056b3;
}

/* טפסים */
.form-control {
    border-radius: 6px;
    padding: 10px;
    font-size: 16px;
}

.form-container,
.form-right {
    max-width: 600px;
    float: right;
    margin-right: 0;
    margin-left: auto;
    text-align: right;
    direction: rtl;
}

/* קישורים */
.text-center a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}
.text-center a:hover {
    text-decoration: underline;
    color: yellow;
}

/* קישורים בעמוד התחברות */
.login-container .text-center a {
    color: black;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}
.login-container .text-center a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* טבלאות */
.user-table-container,
.table-container {
    max-width: 900px;
    margin: auto;
}

.description-row td {
    text-align: right;
    font-size: 14px;
    background-color: #f9f9f9;
}

tr.highlight-homepage {
    background-color: #fff3cd !important;
    border: 10px solid red !important;
}

/* התאמות רוחב לפי מסך */
@media (min-width: 1200px) {
  body.index-page .homepage .row > div {
    flex: 0 0 25%;
    max-width: 25%;
	
	
  }
}


/* לוגו – אם תשתמש שוב בעתיד */
.logo-container {
    margin-bottom: 20px;
}
.logo {
    max-width: 250px;
    height: auto;
}
@media (max-width: 768px) {
    .logo {
        max-width: 250px;
    }
}

/* קונטיינר עמוד הבית */
.homepage .container {
    max-width: 1200px;
	
}
.category-bg-0 { background-color: #f8f9fa; }  /* אפור בהיר */
.category-bg-1 { background-color: #e3f2fd; }  /* תכלת בהיר */
.category-bg-2 { background-color: #fff3e0; }  /* כתום בהיר */
.category-bg-3 { background-color: #f3e5f5; }  /* סגול בהיר */
.category-bg-4 { background-color: #e8f5e9; }  /* ירוק בהיר */
.category-bg-5 { background-color: #fbe9e7; }  /* ורוד אפרסק */
.category-bg-6 { background-color: #ede7f6; }  /* לילך */
.category-bg-7 { background-color: #f9fbe7; }  /* צהוב פסטל */
.category-bg-8 { background-color: #e0f7fa; }  /* טורקיז בהיר */
.category-bg-9 { background-color: #fce4ec; }  /* ורוד בייבי */

.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* יישור תפריט משנה לימין */
.dropdown-submenu {
    direction: rtl;
    text-align: right;
    padding-right: 10px;
    background-color: #fff;
    border: none;
    box-shadow: none;
}

/* עיצוב פריטי תפריט – טקסט בלבד */
.dropdown-submenu a {
    display: block;
    color: #dc3545;
    padding: 5px 0;
    font-weight: 500;
    text-decoration: none;
}

.dropdown-submenu a:hover {
    background-color: transparent;
    color: #a71d2a;
}
/* יישור כל תפריט המשנה לימין */
.dropdown-submenu {
    direction: rtl;
    text-align: right;
}

/* עיצוב כל פריט בתפריט (li > a) */
.dropdown-submenu a.dropdown-item {
    padding-right: 10px; /* רווח מימין בתוך הפריט */
    padding-left: 10px; /* איזון מצד שמאל */
    text-align: right;
    color: #dc3545;
    background-color: transparent;
    font-weight: 500;
}

/* hover */
.dropdown-submenu a.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #a71d2a;
}
/* הקטנת גובה ברירת מחדל של תפריט הניווט */
.navbar {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

 
select {
  width: 50% !important;
  font-size: inherit !important; /* משאיר את הפונט כמו שהיה */
}
.call-now-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 16px;
}
.whatsapp-fixed {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 16px;
}
.original-price {
  position: relative;
  font-size: 1.5rem;
  color: #888;
  display: inline-block;
  font-family: 'Anton', sans-serif;
}

.original-price::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #888;
  transform: rotate(-10deg);
  transform-origin: center;
}


#popupOverlay {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

#whatsappPopup {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: white;
  margin: 0px;
  z-index: 9999;
  width: 90%;
  
  border: 0px solid #28a745;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
  direction: rtl;
  text-align: right;
}

.popup-content {
  padding: 20px;
  font-size: 1.5rem;
}

.popup-content a {
  word-break: break-word;
  font-size: 1.2rem;
}

#filterTabs {
  gap: 2px;
  margin: 0;
}

#filterTabs .nav-link {
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1;
}

#filterTabs .nav-item {
  margin: 0 !important;
}
