@keyframes revealTooltip{
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes openModal {
    0% {
        opacity: 0;
		top: -200px;
    }
    100% {
        opacity: 1;
		top: 0px;
    }
}

@keyframes closeModal {
    0% {
        opacity: 1;
		top: 0px;
    }
    100% {
        opacity: 0;
		top: 100px;
    }
}
/* tab fix */
.elementor-tab-title {
    background: linear-gradient(120deg, #e12026, #fdcc06);
}

/* fiyat */
ul.fiyatlar, .fiyat {
    font-size: 22px;
    font-weight: 700!important;
}

ul.fiyatlar li span.tl, .fiyat span.tl {
    font-size: 70%;
}

/* alerjen fix */
ul.alerjenler {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: start;
    gap: 4px;
}
ul.alerjenler li {
    width: 22px;
    height: 22px;
}

div#tooltip {
    background: #181818;
    color: #fff;
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 8px;
    z-index: 2;
    animation-name: revealTooltip;
    animation-duration: 500ms;
    animation-play-state: running;
}


/* modal */ 
.spinner {
  animation: rotate 2s linear infinite;
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  width: 50px;
  height: 50px;
}
.spinner .path {
    stroke: rgba(255, 255, 255, 1);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
  }
.loading {
	display: block;
	height: 50px;
	width: 50px;
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.modal-link {
    cursor: pointer;
}

div#modal-product.hide {
	opacity: 0;
	transform: scale(1, 0);
}

div#modal-product {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 99999;
    animation-name: openModal;
    animation-duration: 400ms;
    backdrop-filter: blur(5px) grayscale(1);
}
div#modal-product .modal-product-content {
    width: 85vw;
    height: auto;
    max-width: 400px;
    background: #fff;
    margin-bottom: 34px;
    border-radius: 20px;
    box-shadow: 0 32px 32px -16px rgba(0, 0, 0, .3);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-image {
    display: block;
    height: auto;
}

.modal-product-content .product-image img {
	display: block;
	aspect-ratio: 9/12;
    object-fit: cover;
}

#modal-product .close {
    position: absolute;
    right: -16px;
    top: -16px;
    border-radius: 32px;
    font-size: 18px;
    cursor: pointer;
    background: #003C4D;
    color: #fff;
    width: 32px;
    height: 32px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

#modal-product .close svg {
    width: 18px;
}

.modal-product-content-inner {
    padding: 10px 32px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: auto;
}

.modal-product-content-inner .alerjenler, .modal-product-content-inner h2, .modal-product-content-inner p {
    margin-bottom: 10px;
    text-align: center;
    color: #000;
    font-weight: 300;
}

.product-image {
    position: relative;
}
.modal-product-content-inner h2 {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #003c4d;
    font-weight: 700;
}

.modal-product-content img {
    height: auto;
    width: 100%;
    border-radius: 20px 20px 0 0;
}

.modal-product-content-inner .fiyat {
    text-align: center;
    font-size: 24px;
    line-height: 32px;
    color: #000;
    margin-bottom: 6px;
}

.modal-product-content-inner .alerjenler {
    justify-content: center;
}

body.open-modal {
    height: 100vh;
    overflow: hidden;
}

.modal-product-content-inner p {
    font-size: 12px;
    line-height: 16px;
}