/* Popup container */
.buypage-uteka-popup {
	position: relative;
	display: flex;
	align-items: center;
	cursor: pointer;
	width: 100%;
	max-width: 360px;
	margin: 20px auto;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	transition: border-radius 0.3s ease;
}

.buypage-uteka-popup.show {
	border-radius: 10px 10px 0 0;
}

.buypage-uteka-popup span {
	display: block;
	padding: 10px 40px 10px 20px;
	line-height: 1.2;
}

.buypage-uteka-popup .icon {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 20px;
	height: 20px;
	top: inherit !important;
	left: inherit !important;
	right: 10px !important;
	padding: 0;
	font-size: 24px;
	transition: transform 0.3s ease;
}

/* The actual popup (appears on top) */
.buypage-uteka-popup .buypage-uteka-popup-tabs {
	position: absolute;
	visibility: hidden;
	top: 100%;
	left: -1px;
	width: calc(100% + 2px);
	max-width: 360px;
	max-height: 400px;
	padding: 0;
	overflow-y: auto;
	background-color: rgb(240, 240, 240);
	border: 1px solid #e0e0e0;
	color: #fff;
	z-index: 2;
}

.buypage-uteka-popup .buypage-uteka-popup-tabs a {
display: block;
width: 100%;
padding: 5px 10px;
border-bottom: 1px solid #e0e0e0;
font-size: 14px;
transition: background-color 0.3s ease;
color: black;
}

.buypage-uteka-popup .buypage-uteka-popup-tabs a.active {
font-weight: 700;
color: black;
}

.buypage-uteka-popup .buypage-uteka-popup-tabs a:hover {
background-color: rgb(220, 220, 220);
}

.buypage-uteka-popup .buypage-uteka-popup-tabs a:last-of-type {
border-bottom: none;
}

.buypage-uteka-popup.show .buypage-uteka-popup-tabs {
visibility: visible;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s
}

.buypage-uteka-popup.show .icon {
transform: rotate(50grad);
}

@-webkit-keyframes fadeIn {
from {
  opacity: 0;
}
to {
  opacity: 1;
}
}

@keyframes fadeIn {
from {
  opacity: 0;
}
to {
  opacity: 1;
}
}