/* today's header */
.today-header{
  width: 100%;
  background-color: #f2f0f0;
}
.today-header ul{
  list-style: none; 
  padding: 0;
  display: flex;
}
.today-links li a{
  padding: 7px 10px;
  color: #888;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
li .un-today{
  color: black;
}
.un-today:hover{
  color: #0066c0;
}
.today-links li a:hover {
    border-bottom: 2px solid #0066c0;
    color: #0066c0;
}
 .slider-today {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 0;
    background: #fff;
    /* direction: rtl; */
    position: relative;
    margin: 15px 30px 0;
}
.content-slider-today {
  margin-bottom: 19px;
  display: flex;
  gap: 5px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  white-space: nowrap;
  padding: 10px 0 10px 15px;
  width: 1400px;
}
.content-slider-today a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    font-size: 14px;
    padding: 16px 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #fff;
    transition: background 0.2s;
}
.prev-today, .next-today {
  padding: 26px 12px;
    margin-top: -18px;
    background: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    position: static;
}
.prev-today i, .next-today i{
  font-size: 14px;
}
.filter-sidebar {
    /* direction: rtl; */
    width: 280px;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    color: #111;
}
.filter-title-today {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}
.filter-item-today {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 8px;
    cursor: pointer;
    position: relative;
    padding-inline-start: 25px;
}
.filter-item-today input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.custom-radio {
    position: absolute;
    inset-inline-start: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #a2a2a2;
    border-radius: 50%;
}
.filter-item-today input:checked ~ .custom-radio {
    border: 6px solid #007185;
}
.hidden-categories {
    display: none;
    transition: all 0.3s ease;
}
.see-more-btn {
    background: transparent;
    border: none;
    color: #007185;
    font-size: 13.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    margin-top: 5px;
    position: static;
}
.see-more-btn:hover {
    color: #c45500;
    text-decoration: underline;
}
.icon-sm {
    font-size: 10px;
}
.filter-item-brand {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-inline-start: 28px; /* مسافة للمربع */
}
.filter-item-brand input {
    position: absolute;
    opacity: 0;
}
.square {
    position: absolute;
    inset-inline-start: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #a2a2a2;
    border-radius: 2px; /* مربع بحواف ناعمة جداً */
}
.filter-item-brand:hover .square {
    border-color: #007185;
}
.filter-item-brand input:checked ~ .square {
    background-color: #007185;
    border-color: #007185;
}
.filter-item-brand input:checked ~ .square:after {
    content: "";
    position: absolute;
    inset-inline-end: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.hidden-categories {
    display: none;
}
.filter-section-range {
    /* direction: rtl; */
    width: 280px;
    padding: 20px;
}
.main-today{
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
  width: 100%;
  /* direction: rtl; */
}
.today-main{
  display: flex;
  margin-bottom: 50px;
}
.today-main aside{
  width: 260px;
  padding: 0 30px 30px;
}
.product-card-today{
  border: 1px solid #eee;
  padding: 10px;
  cursor: pointer;
}
.image-container-today{
  position: relative;
}
.image-container-today img{
  width: 100%;
  height: 150px;
  object-fit: contain;
}
.add-btn-today{
  position: absolute;
  top: 120px;
  inset-inline-end: -4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ffd814;
  cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    /* font-weight: bold; */
    border: none;
}
.badge-row-today{
  display: flex;
}
.discount-badge-today{
  height: 23px;
  white-space: nowrap;
  padding: 5px;
  font-size: 10px;
  border-radius: 6px;
  color: white;
  background-color: #CC0C39;
}
.text-badge-today{
  padding-inline-start: 11px;
  color: #CC0C39;
  font-size: 12px;
  font-weight: bold;
}
.price-row-today h3{
  font-weight: 400;
  font-size: 18px;
}
.price-row-today{
  height: 50px;
}
.price-row-today p{
  color: #c2bdb6;
  font-size: 12px;
}
.list-price-today{
  text-decoration: line-through;
  margin: 0;
  padding: 0;
}
.text-container-today p{
  font-size: 14px;
  height: 40px;
  overflow: hidden;
}
.text-container-today a {
  color: #0066c0;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}
.range-container {
    width: 100%;
    max-width: 100%; 
    /* direction: rtl; */    
    font-family: sans-serif;
    padding: 10px 0; 
    box-sizing: border-box;
}
.range-values {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.range-values .separator {
    margin: 0 7px;
}
.slider-price-wrapper {
    position: relative;
    width: 100%; 
    max-width: 100%;
    height: 6px;
    background-color: #ddd; 
    border-radius: 10px;
    box-sizing: border-box;
}
.slider-price-wrapper input[type="range"] {
    position: absolute;
    width: 100% !important; 
    max-width: 100% !important;
    height: 6px;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    background: none; 
    pointer-events: none; 
    -webkit-appearance: none;
    appearance: none;
    margin: 0 !important; 
    padding: 0 !important; 
}
.slider-price-wrapper input[type="range"] {
    position: absolute;
    width: 100% !important;
    max-width: 100% !important;
    height: 6px;
    background: none; 
    pointer-events: none; 
    -webkit-appearance: none;
    appearance: none;
    margin: 0 !important;
    padding: 0 !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.slider-price-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid #1f63a6; 
    cursor: pointer;
    pointer-events: auto; 
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); 
    position: relative;
    z-index: 10;
}
.slider-price-wrapper input[type="range"]::-moz-range-thumb {
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid #1f63a6;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}



.header-for-phone,.footer-mobile{
  display: none;
}
@media (max-width: 768px) {
  .header-for-phone, .footer-mobile {
    display: block;
  }
  .today-header, .slider-today button{
    display: none;
  }
  .slider-today .content-slider-today{
    width: 380px !important;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0;
  }
  .slider-today{
    margin: 0;
  }
  .slider-today .content-slider-today::-webkit-scrollbar {
    display: none;
  }
  .main-today{
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  width: 100%;
  /* direction: rtl; */
  }

}