/* start index css */

/* top ten */

.top-ten-store {
    display: flex;
    flex-wrap: wrap;
}


.baner {
    padding: 2rem 0;
    text-align: center;
    color: #fff
}

.baner h1 {
    color: #fff;
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 500;
}

/* coupon */

.our-ser-title {
    color: #fff;
    text-align: center;
    margin-bottom: 35px;
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 500;
}

/* slider */

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

@media (max-width: 575px) {
    .slider {
      height: 200px;
    }
  }
  
  @media (min-width: 576px) {
    .slider {
      height: 300px;
    }
  }
  
  @media (min-width: 768px) {
    .slider {
      height: 428px;
    }
  }

  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out;
  }

  .slide img {
      width: 100%;
      height: 100%;
  }
  
    @media (min-width: 768px) {
    .hidden-on-large-screens {
        display: none;
    }
}

@media (max-width: 767px) {
    .hidden-on-small-screens {
        display: none;
    }
}
  
  .slide.active {
    transform: translateX(0%);
  }
  
  .dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    background-color: #777;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    user-select: none;
  }
  
  .dot.active {
    background-color: #FFC04E;
  }
  

 /* end slider */
 
/*store card*/

.store-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 16px;
    /*max-width: 320px;*/
    margin: 20px 10px;
    font-family: "Tajawal", Arial, sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 767px) {
    .store-card {
        flex-basis: 100%;
    }
}

@media (min-width: 768px) {
    .store-card {
        flex-basis: calc((100% / 2) - 20px);
    }
}

@media (min-width: 992px) {
    .store-card {
        flex-basis: calc((100% / 3) - 20px);
    }
}

@media (min-width: 1200px) {
    .store-card {
        flex-basis: calc((100% / 4) - 20px);
    }
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.store-card .image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 12px;
}

.store-card .image img {
    width: 200px;
    height: 200px;
    display: block;
    margin: 20px auto;
    /*object-fit: cover;*/
    transition: transform 0.3s ease;
}

.store-card .image img:hover {
    transform: scale(1.05);
}

.store-card span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.store-card .copon-code {
    position: relative;
    background: #f1f1f1;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    margin-right: 10px;
    overflow: hidden;
}

.store-card .copon-code:before {
    content: "تم النسخ";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 0.5rem 0.2rem;
    color: #fff;
    background: linear-gradient(178deg, #2D2960 1.56%, #0F1114 105.08%);
    transform: scale(0);
    transition: all 0.5s ease-in-out;
}

.store-card .copon-code.show:before {
    transform: scale(1);
}

.store-card .copy {
    background: #0F1114;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.store-card .copy:hover {
    background: #2D2960;
}

.store-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 12px 0;
    text-align: justify;
}

.store-card .store_link {
    display: block;
    background: #2D2960;
    color: #fff;
    padding: 1rem 8px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}

.store-card .store_link:hover {
    background: #0F1114;
}

.all-view{
  --radius: 14px;
  --pad-y: 10px;
  --pad-x: 16px;
  --gap: 10px;
  --bg: linear-gradient(178deg, #2D2960 1.56%, #0F1114 105.08%);
  --text:#fff;

  display:inline-flex;
  align-items:center;
  gap:var(--gap);
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: "Tajawal", Arial, sans-serif;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
  margin-top: 1.5rem;
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease;
}

.all-view:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
}

.all-view__icon{
  width: 22px;
  height: 22px;
  fill:#fff;
  opacity:.9;
  flex-shrink:0;
}

.all-view__label{
  opacity:.9;
  font-size: 14px;
}

.all-view__value{
  font-size: 16px;
  padding: 10px 10px 5px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  letter-spacing: .3px;
}

/* حجم أصغر على الشاشات الصغيرة */
@media (max-width: 480px){
  .all-view{ --pad-y: 8px; --pad-x: 14px; --gap: 8px; }
  .all-view__value{ font-size: 15px; }
}
