@keyframes revealTooltip{
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes openModal {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0%);;
    }
}
@keyframes closeModal {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(100%);;
    }
}

div#modal-product.animateOpen {
    animation: openModal 500ms forwards ease-in-out;
    pointer-events: unset;
}

div#modal-product.animateClose {
    animation: closeModal 500ms forwards ease-in-out;
}

/* tab fix */
.elementor-tab-title {
    background: linear-gradient(120deg, #e12026, #fdcc06);
}

/* fiyat */
ul.fiyatlar, .fiyat {
    font-size: 18px;
    color: #f2ebda;
    font-family: 'Montserrat', sans-serif;
	font-weight: 900;
}

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: 28px;
    height: 28px;
}

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


/* modal */ 
.modal-link {
    cursor: pointer;
}

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;
    background: rgba(36, 90, 126, 0.9);
    backdrop-filter: blur(5px) grayscale(1);
    pointer-events: none;
	transform: translateY(-100%);
}

div#modal-product .modal-product-content {
    width: 85vw;
    max-height: 90vh;
    min-height: auto;
    max-width: 400px;
    position: relative;
    margin-bottom: 34px;
    border-radius: 0 0 10px 10px;
    display: flex;
    flex-direction: column;
}

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

.modal-product-content .product-image img {
    display: block;
}

#modal-product .close {
    position: absolute;
    right: 0px;
    top: -60px;
    border-radius: 32px;
    font-size: 24px;
    cursor: pointer;
    background: #ff3800;
    color: #fff;
    width: 40px;
    height: 40px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
	pointer-events: none;
}

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

.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-product-content-inner {
    margin-top: 24px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    height: auto;
}

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


.modal-product-content-inner h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 24px;
    text-align: left;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}


.modal-product-content img {
    height: auto;
    object-fit: cover;
    width: 100%;
}

.modal-product-content-inner .fiyat {
    text-align: left;
    font-size: 24px;
    font-weight: 900 !important;
    line-height: 32px;
    color: #fff;
    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: 14px;
    line-height: 18px;
}

/* loop item fix */
.product-image img {
	width: 100%;
	position: relative;
	display: block;
	border-radius: 12px;	
}