@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);
}
.modal-link {
	width: 100%;
}
/* fiyat */
ul.fiyatlar, .fiyat {
    font-size: 18px;
    color: #242322;
    font-family: 'Poppins', 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: center;
    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;
}

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

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

.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;
  }
}

/* loop item fix */
.product-image img {
    width: 100%;
    position: relative;
    display: block;
    aspect-ratio: 1.2;
    object-fit: cover;
}



div#modal-product {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 99999;
    background: url(/wp-content/uploads/2025/02/popup-bg1.jpg) no-repeat center/cover;
    backdrop-filter: blur(5px) grayscale(1);
    pointer-events: none;
    transform: translateY(-100%);
}

#modal-product .close {
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 30px;
    top: 30px;
}

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

#modal-product .close path {
    fill: #fba432;
    
}

.modal-product-content .product-image img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0;
}

.modal-product-content .modal-product-content-inner {
    padding: 3em 3em 3em 3em;
}


.modal-product-content .modal-product-content-inner h2 {
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    color: #f79e30;
    margin-bottom: 12px;
}

.modal-product-content .modal-product-content-inner p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 12px;
    color: #575757;
}

.modal-product-content .modal-product-content-inner .fiyat {color: #3e2a2f;font-size: 26px;margin-bottom: 24px;}


.modal-product-content {
    overflow: scroll;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1em;
}


.modal-product-content .product-image .sticker {
    aspect-ratio: unset;
    position: absolute;
    width: 180px;
    filter: drop-shadow(0px -6px 16px rgba(0,0,0,.15));
    right: 20px;
    bottom: -60px;
}

#modal-product .logo {
    position: absolute;
    bottom: 40px;
    width: 120px;
    right: 10px;
}

#modal-product .serit {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}
