/**
By kurama250
github.com/Kurama250
 */

.offers .list .cssPriceCard {
    flex: 1 0 28%;
}

.offers {
    text-align: center;
}

.offers .category {
    display: inline-block;
    gap: 10px;
    padding: 8px;
    margin-bottom: 20px;
    background: #30364d;
    border-radius: 40px;
}

.offers .category button {
    color: #e9ecef;
    padding: 6px 12px;
    border-radius: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.offers .category button.show {
    background: #9cb1ff;
}

.offers .category button:hover {
    background: #7f93ff;
    transform: scale(1.05);
}

.offers .list {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    flex-wrap: wrap;
    gap: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.offers .list.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.offers .cssPriceCard {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.offers .list.show .cssPriceCard {
    opacity: 1;
    transform: translateY(0);
}

.offers .list.hide .cssPriceCard {
    opacity: 0;
    transform: translateY(-20px);
}

@media (max-width: 768px) {
    .offers .list {
      flex-direction: column;
      align-items: center;
    }
  
    .offers .cssPriceCard {
      flex: 1 0 100%;
      width: 90%;
      margin-bottom: 20px;
    }
  
    .offers .category {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 10px;
    }
  
    .offers .category button {
      margin: 5px;
      font-size: 14px;
    }
  }

  .responsive-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 114%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
  }
  
  .responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }