/* bazaar */
.third-header {
    background-color: #5611d7; /* اللون البنفسجي المميز */
    color: white;
    /* direction: rtl; */ /* لضمان الترتيب من اليمين لليسار */
    padding: 8px 0;
    font-family: sans-serif;
}
.third-header .container-bazaar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.bazaar-logo img{
  width: 40px;
}
.right-sidebazaar {
    display: flex;
    align-items: center;
    gap: 20px;
}
.navbazaar-links {
    display: flex;
    list-style: none;
    gap: 15px;
}
.navbazaar-links a {
  margin: 0 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.navbazaar-links a:hover{
  border-bottom: 3px solid white;
}
.promo-banner {
    background-color: #87e8fb; /* اللون السماوي */
    color: #000;
    padding: 3px 15px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.free-shipping-tag {
    width: 120px;
    background: white;
    padding: 0 8px;
    border-radius: 10px;
    font-weight: bold;
    border: 1px solid #000;
}
.bazaar{
  padding: 0 10px;
  margin-bottom: 1000px;
  background-color: #eeeeee;
}
.slider-bazaar {
    position: relative;
    width: 100%;
    height: 220px; /* تأكدي أن الارتفاع هنا يطابق ارتفاع الصور */
    overflow: hidden;
}
.slider-bazaar img {
    width: 100%;
    height: 220px;
    object-fit: cover; /* يحافظ على أبعاد الصورة دون تشويهها */
}
.ticker-container {
    overflow: hidden;
    clear: both;
    position: relative;
    z-index: 10;
    width: 1500;
    background-color: #1a1e26;
}
.ticker-wrapper {
  margin: 0 10px;
  padding: 5px 10px;
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: ticker-move 100s linear infinite;
}
.ticker-item {
  color: white;
    padding-inline-end: 10px; 
    font-size: 14px;
    font-weight: bold;
}
@keyframes ticker-move {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%); 
    }
}
.categories-wrapper {
  background-color: white;
  position: relative;
  overflow: hidden;
  width: 100%;  
}
.categories-wrapper  button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    background:white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 16px 16px;
    border: 1px solid rgba(0, 0, 0, 0.351);
}
.categories-wrapper  button i{
  color: rgba(0, 0, 0, 0.351);
  font-size: 18px;
}
.categories-wrapper  button .fa-chevron-right{
  position: absolute;
  top: 11px;
  inset-inline-start: 11px;
}
.categories-wrapper  button .fa-chevron-left{
  position: absolute;
  top: 11px;
  inset-inline-end: 11px;
}
.categories-wrapper .left {
    inset-inline-end: 10px;
}
.categories-wrapper  .right {
    inset-inline-start: 10px;
}
.categories-section {
  overflow-x: auto;
  display: flex;
  padding: 0 25px;
  /* direction: rtl; */
  background-color: white;
  transition: transform 0.5s ease;
}
.categories-section::-webkit-scrollbar {
    display: none;
}
.category-card {
  margin: 10px 0 10px 25px;
}
.imagebaz-box {
    width: 160px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
.imagebaz-box img {
    width: 100%;
    height: 130px;
}
.category-card p {
    font-size: 16px;
    font-weight: bold;
    color: black;
    text-align: center;
    margin: 0;
    cursor: pointer;
}
.products-container-bazaar {
    padding: 0 20px;
    /* direction: rtl; */
    background-color: white;
}
.tabs-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
    margin: 10px 0;
}
.tabs-list li {
  cursor: pointer;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    position: relative;
    padding: 10px 0;
}
.tabs-list li:hover{
  border-bottom: 3px solid black;
  color: black;
  font-weight: bold;
}
.products-grid-bazaar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}
.product-card-bazaar {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}
.elnagda{
  padding-top: 20px;
}
.add-to-cart-btn {
    margin-inline-start: 60px;
    position: static;
    background-color: #ffd814;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: bold;
}
.prod-pric{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.product-image-bazaar {
  width: 100%;
    position: relative;
    background-color: #f9f9f9;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-image-bazaar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-info-bazaar {
    padding: 10px;
}
.pro-text{
  height: 35px;
}
.product-title {
    font-size: 12px;
    height: 17px;
    overflow: hidden;
    margin-bottom: 5px;
    line-height: 1.4;
}
.stock-label {
  width: 100px;
    background-color: rgb(252, 166, 5);
    color: black;
    font-size: 11px;
    padding: 2px 0;
    border-radius: 25px;
}
.product-price-bazaar {
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.amount { font-size: 18px; }
.currency { font-size: 12px; }







.header-for-phone,.footer-mobile, .slider-bazaar .bazaar-for-phone, .bazaar .gif-phone {
  display: none;
}
@media (max-width: 768px) {
  .header-for-phone, .footer-mobile, .slider-bazaar .bazaar-for-phone, .bazaar .gif-phone {
    display: block;
  }
  .bazaar-logo, .left-sidebazaar, .slider-bazaar .btns, .categories-wrapper button, .slider-bazaar .slides-bazaar, .bazaar .gif-none{
    display: none;
  }
  .container-bazaar{
    padding: 0 !important;
    height: 30px;
  }
  .navbazaar-links a{
    white-space: nowrap;
  }
  .navbazaar-links {
    gap: 0;
  }
  .bazaar{
    margin: 0;
    padding: 0;
  }
  .right-sidebazaar{
    overflow-x: auto;
  }
  .slider-bazaar{
    height: auto;
  }
  .slider-bazaar .bazaar-for-phone img{
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .imagebaz-box img{
    width: 80px;
    height: 65px;
  }
  .category-card {
    text-align: center;
  }
  .category-card p{
    font-size: 14px;
  }
  .imagebaz-box{
    width: 90px;
  }
  .categories-section{
    padding: 0 10px;
  }
  .category-card {
    margin: 10px 0;
  }
  .bazaar .gif-phone{
    height:100%;
  }
  .bazaar .gif-phone img{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .products-container-bazaar .tabs-list{
    overflow-x: auto;
  }
  .products-container-bazaar .tabs-list::-webkit-scrollbar{
    display: none;
  }
  .products-container-bazaar .tabs-list li{
    white-space: nowrap;
  }
  .products-grid-bazaar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
}