.card-product {
  background-color: #222236;
  width: 100%;
  border: 4px solid #14141f;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  justify-content: space-between;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  cursor: pointer
}

.card-product.active {
	background: #6e1f1c;
	background: linear-gradient(180deg, #6b0101, #000000);
	/*transform: scale(1.03);*/
}

.price.active {
  background-color: #ff0000!important;
  color: white; 
}


.price.active2 {
  background-color: #ff0000!important;
  color: white; 
}

.price:hover {
  background-color: #ff0000!important;
  color: white; 
}

/*.card-product:hover .price {
  background-color: #ff0000; 
  color: white;
}*/

.card-product.active::after {
  content: "\f14a";
  font-family: "Font Awesome\ 5 Free";
  font-size: 14px;
  position: absolute;
  width: 12px;
  right: 10px;
  top: 4px;
}

.confirm-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: green;
  display: none; /* ซ่อนไอคอนตอนปกติ */
}

.card-product:hover .confirm-icon {
  display: block; /* แสดงไอคอนเมื่อ hover */
}


.card-product img {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
}

.ap {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zg-coin {
  font-size: 14px;
  color: #ffcd00;
  margin-bottom: 10px;
}

.price-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

.price {
  background-color: #555555;
  border-radius: 25px;
  padding: 5px;
  color: white;
  font-size: 16px;
  display: inline-block;
  min-width: 170px;
  bottom:-14px;
  position: absolute;
}

@media only screen and (max-width: 767px) {
	.price {
	  background-color: #555555;
	  border-radius: 25px;
	  padding: 5px;
	  color: white;
	  font-size: 12px;
	  display: inline-block;
	  min-width: 100px;
	  bottom:-10px;
	  position: absolute;
	}
}

.price:hover {
  background-color: #333333;
}

.price::before {
  content: "ราคา ";
}

.price::after {
  content: " ฿";
}

@media only screen and (max-width: 767px) {
	.pl-sm-0{
		padding-left:0!important}
	}

@media only screen and (max-width: 767px) {
	.pr-sm-0{
		padding-right:0!important
	}
}

@media only screen and (min-width: 768px) {
	.pl-sm-0{
		padding-left:20px!important}
	}

@media only screen and (min-width: 768px) {
	.pr-sm-0{
		padding-right:20px!important
	}
}

.payment-option {
	margin-bottom: 10px;
	border: 1px solid #e8e8e8;
	background-color: #fff;
	padding: 0px;
	display: flex;
	color:#000;
	align-items: center;
	flex-basis: 100%;
	transition: background-color .3s;
	border-radius: 6px;
	cursor: pointer;
}

.payment-option:hover {
	background: linear-gradient(90deg, rgba(128,0,0,1) 0%, rgba(0,0,0,1) 100%);
	border-color: #f41414;
    box-shadow: 0 2px 10px 0 #f41414;
}

.text-style {
    color: #000;
    /*transition: color 0.3s ease;*/
}

/* เมื่อมีการชี้ไปที่กล่องจ่ายเงิน (คลุมกล่องทั้งหมด) */
.clickable-area:hover .text-style {
    color: white;
}

.clickable-area:hover .price-style {
    background-color: #f00!important;
}

.payment-details {
    font-size: 14px;
    margin-left: auto;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: normal;
}
.payment-option label {
    font-weight: 400;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.topup-price {
    width: 100%;
    padding: 15px;
    margin: 0;
	background: #0e0e16;
    border-radius: 20px;
    border: 1px solid #2e2e3e;
    box-shadow: 0 2px 6px 0 rgb(0 0 0 / 7%);
    position: relative;
    z-index: 0;
}

.mt-5, .my-5 {
    margin-top: 2.5rem !important;
}

@media screen and (min-width: 1024px) {
    .line-contact.btn-line-contact {
        visibility: visible;
        opacity: 1;
        bottom: 10px;
    }
}
@media screen and (min-width: 1024px) {
    .line-contact {
        position: fixed;
        right: 16px;
        bottom: 0;
        width: 100%;
        cursor: pointer;
        display: flex;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        flex-direction: row-reverse;
    }
}

@media screen and (max-width: 767px) {
    .line-contact.btn-line-contact {
        visibility: visible;
        opacity: 1;
        bottom: 65px;
    }
}
@media screen and (max-width: 767px) {
    .line-contact {
        position: fixed;
        right: 0px;
        bottom: 0;
        width: 100%;
        cursor: pointer;
        display: flex;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        flex-direction: row-reverse;
    }
}
