.services-section {
  .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;

    .carth2 {
      margin: 0;
    }

    .cart-total {
      margin: 0;
    }

    .resultCart {
      display: flex;
      justify-content: space-between;

      .payCart {
        width: 162px;
      }

      form {
        .clearCart {
          background-color: #d02626;
          width: 162px;
        }
      }
    }
  }

  .card {
    background-color: #222;
    margin: 20px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 145, 77, 0.1);
    border: 1px solid #ddd;
    text-align: center;

    .modal_flex {
      display: flex;
      gap: 30px;
      justify-content: center;
    }

    a {
      color: #ff914d;
      text-decoration: none;
    }

    h2,
    h3 {
      margin-bottom: 10px;
      color: #ff914d;
      background-color: #0000008a;
      border-radius: 10px;
    }

    .old-price {
      text-decoration: line-through;
      color: gray;
      margin-right: 8px;
    }

    .new-price {
      font-weight: bold;
      color: #28a745;
    }

    .button {
      margin-top: 15px;
      padding: 10px 15px;
      border: none;
      background-color: #ff914d;
      color: white;
      border-radius: 6px;
      cursor: pointer;

      &:hover {
        background-color: #ff914d;
      }
    }
  }

  .card-container-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;

    .product-card {
      border: 1px solid #ddd;
      border-radius: 12px;
      padding: 12px;
      background: #0000008a;
      box-shadow: 0 0 10px rgba(255, 145, 77, 0.3);
      color: #ff914d;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .product-image-slider {
      position: relative;
      overflow: hidden;
      height: 200px;
      border-radius: 8px;

      .slide-track {
        display: flex;
        transition: transform 0.3s ease-in-out;

        img {
          width: 100%;
          flex-shrink: 0;
          border-radius: 8px;
        }
      }

      .prev-slide,
      .next-slide {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.5);
        border: none;
        font-size: 18px;
        padding: 4px 8px;
        cursor: pointer;
        color: #333;
        border-radius: 4px;

        &:hover {
          background: rgba(255, 255, 255, 0.7);
        }
      }

      .prev-slide {
        top: 92%;
        left: 0px;
      }

      .next-slide {
        top: 92%;
        right: 0px;
      }
    }

    .product-title {
      margin-top: 6px;
      font-size: 1rem;
      font-weight: bold;
      color: #ff914d;
    }

    .product-footer {
      margin-top: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .price-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        .new-price {
          font-weight: bold;
          font-size: 1.1rem;
          color: #28a745;
        }

        .old-price {
          font-size: 0.6rem;
          text-decoration: line-through;
          color: gray;
          margin-top: 2px;
        }
      }

      .add-button {
        background-color: #ff914d;
        color: white;
        border: none;
        padding: 8px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 12px;
        display: flex;
        align-items: center;
        transition: background-color 0.3s ease;

        &:hover {
          background-color: #e58338;
        }

        i {
          font-size: 16px;
        }
      }
    }
  }

  .indiv {
    background-image: url('../images/indiv_training.jpg');
    background-position: right;
  }

  .group {
    background-image: url('../images/group_training.png');
  }

  .online {
    background-image: url('../images/online-training.jpg');
    background-position: left;
  }

  .teip {
    background-image: url('../images/teip_training.png');
    background-position: bottom;
  }

  .food {
    background-image: url('../images/eda_training.jpg');
    background-position: left;
  }

  .follow_character {
    background-image: url('../images/follow_character.jpg');
    background-position: left;
  }
}

#custom-payment-modal {
  font-size: 16px;
}

.newModal {
  width: 250px;

  .buttonNewModal {
    display: flex;
    justify-content: space-between;
  }

  .result {
    color: black;
  }

  .pay {
    .copy-number {
      color: black;
      user-select: text;
      text-decoration: underline;
      cursor: pointer;
    }
  }
}

.modal {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  background: #ff914d;
  color: #fff;
  padding: 20px 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  border-radius: 8px;
  font-size: 12px;
  transition: opacity 0.3s ease;

  .pay {
    /*font-size: 12px;*/
    margin-bottom: 10px;
  }

  button.buttonPay {
    background: #fff;
    color: #ff914d;
    padding: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: 30px;
    width: 115px;
  }

  button.close {
    background-color: #d02626;
    color: #fff;
  }

  p {
    margin: 0;
  }
}

.payment-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  transition: opacity 0.3s ease;
  opacity: 1;
}