.form-control.quantity-selector {
  display: none;
}
.specification-wrapper {
  border: 1px #ccc solid;
  border-radius: 5px;
}
.specification-item {
  text-align: left;
}

.offers-cards-container {
  display: flex;
  gap: 20px;
  overflow: auto;
 scrollbar-width: none;
}

.offers-cards-container .other-data {
  font-size: 12px;
  font-family: Montserrat-Bold;
}
.offers-cards-container .other-data a {
  font-family: Montserrat-SemiBold;
  color: #28313a;
  text-decoration-line: underline;
}
.offers-cards-container .other-data a.purchase {
  font-family: Montserrat-SemiBold;
  color: #fff !important;
  text-decoration: none !important;
}
#wrapper:lang(ar) .offers-cards-container .other-data a {
  font-family: 'Tajawal-Bold', sans-serif;
}
.offer-card-title-tag-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.offer-card-container {
  border: solid 1px #d0d6db;
  border-radius: 20px;
  flex-basis: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  min-width: 315px;
}

.offer-card-header {
  background: #E00800;
  padding: 20px;
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.offer-tag {
  border-radius: 8px;
  background: #353738;
  padding: 6px 8px;
  line-height: 15px;
  color: #fff;
  font-size: 11px;
  font-family: Montserrat-Medium;
  position: absolute;
  right: 10px;
  top: 10px;
  text-transform: uppercase;
}

.offer-card-title a {
  color: #fff;
  font-size: 16px;
  font-family: Montserrat-Medium;
  line-height: 19.5px;
}
.offer-card-container .offer-entrepriseOfferSubTitle {
  color: #FFF;
  font-family: Montserrat-Medium;
  font-size: 14px;
  margin-top: 5px;
}

.offer-card-title a:hover {
  text-decoration: none;
  cursor: default;
}

.price-per-month {
  color: #fff;
  .offer-price {
    font-size: 32px;
    font-family: Montserrat-Bold;
  }

  .offer-per-month {
    font-size: 18px;
    font-family: Montserrat-Bold;
  }

}
#wrapper:lang(ar) .price-per-month {
.OfferPrice {
    font-family: 'Tajawal-Extrabold', sans-serif;
  }
 .offer-per-month {
    font-family: 'Tajawal-Extrabold', sans-serif;
  }
}

/* hide quantity */
.offers-cards-container input[type="number"] {
  display: none;
}

/* add to cart btn icon  */
.offers-cards-container .cart-icon {
  display: none;
}

/* add to cart btn style  */
.offers-cards-container .btn-add-to-cart {
  background: #E00800;
  border-color: #E00800;
  border-radius: 20px;
  color: #fff;
  padding: 7px 24px;
  cursor: pointer;
  text-align: center;
  font-family: "Montserrat-SemiBold";
  font-size: 16px;
  margin: 0 auto;
  padding: 7px 0px;
  max-width: 190px;

}

.offers-cards-container .btn-add-to-cart:hover {
  background: #de5406;
}

.offers-cards-container .btn-add-to-cart .text-truncate {
  all: unset;
}

.offers-cards-container .btn-add-to-cart .text-truncate-inline {
  all: unset;
}

/* view more btn */
.offers-cards-container .btn-view-more {
  background: #fff;
  border-color: #015bc3;
  padding: 10px 15px;
  color: #015bc3;
  font-family: Montserrat-SemiBold;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

/* add to cart row */
.offers-cards-container .action-btns-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 0 20px;
}

.offers-cards-container .view-more-btn {
  flex-grow: 1;
}

.offers-cards-container .add-to-cart-btn {
  flex-grow: 1;
}

.offers-cards-container .view-more-btn a:hover {
  background-color: #0090ff;
  border-color: #0090ff;
  color: #fff;
}

.offers-cards-container .card-body {
  flex-grow: 1;
  padding: 14px 20px 24px 20px;
  gap: 20px;
}

.offers-cards-container .hours {
  background-image: url("/o/iam-theme/assets/icons/phone-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.offers-cards-container .bandwidth {
  background-image: url("/o/iam-theme/assets/icons/bandwidth-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.offers-cards-container .sms {
  background-image: url("/o/iam-theme/assets/icons/sms-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.offers-cards-container .speed {
  background-image: url("/o/iam-theme/assets/icons/internet-speed-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.offers-cards-container .telfix {
  background-image: url("/o/iam-theme/assets/icons/fixed-phone-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.offers-cards-container .statistique {
  background-image: url("/o/iam-theme/assets/icons/statistique.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.offers-cards-container .intraflotte {
  background-image: url("/o/iam-theme/assets/icons/intra_flotte.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.offers-cards-container .nomdedomaine {
  background-image: url("/o/iam-theme/assets/icons/nomdedomaine.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.offers-cards-container .basededonnees {
  background-image: url("/o/iam-theme/assets/icons/basedonnee.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.offers-cards-container .linux {
  background-image: url("/o/iam-theme/assets/icons/linux.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.offers-cards-container .tv , .offers-cards-container .iptv  {
  background-image: url("/o/iam-theme/assets/icons/mttv-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.offers-cards-container .vsatspeed {
  background-image: url("/o/iam-theme/assets/icons/vsat-speed-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.offers-cards-container .telfixinternational {
  background-image: url("/o/iam-theme/assets/icons/fixed-phone-international-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.offers-cards-container .device {
  background-image: url("/o/iam-theme/assets/icons/device-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.specification-wrapper:has(.bandwidth) .specification-item:lang(ar){
  direction: ltr;
  }
  .specification-wrapper:has(.vsatspeed) .specification-item:lang(ar){
  direction: ltr;
  }
  .specification-wrapper:has(.sms) .specification-item:lang(ar){
  direction: ltr;
  }
  .offer-card-container .offer-entrepriseOfferSubTitle:lang(ar) {
    direction: ltr;
  }

.offers-cards-container .specification-wrapper {
  border: 1px solid #d0d6db;
  border-radius: 6px;
  padding: 6px 10px;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
}

.offers-cards-container .specification-wrapper .specification-item {
  padding: 0 5px;
  font-family: "Montserrat-SemiBold";
  font-size: 18px;
  line-height: 22px;
  width: 160px;
}

.offers-cards-container .specifications {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  flex-grow: 1;
}

.offers-cards-container .add-to-cart-btn .add-to-cart {
  margin-bottom: 0 !important;
}

.offers-cards-container .specification-wrapper .has-del-child {
  color: #E00800;
}

del {
  color: #7a8999;
}

.offers-cards-container .specification-wrapper .specification-icon {
  width: 30px;
  height: 30px;
}

.offers-cards-container .offer-card-container  .options-tarifaires a {
  color: #191329;
  text-decoration: underline;
}

@media screen and (min-width: 360px) and (max-width: 767px) {
  .offers-cards-container {
    gap: 20px;
  }

  .offers-cards-container .offer-card-container {
    min-width: 270px;
    gap: 10px;
    padding-bottom: 20px;
  }

  .offers-cards-container .btn-add-to-cart {
    width: 100%;
  }

  .offers-cards-container .btn-view-more {
    font-size: 13px !important;
    padding: 10px 12px;
  }
  .offers-cards-container .btn-add-to-cart {
    font-size: 13px !important;
    padding: 12px 15px;
    
  }

  .offers-cards-container .action-btns-wrapper {
    flex-wrap: wrap;
    gap: 5px;
    padding: 0 15px;
  }

  .offers-cards-container .specification-wrapper .specification-item {
    font-size: 14px;
  }
  .offers-cards-container .specification-wrapper {
    gap: 5px;
  }

  .offers-cards-container .offer-card-header {
    padding: 15px;
  }

  .offers-cards-container .card-body {
    padding: 0 15px;
    padding-top: 15px;
  }
}

@media screen and (max-width: 359px) {
  .offers-cards-container .action-btns-wrapper {
    padding: 0 10px;
    flex-wrap: nowrap;
    gap: 5px;
  }
  .offers-cards-container .specification-wrapper .specification-item {
    font-size: 14px;
  }
  .offers-cards-container .specification-wrapper {
    gap: 2px;
    padding: 0 10px;
  }
  .offers-cards-container .offer-card-header {
    padding: 10px;
  }
  .offers-cards-container .card-body {
    padding: 0 10px;
    padding-top: 10px;
  }

  .offers-cards-container .offer-card-container {
    min-width: 250px;
    gap: 5px;
    padding-bottom: 10px;
  }

  .offers-cards-container .btn-add-to-cart {
    width: 100%;
  }

  .offers-cards-container .btn-view-more {
    font-size: 12px !important;
    padding: 10px 12px;
  }
  .offers-cards-container .btn-add-to-cart {
    font-size: 12px !important;
    padding: 12px 15px;
  }

  .offer-tag {
    right: 10px;
    top: 10px;
    font-size: 8px;
  }

  .offer-price {
    font-size: 26px;
  }

  .offer-per-month {
    font-size: 12px;
  }

  .offer-card-title a {
    font-size: 14px;
  }

  .offer-card-container .specification-item a {
    color: #191329;
    font-size: 14px;
  }

}

@media screen and (max-width: 991px) {
  .offers-cards-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .offers-cards-container::-webkit-scrollbar {
    display: none;
  }
}

.list-forfait .offers-cards-container {
  flex-flow: wrap;
}

.list-forfait .offer-card-container {
  width: 312px;
  min-width: 312px;
}

@media (max-width: 575.98px) {
  .list-forfait .offer-card-container {
    width: 270px;
    min-width: 270px;
  }
}
@media (max-width: 1359.98px) {
  .list-forfait .offers-cards-container {
    justify-content: center;
  }
}

@media screen and (min-width: 360px) and (max-width: 767px) {
  .offer-card-container .offer-tag {
    font-size: 9px;
    padding: 6px;
  }
}

.offers-card-container .specification-icon.tv a  {
  color: #191329;
  font-family: Montserrat-SemiBold;
  font-size: 18px;
  text-decoration-line: underline;
}
#wrapper:lang(ar) .offers-card-container .specification-icon.tv a  {
  font-family: 'Tajawal-Bold', sans-serif;
}
.offer-card-container .pass-options {
  margin-bottom: 12px;
}

.offer-card-container .other-data .btn-primary {
       width: 100%;
       background-color: #191329;
       border-color: #191329;
       font-family: 'Montserrat-Medium';
}
.offer-card-container .other-data .btn-primary  {
  color: #fff ;
  text-decoration:none;
}


.offer-card-container .sub-title {
  color: #FFF;
  font-family: Montserrat-Bold;
  font-size: 24px;
}
#wrapper:lang(ar) .offer-card-container .sub-title {
  font-family: 'Tajawal-Bold', sans-serif;
}

.offer-card-container .specification-item .description {
  color: #534E5F;
  font-family: Montserrat-Medium;
  font-size: 14px;
}

.offer-card-container .offer-card-sub-header {
  background: #F4F3F5;
  display: flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  color: #27272E;
  font-family: Montserrat-Medium;
  font-size: 14px;
}
#groupedOfferCards h5 {
  font-size: 18px;
  font-family: Montserrat-Bold;
  color: #28313a;
  margin-bottom: 20px;
}

.offers-cards-container .specification-wrapper .specification-item:lang(ar) {
  text-align: right;
}
#wrapper:lang(ar) .offers-cards-container .specification-wrapper .specification-item span {
  font-family: 'Tajawal-Bold', sans-serif;
}
#groupedOfferCards h5:lang(ar) {
  text-align: right;
}
.other-data:has(.sms-info) {
  margin:0 auto;
 }
.offer-card-container .other-data .sms-info span {
  font-size: 12px;
  color: #e00800;
  font-family: Montserrat-semibold;
}
#wrapper:lang(ar) .offer-card-container .other-data .sms-info span {
  font-family: 'Tajawal-Bold', sans-serif;
}
.offer-card-container .other-data .sms-info  {
  font-size: 14px;
  font-family: Montserrat-medium;
  text-align: center;
  margin-bottom: 5px;

}
.offer-card-container .price-per-month .offer-fees {
  font-size: 11px;
  display: flex;
      justify-content: center;
    font-size: 11px;
}
.offers-cards-container.iam-offers-custom-product-publisher-entreprise:lang(ar) .offer-card-header {
height: 88px;
    line-height: 26px;
@media screen and (max-width: 767px) {
    height: 84px;
}    
}
#wrapper:lang(ar) .offers-cards-container .message-price-equipement{
  font-family: 'Tajawal-Bold', sans-serif;
}
/* 5G */
.offer-card-container .logo-list {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 4px;
    justify-content: center;
    @media screen and (max-width: 767px) {
      gap: 2px;
      flex-wrap: wrap;
 
    }
}

.offer-card-container .logo-group .plus ,
.offer-card-container .or {
   font-family: "Montserrat-SemiBold";
   font-size: 16px;
}
.offer-card-container .plus {
  display: flex;
  align-items: center;
}
.offer-card-container .logo-group {
     list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
   padding-left: 4px;
    @media screen and (max-width: 767px) {
      gap: 0px;
    }
}
.offer-card-container .logo-group:lang(ar) {
    padding-left: 0;
    padding-right: 4px;
} 

.offer-card-container .logo-list .item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    padding: -1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* --- Overlap effect (50% overlap) --- */
.offer-card-container .logo-list.overlap .item {
    margin-left: -30px; /* covers half of previous logo */
    z-index: 1;
}

.offer-card-container .logo-list.overlap .item:first-child {
    margin-left: 0; /* first logo stays in place */
}

.offer-card-container .logo-list.overlap .item:hover {
    z-index: 10;
    transform: scale(1.08);
}

/* ----------------------------------- */

.offer-card-container .logo-list .item img {
    width: 48px;
    height: auto;
    border-radius: 50%;
    object-fit: contain;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card-container .logo-list .item.skeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .offer-card-container .logo-list .item {
        width: 60px;
        height: 60px;
    }

    .offer-card-container .logo-list .item img {
        width: 65%;
        height: 65%;
    }

    /* slightly less overlap on mobile */
    .offer-card-container .logo-list.overlap .item {
        margin-left: -20px;
    }
}

.offer-card-container .logo-list.overlap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.offer-card-container .logo-list.overlap .item {
    position: relative;
    margin-top: -25px; /* vertical overlap */
    margin-left: 25px; /* horizontal offset */
    z-index: 1;
    transition: transform 0.2s ease, z-index 0.2s ease;
}

.offer-card-container .logo-list.overlap .item:first-child {
    margin-top: 0;
    margin-left: 0;
}

.offer-card-container .logo-list.overlap .item:hover {
    z-index: 10;
    transform: scale(1.08);
}

.offer-card-container .logo-list.overlap .item img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#groupedOfferCards h5 {text-align: left}

#purchaseModal .modal-open .modal { display: none!important;}
  /* Desktop modal size */
  /* Custom modal width/height */
.custom-modal-dialog {
    max-width: 898px;
    width: 100%;
  }

  .custom-modal-content {
    height: 518px;
    position: relative;
    border-radius: 12px;
  }
      .custom-modal-content .btn.btn-secondary {
    width: 229px;
    @media screen and (max-width: 767px) {
     width: 195px;
       margin-top: 1rem !important;
      
    }

  }
   .custom-modal-content .modal-title {
    color: #191919;
  
  }
  @media screen and (max-width: 767px) {
          .custom-modal-content .btn.btn-secondary {
      width: 195px;
      margin-top: 1rem !important;
    }
      .custom-modal-content .modal-title {
      margin-top: 0px !important;
    font-size: 17px;
    }
  }
  /* Close button (Bootstrap 4) */
  .modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.6rem;
    opacity: 0.6;
    z-index: 10;
    line-height: 1;
  }

  .modal-close-btn:hover {
    opacity: 1;
  }

  /* Responsive behavior */
  @media (max-width: 992px) {
    .custom-modal-content {
      height: auto;
      max-height: 90vh;
    }
  }

 #mobileAppsModal{display: none!important}

 .offers-cards-container.iam-offers-custom-grouped-product-publisher:lang(ar) {
  flex-direction:column-reverse;
 }