﻿
.play-button {
    width: 100px;
    height: 100px;
    background-color: #00CC99;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border: none;
    position: relative;
    overflow: hidden; /* Dalga efektini sınırlamak için */
}

.play-button span {
    font-size: 2em;
    color: white;
}

.play-button::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    animation: ripple 2s linear infinite; /* Dalga animasyonu */
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.play-button .play-icon {
    font-size: 36px; /* İkonun boyutu */
    color: #fff; /* İkon rengi */
}


.right-panel .sub-categories {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.category-container:hover .sub-categories {
    opacity: 1;
}

/* Ana sosyal medya konteyneri */
.social-media {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* Her sosyal medya ikonu için temel yapı */
.social-media__icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* İkonların hover durumunda değişen efektleri */
.social-media__icon:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

/* Facebook özel stili */
.social-media__icon--facebook {
    background-color: transparent;
}

/* Instagram özel stili */
.social-media__icon--instagram {
    background-color: transparent;
}

/* WhatsApp özel stili */
.social-media__icon--whatsapp {
    background-color: transparent;
}

/* İkonların içindeki resimler için yapı */
.social-media__icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    background-color: transparent; /* Arka fon tamamen şeffaf */
}



#ema-wp-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ema-popup-box {
    background: #fff;
    padding: 40px 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.4s ease;
}

.ema-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #555;
}

.ema-popup-content h2 {
    margin-top: 20px;
    font-size: 20px;
    color: #333;
}

.ema-popup-content p {
    margin: 15px 0 25px;
    color: #555;
}

.ema-wp-button {
    background-color: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

    .ema-wp-button:hover {
        background-color: #1ebe5d;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}




.product-big-img img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    cursor: zoom-in;
}

.product-thumbnails .swiper-slide img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

    .product-thumbnails .swiper-slide img:hover {
        border-color: #727a44;
    }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}