/* AL BADI FEATURED COLLECTIONS V15.2 */
/* Scope: #featured-collections only */

#featured-collections {
  background: #fbfaf8;
  color: #173247;
}

#featured-collections .ab-collection {
  max-width: 1320px;
  margin-inline: auto;
}

#featured-collections .ab-collection__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

#featured-collections .section-label {
  color: #e87536;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

#featured-collections .ab-collection__heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.5vw, 49px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
  color: #173247;
  margin: 10px 0 12px;
}

#featured-collections .ab-collection__heading p {
  color: #71818c;
  font-size: 14px;
  line-height: 1.65;
}

#featured-collections .ab-collection__controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

#featured-collections .ab-collection__controls button {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid #dfe5e7;
  background: #fff;
  color: #18374b;
  cursor: pointer;
}

#featured-collections .ab-collection__controls button:hover {
  background: #18374b;
  color: #fff;
}

#featured-collections .ab-collection__rail {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
}

#featured-collections .ab-collection__rail::-webkit-scrollbar {
  display: none;
}

#featured-collections .ab-collection-card {
  box-sizing: border-box;
  flex: 0 0 calc((100% - 44px) / 3) !important;
  width: calc((100% - 44px) / 3) !important;
  min-width: 0 !important;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ecee;
  border-radius: 11px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 10px 28px rgba(23,50,71,.065);
  transition: transform .25s ease, box-shadow .25s ease;
}

#featured-collections .ab-collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(23,50,71,.12);
}

#featured-collections .abx11-card__image {
  display: block;
  position: relative;
  height: 218px !important;
  min-height: 218px !important;
  overflow: hidden;
  border-radius: 0;
}

#featured-collections .abx11-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

#featured-collections .ab-collection-card:hover .abx11-card__image img {
  transform: scale(1.04);
}

#featured-collections .abx11-card__category {
  background: #ed7737;
  color: #fff;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

#featured-collections .abx11-card__open {
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #173247;
}

#featured-collections .abx11-card__content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#featured-collections .abx11-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #788996;
  font-size: 12px;
  margin-bottom: 10px;
}

#featured-collections .abx11-card__meta b {
  color: #ed7737;
}

#featured-collections .abx11-card__title {
  margin: 0 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.22;
  font-weight: 700;
  color: #173247;
}

#featured-collections .abx11-card__title a {
  color: inherit;
  text-decoration: none;
}

#featured-collections .abx11-card__desc {
  color: #71818e;
  font-size: 13px;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (min-width: 700px) and (max-width: 1023px) {
  #featured-collections .ab-collection-card {
    flex-basis: calc((100% - 22px) / 2) !important;
    width: calc((100% - 22px) / 2) !important;
  }
}

@media (max-width: 699px) {
  #featured-collections .ab-collection__head {
    align-items: flex-start;
    flex-direction: column;
  }

  #featured-collections .ab-collection__heading h2 {
    font-size: 33px;
  }

  #featured-collections .ab-collection__rail {
    gap: 14px;
  }

  #featured-collections .ab-collection-card {
    flex: 0 0 min(85vw, 350px) !important;
    width: min(85vw, 350px) !important;
  }

  #featured-collections .abx11-card__image {
    height: 202px !important;
    min-height: 202px !important;
  }

  #featured-collections .abx11-card__content {
    padding: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #featured-collections .ab-collection__rail {
    scroll-behavior: auto;
  }

  #featured-collections .ab-collection-card,
  #featured-collections .abx11-card__image img {
    transition: none;
  }
}
